diff mbox

[v3,2/2] dt-bindings: imx: ldb: Add ddc-i2c-bus property

Message ID 1461788614-7784-2-git-send-email-akshay.bhat@timesys.com (mailing list archive)
State New, archived
Headers show

Commit Message

Akshay Bhat April 27, 2016, 8:23 p.m. UTC
Document the ddc-i2c-bus property used by imx-ldb driver to read EDID
information via I2C interface.

Signed-off-by: Akshay Bhat <akshay.bhat@timesys.com>
---

v3:
Newly added.

 Documentation/devicetree/bindings/display/imx/ldb.txt | 1 +
 1 file changed, 1 insertion(+)

Comments

Rob Herring (Arm) April 28, 2016, 9:48 p.m. UTC | #1
On Wed, Apr 27, 2016 at 04:23:34PM -0400, Akshay Bhat wrote:
> Document the ddc-i2c-bus property used by imx-ldb driver to read EDID
> information via I2C interface.
> 
> Signed-off-by: Akshay Bhat <akshay.bhat@timesys.com>
> ---
> 
> v3:
> Newly added.
> 
>  Documentation/devicetree/bindings/display/imx/ldb.txt | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/Documentation/devicetree/bindings/display/imx/ldb.txt b/Documentation/devicetree/bindings/display/imx/ldb.txt
> index 0a175d9..a407462 100644
> --- a/Documentation/devicetree/bindings/display/imx/ldb.txt
> +++ b/Documentation/devicetree/bindings/display/imx/ldb.txt
> @@ -62,6 +62,7 @@ Required properties:
>     display-timings are used instead.
>  
>  Optional properties (required if display-timings are used):

The required part doesn't make sense if you add this, but...

> + - ddc-i2c-bus: phandle of an I2C controller used for DDC EDID probing

Really, this should be part of a connector node since i2c goes from the 
i2c controller to a connector and is not part of the display controller.

>   - display-timings : A node that describes the display timings as defined in
>     Documentation/devicetree/bindings/display/display-timing.txt.
>   - fsl,data-mapping : should be "spwg" or "jeida"
> -- 
> 2.8.1
>
Philipp Zabel April 29, 2016, 7:44 a.m. UTC | #2
Am Donnerstag, den 28.04.2016, 16:48 -0500 schrieb Rob Herring:
> On Wed, Apr 27, 2016 at 04:23:34PM -0400, Akshay Bhat wrote:
> > Document the ddc-i2c-bus property used by imx-ldb driver to read EDID
> > information via I2C interface.
> > 
> > Signed-off-by: Akshay Bhat <akshay.bhat@timesys.com>
> > ---
> > 
> > v3:
> > Newly added.
> > 
> >  Documentation/devicetree/bindings/display/imx/ldb.txt | 1 +
> >  1 file changed, 1 insertion(+)
> > 
> > diff --git a/Documentation/devicetree/bindings/display/imx/ldb.txt b/Documentation/devicetree/bindings/display/imx/ldb.txt
> > index 0a175d9..a407462 100644
> > --- a/Documentation/devicetree/bindings/display/imx/ldb.txt
> > +++ b/Documentation/devicetree/bindings/display/imx/ldb.txt
> > @@ -62,6 +62,7 @@ Required properties:
> >     display-timings are used instead.
> >  
> >  Optional properties (required if display-timings are used):
> 
> The required part doesn't make sense if you add this, but...
> 
> > + - ddc-i2c-bus: phandle of an I2C controller used for DDC EDID probing
> 
> Really, this should be part of a connector node since i2c goes from the 
> i2c controller to a connector and is not part of the display controller.

If the ddc i2c bus does indeed go through a connector, yes. Would that
warrant a generic "lvds-connector" binding for all those different types
of internal LVDS connectors?

regards
Philipp
Rob Herring (Arm) May 3, 2016, 4:06 p.m. UTC | #3
On Fri, Apr 29, 2016 at 09:44:12AM +0200, Philipp Zabel wrote:
> Am Donnerstag, den 28.04.2016, 16:48 -0500 schrieb Rob Herring:
> > On Wed, Apr 27, 2016 at 04:23:34PM -0400, Akshay Bhat wrote:
> > > Document the ddc-i2c-bus property used by imx-ldb driver to read EDID
> > > information via I2C interface.
> > > 
> > > Signed-off-by: Akshay Bhat <akshay.bhat@timesys.com>
> > > ---
> > > 
> > > v3:
> > > Newly added.
> > > 
> > >  Documentation/devicetree/bindings/display/imx/ldb.txt | 1 +
> > >  1 file changed, 1 insertion(+)
> > > 
> > > diff --git a/Documentation/devicetree/bindings/display/imx/ldb.txt b/Documentation/devicetree/bindings/display/imx/ldb.txt
> > > index 0a175d9..a407462 100644
> > > --- a/Documentation/devicetree/bindings/display/imx/ldb.txt
> > > +++ b/Documentation/devicetree/bindings/display/imx/ldb.txt
> > > @@ -62,6 +62,7 @@ Required properties:
> > >     display-timings are used instead.
> > >  
> > >  Optional properties (required if display-timings are used):
> > 
> > The required part doesn't make sense if you add this, but...
> > 
> > > + - ddc-i2c-bus: phandle of an I2C controller used for DDC EDID probing
> > 
> > Really, this should be part of a connector node since i2c goes from the 
> > i2c controller to a connector and is not part of the display controller.
> 
> If the ddc i2c bus does indeed go through a connector, yes. Would that
> warrant a generic "lvds-connector" binding for all those different types
> of internal LVDS connectors?

Probably an overkill for that case. It could be part of the panel node, 
but I'm reluctant to define a 3rd way. So this is fine as is.

Acked-by: Rob Herring <robh@kernel.org>

Rob
diff mbox

Patch

diff --git a/Documentation/devicetree/bindings/display/imx/ldb.txt b/Documentation/devicetree/bindings/display/imx/ldb.txt
index 0a175d9..a407462 100644
--- a/Documentation/devicetree/bindings/display/imx/ldb.txt
+++ b/Documentation/devicetree/bindings/display/imx/ldb.txt
@@ -62,6 +62,7 @@  Required properties:
    display-timings are used instead.
 
 Optional properties (required if display-timings are used):
+ - ddc-i2c-bus: phandle of an I2C controller used for DDC EDID probing
  - display-timings : A node that describes the display timings as defined in
    Documentation/devicetree/bindings/display/display-timing.txt.
  - fsl,data-mapping : should be "spwg" or "jeida"