[PATCH v2 0/4] Control clock for accessing syscon provided by arasan IP
Shawn Lin
shawn.lin at rock-chips.com
Tue Aug 30 18:37:24 PDT 2016
This patchset is gonna take over the ownership of aclk_emmc_grf
by sdhci-of-arasan which is used to access corecfg_* stuff provided
by arasan. This clock is optional for sdhci-of-arasan which means we
would not break the driver without adding this. But we strongly
recommend the upcoming users whose platforms have the similar
cases to add this rather than to add any flags for their specific
clock drivers to make this clock always on.
This patchset is based on linux-next. And patch 4 should *not* be
landed before others, so it would be nice to pack these four patches
via Ulf's tree with Heiko's ack for rockchip part, or vice versa. :)
Changes in v2:
- assign NULL to clk_syscon if it's not deferral error.
Shawn Lin (4):
Documentation: mmc: sdhci-of-arasan: Add clk_syscon as an optional one
mmc: sdhci-of-arasan: Control clock for accessing syscon
arm64: dts: rockchip: add clk_syscon for sdhci on rk3399
clk: rockchip: remove CLK_IGNORE_UNUSED flag for aclk_emmc_grf on
rk3399
.../devicetree/bindings/mmc/arasan,sdhci.txt | 7 +++--
arch/arm64/boot/dts/rockchip/rk3399.dtsi | 5 ++--
drivers/clk/rockchip/clk-rk3399.c | 2 +-
drivers/mmc/host/sdhci-of-arasan.c | 33 ++++++++++++++++++++--
4 files changed, 39 insertions(+), 8 deletions(-)
--
2.3.7
More information about the Linux-rockchip
mailing list