[PATCH v3 3/5] arm64: dts: mediatek: Add mmsys #reset-cells property for mt8192

Allen-KH Cheng posted 5 patches 2 years, 4 months ago
[PATCH v3 3/5] arm64: dts: mediatek: Add mmsys #reset-cells property for mt8192
Posted by Allen-KH Cheng 2 years, 4 months ago
To support reset of mmsys, we include mt8192-resets.h and add
property of #reset-cells in mmsys.

Signed-off-by: Allen-KH Cheng <allen-kh.cheng@mediatek.com>
---
 arch/arm64/boot/dts/mediatek/mt8192.dtsi | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm64/boot/dts/mediatek/mt8192.dtsi b/arch/arm64/boot/dts/mediatek/mt8192.dtsi
index a789b7c9b2af..a997f34cc3ad 100644
--- a/arch/arm64/boot/dts/mediatek/mt8192.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt8192.dtsi
@@ -12,6 +12,7 @@
 #include <dt-bindings/pinctrl/mt8192-pinfunc.h>
 #include <dt-bindings/phy/phy.h>
 #include <dt-bindings/power/mt8192-power.h>
+#include <dt-bindings/reset/mt8192-resets.h>
 
 / {
 	compatible = "mediatek,mt8192";
@@ -1187,6 +1188,7 @@
 			compatible = "mediatek,mt8192-mmsys", "syscon";
 			reg = <0 0x14000000 0 0x1000>;
 			#clock-cells = <1>;
+			#reset-cells = <1>;
 		};
 
 		smi_common: smi@14002000 {
-- 
2.18.0
Re: [PATCH v3 3/5] arm64: dts: mediatek: Add mmsys #reset-cells property for mt8192
Posted by Nícolas F. R. A. Prado 2 years, 3 months ago
On Tue, Jul 12, 2022 at 07:40:44PM +0800, Allen-KH Cheng wrote:
> To support reset of mmsys, we include mt8192-resets.h and add
> property of #reset-cells in mmsys.
> 
> Signed-off-by: Allen-KH Cheng <allen-kh.cheng@mediatek.com>

Reviewed-by: Nícolas F. R. A. Prado <nfraprado@collabora.com>
Re: [PATCH v3 3/5] arm64: dts: mediatek: Add mmsys #reset-cells property for mt8192
Posted by AngeloGioacchino Del Regno 2 years, 4 months ago
Il 12/07/22 13:40, Allen-KH Cheng ha scritto:
> To support reset of mmsys, we include mt8192-resets.h and add
> property of #reset-cells in mmsys.
> 
> Signed-off-by: Allen-KH Cheng <allen-kh.cheng@mediatek.com>

Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>