Skip to contentSkip to conversation

dt-bindings: Add ITE Tech prefix

PATCH Applied Marek Vasut 4 participants 6 messages Jan 27, 2020 – Feb 10, 2020

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/3 dt-bindings: Add ITE Tech prefix

Add vendor prefix for ITE Tech Inc, http://www.ite.com.tw/

To: [email protected]

---
 Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++
 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/vendor-prefixes.yaml +2 -0
index 9cd52d9e1f7f..bd6b521a84ae 100644
@@ -469,6 +469,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
2.24.1
#1 lore raw

PATCH 2/3 dt-bindings: it6251: add bindings for IT6251 LVDS-to-eDP bridge

Add DT bindings for ITE IT6251 LVDS-to-eDP bridge.

To: [email protected]

---
 .../bindings/display/bridge/ite,it6251.txt    | 35 +++++++++++++++++++
 1 file changed, 35 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/display/bridge/ite,it6251.txt
Documentation/devicetree/bindings/display/bridge/ite,it6251.txt new file +35 -0
new file mode 100644
index 000000000000..c5db82cfe8ed
@@ -0,0 +1,35 @@
+ITE IT6251 LVDS-to-eDP bridge bindings
+
+Required properties:
+- compatible:		Should be "ite,it6251"
+- reg:			i2c address of the bridge, i2c address of the LVDS part
+- reg-names:		Should be "bridge", "lvds"
+- power-supply:		Regulator to provide the supply voltage
+- video interfaces:	Device node can contain video interface port nodes
+			for panel according to [1].
+
+[1]: Documentation/devicetree/bindings/media/video-interfaces.txt
+
+Example:
+
+	it6251@5c {
+		compatible = "ite,it6251";
+		reg = <0x5c>, <0x5e>;
+		reg-names = "bridge", "lvds";
+		power-supply = <&reg_display>;
+
+		ports {
+			port@0 {
+				bridge_out_edp0: endpoint {
+					remote-endpoint = <&panel_in_edp0>;
+				};
+			};
+
+			port@1 {
+				bridge_in_lvds0: endpoint {
+					remote-endpoint = <&lvds0_out>;
+				};
+			};
+		};
+	};
+
Signature · 1 line
2.24.1
#2 lore raw

Re: [PATCH 2/3] dt-bindings: it6251: add bindings for IT6251 LVDS-to-eDP bridge

Hi Marek.

Quoted 10 lines · Marek Vasut

Add DT bindings for ITE IT6251 LVDS-to-eDP bridge.

To: [email protected]

---
 .../bindings/display/bridge/ite,it6251.txt    | 35 +++++++++++++++++++

Any chance you could make this follow the DT Schema (.yaml) syntax so we get better verification of the DT files?

Sam

#3 lore raw

Re: [PATCH 2/3] dt-bindings: it6251: add bindings for IT6251 LVDS-to-eDP bridge

Hi,

Quoted 14 lines · Sam Ravnborg

Hi Marek.

Quoted 10 lines · Marek Vasut

Add DT bindings for ITE IT6251 LVDS-to-eDP bridge.

To: [email protected]

---
 .../bindings/display/bridge/ite,it6251.txt    | 35 +++++++++++++++++++
Quoted 2 lines

Any chance you could make this follow the DT Schema (.yaml) syntax so we get better verification of the DT files?

Indeed, please use DT Schema for new bindings.

Neil

Quoted 7 lines

Sam
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#4 lore raw

PATCH 3/3 drm/bridge: Add ITE IT6251 bridge driver

In reply to Marek Vasut

Add driver for the ITE IT6251 LVDS-to-eDP bridge.

Cc Daniel Vetter <[email protected]>
Cc Sean Cross <[email protected]>

To: [email protected]

---
 drivers/gpu/drm/bridge/Kconfig      |   9 +
 drivers/gpu/drm/bridge/Makefile     |   1 +
 drivers/gpu/drm/bridge/ite-it6251.c | 582 ++++++++++++++++++++++++++++
 3 files changed, 592 insertions(+)
 create mode 100644 drivers/gpu/drm/bridge/ite-it6251.c
drivers/gpu/drm/bridge/Kconfig +9 -0
index 0b9ca5862455..bebb78cf1ccf 100644
@@ -35,6 +35,15 @@ 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_IT6251
+	tristate "ITE IT6251 LVDS/eDP bridge"
+	depends on OF
+	select DRM_KMS_HELPER
+	select DRM_PANEL
+	select REGMAP_I2C
+	help
+	  ITE IT6251 LVDS-eDP bridge chip driver.
+
 config DRM_LVDS_CODEC
 	tristate "Transparent LVDS encoders and decoders support"
 	depends on OF
drivers/gpu/drm/bridge/Makefile +1 -0
index cd16ce830270..b1af35c2151b 100644
@@ -1,6 +1,7 @@
 # SPDX-License-Identifier: GPL-2.0
 obj-$(CONFIG_DRM_CDNS_DSI) += cdns-dsi.o
 obj-$(CONFIG_DRM_DUMB_VGA_DAC) += dumb-vga-dac.o
+obj-$(CONFIG_DRM_ITE_IT6251) += ite-it6251.o
 obj-$(CONFIG_DRM_LVDS_CODEC) += lvds-codec.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-it6251.c new file +582 -0

582 lines not on this page · raw message

Signature · 6 lines
2.24.1

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
maintainer Applied
#5 lore raw
In reply to Marek Vasut
Quoted 7 lines · Marek Vasut

Add vendor prefix for ITE Tech Inc, http://www.ite.com.tw/

Quoted 5 lines

To: [email protected]

---
 Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++
 1 file changed, 2 insertions(+)

Applied, thanks.

Rob
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel