* [PATCH 2/4] arm64: dts: rockchip: Arch counter doesn't tick in system suspend [not found] ` <1479807866-6957-1-git-send-email-daniel.lezcano-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org> @ 2016-11-22 9:44 ` Daniel Lezcano [not found] ` <1479807866-6957-2-git-send-email-daniel.lezcano-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org> 0 siblings, 1 reply; 2+ messages in thread From: Daniel Lezcano @ 2016-11-22 9:44 UTC (permalink / raw) To: tglx-hfZtesqFncYOwBW4kG4KsQ Cc: linux-kernel-u79uwXL29TY76Z2rM5mHXA, Brian Norris, Rob Herring, Mark Rutland, Catalin Marinas, Will Deacon, Heiko Stuebner, Douglas Anderson, Caesar Wang, Shawn Lin, Xing Zheng, Jianqun Xu, Elaine Zhang, David Wu, open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS, moderated list:ARM64 PORT AARCH64 ARCHITECTURE, open list:ARM/Rock From: Brian Norris <briannorris-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org> The "arm,no-tick-in-suspend" property was introduced to note implementations where the system counter does not quite follow the ARM specification that it "must be implemented in an always-on power domain". Particularly, RK3399's counter stops ticking when we switch from the 24MHz clock to the 32KHz clock in low-power suspend, so let's mark it as such. Signed-off-by: Brian Norris <briannorris-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org> Reviewed-by: Douglas Anderson <dianders-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org> Signed-off-by: Daniel Lezcano <daniel.lezcano-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org> --- arch/arm64/boot/dts/rockchip/rk3399.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi b/arch/arm64/boot/dts/rockchip/rk3399.dtsi index b65c193..d85b651 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399.dtsi @@ -174,6 +174,7 @@ <GIC_PPI 14 IRQ_TYPE_LEVEL_LOW 0>, <GIC_PPI 11 IRQ_TYPE_LEVEL_LOW 0>, <GIC_PPI 10 IRQ_TYPE_LEVEL_LOW 0>; + arm,no-tick-in-suspend; }; xin24m: xin24m { -- 2.7.4 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply related [flat|nested] 2+ messages in thread
[parent not found: <1479807866-6957-2-git-send-email-daniel.lezcano-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>]
* Re: [PATCH 2/4] arm64: dts: rockchip: Arch counter doesn't tick in system suspend [not found] ` <1479807866-6957-2-git-send-email-daniel.lezcano-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org> @ 2016-11-22 15:02 ` Heiko Stübner 0 siblings, 0 replies; 2+ messages in thread From: Heiko Stübner @ 2016-11-22 15:02 UTC (permalink / raw) To: Daniel Lezcano Cc: tglx-hfZtesqFncYOwBW4kG4KsQ, linux-kernel-u79uwXL29TY76Z2rM5mHXA, Brian Norris, Rob Herring, Mark Rutland, Catalin Marinas, Will Deacon, Douglas Anderson, Caesar Wang, Shawn Lin, Xing Zheng, Jianqun Xu, Elaine Zhang, David Wu, open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS, moderated list:ARM64 PORT (AARCH64 ARCHITECTURE), open list:ARM/Rockchip SoC support Am Dienstag, 22. November 2016, 10:44:22 schrieb Daniel Lezcano: > From: Brian Norris <briannorris-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org> > > The "arm,no-tick-in-suspend" property was introduced to note > implementations where the system counter does not quite follow the ARM > specification that it "must be implemented in an always-on power > domain". > > Particularly, RK3399's counter stops ticking when we switch from the > 24MHz clock to the 32KHz clock in low-power suspend, so let's mark it as > such. > > Signed-off-by: Brian Norris <briannorris-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org> > Reviewed-by: Douglas Anderson <dianders-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org> > Signed-off-by: Daniel Lezcano <daniel.lezcano-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org> not sure if needed, but anyway Acked-by: Heiko Stuebner <heiko-4mtYJXux2i+zQB+pC5nmwQ@public.gmane.org> > --- > arch/arm64/boot/dts/rockchip/rk3399.dtsi | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi > b/arch/arm64/boot/dts/rockchip/rk3399.dtsi index b65c193..d85b651 100644 > --- a/arch/arm64/boot/dts/rockchip/rk3399.dtsi > +++ b/arch/arm64/boot/dts/rockchip/rk3399.dtsi > @@ -174,6 +174,7 @@ > <GIC_PPI 14 IRQ_TYPE_LEVEL_LOW 0>, > <GIC_PPI 11 IRQ_TYPE_LEVEL_LOW 0>, > <GIC_PPI 10 IRQ_TYPE_LEVEL_LOW 0>; > + arm,no-tick-in-suspend; > }; > > xin24m: xin24m { -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-11-22 15:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20161122094300.GA2017@mai>
[not found] ` <1479807866-6957-1-git-send-email-daniel.lezcano@linaro.org>
[not found] ` <1479807866-6957-1-git-send-email-daniel.lezcano-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2016-11-22 9:44 ` [PATCH 2/4] arm64: dts: rockchip: Arch counter doesn't tick in system suspend Daniel Lezcano
[not found] ` <1479807866-6957-2-git-send-email-daniel.lezcano-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2016-11-22 15:02 ` Heiko Stübner
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox