Integrate u-boot-seco-rk/seco_2017.09_next_pinconf
Commit: clea-os/bsp/rockchip/u-boot-seco-rk@5c29db77
[PINCTRL] Check if LIVETREE is ready before pin configuration
rockchip_pinctrl_set_state tries to use LIVETREE when OF_LIVE is enabled. There are however some cases when OF_LIVE is enabled but the LIVETREE is not yet ready (for example in pre-relocation contexts). b29445d7f2c633154b7f22800aa29d3773d407e0 removed LIVETREE usage, causing problems when this was in fact enabled. We need to rework the code in order to add a check on ofnode_to_np. If the result is not NULL, LIVETREE is ready and we use it, otherwise we don't.
--
Commit: clea-os/bsp/rockchip/u-boot-seco-rk@88681b0c
Revert "[PINCTRL] Avoid using LIVETREE when setting pinctrl configuration"
This reverts commit b29445d7f2c633154b7f22800aa29d3773d407e0. When LIVETREE is enabled, fdt_for_each_property_offset can't parse pin config properties correctly. We revert the commit, so we can implement a more suited condition control.
--
Commit: clea-os/bsp/rockchip/u-boot-seco-rk@94a6d9a1
pinctrl: rockchip: fix iomux set for rk3588 GPIO0_B4-GPIO0_D7
The pin range from GPIO0_B4 to GPIO0_D7 for rk3588 SoCs should set two registers for iomux, since each of them has 8 bits width.
This patch fixes a issue when reset the iomux from a value from larger than 8 to a value littler than 8, the high 4 bits should be reset to '0'.
Change-Id: I48cda1c76bfd9b6546c3b91f511a75ea1e36ce7a Signed-off-by: Jianqun Xu jay.xu@rock-chips.com
--
Commit: clea-os/bsp/rockchip/u-boot-seco-rk@0682711e
pinctrl: rockchip: rk3588 sync with kernel driver
Change-Id: Iafab0d3463ba9f5807e0638bc3d33472102c8cd0 Signed-off-by: Jianqun Xu jay.xu@rock-chips.com