* [PATCH 1/2] ARM: dts: rockchip: add "rockchip, rk3288-grf" compatible for grf node
@ 2018-02-07 6:20 Shawn Lin
[not found] ` <1517984403-195765-1-git-send-email-shawn.lin-TNX95d0MmH7DzftRWevZcw@public.gmane.org>
0 siblings, 1 reply; 5+ messages in thread
From: Shawn Lin @ 2018-02-07 6:20 UTC (permalink / raw)
To: Heiko Stuebner; +Cc: linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, Shawn Lin
rockchip,rk3288-grf is used both for rk3228 and rk3229.
Signed-off-by: Shawn Lin <shawn.lin-TNX95d0MmH7DzftRWevZcw@public.gmane.org>
---
arch/arm/boot/dts/rk322x.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/rk322x.dtsi b/arch/arm/boot/dts/rk322x.dtsi
index 780ec3a..3dd2e12 100644
--- a/arch/arm/boot/dts/rk322x.dtsi
+++ b/arch/arm/boot/dts/rk322x.dtsi
@@ -233,7 +233,7 @@
};
grf: syscon@11000000 {
- compatible = "syscon", "simple-mfd";
+ compatible = "rockchip,rk3228-grf", "syscon", "simple-mfd";
reg = <0x11000000 0x1000>;
#address-cells = <1>;
#size-cells = <1>;
--
1.9.1
^ permalink raw reply related [flat|nested] 5+ messages in thread[parent not found: <1517984403-195765-1-git-send-email-shawn.lin-TNX95d0MmH7DzftRWevZcw@public.gmane.org>]
* [PATCH 2/2] soc: rockchip: disable jtag switching for RK3228/RK3229 SoCs [not found] ` <1517984403-195765-1-git-send-email-shawn.lin-TNX95d0MmH7DzftRWevZcw@public.gmane.org> @ 2018-02-07 6:20 ` Shawn Lin [not found] ` <1517984403-195765-2-git-send-email-shawn.lin-TNX95d0MmH7DzftRWevZcw@public.gmane.org> 2018-02-09 18:17 ` [PATCH 1/2] ARM: dts: rockchip: add "rockchip, rk3288-grf" compatible for grf node Heiko Stuebner 1 sibling, 1 reply; 5+ messages in thread From: Shawn Lin @ 2018-02-07 6:20 UTC (permalink / raw) To: Heiko Stuebner; +Cc: linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, Shawn Lin Disable IO function switching between sdmmc and jtag for RK3228 and RK3229 SoCs. Signed-off-by: Shawn Lin <shawn.lin-TNX95d0MmH7DzftRWevZcw@public.gmane.org> --- drivers/soc/rockchip/grf.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/drivers/soc/rockchip/grf.c b/drivers/soc/rockchip/grf.c index 15e71fd..dd81b87 100644 --- a/drivers/soc/rockchip/grf.c +++ b/drivers/soc/rockchip/grf.c @@ -43,6 +43,17 @@ struct rockchip_grf_info { .num_values = ARRAY_SIZE(rk3036_defaults), }; +#define RK3228_GRF_SOC_CON6 0x418 + +static const struct rockchip_grf_value rk3228_defaults[] __initconst = { + { "jtag switching", RK3228_GRF_SOC_CON6, HIWORD_UPDATE(0, 1, 8) }, +}; + +static const struct rockchip_grf_info rk3228_grf __initconst = { + .values = rk3228_defaults, + .num_values = ARRAY_SIZE(rk3228_defaults), +}; + #define RK3288_GRF_SOC_CON0 0x244 static const struct rockchip_grf_value rk3288_defaults[] __initconst = { @@ -92,6 +103,9 @@ struct rockchip_grf_info { .compatible = "rockchip,rk3036-grf", .data = (void *)&rk3036_grf, }, { + .compatible = "rockchip,rk3228-grf", + .data = (void *)&rk3228_grf, + }, { .compatible = "rockchip,rk3288-grf", .data = (void *)&rk3288_grf, }, { -- 1.9.1 ^ permalink raw reply related [flat|nested] 5+ messages in thread
[parent not found: <1517984403-195765-2-git-send-email-shawn.lin-TNX95d0MmH7DzftRWevZcw@public.gmane.org>]
* Re: [PATCH 2/2] soc: rockchip: disable jtag switching for RK3228/RK3229 SoCs [not found] ` <1517984403-195765-2-git-send-email-shawn.lin-TNX95d0MmH7DzftRWevZcw@public.gmane.org> @ 2018-02-09 18:41 ` Heiko Stuebner 0 siblings, 0 replies; 5+ messages in thread From: Heiko Stuebner @ 2018-02-09 18:41 UTC (permalink / raw) To: Shawn Lin; +Cc: linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r Am Mittwoch, 7. Februar 2018, 07:20:03 CET schrieb Shawn Lin: > Disable IO function switching between sdmmc and jtag > for RK3228 and RK3229 SoCs. > > Signed-off-by: Shawn Lin <shawn.lin-TNX95d0MmH7DzftRWevZcw@public.gmane.org> applied for 4.17 Thanks Heiko ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 1/2] ARM: dts: rockchip: add "rockchip, rk3288-grf" compatible for grf node [not found] ` <1517984403-195765-1-git-send-email-shawn.lin-TNX95d0MmH7DzftRWevZcw@public.gmane.org> 2018-02-07 6:20 ` [PATCH 2/2] soc: rockchip: disable jtag switching for RK3228/RK3229 SoCs Shawn Lin @ 2018-02-09 18:17 ` Heiko Stuebner 2018-02-10 8:12 ` [PATCH 1/2] ARM: dts: rockchip: add "rockchip,rk3288-grf" " Shawn Lin 1 sibling, 1 reply; 5+ messages in thread From: Heiko Stuebner @ 2018-02-09 18:17 UTC (permalink / raw) To: Shawn Lin; +Cc: linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r Hi Shawn, Am Mittwoch, 7. Februar 2018, 07:20:02 CET schrieb Shawn Lin: > rockchip,rk3288-grf is used both for rk3228 and rk3229. > > Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com> applied for 4.17 after replacing the rk3288 occurences with rk3228 in the commit message :-) Also please include the general linux-arm-kerneĺ list in future patches. Thanks Heiko _______________________________________________ Linux-rockchip mailing list Linux-rockchip@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-rockchip ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 1/2] ARM: dts: rockchip: add "rockchip,rk3288-grf" compatible for grf node 2018-02-09 18:17 ` [PATCH 1/2] ARM: dts: rockchip: add "rockchip, rk3288-grf" compatible for grf node Heiko Stuebner @ 2018-02-10 8:12 ` Shawn Lin 0 siblings, 0 replies; 5+ messages in thread From: Shawn Lin @ 2018-02-10 8:12 UTC (permalink / raw) To: Heiko Stuebner Cc: linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, shawn.lin-TNX95d0MmH7DzftRWevZcw On 2018/2/10 2:17, Heiko Stuebner wrote: > Hi Shawn, > > Am Mittwoch, 7. Februar 2018, 07:20:02 CET schrieb Shawn Lin: >> rockchip,rk3288-grf is used both for rk3228 and rk3229. >> >> Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com> > > applied for 4.17 after replacing the rk3288 occurences with rk3228 in the > commit message :-) > Woops, Sorry for that. > Also please include the general linux-arm-kerneĺ list in future patches. Sure. > > > Thanks > Heiko > > > _______________________________________________ Linux-rockchip mailing list Linux-rockchip@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-rockchip ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2018-02-10 8:12 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-07 6:20 [PATCH 1/2] ARM: dts: rockchip: add "rockchip, rk3288-grf" compatible for grf node Shawn Lin
[not found] ` <1517984403-195765-1-git-send-email-shawn.lin-TNX95d0MmH7DzftRWevZcw@public.gmane.org>
2018-02-07 6:20 ` [PATCH 2/2] soc: rockchip: disable jtag switching for RK3228/RK3229 SoCs Shawn Lin
[not found] ` <1517984403-195765-2-git-send-email-shawn.lin-TNX95d0MmH7DzftRWevZcw@public.gmane.org>
2018-02-09 18:41 ` Heiko Stuebner
2018-02-09 18:17 ` [PATCH 1/2] ARM: dts: rockchip: add "rockchip, rk3288-grf" compatible for grf node Heiko Stuebner
2018-02-10 8:12 ` [PATCH 1/2] ARM: dts: rockchip: add "rockchip,rk3288-grf" " Shawn Lin
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.