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: ti,palmas-gpadc: Drop incomplete example

The example for the TI Palmas ADC is incomplete as the binding is the
full PMIC, not just the sub-functions. It is preferred for MFD examples
to be complete in the top-level MFD device binding rather than piecemeal
in each sub-function binding.

This also fixes an undocumented (by schema) compatible warning for
'"ti,twl6035-pmic", "ti,palmas-pmic"'.

Signed-off-by: Rob Herring <robh@kernel.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20231128214803.3975542-1-robh@kernel.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>

authored by

Rob Herring and committed by
Jonathan Cameron
a61b9a40 e737d495

-15
-15
Documentation/devicetree/bindings/iio/adc/ti,palmas-gpadc.yaml
··· 67 67 - compatible 68 68 - "#io-channel-cells" 69 69 70 - examples: 71 - - | 72 - #include <dt-bindings/clock/mt8183-clk.h> 73 - pmic { 74 - compatible = "ti,twl6035-pmic", "ti,palmas-pmic"; 75 - adc { 76 - compatible = "ti,palmas-gpadc"; 77 - interrupts = <18 0>, 78 - <16 0>, 79 - <17 0>; 80 - #io-channel-cells = <1>; 81 - ti,channel0-current-microamp = <5>; 82 - ti,channel3-current-microamp = <10>; 83 - }; 84 - }; 85 70 ...