Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752753AbbH1QK3 (ORCPT ); Fri, 28 Aug 2015 12:10:29 -0400 Received: from mout.gmx.net ([212.227.15.18]:61453 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751879AbbH1QK1 (ORCPT ); Fri, 28 Aug 2015 12:10:27 -0400 Message-ID: <55E087E8.3080703@gmx.net> Date: Fri, 28 Aug 2015 18:10:16 +0200 From: Tobias Jakobi User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:36.0) Gecko/20100101 Firefox/36.0 SeaMonkey/2.33.1 MIME-Version: 1.0 To: Krzysztof Kozlowski , Jaehoon Chung , linux-samsung-soc@vger.kernel.org CC: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Kukjin Kim Subject: Re: [PATCH] ARM: dts: use vqmmc-supply of emmc/sd for exynos4412-odroid-common References: <1440667758-14960-1-git-send-email-jh80.chung@samsung.com> <55DF0204.1010604@samsung.com> <55DFBE08.9090603@samsung.com> <55DFBFEB.10904@samsung.com> In-Reply-To: <55DFBFEB.10904@samsung.com> Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:iJgUNqiu2UIRJ4WFRd5asm5SBfG3JW6i2GSUvCpDt+QE9uav9g8 +VtBzf2EE9AKS9o2qQ+XJVAl9HBexrbx+D5JaAHRleZSTiR7U7z3VvEeAKDGpUKvuvJwx98 m89UM24TaY4EzTkxwJIvLYJEytUanwZODimE1h7JXfeTVv6bscVlFpx+sNjewNyg1QuCx+I NmVG6DNhzyVVi6b0kvX2g== X-UI-Out-Filterresults: notjunk:1;V01:K0:kGi+Ma+yGs4=:N4LPc/3BvxEEPUiBl8fBbS aJxv9/UjBuhYnvd0yoFwp8qTBTGKwvzQ9HMXQ9WwpDmf4KELBN3VeA5sLCAFqyj5lHG0o8t9I 8DjXobX0W1H54u3RPVK76wmTIO161kd3GQUAoHVZsWMw+A2F3YugE9tWN9sq2hzULpaj+dC5P paZh0MMwPVJOhZ6sTucX3NVM99Ag3FiUpu9CZqf7A5ux0mSLqtb2y7f4ghS9hXcTbdDzPkYQ0 Z1f2qw5QDxOIjZnthyvhw+OWjeBwUNvMGjKqZC4Kc9FcHlVnGeGKGJxrN6FTePr3FlaKLIp6L tYG/Kx6hKrZc1vrIwHfeOK/8ssGRGA2f++BZePAY7Joqql6ubEBahJGJ4JhzCiIhmj4vuW5nI +ntydkPgSwLqkBLPRsgzoloCau+LjFznszr2w4jt7bPFTmgMpH71+x19sS+3sQE3n5+gIuqa4 6F+pOYfGxbB6LAvQJz12/mVdfIQbAWep7LYPqLmUHbBC7IwhfWu/NwuORCBkQIjLc9OKx/kcz cw4RKlC/S+MOXys63cA5VBGOMsK9dvosLIoL0WMkwBNANUXLvw5uHlW0FT0dTtxeXylYQI/6w OMX/QMT3eyRqk6i44POyqDFj9m+pyCz995LbRYpIFR6nTlMgFp9elMxCiWT8d7+gzrp9VU3Si TodJoues4BxPSzWpdfY61hcTwDGJfrbMvU4qz5Mx37hJDgPTQxJtXQeP01oRedSxz7gIhZwc5 MNmSQUabTJk6EEsfx+8BKvgLGcrNQAYFYibdGg== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3108 Lines: 103 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 >>>> --- >>>> 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 > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/