[v3,4/5] dt-bindings: drm/bridge Document Cadence MHDP DPI/DP bridge bindings
diff mbox series

Message ID 1535451894-2518-5-git-send-email-dkos@cadence.com
State New
Headers show
Series
  • drm: add support for Cadence MHDP DPI/DP bridge.
Related show

Commit Message

Damian Kos Aug. 28, 2018, 10:24 a.m. UTC
From: Quentin Schulz <quentin.schulz@bootlin.com>

Signed-off-by: Damian Kos <dkos@cadence.com>
---
 .../bindings/display/bridge/cdns,mhdp.txt     | 43 +++++++++++++++++++
 1 file changed, 43 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/display/bridge/cdns,mhdp.txt

Comments

Rob Herring Aug. 29, 2018, 12:28 a.m. UTC | #1
On Tue, 28 Aug 2018 11:24:47 +0100, Damian Kos wrote:
> From: Quentin Schulz <quentin.schulz@bootlin.com>
> 
> Signed-off-by: Damian Kos <dkos@cadence.com>
> ---
>  .../bindings/display/bridge/cdns,mhdp.txt     | 43 +++++++++++++++++++
>  1 file changed, 43 insertions(+)
>  create mode 100644 Documentation/devicetree/bindings/display/bridge/cdns,mhdp.txt
> 

Reviewed-by: Rob Herring <robh@kernel.org>
Andrzej Hajda Sept. 13, 2018, 11:23 a.m. UTC | #2
On 28.08.2018 12:24, Damian Kos wrote:
> From: Quentin Schulz <quentin.schulz@bootlin.com>
>
> Signed-off-by: Damian Kos <dkos@cadence.com>

No commit message, no author's signoff.
--
Regards
Andrzej

> ---
>  .../bindings/display/bridge/cdns,mhdp.txt     | 43 +++++++++++++++++++
>  1 file changed, 43 insertions(+)
>  create mode 100644 Documentation/devicetree/bindings/display/bridge/cdns,mhdp.txt
>
> diff --git a/Documentation/devicetree/bindings/display/bridge/cdns,mhdp.txt b/Documentation/devicetree/bindings/display/bridge/cdns,mhdp.txt
> new file mode 100644
> index 000000000000..f8334c520b98
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/display/bridge/cdns,mhdp.txt
> @@ -0,0 +1,43 @@
> +Cadence MHDP bridge
> +==========================
> +
> +The Cadence MHDP bridge is a DPI to DP bridge.
> +
> +Required properties:
> +- compatible: should be "cdns,mhdp8546",
> +- reg: physical base address and length of the controller's registers,
> +- clocks: DP bridge clock, it's used by the IP to know how to translate
> +	a number of clock cycles into a time (which is used to comply
> +	with DP standard timings and delays),
> +
> +Required subnodes:
> +- ports: Ports as described in Documentation/devictree/bindings/graph.txt
> +	Port 0 - input port representing the DP bridge input
> +	Port 1 - output port representing the DP bridge output
> +
> +Example:
> +
> +	mhdp: dp-bridge@f0fb000000 {
> +		compatible = "cdns,mhdp8546";
> +		reg = <0xf0 0xfb000000 0x0 0x1000000>;
> +		clocks = <&mhdp_clock>;
> +
> +		ports {
> +			#address-cells = <1>;
> +			#size-cells = <0>;
> +
> +			port@0 {
> +				reg = <0>;
> +				dp_bridge_input: endpoint {
> +					remote-endpoint = <&xxx_dpi_output>;
> +				};
> +			};
> +
> +			port@1 {
> +				reg = <1>;
> +				dp_bridge_output: endpoint {
> +					remote-endpoint = <&xxx_dp_connector_input>;
> +				};
> +			};
> +		};
> +	};

Patch
diff mbox series

diff --git a/Documentation/devicetree/bindings/display/bridge/cdns,mhdp.txt b/Documentation/devicetree/bindings/display/bridge/cdns,mhdp.txt
new file mode 100644
index 000000000000..f8334c520b98
--- /dev/null
+++ b/Documentation/devicetree/bindings/display/bridge/cdns,mhdp.txt
@@ -0,0 +1,43 @@ 
+Cadence MHDP bridge
+==========================
+
+The Cadence MHDP bridge is a DPI to DP bridge.
+
+Required properties:
+- compatible: should be "cdns,mhdp8546",
+- reg: physical base address and length of the controller's registers,
+- clocks: DP bridge clock, it's used by the IP to know how to translate
+	a number of clock cycles into a time (which is used to comply
+	with DP standard timings and delays),
+
+Required subnodes:
+- ports: Ports as described in Documentation/devictree/bindings/graph.txt
+	Port 0 - input port representing the DP bridge input
+	Port 1 - output port representing the DP bridge output
+
+Example:
+
+	mhdp: dp-bridge@f0fb000000 {
+		compatible = "cdns,mhdp8546";
+		reg = <0xf0 0xfb000000 0x0 0x1000000>;
+		clocks = <&mhdp_clock>;
+
+		ports {
+			#address-cells = <1>;
+			#size-cells = <0>;
+
+			port@0 {
+				reg = <0>;
+				dp_bridge_input: endpoint {
+					remote-endpoint = <&xxx_dpi_output>;
+				};
+			};
+
+			port@1 {
+				reg = <1>;
+				dp_bridge_output: endpoint {
+					remote-endpoint = <&xxx_dp_connector_input>;
+				};
+			};
+		};
+	};