[PATCH 02/11] drm: add bindings for simple vga encoders

Laurent Pinchart laurent.pinchart at ideasonboard.com
Thu Feb 26 10:25:45 PST 2015


Hi Heiko,

Thank you for the patch.

On Saturday 31 January 2015 17:32:55 Heiko Stuebner wrote:
> Add the necessary devicetree binding document for simple vga encoders.
> 
> Signed-off-by: Heiko Stuebner <heiko at sntech.de>
> ---
>  .../devicetree/bindings/drm/i2c/vga-simple.txt         | 18 +++++++++++++++
>  1 file changed, 18 insertions(+)
>  create mode 100644 Documentation/devicetree/bindings/drm/i2c/vga-simple.txt
> 
> diff --git a/Documentation/devicetree/bindings/drm/i2c/vga-simple.txt
> b/Documentation/devicetree/bindings/drm/i2c/vga-simple.txt new file mode
> 100644
> index 0000000..271df9a
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/drm/i2c/vga-simple.txt
> @@ -0,0 +1,18 @@
> +Device-Tree bindings for generic vga encoders
> +
> +Required properties;
> +  - compatible: must be "adi,adv7123"

Bindings already exist for that device, they have been added in commit 
8d0f1956f7c11202 ("video: Add ADV7123 DT bindings documentation").

> +Optional properties:
> +  - ddc-i2c-bus: phandle of an I2C controller used for DDC EDID probing
> +  - enable-gpio: GPIO pin to enable or disable the encoder
> +  - vaa-supply: regulator for the analog power supply
> +
> +Example:
> +
> +	adv7123: vga-encoder {
> +		compatible = "adi,adv7123";
> +		ddc-i2c-bus = <&i2c4>;
> +		vaa-supply = <&vcc_io>;
> +		enable-gpio = <&gpio0 17 GPIO_ACTIVE_HIGH>;
> +	};

-- 
Regards,

Laurent Pinchart




More information about the linux-arm-kernel mailing list