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: 55 power-domains: 56 maxItems: 1 56 maxItems: 1 57 57 58 required: 58 required: 59 - compatible 59 - compatible 60 - reg 60 - reg 61 - interrupts 61 - interrupts 62 - clocks 62 - clocks 63 - clock-names 63 - clock-names 64 64 65 additionalProperties: false 65 additionalProperties: false 66 66 67 examples: 67 examples: 68 - | 68 - | 69 #include <dt-bindings/interrupt-controller 69 #include <dt-bindings/interrupt-controller/arm-gic.h> 70 70 71 tscadc@0 { 71 tscadc@0 { 72 compatible = "ti,am3359-tscadc"; 72 compatible = "ti,am3359-tscadc"; 73 reg = <0x0 0x1000>; 73 reg = <0x0 0x1000>; 74 interrupts = <GIC_SPI 16 IRQ_TYPE_LEVE 74 interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>; 75 clocks = <&adc_tsc_fck>; 75 clocks = <&adc_tsc_fck>; 76 clock-names = "fck"; 76 clock-names = "fck"; 77 dmas = <&edma 53 0>, <&edma 57 0>; 77 dmas = <&edma 53 0>, <&edma 57 0>; 78 dma-names = "fifo0", "fifo1"; 78 dma-names = "fifo0", "fifo1"; 79 79 80 tsc { 80 tsc { 81 }; 81 }; 82 82 83 adc { 83 adc { 84 }; 84 }; 85 }; 85 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.