Message ID | cover.e5a47cc96ec5274dd932daa2bde47df073087da9.1513854122.git-series.maxime.ripard@free-electrons.com |
---|---|
Headers | show |
Series | drm/sun4i: Add A83t LVDS support | expand |
Hi Maxime, Dne četrtek, 21. december 2017 ob 12:02:29 CET je Maxime Ripard napisal(a): > Some clocks and resets supposed to drive the LVDS logic in the display > engine have been overlooked when the driver was first introduced. > > Add those additional resources to the binding, and we'll deal with the ABI > stability in the code. > > Reviewed-by: Chen-Yu Tsai <wens@csie.org> > Reviewed-by: Rob Herring <robh@kernel.org> > Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> > --- > Documentation/devicetree/bindings/display/sunxi/sun4i-drm.txt | 9 +++++++- > 1 file changed, 9 insertions(+) > > diff --git a/Documentation/devicetree/bindings/display/sunxi/sun4i-drm.txt > b/Documentation/devicetree/bindings/display/sunxi/sun4i-drm.txt index > 50cc72ee1168..1e21cfaac9e2 100644 > --- a/Documentation/devicetree/bindings/display/sunxi/sun4i-drm.txt > +++ b/Documentation/devicetree/bindings/display/sunxi/sun4i-drm.txt > @@ -121,6 +121,15 @@ Required properties: > On SoCs other than the A33 and V3s, there is one more clock required: > - 'tcon-ch1': The clock driving the TCON channel 1 > > +On SoCs that support LVDS (all SoCs but the A13, H3, H5 and V3s), you > +need one more reset line: > + - 'lvds': The reset line driving the LVDS logic > + > +And on the SoCs newer than the A31 (sun6i and sun8i families), you > +need one more clock line: > + - 'lvds-alt': An alternative clock source, separate from the TCON > channel 0 + clock, that can be used to drive the LVDS clock I think this wording is imprecise, since A83T is part of the sun8i family, but from the code (patch 7) and DT changes (patch 9) you do, it doesn't need this property. Maybe it would be just easier to enumerate all compatibles which needs this property? Best regards, Jernej -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Hi Maxime, On Thursday, 4 January 2018 21:44:36 EET Maxime Ripard wrote: > On Fri, Dec 22, 2017 at 02:08:20PM +0200, Laurent Pinchart wrote: > > On Thursday, 21 December 2017 13:02:27 EET Maxime Ripard wrote: > >> The power-supply property is used by a vast majority of panels, > >> including panel-simple. Let's document it as a common property > >> > >> Reviewed-by: Rob Herring <robh@kernel.org> > >> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> > >> --- > >> > >> Documentation/devicetree/bindings/display/panel/panel-common.txt | 6 ++++ > >> Documentation/devicetree/bindings/display/panel/panel-lvds.txt | 1 + > >> Documentation/devicetree/bindings/display/panel/simple-panel.txt | 2 +- > >> 3 files changed, 8 insertions(+), 1 deletion(-) > >> > >> diff --git > >> a/Documentation/devicetree/bindings/display/panel/panel-common.txt > >> b/Documentation/devicetree/bindings/display/panel/panel-common.txt index > >> ec52c472c845..125ea68052af 100644 > >> --- a/Documentation/devicetree/bindings/display/panel/panel-common.txt > >> +++ b/Documentation/devicetree/bindings/display/panel/panel-common.txt > >> @@ -78,6 +78,12 @@ used for panels that implement compatible control > >> signals. while active. Active high reset signals can be supported by > >> inverting the GPIO specifier polarity flag. > >> > >> +Power > >> +----- > >> + > >> +- power-supply: many display panels need an additional power supply in > >> + order to be fully powered-up. For such panels, power-supply contains > >> + a phandle to the regulator powering the panel. > > > > I think we should give more details here about the limitations of this > > property. How about the following explanation ? > > > > - power-supply: display panels require power to be supplied. While several > > panels need more than one power supply with panel-specific constraints > > governing the order and timings of the power supplies, in many cases a > > single power supply is sufficient, either because the panel has a single > > power rail, or because all its power rails can be driven by the same > > supply. In that case the power-supply property specifies the supply > > powering the panel as a phandle to a regulator. > > That works for me. Do you want me to resend it with that text, or > should I merge it (and if so, with your Reviewed-by or Acked-by?)? No need to resend if it's just for me. With the above text, Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> (on a side note, I wonder if it's more efficient to ask whether to resend instead of just resending :-)) -- Regards, Laurent Pinchart -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html