IT6505 cover letter
Subsystems (5)
v3 cover IT6505 cover letter
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
Signature · 1 line
1.9.1
PATCH v3 1/2 dt-bindings: Add binding for IT6505.
From: Allen Chen <[email protected]>
Add a DT binding documentation for IT6505.
---
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
Documentation/devicetree/bindings/display/bridge/ite,it6505.txt new file +28 -0
@@ -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>; + };
Documentation/devicetree/bindings/vendor-prefixes.yaml +2 -0
@@ -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,.*":
Signature · 1 line
1.9.1
Rob Herring
maintainerRe: [PATCH v3 1/2] dt-bindings: Add binding for IT6505.
Quoted 6 lines · allen
From: Allen Chen <[email protected]>
Add a DT binding documentation for IT6505.
Signed-off-by Allen Chen <[email protected]>
Drop the blank line.
Quoted 19 lines
Signed-off-by Pi-Hsun Shih <[email protected]>---
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.txtDocumentation/devicetree/bindings/display/bridge/ite,it6505.txt new file +2
-0@@ -0,0 +1,28 @@ +iTE it6505 DP bridge bindings +
Documentation/devicetree/bindings/display/bridge/ite,it6505.txt line 12
Quoted 10 lines
Documentation/devicetree/bindings/display/bridge/ite,it6505.txt new file +10
-0+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.
Documentation/devicetree/bindings/display/bridge/ite,it6505.txt line 14
Quoted 2 lines
Documentation/devicetree/bindings/display/bridge/ite,it6505.txt new file +2
-0+ - 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.
Documentation/devicetree/bindings/display/bridge/ite,it6505.txt line 27
Quoted 13 lines
Documentation/devicetree/bindings/display/bridge/ite,it6505.txt new file +13
-0+ +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.
Quoted 17 lines
Documentation/devicetree/bindings/display/bridge/ite,it6505.txt new file +1
-0+ };Documentation/devicetree/bindings/vendor-prefixes.yaml +2
-0@@ -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,.*":Signature · 1 line
1.9.1
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
PATCH v3 2/2 drm/bridge: add it6505 driver
In reply to allenFrom: Allen Chen <[email protected]>
This adds support for the iTE IT6505.
This device can convert DPI signal to DP output.
--- drivers/gpu/drm/bridge/Kconfig | 7 + drivers/gpu/drm/bridge/Makefile | 1 + drivers/gpu/drm/bridge/ite-it6505.c | 2531 +++++++++++++++++++++++++++++++++++ 3 files changed, 2539 insertions(+) create mode 100644 drivers/gpu/drm/bridge/ite-it6505.c
drivers/gpu/drm/bridge/Kconfig +7 -0
@@ -45,6 +45,13 @@ config DRM_DUMB_VGA_DAC Support for non-programmable RGB to VGA DAC bridges, such as ADI ADV7123, TI THS8134 and THS8135 or passive resistor ladder DACs. +config DRM_ITE_IT6505 + tristate "ITE IT6505 DP bridge" + depends on OF + select DRM_KMS_HELPER + help + ITE IT6505 DP bridge chip driver. + config DRM_LVDS_ENCODER tristate "Transparent parallel to LVDS encoder support" depends on OF
drivers/gpu/drm/bridge/Makefile +1 -0
@@ -2,6 +2,7 @@ obj-$(CONFIG_DRM_ANALOGIX_ANX78XX) += analogix-anx78xx.o obj-$(CONFIG_DRM_CDNS_DSI) += cdns-dsi.o obj-$(CONFIG_DRM_DUMB_VGA_DAC) += dumb-vga-dac.o +obj-$(CONFIG_DRM_ITE_IT6505) += ite-it6505.o obj-$(CONFIG_DRM_LVDS_ENCODER) += lvds-encoder.o obj-$(CONFIG_DRM_MEGACHIPS_STDPXXXX_GE_B850V3_FW) += megachips-stdpxxxx-ge-b850v3-fw.o obj-$(CONFIG_DRM_NXP_PTN3460) += nxp-ptn3460.o
drivers/gpu/drm/bridge/ite-it6505.c new file +2531 -0
2,531 lines not on this page · raw message
Signature · 1 line
1.9.1