From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kuninori Morimoto Subject: [PATCH 11/23] Documentation: of: add type property Date: Mon, 17 Oct 2016 08:35:16 +0000 Message-ID: <87d1iz4c1f.wl%kuninori.morimoto.gx@renesas.com> References: <87shrv4c8x.wl%kuninori.morimoto.gx@renesas.com> Mime-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset="US-ASCII" Return-path: In-Reply-To: <87shrv4c8x.wl%kuninori.morimoto.gx@renesas.com> Sender: linux-kernel-owner@vger.kernel.org To: Rob Herring , Mark Brown Cc: Linux-ALSA , Liam Girdwood , Simon , Laurent , Guennadi , Grant Likely , Frank Rowand , Linux-DT , Linux-Kernel List-Id: devicetree@vger.kernel.org From: Kuninori Morimoto OF graph indicates each devices connection. But it doesn't support type of each port. For example HDMI case, it has video port and sound port in one device node. In this case, current driver can't handle each port correctly. This patch enables to use type property on OF graph. Signed-off-by: Kuninori Morimoto --- Documentation/devicetree/bindings/graph.txt | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/Documentation/devicetree/bindings/graph.txt b/Documentation/devicetree/bindings/graph.txt index fcb1c6a..fe6c8ce 100644 --- a/Documentation/devicetree/bindings/graph.txt +++ b/Documentation/devicetree/bindings/graph.txt @@ -110,6 +110,27 @@ device-2 { }; }; +port / endpoint type +-------------------- + +Each port can have its type if needed. +For example HDMI case, it has video port and sound port. +Below example indicates that port@0 is HDMI-video port, +and port@1 is HDMI-sound port. + +HDMI { + port@0 { + type = "video"; + endpoint { + }; + }; + port@1 { + type = "sound"; + endpoint { + }; + }; +}; + Required properties ------------------- -- 1.9.1