Merge tag 'asoc-fix-v5.4-rc4' of https://git.kernel.org/pub/scm/linux/kernel/git...
[sfrench/cifs-2.6.git] / 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 depending on the SoC :
8         For GXBB, GXL, GXM, G12A and SM1 (AO_CEC_A module) :
9         "amlogic,meson-gx-ao-cec"
10         For G12A (AO_CEC_B module) :
11         "amlogic,meson-g12a-ao-cec"
12         For SM1 (AO_CEC_B module) :
13         "amlogic,meson-sm1-ao-cec"
14
15   - reg : Physical base address of the IP registers and length of memory
16           mapped region.
17
18   - interrupts : AO-CEC interrupt number to the CPU.
19   - clocks : from common clock binding: handle to AO-CEC clock.
20   - clock-names : from common clock binding, must contain :
21                 For GXBB, GXL, GXM, G12A and SM1 (AO_CEC_A module) :
22                 - "core"
23                 For G12A, SM1 (AO_CEC_B module) :
24                 - "oscin"
25                 corresponding to entry in the clocks property.
26   - hdmi-phandle: phandle to the HDMI controller
27
28 Example:
29
30 cec_AO: cec@100 {
31         compatible = "amlogic,meson-gx-ao-cec";
32         reg = <0x0 0x00100 0x0 0x14>;
33         interrupts = <GIC_SPI 199 IRQ_TYPE_EDGE_RISING>;
34         clocks = <&clkc_AO CLKID_AO_CEC_32K>;
35         clock-names = "core";
36         hdmi-phandle = <&hdmi_tx>;
37 };