From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
To: Andreas Kemnade <andreas@kemnade.info>
Cc: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org,
conor+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de,
kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com,
rydberg@bitmath.org, linus.walleij@linaro.org,
Jonathan.Cameron@huawei.com, u.kleine-koenig@pengutronix.de,
heiko@sntech.de, linux-input@vger.kernel.org,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH v3 4/4] ARM: dts: imx6sl-tolino-shine2hd: fix touchscreen rotation
Date: Sun, 24 Dec 2023 00:47:08 -0800 [thread overview]
Message-ID: <ZYfwDJYesTwnoun6@google.com> (raw)
In-Reply-To: <20231223221213.774868-5-andreas@kemnade.info>
On Sat, Dec 23, 2023 at 11:12:13PM +0100, Andreas Kemnade wrote:
> The display is in landscape orientation, but the touchscreen is in portrait
> orientation. Specify that properly in the devicetree.
This needs to be merged by the board maintainer.
>
> Signed-off-by: Andreas Kemnade <andreas@kemnade.info>
> ---
> arch/arm/boot/dts/nxp/imx/imx6sl-tolino-shine2hd.dts | 6 ++++--
> 1 file changed, 4 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm/boot/dts/nxp/imx/imx6sl-tolino-shine2hd.dts b/arch/arm/boot/dts/nxp/imx/imx6sl-tolino-shine2hd.dts
> index 815119c12bd48..5636fb3661e8a 100644
> --- a/arch/arm/boot/dts/nxp/imx/imx6sl-tolino-shine2hd.dts
> +++ b/arch/arm/boot/dts/nxp/imx/imx6sl-tolino-shine2hd.dts
> @@ -141,8 +141,10 @@ zforce: touchscreen@50 {
> interrupts = <6 IRQ_TYPE_EDGE_FALLING>;
Could you please prepare a patch changing this to IRQ_TYPE_LEVEL_LOW to
match what the driver is actually doing?
> vdd-supply = <&ldo1_reg>;
> reset-gpios = <&gpio5 9 GPIO_ACTIVE_LOW>;
> - x-size = <1072>;
> - y-size = <1448>;
> + touchscreen-size-x = <1072>;
> + touchscreen-size-y = <1448>;
> + touchscreen-swapped-x-y;
> + touchscreen-inverted-x;
> };
>
> /* TODO: TPS65185 PMIC for E Ink at 0x68 */
> --
> 2.39.2
>
Thanks.
--
Dmitry
WARNING: multiple messages have this Message-ID (diff)
From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
To: Andreas Kemnade <andreas@kemnade.info>
Cc: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org,
conor+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de,
kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com,
rydberg@bitmath.org, linus.walleij@linaro.org,
Jonathan.Cameron@huawei.com, u.kleine-koenig@pengutronix.de,
heiko@sntech.de, linux-input@vger.kernel.org,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH v3 4/4] ARM: dts: imx6sl-tolino-shine2hd: fix touchscreen rotation
Date: Sun, 24 Dec 2023 00:47:08 -0800 [thread overview]
Message-ID: <ZYfwDJYesTwnoun6@google.com> (raw)
In-Reply-To: <20231223221213.774868-5-andreas@kemnade.info>
On Sat, Dec 23, 2023 at 11:12:13PM +0100, Andreas Kemnade wrote:
> The display is in landscape orientation, but the touchscreen is in portrait
> orientation. Specify that properly in the devicetree.
This needs to be merged by the board maintainer.
>
> Signed-off-by: Andreas Kemnade <andreas@kemnade.info>
> ---
> arch/arm/boot/dts/nxp/imx/imx6sl-tolino-shine2hd.dts | 6 ++++--
> 1 file changed, 4 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm/boot/dts/nxp/imx/imx6sl-tolino-shine2hd.dts b/arch/arm/boot/dts/nxp/imx/imx6sl-tolino-shine2hd.dts
> index 815119c12bd48..5636fb3661e8a 100644
> --- a/arch/arm/boot/dts/nxp/imx/imx6sl-tolino-shine2hd.dts
> +++ b/arch/arm/boot/dts/nxp/imx/imx6sl-tolino-shine2hd.dts
> @@ -141,8 +141,10 @@ zforce: touchscreen@50 {
> interrupts = <6 IRQ_TYPE_EDGE_FALLING>;
Could you please prepare a patch changing this to IRQ_TYPE_LEVEL_LOW to
match what the driver is actually doing?
> vdd-supply = <&ldo1_reg>;
> reset-gpios = <&gpio5 9 GPIO_ACTIVE_LOW>;
> - x-size = <1072>;
> - y-size = <1448>;
> + touchscreen-size-x = <1072>;
> + touchscreen-size-y = <1448>;
> + touchscreen-swapped-x-y;
> + touchscreen-inverted-x;
> };
>
> /* TODO: TPS65185 PMIC for E Ink at 0x68 */
> --
> 2.39.2
>
Thanks.
--
Dmitry
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2023-12-24 8:47 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-23 22:12 [PATCH v3 0/4] Input: zforce_ts: standard properties Andreas Kemnade
2023-12-23 22:12 ` Andreas Kemnade
2023-12-23 22:12 ` [PATCH v3 1/4] dt-bindings: touchscreen: convert neonode,zforce to json-schema Andreas Kemnade
2023-12-23 22:12 ` Andreas Kemnade
2023-12-24 8:31 ` Dmitry Torokhov
2023-12-24 8:31 ` Dmitry Torokhov
2023-12-23 22:12 ` [PATCH v3 2/4] dt-bindings: touchscreen: neonode,zforce: Use standard properties Andreas Kemnade
2023-12-23 22:12 ` Andreas Kemnade
2023-12-24 8:31 ` Dmitry Torokhov
2023-12-24 8:31 ` Dmitry Torokhov
2023-12-23 22:12 ` [PATCH v3 3/4] Input: zforce_ts: Accept standard touchscreen properties Andreas Kemnade
2023-12-23 22:12 ` Andreas Kemnade
2023-12-24 8:31 ` Dmitry Torokhov
2023-12-24 8:31 ` Dmitry Torokhov
2023-12-23 22:12 ` [PATCH v3 4/4] ARM: dts: imx6sl-tolino-shine2hd: fix touchscreen rotation Andreas Kemnade
2023-12-23 22:12 ` Andreas Kemnade
2023-12-24 8:47 ` Dmitry Torokhov [this message]
2023-12-24 8:47 ` Dmitry Torokhov
2024-02-05 6:35 ` Shawn Guo
2024-02-05 6:35 ` Shawn Guo
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=ZYfwDJYesTwnoun6@google.com \
--to=dmitry.torokhov@gmail.com \
--cc=Jonathan.Cameron@huawei.com \
--cc=andreas@kemnade.info \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=festevam@gmail.com \
--cc=heiko@sntech.de \
--cc=kernel@pengutronix.de \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linus.walleij@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-imx@nxp.com \
--cc=linux-input@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=robh+dt@kernel.org \
--cc=rydberg@bitmath.org \
--cc=s.hauer@pengutronix.de \
--cc=shawnguo@kernel.org \
--cc=u.kleine-koenig@pengutronix.de \
/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.