Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

dt-bindings: mfd: ti,am3359-tscadc: Add a yaml description for this MFD

There is a very light description of this MFD in a text file dedicated
to a touchscreen controller (which is one of the two children of the
MFD). Here is now a complete yaml description.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Link: https://lore.kernel.org/r/20211015081506.933180-3-miquel.raynal@bootlin.com

authored by

Miquel Raynal and committed by
Lee Jones
96f4799a 59139ada

+79
+79
Documentation/devicetree/bindings/mfd/ti,am3359-tscadc.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/mfd/ti,am3359-tscadc.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: TI AM3359 Touchscreen controller/ADC 8 + 9 + maintainers: 10 + - Miquel Raynal <miquel.raynal@bootlin.com> 11 + 12 + properties: 13 + compatible: 14 + oneOf: 15 + - const: ti,am3359-tscadc 16 + - items: 17 + - const: ti,am654-tscadc 18 + - const: ti,am3359-tscadc 19 + 20 + reg: 21 + maxItems: 1 22 + 23 + interrupts: 24 + maxItems: 1 25 + 26 + clocks: 27 + maxItems: 1 28 + 29 + clock-names: 30 + const: fck 31 + 32 + dmas: 33 + items: 34 + - description: DMA controller phandle and request line for FIFO0 35 + - description: DMA controller phandle and request line for FIFO1 36 + 37 + dma-names: 38 + items: 39 + - const: fifo0 40 + - const: fifo1 41 + 42 + adc: 43 + type: object 44 + description: ADC child 45 + 46 + tsc: 47 + type: object 48 + description: Touchscreen controller child 49 + 50 + required: 51 + - compatible 52 + - reg 53 + - interrupts 54 + - clocks 55 + - clock-names 56 + - dmas 57 + - dma-names 58 + 59 + additionalProperties: false 60 + 61 + examples: 62 + - | 63 + #include <dt-bindings/interrupt-controller/arm-gic.h> 64 + 65 + tscadc@0 { 66 + compatible = "ti,am3359-tscadc"; 67 + reg = <0x0 0x1000>; 68 + interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>; 69 + clocks = <&adc_tsc_fck>; 70 + clock-names = "fck"; 71 + dmas = <&edma 53 0>, <&edma 57 0>; 72 + dma-names = "fifo0", "fifo1"; 73 + 74 + tsc { 75 + }; 76 + 77 + adc { 78 + }; 79 + };