# Re: \[PATCH 1/4\] arm64: dts: qcom: sdm845: fix number of pins in 'gpio-ranges'

- From: Shawn Guo \<hidden\>
- Date: 2021-03-11 23:10:41 
- List: linux-devicetree
- Page: https://ratatoskr.run/linux-devicetree/2021/03/8189379
- Thread: https://ratatoskr.run/linux-devicetree/2021/03/8189082/t.md

```text
On Thu, Mar 11, 2021 at 10:53:49AM -0600, Bjorn Andersson wrote:
> On Wed 10 Mar 19:19 CST 2021, Shawn Guo wrote:
> > Yes, DT stops working because of the mismatch between
> > msm_pinctrl_soc_data.ngpio and gpio-ranges.
> > 
> 
> So what you're saying is that when Linus merged the .set_config patch
> yesterday he broke storage on every single Qualcomm device?

Better than that.  Only the ones that have mismatching between
msm_pinctrl_soc_data.ngpio and gpio-ranges.  More specifically, the ones
that the series are fixing.

I didn't realize this break when I was working on the .set_config change
for ACPI.  It was a surprise when I tested DT later.  You can ask Linus
to drop .set_config patch, if you do not like this break.  But I think
the mismatch issue still needs to be resolved in some way.

Shawn
```
