diff mbox

[v2] ARM: dts: Add regulator entries to Exynos5420 SMDK board

Message ID 1386236664-27763-1-git-send-email-sachin.kamat@linaro.org (mailing list archive)
State New, archived
Headers show

Commit Message

Sachin Kamat Dec. 5, 2013, 9:44 a.m. UTC
Added regulator entries to Exynos5420 SMDK board.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
---
Changes since v1:
Changed node name
---
 arch/arm/boot/dts/exynos5420-smdk5420.dts |  216 +++++++++++++++++++++++++++++
 1 file changed, 216 insertions(+)

Comments

Kim Kukjin Dec. 9, 2013, 9:27 p.m. UTC | #1
On 12/05/13 18:44, Sachin Kamat wrote:
> Added regulator entries to Exynos5420 SMDK board.
>
> Signed-off-by: Sachin Kamat<sachin.kamat@linaro.org>
> ---
> Changes since v1:
> Changed node name
> ---
>   arch/arm/boot/dts/exynos5420-smdk5420.dts |  216 +++++++++++++++++++++++++++++
>   1 file changed, 216 insertions(+)
>
> diff --git a/arch/arm/boot/dts/exynos5420-smdk5420.dts b/arch/arm/boot/dts/exynos5420-smdk5420.dts
> index fb5a1e25c632..62e1ebe4e989 100644
> --- a/arch/arm/boot/dts/exynos5420-smdk5420.dts
> +++ b/arch/arm/boot/dts/exynos5420-smdk5420.dts
> @@ -120,4 +120,220 @@
>   			reg =<0x50>;
>   		};
>   	};
> +
> +	hsi2c_4: i2c@12CA0000 {
> +		status = "okay";
> +
> +		s2mps11_pmic@66 {
> +			compatible = "samsung,s2mps11-pmic";
> +			reg =<0x66>;
> +			s2mps11,buck2-ramp-delay =<12>;
> +			s2mps11,buck34-ramp-delay =<12>;
> +			s2mps11,buck16-ramp-delay =<12>;
> +			s2mps11,buck6-ramp-enable =<1>;
> +			s2mps11,buck2-ramp-enable =<1>;
> +			s2mps11,buck3-ramp-enable =<1>;
> +			s2mps11,buck4-ramp-enable =<1>;
> +
> +			s2mps11_osc: clocks {
> +				#clock-cells =<1>;
> +				clock-output-names = "s2mps11_ap",
> +						"s2mps11_cp", "s2mps11_bt";
> +			};
> +
> +			regulators {
> +				ldo1_reg: LDO1 {
> +					regulator-name = "vdd_ldo1";
> +					regulator-min-microvolt =<1000000>;
> +					regulator-max-microvolt =<1000000>;
> +					regulator-always-on;
> +				};
> +
> +				ldo3_reg: LDO3 {
> +					regulator-name = "vdd_ldo3";
> +					regulator-min-microvolt =<1800000>;
> +					regulator-max-microvolt =<1800000>;
> +					regulator-always-on;
> +				};
> +
> +				ldo5_reg: LDO5 {
> +					regulator-name = "vdd_ldo5";
> +					regulator-min-microvolt =<1800000>;
> +					regulator-max-microvolt =<1800000>;
> +					regulator-always-on;
> +				};
> +
> +				ldo6_reg: LDO6 {
> +					regulator-name = "vdd_ldo6";
> +					regulator-min-microvolt =<1000000>;
> +					regulator-max-microvolt =<1000000>;
> +					regulator-always-on;
> +				};
> +
> +				ldo7_reg: LDO7 {
> +					regulator-name = "vdd_ldo7";
> +					regulator-min-microvolt =<1800000>;
> +					regulator-max-microvolt =<1800000>;
> +					regulator-always-on;
> +				};
> +
> +				ldo8_reg: LDO8 {
> +					regulator-name = "vdd_ldo8";
> +					regulator-min-microvolt =<1800000>;
> +					regulator-max-microvolt =<1800000>;
> +					regulator-always-on;
> +				};
> +
> +				ldo9_reg: LDO9 {
> +					regulator-name = "vdd_ldo9";
> +					regulator-min-microvolt =<3000000>;
> +					regulator-max-microvolt =<3000000>;
> +					regulator-always-on;
> +				};
> +
> +				ldo10_reg: LDO10 {
> +					regulator-name = "vdd_ldo10";
> +					regulator-min-microvolt =<1800000>;
> +					regulator-max-microvolt =<1800000>;
> +					regulator-always-on;
> +				};
> +
> +				ldo11_reg: LDO11 {
> +					regulator-name = "vdd_ldo11";
> +					regulator-min-microvolt =<1000000>;
> +					regulator-max-microvolt =<1000000>;
> +					regulator-always-on;
> +				};
> +
> +				ldo12_reg: LDO12 {
> +					regulator-name = "vdd_ldo12";
> +					regulator-min-microvolt =<1800000>;
> +					regulator-max-microvolt =<1800000>;
> +					regulator-always-on;
> +				};
> +
> +				ldo13_reg: LDO13 {
> +					regulator-name = "vdd_ldo13";
> +					regulator-min-microvolt =<2800000>;
> +					regulator-max-microvolt =<2800000>;
> +					regulator-always-on;
> +				};
> +
> +				ldo15_reg: LDO15 {
> +					regulator-name = "vdd_ldo15";
> +					regulator-min-microvolt =<3100000>;
> +					regulator-max-microvolt =<3100000>;
> +					regulator-always-on;
> +				};
> +
> +				ldo16_reg: LDO16 {
> +					regulator-name = "vdd_ldo16";
> +					regulator-min-microvolt =<2200000>;
> +					regulator-max-microvolt =<2200000>;
> +					regulator-always-on;
> +				};
> +
> +				ldo17_reg: LDO17 {
> +					regulator-name = "tsp_avdd";
> +					regulator-min-microvolt =<3300000>;
> +					regulator-max-microvolt =<3300000>;
> +					regulator-always-on;
> +				};
> +
> +				ldo19_reg: LDO19 {
> +					regulator-name = "vdd_sd";
> +					regulator-min-microvolt =<2800000>;
> +					regulator-max-microvolt =<2800000>;
> +					regulator-always-on;
> +				};
> +
> +				ldo24_reg: LDO24 {
> +					regulator-name = "tsp_io";
> +					regulator-min-microvolt =<2800000>;
> +					regulator-max-microvolt =<2800000>;
> +					regulator-always-on;
> +				};
> +
> +				buck1_reg: BUCK1 {
> +					regulator-name = "vdd_mif";
> +					regulator-min-microvolt =<800000>;
> +					regulator-max-microvolt =<1300000>;
> +					regulator-always-on;
> +					regulator-boot-on;
> +				};
> +
> +				buck2_reg: BUCK2 {
> +					regulator-name = "vdd_arm";
> +					regulator-min-microvolt =<800000>;
> +					regulator-max-microvolt =<1500000>;
> +					regulator-always-on;
> +					regulator-boot-on;
> +				};
> +
> +				buck3_reg: BUCK3 {
> +					regulator-name = "vdd_int";
> +					regulator-min-microvolt =<800000>;
> +					regulator-max-microvolt =<1400000>;
> +					regulator-always-on;
> +					regulator-boot-on;
> +				};
> +
> +				buck4_reg: BUCK4 {
> +					regulator-name = "vdd_g3d";
> +					regulator-min-microvolt =<800000>;
> +					regulator-max-microvolt =<1400000>;
> +					regulator-always-on;
> +					regulator-boot-on;
> +				};
> +
> +				buck5_reg: BUCK5 {
> +					regulator-name = "vdd_mem";
> +					regulator-min-microvolt =<800000>;
> +					regulator-max-microvolt =<1400000>;
> +					regulator-always-on;
> +					regulator-boot-on;
> +				};
> +
> +				buck6_reg: BUCK6 {
> +					regulator-name = "vdd_kfc";
> +					regulator-min-microvolt =<800000>;
> +					regulator-max-microvolt =<1500000>;
> +					regulator-always-on;
> +					regulator-boot-on;
> +				};
> +
> +				buck7_reg: BUCK7 {
> +					regulator-name = "vdd_1.0v_ldo";
> +					regulator-min-microvolt =<800000>;
> +					regulator-max-microvolt =<1500000>;
> +					regulator-always-on;
> +					regulator-boot-on;
> +				};
> +
> +				buck8_reg: BUCK8 {
> +					regulator-name = "vdd_1.8v_ldo";
> +					regulator-min-microvolt =<800000>;
> +					regulator-max-microvolt =<1500000>;
> +					regulator-always-on;
> +					regulator-boot-on;
> +				};
> +
> +				buck9_reg: BUCK9 {
> +					regulator-name = "vdd_2.8v_ldo";
> +					regulator-min-microvolt =<3000000>;
> +					regulator-max-microvolt =<3750000>;
> +					regulator-always-on;
> +					regulator-boot-on;
> +				};
> +
> +				buck10_reg: BUCK10 {
> +					regulator-name = "vdd_vmem";
> +					regulator-min-microvolt =<2850000>;
> +					regulator-max-microvolt =<2850000>;
> +					regulator-always-on;
> +					regulator-boot-on;
> +				};
> +			};
> +		};
> +	};
>   };

just + DT ml.

- Kukjin
--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Tomasz Figa Dec. 18, 2013, 3:16 p.m. UTC | #2
Hi Sachin,

On Thursday 05 of December 2013 15:14:24 Sachin Kamat wrote:
> Added regulator entries to Exynos5420 SMDK board.
> 
> Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
> ---
> Changes since v1:
> Changed node name
> ---
>  arch/arm/boot/dts/exynos5420-smdk5420.dts |  216 +++++++++++++++++++++++++++++
>  1 file changed, 216 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/exynos5420-smdk5420.dts b/arch/arm/boot/dts/exynos5420-smdk5420.dts
> index fb5a1e25c632..62e1ebe4e989 100644
> --- a/arch/arm/boot/dts/exynos5420-smdk5420.dts
> +++ b/arch/arm/boot/dts/exynos5420-smdk5420.dts
> @@ -120,4 +120,220 @@
>  			reg = <0x50>;
>  		};
>  	};
> +
> +	hsi2c_4: i2c@12CA0000 {
> +		status = "okay";
> +
> +		s2mps11_pmic@66 {

Just pmic@66 is enough.

> +			compatible = "samsung,s2mps11-pmic";
> +			reg = <0x66>;
> +			s2mps11,buck2-ramp-delay = <12>;
> +			s2mps11,buck34-ramp-delay = <12>;
> +			s2mps11,buck16-ramp-delay = <12>;
> +			s2mps11,buck6-ramp-enable = <1>;
> +			s2mps11,buck2-ramp-enable = <1>;
> +			s2mps11,buck3-ramp-enable = <1>;
> +			s2mps11,buck4-ramp-enable = <1>;
> +
> +			s2mps11_osc: clocks {
> +				#clock-cells = <1>;
> +				clock-output-names = "s2mps11_ap",
> +						"s2mps11_cp", "s2mps11_bt";
> +			};
> +
> +			regulators {
> +				ldo1_reg: LDO1 {
> +					regulator-name = "vdd_ldo1";

Is this the name as written on the PCB or board schematics?
+ the same for all regulators below.

Best regards,
Tomasz
 
--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Tomasz Figa Dec. 18, 2013, 3:18 p.m. UTC | #3
Hi Kukjin,

On Tuesday 10 of December 2013 06:27:27 Kukjin Kim wrote:
> On 12/05/13 18:44, Sachin Kamat wrote:
> > Added regulator entries to Exynos5420 SMDK board.
> >
> > Signed-off-by: Sachin Kamat<sachin.kamat@linaro.org>
> > ---
> > Changes since v1:
> > Changed node name
> > ---
> >   arch/arm/boot/dts/exynos5420-smdk5420.dts |  216 +++++++++++++++++++++++++++++
> >   1 file changed, 216 insertions(+)
> >
> > diff --git a/arch/arm/boot/dts/exynos5420-smdk5420.dts b/arch/arm/boot/dts/exynos5420-smdk5420.dts
> > index fb5a1e25c632..62e1ebe4e989 100644
> > --- a/arch/arm/boot/dts/exynos5420-smdk5420.dts
> > +++ b/arch/arm/boot/dts/exynos5420-smdk5420.dts
> > @@ -120,4 +120,220 @@
> >   			reg =<0x50>;
> >   		};
> >   	};
> > +
> > +	hsi2c_4: i2c@12CA0000 {
> > +		status = "okay";
> > +
> > +		s2mps11_pmic@66 {
> > +			compatible = "samsung,s2mps11-pmic";
> > +			reg =<0x66>;
> > +			s2mps11,buck2-ramp-delay =<12>;
> > +			s2mps11,buck34-ramp-delay =<12>;
> > +			s2mps11,buck16-ramp-delay =<12>;
> > +			s2mps11,buck6-ramp-enable =<1>;
> > +			s2mps11,buck2-ramp-enable =<1>;
> > +			s2mps11,buck3-ramp-enable =<1>;
> > +			s2mps11,buck4-ramp-enable =<1>;
> > +
> > +			s2mps11_osc: clocks {
> > +				#clock-cells =<1>;
> > +				clock-output-names = "s2mps11_ap",
> > +						"s2mps11_cp", "s2mps11_bt";
> > +			};
> > +
> > +			regulators {
> > +				ldo1_reg: LDO1 {
> > +					regulator-name = "vdd_ldo1";
> > +					regulator-min-microvolt =<1000000>;
> > +					regulator-max-microvolt =<1000000>;
> > +					regulator-always-on;
> > +				};
> > +
> > +				ldo3_reg: LDO3 {
> > +					regulator-name = "vdd_ldo3";
> > +					regulator-min-microvolt =<1800000>;
> > +					regulator-max-microvolt =<1800000>;
> > +					regulator-always-on;
> > +				};
> > +
> > +				ldo5_reg: LDO5 {
> > +					regulator-name = "vdd_ldo5";
> > +					regulator-min-microvolt =<1800000>;
> > +					regulator-max-microvolt =<1800000>;
> > +					regulator-always-on;
> > +				};
> > +
> > +				ldo6_reg: LDO6 {
> > +					regulator-name = "vdd_ldo6";
> > +					regulator-min-microvolt =<1000000>;
> > +					regulator-max-microvolt =<1000000>;
> > +					regulator-always-on;
> > +				};
> > +
> > +				ldo7_reg: LDO7 {
> > +					regulator-name = "vdd_ldo7";
> > +					regulator-min-microvolt =<1800000>;
> > +					regulator-max-microvolt =<1800000>;
> > +					regulator-always-on;
> > +				};
> > +
> > +				ldo8_reg: LDO8 {
> > +					regulator-name = "vdd_ldo8";
> > +					regulator-min-microvolt =<1800000>;
> > +					regulator-max-microvolt =<1800000>;
> > +					regulator-always-on;
> > +				};
> > +
> > +				ldo9_reg: LDO9 {
> > +					regulator-name = "vdd_ldo9";
> > +					regulator-min-microvolt =<3000000>;
> > +					regulator-max-microvolt =<3000000>;
> > +					regulator-always-on;
> > +				};
> > +
> > +				ldo10_reg: LDO10 {
> > +					regulator-name = "vdd_ldo10";
> > +					regulator-min-microvolt =<1800000>;
> > +					regulator-max-microvolt =<1800000>;
> > +					regulator-always-on;
> > +				};
> > +
> > +				ldo11_reg: LDO11 {
> > +					regulator-name = "vdd_ldo11";
> > +					regulator-min-microvolt =<1000000>;
> > +					regulator-max-microvolt =<1000000>;
> > +					regulator-always-on;
> > +				};
> > +
> > +				ldo12_reg: LDO12 {
> > +					regulator-name = "vdd_ldo12";
> > +					regulator-min-microvolt =<1800000>;
> > +					regulator-max-microvolt =<1800000>;
> > +					regulator-always-on;
> > +				};
> > +
> > +				ldo13_reg: LDO13 {
> > +					regulator-name = "vdd_ldo13";
> > +					regulator-min-microvolt =<2800000>;
> > +					regulator-max-microvolt =<2800000>;
> > +					regulator-always-on;
> > +				};
> > +
> > +				ldo15_reg: LDO15 {
> > +					regulator-name = "vdd_ldo15";
> > +					regulator-min-microvolt =<3100000>;
> > +					regulator-max-microvolt =<3100000>;
> > +					regulator-always-on;
> > +				};
> > +
> > +				ldo16_reg: LDO16 {
> > +					regulator-name = "vdd_ldo16";
> > +					regulator-min-microvolt =<2200000>;
> > +					regulator-max-microvolt =<2200000>;
> > +					regulator-always-on;
> > +				};
> > +
> > +				ldo17_reg: LDO17 {
> > +					regulator-name = "tsp_avdd";
> > +					regulator-min-microvolt =<3300000>;
> > +					regulator-max-microvolt =<3300000>;
> > +					regulator-always-on;
> > +				};
> > +
> > +				ldo19_reg: LDO19 {
> > +					regulator-name = "vdd_sd";
> > +					regulator-min-microvolt =<2800000>;
> > +					regulator-max-microvolt =<2800000>;
> > +					regulator-always-on;
> > +				};
> > +
> > +				ldo24_reg: LDO24 {
> > +					regulator-name = "tsp_io";
> > +					regulator-min-microvolt =<2800000>;
> > +					regulator-max-microvolt =<2800000>;
> > +					regulator-always-on;
> > +				};
> > +
> > +				buck1_reg: BUCK1 {
> > +					regulator-name = "vdd_mif";
> > +					regulator-min-microvolt =<800000>;
> > +					regulator-max-microvolt =<1300000>;
> > +					regulator-always-on;
> > +					regulator-boot-on;
> > +				};
> > +
> > +				buck2_reg: BUCK2 {
> > +					regulator-name = "vdd_arm";
> > +					regulator-min-microvolt =<800000>;
> > +					regulator-max-microvolt =<1500000>;
> > +					regulator-always-on;
> > +					regulator-boot-on;
> > +				};
> > +
> > +				buck3_reg: BUCK3 {
> > +					regulator-name = "vdd_int";
> > +					regulator-min-microvolt =<800000>;
> > +					regulator-max-microvolt =<1400000>;
> > +					regulator-always-on;
> > +					regulator-boot-on;
> > +				};
> > +
> > +				buck4_reg: BUCK4 {
> > +					regulator-name = "vdd_g3d";
> > +					regulator-min-microvolt =<800000>;
> > +					regulator-max-microvolt =<1400000>;
> > +					regulator-always-on;
> > +					regulator-boot-on;
> > +				};
> > +
> > +				buck5_reg: BUCK5 {
> > +					regulator-name = "vdd_mem";
> > +					regulator-min-microvolt =<800000>;
> > +					regulator-max-microvolt =<1400000>;
> > +					regulator-always-on;
> > +					regulator-boot-on;
> > +				};
> > +
> > +				buck6_reg: BUCK6 {
> > +					regulator-name = "vdd_kfc";
> > +					regulator-min-microvolt =<800000>;
> > +					regulator-max-microvolt =<1500000>;
> > +					regulator-always-on;
> > +					regulator-boot-on;
> > +				};
> > +
> > +				buck7_reg: BUCK7 {
> > +					regulator-name = "vdd_1.0v_ldo";
> > +					regulator-min-microvolt =<800000>;
> > +					regulator-max-microvolt =<1500000>;
> > +					regulator-always-on;
> > +					regulator-boot-on;
> > +				};
> > +
> > +				buck8_reg: BUCK8 {
> > +					regulator-name = "vdd_1.8v_ldo";
> > +					regulator-min-microvolt =<800000>;
> > +					regulator-max-microvolt =<1500000>;
> > +					regulator-always-on;
> > +					regulator-boot-on;
> > +				};
> > +
> > +				buck9_reg: BUCK9 {
> > +					regulator-name = "vdd_2.8v_ldo";
> > +					regulator-min-microvolt =<3000000>;
> > +					regulator-max-microvolt =<3750000>;
> > +					regulator-always-on;
> > +					regulator-boot-on;
> > +				};
> > +
> > +				buck10_reg: BUCK10 {
> > +					regulator-name = "vdd_vmem";
> > +					regulator-min-microvolt =<2850000>;
> > +					regulator-max-microvolt =<2850000>;
> > +					regulator-always-on;
> > +					regulator-boot-on;
> > +				};
> > +			};
> > +		};
> > +	};
> >   };
> 
> just + DT ml.

AFAIK, current recommendation after the KS is that changes touching only
DTS files don't have to be posted on DT ML. Just changes related to DT
bindings such as Documentation/devicetree and DT parsing code. Full series
doing both still need to be posted there, though.

Best regards,
Tomasz

--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Sachin Kamat Dec. 19, 2013, 4:35 a.m. UTC | #4
Hi Tomasz,

On 18 December 2013 20:46, Tomasz Figa <t.figa@samsung.com> wrote:
> Hi Sachin,
>
> On Thursday 05 of December 2013 15:14:24 Sachin Kamat wrote:
>> Added regulator entries to Exynos5420 SMDK board.
>>
>> Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
>> ---
>> Changes since v1:
>> Changed node name
>> ---
>>  arch/arm/boot/dts/exynos5420-smdk5420.dts |  216 +++++++++++++++++++++++++++++
>>  1 file changed, 216 insertions(+)
>>
>> diff --git a/arch/arm/boot/dts/exynos5420-smdk5420.dts b/arch/arm/boot/dts/exynos5420-smdk5420.dts
>> index fb5a1e25c632..62e1ebe4e989 100644
>> --- a/arch/arm/boot/dts/exynos5420-smdk5420.dts
>> +++ b/arch/arm/boot/dts/exynos5420-smdk5420.dts
>> @@ -120,4 +120,220 @@
>>                       reg = <0x50>;
>>               };
>>       };
>> +
>> +     hsi2c_4: i2c@12CA0000 {
>> +             status = "okay";
>> +
>> +             s2mps11_pmic@66 {
>
> Just pmic@66 is enough.

Please see my comment below.

>
>> +                     compatible = "samsung,s2mps11-pmic";
>> +                     reg = <0x66>;
>> +                     s2mps11,buck2-ramp-delay = <12>;
>> +                     s2mps11,buck34-ramp-delay = <12>;
>> +                     s2mps11,buck16-ramp-delay = <12>;
>> +                     s2mps11,buck6-ramp-enable = <1>;
>> +                     s2mps11,buck2-ramp-enable = <1>;
>> +                     s2mps11,buck3-ramp-enable = <1>;
>> +                     s2mps11,buck4-ramp-enable = <1>;
>> +
>> +                     s2mps11_osc: clocks {
>> +                             #clock-cells = <1>;
>> +                             clock-output-names = "s2mps11_ap",
>> +                                             "s2mps11_cp", "s2mps11_bt";
>> +                     };
>> +
>> +                     regulators {
>> +                             ldo1_reg: LDO1 {
>> +                                     regulator-name = "vdd_ldo1";
>
> Is this the name as written on the PCB or board schematics?
> + the same for all regulators below.

Yes, the schematic refers to these just as above (with no specific names).
Unless you have strong objections or a re-spin of this patch becomes
necessary, I
wouldn't want to change the name you pointed above. :)
Tomasz Figa Dec. 20, 2013, 9:10 p.m. UTC | #5
On Thursday 19 of December 2013 10:05:52 Sachin Kamat wrote:
> Hi Tomasz,
> 
> On 18 December 2013 20:46, Tomasz Figa <t.figa@samsung.com> wrote:
> > Hi Sachin,
> >
> > On Thursday 05 of December 2013 15:14:24 Sachin Kamat wrote:
> >> Added regulator entries to Exynos5420 SMDK board.
> >>
> >> Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
> >> ---
> >> Changes since v1:
> >> Changed node name
> >> ---
> >>  arch/arm/boot/dts/exynos5420-smdk5420.dts |  216 +++++++++++++++++++++++++++++
> >>  1 file changed, 216 insertions(+)
> >>
> >> diff --git a/arch/arm/boot/dts/exynos5420-smdk5420.dts b/arch/arm/boot/dts/exynos5420-smdk5420.dts
> >> index fb5a1e25c632..62e1ebe4e989 100644
> >> --- a/arch/arm/boot/dts/exynos5420-smdk5420.dts
> >> +++ b/arch/arm/boot/dts/exynos5420-smdk5420.dts
> >> @@ -120,4 +120,220 @@
> >>                       reg = <0x50>;
> >>               };
> >>       };
> >> +
> >> +     hsi2c_4: i2c@12CA0000 {
> >> +             status = "okay";
> >> +
> >> +             s2mps11_pmic@66 {
> >
> > Just pmic@66 is enough.
> 
> Please see my comment below.
> 
> >
> >> +                     compatible = "samsung,s2mps11-pmic";
> >> +                     reg = <0x66>;
> >> +                     s2mps11,buck2-ramp-delay = <12>;
> >> +                     s2mps11,buck34-ramp-delay = <12>;
> >> +                     s2mps11,buck16-ramp-delay = <12>;
> >> +                     s2mps11,buck6-ramp-enable = <1>;
> >> +                     s2mps11,buck2-ramp-enable = <1>;
> >> +                     s2mps11,buck3-ramp-enable = <1>;
> >> +                     s2mps11,buck4-ramp-enable = <1>;
> >> +
> >> +                     s2mps11_osc: clocks {
> >> +                             #clock-cells = <1>;
> >> +                             clock-output-names = "s2mps11_ap",
> >> +                                             "s2mps11_cp", "s2mps11_bt";
> >> +                     };
> >> +
> >> +                     regulators {
> >> +                             ldo1_reg: LDO1 {
> >> +                                     regulator-name = "vdd_ldo1";
> >
> > Is this the name as written on the PCB or board schematics?
> > + the same for all regulators below.
> 
> Yes, the schematic refers to these just as above (with no specific names).
> Unless you have strong objections or a re-spin of this patch becomes
> necessary, I
> wouldn't want to change the name you pointed above. :)

OK.

Reviewed-by: Tomasz Figa <t.figa@samsung.com>

Best regards,
Tomasz

--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Sachin Kamat Jan. 3, 2014, 10:07 a.m. UTC | #6
On 21 December 2013 02:40, Tomasz Figa <tomasz.figa@gmail.com> wrote:
> On Thursday 19 of December 2013 10:05:52 Sachin Kamat wrote:
>> Hi Tomasz,
>>
>> On 18 December 2013 20:46, Tomasz Figa <t.figa@samsung.com> wrote:
>> > Hi Sachin,
>> >
>> > On Thursday 05 of December 2013 15:14:24 Sachin Kamat wrote:
>> >> Added regulator entries to Exynos5420 SMDK board.
>> >>
>> >> Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
>> >> ---
>> >> Changes since v1:
>> >> Changed node name
>> >> ---
>> >>  arch/arm/boot/dts/exynos5420-smdk5420.dts |  216 +++++++++++++++++++++++++++++
>> >>  1 file changed, 216 insertions(+)
>> >>
>> >> diff --git a/arch/arm/boot/dts/exynos5420-smdk5420.dts b/arch/arm/boot/dts/exynos5420-smdk5420.dts
>> >> index fb5a1e25c632..62e1ebe4e989 100644
>> >> --- a/arch/arm/boot/dts/exynos5420-smdk5420.dts
>> >> +++ b/arch/arm/boot/dts/exynos5420-smdk5420.dts
>> >> @@ -120,4 +120,220 @@
>> >>                       reg = <0x50>;
>> >>               };
>> >>       };
>> >> +
>> >> +     hsi2c_4: i2c@12CA0000 {
>> >> +             status = "okay";
>> >> +
>> >> +             s2mps11_pmic@66 {
>> >
>> > Just pmic@66 is enough.
>>
>> Please see my comment below.
>>
>> >
>> >> +                     compatible = "samsung,s2mps11-pmic";
>> >> +                     reg = <0x66>;
>> >> +                     s2mps11,buck2-ramp-delay = <12>;
>> >> +                     s2mps11,buck34-ramp-delay = <12>;
>> >> +                     s2mps11,buck16-ramp-delay = <12>;
>> >> +                     s2mps11,buck6-ramp-enable = <1>;
>> >> +                     s2mps11,buck2-ramp-enable = <1>;
>> >> +                     s2mps11,buck3-ramp-enable = <1>;
>> >> +                     s2mps11,buck4-ramp-enable = <1>;
>> >> +
>> >> +                     s2mps11_osc: clocks {
>> >> +                             #clock-cells = <1>;
>> >> +                             clock-output-names = "s2mps11_ap",
>> >> +                                             "s2mps11_cp", "s2mps11_bt";
>> >> +                     };
>> >> +
>> >> +                     regulators {
>> >> +                             ldo1_reg: LDO1 {
>> >> +                                     regulator-name = "vdd_ldo1";
>> >
>> > Is this the name as written on the PCB or board schematics?
>> > + the same for all regulators below.
>>
>> Yes, the schematic refers to these just as above (with no specific names).
>> Unless you have strong objections or a re-spin of this patch becomes
>> necessary, I
>> wouldn't want to change the name you pointed above. :)
>
> OK.
>
> Reviewed-by: Tomasz Figa <t.figa@samsung.com>

Ping Kukjin.
Kim Kukjin Feb. 24, 2014, 12:18 a.m. UTC | #7
On 01/03/14 19:07, Sachin Kamat wrote:
> On 21 December 2013 02:40, Tomasz Figa<tomasz.figa@gmail.com>  wrote:
>> On Thursday 19 of December 2013 10:05:52 Sachin Kamat wrote:
>>> Hi Tomasz,
>>>
>>> On 18 December 2013 20:46, Tomasz Figa<t.figa@samsung.com>  wrote:
>>>> Hi Sachin,
>>>>
>>>> On Thursday 05 of December 2013 15:14:24 Sachin Kamat wrote:
>>>>> Added regulator entries to Exynos5420 SMDK board.
>>>>>
>>>>> Signed-off-by: Sachin Kamat<sachin.kamat@linaro.org>
>>>>> ---
>>>>> Changes since v1:
>>>>> Changed node name
>>>>> ---
>>>>>   arch/arm/boot/dts/exynos5420-smdk5420.dts |  216 +++++++++++++++++++++++++++++
>>>>>   1 file changed, 216 insertions(+)
>>>>>
>>>>> diff --git a/arch/arm/boot/dts/exynos5420-smdk5420.dts b/arch/arm/boot/dts/exynos5420-smdk5420.dts
>>>>> index fb5a1e25c632..62e1ebe4e989 100644
>>>>> --- a/arch/arm/boot/dts/exynos5420-smdk5420.dts
>>>>> +++ b/arch/arm/boot/dts/exynos5420-smdk5420.dts
>>>>> @@ -120,4 +120,220 @@
>>>>>                        reg =<0x50>;
>>>>>                };
>>>>>        };
>>>>> +
>>>>> +     hsi2c_4: i2c@12CA0000 {
>>>>> +             status = "okay";
>>>>> +
>>>>> +             s2mps11_pmic@66 {
>>>>
>>>> Just pmic@66 is enough.
>>>
>>> Please see my comment below.
>>>
>>>>
>>>>> +                     compatible = "samsung,s2mps11-pmic";
>>>>> +                     reg =<0x66>;
>>>>> +                     s2mps11,buck2-ramp-delay =<12>;
>>>>> +                     s2mps11,buck34-ramp-delay =<12>;
>>>>> +                     s2mps11,buck16-ramp-delay =<12>;
>>>>> +                     s2mps11,buck6-ramp-enable =<1>;
>>>>> +                     s2mps11,buck2-ramp-enable =<1>;
>>>>> +                     s2mps11,buck3-ramp-enable =<1>;
>>>>> +                     s2mps11,buck4-ramp-enable =<1>;
>>>>> +
>>>>> +                     s2mps11_osc: clocks {
>>>>> +                             #clock-cells =<1>;
>>>>> +                             clock-output-names = "s2mps11_ap",
>>>>> +                                             "s2mps11_cp", "s2mps11_bt";
>>>>> +                     };
>>>>> +
>>>>> +                     regulators {
>>>>> +                             ldo1_reg: LDO1 {
>>>>> +                                     regulator-name = "vdd_ldo1";
>>>>
>>>> Is this the name as written on the PCB or board schematics?
>>>> + the same for all regulators below.
>>>
>>> Yes, the schematic refers to these just as above (with no specific names).
>>> Unless you have strong objections or a re-spin of this patch becomes
>>> necessary, I
>>> wouldn't want to change the name you pointed above. :)
>>
>> OK.
>>
>> Reviewed-by: Tomasz Figa<t.figa@samsung.com>
>
> Ping Kukjin.
>
Applied, thanks.

- Kukjin
--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/arch/arm/boot/dts/exynos5420-smdk5420.dts b/arch/arm/boot/dts/exynos5420-smdk5420.dts
index fb5a1e25c632..62e1ebe4e989 100644
--- a/arch/arm/boot/dts/exynos5420-smdk5420.dts
+++ b/arch/arm/boot/dts/exynos5420-smdk5420.dts
@@ -120,4 +120,220 @@ 
 			reg = <0x50>;
 		};
 	};
+
+	hsi2c_4: i2c@12CA0000 {
+		status = "okay";
+
+		s2mps11_pmic@66 {
+			compatible = "samsung,s2mps11-pmic";
+			reg = <0x66>;
+			s2mps11,buck2-ramp-delay = <12>;
+			s2mps11,buck34-ramp-delay = <12>;
+			s2mps11,buck16-ramp-delay = <12>;
+			s2mps11,buck6-ramp-enable = <1>;
+			s2mps11,buck2-ramp-enable = <1>;
+			s2mps11,buck3-ramp-enable = <1>;
+			s2mps11,buck4-ramp-enable = <1>;
+
+			s2mps11_osc: clocks {
+				#clock-cells = <1>;
+				clock-output-names = "s2mps11_ap",
+						"s2mps11_cp", "s2mps11_bt";
+			};
+
+			regulators {
+				ldo1_reg: LDO1 {
+					regulator-name = "vdd_ldo1";
+					regulator-min-microvolt = <1000000>;
+					regulator-max-microvolt = <1000000>;
+					regulator-always-on;
+				};
+
+				ldo3_reg: LDO3 {
+					regulator-name = "vdd_ldo3";
+					regulator-min-microvolt = <1800000>;
+					regulator-max-microvolt = <1800000>;
+					regulator-always-on;
+				};
+
+				ldo5_reg: LDO5 {
+					regulator-name = "vdd_ldo5";
+					regulator-min-microvolt = <1800000>;
+					regulator-max-microvolt = <1800000>;
+					regulator-always-on;
+				};
+
+				ldo6_reg: LDO6 {
+					regulator-name = "vdd_ldo6";
+					regulator-min-microvolt = <1000000>;
+					regulator-max-microvolt = <1000000>;
+					regulator-always-on;
+				};
+
+				ldo7_reg: LDO7 {
+					regulator-name = "vdd_ldo7";
+					regulator-min-microvolt = <1800000>;
+					regulator-max-microvolt = <1800000>;
+					regulator-always-on;
+				};
+
+				ldo8_reg: LDO8 {
+					regulator-name = "vdd_ldo8";
+					regulator-min-microvolt = <1800000>;
+					regulator-max-microvolt = <1800000>;
+					regulator-always-on;
+				};
+
+				ldo9_reg: LDO9 {
+					regulator-name = "vdd_ldo9";
+					regulator-min-microvolt = <3000000>;
+					regulator-max-microvolt = <3000000>;
+					regulator-always-on;
+				};
+
+				ldo10_reg: LDO10 {
+					regulator-name = "vdd_ldo10";
+					regulator-min-microvolt = <1800000>;
+					regulator-max-microvolt = <1800000>;
+					regulator-always-on;
+				};
+
+				ldo11_reg: LDO11 {
+					regulator-name = "vdd_ldo11";
+					regulator-min-microvolt = <1000000>;
+					regulator-max-microvolt = <1000000>;
+					regulator-always-on;
+				};
+
+				ldo12_reg: LDO12 {
+					regulator-name = "vdd_ldo12";
+					regulator-min-microvolt = <1800000>;
+					regulator-max-microvolt = <1800000>;
+					regulator-always-on;
+				};
+
+				ldo13_reg: LDO13 {
+					regulator-name = "vdd_ldo13";
+					regulator-min-microvolt = <2800000>;
+					regulator-max-microvolt = <2800000>;
+					regulator-always-on;
+				};
+
+				ldo15_reg: LDO15 {
+					regulator-name = "vdd_ldo15";
+					regulator-min-microvolt = <3100000>;
+					regulator-max-microvolt = <3100000>;
+					regulator-always-on;
+				};
+
+				ldo16_reg: LDO16 {
+					regulator-name = "vdd_ldo16";
+					regulator-min-microvolt = <2200000>;
+					regulator-max-microvolt = <2200000>;
+					regulator-always-on;
+				};
+
+				ldo17_reg: LDO17 {
+					regulator-name = "tsp_avdd";
+					regulator-min-microvolt = <3300000>;
+					regulator-max-microvolt = <3300000>;
+					regulator-always-on;
+				};
+
+				ldo19_reg: LDO19 {
+					regulator-name = "vdd_sd";
+					regulator-min-microvolt = <2800000>;
+					regulator-max-microvolt = <2800000>;
+					regulator-always-on;
+				};
+
+				ldo24_reg: LDO24 {
+					regulator-name = "tsp_io";
+					regulator-min-microvolt = <2800000>;
+					regulator-max-microvolt = <2800000>;
+					regulator-always-on;
+				};
+
+				buck1_reg: BUCK1 {
+					regulator-name = "vdd_mif";
+					regulator-min-microvolt = <800000>;
+					regulator-max-microvolt = <1300000>;
+					regulator-always-on;
+					regulator-boot-on;
+				};
+
+				buck2_reg: BUCK2 {
+					regulator-name = "vdd_arm";
+					regulator-min-microvolt = <800000>;
+					regulator-max-microvolt = <1500000>;
+					regulator-always-on;
+					regulator-boot-on;
+				};
+
+				buck3_reg: BUCK3 {
+					regulator-name = "vdd_int";
+					regulator-min-microvolt = <800000>;
+					regulator-max-microvolt = <1400000>;
+					regulator-always-on;
+					regulator-boot-on;
+				};
+
+				buck4_reg: BUCK4 {
+					regulator-name = "vdd_g3d";
+					regulator-min-microvolt = <800000>;
+					regulator-max-microvolt = <1400000>;
+					regulator-always-on;
+					regulator-boot-on;
+				};
+
+				buck5_reg: BUCK5 {
+					regulator-name = "vdd_mem";
+					regulator-min-microvolt = <800000>;
+					regulator-max-microvolt = <1400000>;
+					regulator-always-on;
+					regulator-boot-on;
+				};
+
+				buck6_reg: BUCK6 {
+					regulator-name = "vdd_kfc";
+					regulator-min-microvolt = <800000>;
+					regulator-max-microvolt = <1500000>;
+					regulator-always-on;
+					regulator-boot-on;
+				};
+
+				buck7_reg: BUCK7 {
+					regulator-name = "vdd_1.0v_ldo";
+					regulator-min-microvolt = <800000>;
+					regulator-max-microvolt = <1500000>;
+					regulator-always-on;
+					regulator-boot-on;
+				};
+
+				buck8_reg: BUCK8 {
+					regulator-name = "vdd_1.8v_ldo";
+					regulator-min-microvolt = <800000>;
+					regulator-max-microvolt = <1500000>;
+					regulator-always-on;
+					regulator-boot-on;
+				};
+
+				buck9_reg: BUCK9 {
+					regulator-name = "vdd_2.8v_ldo";
+					regulator-min-microvolt = <3000000>;
+					regulator-max-microvolt = <3750000>;
+					regulator-always-on;
+					regulator-boot-on;
+				};
+
+				buck10_reg: BUCK10 {
+					regulator-name = "vdd_vmem";
+					regulator-min-microvolt = <2850000>;
+					regulator-max-microvolt = <2850000>;
+					regulator-always-on;
+					regulator-boot-on;
+				};
+			};
+		};
+	};
 };