2021-05-19 16:27:17

by Oleksij Rempel

[permalink] [raw]
Subject: [PATCH v1 0/9] ARM: dts: fixes for Protonic boards

This patch series provide different fixes for Protonic boards.

Oleksij Rempel (6):
ARM: dts: imx6dl-prtvt7: add TSC2046 touchscreen node
ARM: dts: imx6dl-prtvt7: Remove backlight enable gpio
ARM: dts: imx6dl-prtvt7: fix PWM cell count for the backlight node.
ARM: dts: imx6dl-plym2m: remove touchscreen-size-* properties
ARM: dts: imx6dl: enable touchscreen debounce filter on PLYM2M and
PRTVT7 boards
ARM: dts: imx6qdl-vicut1: add interrupt-counter nodes

Robin van der Gracht (3):
ARM: dts: imx6dl-prtvt7: Enable the VPU
ARM: dts: imx6dl-prtvt7: The sgtl5000 uses i2s not ac97
ARM: dts: imx6dl-prtvt7: Remove unused 'sound-dai-cells' from ssi1
node

arch/arm/boot/dts/imx6dl-plym2m.dts | 6 ++--
arch/arm/boot/dts/imx6dl-prtvt7.dts | 36 ++++++++++++-----------
arch/arm/boot/dts/imx6qdl-vicut1.dtsi | 41 ++++++++++++++++++++++++++-
3 files changed, 62 insertions(+), 21 deletions(-)

--
2.29.2



2021-05-19 16:56:43

by Oleksij Rempel

[permalink] [raw]
Subject: [PATCH v1 2/9] ARM: dts: imx6dl-prtvt7: Remove backlight enable gpio

The backlight power is controlled through the reg_bl_12v0 regulator.

Co-Developed-by: Robin van der Gracht <[email protected]>
Signed-off-by: Robin van der Gracht <[email protected]>
Signed-off-by: Oleksij Rempel <[email protected]>
---
arch/arm/boot/dts/imx6dl-prtvt7.dts | 9 ---------
1 file changed, 9 deletions(-)

diff --git a/arch/arm/boot/dts/imx6dl-prtvt7.dts b/arch/arm/boot/dts/imx6dl-prtvt7.dts
index 428ed9f6bc17..a8e72c7699cd 100644
--- a/arch/arm/boot/dts/imx6dl-prtvt7.dts
+++ b/arch/arm/boot/dts/imx6dl-prtvt7.dts
@@ -21,14 +21,11 @@ memory@10000000 {

backlight_lcd: backlight-lcd {
compatible = "pwm-backlight";
- pinctrl-names = "default";
- pinctrl-0 = <&pinctrl_backlight>;
pwms = <&pwm1 0 500000>;
brightness-levels = <0 20 81 248 1000>;
default-brightness-level = <20>;
num-interpolated-steps = <21>;
power-supply = <&reg_bl_12v0>;
- enable-gpios = <&gpio4 28 GPIO_ACTIVE_HIGH>;
};

keys {
@@ -315,12 +312,6 @@ MX6QDL_PAD_CSI0_DAT6__AUD3_TXFS 0x130b0
>;
};

- pinctrl_backlight: backlightgrp {
- fsl,pins = <
- MX6QDL_PAD_DISP0_DAT7__GPIO4_IO28 0x1b0b0
- >;
- };
-
pinctrl_can1phy: can1phy {
fsl,pins = <
/* CAN1_SR */
--
2.29.2


2021-05-19 16:56:43

by Oleksij Rempel

[permalink] [raw]
Subject: [PATCH v1 3/9] ARM: dts: imx6dl-prtvt7: fix PWM cell count for the backlight node.

At some point PWM cell count was changed, but it didn't triggered any
error, since this DT was overwriting "#pwm-cells".
To make sure, we are in sync with the kernel driver, remove this
property and fix the pwm consumer.

Signed-off-by: Oleksij Rempel <[email protected]>
---
arch/arm/boot/dts/imx6dl-prtvt7.dts | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/arch/arm/boot/dts/imx6dl-prtvt7.dts b/arch/arm/boot/dts/imx6dl-prtvt7.dts
index a8e72c7699cd..d22ded6fc48b 100644
--- a/arch/arm/boot/dts/imx6dl-prtvt7.dts
+++ b/arch/arm/boot/dts/imx6dl-prtvt7.dts
@@ -21,7 +21,7 @@ memory@10000000 {

backlight_lcd: backlight-lcd {
compatible = "pwm-backlight";
- pwms = <&pwm1 0 500000>;
+ pwms = <&pwm1 0 500000 0>;
brightness-levels = <0 20 81 248 1000>;
default-brightness-level = <20>;
num-interpolated-steps = <21>;
@@ -273,7 +273,6 @@ &ipu1 {
};

&pwm1 {
- #pwm-cells = <2>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_pwm1>;
status = "okay";
--
2.29.2


2021-05-19 17:05:09

by Oleksij Rempel

[permalink] [raw]
Subject: [PATCH v1 4/9] ARM: dts: imx6dl-plym2m: remove touchscreen-size-* properties

Remove touchscreen-size-* properties. This values are not correct, event if it
works with ts_test tool, it fails to work properly with weston.

Signed-off-by: Oleksij Rempel <[email protected]>
---
arch/arm/boot/dts/imx6dl-plym2m.dts | 2 --
1 file changed, 2 deletions(-)

diff --git a/arch/arm/boot/dts/imx6dl-plym2m.dts b/arch/arm/boot/dts/imx6dl-plym2m.dts
index 4d0d3d3386af..c97274f0df07 100644
--- a/arch/arm/boot/dts/imx6dl-plym2m.dts
+++ b/arch/arm/boot/dts/imx6dl-plym2m.dts
@@ -138,8 +138,6 @@ touchscreen@0 {
interrupts-extended = <&gpio3 20 IRQ_TYPE_EDGE_FALLING>;
pendown-gpio = <&gpio3 20 GPIO_ACTIVE_LOW>;

- touchscreen-size-x = <800>;
- touchscreen-size-y = <480>;
touchscreen-inverted-x;
touchscreen-inverted-y;
touchscreen-max-pressure = <4095>;
--
2.29.2


2021-06-08 11:52:44

by Shawn Guo

[permalink] [raw]
Subject: Re: [PATCH v1 0/9] ARM: dts: fixes for Protonic boards

On Tue, May 18, 2021 at 10:28:41AM +0200, Oleksij Rempel wrote:
> This patch series provide different fixes for Protonic boards.
>
> Oleksij Rempel (6):
> ARM: dts: imx6dl-prtvt7: add TSC2046 touchscreen node
> ARM: dts: imx6dl-prtvt7: Remove backlight enable gpio
> ARM: dts: imx6dl-prtvt7: fix PWM cell count for the backlight node.
> ARM: dts: imx6dl-plym2m: remove touchscreen-size-* properties
> ARM: dts: imx6dl: enable touchscreen debounce filter on PLYM2M and
> PRTVT7 boards
> ARM: dts: imx6qdl-vicut1: add interrupt-counter nodes
>
> Robin van der Gracht (3):
> ARM: dts: imx6dl-prtvt7: Enable the VPU
> ARM: dts: imx6dl-prtvt7: The sgtl5000 uses i2s not ac97
> ARM: dts: imx6dl-prtvt7: Remove unused 'sound-dai-cells' from ssi1
> node

Applied all, thanks.