From: Andrzej Hajda <a.hajda@samsung.com>
To: devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND
FLATTENED DEVICE TREE BINDINGS)
Cc: Andrzej Hajda <a.hajda@samsung.com>,
Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>,
Marek Szyprowski <m.szyprowski@samsung.com>,
dri-devel@lists.freedesktop.org, Inki Dae <inki.dae@samsung.com>,
Rob Herring <robh+dt@kernel.org>,
Mark Rutland <mark.rutland@arm.com>,
Krzysztof Kozlowski <krzk@kernel.org>,
Chanwoo Choi <cw00.choi@samsung.com>,
Archit Taneja <architt@codeaurora.org>,
Laurent Pinchart <Laurent.pinchart@ideasonboard.com>,
linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-samsung-soc@vger.kernel.org, linux-usb@vger.kernel.org
Subject: [RFC PATCH v2 1/5] dt-bindings: add bindings for USB physical connector
Date: Wed, 31 Jan 2018 14:44:31 +0100 [thread overview]
Message-ID: <20180131134435.12216-2-a.hajda@samsung.com> (raw)
In-Reply-To: <20180131134435.12216-1-a.hajda@samsung.com>
These bindings allow to describe most known standard USB connectors
and it should be possible to extend it if necessary.
USB connectors, beside USB can be used to route other protocols,
for example UART, Audio, MHL. In such case every device passing data
through the connector should have appropriate graph bindings.
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
---
v2:
- moved connector type(A,B,C) to compatible string (Rob),
- renamed size property to type (Rob),
- changed type description to be less confusing (Laurent),
- removed vendor specific compatibles (implied by graph port number),
- added requirement of connector being a child of IC (Rob),
- removed max-mode (subtly suggested by Rob, it should be detected anyway
by USB Controller in runtime, downside is that device is not able to
report its real capabilities, maybe better would be to make it optional(?)),
- assigned port numbers to data buses (Rob).
Regards
Andrzej
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
---
.../bindings/connector/usb-connector.txt | 48 ++++++++++++++++++++++
1 file changed, 48 insertions(+)
create mode 100644 Documentation/devicetree/bindings/connector/usb-connector.txt
diff --git a/Documentation/devicetree/bindings/connector/usb-connector.txt b/Documentation/devicetree/bindings/connector/usb-connector.txt
new file mode 100644
index 000000000000..02020f5d760a
--- /dev/null
+++ b/Documentation/devicetree/bindings/connector/usb-connector.txt
@@ -0,0 +1,48 @@
+USB Connector
+=============
+
+USB connector node represents physical USB connector. It should be
+a child of USB interface controller.
+
+Required properties:
+- compatible: describes type of the connector, must be one of:
+ "usb-a-connector", "usb-b-connector", "usb-c-connector",
+
+Optional properties:
+- label: symbolic name for the connector
+- type: size of the connector, should be specified in case of USB-A, USB-B
+ non-standard (large) connector sizes: "mini", "micro"
+
+Required nodes:
+- any data bus to the connector should be modeled using the OF graph bindings
+ specified in bindings/graph.txt, unless the bus is between parent node and
+ the connector. Since single connector can have multpile data buses every bus
+ has assigned OF graph port number as follows:
+ 0: High Speed (HS), present in all connectors,
+ 1: Super Speed (SS), present in SS capable connectors,
+ 2: Sideband use (SBU), present in USB-C,
+ 3: Mobile High-Definition Link (MHL), present in 11-pin Samsung micro-USB
+
+Example
+-------
+
+muic_max77843@66 {
+ ...
+ musb_con: connector {
+ compatible = "usb-b-connector";
+ label = "micro-USB";
+ type = "micro";
+
+ ports {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ port@3 {
+ reg = <3>;
+ musb_con_mhl_in: endpoint {
+ remote-endpoint = <&mhl_out>;
+ };
+ };
+ };
+ };
+};
--
2.15.1
WARNING: multiple messages have this Message-ID (diff)
From: Andrzej Hajda <a.hajda@samsung.com>
To: "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS"
<devicetree@vger.kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>,
linux-samsung-soc@vger.kernel.org,
Laurent Pinchart <Laurent.pinchart@ideasonboard.com>,
Chanwoo Choi <cw00.choi@samsung.com>,
Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>,
linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org,
dri-devel@lists.freedesktop.org, Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzk@kernel.org>,
linux-arm-kernel@lists.infradead.org,
Marek Szyprowski <m.szyprowski@samsung.com>
Subject: [RFC PATCH v2 1/5] dt-bindings: add bindings for USB physical connector
Date: Wed, 31 Jan 2018 14:44:31 +0100 [thread overview]
Message-ID: <20180131134435.12216-2-a.hajda@samsung.com> (raw)
In-Reply-To: <20180131134435.12216-1-a.hajda@samsung.com>
These bindings allow to describe most known standard USB connectors
and it should be possible to extend it if necessary.
USB connectors, beside USB can be used to route other protocols,
for example UART, Audio, MHL. In such case every device passing data
through the connector should have appropriate graph bindings.
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
---
v2:
- moved connector type(A,B,C) to compatible string (Rob),
- renamed size property to type (Rob),
- changed type description to be less confusing (Laurent),
- removed vendor specific compatibles (implied by graph port number),
- added requirement of connector being a child of IC (Rob),
- removed max-mode (subtly suggested by Rob, it should be detected anyway
by USB Controller in runtime, downside is that device is not able to
report its real capabilities, maybe better would be to make it optional(?)),
- assigned port numbers to data buses (Rob).
Regards
Andrzej
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
---
.../bindings/connector/usb-connector.txt | 48 ++++++++++++++++++++++
1 file changed, 48 insertions(+)
create mode 100644 Documentation/devicetree/bindings/connector/usb-connector.txt
diff --git a/Documentation/devicetree/bindings/connector/usb-connector.txt b/Documentation/devicetree/bindings/connector/usb-connector.txt
new file mode 100644
index 000000000000..02020f5d760a
--- /dev/null
+++ b/Documentation/devicetree/bindings/connector/usb-connector.txt
@@ -0,0 +1,48 @@
+USB Connector
+=============
+
+USB connector node represents physical USB connector. It should be
+a child of USB interface controller.
+
+Required properties:
+- compatible: describes type of the connector, must be one of:
+ "usb-a-connector", "usb-b-connector", "usb-c-connector",
+
+Optional properties:
+- label: symbolic name for the connector
+- type: size of the connector, should be specified in case of USB-A, USB-B
+ non-standard (large) connector sizes: "mini", "micro"
+
+Required nodes:
+- any data bus to the connector should be modeled using the OF graph bindings
+ specified in bindings/graph.txt, unless the bus is between parent node and
+ the connector. Since single connector can have multpile data buses every bus
+ has assigned OF graph port number as follows:
+ 0: High Speed (HS), present in all connectors,
+ 1: Super Speed (SS), present in SS capable connectors,
+ 2: Sideband use (SBU), present in USB-C,
+ 3: Mobile High-Definition Link (MHL), present in 11-pin Samsung micro-USB
+
+Example
+-------
+
+muic_max77843@66 {
+ ...
+ musb_con: connector {
+ compatible = "usb-b-connector";
+ label = "micro-USB";
+ type = "micro";
+
+ ports {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ port@3 {
+ reg = <3>;
+ musb_con_mhl_in: endpoint {
+ remote-endpoint = <&mhl_out>;
+ };
+ };
+ };
+ };
+};
--
2.15.1
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
WARNING: multiple messages have this Message-ID (diff)
From: Andrzej Hajda <a.hajda@samsung.com>
To: "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS"
<devicetree@vger.kernel.org>
Cc: Andrzej Hajda <a.hajda@samsung.com>,
Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>,
Marek Szyprowski <m.szyprowski@samsung.com>,
dri-devel@lists.freedesktop.org, Inki Dae <inki.dae@samsung.com>,
Rob Herring <robh+dt@kernel.org>,
Mark Rutland <mark.rutland@arm.com>,
Krzysztof Kozlowski <krzk@kernel.org>,
Chanwoo Choi <cw00.choi@samsung.com>,
Archit Taneja <architt@codeaurora.org>,
Laurent Pinchart <Laurent.pinchart@ideasonboard.com>,
linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-samsung-soc@vger.kernel.org, linux-usb@vger.kernel.org
Subject: [RFC,v2,1/5] dt-bindings: add bindings for USB physical connector
Date: Wed, 31 Jan 2018 14:44:31 +0100 [thread overview]
Message-ID: <20180131134435.12216-2-a.hajda@samsung.com> (raw)
These bindings allow to describe most known standard USB connectors
and it should be possible to extend it if necessary.
USB connectors, beside USB can be used to route other protocols,
for example UART, Audio, MHL. In such case every device passing data
through the connector should have appropriate graph bindings.
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
---
v2:
- moved connector type(A,B,C) to compatible string (Rob),
- renamed size property to type (Rob),
- changed type description to be less confusing (Laurent),
- removed vendor specific compatibles (implied by graph port number),
- added requirement of connector being a child of IC (Rob),
- removed max-mode (subtly suggested by Rob, it should be detected anyway
by USB Controller in runtime, downside is that device is not able to
report its real capabilities, maybe better would be to make it optional(?)),
- assigned port numbers to data buses (Rob).
Regards
Andrzej
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
---
.../bindings/connector/usb-connector.txt | 48 ++++++++++++++++++++++
1 file changed, 48 insertions(+)
create mode 100644 Documentation/devicetree/bindings/connector/usb-connector.txt
diff --git a/Documentation/devicetree/bindings/connector/usb-connector.txt b/Documentation/devicetree/bindings/connector/usb-connector.txt
new file mode 100644
index 000000000000..02020f5d760a
--- /dev/null
+++ b/Documentation/devicetree/bindings/connector/usb-connector.txt
@@ -0,0 +1,48 @@
+USB Connector
+=============
+
+USB connector node represents physical USB connector. It should be
+a child of USB interface controller.
+
+Required properties:
+- compatible: describes type of the connector, must be one of:
+ "usb-a-connector", "usb-b-connector", "usb-c-connector",
+
+Optional properties:
+- label: symbolic name for the connector
+- type: size of the connector, should be specified in case of USB-A, USB-B
+ non-standard (large) connector sizes: "mini", "micro"
+
+Required nodes:
+- any data bus to the connector should be modeled using the OF graph bindings
+ specified in bindings/graph.txt, unless the bus is between parent node and
+ the connector. Since single connector can have multpile data buses every bus
+ has assigned OF graph port number as follows:
+ 0: High Speed (HS), present in all connectors,
+ 1: Super Speed (SS), present in SS capable connectors,
+ 2: Sideband use (SBU), present in USB-C,
+ 3: Mobile High-Definition Link (MHL), present in 11-pin Samsung micro-USB
+
+Example
+-------
+
+muic_max77843@66 {
+ ...
+ musb_con: connector {
+ compatible = "usb-b-connector";
+ label = "micro-USB";
+ type = "micro";
+
+ ports {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ port@3 {
+ reg = <3>;
+ musb_con_mhl_in: endpoint {
+ remote-endpoint = <&mhl_out>;
+ };
+ };
+ };
+ };
+};
WARNING: multiple messages have this Message-ID (diff)
From: a.hajda@samsung.com (Andrzej Hajda)
To: linux-arm-kernel@lists.infradead.org
Subject: [RFC PATCH v2 1/5] dt-bindings: add bindings for USB physical connector
Date: Wed, 31 Jan 2018 14:44:31 +0100 [thread overview]
Message-ID: <20180131134435.12216-2-a.hajda@samsung.com> (raw)
In-Reply-To: <20180131134435.12216-1-a.hajda@samsung.com>
These bindings allow to describe most known standard USB connectors
and it should be possible to extend it if necessary.
USB connectors, beside USB can be used to route other protocols,
for example UART, Audio, MHL. In such case every device passing data
through the connector should have appropriate graph bindings.
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
---
v2:
- moved connector type(A,B,C) to compatible string (Rob),
- renamed size property to type (Rob),
- changed type description to be less confusing (Laurent),
- removed vendor specific compatibles (implied by graph port number),
- added requirement of connector being a child of IC (Rob),
- removed max-mode (subtly suggested by Rob, it should be detected anyway
by USB Controller in runtime, downside is that device is not able to
report its real capabilities, maybe better would be to make it optional(?)),
- assigned port numbers to data buses (Rob).
Regards
Andrzej
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
---
.../bindings/connector/usb-connector.txt | 48 ++++++++++++++++++++++
1 file changed, 48 insertions(+)
create mode 100644 Documentation/devicetree/bindings/connector/usb-connector.txt
diff --git a/Documentation/devicetree/bindings/connector/usb-connector.txt b/Documentation/devicetree/bindings/connector/usb-connector.txt
new file mode 100644
index 000000000000..02020f5d760a
--- /dev/null
+++ b/Documentation/devicetree/bindings/connector/usb-connector.txt
@@ -0,0 +1,48 @@
+USB Connector
+=============
+
+USB connector node represents physical USB connector. It should be
+a child of USB interface controller.
+
+Required properties:
+- compatible: describes type of the connector, must be one of:
+ "usb-a-connector", "usb-b-connector", "usb-c-connector",
+
+Optional properties:
+- label: symbolic name for the connector
+- type: size of the connector, should be specified in case of USB-A, USB-B
+ non-standard (large) connector sizes: "mini", "micro"
+
+Required nodes:
+- any data bus to the connector should be modeled using the OF graph bindings
+ specified in bindings/graph.txt, unless the bus is between parent node and
+ the connector. Since single connector can have multpile data buses every bus
+ has assigned OF graph port number as follows:
+ 0: High Speed (HS), present in all connectors,
+ 1: Super Speed (SS), present in SS capable connectors,
+ 2: Sideband use (SBU), present in USB-C,
+ 3: Mobile High-Definition Link (MHL), present in 11-pin Samsung micro-USB
+
+Example
+-------
+
+muic_max77843 at 66 {
+ ...
+ musb_con: connector {
+ compatible = "usb-b-connector";
+ label = "micro-USB";
+ type = "micro";
+
+ ports {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ port at 3 {
+ reg = <3>;
+ musb_con_mhl_in: endpoint {
+ remote-endpoint = <&mhl_out>;
+ };
+ };
+ };
+ };
+};
--
2.15.1
next prev parent reply other threads:[~2018-01-31 13:45 UTC|newest]
Thread overview: 42+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CGME20180131134456eucas1p2543fb6c96a29c57e991f5de1a4ef89fe@eucas1p2.samsung.com>
2018-01-31 13:44 ` [RFC PATCH v2 0/5] dt-bindings: add bindings for USB physical connector Andrzej Hajda
2018-01-31 13:44 ` Andrzej Hajda
2018-01-31 13:44 ` Andrzej Hajda
[not found] ` <CGME20180131134457eucas1p128394aef86e0d76cfc6ccb72ee22d4b1@eucas1p1.samsung.com>
2018-01-31 13:44 ` Andrzej Hajda [this message]
2018-01-31 13:44 ` [RFC PATCH v2 1/5] " Andrzej Hajda
2018-01-31 13:44 ` [RFC,v2,1/5] " Andrzej Hajda
2018-01-31 13:44 ` [RFC PATCH v2 1/5] " Andrzej Hajda
2018-02-05 6:08 ` Rob Herring
2018-02-05 6:08 ` Rob Herring
2018-02-05 6:08 ` [RFC,v2,1/5] " Rob Herring
2018-02-05 6:08 ` [RFC PATCH v2 1/5] " Rob Herring
2018-02-05 9:06 ` Andrzej Hajda
2018-02-05 9:06 ` Andrzej Hajda
2018-02-05 9:06 ` [RFC,v2,1/5] " Andrzej Hajda
2018-02-05 9:06 ` [RFC PATCH v2 1/5] " Andrzej Hajda
2018-02-07 21:43 ` Rob Herring
2018-02-07 21:43 ` Rob Herring
2018-02-07 21:43 ` [RFC,v2,1/5] " Rob Herring
2018-02-07 21:43 ` [RFC PATCH v2 1/5] " Rob Herring
2018-02-08 9:27 ` Andrzej Hajda
2018-02-08 9:27 ` Andrzej Hajda
2018-02-08 9:27 ` [RFC,v2,1/5] " Andrzej Hajda
2018-02-08 9:27 ` [RFC PATCH v2 1/5] " Andrzej Hajda
2018-02-08 20:04 ` Rob Herring
2018-02-08 20:04 ` Rob Herring
2018-02-08 20:04 ` [RFC,v2,1/5] " Rob Herring
[not found] ` <CGME20180131134458eucas1p1f611f9e3345b9e3bd5b18b6d57ff21f1@eucas1p1.samsung.com>
2018-01-31 13:44 ` [RFC PATCH v2 2/5] arm64: dts: exynos: add micro-USB connector node to TM2 platforms Andrzej Hajda
2018-01-31 13:44 ` Andrzej Hajda
2018-01-31 13:44 ` [RFC,v2,2/5] " Andrzej Hajda
2018-01-31 13:44 ` [RFC PATCH v2 2/5] " Andrzej Hajda
[not found] ` <CGME20180131134458eucas1p15d3eaae8dce09aa348e9458840c2ea20@eucas1p1.samsung.com>
2018-01-31 13:44 ` [RFC PATCH v2 3/5] arm64: dts: exynos: add OF graph between MHL and USB connector Andrzej Hajda
2018-01-31 13:44 ` Andrzej Hajda
2018-01-31 13:44 ` [RFC,v2,3/5] " Andrzej Hajda
2018-01-31 13:44 ` [RFC PATCH v2 3/5] " Andrzej Hajda
[not found] ` <CGME20180131134459eucas1p15c0dd76f5173816b949e72cde93c0a6c@eucas1p1.samsung.com>
2018-01-31 13:44 ` [RFC PATCH v2 4/5] extcon: add possibility to get extcon device by OF node Andrzej Hajda
2018-01-31 13:44 ` Andrzej Hajda
2018-01-31 13:44 ` [RFC,v2,4/5] " Andrzej Hajda
2018-01-31 13:44 ` [RFC PATCH v2 4/5] " Andrzej Hajda
[not found] ` <CGME20180131134500eucas1p1bb313876bc8ea81a46113f29c1d4ce54@eucas1p1.samsung.com>
2018-01-31 13:44 ` [RFC PATCH v2 5/5] drm/bridge/sii8620: use micro-USB cable detection logic to detect MHL Andrzej Hajda
2018-01-31 13:44 ` Andrzej Hajda
2018-01-31 13:44 ` [RFC,v2,5/5] " Andrzej Hajda
2018-01-31 13:44 ` [RFC PATCH v2 5/5] " Andrzej Hajda
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180131134435.12216-2-a.hajda@samsung.com \
--to=a.hajda@samsung.com \
--cc=Laurent.pinchart@ideasonboard.com \
--cc=architt@codeaurora.org \
--cc=b.zolnierkie@samsung.com \
--cc=cw00.choi@samsung.com \
--cc=devicetree@vger.kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=inki.dae@samsung.com \
--cc=krzk@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-samsung-soc@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=m.szyprowski@samsung.com \
--cc=mark.rutland@arm.com \
--cc=robh+dt@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.