summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Kaehlcke <mka@chromium.org>2018-09-06 14:04:52 -0700
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2018-09-08 15:12:35 +0100
commit7ac346823bbb284e9e66a3d4044c108b99c7149c (patch)
tree49acc04da86186bb39a4b53fc0f8c27a0129cc3c
parent6cfdb150e3fca6cd84a79116451071d6f3759946 (diff)
downloadlinux-stable-7ac346823bbb284e9e66a3d4044c108b99c7149c.tar.gz
linux-stable-7ac346823bbb284e9e66a3d4044c108b99c7149c.tar.bz2
linux-stable-7ac346823bbb284e9e66a3d4044c108b99c7149c.zip
dt-bindings: iio: vadc: Fix documentation of 'reg'
The documentation of Qualcomm's SPMI PMIC voltage ADC claims that the 'reg' property consists of two values, the SPMI address and the length of the controller's registers. However the SPMI bus to which it is added specifies "#size-cells = <0>;". Remove the controller register length from the documentation of the field and the example. Signed-off-by: Matthias Kaehlcke <mka@chromium.org> Reviewed-by: Douglas Anderson <dianders@chromium.org> Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
-rw-r--r--Documentation/devicetree/bindings/iio/adc/qcom,spmi-vadc.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/devicetree/bindings/iio/adc/qcom,spmi-vadc.txt b/Documentation/devicetree/bindings/iio/adc/qcom,spmi-vadc.txt
index 8498f11d06cd..b3c86f4ac7cd 100644
--- a/Documentation/devicetree/bindings/iio/adc/qcom,spmi-vadc.txt
+++ b/Documentation/devicetree/bindings/iio/adc/qcom,spmi-vadc.txt
@@ -17,7 +17,7 @@ VADC node:
- reg:
Usage: required
Value type: <prop-encoded-array>
- Definition: VADC base address and length in the SPMI PMIC register map.
+ Definition: VADC base address in the SPMI PMIC register map.
- #address-cells:
Usage: required
@@ -143,7 +143,7 @@ Example:
/* VADC node */
pmic_vadc: vadc@3100 {
compatible = "qcom,spmi-vadc";
- reg = <0x3100 0x100>;
+ reg = <0x3100>;
interrupts = <0x0 0x31 0x0 IRQ_TYPE_EDGE_RISING>;
#address-cells = <1>;
#size-cells = <0>;