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

media: dt-bindings: media: Add Amlogic Meson AO-CEC bindings

The Amlogic SoCs embeds a standalone CEC Controller, this patch adds this
device bindings.

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>

authored by

Neil Armstrong and committed by
Mauro Carvalho Chehab
40aaf7c9 9c7ba1d7

+28
+28
Documentation/devicetree/bindings/media/meson-ao-cec.txt
··· 1 + * Amlogic Meson AO-CEC driver 2 + 3 + The Amlogic Meson AO-CEC module is present is Amlogic SoCs and its purpose is 4 + to handle communication between HDMI connected devices over the CEC bus. 5 + 6 + Required properties: 7 + - compatible : value should be following 8 + "amlogic,meson-gx-ao-cec" 9 + 10 + - reg : Physical base address of the IP registers and length of memory 11 + mapped region. 12 + 13 + - interrupts : AO-CEC interrupt number to the CPU. 14 + - clocks : from common clock binding: handle to AO-CEC clock. 15 + - clock-names : from common clock binding: must contain "core", 16 + corresponding to entry in the clocks property. 17 + - hdmi-phandle: phandle to the HDMI controller 18 + 19 + Example: 20 + 21 + cec_AO: cec@100 { 22 + compatible = "amlogic,meson-gx-ao-cec"; 23 + reg = <0x0 0x00100 0x0 0x14>; 24 + interrupts = <GIC_SPI 199 IRQ_TYPE_EDGE_RISING>; 25 + clocks = <&clkc_AO CLKID_AO_CEC_32K>; 26 + clock-names = "core"; 27 + hdmi-phandle = <&hdmi_tx>; 28 + };