Rockchip driver updates for 4.11 part1
Heiko Stuebner
maintainerHi Arnd, Kevin, Olof,
please find below some rockchip-specific soc-driver updates for 4.11. It is based on 4.10-rc2 due to the bug in 4.10-rc1 that caused the whole arm64 to not build.
The grf-thingy has been on the lists in some iterations and as the tag message says is really only ever meant for stuff that really fits nowhere else but can also not be set in firmware in a sane way.
So if there are no complaints, please pull.
Thanks
Heiko
The following changes since commit 0c744ea4f77d72b3dcebb7a8f2684633ec79be88:
Linux 4.10-rc2 (2017-01-01 14:31:53 -0800)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip.git tags/v4.11-armsoc-drivers1
for you to fetch changes up to 19f0f3021e7532a1056886e3ddf524f9847e4f15:
ARM: rockchip: drop rk3288 jtag/mmc switch handling (2017-01-06 10:29:16 +0100)
----------------------------------------------------------------
Some extensions to the power-domain driver to support domains in hiword registers (write-mask in upper 16bit) and domain-definitions for the rk3328 soc.
Secondly a "driver" that attaches to the already existing grf nodes and is able to set static defaults for settings that cannot really be attached to any specific subsystem.
Most GRF settings can already be set from drivers using them, but there are some behavioural settings like the mmc/jtag switch that cannot.
As the commit message states this is really meant as a last line of defence for things that neither belong to a subsystem nor to the
Having this here allows arm64 socs to have this as well and also moves another bit of code out of the arm32 mach-rockchip.
----------------------------------------------------------------
Elaine Zhang (4):
soc: rockchip: power-domain: Support domain control in hiword-registers
dt-bindings: power: add RK3328 SoCs header for idle-request
dt-bindings: add binding for rk3328 power domains
soc: rockchip: power-domain: add power domain support for rk3328
Heiko Stuebner (4):
Merge branch 'v4.11-shared/pdids' into v4.11-armsoc/drivers
dt-bindings: add used but undocumented rockchip grf compatible values
soc: rockchip: add driver handling grf setup
ARM: rockchip: drop rk3288 jtag/mmc switch handling
.../devicetree/bindings/soc/rockchip/grf.txt | 4 + .../bindings/soc/rockchip/power_domain.txt | 3 + arch/arm/mach-rockchip/rockchip.c | 12 -- drivers/soc/rockchip/Kconfig | 10 ++ drivers/soc/rockchip/Makefile | 1 + drivers/soc/rockchip/grf.c | 134 +++++++++++++++++++++ drivers/soc/rockchip/pm_domains.c | 63 +++++++++- include/dt-bindings/power/rk3328-power.h | 18 +++ 8 files changed, 227 insertions(+), 18 deletions(-) create mode 100644 drivers/soc/rockchip/grf.c create mode 100644 include/dt-bindings/power/rk3328-power.h
Heiko Stuebner
maintainer[GIT PULL 2/3] Rockchip dts32 updates for 4.11 part1
The following changes since commit 0c744ea4f77d72b3dcebb7a8f2684633ec79be88:
Linux 4.10-rc2 (2017-01-01 14:31:53 -0800)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip.git tags/v4.11-rockchip-dts32-1
for you to fetch changes up to ec7c98ec9b8dd2c04ed75cad88e91eebedbb1a25:
ARM: dts: rockchip: add soc-specific uart compatibles for rk3066/rk3188 (2017-01-19 17:04:44 +0100)
----------------------------------------------------------------
Bit of cleanup for the cortex-a9 uarts to have that soc-specific spare-compatible as all others have, conversion to gpio constants and addition of rk3288 qos nodes that need to be saved before a power-domain gets turned off.
----------------------------------------------------------------
Andy Yan (1):
ARM: dts: rockchip: use pin constants to describe gpios
Elaine Zhang (1):
ARM: dts: rockchip: add qos node for rk3288
Heiko Stuebner (1):
ARM: dts: rockchip: add soc-specific uart compatibles for rk3066/rk3188
arch/arm/boot/dts/rk3036-evb.dts | 2 +- arch/arm/boot/dts/rk3036-kylin.dts | 12 ++-- arch/arm/boot/dts/rk3066a-bqcurie2.dts | 8 +-- arch/arm/boot/dts/rk3066a-marsboard.dts | 6 +- arch/arm/boot/dts/rk3066a-mk808.dts | 10 +-- arch/arm/boot/dts/rk3066a-rayeager.dts | 18 ++--- arch/arm/boot/dts/rk3066a.dtsi | 4 ++ arch/arm/boot/dts/rk3188-px3-evb.dts | 10 +-- arch/arm/boot/dts/rk3188-radxarock.dts | 20 +++--- arch/arm/boot/dts/rk3188.dtsi | 4 ++ arch/arm/boot/dts/rk3229-evb.dts | 2 +- arch/arm/boot/dts/rk3288-evb-act8846.dts | 6 +- arch/arm/boot/dts/rk3288-evb-rk808.dts | 2 +- arch/arm/boot/dts/rk3288-evb.dtsi | 14 ++-- arch/arm/boot/dts/rk3288-fennec.dts | 6 +- arch/arm/boot/dts/rk3288-firefly-beta.dts | 2 +- arch/arm/boot/dts/rk3288-firefly-reload-core.dtsi | 2 +- arch/arm/boot/dts/rk3288-firefly-reload.dts | 26 +++---- arch/arm/boot/dts/rk3288-firefly.dts | 2 +- arch/arm/boot/dts/rk3288-firefly.dtsi | 18 ++--- arch/arm/boot/dts/rk3288-miqi.dts | 8 +-- arch/arm/boot/dts/rk3288-popmetal.dts | 8 +-- arch/arm/boot/dts/rk3288-r89.dts | 14 ++-- arch/arm/boot/dts/rk3288-rock2-som.dtsi | 4 +- arch/arm/boot/dts/rk3288-rock2-square.dts | 14 ++-- arch/arm/boot/dts/rk3288-veyron-analog-audio.dtsi | 8 +-- arch/arm/boot/dts/rk3288-veyron-brain.dts | 8 +-- arch/arm/boot/dts/rk3288-veyron-chromebook.dtsi | 14 ++-- arch/arm/boot/dts/rk3288-veyron-jaq.dts | 14 ++-- arch/arm/boot/dts/rk3288-veyron-jerry.dts | 12 ++-- arch/arm/boot/dts/rk3288-veyron-mickey.dts | 6 +- arch/arm/boot/dts/rk3288-veyron-minnie.dts | 18 ++--- arch/arm/boot/dts/rk3288-veyron-pinky.dts | 4 +- arch/arm/boot/dts/rk3288-veyron-sdmmc.dtsi | 2 +- arch/arm/boot/dts/rk3288-veyron-speedy.dts | 10 +-- arch/arm/boot/dts/rk3288-veyron.dtsi | 10 +-- arch/arm/boot/dts/rk3288.dtsi | 84 +++++++++++++++++++++++ 37 files changed, 252 insertions(+), 160 deletions(-)
Heiko Stuebner
maintainer[GIT PULL 3/3] Rockchip dts64 updates for 4.11 part1
In reply to Heiko StuebnerThe following changes since commit 0c744ea4f77d72b3dcebb7a8f2684633ec79be88:
Linux 4.10-rc2 (2017-01-01 14:31:53 -0800)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip.git tags/v4.11-rockchip-dts64-1
for you to fetch changes up to 8cbb59af7ecf183b1761a178835e1c771167fa28:
arm64: dts: rockchip: add rockchip,grf property for RK3399 PMUCRU/CRU (2017-01-13 20:03:15 +0100)
----------------------------------------------------------------
64bit dts changes with some adjustments to the pcie controller, usb clocks, grf phandles for the rk3399 CRUs, epd pinctrl settings, a phandle to the rk3399 tsadc and converting boards to use the recently introduced pin constants.
----------------------------------------------------------------
Andy Yan (1):
arm64: dts: rockchip: use pin constants to describe gpios
Brian Norris (2):
arm64: dts: rockchip: add rk3399 thermal_zones phandle
arm64: dts: rockchip: add rk3399 eDP HPD pinctrl
Shawn Lin (2):
arm64: dts: rockchip: add max-link-speed for rk3399
arm64: dts: rockchip: add aspm-no-l0s for rk3399
William wu (1):
arm64: dts: rockchip: add u2phy clock for ehci and ohci of rk3399
Xing Zheng (1):
arm64: dts: rockchip: add rockchip,grf property for RK3399 PMUCRU/CRU
arch/arm64/boot/dts/rockchip/rk3368-evb.dtsi | 10 +++--- arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts | 10 +++--- .../boot/dts/rockchip/rk3368-orion-r68-meta.dts | 14 ++++---- arch/arm64/boot/dts/rockchip/rk3368-px5-evb.dts | 10 +++--- arch/arm64/boot/dts/rockchip/rk3368-r88.dts | 16 ++++----- arch/arm64/boot/dts/rockchip/rk3399-evb.dts | 8 ++--- arch/arm64/boot/dts/rockchip/rk3399.dtsi | 41 +++++++++++++++++----- 7 files changed, 66 insertions(+), 43 deletions(-)
HI,
Quoted 11 lines · Heiko Stuebner
Hi Arnd, Kevin, Olof,
please find below some rockchip-specific soc-driver updates for 4.11. It is based on 4.10-rc2 due to the bug in 4.10-rc1 that caused the whole arm64 to not build.
The grf-thingy has been on the lists in some iterations and as the tag message says is really only ever meant for stuff that really fits nowhere else but can also not be set in firmware in a sane way.
So if there are no complaints, please pull.
I replied to one of the patches -- I think it can be done better but this can go in meanwhile and it can be switched over to later.
Quoted 24 lines
The following changes since commit
0c744ea4f77d72b3dcebb7a8f2684633ec79be88:Linux 4.10-rc2 (2017-01-01 14:31:53 -0800)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip.gittags/v4.11-armsoc-drivers1for you to fetch changes up to
19f0f3021e7532a1056886e3ddf524f9847e4f15:ARM: rockchip: drop rk3288 jtag/mmc switch handling (2017-01-06 10:29:16 +0100)
----------------------------------------------------------------
Some extensions to the power-domain driver to support domains in hiword registers (write-mask in upper 16bit) and domain-definitions for the rk3328 soc.Secondly a "driver" that attaches to the already existing grf nodes and is able to set static defaults for settings that cannot really be attached to any specific subsystem.
Most GRF settings can already be set from drivers using them, but there are some behavioural settings like the mmc/jtag switch that cannot.
Quoted 5 lines
As the commit message states this is really meant as a last line of defence for things that neither belong to a subsystem nor to the
Having this here allows arm64 socs to have this as well and also moves another bit of code out of the arm32 mach-rockchip.
Third paragraph looks cut off.
Still, merged.
-Olof
Olof Johansson
Applied[GIT PULL 3/3] Rockchip dts64 updates for 4.11 part1
In reply to Heiko StuebnerQuoted 10 lines · Heiko Stuebner
The following changes since commit
0c744ea4f77d72b3dcebb7a8f2684633ec79be88:Linux 4.10-rc2 (2017-01-01 14:31:53 -0800)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip.gittags/v4.11-rockchip-dts64-1for you to fetch changes up to
8cbb59af7ecf183b1761a178835e1c771167fa28:
Quoted 7 lines
arm64: dts: rockchip: add rockchip,grf property for RK3399 PMUCRU/CRU (2017-01-13 20:03:15 +0100)
----------------------------------------------------------------
64bit dts changes with some adjustments to the pcie controller, usb clocks, grf phandles for the rk3399 CRUs, epd pinctrl settings, a phandle to the rk3399 tsadc and converting boards to use the recently introduced pin constants.
Merged, thanks.
-Olof
Olof Johansson
Applied[GIT PULL 2/3] Rockchip dts32 updates for 4.11 part1
In reply to Heiko StuebnerQuoted 10 lines · Heiko Stuebner
The following changes since commit
0c744ea4f77d72b3dcebb7a8f2684633ec79be88:Linux 4.10-rc2 (2017-01-01 14:31:53 -0800)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip.gittags/v4.11-rockchip-dts32-1for you to fetch changes up to
ec7c98ec9b8dd2c04ed75cad88e91eebedbb1a25:
Quoted 7 lines
ARM: dts: rockchip: add soc-specific uart compatibles for rk3066/rk3188 (2017-01-19 17:04:44 +0100)
----------------------------------------------------------------
Bit of cleanup for the cortex-a9 uarts to have that soc-specific spare-compatible as all others have, conversion to gpio constants and addition of rk3288 qos nodes that need to be saved before a power-domain gets turned off.
Merged, thanks.
-Olof