1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-C 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2 # Copyright 2019 BayLibre, SAS 2 # Copyright 2019 BayLibre, SAS 3 %YAML 1.2 3 %YAML 1.2 4 --- 4 --- 5 $id: http://devicetree.org/schemas/media/cec/a 5 $id: http://devicetree.org/schemas/media/cec/amlogic,meson-gx-ao-cec.yaml# 6 $schema: http://devicetree.org/meta-schemas/co 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 7 8 title: Amlogic Meson AO-CEC Controller 8 title: Amlogic Meson AO-CEC Controller 9 9 10 maintainers: 10 maintainers: 11 - Neil Armstrong <neil.armstrong@linaro.org> 11 - Neil Armstrong <neil.armstrong@linaro.org> 12 12 13 description: | 13 description: | 14 The Amlogic Meson AO-CEC module is present i 14 The Amlogic Meson AO-CEC module is present is Amlogic SoCs and its purpose is 15 to handle communication between HDMI connect 15 to handle communication between HDMI connected devices over the CEC bus. 16 16 17 properties: 17 properties: 18 compatible: 18 compatible: 19 enum: 19 enum: 20 - amlogic,meson-gx-ao-cec # GXBB, GXL, G 20 - amlogic,meson-gx-ao-cec # GXBB, GXL, GXM, G12A and SM1 AO_CEC_A module 21 - amlogic,meson-g12a-ao-cec # G12A AO_CE 21 - amlogic,meson-g12a-ao-cec # G12A AO_CEC_B module 22 - amlogic,meson-sm1-ao-cec # SM1 AO_CEC_ 22 - amlogic,meson-sm1-ao-cec # SM1 AO_CEC_B module 23 23 24 reg: 24 reg: 25 maxItems: 1 25 maxItems: 1 26 26 27 clocks: 27 clocks: 28 maxItems: 1 28 maxItems: 1 29 29 30 clock-names: 30 clock-names: 31 maxItems: 1 31 maxItems: 1 32 32 33 interrupts: 33 interrupts: 34 maxItems: 1 34 maxItems: 1 35 35 36 allOf: 36 allOf: 37 - $ref: cec-common.yaml# 37 - $ref: cec-common.yaml# 38 - if: 38 - if: 39 properties: 39 properties: 40 compatible: 40 compatible: 41 contains: 41 contains: 42 enum: 42 enum: 43 - amlogic,meson-gx-ao-cec 43 - amlogic,meson-gx-ao-cec 44 44 45 then: 45 then: 46 properties: 46 properties: 47 clocks: 47 clocks: 48 items: 48 items: 49 - description: AO-CEC clock 49 - description: AO-CEC clock 50 50 51 clock-names: 51 clock-names: 52 items: 52 items: 53 - const: core 53 - const: core 54 54 55 - if: 55 - if: 56 properties: 56 properties: 57 compatible: 57 compatible: 58 contains: 58 contains: 59 enum: 59 enum: 60 - amlogic,meson-g12a-ao-cec 60 - amlogic,meson-g12a-ao-cec 61 - amlogic,meson-sm1-ao-cec 61 - amlogic,meson-sm1-ao-cec 62 62 63 then: 63 then: 64 properties: 64 properties: 65 clocks: 65 clocks: 66 items: 66 items: 67 - description: AO-CEC clock genera 67 - description: AO-CEC clock generator source 68 68 69 clock-names: 69 clock-names: 70 items: 70 items: 71 - const: oscin 71 - const: oscin 72 72 73 required: 73 required: 74 - compatible 74 - compatible 75 - reg 75 - reg 76 - interrupts 76 - interrupts 77 - hdmi-phandle 77 - hdmi-phandle 78 - clocks 78 - clocks 79 - clock-names 79 - clock-names 80 80 81 unevaluatedProperties: false 81 unevaluatedProperties: false 82 82 83 examples: 83 examples: 84 - | 84 - | 85 cec_AO: cec@100 { 85 cec_AO: cec@100 { 86 compatible = "amlogic,meson-gx-ao-cec" 86 compatible = "amlogic,meson-gx-ao-cec"; 87 reg = <0x00100 0x14>; 87 reg = <0x00100 0x14>; 88 interrupts = <199>; 88 interrupts = <199>; 89 clocks = <&clkc_cec>; 89 clocks = <&clkc_cec>; 90 clock-names = "core"; 90 clock-names = "core"; 91 hdmi-phandle = <&hdmi_tx>; 91 hdmi-phandle = <&hdmi_tx>; 92 }; 92 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.