All of lore.kernel.org
 help / color / mirror / Atom feed
From: Igor Grinberg <grinberg@compulab.co.il>
To: Valentin Raevsky <valentin@compulab.co.il>,
	meta-freescale@yoctoproject.org, otavio@ossystems.com.br
Subject: Re: [meta-fsl-arm-extra][PATCH 4/4] linux-compulab: update cm-fx6 3.14.28 kernel configuration
Date: Thu, 1 Oct 2015 12:32:00 +0300	[thread overview]
Message-ID: <560CFD90.1040205@compulab.co.il> (raw)
In-Reply-To: <1443626027-26921-4-git-send-email-valentin@compulab.co.il>

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 <valentin@compulab.co.il>
> ---
>  .../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 <valentin@compulab.co.il>
> +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 <valentin@compulab.co.il>
> +---
> + 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 = <&reg_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 <valentin@compulab.co.il>
> +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 <valentin@compulab.co.il>

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 = <&reg_3p3v>;
> + 	status = "disabled";
> + };
> +-- 
> +1.9.1
> +
> 

-- 
Regards,
Igor.


  reply	other threads:[~2015-10-01  9:32 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-30 15:13 [meta-fsl-arm-extra][PATCH 1/4] u-boot-compulab: update the build recipe Valentin Raevsky
2015-09-30 15:13 ` [meta-fsl-arm-extra][PATCH 2/4] firmware-compulab: add firmware configuration for cm-fx6 machines Valentin Raevsky
2015-09-30 15:29   ` Otavio Salvador
2015-09-30 15:13 ` [meta-fsl-arm-extra][PATCH 3/4] cm-fx6: update the cm-fx6 machine configuration Valentin Raevsky
2015-10-01  8:36   ` Igor Grinberg
2015-09-30 15:13 ` [meta-fsl-arm-extra][PATCH 4/4] linux-compulab: update cm-fx6 3.14.28 kernel configuration Valentin Raevsky
2015-10-01  9:32   ` Igor Grinberg [this message]
2015-09-30 15:27 ` [meta-fsl-arm-extra][PATCH 1/4] u-boot-compulab: update the build recipe Otavio Salvador

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=560CFD90.1040205@compulab.co.il \
    --to=grinberg@compulab.co.il \
    --cc=meta-freescale@yoctoproject.org \
    --cc=otavio@ossystems.com.br \
    --cc=valentin@compulab.co.il \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.