On Mon, May 30, 2016 at 06:39:43PM +0200, Peter Senna Tschudin wrote:
> Devicetree bindings documentation for the GE B850v3 LVDS/DP++
> display bridge.
> 
> Signed-off-by: Peter Senna Tschudin <peter.senna at collabora.com>
> ---
>  .../devicetree/bindings/ge/b850v3_lvds_dp.txt      | 38 
> ++++++++++++++++++++++
>  1 file changed, 38 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..32e123a
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/ge/b850v3_lvds_dp.txt
> @@ -0,0 +1,38 @@
> +Driver for GE B850v3 LVDS/DP++ display bridge
> +
> +Required properties:
> +  - compatible : should be "ge,b850v3_lvds_dp".
> +  - reg : should contain the address used to ack the interrupts.
> +  - interrupt-parent : should link to the gpio used as interrupt
> +    source on the host.
> +  - interrupts : one interrupt should be described here, as in
> +    <0 IRQ_TYPE_LEVEL_HIGH>.
> +  - edid-reg : should contain the address used to read edid information

This should be known based on the bridge chip you are using.

> +  - port : should describe the vide signal connection between the host
> +    and the bridge.
> +
> +Example:
> +
> +&mux2_i2c2 {
> +     status = "okay";
> +     clock-frequency = <100000>;
> +
> +     b850v3_dp_bridge {

Don't use '_' in node or property names or compatible strings.

> +             compatible = "ge,b850v3_lvds_dp";
> +             #address-cells = <1>;
> +             #size-cells = <0>;
> +
> +             reg = <0x73>;
> +             interrupt-parent = <&gpio2>;
> +             interrupts = <0 IRQ_TYPE_LEVEL_HIGH>;
> +
> +             edid-reg = <0x72>;
> +
> +             port at 0 {
> +                     reg = <0>;
> +                     b850v3_dp_bridge_in: endpoint {
> +                             remote-endpoint = <&lvds0_out>;
> +                     };
> +             };
> +     };
> +};
> -- 
> 2.5.5
> 

Reply via email to