arm64: dts: qcom-qcs404: Add reset-cells to GCC node
authorAndy Gross <agross@kernel.org>
Sun, 9 Jun 2019 04:15:47 +0000 (23:15 -0500)
committerAndy Gross <agross@kernel.org>
Sun, 9 Jun 2019 04:21:21 +0000 (23:21 -0500)
This patch adds a reset-cells property to the gcc controller on the QCS404.
Without this in place, we get warnings like the following if nodes reference
a gcc reset:

arch/arm64/boot/dts/qcom/qcs404.dtsi:261.38-310.5: Warning (resets_property):
/soc@0/remoteproc@b00000: Missing property '#reset-cells' in node
/soc@0/clock-controller@1800000 or bad phandle (referred from resets[0])
  also defined at arch/arm64/boot/dts/qcom/qcs404-evb.dtsi:82.18-84.3
  DTC     arch/arm64/boot/dts/qcom/qcs404-evb-4000.dtb
arch/arm64/boot/dts/qcom/qcs404.dtsi:261.38-310.5: Warning (resets_property):
/soc@0/remoteproc@b00000: Missing property '#reset-cells' in node
/soc@0/clock-controller@1800000 or bad phandle (referred from resets[0])
  also defined at arch/arm64/boot/dts/qcom/qcs404-evb.dtsi:82.18-84.3

Signed-off-by: Andy Gross <agross@kernel.org>
arch/arm64/boot/dts/qcom/qcs404.dtsi

index 342788a5eda47bf6eff233bb4667f26479d0ec1b..086cadb89aeb2a5498fdd16fce99c52b7bbb3ebf 100644 (file)
                        compatible = "qcom,gcc-qcs404";
                        reg = <0x01800000 0x80000>;
                        #clock-cells = <1>;
+                       #reset-cells = <1>;
 
                        assigned-clocks = <&gcc GCC_APSS_AHB_CLK_SRC>;
                        assigned-clock-rates = <19200000>;