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

[media] dt-bindings: media: stm32 cec driver

Add bindings documentation for stm32 CEC driver.

Signed-off-by: Benjamin Gaignard <benjamin.gaignard@linaro.org>
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

Benjamin Gaignard and committed by
Mauro Carvalho Chehab
1abbc60d 47f910f0

+19
+19
Documentation/devicetree/bindings/media/st,stm32-cec.txt
··· 1 + STMicroelectronics STM32 CEC driver 2 + 3 + Required properties: 4 + - compatible : value should be "st,stm32-cec" 5 + - reg : Physical base address of the IP registers and length of memory 6 + mapped region. 7 + - clocks : from common clock binding: handle to CEC clocks 8 + - clock-names : from common clock binding: must be "cec" and "hdmi-cec". 9 + - interrupts : CEC interrupt number to the CPU. 10 + 11 + Example for stm32f746: 12 + 13 + cec: cec@40006c00 { 14 + compatible = "st,stm32-cec"; 15 + reg = <0x40006C00 0x400>; 16 + interrupts = <94>; 17 + clocks = <&rcc 0 STM32F7_APB1_CLOCK(CEC)>, <&rcc 1 CLK_HDMI_CEC>; 18 + clock-names = "cec", "hdmi-cec"; 19 + };