[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <cd531beb-69f4-a2e8-299f-c85d8593673c@linaro.org>
Date: Tue, 11 Apr 2023 21:58:57 +0200
From: Konrad Dybcio <konrad.dybcio@...aro.org>
To: Joel Selvaraj <joelselvaraj.oss@...il.com>,
Caleb Connolly <caleb@...nolly.tech>,
Dmitry Torokhov <dmitry.torokhov@...il.com>,
Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Andy Gross <agross@...nel.org>,
Bjorn Andersson <andersson@...nel.org>,
Henrik Rydberg <rydberg@...math.org>,
Arnd Bergmann <arnd@...db.de>,
Robert Jarzmik <robert.jarzmik@...e.fr>,
Jeff LaBundy <jeff@...undy.com>,
Markuss Broks <markuss.broks@...il.com>,
Jean Delvare <jdelvare@...e.de>,
Job Noorman <job@...rman.info>,
Alistair Francis <alistair@...stair23.me>,
Chris Morgan <macromorgan@...mail.com>,
Hans de Goede <hdegoede@...hat.com>
Cc: linux-input@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-arm-msm@...r.kernel.org,
~postmarketos/upstreaming@...ts.sr.ht, phone-devel@...r.kernel.org
Subject: Re: [PATCH v2 4/5] arm64: dts: qcom: sdm845-xiaomi-beryllium-ebbg:
introduce support for fts touchscreen
On 10.04.2023 18:01, Joel Selvaraj wrote:
> The Poco F1 EBBG variant uses Focaltech FTS8719 touchscreen. Introduce
> support for it.
>
> Signed-off-by: Joel Selvaraj <joelselvaraj.oss@...il.com>
> ---
> .../dts/qcom/sdm845-xiaomi-beryllium-ebbg.dts | 26 +++++++++++++++++++
> 1 file changed, 26 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-ebbg.dts b/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-ebbg.dts
> index 76931ebad065..f857ed3e2df4 100644
> --- a/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-ebbg.dts
> +++ b/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-ebbg.dts
> @@ -13,3 +13,29 @@ &display_panel {
> compatible = "ebbg,ft8719";
> status = "okay";
> };
> +
> +&i2c14 {
> + status = "okay";
> +
> + dmas = <&gpi_dma1 0 6 QCOM_GPI_I2C>,
> + <&gpi_dma1 1 6 QCOM_GPI_I2C>;
> + dma-names = "tx", "rx";
That's totally in sdm845.dtsi already!
> +
> + touchscreen@38 {
> + compatible = "focaltech,fts8719";
> + reg = <0x38>;
> +
> + interrupt-parent = <&tlmm>;
> + interrupts = <31 IRQ_TYPE_EDGE_FALLING>;
interrupts-extended
> + reset-gpios = <&tlmm 32 GPIO_ACTIVE_LOW>;
> +
> + vddio-supply = <&vreg_l14a_1p8>;
> +
> + pinctrl-names = "default", "sleep";
> + pinctrl-0 = <&ts_int_default &ts_reset_default>;
> + pinctrl-1 = <&ts_int_sleep &ts_reset_sleep>;
property
property-names
Konrad
> +
> + touchscreen-size-x = <1080>;
> + touchscreen-size-y = <2246>;
> + };
> +};
Powered by blists - more mailing lists