lkml.org 
[lkml]   [2020]   [Dec]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 5.4 110/453] arm64: dts: exynos: Include common syscon restart/poweroff for Exynos7
    Date
    From: Paweł Chmiel <pawel.mikolaj.chmiel@gmail.com>

    [ Upstream commit 73bc7510ea0dafb4ff1ae6808759627a8ec51f5a ]

    Exynos7 uses the same syscon reboot and poweroff nodes as other Exynos
    SoCs, so instead of duplicating code we can just include common dtsi
    file, which already contains definitions of them. After this change,
    poweroff node will be also available, previously this dts file did
    contain only reboot node.

    Fixes: fb026cb65247 ("arm64: dts: Add reboot node for exynos7")
    Fixes: b9024cbc937d ("arm64: dts: Add initial device tree support for exynos7")
    Signed-off-by: Paweł Chmiel <pawel.mikolaj.chmiel@gmail.com>
    Link: https://lore.kernel.org/r/20201107133926.37187-1-pawel.mikolaj.chmiel@gmail.com
    Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
    Signed-off-by: Sasha Levin <sashal@kernel.org>
    ---
    arch/arm64/boot/dts/exynos/exynos7.dtsi | 8 +-------
    1 file changed, 1 insertion(+), 7 deletions(-)

    diff --git a/arch/arm64/boot/dts/exynos/exynos7.dtsi b/arch/arm64/boot/dts/exynos/exynos7.dtsi
    index 0821489a874de..c5be82d48c986 100644
    --- a/arch/arm64/boot/dts/exynos/exynos7.dtsi
    +++ b/arch/arm64/boot/dts/exynos/exynos7.dtsi
    @@ -494,13 +494,6 @@
    pmu_system_controller: system-controller@105c0000 {
    compatible = "samsung,exynos7-pmu", "syscon";
    reg = <0x105c0000 0x5000>;
    -
    - reboot: syscon-reboot {
    - compatible = "syscon-reboot";
    - regmap = <&pmu_system_controller>;
    - offset = <0x0400>;
    - mask = <0x1>;
    - };
    };

    rtc: rtc@10590000 {
    @@ -650,3 +643,4 @@
    };

    #include "exynos7-pinctrl.dtsi"
    +#include "arm/exynos-syscon-restart.dtsi"
    --
    2.27.0


    \
     
     \ /
      Last update: 2020-12-28 17:10    [W:2.843 / U:0.048 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site