Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/tve200: Add DT bindings

This adds device tree bindings for the Faraday TVE200 IP block.
This IP block is present in the Gemini ARM SoC and also in some
Grain Media GMxxxx SoCs.

Cc: devicetree@vger.kernel.org
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20170820100557.24991-1-linus.walleij@linaro.org

+54
+54
Documentation/devicetree/bindings/display/faraday,tve200.txt
··· 1 + * Faraday TV Encoder TVE200 2 + 3 + Required properties: 4 + 5 + - compatible: must be one of: 6 + "faraday,tve200" 7 + "cortina,gemini-tvc", "faraday,tve200" 8 + 9 + - reg: base address and size of the control registers block 10 + 11 + - interrupts: contains an interrupt specifier for the interrupt 12 + line from the TVE200 13 + 14 + - clock-names: should contain "PCLK" for the clock line clocking the 15 + silicon and "TVE" for the 27MHz clock to the video driver 16 + 17 + - clocks: contains phandle and clock specifier pairs for the entries 18 + in the clock-names property. See 19 + Documentation/devicetree/bindings/clock/clock-bindings.txt 20 + 21 + Optional properties: 22 + 23 + - resets: contains the reset line phandle for the block 24 + 25 + Required sub-nodes: 26 + 27 + - port: describes LCD panel signals, following the common binding 28 + for video transmitter interfaces; see 29 + Documentation/devicetree/bindings/media/video-interfaces.txt 30 + This port should have the properties: 31 + reg = <0>; 32 + It should have one endpoint connected to a remote endpoint where 33 + the display is connected. 34 + 35 + Example: 36 + 37 + display-controller@6a000000 { 38 + #address-cells = <1>; 39 + #size-cells = <0>; 40 + compatible = "faraday,tve200"; 41 + reg = <0x6a000000 0x1000>; 42 + interrupts = <13 IRQ_TYPE_EDGE_RISING>; 43 + resets = <&syscon GEMINI_RESET_TVC>; 44 + clocks = <&syscon GEMINI_CLK_GATE_TVC>, 45 + <&syscon GEMINI_CLK_TVC>; 46 + clock-names = "PCLK", "TVE"; 47 + 48 + port@0 { 49 + reg = <0>; 50 + display_out: endpoint { 51 + remote-endpoint = <&panel_in>; 52 + }; 53 + }; 54 + };