From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 7B488E00E69; Thu, 1 Oct 2015 02:32:09 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, SPF_HELO_PASS,T_DKIM_INVALID autolearn=no version=3.3.1 X-Spam-HAM-Report: * -0.0 SPF_HELO_PASS SPF: HELO matches SPF record * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily * valid * 0.0 T_DKIM_INVALID DKIM-Signature header exists but is not valid Received: from compulab.co.il (softlayer.compulab.co.il [50.23.254.55]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 0E8BAE009D9 for ; Thu, 1 Oct 2015 02:32:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=compulab.co.il; s=default; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From:References:To:Subject; bh=A4YGJXXELS4KUaKJDviIfQo/qE5gCuCNkZuzwsFBPFM=; b=QC61FucYWaxARmLC9CD4l+uRWmg9Kp2kMhZiiQ4ApPX3gItntEpu+Y4IIxnLhivXJsB6C5zrvOPLkRJBoJQsqr5wulIPlrRnPr+0Zubwz8bT8O0+biot/GTWZrMYYOcOYQBiNE1lcGfj4guI7BBINM3DCzjN+WHfKYv59ZM+zjY=; Received: from [82.166.188.245] (port=43590 helo=zimbra-mta.compulab.co.il) by softlayer.compulab.co.il with esmtp (Exim 4.85) (envelope-from ) id 1ZhaDc-0004SF-Ah; Thu, 01 Oct 2015 12:32:04 +0300 Received: from localhost (localhost [127.0.0.1]) by zimbra-mta.compulab.co.il (Postfix) with ESMTP id 1E6F3488F44; Thu, 1 Oct 2015 12:32:03 +0300 (IDT) Received: from zimbra-mta.compulab.co.il ([127.0.0.1]) by localhost (zimbra-mta.compulab.co.il [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id x9pUAh6oaxGE; Thu, 1 Oct 2015 12:32:01 +0300 (IDT) Received: from localhost (localhost [127.0.0.1]) by zimbra-mta.compulab.co.il (Postfix) with ESMTP id AC8C1488F42; Thu, 1 Oct 2015 12:32:01 +0300 (IDT) X-Virus-Scanned: amavisd-new at zimbra-mta.compulab.co.il Received: from zimbra-mta.compulab.co.il ([127.0.0.1]) by localhost (zimbra-mta.compulab.co.il [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id M6ys0p1etnCw; Thu, 1 Oct 2015 12:32:01 +0300 (IDT) Received: from [192.168.11.13] (grinberg-linux.compulab.local [192.168.11.13]) by zimbra-mta.compulab.co.il (Postfix) with ESMTP id 64E8D488F36; Thu, 1 Oct 2015 12:32:01 +0300 (IDT) To: Valentin Raevsky , meta-freescale@yoctoproject.org, otavio@ossystems.com.br References: <1443626027-26921-1-git-send-email-valentin@compulab.co.il> <1443626027-26921-4-git-send-email-valentin@compulab.co.il> From: Igor Grinberg X-Enigmail-Draft-Status: N1110 Organization: CompuLab Ltd. Message-ID: <560CFD90.1040205@compulab.co.il> Date: Thu, 1 Oct 2015 12:32:00 +0300 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: <1443626027-26921-4-git-send-email-valentin@compulab.co.il> X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - softlayer.compulab.co.il X-AntiAbuse: Original Domain - yoctoproject.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - compulab.co.il X-Get-Message-Sender-Via: softlayer.compulab.co.il: acl_c_relayhosts_text_entry: grinberg@compulab.co.il|compulab.co.il Subject: Re: [meta-fsl-arm-extra][PATCH 4/4] linux-compulab: update cm-fx6 3.14.28 kernel configuration X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Oct 2015 09:32:09 -0000 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit On 09/30/15 18:13, Valentin Raevsky wrote: > 1) Add the patch that fixes the SD card boot issue. > 2) Add the "regulators always-on" patch. > > Signed-off-by: Valentin Raevsky > --- > .../0060-ARM-i.MX6-dts-regulators-always-on.patch | 49 +++++++++++++++++++ > ...6-cm-fx6-Fix-usdhc3-controller-s-property.patch | 56 ++++++++++++++++++++++ > 2 files changed, 105 insertions(+) > create mode 100644 recipes-kernel/linux/linux-compulab-3.14.28/0060-ARM-i.MX6-dts-regulators-always-on.patch > create mode 100644 recipes-kernel/linux/linux-compulab-3.14.28/0061-ARM-i.MX6-cm-fx6-Fix-usdhc3-controller-s-property.patch > > diff --git a/recipes-kernel/linux/linux-compulab-3.14.28/0060-ARM-i.MX6-dts-regulators-always-on.patch b/recipes-kernel/linux/linux-compulab-3.14.28/0060-ARM-i.MX6-dts-regulators-always-on.patch > new file mode 100644 > index 0000000..899700b > --- /dev/null > +++ b/recipes-kernel/linux/linux-compulab-3.14.28/0060-ARM-i.MX6-dts-regulators-always-on.patch > @@ -0,0 +1,49 @@ > +From d05c003c32f0d911011747cd1ad7f52839aaa27e Mon Sep 17 00:00:00 2001 > +From: Valentin Raevsky > +Date: Thu, 30 Apr 2015 13:26:48 +0300 > +Subject: [PATCH 60/61] ARM: i.MX6: dts: regulators always-on > + > +Turn some regulators into always-on in order to make them work > +acording to the new regulator core rules. > + > +Signed-off-by: Valentin Raevsky > +--- > + arch/arm/boot/dts/imx6q-cm-fx6.dtsi | 1 + > + arch/arm/boot/dts/imx6qdl-cm-fx6.dtsi | 2 ++ > + 2 files changed, 3 insertions(+) > + > +diff --git a/arch/arm/boot/dts/imx6q-cm-fx6.dtsi b/arch/arm/boot/dts/imx6q-cm-fx6.dtsi > +index 3a10e5e..010b74b 100644 > +--- a/arch/arm/boot/dts/imx6q-cm-fx6.dtsi > ++++ b/arch/arm/boot/dts/imx6q-cm-fx6.dtsi > +@@ -82,6 +82,7 @@ > + startup-delay-us = <100>; > + enable-active-high; > + regulator-boot-on; > ++ regulator-always-on; > + vin-supply = <®_sata_nstandby1>; > + }; > + > +diff --git a/arch/arm/boot/dts/imx6qdl-cm-fx6.dtsi b/arch/arm/boot/dts/imx6qdl-cm-fx6.dtsi > +index e8f80bc..d8aaaea 100644 > +--- a/arch/arm/boot/dts/imx6qdl-cm-fx6.dtsi > ++++ b/arch/arm/boot/dts/imx6qdl-cm-fx6.dtsi > +@@ -50,6 +50,7 @@ > + regulator-name = "regulator-pcie-power-on-gpio"; > + regulator-min-microvolt = <3300000>; > + regulator-max-microvolt = <3300000>; > ++ regulator-always-on; > + gpio = <&gpio2 24 0>; > + enable-active-high; > + }; > +@@ -80,6 +81,7 @@ > + regulator-name = "regulator-awnh387-wifi-nreset"; > + regulator-min-microvolt = <3300000>; > + regulator-max-microvolt = <3300000>; > ++ regulator-always-on; > + gpio = <&gpio6 16 0>; > + startup-delay-us = <10000>; Those two above should toggle-able... If this is a temporary measure, please comment it as such. > + }; > +-- > +1.9.1 > + > diff --git a/recipes-kernel/linux/linux-compulab-3.14.28/0061-ARM-i.MX6-cm-fx6-Fix-usdhc3-controller-s-property.patch b/recipes-kernel/linux/linux-compulab-3.14.28/0061-ARM-i.MX6-cm-fx6-Fix-usdhc3-controller-s-property.patch > new file mode 100644 > index 0000000..33434e1 > --- /dev/null > +++ b/recipes-kernel/linux/linux-compulab-3.14.28/0061-ARM-i.MX6-cm-fx6-Fix-usdhc3-controller-s-property.patch > @@ -0,0 +1,56 @@ > +From 0c05543b40b627cc4ad842d4d99265c3943a71fa Mon Sep 17 00:00:00 2001 > +From: Valentin Raevsky > +Date: Sun, 6 Sep 2015 18:53:20 +0300 > +Subject: [PATCH 61/61] ARM: i.MX6: cm-fx6: Fix usdhc3 controller's property > + > +Fix usdhc3 controller's property in ordert to match > +the sbc-fx6, sbc-fx6m hw implementation. > + > +Signed-off-by: Valentin Raevsky IMO, this patch is not needed anymore... since CM-FX6 U-Boot version v2015.07-cm-fx6-3 the SD card h/w differences are dealt with. > +--- > + arch/arm/boot/dts/imx6qdl-sb-fx6.dtsi | 1 + > + arch/arm/boot/dts/imx6qdl-sb-fx6m.dtsi | 1 + > + arch/arm/boot/dts/imx6qdl-sb-fx6x.dtsi | 2 +- > + 3 files changed, 3 insertions(+), 1 deletion(-) > + > +diff --git a/arch/arm/boot/dts/imx6qdl-sb-fx6.dtsi b/arch/arm/boot/dts/imx6qdl-sb-fx6.dtsi > +index 85836d7..fb389fb 100644 > +--- a/arch/arm/boot/dts/imx6qdl-sb-fx6.dtsi > ++++ b/arch/arm/boot/dts/imx6qdl-sb-fx6.dtsi > +@@ -72,6 +72,7 @@ > + > + &usdhc3 { > + wp-gpios = <&gpio7 0 0>; > ++ cd-gpios = <&gpio7 1 0>; > + status = "okay"; > + }; > + > +diff --git a/arch/arm/boot/dts/imx6qdl-sb-fx6m.dtsi b/arch/arm/boot/dts/imx6qdl-sb-fx6m.dtsi > +index 5394364..dc6449d 100644 > +--- a/arch/arm/boot/dts/imx6qdl-sb-fx6m.dtsi > ++++ b/arch/arm/boot/dts/imx6qdl-sb-fx6m.dtsi > +@@ -93,6 +93,7 @@ > + }; > + > + &usdhc3 { > ++ non-removable; > + status = "okay"; > + }; > + > +diff --git a/arch/arm/boot/dts/imx6qdl-sb-fx6x.dtsi b/arch/arm/boot/dts/imx6qdl-sb-fx6x.dtsi > +index 01f73ae..f98a87d 100644 > +--- a/arch/arm/boot/dts/imx6qdl-sb-fx6x.dtsi > ++++ b/arch/arm/boot/dts/imx6qdl-sb-fx6x.dtsi > +@@ -103,8 +103,8 @@ > + pinctrl-0 = <&pinctrl_usdhc3>; > + pinctrl-1 = <&pinctrl_usdhc3_100mhz>; > + pinctrl-2 = <&pinctrl_usdhc3_200mhz>; > +- cd-gpios = <&gpio7 1 0>; > + no-1-8-v; > ++ keep-power-in-suspend; > + vmmc-supply = <®_3p3v>; > + status = "disabled"; > + }; > +-- > +1.9.1 > + > -- Regards, Igor.