Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/display/mediatek/mediatek,hdmi-ddc.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: Mediatek HDMI DDC Device Tree Bindings
0008 
0009 maintainers:
0010   - CK Hu <ck.hu@mediatek.com>
0011   - Jitao shi <jitao.shi@mediatek.com>
0012 
0013 description: |
0014   The HDMI DDC i2c controller is used to interface with the HDMI DDC pins.
0015 
0016 properties:
0017   compatible:
0018     enum:
0019       - mediatek,mt7623-hdmi-ddc
0020       - mediatek,mt8167-hdmi-ddc
0021       - mediatek,mt8173-hdmi-ddc
0022 
0023   reg:
0024     maxItems: 1
0025 
0026   interrupts:
0027     maxItems: 1
0028 
0029   clocks:
0030     maxItems: 1
0031 
0032   clock-names:
0033     items:
0034       - const: ddc-i2c
0035 
0036 required:
0037   - compatible
0038   - reg
0039   - interrupts
0040   - clocks
0041   - clock-names
0042 
0043 additionalProperties: false
0044 
0045 examples:
0046   - |
0047     #include <dt-bindings/clock/mt8173-clk.h>
0048     #include <dt-bindings/interrupt-controller/arm-gic.h>
0049     #include <dt-bindings/interrupt-controller/irq.h>
0050     hdmi_ddc0: i2c@11012000 {
0051         compatible = "mediatek,mt8173-hdmi-ddc";
0052         reg = <0x11012000 0x1c>;
0053         interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_LOW>;
0054         clocks = <&pericfg CLK_PERI_I2C5>;
0055         clock-names = "ddc-i2c";
0056     };
0057 
0058 ...