summaryrefslogtreecommitdiffstats
path: root/dts/Bindings/media/meson-ao-cec.txt
blob: ad92ee41c0dd2de4a0a70054f27128f67d0deeaf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
* Amlogic Meson AO-CEC driver

The Amlogic Meson AO-CEC module is present is Amlogic SoCs and its purpose is
to handle communication between HDMI connected devices over the CEC bus.

Required properties:
  - compatible : value should be following depending on the SoC :
	For GXBB, GXL, GXM, G12A and SM1 (AO_CEC_A module) :
	"amlogic,meson-gx-ao-cec"
	For G12A (AO_CEC_B module) :
	"amlogic,meson-g12a-ao-cec"
	For SM1 (AO_CEC_B module) :
	"amlogic,meson-sm1-ao-cec"

  - reg : Physical base address of the IP registers and length of memory
	  mapped region.

  - interrupts : AO-CEC interrupt number to the CPU.
  - clocks : from common clock binding: handle to AO-CEC clock.
  - clock-names : from common clock binding, must contain :
		For GXBB, GXL, GXM, G12A and SM1 (AO_CEC_A module) :
		- "core"
		For G12A, SM1 (AO_CEC_B module) :
		- "oscin"
		corresponding to entry in the clocks property.
  - hdmi-phandle: phandle to the HDMI controller

Example:

cec_AO: cec@100 {
	compatible = "amlogic,meson-gx-ao-cec";
	reg = <0x0 0x00100 0x0 0x14>;
	interrupts = <GIC_SPI 199 IRQ_TYPE_EDGE_RISING>;
	clocks = <&clkc_AO CLKID_AO_CEC_32K>;
	clock-names = "core";
	hdmi-phandle = <&hdmi_tx>;
};