arm64: qcom: qcs404: Add reset-cells to GCC node
authorAndy Gross <agross@kernel.org>
Sun, 9 Jun 2019 04:19:32 +0000 (23:19 -0500)
committerOlof Johansson <olof@lixom.net>
Wed, 19 Jun 2019 13:17:54 +0000 (06:17 -0700)
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>
Reviewed-by: Niklas Cassel <niklas.cassel@linaro.org>
Reviewed-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Olof Johansson <olof@lixom.net>
arch/arm64/boot/dts/qcom/qcs404.dtsi

index ffedf9640af7dd081e307a36e3e01db09f81116d..65a2cbeb28bec90b420947ca11e50c6b86d128f0 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>;