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


Groups > linux.kernel > #1550276

Re: [PATCH V7 1/4] Documentation/devicetree/bindings: b850v3_lvds_dp

From Rob Herring <robh@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH V7 1/4] Documentation/devicetree/bindings: b850v3_lvds_dp
Date 2017-01-04 00:00 +0100
Message-ID <sVGdI-4qo-19@gated-at.bofh.it> (permalink)
References <sUUVr-51r-5@gated-at.bofh.it> <sUUVr-51r-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Sun, Jan 01, 2017 at 09:24:29PM +0100, Peter Senna Tschudin wrote:
> Devicetree bindings documentation for the GE B850v3 LVDS/DP++
> display bridge.
> 
> Cc: Martyn Welch <martyn.welch@collabora.co.uk>
> Cc: Martin Donnelly <martin.donnelly@ge.com>
> Cc: Javier Martinez Canillas <javier@dowhile0.org>
> Cc: Enric Balletbo i Serra <enric.balletbo@collabora.com>
> Cc: Philipp Zabel <p.zabel@pengutronix.de>
> Cc: Rob Herring <robh@kernel.org>
> Cc: Fabio Estevam <fabio.estevam@nxp.com>
> Signed-off-by: Peter Senna Tschudin <peter.senna@collabora.com>
> ---
> There was an Acked-by from Rob Herring <robh@kernel.org> for V6, but I changed
> the bindings to use i2c_new_secondary_device() so I removed it from the commit
> message.
> 
>  .../devicetree/bindings/ge/b850v3-lvds-dp.txt      | 39 ++++++++++++++++++++++

Generally, bindings are not organized by vendor. Put in 
bindings/display/bridge/... instead.

>  1 file changed, 39 insertions(+)
>  create mode 100644 Documentation/devicetree/bindings/ge/b850v3-lvds-dp.txt
> 
> diff --git a/Documentation/devicetree/bindings/ge/b850v3-lvds-dp.txt b/Documentation/devicetree/bindings/ge/b850v3-lvds-dp.txt
> new file mode 100644
> index 0000000..1bc6ebf
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/ge/b850v3-lvds-dp.txt
> @@ -0,0 +1,39 @@
> +Driver for GE B850v3 LVDS/DP++ display bridge
> +
> +Required properties:
> +  - compatible : should be "ge,b850v3-lvds-dp".

Isn't '-lvds-dp' redundant? The part# should be enough.

> +  - reg : should contain the main address which is used to ack the
> +    interrupts and address for edid.
> +  - reg-names : comma separeted list of register names. Valid values

s/separeted/separated/

> +    are "main", and "edid".
> +  - interrupt-parent : phandle of the interrupt controller that services
> +    interrupts to the device
> +  - interrupts : one interrupt should be described here, as in
> +    <0 IRQ_TYPE_LEVEL_HIGH>.
> +  - port : should describe the video signal connection between the host
> +    and the bridge.
> +
> +Example:
> +
> +&mux2_i2c2 {
> +	status = "okay";
> +	clock-frequency = <100000>;
> +
> +	b850v3-lvds-dp-bridge@73  {
> +		compatible = "ge,b850v3-lvds-dp";
> +		#address-cells = <1>;
> +		#size-cells = <0>;
> +
> +		reg = <0x73 0x72>;
> +		reg-names = "main", "edid";
> +
> +		interrupt-parent = <&gpio2>;
> +		interrupts = <0 IRQ_TYPE_LEVEL_HIGH>;
> +
> +		port {
> +			b850v3_dp_bridge_in: endpoint {
> +				remote-endpoint = <&lvds0_out>;
> +			};
> +		};
> +	};
> +};
> -- 
> 2.5.5
> 

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


Thread

[PATCH V7 0/4] Add driver for GE B850v3 LVDS/DP++ Bridge Peter Senna Tschudin <peter.senna@collabora.com> - 2017-01-01 21:30 +0100
  [PATCH V7 2/4] MAINTAINERS: Add entry for GE B850v3 LVDS/DP++ Bridge Peter Senna Tschudin <peter.senna@collabora.com> - 2017-01-01 21:30 +0100
  [PATCH V7 1/4] Documentation/devicetree/bindings: b850v3_lvds_dp Peter Senna Tschudin <peter.senna@collabora.com> - 2017-01-01 21:30 +0100
    Re: [PATCH V7 1/4] Documentation/devicetree/bindings: b850v3_lvds_dp Rob Herring <robh@kernel.org> - 2017-01-04 00:00 +0100
      Re: [PATCH V7 1/4] Documentation/devicetree/bindings: b850v3_lvds_dp "Peter Senna Tschudin" <peter.senna@collabora.co.uk> - 2017-01-04 00:40 +0100
        Re: [PATCH V7 1/4] Documentation/devicetree/bindings: b850v3_lvds_dp Rob Herring <robh@kernel.org> - 2017-01-04 21:50 +0100
          Re: [PATCH V7 1/4] Documentation/devicetree/bindings: b850v3_lvds_dp "Peter Senna Tschudin" <peter.senna@collabora.co.uk> - 2017-01-07 02:40 +0100
            Re: [PATCH V7 1/4] Documentation/devicetree/bindings: b850v3_lvds_dp Laurent Pinchart <laurent.pinchart@ideasonboard.com> - 2017-01-10 22:10 +0100
              Re: [PATCH V7 1/4] Documentation/devicetree/bindings: b850v3_lvds_dp Peter Senna Tschudin <peter.senna@collabora.com> - 2017-01-16 09:40 +0100
    Re: [PATCH V7 1/4] Documentation/devicetree/bindings: b850v3_lvds_dp Laurent Pinchart <laurent.pinchart@ideasonboard.com> - 2017-01-10 22:10 +0100

csiph-web