# Re: \[PATCH v2\] pinctrl: qcom: support gpio\_chip .set\_config call

- From: Bjorn Andersson \<hidden\>
- Date: 2021-03-15 15:50:58 
- List: linux-gpio
- Page: https://ratatoskr.run/linux-gpio/2021/03/8286041
- Thread: https://ratatoskr.run/linux-gpio/2021/03/8285808/t.md

```text
On Mon 15 Mar 10:36 CDT 2021, Linus Walleij wrote:

> On Fri, Mar 12, 2021 at 12:22 AM Bjorn Andersson
> [ref] wrote:
> 
> > I don't know how to make the transition, but can you please revert this
> > patch, to avoid breaking compatibility with DTBs out there?
> 
> OK reverted for now. Does this imply I cannot apply Shawn's ACPI
> support patch either? I.e. is this a prerequisite?
> 

I presume you're referring to [1], which should be fine to merge.

Iiuc the problem that this (.set_config) patch resolves is that
definitions of gpios as interrupts will trickle down to a .set_config
call, which is necessary to get appropriate bias.

[1] https://lore.kernel.org/linux-arm-msm/20210311024102.15450-1-shawn.guo@linaro.org/

Regards,
Bjorn
```
