[RFC,PATCHv2,3/9] dt-bindings: display/ti: add am65x-dss bindings

Message ID 20180618132242.8673-4-tomi.valkeinen@ti.com
State New
Headers show
Series
  • [RFC,PATCHv2,1/9] drm: Add support for extracting sync signal drive edge from videomode
Related show

Commit Message

Tomi Valkeinen June 18, 2018, 1:22 p.m.
Add DT bindings for Texas Instruments AM65x SoC Display Subsystem.  The
DSS7 on AM65x SoC has two video ports (DPI and OLDI) and two video
pipelines.

Signed-off-by: Jyri Sarha <jsarha@ti.com>

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>

Cc: devicetree@vger.kernel.org
---
 .../bindings/display/ti/ti,am6-dss.txt           | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/display/ti/ti,am6-dss.txt

-- 
Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki.
Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

Rob Herring June 25, 2018, 6:59 p.m. | #1
On Mon, Jun 18, 2018 at 04:22:36PM +0300, Tomi Valkeinen wrote:
> Add DT bindings for Texas Instruments AM65x SoC Display Subsystem.  The

> DSS7 on AM65x SoC has two video ports (DPI and OLDI) and two video

> pipelines.

> 

> Signed-off-by: Jyri Sarha <jsarha@ti.com>

> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>

> Cc: devicetree@vger.kernel.org

> ---

>  .../bindings/display/ti/ti,am6-dss.txt           | 16 ++++++++++++++++

>  1 file changed, 16 insertions(+)

>  create mode 100644 Documentation/devicetree/bindings/display/ti/ti,am6-dss.txt

> 

> diff --git a/Documentation/devicetree/bindings/display/ti/ti,am6-dss.txt b/Documentation/devicetree/bindings/display/ti/ti,am6-dss.txt

> new file mode 100644

> index 000000000000..3466f095fb84

> --- /dev/null

> +++ b/Documentation/devicetree/bindings/display/ti/ti,am6-dss.txt

> @@ -0,0 +1,16 @@

> +Texas Instruments AM65x Display Subsystem

> +==========================================

> +

> +Required properties:

> +- compatible: "ti,am65x-dss", "ti,am6-dss"


Why do you need 2 compatibles? What's the difference for the 'x' in 
'am65x'?

> +- reg: address and length of the register spaces for DSS submodules

> +- reg-names: "common", "vidl1", "vid", "ovr1", "ovr2", "vp1", "vp2"

> +- clocks: phandle to fclk, vp1, and vp2 clocks

> +- clock-names: "fck", "vp1", "vp2"


fck or fclk?

> +- interrupts: phandle to the DISPC interrupt

> +- syscon: phandle to syscon device handling OLDI_PWRDN_TX (partition 1 of

> +  AM654 CTRL MMR0)

> +

> +The DSS outputs are described using the device graphs as documented in

> +Documentation/devicetree/bindings/graph.txt. AM6 DSS has a DPI output as port 0

> +and an OLDI output as port 1.


What's OLDI?

> -- 

> Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki.

> Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki

> 

> --

> To unsubscribe from this list: send the line "unsubscribe devicetree" in

> the body of a message to majordomo@vger.kernel.org

> More majordomo info at  http://vger.kernel.org/majordomo-info.html

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch

diff --git a/Documentation/devicetree/bindings/display/ti/ti,am6-dss.txt b/Documentation/devicetree/bindings/display/ti/ti,am6-dss.txt
new file mode 100644
index 000000000000..3466f095fb84
--- /dev/null
+++ b/Documentation/devicetree/bindings/display/ti/ti,am6-dss.txt
@@ -0,0 +1,16 @@ 
+Texas Instruments AM65x Display Subsystem
+==========================================
+
+Required properties:
+- compatible: "ti,am65x-dss", "ti,am6-dss"
+- reg: address and length of the register spaces for DSS submodules
+- reg-names: "common", "vidl1", "vid", "ovr1", "ovr2", "vp1", "vp2"
+- clocks: phandle to fclk, vp1, and vp2 clocks
+- clock-names: "fck", "vp1", "vp2"
+- interrupts: phandle to the DISPC interrupt
+- syscon: phandle to syscon device handling OLDI_PWRDN_TX (partition 1 of
+  AM654 CTRL MMR0)
+
+The DSS outputs are described using the device graphs as documented in
+Documentation/devicetree/bindings/graph.txt. AM6 DSS has a DPI output as port 0
+and an OLDI output as port 1.