* [PATCH v3 0/2] IT6505 cover letter
@ 2019-09-12 3:32 allen
2019-09-12 3:32 ` [PATCH v3 1/2] dt-bindings: Add binding for IT6505 allen
0 siblings, 1 reply; 3+ messages in thread
From: allen @ 2019-09-12 3:32 UTC (permalink / raw)
Cc: Allen Chen, Pi-Hsun Shih, Jau-Chih Tseng,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
open list:DRM DRIVERS, Heiko Stuebner, Icenowy Zheng,
Jernej Skrabec, Jonas Karlman, Laurent Pinchart, Laurent Pinchart,
moderated list:ARM/Mediatek SoC support, open list,
moderated list:ARM/Mediatek SoC support, Maxime Ripard
The IT6505 is a high-performance DisplayPort 1.1a transmitter, fully compliant with DisplayPort 1.1a, HDCP 1.3 specifications. The IT6505 supports color depth of up to 36 bits (12 bits/color) and ensures robust transmission of high-quality uncompressed video content, along with uncompressed and compressed digital audio content.
This series contains document bindings, Kconfig to control the function enable or not.
Allen Chen (2):
WIP: dt-bindings: Add binding for IT6505.
WIP: drm/bridge: add it6505 driver
.../bindings/display/bridge/ite,it6505.txt | 28 +
.../devicetree/bindings/vendor-prefixes.yaml | 2 +
drivers/gpu/drm/bridge/Kconfig | 7 +
drivers/gpu/drm/bridge/Makefile | 1 +
drivers/gpu/drm/bridge/ite-it6505.c | 2531 ++++++++++++++++++++
5 files changed, 2569 insertions(+)
create mode 100644 Documentation/devicetree/bindings/display/bridge/ite,it6505.txt
create mode 100644 drivers/gpu/drm/bridge/ite-it6505.c
--
1.9.1
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH v3 1/2] dt-bindings: Add binding for IT6505.
2019-09-12 3:32 [PATCH v3 0/2] IT6505 cover letter allen
@ 2019-09-12 3:32 ` allen
2019-09-17 19:54 ` Rob Herring
0 siblings, 1 reply; 3+ messages in thread
From: allen @ 2019-09-12 3:32 UTC (permalink / raw)
Cc: Allen Chen, Pi-Hsun Shih, Jau-Chih Tseng, David Airlie,
Daniel Vetter, Rob Herring, Mark Rutland, Matthias Brugger,
Maxime Ripard, Heiko Stuebner, Shawn Guo, Hans Verkuil,
Icenowy Zheng, Laurent Pinchart, open list:DRM DRIVERS,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
open list, ARM/Mediatek
From: Allen Chen <allen.chen@ite.com.tw>
Add a DT binding documentation for IT6505.
Signed-off-by: Allen Chen <allen.chen@ite.com.tw>
Signed-off-by: Pi-Hsun Shih <pihsun@chromium.org>
---
cros-ec does not have an associated driver that uses the standard Linux USB-C driver class.
extcon is used to model the Type-C connector.(crbug.com/982932)
---
.../bindings/display/bridge/ite,it6505.txt | 28 ++++++++++++++++++++++
.../devicetree/bindings/vendor-prefixes.yaml | 2 ++
2 files changed, 30 insertions(+)
create mode 100644 Documentation/devicetree/bindings/display/bridge/ite,it6505.txt
diff --git a/Documentation/devicetree/bindings/display/bridge/ite,it6505.txt b/Documentation/devicetree/bindings/display/bridge/ite,it6505.txt
new file mode 100644
index 0000000..72da0c4
--- /dev/null
+++ b/Documentation/devicetree/bindings/display/bridge/ite,it6505.txt
@@ -0,0 +1,28 @@
+iTE it6505 DP bridge bindings
+
+Required properties:
+ - compatible: "ite,it6505"
+ - reg: i2c address of the bridge
+ - ovdd-supply: I/O voltage
+ - pwr18-supply: Core voltage
+ - interrupts: interrupt specifier of INT pin
+ - reset-gpios: gpio specifier of RESET pin
+ - hpd-gpios:
+ Hotplug detect GPIO.
+ Indicates which GPIO should be used for hotplug detection
+ - port@[x]: SoC specific port nodes with endpoint definitions as defined
+ in Documentation/devicetree/bindings/display/mediatek/mediatek,dpi.txt
+
+Example:
+ dp-bridge@5c {
+ compatible = "ite,it6505";
+ interrupts = <152 IRQ_TYPE_EDGE_RISING 152 0>;
+ reg = <0x5c>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&it6505_pins>;
+ ovdd-supply = <&mt6358_vsim1_reg>;
+ pwr18-supply = <&it6505_pp18_reg>;
+ reset-gpios = <&pio 179 1>;
+ hpd-gpios = <&pio 9 0>;
+ extcon = <&usbc_extcon>;
+ };
diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Documentation/devicetree/bindings/vendor-prefixes.yaml
index 967e78c..fb3b643 100644
--- a/Documentation/devicetree/bindings/vendor-prefixes.yaml
+++ b/Documentation/devicetree/bindings/vendor-prefixes.yaml
@@ -461,6 +461,8 @@ patternProperties:
description: Intersil
"^issi,.*":
description: Integrated Silicon Solutions Inc.
+ "^ite,.*":
+ description: ITE Tech. Inc.
"^itead,.*":
description: ITEAD Intelligent Systems Co.Ltd
"^iwave,.*":
--
1.9.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH v3 1/2] dt-bindings: Add binding for IT6505.
2019-09-12 3:32 ` [PATCH v3 1/2] dt-bindings: Add binding for IT6505 allen
@ 2019-09-17 19:54 ` Rob Herring
0 siblings, 0 replies; 3+ messages in thread
From: Rob Herring @ 2019-09-17 19:54 UTC (permalink / raw)
To: allen
Cc: Mark Rutland, Pi-Hsun Shih, Jau-Chih Tseng, David Airlie,
open list:DRM DRIVERS, open list, Maxime Ripard, Hans Verkuil,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
moderated list:ARM/Mediatek SoC support, Laurent Pinchart,
Matthias Brugger, Icenowy Zheng, Shawn Guo,
moderated list:ARM/Mediatek SoC support
On Thu, Sep 12, 2019 at 11:32:28AM +0800, allen wrote:
> From: Allen Chen <allen.chen@ite.com.tw>
>
> Add a DT binding documentation for IT6505.
>
> Signed-off-by: Allen Chen <allen.chen@ite.com.tw>
>
Drop the blank line.
> Signed-off-by: Pi-Hsun Shih <pihsun@chromium.org>
>
> ---
> cros-ec does not have an associated driver that uses the standard Linux USB-C driver class.
> extcon is used to model the Type-C connector.(crbug.com/982932)
> ---
> .../bindings/display/bridge/ite,it6505.txt | 28 ++++++++++++++++++++++
> .../devicetree/bindings/vendor-prefixes.yaml | 2 ++
> 2 files changed, 30 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/display/bridge/ite,it6505.txt
>
> diff --git a/Documentation/devicetree/bindings/display/bridge/ite,it6505.txt b/Documentation/devicetree/bindings/display/bridge/ite,it6505.txt
> new file mode 100644
> index 0000000..72da0c4
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/display/bridge/ite,it6505.txt
> @@ -0,0 +1,28 @@
> +iTE it6505 DP bridge bindings
> +
> +Required properties:
> + - compatible: "ite,it6505"
> + - reg: i2c address of the bridge
> + - ovdd-supply: I/O voltage
> + - pwr18-supply: Core voltage
> + - interrupts: interrupt specifier of INT pin
> + - reset-gpios: gpio specifier of RESET pin
> + - hpd-gpios:
> + Hotplug detect GPIO.
> + Indicates which GPIO should be used for hotplug detection
This belongs in a dp-connector node.
> + - port@[x]: SoC specific port nodes with endpoint definitions as defined
> + in Documentation/devicetree/bindings/display/mediatek/mediatek,dpi.txt
I assume this bridge works with more than just Mediatek? The port
definitions need to be in terms of what's the data on each port.
> +
> +Example:
> + dp-bridge@5c {
> + compatible = "ite,it6505";
> + interrupts = <152 IRQ_TYPE_EDGE_RISING 152 0>;
> + reg = <0x5c>;
> + pinctrl-names = "default";
> + pinctrl-0 = <&it6505_pins>;
> + ovdd-supply = <&mt6358_vsim1_reg>;
> + pwr18-supply = <&it6505_pp18_reg>;
> + reset-gpios = <&pio 179 1>;
> + hpd-gpios = <&pio 9 0>;
> + extcon = <&usbc_extcon>;
Not documented and deprecated anyways. Use the connector bindings.
> + };
> diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Documentation/devicetree/bindings/vendor-prefixes.yaml
> index 967e78c..fb3b643 100644
> --- a/Documentation/devicetree/bindings/vendor-prefixes.yaml
> +++ b/Documentation/devicetree/bindings/vendor-prefixes.yaml
> @@ -461,6 +461,8 @@ patternProperties:
> description: Intersil
> "^issi,.*":
> description: Integrated Silicon Solutions Inc.
> + "^ite,.*":
> + description: ITE Tech. Inc.
> "^itead,.*":
> description: ITEAD Intelligent Systems Co.Ltd
> "^iwave,.*":
> --
> 1.9.1
>
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-09-17 19:54 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-09-12 3:32 [PATCH v3 0/2] IT6505 cover letter allen
2019-09-12 3:32 ` [PATCH v3 1/2] dt-bindings: Add binding for IT6505 allen
2019-09-17 19:54 ` 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).