brintos

brintos / linux-shallow public Read only

0
0
Text · 1.3 KiB · 377acce Raw
61 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2 3%YAML 1.24---5$id: http://devicetree.org/schemas/media/amlogic,meson-ir-tx.yaml#6$schema: http://devicetree.org/meta-schemas/core.yaml#7 8title: Amlogic Meson IR transmitter9 10maintainers:11  - Viktor Prutyanov <viktor.prutyanov@phystech.edu>12 13description: |14  Some Amlogic SoCs such as A311D and T950D4 have IR transmitter15  (also called blaster) controller onboard. It is capable of16  sending IR signals with arbitrary carrier frequency and duty cycle.17 18properties:19  compatible:20    oneOf:21      - const: amlogic,meson-ir-tx22      - items:23          - const: amlogic,meson-g12a-ir-tx24          - const: amlogic,meson-ir-tx25 26  reg:27    maxItems: 128 29  interrupts:30    maxItems: 131 32  clocks:33    maxItems: 234 35  clock-names:36    items:37      - const: sysclk38      - const: xtal39 40required:41  - compatible42  - reg43  - interrupts44  - clocks45  - clock-names46 47additionalProperties: false48 49examples:50  - |51    #include <dt-bindings/interrupt-controller/irq.h>52    #include <dt-bindings/clock/g12a-clkc.h>53 54    ir@ff80014c {55      compatible = "amlogic,meson-g12a-ir-tx", "amlogic,meson-ir-tx";56      reg = <0xff80014c 0x10>;57      interrupts = <0 198 IRQ_TYPE_EDGE_RISING>;58      clocks = <&clkc CLKID_CLK81>, <&xtal>;59      clock-names = "sysclk", "xtal";60    };61