All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Jander <david@protonic.nl>
To: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Cc: Robin Murphy <robin.murphy@arm.com>,
	Fabio Estevam <festevam@gmail.com>,
	Quentin Schulz <foss+kernel@0leil.net>,
	"Angus Ainslie (Purism)" <angus@akkea.ca>,
	Shawn Guo <shawnguo@kernel.org>,
	Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
	Heiko Stuebner <heiko@sntech.de>,
	Samuel Holland <samuel@sholland.org>,
	Bjorn Andersson <andersson@kernel.org>,
	Konrad Dybcio <konrad.dybcio@somainline.org>,
	Jernej Skrabec <jernej.skrabec@gmail.com>,
	Bastien Nocera <hadess@hadess.net>, Chen-Yu Tsai <wens@csie.org>,
	Sascha Hauer <s.hauer@pengutronix.de>,
	Pengutronix Kernel Team <kernel@pengutronix.de>,
	Hans de Goede <hdegoede@redhat.com>,
	Andy Gross <agross@kernel.org>, Rob Herring <robh+dt@kernel.org>,
	NXP Linux Team <linux-imx@nxp.com>,
	Dmitry Torokhov <dmitry.torokhov@gmail.com>,
	linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org,
	linux-arm-msm@vger.kernel.org, linux-input@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	linux-sunxi@lists.linux.dev, devicetree@vger.kernel.org
Subject: Re: [PATCH RFC v2 5/7] arm64: dts: imx: fix touchscreen reset GPIO polarity
Date: Wed, 23 Nov 2022 09:07:07 +0100	[thread overview]
Message-ID: <20221123090707.128c7b4d@erd992> (raw)
In-Reply-To: <84af9a9e-5d82-7420-e72c-4d984135f2d6@theobroma-systems.com>

On Tue, 22 Nov 2022 17:22:45 +0100
Quentin Schulz <quentin.schulz@theobroma-systems.com> wrote:

> Hi Robin,
> 
> On 11/22/22 13:46, Robin Murphy wrote:
> > On 2022-11-22 09:58, Quentin Schulz wrote:  
> >> Hi David,
> >>
> >> Thanks Fabio for the Cc.
> >>
> >> On 11/22/22 08:18, David Jander wrote:  
> >>> On Mon, 21 Nov 2022 15:18:32 -0300
> >>> Fabio Estevam <festevam@gmail.com> wrote:
> >>>  
> >>>> [Adding Angus and David]  
> >>>
> >>> Thanks. This was apparently necessary ;-)
> >>>  
> >>>> On Mon, Nov 21, 2022 at 3:12 PM Quentin Schulz 
> >>>> <foss+kernel@0leil.net> wrote:  
> >>>>>
> >>>>> From: Quentin Schulz <quentin.schulz@theobroma-systems.com>
> >>>>>
> >>>>> The reset line is active low for the Goodix touchscreen controller so
> >>>>> let's fix the polarity in the Device Tree node.
> >>>>>
> >>>>> Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
> >>>>> ---
> >>>>>   arch/arm64/boot/dts/freescale/imx8mm-prt8mm.dts         | 2 +-
> >>>>>   arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts | 2 +-
> >>>>>   2 files changed, 2 insertions(+), 2 deletions(-)
> >>>>>
> >>>>> diff --git a/arch/arm64/boot/dts/freescale/imx8mm-prt8mm.dts 
> >>>>> b/arch/arm64/boot/dts/freescale/imx8mm-prt8mm.dts
> >>>>> index 9fbbbb556c0b3..df7e5ae9698e1 100644
> >>>>> --- a/arch/arm64/boot/dts/freescale/imx8mm-prt8mm.dts
> >>>>> +++ b/arch/arm64/boot/dts/freescale/imx8mm-prt8mm.dts
> >>>>> @@ -107,7 +107,7 @@ touchscreeen@5d {
> >>>>>                  interrupt-parent = <&gpio1>;
> >>>>>                  interrupts = <8 IRQ_TYPE_NONE>;
> >>>>>                  irq-gpios = <&gpio1 8 GPIO_ACTIVE_HIGH>;
> >>>>> -               reset-gpios = <&gpio1 9 GPIO_ACTIVE_HIGH>;
> >>>>> +               reset-gpios = <&gpio1 9 GPIO_ACTIVE_LOW>;  
> >>>
> >>> NACK!
> >>>
> >>> The PRT8MM has an inverter in the reset line. The reason for that is 
> >>> that the
> >>> reset line needs to be inactive when the driving side is unpowered.
> >>> The DT was correct, this change will break it.
> >>>  
> >>
> >> The DT was correct. The implementation in the driver is changed (the 
> >> polarity is swapped) in this patch series, therefore the DT isn't 
> >> correct anymore, hence this patch.  
> > 
> > I'm not sure it's quite that simple... FWIW I'm using an add-on LCD 
> > module with a GT9271[1] (and I won't be the only one - Raspberry Pi and 
> > other SBC users using DT overlays or custom-built DTBs are a whole other 
> > can of worms here), where GPIO_ACTIVE_LOW is correctly specified per the 
> > schematics, thus "wrong" for the current driver behaviour, yet it *is* 
> > working OK as-is. I guess that's because /RSTB ends up driven low for 
> > long enough between the current "deassertion" by 
> > gpiod_direction_output(1) and gpiod_direction_input() allowing the 
> > external pull-up to take it high again.
> >   
> 
> Correct, that seems like it is the case for "current-wrong" GPIO level, 
> provided you have a pull-up on the RESET line (as recommended in the 
> datasheet).
> 
> c.f. 
> https://github.com/hadess/gt9xx/blob/master/specifications/GT9271%20Datasheet.pdf
> 
> with the current driver, what I assume we should get is:
>              ___________________
> INT _______|                   |___________
> 
>      ____________           __________________
> RST             |_________|
> 
>     ^
>     L__ pull-up on RST so high by default
>          ^
>          L___ gpiod_direction_output(0) (deassert GPIO active-low, so high)
>             ^
>             L____ goodix_irq_direction_output
>                  ^
>                  L___ gpiod_direction_output(1) (assert GPIO active-low, 
> so low)
>                            ^
>                            L____ gpiod_direction_input() (floating, 
> pull-up on RST so high)
> 
> This works because of the pull-up on RST and that what matters is that 
> the INT lane is configured 100µs before a rising edge on RST line (for 
> at least 5ms). However, the init sequence is not properly followed and 
> might get broken in the future since it is not something that we 
> explicitly support.
> 
> With the proposed patch:
>              ___________________
> INT _______|                   |___________
> 
>      ____         __________________
> RST     |_______|
> 
>     ^
>     L__ pull-up on RST so high by default
>          ^
>          L___ gpiod_direction_output(1) (assert GPIO active-low, so low)
>             ^
>             L____ goodix_irq_direction_output
>                  ^
>                  L___ gpiod_direction_output(1) (deassert GPIO 
> active-low, so high)
>                            ^
>                            L____ gpiod_direction_input() (floating, 
> pull-up on RST so high)
> 
> This should work too and does not rely on some side effects/timings and 
> should be future-proof.
> 
> As for OOT DTB/DTBO, nothing I can do unfortunately, that is correct.
> 
> The fact that we have both "interpretations" of the RESET GPIO level in 
> Linux is worrying, albeit with OOT DTBs. A driver or subsystem rework 
> might break boards in which case people should update their DTB as 
> suggested here or we'll decide to support both interpretations, which 
> ain't great either.

Thanks for the detailed drawings. Yes, it seems this is an unfortunate case of
both polarities kind of working.

Our DT was correct, but the driver was wrong, even if it seemed to work
correctly, so this NACK still stands.

Our board has this GPIO pin wired to the gate of a MOSFET which acts as an
inverter and also isolates the signal from the GPIO port power rail. So from
the GPIO point of view, the signal is ACTIVE_HIGH. Please leave the DT like
this.

Thanks for fixing the driver.

Best regards,

-- 
David Jander
Protonic Holland.


WARNING: multiple messages have this Message-ID (diff)
From: David Jander <david@protonic.nl>
To: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Cc: Robin Murphy <robin.murphy@arm.com>,
	Fabio Estevam <festevam@gmail.com>,
	Quentin Schulz <foss+kernel@0leil.net>,
	"Angus Ainslie (Purism)" <angus@akkea.ca>,
	Shawn Guo <shawnguo@kernel.org>,
	Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
	Heiko Stuebner <heiko@sntech.de>,
	Samuel Holland <samuel@sholland.org>,
	Bjorn Andersson <andersson@kernel.org>,
	Konrad Dybcio <konrad.dybcio@somainline.org>,
	Jernej Skrabec <jernej.skrabec@gmail.com>,
	Bastien Nocera <hadess@hadess.net>, Chen-Yu Tsai <wens@csie.org>,
	Sascha Hauer <s.hauer@pengutronix.de>,
	Pengutronix Kernel Team <kernel@pengutronix.de>,
	Hans de Goede <hdegoede@redhat.com>,
	Andy Gross <agross@kernel.org>, Rob Herring <robh+dt@kernel.org>,
	NXP Linux Team <linux-imx@nxp.com>,
	Dmitry Torokhov <dmitry.torokhov@gmail.com>,
	linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org,
	linux-arm-msm@vger.kernel.org, linux-input@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	linux-sunxi@lists.linux.dev, devicetree@vger.kernel.org
Subject: Re: [PATCH RFC v2 5/7] arm64: dts: imx: fix touchscreen reset GPIO polarity
Date: Wed, 23 Nov 2022 09:07:07 +0100	[thread overview]
Message-ID: <20221123090707.128c7b4d@erd992> (raw)
In-Reply-To: <84af9a9e-5d82-7420-e72c-4d984135f2d6@theobroma-systems.com>

On Tue, 22 Nov 2022 17:22:45 +0100
Quentin Schulz <quentin.schulz@theobroma-systems.com> wrote:

> Hi Robin,
> 
> On 11/22/22 13:46, Robin Murphy wrote:
> > On 2022-11-22 09:58, Quentin Schulz wrote:  
> >> Hi David,
> >>
> >> Thanks Fabio for the Cc.
> >>
> >> On 11/22/22 08:18, David Jander wrote:  
> >>> On Mon, 21 Nov 2022 15:18:32 -0300
> >>> Fabio Estevam <festevam@gmail.com> wrote:
> >>>  
> >>>> [Adding Angus and David]  
> >>>
> >>> Thanks. This was apparently necessary ;-)
> >>>  
> >>>> On Mon, Nov 21, 2022 at 3:12 PM Quentin Schulz 
> >>>> <foss+kernel@0leil.net> wrote:  
> >>>>>
> >>>>> From: Quentin Schulz <quentin.schulz@theobroma-systems.com>
> >>>>>
> >>>>> The reset line is active low for the Goodix touchscreen controller so
> >>>>> let's fix the polarity in the Device Tree node.
> >>>>>
> >>>>> Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
> >>>>> ---
> >>>>>   arch/arm64/boot/dts/freescale/imx8mm-prt8mm.dts         | 2 +-
> >>>>>   arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts | 2 +-
> >>>>>   2 files changed, 2 insertions(+), 2 deletions(-)
> >>>>>
> >>>>> diff --git a/arch/arm64/boot/dts/freescale/imx8mm-prt8mm.dts 
> >>>>> b/arch/arm64/boot/dts/freescale/imx8mm-prt8mm.dts
> >>>>> index 9fbbbb556c0b3..df7e5ae9698e1 100644
> >>>>> --- a/arch/arm64/boot/dts/freescale/imx8mm-prt8mm.dts
> >>>>> +++ b/arch/arm64/boot/dts/freescale/imx8mm-prt8mm.dts
> >>>>> @@ -107,7 +107,7 @@ touchscreeen@5d {
> >>>>>                  interrupt-parent = <&gpio1>;
> >>>>>                  interrupts = <8 IRQ_TYPE_NONE>;
> >>>>>                  irq-gpios = <&gpio1 8 GPIO_ACTIVE_HIGH>;
> >>>>> -               reset-gpios = <&gpio1 9 GPIO_ACTIVE_HIGH>;
> >>>>> +               reset-gpios = <&gpio1 9 GPIO_ACTIVE_LOW>;  
> >>>
> >>> NACK!
> >>>
> >>> The PRT8MM has an inverter in the reset line. The reason for that is 
> >>> that the
> >>> reset line needs to be inactive when the driving side is unpowered.
> >>> The DT was correct, this change will break it.
> >>>  
> >>
> >> The DT was correct. The implementation in the driver is changed (the 
> >> polarity is swapped) in this patch series, therefore the DT isn't 
> >> correct anymore, hence this patch.  
> > 
> > I'm not sure it's quite that simple... FWIW I'm using an add-on LCD 
> > module with a GT9271[1] (and I won't be the only one - Raspberry Pi and 
> > other SBC users using DT overlays or custom-built DTBs are a whole other 
> > can of worms here), where GPIO_ACTIVE_LOW is correctly specified per the 
> > schematics, thus "wrong" for the current driver behaviour, yet it *is* 
> > working OK as-is. I guess that's because /RSTB ends up driven low for 
> > long enough between the current "deassertion" by 
> > gpiod_direction_output(1) and gpiod_direction_input() allowing the 
> > external pull-up to take it high again.
> >   
> 
> Correct, that seems like it is the case for "current-wrong" GPIO level, 
> provided you have a pull-up on the RESET line (as recommended in the 
> datasheet).
> 
> c.f. 
> https://github.com/hadess/gt9xx/blob/master/specifications/GT9271%20Datasheet.pdf
> 
> with the current driver, what I assume we should get is:
>              ___________________
> INT _______|                   |___________
> 
>      ____________           __________________
> RST             |_________|
> 
>     ^
>     L__ pull-up on RST so high by default
>          ^
>          L___ gpiod_direction_output(0) (deassert GPIO active-low, so high)
>             ^
>             L____ goodix_irq_direction_output
>                  ^
>                  L___ gpiod_direction_output(1) (assert GPIO active-low, 
> so low)
>                            ^
>                            L____ gpiod_direction_input() (floating, 
> pull-up on RST so high)
> 
> This works because of the pull-up on RST and that what matters is that 
> the INT lane is configured 100µs before a rising edge on RST line (for 
> at least 5ms). However, the init sequence is not properly followed and 
> might get broken in the future since it is not something that we 
> explicitly support.
> 
> With the proposed patch:
>              ___________________
> INT _______|                   |___________
> 
>      ____         __________________
> RST     |_______|
> 
>     ^
>     L__ pull-up on RST so high by default
>          ^
>          L___ gpiod_direction_output(1) (assert GPIO active-low, so low)
>             ^
>             L____ goodix_irq_direction_output
>                  ^
>                  L___ gpiod_direction_output(1) (deassert GPIO 
> active-low, so high)
>                            ^
>                            L____ gpiod_direction_input() (floating, 
> pull-up on RST so high)
> 
> This should work too and does not rely on some side effects/timings and 
> should be future-proof.
> 
> As for OOT DTB/DTBO, nothing I can do unfortunately, that is correct.
> 
> The fact that we have both "interpretations" of the RESET GPIO level in 
> Linux is worrying, albeit with OOT DTBs. A driver or subsystem rework 
> might break boards in which case people should update their DTB as 
> suggested here or we'll decide to support both interpretations, which 
> ain't great either.

Thanks for the detailed drawings. Yes, it seems this is an unfortunate case of
both polarities kind of working.

Our DT was correct, but the driver was wrong, even if it seemed to work
correctly, so this NACK still stands.

Our board has this GPIO pin wired to the gate of a MOSFET which acts as an
inverter and also isolates the signal from the GPIO port power rail. So from
the GPIO point of view, the signal is ACTIVE_HIGH. Please leave the DT like
this.

Thanks for fixing the driver.

Best regards,

-- 
David Jander
Protonic Holland.


_______________________________________________
Linux-rockchip mailing list
Linux-rockchip@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-rockchip

WARNING: multiple messages have this Message-ID (diff)
From: David Jander <david@protonic.nl>
To: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Cc: Robin Murphy <robin.murphy@arm.com>,
	Fabio Estevam <festevam@gmail.com>,
	Quentin Schulz <foss+kernel@0leil.net>,
	"Angus Ainslie (Purism)" <angus@akkea.ca>,
	Shawn Guo <shawnguo@kernel.org>,
	Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
	Heiko Stuebner <heiko@sntech.de>,
	Samuel Holland <samuel@sholland.org>,
	Bjorn Andersson <andersson@kernel.org>,
	Konrad Dybcio <konrad.dybcio@somainline.org>,
	Jernej Skrabec <jernej.skrabec@gmail.com>,
	Bastien Nocera <hadess@hadess.net>, Chen-Yu Tsai <wens@csie.org>,
	Sascha Hauer <s.hauer@pengutronix.de>,
	Pengutronix Kernel Team <kernel@pengutronix.de>,
	Hans de Goede <hdegoede@redhat.com>,
	Andy Gross <agross@kernel.org>, Rob Herring <robh+dt@kernel.org>,
	NXP Linux Team <linux-imx@nxp.com>,
	Dmitry Torokhov <dmitry.torokhov@gmail.com>,
	linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org,
	linux-arm-msm@vger.kernel.org, linux-input@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	linux-sunxi@lists.linux.dev, devicetree@vger.kernel.org
Subject: Re: [PATCH RFC v2 5/7] arm64: dts: imx: fix touchscreen reset GPIO polarity
Date: Wed, 23 Nov 2022 09:07:07 +0100	[thread overview]
Message-ID: <20221123090707.128c7b4d@erd992> (raw)
In-Reply-To: <84af9a9e-5d82-7420-e72c-4d984135f2d6@theobroma-systems.com>

On Tue, 22 Nov 2022 17:22:45 +0100
Quentin Schulz <quentin.schulz@theobroma-systems.com> wrote:

> Hi Robin,
> 
> On 11/22/22 13:46, Robin Murphy wrote:
> > On 2022-11-22 09:58, Quentin Schulz wrote:  
> >> Hi David,
> >>
> >> Thanks Fabio for the Cc.
> >>
> >> On 11/22/22 08:18, David Jander wrote:  
> >>> On Mon, 21 Nov 2022 15:18:32 -0300
> >>> Fabio Estevam <festevam@gmail.com> wrote:
> >>>  
> >>>> [Adding Angus and David]  
> >>>
> >>> Thanks. This was apparently necessary ;-)
> >>>  
> >>>> On Mon, Nov 21, 2022 at 3:12 PM Quentin Schulz 
> >>>> <foss+kernel@0leil.net> wrote:  
> >>>>>
> >>>>> From: Quentin Schulz <quentin.schulz@theobroma-systems.com>
> >>>>>
> >>>>> The reset line is active low for the Goodix touchscreen controller so
> >>>>> let's fix the polarity in the Device Tree node.
> >>>>>
> >>>>> Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
> >>>>> ---
> >>>>>   arch/arm64/boot/dts/freescale/imx8mm-prt8mm.dts         | 2 +-
> >>>>>   arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts | 2 +-
> >>>>>   2 files changed, 2 insertions(+), 2 deletions(-)
> >>>>>
> >>>>> diff --git a/arch/arm64/boot/dts/freescale/imx8mm-prt8mm.dts 
> >>>>> b/arch/arm64/boot/dts/freescale/imx8mm-prt8mm.dts
> >>>>> index 9fbbbb556c0b3..df7e5ae9698e1 100644
> >>>>> --- a/arch/arm64/boot/dts/freescale/imx8mm-prt8mm.dts
> >>>>> +++ b/arch/arm64/boot/dts/freescale/imx8mm-prt8mm.dts
> >>>>> @@ -107,7 +107,7 @@ touchscreeen@5d {
> >>>>>                  interrupt-parent = <&gpio1>;
> >>>>>                  interrupts = <8 IRQ_TYPE_NONE>;
> >>>>>                  irq-gpios = <&gpio1 8 GPIO_ACTIVE_HIGH>;
> >>>>> -               reset-gpios = <&gpio1 9 GPIO_ACTIVE_HIGH>;
> >>>>> +               reset-gpios = <&gpio1 9 GPIO_ACTIVE_LOW>;  
> >>>
> >>> NACK!
> >>>
> >>> The PRT8MM has an inverter in the reset line. The reason for that is 
> >>> that the
> >>> reset line needs to be inactive when the driving side is unpowered.
> >>> The DT was correct, this change will break it.
> >>>  
> >>
> >> The DT was correct. The implementation in the driver is changed (the 
> >> polarity is swapped) in this patch series, therefore the DT isn't 
> >> correct anymore, hence this patch.  
> > 
> > I'm not sure it's quite that simple... FWIW I'm using an add-on LCD 
> > module with a GT9271[1] (and I won't be the only one - Raspberry Pi and 
> > other SBC users using DT overlays or custom-built DTBs are a whole other 
> > can of worms here), where GPIO_ACTIVE_LOW is correctly specified per the 
> > schematics, thus "wrong" for the current driver behaviour, yet it *is* 
> > working OK as-is. I guess that's because /RSTB ends up driven low for 
> > long enough between the current "deassertion" by 
> > gpiod_direction_output(1) and gpiod_direction_input() allowing the 
> > external pull-up to take it high again.
> >   
> 
> Correct, that seems like it is the case for "current-wrong" GPIO level, 
> provided you have a pull-up on the RESET line (as recommended in the 
> datasheet).
> 
> c.f. 
> https://github.com/hadess/gt9xx/blob/master/specifications/GT9271%20Datasheet.pdf
> 
> with the current driver, what I assume we should get is:
>              ___________________
> INT _______|                   |___________
> 
>      ____________           __________________
> RST             |_________|
> 
>     ^
>     L__ pull-up on RST so high by default
>          ^
>          L___ gpiod_direction_output(0) (deassert GPIO active-low, so high)
>             ^
>             L____ goodix_irq_direction_output
>                  ^
>                  L___ gpiod_direction_output(1) (assert GPIO active-low, 
> so low)
>                            ^
>                            L____ gpiod_direction_input() (floating, 
> pull-up on RST so high)
> 
> This works because of the pull-up on RST and that what matters is that 
> the INT lane is configured 100µs before a rising edge on RST line (for 
> at least 5ms). However, the init sequence is not properly followed and 
> might get broken in the future since it is not something that we 
> explicitly support.
> 
> With the proposed patch:
>              ___________________
> INT _______|                   |___________
> 
>      ____         __________________
> RST     |_______|
> 
>     ^
>     L__ pull-up on RST so high by default
>          ^
>          L___ gpiod_direction_output(1) (assert GPIO active-low, so low)
>             ^
>             L____ goodix_irq_direction_output
>                  ^
>                  L___ gpiod_direction_output(1) (deassert GPIO 
> active-low, so high)
>                            ^
>                            L____ gpiod_direction_input() (floating, 
> pull-up on RST so high)
> 
> This should work too and does not rely on some side effects/timings and 
> should be future-proof.
> 
> As for OOT DTB/DTBO, nothing I can do unfortunately, that is correct.
> 
> The fact that we have both "interpretations" of the RESET GPIO level in 
> Linux is worrying, albeit with OOT DTBs. A driver or subsystem rework 
> might break boards in which case people should update their DTB as 
> suggested here or we'll decide to support both interpretations, which 
> ain't great either.

Thanks for the detailed drawings. Yes, it seems this is an unfortunate case of
both polarities kind of working.

Our DT was correct, but the driver was wrong, even if it seemed to work
correctly, so this NACK still stands.

Our board has this GPIO pin wired to the gate of a MOSFET which acts as an
inverter and also isolates the signal from the GPIO port power rail. So from
the GPIO point of view, the signal is ACTIVE_HIGH. Please leave the DT like
this.

Thanks for fixing the driver.

Best regards,

-- 
David Jander
Protonic Holland.


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  reply	other threads:[~2022-11-23  8:08 UTC|newest]

Thread overview: 44+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-21 17:17 [PATCH RFC v2 0/7] fix reset line polarity for Goodix touchscreen controllers Quentin Schulz
2022-11-21 17:17 ` Quentin Schulz
2022-11-21 17:17 ` Quentin Schulz
2022-11-21 17:17 ` [PATCH RFC v2 1/7] Input: goodix - fix reset polarity Quentin Schulz
2022-11-21 17:17   ` Quentin Schulz
2022-11-21 17:17   ` Quentin Schulz
2022-11-21 17:17   ` Quentin Schulz
2022-11-21 17:17 ` [PATCH RFC v2 2/7] ARM: dts: imx: fix touchscreen reset GPIO polarity Quentin Schulz
2022-11-21 17:17   ` Quentin Schulz
2022-11-21 17:17   ` Quentin Schulz
2022-11-21 17:17 ` [PATCH RFC v2 3/7] ARM: dts: sunxi: " Quentin Schulz
2022-11-21 17:17   ` Quentin Schulz
2022-11-21 17:17   ` Quentin Schulz
2022-11-21 17:17 ` [PATCH RFC v2 4/7] arm64: dts: allwinner: " Quentin Schulz
2022-11-21 17:17   ` Quentin Schulz
2022-11-21 17:17   ` Quentin Schulz
2022-11-21 17:17 ` [PATCH RFC v2 5/7] arm64: dts: imx: " Quentin Schulz
2022-11-21 17:17   ` Quentin Schulz
2022-11-21 17:17   ` Quentin Schulz
2022-11-21 18:18   ` Fabio Estevam
2022-11-21 18:18     ` Fabio Estevam
2022-11-21 18:18     ` Fabio Estevam
2022-11-22  7:18     ` David Jander
2022-11-22  7:18       ` David Jander
2022-11-22  7:18       ` David Jander
2022-11-22  9:58       ` Quentin Schulz
2022-11-22  9:58         ` Quentin Schulz
2022-11-22  9:58         ` Quentin Schulz
2022-11-22 12:46         ` Robin Murphy
2022-11-22 12:46           ` Robin Murphy
2022-11-22 12:46           ` Robin Murphy
2022-11-22 16:22           ` Quentin Schulz
2022-11-22 16:22             ` Quentin Schulz
2022-11-22 16:22             ` Quentin Schulz
2022-11-23  8:07             ` David Jander [this message]
2022-11-23  8:07               ` David Jander
2022-11-23  8:07               ` David Jander
2022-11-21 17:17 ` [PATCH RFC v2 6/7] arm64: dts: qcom: " Quentin Schulz
2022-11-21 17:17   ` Quentin Schulz
2022-11-21 17:17   ` Quentin Schulz
2022-11-21 17:17   ` Quentin Schulz
2022-11-21 17:17 ` [PATCH RFC v2 7/7] arm64: dts: rockchip: " Quentin Schulz
2022-11-21 17:17   ` Quentin Schulz
2022-11-21 17:17   ` Quentin Schulz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20221123090707.128c7b4d@erd992 \
    --to=david@protonic.nl \
    --cc=agross@kernel.org \
    --cc=andersson@kernel.org \
    --cc=angus@akkea.ca \
    --cc=devicetree@vger.kernel.org \
    --cc=dmitry.torokhov@gmail.com \
    --cc=festevam@gmail.com \
    --cc=foss+kernel@0leil.net \
    --cc=hadess@hadess.net \
    --cc=hdegoede@redhat.com \
    --cc=heiko@sntech.de \
    --cc=jernej.skrabec@gmail.com \
    --cc=kernel@pengutronix.de \
    --cc=konrad.dybcio@somainline.org \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-imx@nxp.com \
    --cc=linux-input@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-rockchip@lists.infradead.org \
    --cc=linux-sunxi@lists.linux.dev \
    --cc=quentin.schulz@theobroma-systems.com \
    --cc=robh+dt@kernel.org \
    --cc=robin.murphy@arm.com \
    --cc=s.hauer@pengutronix.de \
    --cc=samuel@sholland.org \
    --cc=shawnguo@kernel.org \
    --cc=wens@csie.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.