This patchset tries to add DVFS support for Allwinner H3 SoC, considering two kinds of adjustable regulators used on H3 boards: SY8106A I2C-controlled regulator and SY8113B regulator (controllable by GPIO with some special designs on the board), and also taking the uncontrollable boards into consider. PATCH 1 and PATCH 2 are for the SY8106A regulator, then PATCH 3 and PATCH 4 are for the r_i2c bus, which is used by boards with SY8106A to communicate with the regulator. PATCH 5 adds the operating points v2 table to the H3 SoC, but with OPPs higher than 1008MHz temporarily dropped. Then there's patches for several tested boards: Orange Pi PC (with SY8106A), Orange Pi One/Zero (with GPIO-adjustable SY8113B) and ALL-H3-CC (unadjustable). Icenowy Zheng (5): ARM: sun8i: h3: add operating-points-v2 table for CPU ARM: sun8i: h2+: add SY8113B regulator used by Orange Pi Zero board ARM: sun8i: h3: add SY8113B regulator used by Orange Pi One board ARM: sun8i: h3: fix ALL-H3-CC H3 ver VDD-CPUX voltage ARM: sun8i: h3: set the cpu-supply to VDD-CPUX on ALL-H3-CC H3 ver Ondrej Jirman (5): dt-bindings: add binding for the SY8106A voltage regulator regulator: add support for SY8106A regulator ARM: sunxi: h3/h5: Add r_i2c pinmux node ARM: sunxi: h3/h5: Add r_i2c I2C controller ARM: sun8i: h3: Add SY8106A regulator to Orange Pi PC .../bindings/regulator/sy8106a-regulator.txt | 20 +++ arch/arm/boot/dts/sun8i-h2-plus-orangepi-zero.dts | 21 +++ arch/arm/boot/dts/sun8i-h3-libretech-all-h3-cc.dts | 8 +- arch/arm/boot/dts/sun8i-h3-orangepi-one.dts | 21 +++ arch/arm/boot/dts/sun8i-h3-orangepi-pc.dts | 27 ++++ arch/arm/boot/dts/sun8i-h3.dtsi | 32 +++- arch/arm/boot/dts/sunxi-h3-h5.dtsi | 18 +++ drivers/regulator/Kconfig | 8 +- drivers/regulator/Makefile | 2 +- drivers/regulator/sy8106a-regulator.c | 168 +++++++++++++++++++++ 10 files changed, 320 insertions(+), 5 deletions(-) create mode 100644 Documentation/devicetree/bindings/regulator/sy8106a-regulator.txt create mode 100644 drivers/regulator/sy8106a-regulator.c -- 2.15.1 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html