[U-Boot] [PATCH v2 0/5] add pinctrl driver for rk3399

Kever Yang kever.yang at rock-chips.com
Tue Aug 16 02:58:46 CEST 2016


From: Kever Yang <kever.yang at gmail.com>


This patch set add the pinctrl driver for rk3399 and enable pinctrl for
pwm module.
Module with pinctrl driver support and with interrupt number and default
pinctrl in dts node will get pinctrl initialized when driver probe.
Module like pwm which without interrupt number need to call the pinctrl
API manually.


Changes in v2:
- move and reg value MACRO in C source, and use MASK/SHIFT

Kever Yang (5):
  rk3399: syscon: add support for pmugrf
  pinctrl: add driver for rk3399
  config: evb-rk3399: enable pinctrl driver
  rk3399: enable the pwm2/3 pinctrl in board init
  dts: rk3399: add pinctrl for sdmmc

 arch/arm/dts/rk3399.dtsi                        |  37 ++
 arch/arm/include/asm/arch-rockchip/clock.h      |   1 +
 arch/arm/include/asm/arch-rockchip/grf_rk3399.h | 330 ++++++++++++++++++
 arch/arm/mach-rockchip/rk3399/syscon_rk3399.c   |   1 +
 board/rockchip/evb_rk3399/evb-rk3399.c          |  31 +-
 configs/evb-rk3399_defconfig                    |   2 +
 drivers/pinctrl/Kconfig                         |   9 +
 drivers/pinctrl/rockchip/Makefile               |   1 +
 drivers/pinctrl/rockchip/pinctrl_rk3399.c       | 441 ++++++++++++++++++++++++
 9 files changed, 852 insertions(+), 1 deletion(-)
 create mode 100644 arch/arm/include/asm/arch-rockchip/grf_rk3399.h
 create mode 100644 drivers/pinctrl/rockchip/pinctrl_rk3399.c

-- 
1.9.1



More information about the U-Boot mailing list