From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eduardo Valentin Subject: Re: [PATCH] Revert "thermal: rockchip: fix up the tsadc pinctrl setting error" Date: Thu, 23 May 2019 19:20:43 -0700 Message-ID: <20190524022042.GA1936@localhost.localdomain> References: <20190522141236.26987-1-heiko@sntech.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org To: Doug Anderson Cc: Heiko Stuebner , Zhang Rui , Daniel Lezcano , Linux PM , "open list:ARM/Rockchip SoC..." , LKML , zhangqing , Enric Balletbo Serra , Brian Norris , Matthias Kaehlcke List-Id: linux-rockchip.vger.kernel.org On Wed, May 22, 2019 at 08:34:34AM -0700, Doug Anderson wrote: > Hi, > > On Wed, May 22, 2019 at 7:12 AM Heiko Stuebner wrote: > > > > This reverts commit 28694e009e512451ead5519dd801f9869acb1f60. > > > > The commit causes multiple issues in that: > > - the added call to ->control does potentially run unclocked > > causing a hang of the machine > > - the added pinctrl-states are undocumented in the binding > > - the added pinctrl-states are not backwards compatible, breaking > > old devicetrees. > > > > Fixes: 28694e009e51 ("thermal: rockchip: fix up the tsadc pinctrl setting error") > > Signed-off-by: Heiko Stuebner > > --- > > drivers/thermal/rockchip_thermal.c | 36 +++--------------------------- > > 1 file changed, 3 insertions(+), 33 deletions(-) > > In case it helps with the urgency, there are lots of people who have > all independently needed to identify which commit stopped their boards > from booting mainline or broke temperature reading. I'm aware of at > least these reports: > > Reported-by: kernelci.org bot > Reported-by: Enric Balletbo Serra > Reported-by: Vicente Bergas > Reported-by: Jack Mitchell > Reported-by: Douglas Anderson > > I can confirm that my board boots again after this revert, thus: > > Tested-by: Douglas Anderson I see. I can collect this revert if that is what unblocks you guys. Elaine, do you mind checking why these pinctrl changes are causing boot issues?