* [PATCH 1/2] dt-bindings: display/bridge: toshiba,tc358764: convert to dtschema
@ 2023-02-25 16:02 Krzysztof Kozlowski
2023-02-25 16:02 ` [PATCH 2/2] ARM: dts: exynos: add ports to TC358764 bridge on Arndale Krzysztof Kozlowski
2023-03-08 0:31 ` [PATCH 1/2] dt-bindings: display/bridge: toshiba,tc358764: convert to dtschema Rob Herring
0 siblings, 2 replies; 4+ messages in thread
From: Krzysztof Kozlowski @ 2023-02-25 16:02 UTC (permalink / raw)
To: Andrzej Hajda, Neil Armstrong, Robert Foss, Laurent Pinchart,
Jonas Karlman, Jernej Skrabec, David Airlie, Daniel Vetter,
Rob Herring, Krzysztof Kozlowski, Alim Akhtar, dri-devel,
devicetree, linux-kernel, linux-arm-kernel, linux-samsung-soc
Cc: Krzysztof Kozlowski
Convert the Toshiba TC358764 bridge bindings to DT schema.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
.../display/bridge/toshiba,tc358764.txt | 35 --------
.../display/bridge/toshiba,tc358764.yaml | 89 +++++++++++++++++++
2 files changed, 89 insertions(+), 35 deletions(-)
delete mode 100644 Documentation/devicetree/bindings/display/bridge/toshiba,tc358764.txt
create mode 100644 Documentation/devicetree/bindings/display/bridge/toshiba,tc358764.yaml
diff --git a/Documentation/devicetree/bindings/display/bridge/toshiba,tc358764.txt b/Documentation/devicetree/bindings/display/bridge/toshiba,tc358764.txt
deleted file mode 100644
index 8f9abf28a8fa..000000000000
--- a/Documentation/devicetree/bindings/display/bridge/toshiba,tc358764.txt
+++ /dev/null
@@ -1,35 +0,0 @@
-TC358764 MIPI-DSI to LVDS panel bridge
-
-Required properties:
- - compatible: "toshiba,tc358764"
- - reg: the virtual channel number of a DSI peripheral
- - vddc-supply: core voltage supply, 1.2V
- - vddio-supply: I/O voltage supply, 1.8V or 3.3V
- - vddlvds-supply: LVDS1/2 voltage supply, 3.3V
- - reset-gpios: a GPIO spec for the reset pin
-
-The device node can contain following 'port' child nodes,
-according to the OF graph bindings defined in [1]:
- 0: DSI Input, not required, if the bridge is DSI controlled
- 1: LVDS Output, mandatory
-
-[1]: Documentation/devicetree/bindings/media/video-interfaces.txt
-
-Example:
-
- bridge@0 {
- reg = <0>;
- compatible = "toshiba,tc358764";
- vddc-supply = <&vcc_1v2_reg>;
- vddio-supply = <&vcc_1v8_reg>;
- vddlvds-supply = <&vcc_3v3_reg>;
- reset-gpios = <&gpd1 6 GPIO_ACTIVE_LOW>;
- #address-cells = <1>;
- #size-cells = <0>;
- port@1 {
- reg = <1>;
- lvds_ep: endpoint {
- remote-endpoint = <&panel_ep>;
- };
- };
- };
diff --git a/Documentation/devicetree/bindings/display/bridge/toshiba,tc358764.yaml b/Documentation/devicetree/bindings/display/bridge/toshiba,tc358764.yaml
new file mode 100644
index 000000000000..866607400514
--- /dev/null
+++ b/Documentation/devicetree/bindings/display/bridge/toshiba,tc358764.yaml
@@ -0,0 +1,89 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/display/bridge/toshiba,tc358764.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Toshiba TC358764 MIPI-DSI to LVDS bridge
+
+maintainers:
+ - Andrzej Hajda <andrzej.hajda@intel.com>
+
+properties:
+ compatible:
+ const: toshiba,tc358764
+
+ reg:
+ description: Virtual channel number of a DSI peripheral
+ maxItems: 1
+
+ reset-gpios:
+ maxItems: 1
+
+ vddc-supply:
+ description: Core voltage supply, 1.2V
+
+ vddio-supply:
+ description: I/O voltage supply, 1.8V or 3.3V
+
+ vddlvds-supply:
+ description: LVDS1/2 voltage supply, 3.3V
+
+ ports:
+ $ref: /schemas/graph.yaml#/properties/ports
+
+ properties:
+ port@0:
+ $ref: /schemas/graph.yaml#/properties/port
+ description:
+ Video port for MIPI DSI input, if the bridge DSI controlled
+
+ port@1:
+ $ref: /schemas/graph.yaml#/properties/port
+ description:
+ Video port for LVDS output (panel or connector).
+
+ required:
+ - port@1
+
+required:
+ - compatible
+ - reg
+ - reset-gpios
+ - vddc-supply
+ - vddio-supply
+ - vddlvds-supply
+ - ports
+
+additionalProperties: false
+
+examples:
+ - |
+ #include <dt-bindings/gpio/gpio.h>
+
+ i2c {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ bridge@0 {
+ compatible = "toshiba,tc358764";
+ reg = <0>;
+
+ reset-gpios = <&gpd1 6 GPIO_ACTIVE_LOW>;
+ vddc-supply = <&vcc_1v2_reg>;
+ vddio-supply = <&vcc_1v8_reg>;
+ vddlvds-supply = <&vcc_3v3_reg>;
+
+ ports {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ port@1 {
+ reg = <1>;
+ lvds_ep: endpoint {
+ remote-endpoint = <&panel_ep>;
+ };
+ };
+ };
+ };
+ };
--
2.34.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH 2/2] ARM: dts: exynos: add ports to TC358764 bridge on Arndale
2023-02-25 16:02 [PATCH 1/2] dt-bindings: display/bridge: toshiba,tc358764: convert to dtschema Krzysztof Kozlowski
@ 2023-02-25 16:02 ` Krzysztof Kozlowski
2023-03-06 11:39 ` (subset) " Krzysztof Kozlowski
2023-03-08 0:31 ` [PATCH 1/2] dt-bindings: display/bridge: toshiba,tc358764: convert to dtschema Rob Herring
1 sibling, 1 reply; 4+ messages in thread
From: Krzysztof Kozlowski @ 2023-02-25 16:02 UTC (permalink / raw)
To: Andrzej Hajda, Neil Armstrong, Robert Foss, Laurent Pinchart,
Jonas Karlman, Jernej Skrabec, David Airlie, Daniel Vetter,
Rob Herring, Krzysztof Kozlowski, Alim Akhtar, dri-devel,
devicetree, linux-kernel, linux-arm-kernel, linux-samsung-soc
Cc: Krzysztof Kozlowski
The Toshiba TC358764 bridge binding expect up two ports as it is a
bridge, thus add ports property to encapsulate them.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
arch/arm/boot/dts/exynos5250-arndale.dts | 15 +++++++++------
1 file changed, 9 insertions(+), 6 deletions(-)
diff --git a/arch/arm/boot/dts/exynos5250-arndale.dts b/arch/arm/boot/dts/exynos5250-arndale.dts
index 2e3da5670bc2..c03bb436bfed 100644
--- a/arch/arm/boot/dts/exynos5250-arndale.dts
+++ b/arch/arm/boot/dts/exynos5250-arndale.dts
@@ -192,12 +192,15 @@ bridge@0 {
vddio-supply = <&vcc_1v8_reg>;
vddlvds-supply = <&vcc_3v3_reg>;
reset-gpios = <&gpd1 6 GPIO_ACTIVE_LOW>;
- #address-cells = <1>;
- #size-cells = <0>;
- port@1 {
- reg = <1>;
- bridge_out_ep: endpoint {
- remote-endpoint = <&panel_ep>;
+
+ ports {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ port@1 {
+ reg = <1>;
+ bridge_out_ep: endpoint {
+ remote-endpoint = <&panel_ep>;
+ };
};
};
};
--
2.34.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: (subset) [PATCH 2/2] ARM: dts: exynos: add ports to TC358764 bridge on Arndale
2023-02-25 16:02 ` [PATCH 2/2] ARM: dts: exynos: add ports to TC358764 bridge on Arndale Krzysztof Kozlowski
@ 2023-03-06 11:39 ` Krzysztof Kozlowski
0 siblings, 0 replies; 4+ messages in thread
From: Krzysztof Kozlowski @ 2023-03-06 11:39 UTC (permalink / raw)
To: linux-samsung-soc, devicetree, Rob Herring, linux-kernel,
Andrzej Hajda, Krzysztof Kozlowski, Krzysztof Kozlowski,
Robert Foss, Alim Akhtar, dri-devel, Laurent Pinchart,
David Airlie, Neil Armstrong, Jonas Karlman, Jernej Skrabec,
linux-arm-kernel, Daniel Vetter
On Sat, 25 Feb 2023 17:02:52 +0100, Krzysztof Kozlowski wrote:
> The Toshiba TC358764 bridge binding expect up two ports as it is a
> bridge, thus add ports property to encapsulate them.
>
>
Applied, thanks!
[2/2] ARM: dts: exynos: add ports to TC358764 bridge on Arndale
https://git.kernel.org/krzk/linux/c/704121ff1f6e05bd00ecb1ef2918ac309c18eb45
Best regards,
--
Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 1/2] dt-bindings: display/bridge: toshiba,tc358764: convert to dtschema
2023-02-25 16:02 [PATCH 1/2] dt-bindings: display/bridge: toshiba,tc358764: convert to dtschema Krzysztof Kozlowski
2023-02-25 16:02 ` [PATCH 2/2] ARM: dts: exynos: add ports to TC358764 bridge on Arndale Krzysztof Kozlowski
@ 2023-03-08 0:31 ` Rob Herring
1 sibling, 0 replies; 4+ messages in thread
From: Rob Herring @ 2023-03-08 0:31 UTC (permalink / raw)
To: Krzysztof Kozlowski
Cc: Neil Armstrong, devicetree, linux-kernel, David Airlie,
Jonas Karlman, Jernej Skrabec, Laurent Pinchart,
Krzysztof Kozlowski, Daniel Vetter, Rob Herring, Alim Akhtar,
linux-arm-kernel, linux-samsung-soc, dri-devel, Robert Foss,
Andrzej Hajda
On Sat, 25 Feb 2023 17:02:51 +0100, Krzysztof Kozlowski wrote:
> Convert the Toshiba TC358764 bridge bindings to DT schema.
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> ---
> .../display/bridge/toshiba,tc358764.txt | 35 --------
> .../display/bridge/toshiba,tc358764.yaml | 89 +++++++++++++++++++
> 2 files changed, 89 insertions(+), 35 deletions(-)
> delete mode 100644 Documentation/devicetree/bindings/display/bridge/toshiba,tc358764.txt
> create mode 100644 Documentation/devicetree/bindings/display/bridge/toshiba,tc358764.yaml
>
Applied, thanks!
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2023-03-08 0:31 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-25 16:02 [PATCH 1/2] dt-bindings: display/bridge: toshiba,tc358764: convert to dtschema Krzysztof Kozlowski
2023-02-25 16:02 ` [PATCH 2/2] ARM: dts: exynos: add ports to TC358764 bridge on Arndale Krzysztof Kozlowski
2023-03-06 11:39 ` (subset) " Krzysztof Kozlowski
2023-03-08 0:31 ` [PATCH 1/2] dt-bindings: display/bridge: toshiba,tc358764: convert to dtschema Rob Herring
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).