[PATCH] dts: mt8173-oak: Add da9211 to i2c1
Eddie Huang
eddie.huang at mediatek.com
Thu Jul 2 19:00:22 PDT 2015
Hi Henry,
You have wrong mail title. Your patch modify mt8173-evb.dts, so your
title should use mt8173-evb instead mt8173-oak. Also, remember remove
change-id next time.Please resend this patch.
On Fri, 2015-07-03 at 09:29 +0800, Henry Chen wrote:
> Add a DA9211 dual-channel BUCK regulator to i2c1.
> This regulator supplies GPU and DVFS1 voltages.
>
> Change-Id: I61ecc64b29da4913be856f43e0f6f6fa4e58ea7e
> Signed-off-by: Henry Chen <henryc.chen at mediatek.com>
> ---
> This patch based on https://github.com/mbgg/linux-mediatek.git branch/v4.2-next/arm64
> ---
> arch/arm64/boot/dts/mediatek/mt8173-evb.dts | 30 +++++++++++++++++++++++++++++
> 1 file changed, 30 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/mediatek/mt8173-evb.dts b/arch/arm64/boot/dts/mediatek/mt8173-evb.dts
> index d0ab012..7f583bd 100644
> --- a/arch/arm64/boot/dts/mediatek/mt8173-evb.dts
> +++ b/arch/arm64/boot/dts/mediatek/mt8173-evb.dts
> @@ -34,6 +34,36 @@
> chosen { };
> };
>
> +&i2c1 {
> + status = "okay";
> +
> + buck: da9211 at 68 {
> + compatible = "dlg,da9211";
> + reg = <0x68>;
> +
> + regulators {
> + da9211_vcpu_reg: BUCKA {
> + regulator-name = "VBUCKA";
> + regulator-min-microvolt = < 700000>;
> + regulator-max-microvolt = <1310000>;
> + regulator-min-microamp = <2000000>;
> + regulator-max-microamp = <4400000>;
> + regulator-ramp-delay = <10000>;
> + regulator-always-on;
> + };
> +
> + da9211_vgpu_reg: BUCKB {
> + regulator-name = "VBUCKB";
> + regulator-min-microvolt = < 700000>;
> + regulator-max-microvolt = <1310000>;
> + regulator-min-microamp = <2000000>;
> + regulator-max-microamp = <3000000>;
> + regulator-ramp-delay = <10000>;
> + };
> + };
> + };
> +};
> +
> &uart0 {
> status = "okay";
> };
More information about the Linux-mediatek
mailing list