[PATCH] arm64: dts: mt8173-evb: Add PMIC support

Eddie Huang eddie.huang at mediatek.com
Mon Jul 6 00:43:57 PDT 2015


Hi Matthias,

On Mon, 2015-06-22 at 21:19 +0800, Henry Chen wrote:
> From: Eddie Huang <eddie.huang at mediatek.com>
> 
> The MT8173 eval board contains a MT6397 PMIC. This adds the
> corresponding device node to the dts file.
> 
> Signed-off-by: Henry Chen <henryc.chen at mediatek.com>
> Signed-off-by: Eddie Huang <eddie.huang at mediatek.com>
> ---
> Base on 4.1-rc1 and commit as following,
> ARM64: dts: Mediatek: MT8173 updates [1] and 
> clk: Add common clock support for Mediatek MT8135 and MT8173 [2] patch
> 
> [1] http://lists.infradead.org/pipermail/linux-arm-kernel/2015-May/344751.html
> [2] http://lists.infradead.org/pipermail/linux-arm-kernel/2015-April/338763.html
> ---
>  arch/arm64/boot/dts/mediatek/mt8173-evb.dts | 174 ++++++++++++++++++++++++++++
>  1 file changed, 174 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/mediatek/mt8173-evb.dts b/arch/arm64/boot/dts/mediatek/mt8173-evb.dts
> index 43d5401..b967914 100644
> --- a/arch/arm64/boot/dts/mediatek/mt8173-evb.dts
> +++ b/arch/arm64/boot/dts/mediatek/mt8173-evb.dts
> @@ -33,6 +33,180 @@
>  	chosen { };
>  };
>  
> +&pwrap {
> +	pmic: mt6397 {
> +		compatible = "mediatek,mt6397";
> +		interrupt-parent = <&pio>;
> +		interrupts = <11 IRQ_TYPE_LEVEL_HIGH>;
> +		interrupt-controller;
> +		#interrupt-cells = <2>;
> +
> +		mt6397regulator: mt6397regulator {
> +			compatible = "mediatek,mt6397-regulator";
> +			mt6397_vpca15_reg: buck_vpca15 {
> +				regulator-compatible = "buck_vpca15";
> +				regulator-name = "vpca15";
> +				regulator-min-microvolt = < 700000>;
> +				regulator-max-microvolt = <1350000>;
> +				regulator-ramp-delay = <12500>;
> +				regulator-always-on;

I see you pull da9211 regulator dts patch, but not this one. How about
this patch ?

Thanks
Eddie





More information about the linux-arm-kernel mailing list