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: iio: adc: samsung,exynos: Drop touchscreen support

With last user of touchscreen via ADC (S3C24xx SoC) gone, drop the
unused has-touchscreen property and optional touchscreen interrupt for
samsung,s3c6410-adc. The samsung,s5pv210-adc is the only platform
having two interrupts, so add a constrain for that.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://patch.msgid.link/20250830-s3c-cleanup-adc-v2-5-4f8299343d32@linaro.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>

authored by

Krzysztof Kozlowski and committed by
Jonathan Cameron
0f2aeee5 4a09265c

+11 -11
+11 -11
Documentation/devicetree/bindings/iio/adc/samsung,exynos-adc.yaml
··· 42 42 maxItems: 2 43 43 44 44 interrupts: 45 - description: 46 - ADC interrupt followed by optional touchscreen interrupt. 47 45 minItems: 1 48 46 maxItems: 2 49 47 ··· 55 57 description: 56 58 Phandle to the PMU system controller node (to access the ADC_PHY 57 59 register on Exynos3250/4x12/5250/5420/5800). 58 - 59 - has-touchscreen: 60 - description: 61 - If present, indicates that a touchscreen is connected and usable. 62 - type: boolean 63 60 64 61 required: 65 62 - compatible ··· 107 114 - const: adc 108 115 109 116 - if: 110 - required: 111 - - has-touchscreen 117 + properties: 118 + compatible: 119 + contains: 120 + const: samsung,s5pv210-adc 112 121 then: 113 122 properties: 114 123 interrupts: 115 - minItems: 2 116 - maxItems: 2 124 + items: 125 + - description: main (ADC) 126 + - description: pending (PENDN) 127 + else: 128 + properties: 129 + interrupts: 130 + maxItems: 1 117 131 118 132 examples: 119 133 - |