devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/3] dt-bindings: Add ITE Tech prefix
@ 2020-01-27  2:20 Marek Vasut
  2020-01-27  2:20 ` [PATCH 2/3] dt-bindings: it6251: add bindings for IT6251 LVDS-to-eDP bridge Marek Vasut
  2020-02-03 15:53 ` [PATCH 1/3] dt-bindings: Add ITE Tech prefix Rob Herring
  0 siblings, 2 replies; 9+ messages in thread
From: Marek Vasut @ 2020-01-27  2:20 UTC (permalink / raw)
  To: dri-devel; +Cc: Marek Vasut, Daniel Vetter, Rob Herring, Sean Cross, devicetree

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

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: Rob Herring <robh+dt@kernel.org>
Cc: Sean Cross <xobs@kosagi.com>
Cc: devicetree@vger.kernel.org
To: dri-devel@lists.freedesktop.org
---
 Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Documentation/devicetree/bindings/vendor-prefixes.yaml
index 9cd52d9e1f7f..bd6b521a84ae 100644
--- a/Documentation/devicetree/bindings/vendor-prefixes.yaml
+++ b/Documentation/devicetree/bindings/vendor-prefixes.yaml
@@ -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,.*":
-- 
2.24.1


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [PATCH 2/3] dt-bindings: it6251: add bindings for IT6251 LVDS-to-eDP bridge
  2020-01-27  2:20 [PATCH 1/3] dt-bindings: Add ITE Tech prefix Marek Vasut
@ 2020-01-27  2:20 ` Marek Vasut
  2020-02-02 18:23   ` Sam Ravnborg
  2020-02-03 15:53 ` [PATCH 1/3] dt-bindings: Add ITE Tech prefix Rob Herring
  1 sibling, 1 reply; 9+ messages in thread
From: Marek Vasut @ 2020-01-27  2:20 UTC (permalink / raw)
  To: dri-devel; +Cc: Marek Vasut, Daniel Vetter, Rob Herring, Sean Cross, devicetree

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

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: Rob Herring <robh+dt@kernel.org>
Cc: Sean Cross <xobs@kosagi.com>
Cc: devicetree@vger.kernel.org
To: dri-devel@lists.freedesktop.org
---
 .../bindings/display/bridge/ite,it6251.txt    | 35 +++++++++++++++++++
 1 file changed, 35 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/display/bridge/ite,it6251.txt

diff --git a/Documentation/devicetree/bindings/display/bridge/ite,it6251.txt b/Documentation/devicetree/bindings/display/bridge/ite,it6251.txt
new file mode 100644
index 000000000000..c5db82cfe8ed
--- /dev/null
+++ b/Documentation/devicetree/bindings/display/bridge/ite,it6251.txt
@@ -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>;
+				};
+			};
+		};
+	};
+
-- 
2.24.1


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* Re: [PATCH 2/3] dt-bindings: it6251: add bindings for IT6251 LVDS-to-eDP bridge
  2020-01-27  2:20 ` [PATCH 2/3] dt-bindings: it6251: add bindings for IT6251 LVDS-to-eDP bridge Marek Vasut
@ 2020-02-02 18:23   ` Sam Ravnborg
  2020-02-10  9:09     ` Neil Armstrong
  0 siblings, 1 reply; 9+ messages in thread
From: Sam Ravnborg @ 2020-02-02 18:23 UTC (permalink / raw)
  To: Marek Vasut; +Cc: dri-devel, devicetree, Sean Cross, Rob Herring

Hi Marek.

On Mon, Jan 27, 2020 at 03:20:22AM +0100, Marek Vasut wrote:
> Add DT bindings for ITE IT6251 LVDS-to-eDP bridge.
> 
> Signed-off-by: Marek Vasut <marex@denx.de>
> Cc: Daniel Vetter <daniel@ffwll.ch>
> Cc: Rob Herring <robh+dt@kernel.org>
> Cc: Sean Cross <xobs@kosagi.com>
> Cc: devicetree@vger.kernel.org
> To: dri-devel@lists.freedesktop.org
> ---
>  .../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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH 1/3] dt-bindings: Add ITE Tech prefix
  2020-01-27  2:20 [PATCH 1/3] dt-bindings: Add ITE Tech prefix Marek Vasut
  2020-01-27  2:20 ` [PATCH 2/3] dt-bindings: it6251: add bindings for IT6251 LVDS-to-eDP bridge Marek Vasut
@ 2020-02-03 15:53 ` Rob Herring
  1 sibling, 0 replies; 9+ messages in thread
From: Rob Herring @ 2020-02-03 15:53 UTC (permalink / raw)
  To: Marek Vasut; +Cc: dri-devel, Marek Vasut, Daniel Vetter, Sean Cross, devicetree

On Mon, 27 Jan 2020 03:20:21 +0100, Marek Vasut wrote:
> Add vendor prefix for ITE Tech Inc, http://www.ite.com.tw/
> 
> Signed-off-by: Marek Vasut <marex@denx.de>
> Cc: Daniel Vetter <daniel@ffwll.ch>
> Cc: Rob Herring <robh+dt@kernel.org>
> Cc: Sean Cross <xobs@kosagi.com>
> Cc: devicetree@vger.kernel.org
> To: dri-devel@lists.freedesktop.org
> ---
>  Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++
>  1 file changed, 2 insertions(+)
> 

Applied, thanks.

Rob

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH 2/3] dt-bindings: it6251: add bindings for IT6251 LVDS-to-eDP bridge
  2020-02-02 18:23   ` Sam Ravnborg
@ 2020-02-10  9:09     ` Neil Armstrong
  0 siblings, 0 replies; 9+ messages in thread
From: Neil Armstrong @ 2020-02-10  9:09 UTC (permalink / raw)
  To: Sam Ravnborg, Marek Vasut; +Cc: devicetree, Sean Cross, Rob Herring, dri-devel

Hi,

On 02/02/2020 19:23, Sam Ravnborg wrote:
> Hi Marek.
> 
> On Mon, Jan 27, 2020 at 03:20:22AM +0100, Marek Vasut wrote:
>> Add DT bindings for ITE IT6251 LVDS-to-eDP bridge.
>>
>> Signed-off-by: Marek Vasut <marex@denx.de>
>> Cc: Daniel Vetter <daniel@ffwll.ch>
>> Cc: Rob Herring <robh+dt@kernel.org>
>> Cc: Sean Cross <xobs@kosagi.com>
>> Cc: devicetree@vger.kernel.org
>> To: dri-devel@lists.freedesktop.org
>> ---
>>  .../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?

Indeed, please use DT Schema for new bindings.

Neil

> 
> 	Sam
> _______________________________________________
> dri-devel mailing list
> dri-devel@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/dri-devel
> 


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH 2/3] dt-bindings: it6251: add bindings for IT6251 LVDS-to-eDP bridge
  2016-10-18 16:35         ` Marek Vasut
@ 2016-10-18 19:58           ` Rob Herring
  0 siblings, 0 replies; 9+ messages in thread
From: Rob Herring @ 2016-10-18 19:58 UTC (permalink / raw)
  To: Marek Vasut; +Cc: dri-devel, devicetree, Daniel Vetter, Sean Cross

On Tue, Oct 18, 2016 at 11:35 AM, Marek Vasut <marex@denx.de> wrote:
> On 10/18/2016 06:30 PM, Rob Herring wrote:
>> On Mon, Oct 17, 2016 at 06:33:28PM +0200, Marek Vasut wrote:
>>> Add DT bindings for ITE IT6251 LVDS-to-eDP bridge.
>>>
>>> Signed-off-by: Marek Vasut <marex@denx.de>
>>> Cc: devicetree@vger.kernel.org
>>> Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
>>> Cc: Rob Herring <robh@kernel.org>
>>> Cc: Sean Cross <xobs@kosagi.com>
>>> ---
>>>  .../bindings/display/bridge/ite,it6251.txt         | 35 ++++++++++++++++++++++
>>>  1 file changed, 35 insertions(+)
>>>  create mode 100644 Documentation/devicetree/bindings/display/bridge/ite,it6251.txt
>>>
>>> diff --git a/Documentation/devicetree/bindings/display/bridge/ite,it6251.txt b/Documentation/devicetree/bindings/display/bridge/ite,it6251.txt
>>> new file mode 100644
>>> index 0000000..c5db82c
>>> --- /dev/null
>>> +++ b/Documentation/devicetree/bindings/display/bridge/ite,it6251.txt
>>> @@ -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
>>
>> The input pin is called "power"?
>
> The chip has about 7 power rails, but the design I have only has an
> upstream regulator which toggles them all. I wonder, shall we model
> all the rails ?

Yes, because others may have a different design.

Rob

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH 2/3] dt-bindings: it6251: add bindings for IT6251 LVDS-to-eDP bridge
  2016-10-18 16:30       ` Rob Herring
@ 2016-10-18 16:35         ` Marek Vasut
  2016-10-18 19:58           ` Rob Herring
  0 siblings, 1 reply; 9+ messages in thread
From: Marek Vasut @ 2016-10-18 16:35 UTC (permalink / raw)
  To: Rob Herring
  Cc: dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW,
	devicetree-u79uwXL29TY76Z2rM5mHXA, Daniel Vetter, Sean Cross

On 10/18/2016 06:30 PM, Rob Herring wrote:
> On Mon, Oct 17, 2016 at 06:33:28PM +0200, Marek Vasut wrote:
>> Add DT bindings for ITE IT6251 LVDS-to-eDP bridge.
>>
>> Signed-off-by: Marek Vasut <marex-ynQEQJNshbs@public.gmane.org>
>> Cc: devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
>> Cc: Daniel Vetter <daniel.vetter-/w4YWyX8dFk@public.gmane.org>
>> Cc: Rob Herring <robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
>> Cc: Sean Cross <xobs-nXMMniAx+RbQT0dZR+AlfA@public.gmane.org>
>> ---
>>  .../bindings/display/bridge/ite,it6251.txt         | 35 ++++++++++++++++++++++
>>  1 file changed, 35 insertions(+)
>>  create mode 100644 Documentation/devicetree/bindings/display/bridge/ite,it6251.txt
>>
>> diff --git a/Documentation/devicetree/bindings/display/bridge/ite,it6251.txt b/Documentation/devicetree/bindings/display/bridge/ite,it6251.txt
>> new file mode 100644
>> index 0000000..c5db82c
>> --- /dev/null
>> +++ b/Documentation/devicetree/bindings/display/bridge/ite,it6251.txt
>> @@ -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
> 
> The input pin is called "power"?

The chip has about 7 power rails, but the design I have only has an
upstream regulator which toggles them all. I wonder, shall we model
all the rails ?

>> +- 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>;
>> +				};
>> +			};
>> +		};
>> +	};
>> +
>> -- 
>> 2.9.3
>>


-- 
Best regards,
Marek Vasut
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH 2/3] dt-bindings: it6251: add bindings for IT6251 LVDS-to-eDP bridge
       [not found]     ` <20161017163329.11821-2-marex-ynQEQJNshbs@public.gmane.org>
@ 2016-10-18 16:30       ` Rob Herring
  2016-10-18 16:35         ` Marek Vasut
  0 siblings, 1 reply; 9+ messages in thread
From: Rob Herring @ 2016-10-18 16:30 UTC (permalink / raw)
  To: Marek Vasut
  Cc: dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW,
	devicetree-u79uwXL29TY76Z2rM5mHXA, Daniel Vetter, Sean Cross

On Mon, Oct 17, 2016 at 06:33:28PM +0200, Marek Vasut wrote:
> Add DT bindings for ITE IT6251 LVDS-to-eDP bridge.
> 
> Signed-off-by: Marek Vasut <marex-ynQEQJNshbs@public.gmane.org>
> Cc: devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
> Cc: Daniel Vetter <daniel.vetter-/w4YWyX8dFk@public.gmane.org>
> Cc: Rob Herring <robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
> Cc: Sean Cross <xobs-nXMMniAx+RbQT0dZR+AlfA@public.gmane.org>
> ---
>  .../bindings/display/bridge/ite,it6251.txt         | 35 ++++++++++++++++++++++
>  1 file changed, 35 insertions(+)
>  create mode 100644 Documentation/devicetree/bindings/display/bridge/ite,it6251.txt
> 
> diff --git a/Documentation/devicetree/bindings/display/bridge/ite,it6251.txt b/Documentation/devicetree/bindings/display/bridge/ite,it6251.txt
> new file mode 100644
> index 0000000..c5db82c
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/display/bridge/ite,it6251.txt
> @@ -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

The input pin is called "power"?

> +- 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>;
> +				};
> +			};
> +		};
> +	};
> +
> -- 
> 2.9.3
> 
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [PATCH 2/3] dt-bindings: it6251: add bindings for IT6251 LVDS-to-eDP bridge
       [not found] ` <20161017163329.11821-1-marex-ynQEQJNshbs@public.gmane.org>
@ 2016-10-17 16:33   ` Marek Vasut
       [not found]     ` <20161017163329.11821-2-marex-ynQEQJNshbs@public.gmane.org>
  0 siblings, 1 reply; 9+ messages in thread
From: Marek Vasut @ 2016-10-17 16:33 UTC (permalink / raw)
  To: dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW
  Cc: Marek Vasut, devicetree-u79uwXL29TY76Z2rM5mHXA, Daniel Vetter,
	Rob Herring, Sean Cross

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

Signed-off-by: Marek Vasut <marex-ynQEQJNshbs@public.gmane.org>
Cc: devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Cc: Daniel Vetter <daniel.vetter-/w4YWyX8dFk@public.gmane.org>
Cc: Rob Herring <robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
Cc: Sean Cross <xobs-nXMMniAx+RbQT0dZR+AlfA@public.gmane.org>
---
 .../bindings/display/bridge/ite,it6251.txt         | 35 ++++++++++++++++++++++
 1 file changed, 35 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/display/bridge/ite,it6251.txt

diff --git a/Documentation/devicetree/bindings/display/bridge/ite,it6251.txt b/Documentation/devicetree/bindings/display/bridge/ite,it6251.txt
new file mode 100644
index 0000000..c5db82c
--- /dev/null
+++ b/Documentation/devicetree/bindings/display/bridge/ite,it6251.txt
@@ -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>;
+				};
+			};
+		};
+	};
+
-- 
2.9.3

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2020-02-10  9:09 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-27  2:20 [PATCH 1/3] dt-bindings: Add ITE Tech prefix Marek Vasut
2020-01-27  2:20 ` [PATCH 2/3] dt-bindings: it6251: add bindings for IT6251 LVDS-to-eDP bridge Marek Vasut
2020-02-02 18:23   ` Sam Ravnborg
2020-02-10  9:09     ` Neil Armstrong
2020-02-03 15:53 ` [PATCH 1/3] dt-bindings: Add ITE Tech prefix Rob Herring
  -- strict thread matches above, loose matches on Subject: below --
2016-10-17 16:33 Marek Vasut
     [not found] ` <20161017163329.11821-1-marex-ynQEQJNshbs@public.gmane.org>
2016-10-17 16:33   ` [PATCH 2/3] dt-bindings: it6251: add bindings for IT6251 LVDS-to-eDP bridge Marek Vasut
     [not found]     ` <20161017163329.11821-2-marex-ynQEQJNshbs@public.gmane.org>
2016-10-18 16:30       ` Rob Herring
2016-10-18 16:35         ` Marek Vasut
2016-10-18 19:58           ` 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).