From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753876AbdKIQmf (ORCPT ); Thu, 9 Nov 2017 11:42:35 -0500 Received: from fllnx209.ext.ti.com ([198.47.19.16]:17054 "EHLO fllnx209.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753837AbdKIQmd (ORCPT ); Thu, 9 Nov 2017 11:42:33 -0500 Subject: Re: [PATCH 4/9] ARM: dts: am335x-pepper: Fix the audio CODEC's reset pin To: Philipp Zabel , Liam Girdwood , Mark Brown , Rob Herring , Mark Rutland , =?UTF-8?Q?Beno=c3=aet_Cousson?= , Tony Lindgren , Shawn Guo , Sascha Hauer CC: , , References: <20171108212505.28320-1-afd@ti.com> <20171108212505.28320-5-afd@ti.com> <1510237521.7659.11.camel@pengutronix.de> From: "Andrew F. Davis" Message-ID: <8d40b3f4-40a6-70e1-8b67-ae805e701aca@ti.com> Date: Thu, 9 Nov 2017 10:40:52 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <1510237521.7659.11.camel@pengutronix.de> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 8bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/09/2017 08:25 AM, Philipp Zabel wrote: > On Wed, 2017-11-08 at 15:25 -0600, Andrew F. Davis wrote: >> The correct DT property for specifying a GPIO used for reset >> is "reset-gpio", fix this here. >> >> Fixes: 4341881d0562 ("ARM: dts: Add devicetree for Gumstix Pepper board") >> >> Signed-off-by: Andrew F. Davis >> --- >> arch/arm/boot/dts/am335x-pepper.dts | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/arch/arm/boot/dts/am335x-pepper.dts b/arch/arm/boot/dts/am335x-pepper.dts >> index 03c7d77023c6..d652abd76333 100644 >> --- a/arch/arm/boot/dts/am335x-pepper.dts >> +++ b/arch/arm/boot/dts/am335x-pepper.dts >> @@ -139,7 +139,7 @@ >> &audio_codec { >> status = "okay"; >> >> - gpio-reset = <&gpio1 16 GPIO_ACTIVE_LOW>; >> + reset-gpio = <&gpio1 16 GPIO_ACTIVE_LOW>; > > This potentially breaks audio on am335x-pepper until the driver patches > are applied, same for the other device trees. To make this bisectable, > add support for the new property name to the driver before changing the > device trees. AFAIK this change doesn't break anything as this reset was not used in a functional way (it was just pulled high in probe if provided, but the pin_mux and/or and on-board resistor should have done the same already, but a series I just posted will actually get some use out of it and so I want to get this fixed before then). As controversial as it may be, my plan is to simply not support the old binding at all, supporting it would add unnecessary bloat to the driver, prevent moving to new frameworks that expect the correct binding (fwnode_get_named_gpiod), and in this case provide no benefit as far as I can tell. Andrew > > regards > Philipp >