Re: [PATCH 06/10] ARM: dts: stm32: add touchscreen on stm32f746-disco board

2023-09-26 Thread Patrice CHOTARD



On 9/3/23 22:48, Dario Binacchi wrote:
> commit f0215440069c4fb12958d2d321e05faa2708a11d Linux upstream.
> 
> The patch adds support for touchscreen on the stm32f746-disco board.
> 
> Signed-off-by: Dario Binacchi 
> Signed-off-by: Alexandre Torgue 
> ---
> 
>  arch/arm/dts/stm32f746-disco.dts | 19 ++-
>  1 file changed, 18 insertions(+), 1 deletion(-)
> 
> diff --git a/arch/arm/dts/stm32f746-disco.dts 
> b/arch/arm/dts/stm32f746-disco.dts
> index 1ed58f236149..9541f449fd0e 100644
> --- a/arch/arm/dts/stm32f746-disco.dts
> +++ b/arch/arm/dts/stm32f746-disco.dts
> @@ -7,8 +7,9 @@
>  /dts-v1/;
>  #include "stm32f746.dtsi"
>  #include "stm32f746-pinctrl.dtsi"
> -#include 
>  #include 
> +#include 
> +#include 
>  
>  / {
>   model = "STMicroelectronics STM32F746-DISCO board";
> @@ -63,6 +64,22 @@
>   status = "okay";
>  };
>  
> +&i2c3 {
> + pinctrl-0 = <&i2c3_pins_a>;
> + pinctrl-names = "default";
> + clock-frequency = <40>;
> + status = "okay";
> +
> + touchscreen@38 {
> + compatible = "edt,edt-ft5306";
> + reg = <0x38>;
> + interrupt-parent = <&gpioi>;
> + interrupts = <13 IRQ_TYPE_EDGE_FALLING>;
> + touchscreen-size-x = <480>;
> + touchscreen-size-y = <272>;
> + };
> +};
> +
>  &sdio1 {
>   status = "okay";
>   vmmc-supply = <&mmc_vcard>;
Apply on stm32/next

Thanks
Patrice


Re: [PATCH 06/10] ARM: dts: stm32: add touchscreen on stm32f746-disco board

2023-09-26 Thread Patrice CHOTARD



On 9/3/23 22:48, Dario Binacchi wrote:
> commit f0215440069c4fb12958d2d321e05faa2708a11d Linux upstream.
> 
> The patch adds support for touchscreen on the stm32f746-disco board.
> 
> Signed-off-by: Dario Binacchi 
> Signed-off-by: Alexandre Torgue 
> ---
> 
>  arch/arm/dts/stm32f746-disco.dts | 19 ++-
>  1 file changed, 18 insertions(+), 1 deletion(-)
> 
> diff --git a/arch/arm/dts/stm32f746-disco.dts 
> b/arch/arm/dts/stm32f746-disco.dts
> index 1ed58f236149..9541f449fd0e 100644
> --- a/arch/arm/dts/stm32f746-disco.dts
> +++ b/arch/arm/dts/stm32f746-disco.dts
> @@ -7,8 +7,9 @@
>  /dts-v1/;
>  #include "stm32f746.dtsi"
>  #include "stm32f746-pinctrl.dtsi"
> -#include 
>  #include 
> +#include 
> +#include 
>  
>  / {
>   model = "STMicroelectronics STM32F746-DISCO board";
> @@ -63,6 +64,22 @@
>   status = "okay";
>  };
>  
> +&i2c3 {
> + pinctrl-0 = <&i2c3_pins_a>;
> + pinctrl-names = "default";
> + clock-frequency = <40>;
> + status = "okay";
> +
> + touchscreen@38 {
> + compatible = "edt,edt-ft5306";
> + reg = <0x38>;
> + interrupt-parent = <&gpioi>;
> + interrupts = <13 IRQ_TYPE_EDGE_FALLING>;
> + touchscreen-size-x = <480>;
> + touchscreen-size-y = <272>;
> + };
> +};
> +
>  &sdio1 {
>   status = "okay";
>   vmmc-supply = <&mmc_vcard>;
Reviewed-by: Patrice Chotard 

Thanks
Patrice


[PATCH 06/10] ARM: dts: stm32: add touchscreen on stm32f746-disco board

2023-09-03 Thread Dario Binacchi
commit f0215440069c4fb12958d2d321e05faa2708a11d Linux upstream.

The patch adds support for touchscreen on the stm32f746-disco board.

Signed-off-by: Dario Binacchi 
Signed-off-by: Alexandre Torgue 
---

 arch/arm/dts/stm32f746-disco.dts | 19 ++-
 1 file changed, 18 insertions(+), 1 deletion(-)

diff --git a/arch/arm/dts/stm32f746-disco.dts b/arch/arm/dts/stm32f746-disco.dts
index 1ed58f236149..9541f449fd0e 100644
--- a/arch/arm/dts/stm32f746-disco.dts
+++ b/arch/arm/dts/stm32f746-disco.dts
@@ -7,8 +7,9 @@
 /dts-v1/;
 #include "stm32f746.dtsi"
 #include "stm32f746-pinctrl.dtsi"
-#include 
 #include 
+#include 
+#include 
 
 / {
model = "STMicroelectronics STM32F746-DISCO board";
@@ -63,6 +64,22 @@
status = "okay";
 };
 
+&i2c3 {
+   pinctrl-0 = <&i2c3_pins_a>;
+   pinctrl-names = "default";
+   clock-frequency = <40>;
+   status = "okay";
+
+   touchscreen@38 {
+   compatible = "edt,edt-ft5306";
+   reg = <0x38>;
+   interrupt-parent = <&gpioi>;
+   interrupts = <13 IRQ_TYPE_EDGE_FALLING>;
+   touchscreen-size-x = <480>;
+   touchscreen-size-y = <272>;
+   };
+};
+
 &sdio1 {
status = "okay";
vmmc-supply = <&mmc_vcard>;
-- 
2.34.1