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

From
Bjorn Andersson <hidden>
Date
2021-03-11 23:18:18
Also in
linux-arm-msm, linux-gpio
Reply to
Shawn Guo, 2021-03-11
On Thu 11 Mar 17:09 CST 2021, Shawn Guo wrote:
On Thu, Mar 11, 2021 at 10:53:49AM -0600, Bjorn Andersson wrote:
quoted
On Wed 10 Mar 19:19 CST 2021, Shawn Guo wrote:
quoted
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.
We're exposing the UFS as a gpio and I think that these patches
therefore are correct, so I've picked them up.

But I don't think we should break backwards compatibility will all
existing DTBs...

Regards,
Bjorn
Thread (15 messages) 15 messages, 3 authors, last reply 2021-03-15
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help