[U-Boot] [PATCH v4 0/8] rk3399-puma: Enable PWM regulator for RK3399-Q7

Christoph Muellner christoph.muellner at theobroma-systems.com
Wed Jan 2 14:09:14 UTC 2019


This patch series allows to tune VDD_LOG on RK3399-Q7 Puma boards
to a voltage level defined in the DTS using a PWM adjustable regulator.

To do so a reimplemenation of the RK3399 pinctrl driver has been done.
Although the new pinctrl driver is written in a way, that we could
merge it with other rockchip pinctrl drivers, this is not part
of this series.

The effect of the series is, that VDD_LOG will be set to about 950 mV
on Puma. This is required to address stability issues on Puma.
As a side effect, the pinctrl settings of all RK3399 boards will
be configured according to the description in the DTS.

Changes in v4:
 - Changed patches according to review feedback.

Changes in v3:
 - Fix message verbosity in pinctrl driver.
 - Changed patches according to review feedback.
 - Add patch to enable the full pinctrl driver only for Puma boards.

Changes in v2:
 - Changed patches according to review feedback.
 - Fix pinctrl infrastructure instead of hacking board_init() code.

Christoph Muellner (8):
  rockchip: rk3399-puma: Cleanup of vdd_log DTS entry.
  power: regulator: Allow PWM regulator to be omitted from SPL.
  rockchip: rk3399-puma: enable PWM regulator in Puma defconfig.
  dm: pinctrl: Add pinctrl_decode_pin_config_dm().
  rockchip: rk3399: Add improved pinctrl driver.
  rockchip: rk3399: Add Kconfig option for full pinctrl driver
  rockchip: rk3399-puma: enable full pinctrl driver in Puma defconfig.
  rockchip: rk3399-puma: Set VDD_LOG to 950 mV.

 arch/arm/dts/rk3399-puma.dtsi             |   5 +-
 configs/puma-rk3399_defconfig             |   2 +
 drivers/pinctrl/Kconfig                   |  10 ++
 drivers/pinctrl/pinctrl-uclass.c          |  22 +++
 drivers/pinctrl/rockchip/pinctrl_rk3399.c | 236 ++++++++++++++++++++++++++++++
 drivers/power/regulator/Kconfig           |   7 +
 drivers/power/regulator/Makefile          |   2 +-
 include/dm/pinctrl.h                      |  12 ++
 8 files changed, 291 insertions(+), 5 deletions(-)

-- 
2.11.0



More information about the U-Boot mailing list