Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1533407

Re: [PATCH v2 3/4] dt-bindings: display: add Amlogic Meson DRM Bindings

From Neil Armstrong <narmstrong@baylibre.com>
Newsgroups linux.kernel
Subject Re: [PATCH v2 3/4] dt-bindings: display: add Amlogic Meson DRM Bindings
Date 2016-11-30 17:10 +0100
Message-ID <sJfCj-8ja-75@gated-at.bofh.it> (permalink)
References <sJfiV-7Va-5@gated-at.bofh.it> <sJfiV-7Va-27@gated-at.bofh.it> <sJfsC-7Yu-21@gated-at.bofh.it>
Organization Baylibre

Show all headers | View raw


Hi Laurent,

On 11/30/2016 04:56 PM, Laurent Pinchart wrote:
> Hi Neil,
> 
> Thank you for the patch.
> 
> On Wednesday 30 Nov 2016 16:43:44 Neil Armstrong wrote:
>> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
>> ---
>> .../bindings/display/meson/meson-drm.txt           | 101 ++++++++++++++++++
>> 1 file changed, 101 insertions(+)
>> create mode 100644
>> Documentation/devicetree/bindings/display/meson/meson-drm.txt
>>
>> diff --git a/Documentation/devicetree/bindings/display/meson/meson-drm.txt
>> b/Documentation/devicetree/bindings/display/meson/meson-drm.txt new file
>> mode 100644
>> index 0000000..e52869a
>> --- /dev/null
>> +++ b/Documentation/devicetree/bindings/display/meson/meson-drm.txt
>> @@ -0,0 +1,101 @@

[...]

>> +
>> +Device Tree Bindings:
>> +---------------------
>> +
>> +VPU: Video Processing Unit
>> +--------------------------
>> +
>> +Required properties:
>> +- compatible: value should be different for each SoC family as :
>> +	- GXBB (S905) : "amlogic,meson-gxbb-vpu"
>> +	- GXL (S905X, S905D) : "amlogic,meson-gxl-vpu"
>> +	- GXM (S912) : "amlogic,meson-gxm-vpu"
>> +	followed by the common "amlogic,meson-gx-vpu"
>> +- reg: base address and size of he following memory-mapped regions :
>> +	- vpu
>> +	- hhi
>> +	- dmc
>> +- reg-names: should contain the names of the previous memory regions
>> +- interrupts: should contain the VENC Vsync interrupt number
>> +
>> +- ports: A ports node with endpoint definitions as defined in
>> +  Documentation/devicetree/bindings/media/video-interfaces.txt.
>> +  The first port should be connected to a CVBS connector endpoint if
>> available.
> 
> This is a bit vague, I propose clarifying it with a description similar to the 
> one in the renesas,du.txt bindings.
> 
> Required nodes:
> 
> The connections to the VPU output video ports are modeled using the OF graph
> bindings specified in Documentation/devicetree/bindings/graph.txt.
> 
> The following table lists for each supported model the port number
> corresponding to each DU output.
> 
>                 Port 0          Port1           Port2           Port3
> -----------------------------------------------------------------------------
>  R8A7779 (H1)   DPAD 0          DPAD 1          -               -
>  R8A7790 (H2)   DPAD            LVDS 0          LVDS 1          -
>  R8A7791 (M2-W) DPAD            LVDS 0          -               -
>  R8A7792 (V2H)  DPAD 0          DPAD 1          -               -
>  R8A7793 (M2-N) DPAD            LVDS 0          -               -
>  R8A7794 (E2)   DPAD 0          DPAD 1          -               -
>  R8A7795 (H3)   DPAD            HDMI 0          HDMI 1          LVDS
>  R8A7796 (M3-W) DPAD            HDMI            LVDS            -
> 
> (You should obviously replace the table with Amlogic data)
> 
> It doesn't matter if the current driver implementation only supports CVBS, the 
> DT bindings can already document the other ports.
> 

Ok, it's a pretty table ! Will integrate this.

>> +
>> +Example:
>> +
>> +tv: connector {
>> +	compatible = "composite-video-connector";
>> +	label = "cvbs";
> 
> I'd remove the label here, as it doesn't bring any additional information. 
> Unless the board you're using has a label for the connector, in case that 
> label should be used.

Indeed, I already removed it in the dts.

> 
> Apart from that,
> 
> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
> 

[...]

Thanks for the review,
Neil

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v2 0/4] drm: Add support for the Amlogic Video Processing Unit Neil Armstrong <narmstrong@baylibre.com> - 2016-11-30 16:50 +0100
  [PATCH v2 4/4] MAINTAINERS: add entry for Amlogic DRM drivers Neil Armstrong <narmstrong@baylibre.com> - 2016-11-30 16:50 +0100
    Re: [PATCH v2 4/4] MAINTAINERS: add entry for Amlogic DRM drivers Laurent Pinchart <laurent.pinchart@ideasonboard.com> - 2016-11-30 17:10 +0100
  [PATCH v2 2/4] ARM64: dts: meson-gx: Add Graphic Controller nodes Neil Armstrong <narmstrong@baylibre.com> - 2016-11-30 16:50 +0100
    Re: [PATCH v2 2/4] ARM64: dts: meson-gx: Add Graphic Controller nodes Laurent Pinchart <laurent.pinchart@ideasonboard.com> - 2016-11-30 17:10 +0100
      Re: [PATCH v2 2/4] ARM64: dts: meson-gx: Add Graphic Controller nodes Neil Armstrong <narmstrong@baylibre.com> - 2016-11-30 17:10 +0100
  [PATCH v2 3/4] dt-bindings: display: add Amlogic Meson DRM Bindings Neil Armstrong <narmstrong@baylibre.com> - 2016-11-30 16:50 +0100
    Re: [PATCH v2 3/4] dt-bindings: display: add Amlogic Meson DRM Bindings Laurent Pinchart <laurent.pinchart@ideasonboard.com> - 2016-11-30 17:00 +0100
      Re: [PATCH v2 3/4] dt-bindings: display: add Amlogic Meson DRM  Bindings Neil Armstrong <narmstrong@baylibre.com> - 2016-11-30 17:10 +0100
        Re: [PATCH v2 3/4] dt-bindings: display: add Amlogic Meson DRM Bindings Kevin Hilman <khilman@baylibre.com> - 2016-11-30 17:30 +0100
          Re: [PATCH v2 3/4] dt-bindings: display: add Amlogic Meson DRM  Bindings Neil Armstrong <narmstrong@baylibre.com> - 2016-11-30 17:30 +0100
    Re: [PATCH v2 3/4] dt-bindings: display: add Amlogic Meson DRM Bindings Laurent Pinchart <laurent.pinchart@ideasonboard.com> - 2016-11-30 17:00 +0100
      Re: [PATCH v2 3/4] dt-bindings: display: add Amlogic Meson DRM  Bindings Neil Armstrong <narmstrong@baylibre.com> - 2016-11-30 17:10 +0100
  Re: [PATCH v2 1/4] drm: Add support for Amlogic Meson Graphic Controller Laurent Pinchart <laurent.pinchart@ideasonboard.com> - 2016-11-30 17:10 +0100
    Re: [PATCH v2 1/4] drm: Add support for Amlogic Meson Graphic  Controller Neil Armstrong <narmstrong@baylibre.com> - 2016-11-30 17:10 +0100

csiph-web