* [PATCH 1/3] dt-bindings: display: ti,tpd12s015: Convert to DT schema
2026-10-09 10:53 [PATCH 0/3] dt-bindings: display: ti,tpd12s015: convert, and fix what the conversion exposed Quchaosheng
@ 2026-10-09 10:53 ` Quchaosheng
2026-10-09 11:05 ` sashiko-bot
0 siblings, 1 reply; 17+ messages in thread
From: Quchaosheng @ 2026-10-09 10:53 UTC (permalink / raw)
To: Laurent Pinchart, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Tomi Valkeinen
Cc: dri-devel, devicetree, linux-omap, linux-kernel, Chaosheng Qu
From: Chaosheng Qu <quchaosheng000406@163.com>
Convert the TPD12S015 HDMI level shifter binding to DT schema.
The TI TPD12S015 is an HDMI companion chip that combines a level shifter
and ESD protection circuitry. Document the two ports it exposes between
the HDMI transmitter and the connector.
The tpd12s016 is software compatible with the tpd12s015 and is listed as
a fallback compatible by am57xx-idk-common.dtsi, so accept it as a
fallback of "ti,tpd12s015". The driver matches on "ti,tpd12s015" only, so
a board using the tpd12s016 must list both compatibles.
Assisted-by: LLM
Signed-off-by: Chaosheng Qu <quchaosheng000406@163.com>
---
.../bindings/display/ti/ti,tpd12s015.txt | 44 ---------
.../bindings/display/ti/ti,tpd12s015.yaml | 90 +++++++++++++++++++
2 files changed, 90 insertions(+), 44 deletions(-)
delete mode 100644 Documentation/devicetree/bindings/display/ti/ti,tpd12s015.txt
create mode 100644 Documentation/devicetree/bindings/display/ti/ti,tpd12s015.yaml
diff --git a/Documentation/devicetree/bindings/display/ti/ti,tpd12s015.txt b/Documentation/devicetree/bindings/display/ti/ti,tpd12s015.txt
deleted file mode 100644
index 26e6d32e3f20..000000000000
--- a/Documentation/devicetree/bindings/display/ti/ti,tpd12s015.txt
+++ /dev/null
@@ -1,44 +0,0 @@
-TPD12S015 HDMI level shifter and ESD protection chip
-====================================================
-
-Required properties:
-- compatible: "ti,tpd12s015"
-
-Optional properties:
-- gpios: CT CP HPD, LS OE and HPD gpios
-
-Required nodes:
-- Video port 0 for HDMI input
-- Video port 1 for HDMI output
-
-Example
--------
-
-tpd12s015: encoder@1 {
- compatible = "ti,tpd12s015";
-
- gpios = <&gpio2 28 GPIO_ACTIVE_HIGH>, /* 60, CT CP HPD */
- <&gpio2 9 GPIO_ACTIVE_HIGH>, /* 41, LS OE */
- <&gpio2 31 GPIO_ACTIVE_HIGH>; /* 63, HPD */
-
- ports {
- #address-cells = <1>;
- #size-cells = <0>;
-
- port@0 {
- reg = <0>;
-
- tpd12s015_in: endpoint@0 {
- remote-endpoint = <&hdmi_out>;
- };
- };
-
- port@1 {
- reg = <1>;
-
- tpd12s015_out: endpoint@0 {
- remote-endpoint = <&hdmi_connector_in>;
- };
- };
- };
-};
diff --git a/Documentation/devicetree/bindings/display/ti/ti,tpd12s015.yaml b/Documentation/devicetree/bindings/display/ti/ti,tpd12s015.yaml
new file mode 100644
index 000000000000..1927da3bd736
--- /dev/null
+++ b/Documentation/devicetree/bindings/display/ti/ti,tpd12s015.yaml
@@ -0,0 +1,90 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/display/ti/ti,tpd12s015.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: TI TPD12S015 HDMI level shifter and ESD protection chip
+
+maintainers:
+ - Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
+
+description: |
+ The TPD12S015 is an HDMI companion chip that combines a level shifter and
+ ESD protection circuitry. It sits between an HDMI transmitter and the HDMI
+ connector, and provides control over the level shifter enable and the
+ hot-plug detect signals.
+
+properties:
+ compatible:
+ oneOf:
+ - const: ti,tpd12s015
+ - items:
+ - const: ti,tpd12s016
+ - const: ti,tpd12s015
+
+ gpios:
+ description:
+ The CT CP HPD, LS OE and HPD GPIOs, in that order. The first controls
+ the level shifter, the second enables the level shifter outputs and
+ the third reads the hot-plug detect line.
+ maxItems: 3
+
+ ports:
+ $ref: /schemas/graph.yaml#/properties/ports
+
+ properties:
+ port@0:
+ $ref: /schemas/graph.yaml#/$defs/port-base
+ unevaluatedProperties: false
+ description: HDMI input from the transmitter.
+
+ port@1:
+ $ref: /schemas/graph.yaml#/$defs/port-base
+ unevaluatedProperties: false
+ description: HDMI output to the connector.
+
+ required:
+ - port@0
+ - port@1
+
+required:
+ - compatible
+ - ports
+
+additionalProperties: false
+
+examples:
+ - |
+ #include <dt-bindings/gpio/gpio.h>
+
+ encoder1 {
+ compatible = "ti,tpd12s015";
+
+ gpios = <&gpio2 28 GPIO_ACTIVE_HIGH>, /* 60, CT CP HPD */
+ <&gpio2 9 GPIO_ACTIVE_HIGH>, /* 41, LS OE */
+ <&gpio2 31 GPIO_ACTIVE_HIGH>; /* 63, HPD */
+
+ ports {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ port@0 {
+ reg = <0>;
+
+ tpd12s015_in: endpoint {
+ remote-endpoint = <&hdmi_out>;
+ };
+ };
+
+ port@1 {
+ reg = <1>;
+
+ tpd12s015_out: endpoint {
+ remote-endpoint = <&hdmi_connector_in>;
+ };
+ };
+ };
+ };
+
+...
--
2.43.0
^ permalink raw reply related [flat|nested] 17+ messages in thread
* [PATCH 1/3] dt-bindings: display: ti,tpd12s015: Convert to DT schema
2026-10-09 10:53 [PATCH 0/3] dt-bindings: display: ti,tpd12s015: convert, and fix what the conversion exposed Quchaosheng
@ 2026-10-09 10:53 ` Quchaosheng
2026-10-09 11:03 ` sashiko-bot
0 siblings, 1 reply; 17+ messages in thread
From: Quchaosheng @ 2026-10-09 10:53 UTC (permalink / raw)
To: Laurent Pinchart, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Tomi Valkeinen
Cc: dri-devel, devicetree, linux-omap, linux-kernel, Chaosheng Qu
From: Chaosheng Qu <quchaosheng000406@163.com>
Convert the TPD12S015 HDMI level shifter binding to DT schema.
The TI TPD12S015 is an HDMI companion chip that combines a level shifter
and ESD protection circuitry. Document the two ports it exposes between
the HDMI transmitter and the connector.
The tpd12s016 is software compatible with the tpd12s015 and is listed as
a fallback compatible by am57xx-idk-common.dtsi, so accept it as a
fallback of "ti,tpd12s015". The driver matches on "ti,tpd12s015" only, so
a board using the tpd12s016 must list both compatibles.
Assisted-by: LLM
Signed-off-by: Chaosheng Qu <quchaosheng000406@163.com>
---
.../bindings/display/ti/ti,tpd12s015.txt | 44 ---------
.../bindings/display/ti/ti,tpd12s015.yaml | 90 +++++++++++++++++++
2 files changed, 90 insertions(+), 44 deletions(-)
delete mode 100644 Documentation/devicetree/bindings/display/ti/ti,tpd12s015.txt
create mode 100644 Documentation/devicetree/bindings/display/ti/ti,tpd12s015.yaml
diff --git a/Documentation/devicetree/bindings/display/ti/ti,tpd12s015.txt b/Documentation/devicetree/bindings/display/ti/ti,tpd12s015.txt
deleted file mode 100644
index 26e6d32e3f20..000000000000
--- a/Documentation/devicetree/bindings/display/ti/ti,tpd12s015.txt
+++ /dev/null
@@ -1,44 +0,0 @@
-TPD12S015 HDMI level shifter and ESD protection chip
-====================================================
-
-Required properties:
-- compatible: "ti,tpd12s015"
-
-Optional properties:
-- gpios: CT CP HPD, LS OE and HPD gpios
-
-Required nodes:
-- Video port 0 for HDMI input
-- Video port 1 for HDMI output
-
-Example
--------
-
-tpd12s015: encoder@1 {
- compatible = "ti,tpd12s015";
-
- gpios = <&gpio2 28 GPIO_ACTIVE_HIGH>, /* 60, CT CP HPD */
- <&gpio2 9 GPIO_ACTIVE_HIGH>, /* 41, LS OE */
- <&gpio2 31 GPIO_ACTIVE_HIGH>; /* 63, HPD */
-
- ports {
- #address-cells = <1>;
- #size-cells = <0>;
-
- port@0 {
- reg = <0>;
-
- tpd12s015_in: endpoint@0 {
- remote-endpoint = <&hdmi_out>;
- };
- };
-
- port@1 {
- reg = <1>;
-
- tpd12s015_out: endpoint@0 {
- remote-endpoint = <&hdmi_connector_in>;
- };
- };
- };
-};
diff --git a/Documentation/devicetree/bindings/display/ti/ti,tpd12s015.yaml b/Documentation/devicetree/bindings/display/ti/ti,tpd12s015.yaml
new file mode 100644
index 000000000000..1927da3bd736
--- /dev/null
+++ b/Documentation/devicetree/bindings/display/ti/ti,tpd12s015.yaml
@@ -0,0 +1,90 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/display/ti/ti,tpd12s015.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: TI TPD12S015 HDMI level shifter and ESD protection chip
+
+maintainers:
+ - Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
+
+description: |
+ The TPD12S015 is an HDMI companion chip that combines a level shifter and
+ ESD protection circuitry. It sits between an HDMI transmitter and the HDMI
+ connector, and provides control over the level shifter enable and the
+ hot-plug detect signals.
+
+properties:
+ compatible:
+ oneOf:
+ - const: ti,tpd12s015
+ - items:
+ - const: ti,tpd12s016
+ - const: ti,tpd12s015
+
+ gpios:
+ description:
+ The CT CP HPD, LS OE and HPD GPIOs, in that order. The first controls
+ the level shifter, the second enables the level shifter outputs and
+ the third reads the hot-plug detect line.
+ maxItems: 3
+
+ ports:
+ $ref: /schemas/graph.yaml#/properties/ports
+
+ properties:
+ port@0:
+ $ref: /schemas/graph.yaml#/$defs/port-base
+ unevaluatedProperties: false
+ description: HDMI input from the transmitter.
+
+ port@1:
+ $ref: /schemas/graph.yaml#/$defs/port-base
+ unevaluatedProperties: false
+ description: HDMI output to the connector.
+
+ required:
+ - port@0
+ - port@1
+
+required:
+ - compatible
+ - ports
+
+additionalProperties: false
+
+examples:
+ - |
+ #include <dt-bindings/gpio/gpio.h>
+
+ encoder1 {
+ compatible = "ti,tpd12s015";
+
+ gpios = <&gpio2 28 GPIO_ACTIVE_HIGH>, /* 60, CT CP HPD */
+ <&gpio2 9 GPIO_ACTIVE_HIGH>, /* 41, LS OE */
+ <&gpio2 31 GPIO_ACTIVE_HIGH>; /* 63, HPD */
+
+ ports {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ port@0 {
+ reg = <0>;
+
+ tpd12s015_in: endpoint {
+ remote-endpoint = <&hdmi_out>;
+ };
+ };
+
+ port@1 {
+ reg = <1>;
+
+ tpd12s015_out: endpoint {
+ remote-endpoint = <&hdmi_connector_in>;
+ };
+ };
+ };
+ };
+
+...
--
2.43.0
^ permalink raw reply related [flat|nested] 17+ messages in thread
* [PATCH 1/3] dt-bindings: display: ti,tpd12s015: Convert to DT schema
2026-10-09 10:54 Quchaosheng
@ 2026-10-09 10:54 ` Quchaosheng
2026-10-09 11:05 ` sashiko-bot
0 siblings, 1 reply; 17+ messages in thread
From: Quchaosheng @ 2026-10-09 10:54 UTC (permalink / raw)
To: Laurent Pinchart, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Tomi Valkeinen
Cc: dri-devel, devicetree, linux-omap, linux-kernel, Chaosheng Qu
From: Chaosheng Qu <quchaosheng000406@163.com>
Convert the TPD12S015 HDMI level shifter binding to DT schema.
The TI TPD12S015 is an HDMI companion chip that combines a level shifter
and ESD protection circuitry. Document the two ports it exposes between
the HDMI transmitter and the connector.
The tpd12s016 is software compatible with the tpd12s015 and is listed as
a fallback compatible by am57xx-idk-common.dtsi, so accept it as a
fallback of "ti,tpd12s015". The driver matches on "ti,tpd12s015" only, so
a board using the tpd12s016 must list both compatibles.
Assisted-by: LLM
Signed-off-by: Chaosheng Qu <quchaosheng000406@163.com>
---
.../bindings/display/ti/ti,tpd12s015.txt | 44 ---------
.../bindings/display/ti/ti,tpd12s015.yaml | 90 +++++++++++++++++++
2 files changed, 90 insertions(+), 44 deletions(-)
delete mode 100644 Documentation/devicetree/bindings/display/ti/ti,tpd12s015.txt
create mode 100644 Documentation/devicetree/bindings/display/ti/ti,tpd12s015.yaml
diff --git a/Documentation/devicetree/bindings/display/ti/ti,tpd12s015.txt b/Documentation/devicetree/bindings/display/ti/ti,tpd12s015.txt
deleted file mode 100644
index 26e6d32e3f20..000000000000
--- a/Documentation/devicetree/bindings/display/ti/ti,tpd12s015.txt
+++ /dev/null
@@ -1,44 +0,0 @@
-TPD12S015 HDMI level shifter and ESD protection chip
-====================================================
-
-Required properties:
-- compatible: "ti,tpd12s015"
-
-Optional properties:
-- gpios: CT CP HPD, LS OE and HPD gpios
-
-Required nodes:
-- Video port 0 for HDMI input
-- Video port 1 for HDMI output
-
-Example
--------
-
-tpd12s015: encoder@1 {
- compatible = "ti,tpd12s015";
-
- gpios = <&gpio2 28 GPIO_ACTIVE_HIGH>, /* 60, CT CP HPD */
- <&gpio2 9 GPIO_ACTIVE_HIGH>, /* 41, LS OE */
- <&gpio2 31 GPIO_ACTIVE_HIGH>; /* 63, HPD */
-
- ports {
- #address-cells = <1>;
- #size-cells = <0>;
-
- port@0 {
- reg = <0>;
-
- tpd12s015_in: endpoint@0 {
- remote-endpoint = <&hdmi_out>;
- };
- };
-
- port@1 {
- reg = <1>;
-
- tpd12s015_out: endpoint@0 {
- remote-endpoint = <&hdmi_connector_in>;
- };
- };
- };
-};
diff --git a/Documentation/devicetree/bindings/display/ti/ti,tpd12s015.yaml b/Documentation/devicetree/bindings/display/ti/ti,tpd12s015.yaml
new file mode 100644
index 000000000000..1927da3bd736
--- /dev/null
+++ b/Documentation/devicetree/bindings/display/ti/ti,tpd12s015.yaml
@@ -0,0 +1,90 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/display/ti/ti,tpd12s015.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: TI TPD12S015 HDMI level shifter and ESD protection chip
+
+maintainers:
+ - Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
+
+description: |
+ The TPD12S015 is an HDMI companion chip that combines a level shifter and
+ ESD protection circuitry. It sits between an HDMI transmitter and the HDMI
+ connector, and provides control over the level shifter enable and the
+ hot-plug detect signals.
+
+properties:
+ compatible:
+ oneOf:
+ - const: ti,tpd12s015
+ - items:
+ - const: ti,tpd12s016
+ - const: ti,tpd12s015
+
+ gpios:
+ description:
+ The CT CP HPD, LS OE and HPD GPIOs, in that order. The first controls
+ the level shifter, the second enables the level shifter outputs and
+ the third reads the hot-plug detect line.
+ maxItems: 3
+
+ ports:
+ $ref: /schemas/graph.yaml#/properties/ports
+
+ properties:
+ port@0:
+ $ref: /schemas/graph.yaml#/$defs/port-base
+ unevaluatedProperties: false
+ description: HDMI input from the transmitter.
+
+ port@1:
+ $ref: /schemas/graph.yaml#/$defs/port-base
+ unevaluatedProperties: false
+ description: HDMI output to the connector.
+
+ required:
+ - port@0
+ - port@1
+
+required:
+ - compatible
+ - ports
+
+additionalProperties: false
+
+examples:
+ - |
+ #include <dt-bindings/gpio/gpio.h>
+
+ encoder1 {
+ compatible = "ti,tpd12s015";
+
+ gpios = <&gpio2 28 GPIO_ACTIVE_HIGH>, /* 60, CT CP HPD */
+ <&gpio2 9 GPIO_ACTIVE_HIGH>, /* 41, LS OE */
+ <&gpio2 31 GPIO_ACTIVE_HIGH>; /* 63, HPD */
+
+ ports {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ port@0 {
+ reg = <0>;
+
+ tpd12s015_in: endpoint {
+ remote-endpoint = <&hdmi_out>;
+ };
+ };
+
+ port@1 {
+ reg = <1>;
+
+ tpd12s015_out: endpoint {
+ remote-endpoint = <&hdmi_connector_in>;
+ };
+ };
+ };
+ };
+
+...
--
2.43.0
^ permalink raw reply related [flat|nested] 17+ messages in thread
* [PATCH 0/3] dt-bindings: display: ti,tpd12s015: convert, and fix what the conversion exposed
@ 2026-10-09 10:55 Quchaosheng
2026-10-09 10:55 ` [PATCH 1/3] dt-bindings: display: ti,tpd12s015: Convert to DT schema Quchaosheng
` (3 more replies)
0 siblings, 4 replies; 17+ messages in thread
From: Quchaosheng @ 2026-10-09 10:55 UTC (permalink / raw)
To: Laurent Pinchart, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Tomi Valkeinen
Cc: dri-devel, devicetree, linux-omap, linux-kernel, Chaosheng Qu
From: Chaosheng Qu <quchaosheng000406@163.com>
v4. The three things Laurent pointed out on the v3 thread are addressed,
and the conversion is separated from the two devicetree fixes it turned
up.
[1/3] converts ti,tpd12s015.txt to DT schema. gpios is back to three
entries: the two drivers obtain exactly three through
devm_gpiod_get_index(), indices 0 to 2, and neither file mentions
scl, sda or ddc. v3 had raised maxItems to five only to keep
dtbs_check quiet for omap5-igep0050.dts, which wrote a defect of
the DT source into the binding. That was backwards.
[2/3] drops the two extra entries from omap5-igep0050.dts, which is
where the defect belongs. Nothing reads them: there is no
pinctrl group for those lines and no other consumer in the tree.
[3/3] drops the unit-address from the tpd12s015 endpoints on
am5729-beagleboneai and am57xx-idk. Those nodes carry a
unit-address without a matching reg property.
Each of the two devicetree patches removes a warning that the bare
conversion leaves behind, so the three belong together:
am5729-beagleboneai: 241 -> 237 dtbs_check warnings
omap5-igep0050: 188 -> 186 dtbs_check warnings
with no new warnings in either file.
Assisted-by: LLM is on all three, which the v1 posting and v3 were
missing.
One thing I raised on the thread and should repeat here: Eduard Bostina
posted the same conversion on 2026-07-30,
<20260730092245.52034-1-egbostina@gmail.com>. If his series is the one to
carry this, say so and I will drop mine.
Chaosheng Qu (3):
dt-bindings: display: ti,tpd12s015: Convert to DT schema
ARM: dts: ti/omap: drop the two unused gpios from the igep0050 hdmi
encoder
ARM: dts: ti/omap: drop unit-address from tpd12s015 endpoints
.../bindings/display/ti/ti,tpd12s015.txt | 44 ------
.../bindings/display/ti/ti,tpd12s015.yaml | 90 ++++++++++++
arch/arm/boot/dts/ti/omap/am5729-beagleboneai.dts | 4 +-
arch/arm/boot/dts/ti/omap/am57xx-idk-common.dtsi | 4 +-
arch/arm/boot/dts/ti/omap/omap5-igep0050.dts | 4 +-
5 files changed, 94 insertions(+), 52 deletions(-)
--
2.43.0
^ permalink raw reply [flat|nested] 17+ messages in thread
* [PATCH 1/3] dt-bindings: display: ti,tpd12s015: Convert to DT schema
2026-10-09 10:55 [PATCH 0/3] dt-bindings: display: ti,tpd12s015: convert, and fix what the conversion exposed Quchaosheng
@ 2026-10-09 10:55 ` Quchaosheng
2026-10-09 11:14 ` sashiko-bot
` (2 more replies)
2026-10-09 10:56 ` [PATCH 2/3] ARM: dts: ti/omap: drop the two unused gpios from the igep0050 hdmi encoder Quchaosheng
` (2 subsequent siblings)
3 siblings, 3 replies; 17+ messages in thread
From: Quchaosheng @ 2026-10-09 10:55 UTC (permalink / raw)
To: Laurent Pinchart, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Tomi Valkeinen
Cc: dri-devel, devicetree, linux-omap, linux-kernel, Chaosheng Qu
From: Chaosheng Qu <quchaosheng000406@163.com>
Convert the TPD12S015 HDMI level shifter binding to DT schema.
The TI TPD12S015 is an HDMI companion chip that combines a level shifter
and ESD protection circuitry. Document the two ports it exposes between
the HDMI transmitter and the connector.
The tpd12s016 is software compatible with the tpd12s015 and is listed as
a fallback compatible by am57xx-idk-common.dtsi, so accept it as a
fallback of "ti,tpd12s015". The driver matches on "ti,tpd12s015" only, so
a board using the tpd12s016 must list both compatibles.
Assisted-by: LLM
Signed-off-by: Chaosheng Qu <quchaosheng000406@163.com>
---
.../bindings/display/ti/ti,tpd12s015.txt | 44 ---------
.../bindings/display/ti/ti,tpd12s015.yaml | 90 +++++++++++++++++++
2 files changed, 90 insertions(+), 44 deletions(-)
delete mode 100644 Documentation/devicetree/bindings/display/ti/ti,tpd12s015.txt
create mode 100644 Documentation/devicetree/bindings/display/ti/ti,tpd12s015.yaml
diff --git a/Documentation/devicetree/bindings/display/ti/ti,tpd12s015.txt b/Documentation/devicetree/bindings/display/ti/ti,tpd12s015.txt
deleted file mode 100644
index 26e6d32e3f20..000000000000
--- a/Documentation/devicetree/bindings/display/ti/ti,tpd12s015.txt
+++ /dev/null
@@ -1,44 +0,0 @@
-TPD12S015 HDMI level shifter and ESD protection chip
-====================================================
-
-Required properties:
-- compatible: "ti,tpd12s015"
-
-Optional properties:
-- gpios: CT CP HPD, LS OE and HPD gpios
-
-Required nodes:
-- Video port 0 for HDMI input
-- Video port 1 for HDMI output
-
-Example
--------
-
-tpd12s015: encoder@1 {
- compatible = "ti,tpd12s015";
-
- gpios = <&gpio2 28 GPIO_ACTIVE_HIGH>, /* 60, CT CP HPD */
- <&gpio2 9 GPIO_ACTIVE_HIGH>, /* 41, LS OE */
- <&gpio2 31 GPIO_ACTIVE_HIGH>; /* 63, HPD */
-
- ports {
- #address-cells = <1>;
- #size-cells = <0>;
-
- port@0 {
- reg = <0>;
-
- tpd12s015_in: endpoint@0 {
- remote-endpoint = <&hdmi_out>;
- };
- };
-
- port@1 {
- reg = <1>;
-
- tpd12s015_out: endpoint@0 {
- remote-endpoint = <&hdmi_connector_in>;
- };
- };
- };
-};
diff --git a/Documentation/devicetree/bindings/display/ti/ti,tpd12s015.yaml b/Documentation/devicetree/bindings/display/ti/ti,tpd12s015.yaml
new file mode 100644
index 000000000000..1927da3bd736
--- /dev/null
+++ b/Documentation/devicetree/bindings/display/ti/ti,tpd12s015.yaml
@@ -0,0 +1,90 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/display/ti/ti,tpd12s015.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: TI TPD12S015 HDMI level shifter and ESD protection chip
+
+maintainers:
+ - Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
+
+description: |
+ The TPD12S015 is an HDMI companion chip that combines a level shifter and
+ ESD protection circuitry. It sits between an HDMI transmitter and the HDMI
+ connector, and provides control over the level shifter enable and the
+ hot-plug detect signals.
+
+properties:
+ compatible:
+ oneOf:
+ - const: ti,tpd12s015
+ - items:
+ - const: ti,tpd12s016
+ - const: ti,tpd12s015
+
+ gpios:
+ description:
+ The CT CP HPD, LS OE and HPD GPIOs, in that order. The first controls
+ the level shifter, the second enables the level shifter outputs and
+ the third reads the hot-plug detect line.
+ maxItems: 3
+
+ ports:
+ $ref: /schemas/graph.yaml#/properties/ports
+
+ properties:
+ port@0:
+ $ref: /schemas/graph.yaml#/$defs/port-base
+ unevaluatedProperties: false
+ description: HDMI input from the transmitter.
+
+ port@1:
+ $ref: /schemas/graph.yaml#/$defs/port-base
+ unevaluatedProperties: false
+ description: HDMI output to the connector.
+
+ required:
+ - port@0
+ - port@1
+
+required:
+ - compatible
+ - ports
+
+additionalProperties: false
+
+examples:
+ - |
+ #include <dt-bindings/gpio/gpio.h>
+
+ encoder1 {
+ compatible = "ti,tpd12s015";
+
+ gpios = <&gpio2 28 GPIO_ACTIVE_HIGH>, /* 60, CT CP HPD */
+ <&gpio2 9 GPIO_ACTIVE_HIGH>, /* 41, LS OE */
+ <&gpio2 31 GPIO_ACTIVE_HIGH>; /* 63, HPD */
+
+ ports {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ port@0 {
+ reg = <0>;
+
+ tpd12s015_in: endpoint {
+ remote-endpoint = <&hdmi_out>;
+ };
+ };
+
+ port@1 {
+ reg = <1>;
+
+ tpd12s015_out: endpoint {
+ remote-endpoint = <&hdmi_connector_in>;
+ };
+ };
+ };
+ };
+
+...
--
2.43.0
^ permalink raw reply related [flat|nested] 17+ messages in thread
* [PATCH 2/3] ARM: dts: ti/omap: drop the two unused gpios from the igep0050 hdmi encoder
2026-10-09 10:55 [PATCH 0/3] dt-bindings: display: ti,tpd12s015: convert, and fix what the conversion exposed Quchaosheng
2026-10-09 10:55 ` [PATCH 1/3] dt-bindings: display: ti,tpd12s015: Convert to DT schema Quchaosheng
@ 2026-10-09 10:56 ` Quchaosheng
2026-10-09 10:56 ` [PATCH 3/3] ARM: dts: ti/omap: drop unit-address from tpd12s015 endpoints Quchaosheng
2026-10-09 11:03 ` [PATCH 0/3] dt-bindings: display: ti,tpd12s015: convert, and fix what the conversion exposed Laurent Pinchart
3 siblings, 0 replies; 17+ messages in thread
From: Quchaosheng @ 2026-10-09 10:56 UTC (permalink / raw)
To: Laurent Pinchart, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Tomi Valkeinen
Cc: dri-devel, devicetree, linux-omap, linux-kernel, Chaosheng Qu
From: Chaosheng Qu <quchaosheng000406@163.com>
omap5-igep0050.dts lists five GPIOs for the tpd12s015 encoder: the three
the driver asks for, plus two more that the comment names "SCL" and
"SDA".
Neither driver reads them. ti-tpd12s015.c and encoder-tpd12s015.c both
obtain exactly three GPIOs through devm_gpiod_get_index(), indices 0 to
2, and neither file mentions scl, sda or ddc anywhere. The text binding
that the schema replaces said the same thing: "gpios: CT CP HPD, LS OE
and HPD gpios". There is no pinctrl group for the two extra lines and
nothing else in the tree consumes them.
Drop them so the node describes the three signals the hardware is wired
to through this binding.
Assisted-by: LLM
Signed-off-by: Chaosheng Qu <quchaosheng000406@163.com>
---
arch/arm/boot/dts/ti/omap/omap5-igep0050.dts | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/arch/arm/boot/dts/ti/omap/omap5-igep0050.dts b/arch/arm/boot/dts/ti/omap/omap5-igep0050.dts
index 0368e32f67e7..8e8325936cda 100644
--- a/arch/arm/boot/dts/ti/omap/omap5-igep0050.dts
+++ b/arch/arm/boot/dts/ti/omap/omap5-igep0050.dts
@@ -102,9 +102,7 @@ OMAP5_IOPAD(0x086, PIN_INPUT | MUX_MODE6) /* gpio4_118 */
&tpd12s015 {
gpios = <&tca6416 11 0>, /* TCA6416 P01, CT_CP_HDP */
<&tca6416 12 0>, /* TCA6416 P00, LS_OE*/
- <&gpio7 1 0>, /* 193, HPD */
- <&gpio7 2 0>, /* 194, SCL */
- <&gpio7 3 0>; /* 195, SDA */
+ <&gpio7 1 0>; /* 193, HPD */
};
&twl6040 {
--
2.43.0
^ permalink raw reply related [flat|nested] 17+ messages in thread
* [PATCH 3/3] ARM: dts: ti/omap: drop unit-address from tpd12s015 endpoints
2026-10-09 10:55 [PATCH 0/3] dt-bindings: display: ti,tpd12s015: convert, and fix what the conversion exposed Quchaosheng
2026-10-09 10:55 ` [PATCH 1/3] dt-bindings: display: ti,tpd12s015: Convert to DT schema Quchaosheng
2026-10-09 10:56 ` [PATCH 2/3] ARM: dts: ti/omap: drop the two unused gpios from the igep0050 hdmi encoder Quchaosheng
@ 2026-10-09 10:56 ` Quchaosheng
2026-10-09 11:03 ` [PATCH 0/3] dt-bindings: display: ti,tpd12s015: convert, and fix what the conversion exposed Laurent Pinchart
3 siblings, 0 replies; 17+ messages in thread
From: Quchaosheng @ 2026-10-09 10:56 UTC (permalink / raw)
To: Laurent Pinchart, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Tomi Valkeinen
Cc: dri-devel, devicetree, linux-omap, linux-kernel, Chaosheng Qu
From: Chaosheng Qu <quchaosheng000406@163.com>
The endpoint nodes of the tpd12s015 encoder on the am5729-beagleboneai
and the am57xx-idk carry a unit-address without a matching reg property,
which the device tree specification does not allow.
Drop the unit-address so the nodes are named "endpoint".
No functional change.
Assisted-by: LLM
Signed-off-by: Chaosheng Qu <quchaosheng000406@163.com>
---
arch/arm/boot/dts/ti/omap/am5729-beagleboneai.dts | 4 ++--
arch/arm/boot/dts/ti/omap/am57xx-idk-common.dtsi | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/arch/arm/boot/dts/ti/omap/am5729-beagleboneai.dts b/arch/arm/boot/dts/ti/omap/am5729-beagleboneai.dts
index 76bfb364777e..f40017a0e414 100644
--- a/arch/arm/boot/dts/ti/omap/am5729-beagleboneai.dts
+++ b/arch/arm/boot/dts/ti/omap/am5729-beagleboneai.dts
@@ -168,7 +168,7 @@ ports {
port@0 {
reg = <0x0>;
- hdmi_encoder_in: endpoint@0 {
+ hdmi_encoder_in: endpoint {
remote-endpoint = <&hdmi_out>;
};
};
@@ -176,7 +176,7 @@ hdmi_encoder_in: endpoint@0 {
port@1 {
reg = <0x1>;
- hdmi_encoder_out: endpoint@0 {
+ hdmi_encoder_out: endpoint {
remote-endpoint = <&hdmi_connector_in>;
};
};
diff --git a/arch/arm/boot/dts/ti/omap/am57xx-idk-common.dtsi b/arch/arm/boot/dts/ti/omap/am57xx-idk-common.dtsi
index 5eccff3bb4b6..4e8a5820b05c 100644
--- a/arch/arm/boot/dts/ti/omap/am57xx-idk-common.dtsi
+++ b/arch/arm/boot/dts/ti/omap/am57xx-idk-common.dtsi
@@ -135,7 +135,7 @@ ports {
port@0 {
reg = <0>;
- tpd12s015_in: endpoint@0 {
+ tpd12s015_in: endpoint {
remote-endpoint = <&hdmi_out>;
};
};
@@ -143,7 +143,7 @@ tpd12s015_in: endpoint@0 {
port@1 {
reg = <1>;
- tpd12s015_out: endpoint@0 {
+ tpd12s015_out: endpoint {
remote-endpoint = <&hdmi_connector_in>;
};
};
--
2.43.0
^ permalink raw reply related [flat|nested] 17+ messages in thread
* Re: [PATCH 0/3] dt-bindings: display: ti,tpd12s015: convert, and fix what the conversion exposed
2026-10-09 10:55 [PATCH 0/3] dt-bindings: display: ti,tpd12s015: convert, and fix what the conversion exposed Quchaosheng
` (2 preceding siblings ...)
2026-10-09 10:56 ` [PATCH 3/3] ARM: dts: ti/omap: drop unit-address from tpd12s015 endpoints Quchaosheng
@ 2026-10-09 11:03 ` Laurent Pinchart
3 siblings, 0 replies; 17+ messages in thread
From: Laurent Pinchart @ 2026-10-09 11:03 UTC (permalink / raw)
To: Quchaosheng
Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Tomi Valkeinen,
dri-devel, devicetree, linux-omap, linux-kernel
This is the fourth version of this series that you send within 10
minutes, without any version number in the subject line. Please stop
flooding reviewers.
On Fri, Oct 09, 2026 at 06:55:58PM +0800, Quchaosheng wrote:
> From: Chaosheng Qu <quchaosheng000406@163.com>
>
> v4. The three things Laurent pointed out on the v3 thread are addressed,
> and the conversion is separated from the two devicetree fixes it turned
> up.
>
> [1/3] converts ti,tpd12s015.txt to DT schema. gpios is back to three
> entries: the two drivers obtain exactly three through
> devm_gpiod_get_index(), indices 0 to 2, and neither file mentions
> scl, sda or ddc. v3 had raised maxItems to five only to keep
> dtbs_check quiet for omap5-igep0050.dts, which wrote a defect of
> the DT source into the binding. That was backwards.
>
> [2/3] drops the two extra entries from omap5-igep0050.dts, which is
> where the defect belongs. Nothing reads them: there is no
> pinctrl group for those lines and no other consumer in the tree.
>
> [3/3] drops the unit-address from the tpd12s015 endpoints on
> am5729-beagleboneai and am57xx-idk. Those nodes carry a
> unit-address without a matching reg property.
>
> Each of the two devicetree patches removes a warning that the bare
> conversion leaves behind, so the three belong together:
>
> am5729-beagleboneai: 241 -> 237 dtbs_check warnings
> omap5-igep0050: 188 -> 186 dtbs_check warnings
>
> with no new warnings in either file.
>
> Assisted-by: LLM is on all three, which the v1 posting and v3 were
> missing.
>
> One thing I raised on the thread and should repeat here: Eduard Bostina
> posted the same conversion on 2026-07-30,
> <20260730092245.52034-1-egbostina@gmail.com>. If his series is the one to
> carry this, say so and I will drop mine.
>
> Chaosheng Qu (3):
> dt-bindings: display: ti,tpd12s015: Convert to DT schema
> ARM: dts: ti/omap: drop the two unused gpios from the igep0050 hdmi
> encoder
> ARM: dts: ti/omap: drop unit-address from tpd12s015 endpoints
>
> .../bindings/display/ti/ti,tpd12s015.txt | 44 ------
> .../bindings/display/ti/ti,tpd12s015.yaml | 90 ++++++++++++
> arch/arm/boot/dts/ti/omap/am5729-beagleboneai.dts | 4 +-
> arch/arm/boot/dts/ti/omap/am57xx-idk-common.dtsi | 4 +-
> arch/arm/boot/dts/ti/omap/omap5-igep0050.dts | 4 +-
> 5 files changed, 94 insertions(+), 52 deletions(-)
--
Regards,
Laurent Pinchart
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [PATCH 1/3] dt-bindings: display: ti,tpd12s015: Convert to DT schema
2026-10-09 10:53 ` [PATCH 1/3] dt-bindings: display: ti,tpd12s015: Convert to DT schema Quchaosheng
@ 2026-10-09 11:03 ` sashiko-bot
0 siblings, 0 replies; 17+ messages in thread
From: sashiko-bot @ 2026-10-09 11:03 UTC (permalink / raw)
To: Quchaosheng; +Cc: conor+dt, dri-devel, robh, devicetree
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] dt-bindings: display: ti,tpd12s015: missing minItems: 3 for gpios
--
commit d5e502558b023b930dba87dd54c3fb7121502833
Author: Chaosheng Qu <quchaosheng000406@163.com>
dt-bindings: display: ti,tpd12s015: Convert to DT schema
Convert the TPD12S015 HDMI level shifter binding to DT schema, documenting
the ports and compatible fallbacks.
> diff --git a/Documentation/devicetree/bindings/display/ti/ti,tpd12s015.yaml b/Documentation/devicetree/bindings/display/ti/ti,tpd12s015.yaml
> new file mode 100644
> index 0000000000000..1927da3bd7361
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/display/ti/ti,tpd12s015.yaml
[ ... ]
> + gpios:
> + description:
> + The CT CP HPD, LS OE and HPD GPIOs, in that order. The first controls
> + the level shifter, the second enables the level shifter outputs and
> + the third reads the hot-plug detect line.
> + maxItems: 3
[Severity: Low]
Does this property need a minItems: 3 constraint?
If a device tree developer omits the first two optional GPIOs without using
<0> placeholders, the array will have fewer than 3 elements. This will pass
YAML schema validation.
However, the drivers handling this device (both ti-tpd12s015.c and
encoder-tpd12s015.c) unconditionally request the HPD GPIO at index 2 using
devm_gpiod_get_index(&pdev->dev, NULL, 2, GPIOD_IN).
If the array has fewer than 3 elements, the driver probe will immediately
fail at runtime with -ENOENT. Adding minItems: 3 would ensure the dt-schema
validation catches incomplete arrays earlier.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261009105356.300188-1-quchaosheng000406@163.com?part=1
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [PATCH 1/3] dt-bindings: display: ti,tpd12s015: Convert to DT schema
2026-10-09 10:54 ` [PATCH 1/3] dt-bindings: display: ti,tpd12s015: Convert to DT schema Quchaosheng
@ 2026-10-09 11:05 ` sashiko-bot
0 siblings, 0 replies; 17+ messages in thread
From: sashiko-bot @ 2026-10-09 11:05 UTC (permalink / raw)
To: Quchaosheng; +Cc: robh, dri-devel, conor+dt, devicetree
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] dt-bindings: ti,tpd12s015: missing minItems: 3 constraint for gpios property
--
commit 93e133f1119a3271ab3e48f347188c3580055f0b
Author: Chaosheng Qu <quchaosheng000406@163.com>
dt-bindings: display: ti,tpd12s015: Convert to DT schema
Convert the TPD12S015 HDMI level shifter binding to DT schema. Document the
two ports it exposes between the HDMI transmitter and the connector, and
add the tpd12s016 as a fallback compatible.
> diff --git a/Documentation/devicetree/bindings/display/ti/ti,tpd12s015.yaml b/Documentation/devicetree/bindings/display/ti/ti,tpd12s015.yaml
> new file mode 100644
> index 0000000000000..1927da3bd7361
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/display/ti/ti,tpd12s015.yaml
> @@ -0,0 +1,90 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
[ ... ]
> +properties:
> + compatible:
> + oneOf:
> + - const: ti,tpd12s015
> + - items:
> + - const: ti,tpd12s016
> + - const: ti,tpd12s015
> +
> + gpios:
> + description:
> + The CT CP HPD, LS OE and HPD GPIOs, in that order. The first controls
> + the level shifter, the second enables the level shifter outputs and
> + the third reads the hot-plug detect line.
> + maxItems: 3
[Severity: Low]
Does this gpios property also need a minItems: 3 constraint to prevent
incomplete device trees from passing schema validation?
Since maxItems is 3 and minItems is omitted, the schema compiler defaults
minItems to 1.
The driver ti-tpd12s015.c unconditionally attempts to retrieve the third
pin by its explicit index:
devm_gpiod_get_index(&pdev->dev, NULL, 2, GPIOD_IN)
If a device tree provides 1 or 2 GPIOs, it will pass schema validation but
the driver probe will fail at runtime with -ENOENT.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261009105412.300338-1-quchaosheng000406@163.com?part=1
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [PATCH 1/3] dt-bindings: display: ti,tpd12s015: Convert to DT schema
2026-10-09 10:53 ` [PATCH 1/3] dt-bindings: display: ti,tpd12s015: Convert to DT schema Quchaosheng
@ 2026-10-09 11:05 ` sashiko-bot
0 siblings, 0 replies; 17+ messages in thread
From: sashiko-bot @ 2026-10-09 11:05 UTC (permalink / raw)
To: Quchaosheng; +Cc: conor+dt, dri-devel, devicetree, robh
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Medium] dt-bindings: display: ti,tpd12s015: schema allows missing gpios but drivers require 3 items
--
commit b4ff2205414e2e8ba45b337bf355981c209d7395
Author: Chaosheng Qu <quchaosheng000406@163.com>
dt-bindings: display: ti,tpd12s015: Convert to DT schema
The commit converts the TPD12S015 HDMI level shifter binding from plain
text to DT schema format.
> diff --git a/Documentation/devicetree/bindings/display/ti/ti,tpd12s015.yaml b/Documentation/devicetree/bindings/display/ti/ti,tpd12s015.yaml
> new file mode 100644
> index 0000000000000..1927da3bd7361
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/display/ti/ti,tpd12s015.yaml
[ ... ]
> +properties:
> + compatible:
> + oneOf:
> + - const: ti,tpd12s015
> + - items:
> + - const: ti,tpd12s016
> + - const: ti,tpd12s015
> +
> + gpios:
> + description:
> + The CT CP HPD, LS OE and HPD GPIOs, in that order. The first controls
> + the level shifter, the second enables the level shifter outputs and
> + the third reads the hot-plug detect line.
> + maxItems: 3
[Severity: Medium]
Does the gpios property need a minItems: 3 constraint, or should it be made
a globally required property?
Both the DRM driver (ti-tpd12s015.c) and fbdev driver (encoder-tpd12s015.c)
unconditionally fail probe if the third GPIO is missing:
drivers/gpu/drm/bridge/ti-tpd12s015.c:tpd12s015_probe() {
...
gpio = devm_gpiod_get_index(&pdev->dev, NULL, 2, GPIOD_IN);
if (IS_ERR(gpio))
return PTR_ERR(gpio);
...
}
If a device tree omits gpios or provides fewer than 3 items, it will pass
schema validation but the hardware will fail to probe at runtime.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261009105352.300149-1-quchaosheng000406@163.com?part=1
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [PATCH 1/3] dt-bindings: display: ti,tpd12s015: Convert to DT schema
2026-10-09 10:55 ` [PATCH 1/3] dt-bindings: display: ti,tpd12s015: Convert to DT schema Quchaosheng
@ 2026-10-09 11:14 ` sashiko-bot
2026-10-09 14:25 ` Conor Dooley
2026-10-09 15:38 ` Rob Herring
2 siblings, 0 replies; 17+ messages in thread
From: sashiko-bot @ 2026-10-09 11:14 UTC (permalink / raw)
To: Quchaosheng; +Cc: robh, conor+dt, devicetree, dri-devel
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] dt-bindings: display: ti,tpd12s015: gpios lacks minItems: 3 and is not required
--
commit 0e47bb58ccd4af1df6d3ff49895c7cf9fbc75cb8
Author: Chaosheng Qu <quchaosheng000406@163.com>
dt-bindings: display: ti,tpd12s015: Convert to DT schema
Convert the TPD12S015 HDMI level shifter binding to DT schema.
> diff --git a/Documentation/devicetree/bindings/display/ti/ti,tpd12s015.yaml b/Documentation/devicetree/bindings/display/ti/ti,tpd12s015.yaml
> new file mode 100644
> index 0000000000000..1927da3bd7361
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/display/ti/ti,tpd12s015.yaml
[ ... ]
> +properties:
> + compatible:
> + oneOf:
> + - const: ti,tpd12s015
> + - items:
> + - const: ti,tpd12s016
> + - const: ti,tpd12s015
> +
> + gpios:
> + description:
> + The CT CP HPD, LS OE and HPD GPIOs, in that order. The first controls
> + the level shifter, the second enables the level shifter outputs and
> + the third reads the hot-plug detect line.
> + maxItems: 3
[Severity: Low]
Does this schema accurately reflect the requirements for the GPIOs?
If a device tree node defines fewer than 3 GPIOs or omits the property
entirely, it will pass schema validation since maxItems is set to 3 without
minItems: 3, and gpios is omitted from the required block below.
However, both the DRM and FBDEV drivers unconditionally fetch index 2 (the
HPD GPIO) and fail probe if it is missing:
drivers/gpu/drm/bridge/ti-tpd12s015.c:tpd12s015_probe() {
...
gpio = devm_gpiod_get_index(&pdev->dev, NULL, 2, GPIOD_IN);
if (IS_ERR(gpio))
return PTR_ERR(gpio);
...
}
Should the schema include minItems: 3 under gpios and add gpios to the
required list to ensure device tree configurations that pass validation don't
silently fail during driver probe?
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261009105601.301891-1-quchaosheng000406@163.com?part=1
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [PATCH 1/3] dt-bindings: display: ti,tpd12s015: Convert to DT schema
2026-10-09 10:55 ` [PATCH 1/3] dt-bindings: display: ti,tpd12s015: Convert to DT schema Quchaosheng
2026-10-09 11:14 ` sashiko-bot
@ 2026-10-09 14:25 ` Conor Dooley
2026-10-09 14:44 ` Laurent Pinchart
2026-10-09 15:38 ` Rob Herring
2 siblings, 1 reply; 17+ messages in thread
From: Conor Dooley @ 2026-10-09 14:25 UTC (permalink / raw)
To: Quchaosheng
Cc: Laurent Pinchart, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Tomi Valkeinen, dri-devel, devicetree, linux-omap, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 5671 bytes --]
On Fri, Oct 09, 2026 at 06:55:59PM +0800, Quchaosheng wrote:
> From: Chaosheng Qu <quchaosheng000406@163.com>
>
> Convert the TPD12S015 HDMI level shifter binding to DT schema.
>
> The TI TPD12S015 is an HDMI companion chip that combines a level shifter
> and ESD protection circuitry. Document the two ports it exposes between
> the HDMI transmitter and the connector.
>
> The tpd12s016 is software compatible with the tpd12s015 and is listed as
> a fallback compatible by am57xx-idk-common.dtsi, so accept it as a
> fallback of "ti,tpd12s015". The driver matches on "ti,tpd12s015" only, so
> a board using the tpd12s016 must list both compatibles.
>
> Assisted-by: LLM
> Signed-off-by: Chaosheng Qu <quchaosheng000406@163.com>
No idea if the sashiko reply is valid, because I have no clue if
providing a subset of the gpios is functional. Really this should have
multiple different gpios properties, but this binding is really old and
not worth changing IMO.
Acked-by: Conor Dooley <conor.dooley@microchip.com>
pw-bot: not-applicable
> ---
> .../bindings/display/ti/ti,tpd12s015.txt | 44 ---------
> .../bindings/display/ti/ti,tpd12s015.yaml | 90 +++++++++++++++++++
> 2 files changed, 90 insertions(+), 44 deletions(-)
> delete mode 100644 Documentation/devicetree/bindings/display/ti/ti,tpd12s015.txt
> create mode 100644 Documentation/devicetree/bindings/display/ti/ti,tpd12s015.yaml
>
> diff --git a/Documentation/devicetree/bindings/display/ti/ti,tpd12s015.txt b/Documentation/devicetree/bindings/display/ti/ti,tpd12s015.txt
> deleted file mode 100644
> index 26e6d32e3f20..000000000000
> --- a/Documentation/devicetree/bindings/display/ti/ti,tpd12s015.txt
> +++ /dev/null
> @@ -1,44 +0,0 @@
> -TPD12S015 HDMI level shifter and ESD protection chip
> -====================================================
> -
> -Required properties:
> -- compatible: "ti,tpd12s015"
> -
> -Optional properties:
> -- gpios: CT CP HPD, LS OE and HPD gpios
> -
> -Required nodes:
> -- Video port 0 for HDMI input
> -- Video port 1 for HDMI output
> -
> -Example
> --------
> -
> -tpd12s015: encoder@1 {
> - compatible = "ti,tpd12s015";
> -
> - gpios = <&gpio2 28 GPIO_ACTIVE_HIGH>, /* 60, CT CP HPD */
> - <&gpio2 9 GPIO_ACTIVE_HIGH>, /* 41, LS OE */
> - <&gpio2 31 GPIO_ACTIVE_HIGH>; /* 63, HPD */
> -
> - ports {
> - #address-cells = <1>;
> - #size-cells = <0>;
> -
> - port@0 {
> - reg = <0>;
> -
> - tpd12s015_in: endpoint@0 {
> - remote-endpoint = <&hdmi_out>;
> - };
> - };
> -
> - port@1 {
> - reg = <1>;
> -
> - tpd12s015_out: endpoint@0 {
> - remote-endpoint = <&hdmi_connector_in>;
> - };
> - };
> - };
> -};
> diff --git a/Documentation/devicetree/bindings/display/ti/ti,tpd12s015.yaml b/Documentation/devicetree/bindings/display/ti/ti,tpd12s015.yaml
> new file mode 100644
> index 000000000000..1927da3bd736
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/display/ti/ti,tpd12s015.yaml
> @@ -0,0 +1,90 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/display/ti/ti,tpd12s015.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: TI TPD12S015 HDMI level shifter and ESD protection chip
> +
> +maintainers:
> + - Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
> +
> +description: |
> + The TPD12S015 is an HDMI companion chip that combines a level shifter and
> + ESD protection circuitry. It sits between an HDMI transmitter and the HDMI
> + connector, and provides control over the level shifter enable and the
> + hot-plug detect signals.
> +
> +properties:
> + compatible:
> + oneOf:
> + - const: ti,tpd12s015
> + - items:
> + - const: ti,tpd12s016
> + - const: ti,tpd12s015
> +
> + gpios:
> + description:
> + The CT CP HPD, LS OE and HPD GPIOs, in that order. The first controls
> + the level shifter, the second enables the level shifter outputs and
> + the third reads the hot-plug detect line.
> + maxItems: 3
> +
> + ports:
> + $ref: /schemas/graph.yaml#/properties/ports
> +
> + properties:
> + port@0:
> + $ref: /schemas/graph.yaml#/$defs/port-base
> + unevaluatedProperties: false
> + description: HDMI input from the transmitter.
> +
> + port@1:
> + $ref: /schemas/graph.yaml#/$defs/port-base
> + unevaluatedProperties: false
> + description: HDMI output to the connector.
> +
> + required:
> + - port@0
> + - port@1
> +
> +required:
> + - compatible
> + - ports
> +
> +additionalProperties: false
> +
> +examples:
> + - |
> + #include <dt-bindings/gpio/gpio.h>
> +
> + encoder1 {
> + compatible = "ti,tpd12s015";
> +
> + gpios = <&gpio2 28 GPIO_ACTIVE_HIGH>, /* 60, CT CP HPD */
> + <&gpio2 9 GPIO_ACTIVE_HIGH>, /* 41, LS OE */
> + <&gpio2 31 GPIO_ACTIVE_HIGH>; /* 63, HPD */
> +
> + ports {
> + #address-cells = <1>;
> + #size-cells = <0>;
> +
> + port@0 {
> + reg = <0>;
> +
> + tpd12s015_in: endpoint {
> + remote-endpoint = <&hdmi_out>;
> + };
> + };
> +
> + port@1 {
> + reg = <1>;
> +
> + tpd12s015_out: endpoint {
> + remote-endpoint = <&hdmi_connector_in>;
> + };
> + };
> + };
> + };
> +
> +...
> --
> 2.43.0
>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [PATCH 1/3] dt-bindings: display: ti,tpd12s015: Convert to DT schema
2026-10-09 14:25 ` Conor Dooley
@ 2026-10-09 14:44 ` Laurent Pinchart
2026-10-09 15:42 ` Conor Dooley
0 siblings, 1 reply; 17+ messages in thread
From: Laurent Pinchart @ 2026-10-09 14:44 UTC (permalink / raw)
To: Conor Dooley
Cc: Quchaosheng, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Tomi Valkeinen, dri-devel, devicetree, linux-omap, linux-kernel
On Fri, Oct 09, 2026 at 03:25:49PM +0100, Conor Dooley wrote:
> On Fri, Oct 09, 2026 at 06:55:59PM +0800, Quchaosheng wrote:
> > From: Chaosheng Qu <quchaosheng000406@163.com>
> >
> > Convert the TPD12S015 HDMI level shifter binding to DT schema.
> >
> > The TI TPD12S015 is an HDMI companion chip that combines a level shifter
> > and ESD protection circuitry. Document the two ports it exposes between
> > the HDMI transmitter and the connector.
> >
> > The tpd12s016 is software compatible with the tpd12s015 and is listed as
> > a fallback compatible by am57xx-idk-common.dtsi, so accept it as a
> > fallback of "ti,tpd12s015". The driver matches on "ti,tpd12s015" only, so
> > a board using the tpd12s016 must list both compatibles.
> >
> > Assisted-by: LLM
> > Signed-off-by: Chaosheng Qu <quchaosheng000406@163.com>
>
> No idea if the sashiko reply is valid, because I have no clue if
> providing a subset of the gpios is functional. Really this should have
> multiple different gpios properties,
Definitely.
> but this binding is really old and
> not worth changing IMO.
> Acked-by: Conor Dooley <conor.dooley@microchip.com>
> pw-bot: not-applicable
I'm getting annoyed be the LLM-assisted individual conversions. Can we
start requiring people who convert text bindings to YAML to at least
handle whole groups in one go ? If they're going to do a bad job, I'd
rather have to review it once only.
> > ---
> > .../bindings/display/ti/ti,tpd12s015.txt | 44 ---------
> > .../bindings/display/ti/ti,tpd12s015.yaml | 90 +++++++++++++++++++
> > 2 files changed, 90 insertions(+), 44 deletions(-)
> > delete mode 100644 Documentation/devicetree/bindings/display/ti/ti,tpd12s015.txt
> > create mode 100644 Documentation/devicetree/bindings/display/ti/ti,tpd12s015.yaml
> >
> > diff --git a/Documentation/devicetree/bindings/display/ti/ti,tpd12s015.txt b/Documentation/devicetree/bindings/display/ti/ti,tpd12s015.txt
> > deleted file mode 100644
> > index 26e6d32e3f20..000000000000
> > --- a/Documentation/devicetree/bindings/display/ti/ti,tpd12s015.txt
> > +++ /dev/null
> > @@ -1,44 +0,0 @@
> > -TPD12S015 HDMI level shifter and ESD protection chip
> > -====================================================
> > -
> > -Required properties:
> > -- compatible: "ti,tpd12s015"
> > -
> > -Optional properties:
> > -- gpios: CT CP HPD, LS OE and HPD gpios
> > -
> > -Required nodes:
> > -- Video port 0 for HDMI input
> > -- Video port 1 for HDMI output
> > -
> > -Example
> > --------
> > -
> > -tpd12s015: encoder@1 {
> > - compatible = "ti,tpd12s015";
> > -
> > - gpios = <&gpio2 28 GPIO_ACTIVE_HIGH>, /* 60, CT CP HPD */
> > - <&gpio2 9 GPIO_ACTIVE_HIGH>, /* 41, LS OE */
> > - <&gpio2 31 GPIO_ACTIVE_HIGH>; /* 63, HPD */
> > -
> > - ports {
> > - #address-cells = <1>;
> > - #size-cells = <0>;
> > -
> > - port@0 {
> > - reg = <0>;
> > -
> > - tpd12s015_in: endpoint@0 {
> > - remote-endpoint = <&hdmi_out>;
> > - };
> > - };
> > -
> > - port@1 {
> > - reg = <1>;
> > -
> > - tpd12s015_out: endpoint@0 {
> > - remote-endpoint = <&hdmi_connector_in>;
> > - };
> > - };
> > - };
> > -};
> > diff --git a/Documentation/devicetree/bindings/display/ti/ti,tpd12s015.yaml b/Documentation/devicetree/bindings/display/ti/ti,tpd12s015.yaml
> > new file mode 100644
> > index 000000000000..1927da3bd736
> > --- /dev/null
> > +++ b/Documentation/devicetree/bindings/display/ti/ti,tpd12s015.yaml
> > @@ -0,0 +1,90 @@
> > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> > +%YAML 1.2
> > +---
> > +$id: http://devicetree.org/schemas/display/ti/ti,tpd12s015.yaml#
> > +$schema: http://devicetree.org/meta-schemas/core.yaml#
> > +
> > +title: TI TPD12S015 HDMI level shifter and ESD protection chip
> > +
> > +maintainers:
> > + - Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
> > +
> > +description: |
> > + The TPD12S015 is an HDMI companion chip that combines a level shifter and
> > + ESD protection circuitry. It sits between an HDMI transmitter and the HDMI
> > + connector, and provides control over the level shifter enable and the
> > + hot-plug detect signals.
> > +
> > +properties:
> > + compatible:
> > + oneOf:
> > + - const: ti,tpd12s015
> > + - items:
> > + - const: ti,tpd12s016
> > + - const: ti,tpd12s015
> > +
> > + gpios:
> > + description:
> > + The CT CP HPD, LS OE and HPD GPIOs, in that order. The first controls
> > + the level shifter, the second enables the level shifter outputs and
> > + the third reads the hot-plug detect line.
> > + maxItems: 3
> > +
> > + ports:
> > + $ref: /schemas/graph.yaml#/properties/ports
> > +
> > + properties:
> > + port@0:
> > + $ref: /schemas/graph.yaml#/$defs/port-base
> > + unevaluatedProperties: false
> > + description: HDMI input from the transmitter.
> > +
> > + port@1:
> > + $ref: /schemas/graph.yaml#/$defs/port-base
> > + unevaluatedProperties: false
> > + description: HDMI output to the connector.
> > +
> > + required:
> > + - port@0
> > + - port@1
> > +
> > +required:
> > + - compatible
> > + - ports
> > +
> > +additionalProperties: false
> > +
> > +examples:
> > + - |
> > + #include <dt-bindings/gpio/gpio.h>
> > +
> > + encoder1 {
> > + compatible = "ti,tpd12s015";
> > +
> > + gpios = <&gpio2 28 GPIO_ACTIVE_HIGH>, /* 60, CT CP HPD */
> > + <&gpio2 9 GPIO_ACTIVE_HIGH>, /* 41, LS OE */
> > + <&gpio2 31 GPIO_ACTIVE_HIGH>; /* 63, HPD */
> > +
> > + ports {
> > + #address-cells = <1>;
> > + #size-cells = <0>;
> > +
> > + port@0 {
> > + reg = <0>;
> > +
> > + tpd12s015_in: endpoint {
> > + remote-endpoint = <&hdmi_out>;
> > + };
> > + };
> > +
> > + port@1 {
> > + reg = <1>;
> > +
> > + tpd12s015_out: endpoint {
> > + remote-endpoint = <&hdmi_connector_in>;
> > + };
> > + };
> > + };
> > + };
> > +
> > +...
--
Regards,
Laurent Pinchart
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [PATCH 1/3] dt-bindings: display: ti,tpd12s015: Convert to DT schema
2026-10-09 10:55 ` [PATCH 1/3] dt-bindings: display: ti,tpd12s015: Convert to DT schema Quchaosheng
2026-10-09 11:14 ` sashiko-bot
2026-10-09 14:25 ` Conor Dooley
@ 2026-10-09 15:38 ` Rob Herring
2 siblings, 0 replies; 17+ messages in thread
From: Rob Herring @ 2026-10-09 15:38 UTC (permalink / raw)
To: Quchaosheng
Cc: Laurent Pinchart, Krzysztof Kozlowski, Conor Dooley,
Tomi Valkeinen, dri-devel, devicetree, linux-omap, linux-kernel
On Fri, Oct 09, 2026 at 06:55:59PM +0800, Quchaosheng wrote:
> From: Chaosheng Qu <quchaosheng000406@163.com>
>
> Convert the TPD12S015 HDMI level shifter binding to DT schema.
>
> The TI TPD12S015 is an HDMI companion chip that combines a level shifter
> and ESD protection circuitry. Document the two ports it exposes between
> the HDMI transmitter and the connector.
>
> The tpd12s016 is software compatible with the tpd12s015 and is listed as
> a fallback compatible by am57xx-idk-common.dtsi, so accept it as a
> fallback of "ti,tpd12s015". The driver matches on "ti,tpd12s015" only, so
> a board using the tpd12s016 must list both compatibles.
>
> Assisted-by: LLM
> Signed-off-by: Chaosheng Qu <quchaosheng000406@163.com>
> ---
> .../bindings/display/ti/ti,tpd12s015.txt | 44 ---------
> .../bindings/display/ti/ti,tpd12s015.yaml | 90 +++++++++++++++++++
> 2 files changed, 90 insertions(+), 44 deletions(-)
> delete mode 100644 Documentation/devicetree/bindings/display/ti/ti,tpd12s015.txt
> create mode 100644 Documentation/devicetree/bindings/display/ti/ti,tpd12s015.yaml
>
> diff --git a/Documentation/devicetree/bindings/display/ti/ti,tpd12s015.txt b/Documentation/devicetree/bindings/display/ti/ti,tpd12s015.txt
> deleted file mode 100644
> index 26e6d32e3f20..000000000000
> --- a/Documentation/devicetree/bindings/display/ti/ti,tpd12s015.txt
> +++ /dev/null
> @@ -1,44 +0,0 @@
> -TPD12S015 HDMI level shifter and ESD protection chip
> -====================================================
> -
> -Required properties:
> -- compatible: "ti,tpd12s015"
> -
> -Optional properties:
> -- gpios: CT CP HPD, LS OE and HPD gpios
> -
> -Required nodes:
> -- Video port 0 for HDMI input
> -- Video port 1 for HDMI output
> -
> -Example
> --------
> -
> -tpd12s015: encoder@1 {
> - compatible = "ti,tpd12s015";
> -
> - gpios = <&gpio2 28 GPIO_ACTIVE_HIGH>, /* 60, CT CP HPD */
> - <&gpio2 9 GPIO_ACTIVE_HIGH>, /* 41, LS OE */
> - <&gpio2 31 GPIO_ACTIVE_HIGH>; /* 63, HPD */
> -
> - ports {
> - #address-cells = <1>;
> - #size-cells = <0>;
> -
> - port@0 {
> - reg = <0>;
> -
> - tpd12s015_in: endpoint@0 {
> - remote-endpoint = <&hdmi_out>;
> - };
> - };
> -
> - port@1 {
> - reg = <1>;
> -
> - tpd12s015_out: endpoint@0 {
> - remote-endpoint = <&hdmi_connector_in>;
> - };
> - };
> - };
> -};
> diff --git a/Documentation/devicetree/bindings/display/ti/ti,tpd12s015.yaml b/Documentation/devicetree/bindings/display/ti/ti,tpd12s015.yaml
> new file mode 100644
> index 000000000000..1927da3bd736
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/display/ti/ti,tpd12s015.yaml
> @@ -0,0 +1,90 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/display/ti/ti,tpd12s015.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: TI TPD12S015 HDMI level shifter and ESD protection chip
> +
> +maintainers:
> + - Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
> +
> +description: |
Don't need '|'.
> + The TPD12S015 is an HDMI companion chip that combines a level shifter and
> + ESD protection circuitry. It sits between an HDMI transmitter and the HDMI
> + connector, and provides control over the level shifter enable and the
> + hot-plug detect signals.
> +
> +properties:
> + compatible:
> + oneOf:
> + - const: ti,tpd12s015
> + - items:
> + - const: ti,tpd12s016
> + - const: ti,tpd12s015
> +
> + gpios:
> + description:
> + The CT CP HPD, LS OE and HPD GPIOs, in that order. The first controls
> + the level shifter, the second enables the level shifter outputs and
> + the third reads the hot-plug detect line.
> + maxItems: 3
Use this form instead:
items:
- description: ...
- description: ...
- description: ...
> +
> + ports:
> + $ref: /schemas/graph.yaml#/properties/ports
> +
> + properties:
> + port@0:
> + $ref: /schemas/graph.yaml#/$defs/port-base
> + unevaluatedProperties: false
No extra properties, so use:
$ref: /schemas/graph.yaml#/properties/port
(and no need for unevaluatedProperties)
> + description: HDMI input from the transmitter.
> +
> + port@1:
> + $ref: /schemas/graph.yaml#/$defs/port-base
> + unevaluatedProperties: false
> + description: HDMI output to the connector.
Same here.
Rob
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [PATCH 1/3] dt-bindings: display: ti,tpd12s015: Convert to DT schema
2026-10-09 14:44 ` Laurent Pinchart
@ 2026-10-09 15:42 ` Conor Dooley
2026-10-09 17:34 ` Rob Herring
0 siblings, 1 reply; 17+ messages in thread
From: Conor Dooley @ 2026-10-09 15:42 UTC (permalink / raw)
To: Laurent Pinchart
Cc: Quchaosheng, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Tomi Valkeinen, dri-devel, devicetree, linux-omap, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 1969 bytes --]
On Fri, Oct 09, 2026 at 04:44:34PM +0200, Laurent Pinchart wrote:
> On Fri, Oct 09, 2026 at 03:25:49PM +0100, Conor Dooley wrote:
> > On Fri, Oct 09, 2026 at 06:55:59PM +0800, Quchaosheng wrote:
> > > From: Chaosheng Qu <quchaosheng000406@163.com>
> > >
> > > Convert the TPD12S015 HDMI level shifter binding to DT schema.
> > >
> > > The TI TPD12S015 is an HDMI companion chip that combines a level shifter
> > > and ESD protection circuitry. Document the two ports it exposes between
> > > the HDMI transmitter and the connector.
> > >
> > > The tpd12s016 is software compatible with the tpd12s015 and is listed as
> > > a fallback compatible by am57xx-idk-common.dtsi, so accept it as a
> > > fallback of "ti,tpd12s015". The driver matches on "ti,tpd12s015" only, so
> > > a board using the tpd12s016 must list both compatibles.
> > >
> > > Assisted-by: LLM
> > > Signed-off-by: Chaosheng Qu <quchaosheng000406@163.com>
> >
> > No idea if the sashiko reply is valid, because I have no clue if
> > providing a subset of the gpios is functional. Really this should have
> > multiple different gpios properties,
>
> Definitely.
>
> > but this binding is really old and
> > not worth changing IMO.
> > Acked-by: Conor Dooley <conor.dooley@microchip.com>
> > pw-bot: not-applicable
>
> I'm getting annoyed be the LLM-assisted individual conversions. Can we
> start requiring people who convert text bindings to YAML to at least
> handle whole groups in one go ? If they're going to do a bad job, I'd
> rather have to review it once only.
Or do one, and take the learnings into all the remaining patches - but
with LLM conversions I don't think there's really much learning going on
at all.
I guess bunching them is fine, provided it is for one subsystem. I
definitely don't want to see a set of 15 patches across 9 subsystems,
at least with one subsystem it's likely to be the same common problems
across the bunch.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [PATCH 1/3] dt-bindings: display: ti,tpd12s015: Convert to DT schema
2026-10-09 15:42 ` Conor Dooley
@ 2026-10-09 17:34 ` Rob Herring
0 siblings, 0 replies; 17+ messages in thread
From: Rob Herring @ 2026-10-09 17:34 UTC (permalink / raw)
To: Conor Dooley
Cc: Laurent Pinchart, Quchaosheng, Krzysztof Kozlowski, Conor Dooley,
Tomi Valkeinen, dri-devel, devicetree, linux-omap, linux-kernel
On Fri, Oct 09, 2026 at 04:42:01PM +0100, Conor Dooley wrote:
> On Fri, Oct 09, 2026 at 04:44:34PM +0200, Laurent Pinchart wrote:
> > On Fri, Oct 09, 2026 at 03:25:49PM +0100, Conor Dooley wrote:
> > > On Fri, Oct 09, 2026 at 06:55:59PM +0800, Quchaosheng wrote:
> > > > From: Chaosheng Qu <quchaosheng000406@163.com>
> > > >
> > > > Convert the TPD12S015 HDMI level shifter binding to DT schema.
> > > >
> > > > The TI TPD12S015 is an HDMI companion chip that combines a level shifter
> > > > and ESD protection circuitry. Document the two ports it exposes between
> > > > the HDMI transmitter and the connector.
> > > >
> > > > The tpd12s016 is software compatible with the tpd12s015 and is listed as
> > > > a fallback compatible by am57xx-idk-common.dtsi, so accept it as a
> > > > fallback of "ti,tpd12s015". The driver matches on "ti,tpd12s015" only, so
> > > > a board using the tpd12s016 must list both compatibles.
> > > >
> > > > Assisted-by: LLM
> > > > Signed-off-by: Chaosheng Qu <quchaosheng000406@163.com>
> > >
> > > No idea if the sashiko reply is valid, because I have no clue if
> > > providing a subset of the gpios is functional. Really this should have
> > > multiple different gpios properties,
The minItems one is not valid. sashiko struggles on our quirks against
normal json-schema. Generally, if either minItems or maxItems is not
specified, we make them equal. I think I documented that, so we need to
get sashiko to read it...
> >
> > Definitely.
> >
> > > but this binding is really old and
> > > not worth changing IMO.
> > > Acked-by: Conor Dooley <conor.dooley@microchip.com>
> > > pw-bot: not-applicable
> >
> > I'm getting annoyed be the LLM-assisted individual conversions. Can we
> > start requiring people who convert text bindings to YAML to at least
> > handle whole groups in one go ? If they're going to do a bad job, I'd
> > rather have to review it once only.
I have a branch of ~600 questionable patches. :) It does make arm64
warning free (and some of the warning fixes are valid).
What's left is really stuff that's old, not getting new platforms and no
one cares about. I don't think we need perfection. We should probably
just ignore sashiko.
>
> Or do one, and take the learnings into all the remaining patches - but
> with LLM conversions I don't think there's really much learning going on
> at all.
>
> I guess bunching them is fine, provided it is for one subsystem. I
> definitely don't want to see a set of 15 patches across 9 subsystems,
> at least with one subsystem it's likely to be the same common problems
> across the bunch.
I've tried expressing my preferences in priority, but it hasn't worked.
It was mainly GSoC or other programs, but now it's?
My priority is:
- Fix arm64 warnings
- Fix arm warnings
- Convert subsystem bindings
- Fix other $arch warnings (no one cares AFAICT)
We're actually pretty close to arm64 being warning free. krzk's LPC
slides inflate the numbers as N boards for a SoC give N copies of
warnings. next is currently sitting at 218 warnings in my deduped count.
About half of those are HiSilicon and Mediatek. The rest of the
platforms (by subdir) are around ~20 or less.
arm32 is still a long way off. The recent platform removals should help
though.
Rob
^ permalink raw reply [flat|nested] 17+ messages in thread
end of thread, other threads:[~2026-10-09 17:34 UTC | newest]
Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-09 10:55 [PATCH 0/3] dt-bindings: display: ti,tpd12s015: convert, and fix what the conversion exposed Quchaosheng
2026-10-09 10:55 ` [PATCH 1/3] dt-bindings: display: ti,tpd12s015: Convert to DT schema Quchaosheng
2026-10-09 11:14 ` sashiko-bot
2026-10-09 14:25 ` Conor Dooley
2026-10-09 14:44 ` Laurent Pinchart
2026-10-09 15:42 ` Conor Dooley
2026-10-09 17:34 ` Rob Herring
2026-10-09 15:38 ` Rob Herring
2026-10-09 10:56 ` [PATCH 2/3] ARM: dts: ti/omap: drop the two unused gpios from the igep0050 hdmi encoder Quchaosheng
2026-10-09 10:56 ` [PATCH 3/3] ARM: dts: ti/omap: drop unit-address from tpd12s015 endpoints Quchaosheng
2026-10-09 11:03 ` [PATCH 0/3] dt-bindings: display: ti,tpd12s015: convert, and fix what the conversion exposed Laurent Pinchart
-- strict thread matches above, loose matches on Subject: below --
2026-10-09 10:54 Quchaosheng
2026-10-09 10:54 ` [PATCH 1/3] dt-bindings: display: ti,tpd12s015: Convert to DT schema Quchaosheng
2026-10-09 11:05 ` sashiko-bot
2026-10-09 10:53 [PATCH 0/3] dt-bindings: display: ti,tpd12s015: convert, and fix what the conversion exposed Quchaosheng
2026-10-09 10:53 ` [PATCH 1/3] dt-bindings: display: ti,tpd12s015: Convert to DT schema Quchaosheng
2026-10-09 11:03 ` sashiko-bot
2026-10-09 10:53 [PATCH 0/3] dt-bindings: display: ti,tpd12s015: convert, and fix what the conversion exposed Quchaosheng
2026-10-09 10:53 ` [PATCH 1/3] dt-bindings: display: ti,tpd12s015: Convert to DT schema Quchaosheng
2026-10-09 11:05 ` sashiko-bot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox