| 
     1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
    2 
    3 %YAML 1.2
    4 ---
    5 $id: "http://devicetree.org/schemas/media/amlogic,meson-ir-tx.yaml#"
    6 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
    7 
    8 title: Amlogic Meson IR transmitter
    9 
   10 maintainers:
   11   - Viktor Prutyanov <viktor.prutyanov@phystech.edu>
   12 
   13 description: |
   14   Some Amlogic SoCs such as A311D and T950D4 have IR transmitter
   15   (also called blaster) controller onboard. It is capable of
   16   sending IR signals with arbitrary carrier frequency and duty cycle.
   17 
   18 properties:
   19   compatible:
   20     oneOf:
   21       - const: amlogic,meson-ir-tx
   22       - items:
   23           - const: amlogic,meson-g12a-ir-tx
   24           - const: amlogic,meson-ir-tx
   25 
   26   reg:
   27     maxItems: 1
   28 
   29   interrupts:
   30     maxItems: 1
   31 
   32   clocks:
   33     maxItems: 2
   34 
   35   clock-names:
   36     items:
   37       - const: sysclk
   38       - const: xtal
   39 
   40 required:
   41   - compatible
   42   - reg
   43   - interrupts
   44   - clocks
   45   - clock-names
   46 
   47 additionalProperties: false
   48 
   49 examples:
   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     };
Cache object: cec14e2f99018dd1a43fd72fe21fefd1 
 
 |