drm: add bindings for simple vga encoders
From: Heiko Stuebner <heiko@...> Date: Fri, 30 Jan 2015 18:00:12 +0100
Commit-Message
Add the necessary devicetree binding document for simple vga encoders. Signed-off-by: Heiko Stuebner <heiko@...>
Patch-Comment
.../devicetree/bindings/drm/i2c/vga-simple.txt | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Documentation/devicetree/bindings/drm/i2c/vga-simple.txt
Statistics
- 18 lines added
- 0 lines removed
Changes
----------- Documentation/devicetree/bindings/drm/i2c/vga-simple.txt -----------
new file mode 100644
index 0000000..271df9a
@@ -0,0 +1,18 @@
+Device-Tree bindings for generic vga encoders
+
+Required properties;
+ - compatible: must be "adi,adv7123"
+
+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>;
+ };