[U-Boot] [PATCH v2 0/9] Add common pinctrl driver support for rockchip

David Wu david.wu at rock-chips.com
Wed Jan 2 12:50:56 UTC 2019


The common pinctrl driver for rockchip Socs, it depends the PINCTRL_FULL config.
If use it, the default pinctrl setup from DTS could be configured at device probe.

Changes in v2:
- Remove px30, rk2928, rk3066*.
- Split it to multiple files for the relevant per-SoC data structures.

David Wu (9):
  rockchip: rk3399-evb: defconfig: Enable FDT for new pinctrl driver
  ARM: rockchip: rk3188: Remove the pinctrl setup and enable uart at SPL
  ARM: rockchip: Kconfig: Remove the SPL_PINCTRL for rk3188
  ARM: rockchip: Remove the pinctrl request at rk3288-board-spl
  rk3288: chrome: defconfig: Enable FDT for new pinctrl driver
  pinctrl: rockchip: Add common rockchip pinctrl driver
  rockchip: defconfig: Clean the unused pinctrl config
  pinctrl: rockchip: Clean the unused rockchip pinctrl drivers
  ARM: dts: rk322x: Correct the uart2 default pin configuration

 arch/arm/dts/rk322x.dtsi                      |  11 +-
 arch/arm/mach-rockchip/Kconfig                |   1 -
 arch/arm/mach-rockchip/rk3188-board-spl.c     |  41 +-
 arch/arm/mach-rockchip/rk3288-board-spl.c     |  79 --
 configs/chromebit_mickey_defconfig            |   4 -
 configs/chromebook_jerry_defconfig            |   4 -
 configs/chromebook_minnie_defconfig           |   4 -
 configs/evb-px5_defconfig                     |   1 -
 configs/evb-rk3128_defconfig                  |   1 -
 configs/evb-rk3229_defconfig                  |   1 -
 configs/evb-rk3288_defconfig                  |   2 -
 configs/evb-rk3399_defconfig                  |   2 -
 configs/evb-rv1108_defconfig                  |   1 -
 configs/fennec-rk3288_defconfig               |   2 -
 configs/firefly-rk3288_defconfig              |   2 -
 configs/firefly-rk3399_defconfig              |   1 -
 configs/geekbox_defconfig                     |   1 -
 configs/kylin-rk3036_defconfig                |   1 -
 configs/lion-rk3368_defconfig                 |   1 -
 configs/miqi-rk3288_defconfig                 |   2 -
 configs/phycore-rk3288_defconfig              |   2 -
 configs/popmetal-rk3288_defconfig             |   2 -
 configs/puma-rk3399_defconfig                 |   1 -
 configs/rock2_defconfig                       |   2 -
 configs/rock_defconfig                        |   1 -
 configs/sandbox_defconfig                     |   2 -
 configs/sandbox_flattree_defconfig            |   2 -
 configs/sandbox_noblk_defconfig               |   2 -
 configs/sheep-rk3368_defconfig                |   1 -
 configs/tinker-rk3288_defconfig               |   2 -
 configs/vyasa-rk3288_defconfig                |   2 -
 drivers/pinctrl/Kconfig                       |  91 +-
 drivers/pinctrl/Makefile                      |   2 +-
 drivers/pinctrl/rockchip/Kconfig              |  17 +
 drivers/pinctrl/rockchip/Makefile             |  19 +-
 drivers/pinctrl/rockchip/pinctrl-rk3036.c     |  65 ++
 drivers/pinctrl/rockchip/pinctrl-rk3128.c     | 155 +++
 drivers/pinctrl/rockchip/pinctrl-rk3188.c     |  82 ++
 drivers/pinctrl/rockchip/pinctrl-rk322x.c     | 215 ++++
 drivers/pinctrl/rockchip/pinctrl-rk3288.c     | 157 +++
 drivers/pinctrl/rockchip/pinctrl-rk3328.c     | 227 ++++
 drivers/pinctrl/rockchip/pinctrl-rk3368.c     | 116 ++
 drivers/pinctrl/rockchip/pinctrl-rk3399.c     | 193 ++++
 .../pinctrl/rockchip/pinctrl-rockchip-core.c  | 788 ++++++++++++++
 drivers/pinctrl/rockchip/pinctrl-rockchip.h   | 302 ++++++
 drivers/pinctrl/rockchip/pinctrl-rv1108.c     | 203 ++++
 drivers/pinctrl/rockchip/pinctrl_rk3036.c     | 671 ------------
 drivers/pinctrl/rockchip/pinctrl_rk3128.c     | 186 ----
 drivers/pinctrl/rockchip/pinctrl_rk3188.c     | 989 ------------------
 drivers/pinctrl/rockchip/pinctrl_rk322x.c     | 894 ----------------
 drivers/pinctrl/rockchip/pinctrl_rk3288.c     | 869 ---------------
 drivers/pinctrl/rockchip/pinctrl_rk3328.c     | 705 -------------
 drivers/pinctrl/rockchip/pinctrl_rk3368.c     | 739 -------------
 drivers/pinctrl/rockchip/pinctrl_rk3399.c     | 503 ---------
 drivers/pinctrl/rockchip/pinctrl_rv1108.c     | 580 ----------
 55 files changed, 2543 insertions(+), 6406 deletions(-)
 create mode 100644 drivers/pinctrl/rockchip/Kconfig
 create mode 100644 drivers/pinctrl/rockchip/pinctrl-rk3036.c
 create mode 100644 drivers/pinctrl/rockchip/pinctrl-rk3128.c
 create mode 100644 drivers/pinctrl/rockchip/pinctrl-rk3188.c
 create mode 100644 drivers/pinctrl/rockchip/pinctrl-rk322x.c
 create mode 100644 drivers/pinctrl/rockchip/pinctrl-rk3288.c
 create mode 100644 drivers/pinctrl/rockchip/pinctrl-rk3328.c
 create mode 100644 drivers/pinctrl/rockchip/pinctrl-rk3368.c
 create mode 100644 drivers/pinctrl/rockchip/pinctrl-rk3399.c
 create mode 100644 drivers/pinctrl/rockchip/pinctrl-rockchip-core.c
 create mode 100644 drivers/pinctrl/rockchip/pinctrl-rockchip.h
 create mode 100644 drivers/pinctrl/rockchip/pinctrl-rv1108.c
 delete mode 100644 drivers/pinctrl/rockchip/pinctrl_rk3036.c
 delete mode 100644 drivers/pinctrl/rockchip/pinctrl_rk3128.c
 delete mode 100644 drivers/pinctrl/rockchip/pinctrl_rk3188.c
 delete mode 100644 drivers/pinctrl/rockchip/pinctrl_rk322x.c
 delete mode 100644 drivers/pinctrl/rockchip/pinctrl_rk3288.c
 delete mode 100644 drivers/pinctrl/rockchip/pinctrl_rk3328.c
 delete mode 100644 drivers/pinctrl/rockchip/pinctrl_rk3368.c
 delete mode 100644 drivers/pinctrl/rockchip/pinctrl_rk3399.c
 delete mode 100644 drivers/pinctrl/rockchip/pinctrl_rv1108.c

-- 
2.19.1





More information about the U-Boot mailing list