From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chen-Yu Tsai Subject: [PATCH 0/5] arm64: allwinner: h6: Enable AXP805 PMIC on Pine H64 Date: Wed, 20 Jun 2018 13:15:35 +0800 Message-ID: <20180620051540.25617-1-wens@csie.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=m.gmane.org@lists.infradead.org To: Maxime Ripard , Lee Jones , Rob Herring , Mark Rutland Cc: devicetree@vger.kernel.org, Andre Przywara , Chen-Yu Tsai , linux-arm-kernel@lists.infradead.org, Icenowy Zheng List-Id: devicetree@vger.kernel.org Hi everyone, This series enables the AXP805 PMIC found on the Pine64 Pine H64 board. The AXP805 seems to be identical to the AXP806 when comparing datasheets. The Pine H64 uses the PMIC in stand-alone or "self-working" mode, using the I2C interface. Neither features are currently supported. This series adds support for them, and then adds the PMIC to the device tree. Patch 1 adds a new device tree property to describe the self-working mode for the AXP806. Patch 2 adds support for the newly added property to the driver. Patch 3 adds support for the using AXP806 with I2C. Patch 4 converts raw clock/reset indices for the H6 R_CCU currently found in the device tree to macros defined as part of the device tree bindings. Patch 5 adds the PMIC and its regulators to the Pine H64 device tree. Please have a look. Regards ChenYu Chen-Yu Tsai (4): dt-bindings: mfd: axp20x: Add "self-working" mode for AXP806 mfd: axp20x: Add self-working mode support for AXP806 mfd: axp20x: Support AXP806 in I2C mode arm64: dts: allwinner: h6: Use macros for R_CCU clock and reset indices Icenowy Zheng (1): arm64: dts: allwinner: h6: enable AXP805 PMIC on Pine H64 .../devicetree/bindings/mfd/axp20x.txt | 7 +- .../boot/dts/allwinner/sun50i-h6-pine-h64.dts | 109 ++++++++++++++++++ arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi | 9 +- drivers/mfd/axp20x-i2c.c | 2 + drivers/mfd/axp20x.c | 30 ++++- 5 files changed, 149 insertions(+), 8 deletions(-) -- 2.17.1