* [PATCH] ARM: dts: use vqmmc-supply of emmc/sd for exynos4412-odroid-common @ 2015-08-27 9:29 Jaehoon Chung 2015-08-27 10:03 ` Javier Martinez Canillas 2015-08-27 12:26 ` Krzysztof Kozlowski 0 siblings, 2 replies; 7+ messages in thread From: Jaehoon Chung @ 2015-08-27 9:29 UTC (permalink / raw) To: linux-samsung-soc Cc: linux-kernel, devicetree, Kukjin Kim, Krzysztof Kozlowski, Jaehoon Chung Currently vmmc's property is wrong. If it needs to control two supplies, then it has to use vmmc/vqmmc-supply. (Card supply power and I/O Line supply Power.) Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com> --- arch/arm/boot/dts/exynos4412-odroid-common.dtsi | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/exynos4412-odroid-common.dtsi b/arch/arm/boot/dts/exynos4412-odroid-common.dtsi index ca7d168..4ddabfd 100644 --- a/arch/arm/boot/dts/exynos4412-odroid-common.dtsi +++ b/arch/arm/boot/dts/exynos4412-odroid-common.dtsi @@ -461,10 +461,10 @@ &mshc_0 { pinctrl-0 = <&sd4_clk &sd4_cmd &sd4_bus4 &sd4_bus8>; pinctrl-names = "default"; - vmmc-supply = <&ldo20_reg &buck8_reg>; + vmmc-supply = <&ldo20_reg>; + vqmmc-supply = <&buck8_reg>; mmc-pwrseq = <&emmc_pwrseq>; status = "okay"; - num-slots = <1>; broken-cd; card-detect-delay = <200>; @@ -485,7 +485,8 @@ bus-width = <4>; pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus4>; pinctrl-names = "default"; - vmmc-supply = <&ldo4_reg &ldo21_reg>; + vmmc-supply = <&ldo21_reg>; + vqmmc-supply = <&ldo4_reg>; cd-gpios = <&gpk2 2 0>; cd-inverted; status = "okay"; -- 1.9.1 ^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH] ARM: dts: use vqmmc-supply of emmc/sd for exynos4412-odroid-common 2015-08-27 9:29 [PATCH] ARM: dts: use vqmmc-supply of emmc/sd for exynos4412-odroid-common Jaehoon Chung @ 2015-08-27 10:03 ` Javier Martinez Canillas 2015-08-27 12:26 ` Krzysztof Kozlowski 1 sibling, 0 replies; 7+ messages in thread From: Javier Martinez Canillas @ 2015-08-27 10:03 UTC (permalink / raw) To: Jaehoon Chung, linux-samsung-soc Cc: linux-kernel, devicetree, Kukjin Kim, Krzysztof Kozlowski Hello Jaehoon, On 08/27/2015 11:29 AM, Jaehoon Chung wrote: > Currently vmmc's property is wrong. > If it needs to control two supplies, then it has to use vmmc/vqmmc-supply. > (Card supply power and I/O Line supply Power.) > > Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com> > --- > arch/arm/boot/dts/exynos4412-odroid-common.dtsi | 7 ++++--- > 1 file changed, 4 insertions(+), 3 deletions(-) > > diff --git a/arch/arm/boot/dts/exynos4412-odroid-common.dtsi b/arch/arm/boot/dts/exynos4412-odroid-common.dtsi > index ca7d168..4ddabfd 100644 > --- a/arch/arm/boot/dts/exynos4412-odroid-common.dtsi > +++ b/arch/arm/boot/dts/exynos4412-odroid-common.dtsi > @@ -461,10 +461,10 @@ > &mshc_0 { > pinctrl-0 = <&sd4_clk &sd4_cmd &sd4_bus4 &sd4_bus8>; > pinctrl-names = "default"; > - vmmc-supply = <&ldo20_reg &buck8_reg>; > + vmmc-supply = <&ldo20_reg>; > + vqmmc-supply = <&buck8_reg>; > mmc-pwrseq = <&emmc_pwrseq>; > status = "okay"; > - > num-slots = <1>; > broken-cd; > card-detect-delay = <200>; > @@ -485,7 +485,8 @@ > bus-width = <4>; > pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus4>; > pinctrl-names = "default"; > - vmmc-supply = <&ldo4_reg &ldo21_reg>; > + vmmc-supply = <&ldo21_reg>; > + vqmmc-supply = <&ldo4_reg>; > cd-gpios = <&gpk2 2 0>; > cd-inverted; > status = "okay"; > I didn't check against the board schematics but the change makes sense to me. Reviewed-by: Javier Martinez Canillas <javier@osg.samsung.com> Best regards, -- Javier Martinez Canillas Open Source Group Samsung Research America ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] ARM: dts: use vqmmc-supply of emmc/sd for exynos4412-odroid-common 2015-08-27 9:29 [PATCH] ARM: dts: use vqmmc-supply of emmc/sd for exynos4412-odroid-common Jaehoon Chung 2015-08-27 10:03 ` Javier Martinez Canillas @ 2015-08-27 12:26 ` Krzysztof Kozlowski 2015-08-28 1:48 ` Jaehoon Chung 1 sibling, 1 reply; 7+ messages in thread From: Krzysztof Kozlowski @ 2015-08-27 12:26 UTC (permalink / raw) To: Jaehoon Chung, linux-samsung-soc; +Cc: linux-kernel, devicetree, Kukjin Kim W dniu 27.08.2015 o 18:29, Jaehoon Chung pisze: > Currently vmmc's property is wrong. > If it needs to control two supplies, then it has to use vmmc/vqmmc-supply. > (Card supply power and I/O Line supply Power.) > > Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com> > --- > arch/arm/boot/dts/exynos4412-odroid-common.dtsi | 7 ++++--- > 1 file changed, 4 insertions(+), 3 deletions(-) > > diff --git a/arch/arm/boot/dts/exynos4412-odroid-common.dtsi b/arch/arm/boot/dts/exynos4412-odroid-common.dtsi > index ca7d168..4ddabfd 100644 > --- a/arch/arm/boot/dts/exynos4412-odroid-common.dtsi > +++ b/arch/arm/boot/dts/exynos4412-odroid-common.dtsi > @@ -461,10 +461,10 @@ > &mshc_0 { > pinctrl-0 = <&sd4_clk &sd4_cmd &sd4_bus4 &sd4_bus8>; > pinctrl-names = "default"; > - vmmc-supply = <&ldo20_reg &buck8_reg>; > + vmmc-supply = <&ldo20_reg>; > + vqmmc-supply = <&buck8_reg>; Shouldn't this be reversed? LDO20 has 1.8V and it goes to MMC connector, so it should be VQMMC? In the same time I can't find on schematics where BUCK8 goes... The SDHCI_2 node below looks good. Best regards, Krzysztof > mmc-pwrseq = <&emmc_pwrseq>; > status = "okay"; > - > num-slots = <1>; > broken-cd; > card-detect-delay = <200>; > @@ -485,7 +485,8 @@ > bus-width = <4>; > pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus4>; > pinctrl-names = "default"; > - vmmc-supply = <&ldo4_reg &ldo21_reg>; > + vmmc-supply = <&ldo21_reg>; > + vqmmc-supply = <&ldo4_reg>; > cd-gpios = <&gpk2 2 0>; > cd-inverted; > status = "okay"; > ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] ARM: dts: use vqmmc-supply of emmc/sd for exynos4412-odroid-common 2015-08-27 12:26 ` Krzysztof Kozlowski @ 2015-08-28 1:48 ` Jaehoon Chung [not found] ` <55DFBE08.9090603-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org> 0 siblings, 1 reply; 7+ messages in thread From: Jaehoon Chung @ 2015-08-28 1:48 UTC (permalink / raw) To: Krzysztof Kozlowski, linux-samsung-soc Cc: linux-kernel, devicetree, Kukjin Kim On 08/27/2015 09:26 PM, Krzysztof Kozlowski wrote: > W dniu 27.08.2015 o 18:29, Jaehoon Chung pisze: >> Currently vmmc's property is wrong. >> If it needs to control two supplies, then it has to use vmmc/vqmmc-supply. >> (Card supply power and I/O Line supply Power.) >> >> Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com> >> --- >> arch/arm/boot/dts/exynos4412-odroid-common.dtsi | 7 ++++--- >> 1 file changed, 4 insertions(+), 3 deletions(-) >> >> diff --git a/arch/arm/boot/dts/exynos4412-odroid-common.dtsi b/arch/arm/boot/dts/exynos4412-odroid-common.dtsi >> index ca7d168..4ddabfd 100644 >> --- a/arch/arm/boot/dts/exynos4412-odroid-common.dtsi >> +++ b/arch/arm/boot/dts/exynos4412-odroid-common.dtsi >> @@ -461,10 +461,10 @@ >> &mshc_0 { >> pinctrl-0 = <&sd4_clk &sd4_cmd &sd4_bus4 &sd4_bus8>; >> pinctrl-names = "default"; >> - vmmc-supply = <&ldo20_reg &buck8_reg>; >> + vmmc-supply = <&ldo20_reg>; >> + vqmmc-supply = <&buck8_reg>; > > Shouldn't this be reversed? LDO20 has 1.8V and it goes to MMC connector, > so it should be VQMMC? If my schematics is right thing, buck8 is used LAN card power. I will send after removing buck8_reg. how about? Anyway, Thanks for pointing out. :) I don't know who this regulator applied. I have guessed that it used for eMMC. Sorry for guessing. Best Regards, Jaehoon Chung > > In the same time I can't find on schematics where BUCK8 goes... > > The SDHCI_2 node below looks good. > > Best regards, > Krzysztof > >> mmc-pwrseq = <&emmc_pwrseq>; >> status = "okay"; >> - >> num-slots = <1>; >> broken-cd; >> card-detect-delay = <200>; >> @@ -485,7 +485,8 @@ >> bus-width = <4>; >> pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus4>; >> pinctrl-names = "default"; >> - vmmc-supply = <&ldo4_reg &ldo21_reg>; >> + vmmc-supply = <&ldo21_reg>; >> + vqmmc-supply = <&ldo4_reg>; >> cd-gpios = <&gpk2 2 0>; >> cd-inverted; >> status = "okay"; >> > > > ^ permalink raw reply [flat|nested] 7+ messages in thread
[parent not found: <55DFBE08.9090603-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>]
* Re: [PATCH] ARM: dts: use vqmmc-supply of emmc/sd for exynos4412-odroid-common 2015-08-28 1:48 ` Jaehoon Chung @ 2015-08-28 1:56 ` Krzysztof Kozlowski 0 siblings, 0 replies; 7+ messages in thread From: Krzysztof Kozlowski @ 2015-08-28 1:56 UTC (permalink / raw) To: Jaehoon Chung, linux-samsung-soc-u79uwXL29TY76Z2rM5mHXA Cc: linux-kernel-u79uwXL29TY76Z2rM5mHXA, devicetree-u79uwXL29TY76Z2rM5mHXA, Kukjin Kim On 28.08.2015 10:48, Jaehoon Chung wrote: > On 08/27/2015 09:26 PM, Krzysztof Kozlowski wrote: >> W dniu 27.08.2015 o 18:29, Jaehoon Chung pisze: >>> Currently vmmc's property is wrong. >>> If it needs to control two supplies, then it has to use vmmc/vqmmc-supply. >>> (Card supply power and I/O Line supply Power.) >>> >>> Signed-off-by: Jaehoon Chung <jh80.chung-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org> >>> --- >>> arch/arm/boot/dts/exynos4412-odroid-common.dtsi | 7 ++++--- >>> 1 file changed, 4 insertions(+), 3 deletions(-) >>> >>> diff --git a/arch/arm/boot/dts/exynos4412-odroid-common.dtsi b/arch/arm/boot/dts/exynos4412-odroid-common.dtsi >>> index ca7d168..4ddabfd 100644 >>> --- a/arch/arm/boot/dts/exynos4412-odroid-common.dtsi >>> +++ b/arch/arm/boot/dts/exynos4412-odroid-common.dtsi >>> @@ -461,10 +461,10 @@ >>> &mshc_0 { >>> pinctrl-0 = <&sd4_clk &sd4_cmd &sd4_bus4 &sd4_bus8>; >>> pinctrl-names = "default"; >>> - vmmc-supply = <&ldo20_reg &buck8_reg>; >>> + vmmc-supply = <&ldo20_reg>; >>> + vqmmc-supply = <&buck8_reg>; >> >> Shouldn't this be reversed? LDO20 has 1.8V and it goes to MMC connector, >> so it should be VQMMC? > > If my schematics is right thing, buck8 is used LAN card power. > I will send after removing buck8_reg. how about? > Anyway, Thanks for pointing out. :) Removing this regulator from this node would effectively disable it. That could affect other components like LAN. Anyway before fixing the order I would prefer to find the right regulators used by MSHC node. Best regards, Krzysztof > > I don't know who this regulator applied. I have guessed that it used for eMMC. > Sorry for guessing. > > Best Regards, > Jaehoon Chung > >> >> In the same time I can't find on schematics where BUCK8 goes... >> >> The SDHCI_2 node below looks good. >> >> Best regards, >> Krzysztof >> >>> mmc-pwrseq = <&emmc_pwrseq>; >>> status = "okay"; >>> - >>> num-slots = <1>; >>> broken-cd; >>> card-detect-delay = <200>; >>> @@ -485,7 +485,8 @@ >>> bus-width = <4>; >>> pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus4>; >>> pinctrl-names = "default"; >>> - vmmc-supply = <&ldo4_reg &ldo21_reg>; >>> + vmmc-supply = <&ldo21_reg>; >>> + vqmmc-supply = <&ldo4_reg>; >>> cd-gpios = <&gpk2 2 0>; >>> cd-inverted; >>> status = "okay"; >>> >> >> >> > > -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] ARM: dts: use vqmmc-supply of emmc/sd for exynos4412-odroid-common @ 2015-08-28 1:56 ` Krzysztof Kozlowski 0 siblings, 0 replies; 7+ messages in thread From: Krzysztof Kozlowski @ 2015-08-28 1:56 UTC (permalink / raw) To: Jaehoon Chung, linux-samsung-soc; +Cc: linux-kernel, devicetree, Kukjin Kim On 28.08.2015 10:48, Jaehoon Chung wrote: > On 08/27/2015 09:26 PM, Krzysztof Kozlowski wrote: >> W dniu 27.08.2015 o 18:29, Jaehoon Chung pisze: >>> Currently vmmc's property is wrong. >>> If it needs to control two supplies, then it has to use vmmc/vqmmc-supply. >>> (Card supply power and I/O Line supply Power.) >>> >>> Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com> >>> --- >>> arch/arm/boot/dts/exynos4412-odroid-common.dtsi | 7 ++++--- >>> 1 file changed, 4 insertions(+), 3 deletions(-) >>> >>> diff --git a/arch/arm/boot/dts/exynos4412-odroid-common.dtsi b/arch/arm/boot/dts/exynos4412-odroid-common.dtsi >>> index ca7d168..4ddabfd 100644 >>> --- a/arch/arm/boot/dts/exynos4412-odroid-common.dtsi >>> +++ b/arch/arm/boot/dts/exynos4412-odroid-common.dtsi >>> @@ -461,10 +461,10 @@ >>> &mshc_0 { >>> pinctrl-0 = <&sd4_clk &sd4_cmd &sd4_bus4 &sd4_bus8>; >>> pinctrl-names = "default"; >>> - vmmc-supply = <&ldo20_reg &buck8_reg>; >>> + vmmc-supply = <&ldo20_reg>; >>> + vqmmc-supply = <&buck8_reg>; >> >> Shouldn't this be reversed? LDO20 has 1.8V and it goes to MMC connector, >> so it should be VQMMC? > > If my schematics is right thing, buck8 is used LAN card power. > I will send after removing buck8_reg. how about? > Anyway, Thanks for pointing out. :) Removing this regulator from this node would effectively disable it. That could affect other components like LAN. Anyway before fixing the order I would prefer to find the right regulators used by MSHC node. Best regards, Krzysztof > > I don't know who this regulator applied. I have guessed that it used for eMMC. > Sorry for guessing. > > Best Regards, > Jaehoon Chung > >> >> In the same time I can't find on schematics where BUCK8 goes... >> >> The SDHCI_2 node below looks good. >> >> Best regards, >> Krzysztof >> >>> mmc-pwrseq = <&emmc_pwrseq>; >>> status = "okay"; >>> - >>> num-slots = <1>; >>> broken-cd; >>> card-detect-delay = <200>; >>> @@ -485,7 +485,8 @@ >>> bus-width = <4>; >>> pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus4>; >>> pinctrl-names = "default"; >>> - vmmc-supply = <&ldo4_reg &ldo21_reg>; >>> + vmmc-supply = <&ldo21_reg>; >>> + vqmmc-supply = <&ldo4_reg>; >>> cd-gpios = <&gpk2 2 0>; >>> cd-inverted; >>> status = "okay"; >>> >> >> >> > > ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] ARM: dts: use vqmmc-supply of emmc/sd for exynos4412-odroid-common 2015-08-28 1:56 ` Krzysztof Kozlowski (?) @ 2015-08-28 16:10 ` Tobias Jakobi -1 siblings, 0 replies; 7+ messages in thread From: Tobias Jakobi @ 2015-08-28 16:10 UTC (permalink / raw) To: Krzysztof Kozlowski, Jaehoon Chung, linux-samsung-soc Cc: linux-kernel, devicetree, Kukjin Kim Hello, Krzysztof Kozlowski wrote: > On 28.08.2015 10:48, Jaehoon Chung wrote: >> On 08/27/2015 09:26 PM, Krzysztof Kozlowski wrote: >>> W dniu 27.08.2015 o 18:29, Jaehoon Chung pisze: >>>> Currently vmmc's property is wrong. >>>> If it needs to control two supplies, then it has to use vmmc/vqmmc-supply. >>>> (Card supply power and I/O Line supply Power.) >>>> >>>> Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com> >>>> --- >>>> arch/arm/boot/dts/exynos4412-odroid-common.dtsi | 7 ++++--- >>>> 1 file changed, 4 insertions(+), 3 deletions(-) >>>> >>>> diff --git a/arch/arm/boot/dts/exynos4412-odroid-common.dtsi b/arch/arm/boot/dts/exynos4412-odroid-common.dtsi >>>> index ca7d168..4ddabfd 100644 >>>> --- a/arch/arm/boot/dts/exynos4412-odroid-common.dtsi >>>> +++ b/arch/arm/boot/dts/exynos4412-odroid-common.dtsi >>>> @@ -461,10 +461,10 @@ >>>> &mshc_0 { >>>> pinctrl-0 = <&sd4_clk &sd4_cmd &sd4_bus4 &sd4_bus8>; >>>> pinctrl-names = "default"; >>>> - vmmc-supply = <&ldo20_reg &buck8_reg>; >>>> + vmmc-supply = <&ldo20_reg>; >>>> + vqmmc-supply = <&buck8_reg>; >>> >>> Shouldn't this be reversed? LDO20 has 1.8V and it goes to MMC connector, >>> so it should be VQMMC? >> >> If my schematics is right thing, buck8 is used LAN card power. >> I will send after removing buck8_reg. how about? >> Anyway, Thanks for pointing out. :) > > Removing this regulator from this node would effectively disable it. > That could affect other components like LAN. > > Anyway before fixing the order I would prefer to find the right > regulators used by MSHC node. Please see this commit: https://github.com/tobiasjakobi/linux-odroid/commit/113ffb92e0c7f58f15fe60b47d13eb2d65956d10 This was derived from private communication with Hardkernel. I can't vouch for correctness though. With best wishes, Tobias > Best regards, > Krzysztof > >> >> I don't know who this regulator applied. I have guessed that it used for eMMC. >> Sorry for guessing. >> >> Best Regards, >> Jaehoon Chung >> >>> >>> In the same time I can't find on schematics where BUCK8 goes... >>> >>> The SDHCI_2 node below looks good. >>> >>> Best regards, >>> Krzysztof >>> >>>> mmc-pwrseq = <&emmc_pwrseq>; >>>> status = "okay"; >>>> - >>>> num-slots = <1>; >>>> broken-cd; >>>> card-detect-delay = <200>; >>>> @@ -485,7 +485,8 @@ >>>> bus-width = <4>; >>>> pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus4>; >>>> pinctrl-names = "default"; >>>> - vmmc-supply = <&ldo4_reg &ldo21_reg>; >>>> + vmmc-supply = <&ldo21_reg>; >>>> + vqmmc-supply = <&ldo4_reg>; >>>> cd-gpios = <&gpk2 2 0>; >>>> cd-inverted; >>>> status = "okay"; >>>> >>> >>> >>> >> >> > > -- > 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 > ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2015-08-28 16:10 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-27 9:29 [PATCH] ARM: dts: use vqmmc-supply of emmc/sd for exynos4412-odroid-common Jaehoon Chung
2015-08-27 10:03 ` Javier Martinez Canillas
2015-08-27 12:26 ` Krzysztof Kozlowski
2015-08-28 1:48 ` Jaehoon Chung
[not found] ` <55DFBE08.9090603-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2015-08-28 1:56 ` Krzysztof Kozlowski
2015-08-28 1:56 ` Krzysztof Kozlowski
2015-08-28 16:10 ` Tobias Jakobi
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.