OSDN Git Service

dt-bindings: nvmem: qcom,spmi-sdam: fix example 'reg' property
authorJohan Hovold <johan+linaro@kernel.org>
Tue, 4 Apr 2023 17:21:10 +0000 (18:21 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Apr 2023 17:41:10 +0000 (19:41 +0200)
commit1ca28dc907b3725940fe88bfd91bc3a53081e2d3
tree8e9cb9f277517a997ea3896b89e5508851a3bf15
parentb19a4266c52de78496fe40f0b37580a3b762e67d
dt-bindings: nvmem: qcom,spmi-sdam: fix example 'reg' property

The SPMI PMIC register region width is fixed and should not be encoded
in the devicetree.

Amend the example with a parent pmic node with the expected
'#address-cells' and '#size-cells' and fix up the 'reg' property.

Fixes: 9664a6b54c57 ("dt-bindings: nvmem: add binding for QTI SPMI SDAM")
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20230404172148.82422-3-srinivas.kandagatla@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/devicetree/bindings/nvmem/qcom,spmi-sdam.yaml