xref: /linux/Documentation/devicetree/bindings/media/amlogic,meson6-ir.yaml (revision 0ea5c948cb64bab5bc7a5516774eb8536f05aa0d)
12653fad0SNeil Armstrong# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
22653fad0SNeil Armstrong%YAML 1.2
32653fad0SNeil Armstrong---
42653fad0SNeil Armstrong$id: http://devicetree.org/schemas/media/amlogic,meson6-ir.yaml#
52653fad0SNeil Armstrong$schema: http://devicetree.org/meta-schemas/core.yaml#
62653fad0SNeil Armstrong
72653fad0SNeil Armstrongtitle: Amlogic Meson IR remote control receiver
82653fad0SNeil Armstrong
92653fad0SNeil Armstrongmaintainers:
102653fad0SNeil Armstrong  - Neil Armstrong <neil.armstrong@linaro.org>
112653fad0SNeil Armstrong
122653fad0SNeil ArmstrongallOf:
132653fad0SNeil Armstrong  - $ref: rc.yaml#
142653fad0SNeil Armstrong
152653fad0SNeil Armstrongproperties:
162653fad0SNeil Armstrong  compatible:
172653fad0SNeil Armstrong    oneOf:
182653fad0SNeil Armstrong      - enum:
192653fad0SNeil Armstrong          - amlogic,meson6-ir
202653fad0SNeil Armstrong          - amlogic,meson8b-ir
212653fad0SNeil Armstrong          - amlogic,meson-gxbb-ir
22*5e05f204SZelong Dong          - amlogic,meson-s4-ir
232653fad0SNeil Armstrong      - items:
242653fad0SNeil Armstrong          - const: amlogic,meson-gx-ir
252653fad0SNeil Armstrong          - const: amlogic,meson-gxbb-ir
262653fad0SNeil Armstrong
272653fad0SNeil Armstrong  reg:
282653fad0SNeil Armstrong    maxItems: 1
292653fad0SNeil Armstrong
302653fad0SNeil Armstrong  interrupts:
312653fad0SNeil Armstrong    maxItems: 1
322653fad0SNeil Armstrong
332653fad0SNeil Armstrongrequired:
342653fad0SNeil Armstrong  - compatible
352653fad0SNeil Armstrong  - reg
362653fad0SNeil Armstrong  - interrupts
372653fad0SNeil Armstrong
382653fad0SNeil ArmstrongunevaluatedProperties: false
392653fad0SNeil Armstrong
402653fad0SNeil Armstrongexamples:
412653fad0SNeil Armstrong  - |
422653fad0SNeil Armstrong    #include <dt-bindings/interrupt-controller/irq.h>
432653fad0SNeil Armstrong    #include <dt-bindings/interrupt-controller/arm-gic.h>
442653fad0SNeil Armstrong    ir-receiver@c8100480 {
452653fad0SNeil Armstrong        compatible = "amlogic,meson6-ir";
462653fad0SNeil Armstrong        reg = <0xc8100480 0x20>;
472653fad0SNeil Armstrong        interrupts = <GIC_SPI 15 IRQ_TYPE_EDGE_RISING>;
482653fad0SNeil Armstrong    };
49