Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751605AbbH1B5I (ORCPT ); Thu, 27 Aug 2015 21:57:08 -0400 Received: from mailout1.w1.samsung.com ([210.118.77.11]:39381 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750979AbbH1B5G (ORCPT ); Thu, 27 Aug 2015 21:57:06 -0400 X-AuditID: cbfec7f4-f79c56d0000012ee-f5-55dfbfeed7fb Subject: Re: [PATCH] ARM: dts: use vqmmc-supply of emmc/sd for exynos4412-odroid-common To: Jaehoon Chung , linux-samsung-soc@vger.kernel.org References: <1440667758-14960-1-git-send-email-jh80.chung@samsung.com> <55DF0204.1010604@samsung.com> <55DFBE08.9090603@samsung.com> Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Kukjin Kim From: Krzysztof Kozlowski Message-id: <55DFBFEB.10904@samsung.com> Date: Fri, 28 Aug 2015 10:56:59 +0900 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-version: 1.0 In-reply-to: <55DFBE08.9090603@samsung.com> Content-type: text/plain; charset=iso-8859-2 Content-transfer-encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrJLMWRmVeSWpSXmKPExsVy+t/xq7rv9t8PNTh1zchi/pFzrBY3frWx Wrx+YWjR//g1s8XlXXPYLGac38fkwOaxaVUnm0ffllWMHp83yQUwR3HZpKTmZJalFunbJXBl tP77yFywV6jizPUTzA2M7/m6GDk5JARMJJpnr2OEsMUkLtxbz9bFyMUhJLCUUeLOtgvsIAkh gS+MEnteKoDYwgKREsunrWQGsUUEfCXaml4xQTS0MUo8e3CNDSTBLBArcbDzHlgzm4CxxObl S8DivAIaEssfXwBrZhFQlXjW84cVxBYViJA4dfYtVI2gxI/J91i6GDk4OAW0JfpmCYCYzAI6 El8nRUBMl5fYvOYt8wRGgVlIGmYhVM1CUrWAkXkVo2hqaXJBcVJ6rqFecWJucWleul5yfu4m RkgAf9nBuPiY1SFGAQ5GJR5eiw33Q4VYE8uKK3MPMUpwMCuJ8JpsAQrxpiRWVqUW5ccXleak Fh9ilOZgURLnnbvrfYiQQHpiSWp2ampBahFMlomDU6qBUZCP0cM4+NePIB4n5+dLJfyqSxUO zP9w4Fn/3hXbvLfs38S8oV84feVflqz6heqMAlwuO37uzX16mrt33tp6U0V2v29KCZ6CnlUL 6332SXbnRD2PFw3pnsTDmXb/6Ld0c16HybpnM1teWy5d3W4uteBR657zNcK9l2/nalgGT5zP xD2P4fdNJZbijERDLeai4kQANRD6bVwCAAA= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2532 Lines: 83 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. 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-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/