1 # SPDX-License-Identifier: (GPL-2.0-only OR BS 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/mfd/ti,am33 4 $id: http://devicetree.org/schemas/mfd/ti,am3359-tscadc.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: TI AM3359 Touchscreen controller/ADC 7 title: TI AM3359 Touchscreen controller/ADC 8 8 9 maintainers: 9 maintainers: 10 - Miquel Raynal <miquel.raynal@bootlin.com> 10 - Miquel Raynal <miquel.raynal@bootlin.com> 11 11 12 properties: 12 properties: 13 compatible: 13 compatible: 14 oneOf: 14 oneOf: 15 - const: ti,am3359-tscadc 15 - const: ti,am3359-tscadc 16 - items: 16 - items: 17 - const: ti,am654-tscadc 17 - const: ti,am654-tscadc 18 - const: ti,am3359-tscadc 18 - const: ti,am3359-tscadc 19 - const: ti,am4372-magadc 19 - const: ti,am4372-magadc 20 20 21 reg: 21 reg: 22 maxItems: 1 22 maxItems: 1 23 23 24 interrupts: 24 interrupts: 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 const: fck 31 const: fck 32 32 33 dmas: 33 dmas: 34 items: 34 items: 35 - description: DMA controller phandle an 35 - description: DMA controller phandle and request line for FIFO0 36 - description: DMA controller phandle an 36 - description: DMA controller phandle and request line for FIFO1 37 37 38 dma-names: 38 dma-names: 39 items: 39 items: 40 - const: fifo0 40 - const: fifo0 41 - const: fifo1 41 - const: fifo1 42 42 43 adc: 43 adc: 44 type: object 44 type: object 45 description: ADC child 45 description: ADC child 46 46 47 tsc: 47 tsc: 48 type: object 48 type: object 49 description: Touchscreen controller child 49 description: Touchscreen controller child 50 50 51 mag: 51 mag: 52 type: object 52 type: object 53 description: Magnetic reader 53 description: Magnetic reader 54 54 55 power-domains: << 56 maxItems: 1 << 57 << 58 required: 55 required: 59 - compatible 56 - compatible 60 - reg 57 - reg 61 - interrupts 58 - interrupts 62 - clocks 59 - clocks 63 - clock-names 60 - clock-names >> 61 - dmas >> 62 - dma-names 64 63 65 additionalProperties: false 64 additionalProperties: false 66 65 67 examples: 66 examples: 68 - | 67 - | 69 #include <dt-bindings/interrupt-controller 68 #include <dt-bindings/interrupt-controller/arm-gic.h> 70 69 71 tscadc@0 { 70 tscadc@0 { 72 compatible = "ti,am3359-tscadc"; 71 compatible = "ti,am3359-tscadc"; 73 reg = <0x0 0x1000>; 72 reg = <0x0 0x1000>; 74 interrupts = <GIC_SPI 16 IRQ_TYPE_LEVE 73 interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>; 75 clocks = <&adc_tsc_fck>; 74 clocks = <&adc_tsc_fck>; 76 clock-names = "fck"; 75 clock-names = "fck"; 77 dmas = <&edma 53 0>, <&edma 57 0>; 76 dmas = <&edma 53 0>, <&edma 57 0>; 78 dma-names = "fifo0", "fifo1"; 77 dma-names = "fifo0", "fifo1"; 79 78 80 tsc { 79 tsc { 81 }; 80 }; 82 81 83 adc { 82 adc { 84 }; 83 }; 85 }; 84 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.