Message ID | 1527058129-10260-1-git-send-email-zhangqing@rock-chips.com |
---|---|
Headers | show |
Series | add power domain support for Rockchip Socs | expand |
On 23 May 2018 at 08:48, Elaine Zhang <zhangqing@rock-chips.com> wrote: > add power domain support for RK3036/RK3128/RK3228/PX30 Soc. > fix up the wrong value when set power domain up. > > Change in V2: > Fix up the commit message description and Assign author. > > Change in V3: > [PATCH 01/13]: The Copyright description use SPDX tag instead. > [PATCH 05/13]: The Copyright description use SPDX tag instead. > [PATCH 08/13]: The Copyright description use SPDX tag instead. > [PATCH 11/13]: The Copyright description use SPDX tag instead. > > Caesar Wang (3): > dt-bindings: power: add RK3036 SoCs header for power-domain > dt-bindings: add binding for rk3036 power domains > Soc: rockchip: power-domain: add power domain support for rk3036 > > Elaine Zhang (6): > dt-bindings: power: add RK3128 SoCs header for power-domain > dt-bindings: add binding for rk3128 power domains > soc: rockchip: power-domain: add power domain support for rk3128 > dt-bindings: power: add RK3228 SoCs header for power-domain > dt-bindings: add binding for rk3228 power domains > soc: rockchip: power-domain: add power domain support for rk3228 > > Finley Xiao (4): > soc: rockchip: power-domain: Fix wrong value when power up pd > dt-bindings: power: add PX30 SoCs header for power-domain > dt-bindings: add binding for px30 power domains > soc: rockchip: power-domain: add power domain support for px30 > > .../bindings/soc/rockchip/power_domain.txt | 12 +++ > drivers/soc/rockchip/pm_domains.c | 116 ++++++++++++++++++++- > include/dt-bindings/power/px30-power.h | 27 +++++ > include/dt-bindings/power/rk3036-power.h | 13 +++ > include/dt-bindings/power/rk3128-power.h | 14 +++ > include/dt-bindings/power/rk3228-power.h | 21 ++++ > 6 files changed, 202 insertions(+), 1 deletion(-) > create mode 100644 include/dt-bindings/power/px30-power.h > create mode 100644 include/dt-bindings/power/rk3036-power.h > create mode 100644 include/dt-bindings/power/rk3128-power.h > create mode 100644 include/dt-bindings/power/rk3228-power.h > > -- > 1.9.1 > > Seems like the changes in v3 is very small, so feel free to add, for the series: Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org> Kind regards Uffe -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Am Mittwoch, 23. Mai 2018, 08:48:39 CEST schrieb Elaine Zhang: > From: Caesar Wang <wxt@rock-chips.com> > > This driver is modified to support RK3036 SoC. > > Signed-off-by: Caesar Wang <wxt@rock-chips.com> > Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com> > @@ -102,6 +103,14 @@ struct rockchip_pmu { > .ack_mask = (ack >= 0) ? BIT(ack) : 0, \ > .active_wakeup = wakeup, \ > } I've added a blank line here, made "Soc" in the subject lower case and applied it for 4.18 or 4.19 (not sure yet). Thanks Heiko > +#define DOMAIN_RK3036(req, ack, idle, wakeup) \ > +{ \ > + .req_mask = (req >= 0) ? BIT(req) : 0, \ > + .req_w_mask = (req >= 0) ? BIT(req + 16) : 0, \ > + .ack_mask = (ack >= 0) ? BIT(ack) : 0, \ > + .idle_mask = (idle >= 0) ? BIT(idle) : 0, \ > + .active_wakeup = wakeup, \ > +} -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Am Mittwoch, 23. Mai 2018, 08:48:40 CEST schrieb Elaine Zhang: > From: Finley Xiao <finley.xiao@rock-chips.com> > > Solve the pd could only ever turn off but never turn them on again, > If the pd registers have the writemask bits. > > Fix up the code error for commit: > commit 79bb17ce8edb3141339b5882e372d0ec7346217c > Author: Elaine Zhang <zhangqing@rock-chips.com> > Date: Fri Dec 23 11:47:52 2016 +0800 > > soc: rockchip: power-domain: Support domain control in hiword-registers > > New Rockchips SoCs may have their power-domain control in registers > using a writemask-based access scheme (upper 16bit being the write > mask). So add a DOMAIN_M type and handle this case accordingly. > Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com> > Signed-off-by: Heiko Stuebner <heiko@sntech.de> > > Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com> > Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com> I've already applied that patch from v2. Heiko -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Am Mittwoch, 23. Mai 2018, 08:51:10 CEST schrieb Elaine Zhang: > This driver is modified to support RK3128 SoC. > > Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com> applied for 4.18 or 4.19 (not sure yet). Patch 8/13 had the licensing issue Rob pointed out, so while with your fixed SPDX tag everything should be fine, I'll give Rob the chance to look it over :-) Heiko -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Am Mittwoch, 23. Mai 2018, 08:52:03 CEST schrieb Elaine Zhang: > This driver is modified to support RK3228 SoC. > > Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com> applied for 4.18 (or later) Thanks Heiko -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Am Mittwoch, 23. Mai 2018, 08:53:32 CEST schrieb Elaine Zhang: > From: Finley Xiao <finley.xiao@rock-chips.com> > > This driver is modified to support PX30 SoC. > > Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com> > Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com> applied for 4.18 (or later) Thanks Heiko -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html