public inbox for ipfire-scm@lists.ipfire.org
 help / color / mirror / Atom feed
From: git@ipfire.org
To: ipfire-scm@lists.ipfire.org
Subject: [git.ipfire.org] IPFire 2.x development tree branch, master, updated. 8602108e6c71295034cb1c64168fe212b1211128
Date: Fri, 20 Feb 2015 16:13:55 +0100	[thread overview]
Message-ID: <20150220151355.C604820099@argus.ipfire.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 3296 bytes --]

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "IPFire 2.x development tree".

The branch, master has been updated
       via  8602108e6c71295034cb1c64168fe212b1211128 (commit)
      from  f345b2831cc25643a01117b4536e02d2f53399d0 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 8602108e6c71295034cb1c64168fe212b1211128
Author: Arne Fitzenreiter <arne_f(a)ipfire.org>
Date:   Fri Feb 20 16:13:10 2015 +0100

    kernel: fix lamobo-r1 sata power regulator.

-----------------------------------------------------------------------

Summary of changes:
 lfs/linux                                          |  3 ++
 .../linux-3.14.x-lamobo-r1-fix-sata-pwr.patch      | 49 ++++++++++++++++++++++
 2 files changed, 52 insertions(+)
 create mode 100644 src/patches/linux-3.14.x-lamobo-r1-fix-sata-pwr.patch

Difference in files:
diff --git a/lfs/linux b/lfs/linux
index 4e6e9ec..ef30fa6 100644
--- a/lfs/linux
+++ b/lfs/linux
@@ -177,6 +177,9 @@ ifeq "$(KCFG)" "-multi"
 
 	# Install switch api userspace header
 	cd $(DIR_APP) && install -v -m644 include/uapi/linux/switch.h /usr/include/linux/
+
+	# Fix Lamobo-R1 SATA Power
+	cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/linux-3.14.x-lamobo-r1-fix-sata-pwr.patch
 endif
 
 ifeq "$(KCFG)" "-rpi"
diff --git a/src/patches/linux-3.14.x-lamobo-r1-fix-sata-pwr.patch b/src/patches/linux-3.14.x-lamobo-r1-fix-sata-pwr.patch
new file mode 100644
index 0000000..1c0f994
--- /dev/null
+++ b/src/patches/linux-3.14.x-lamobo-r1-fix-sata-pwr.patch
@@ -0,0 +1,49 @@
+From 7f558e6e8abee42cc966e2cb64be0de875797e07 Mon Sep 17 00:00:00 2001
+From: Arne Fitzenreiter <arne_f(a)ipfire.org>
+Date: Fri, 20 Feb 2015 10:01:26 +0100
+Subject: [PATCH] sun7i: dts: lamobo-r1: fix sata pwr regulator pin.
+
+Lamobo-R1 use PB3 instead of PB8 for controlling the SATA power regulator.
+---
+ arch/arm/boot/dts/sun7i-a20-lamobo-r1.dts | 18 ++++++++++++++++++
+ 1 file changed, 18 insertions(+)
+
+diff --git a/arch/arm/boot/dts/sun7i-a20-lamobo-r1.dts b/arch/arm/boot/dts/sun7i-a20-lamobo-r1.dts
+index 1eb6c9b..d634d2f 100644
+--- a/arch/arm/boot/dts/sun7i-a20-lamobo-r1.dts
++++ b/arch/arm/boot/dts/sun7i-a20-lamobo-r1.dts
+@@ -166,6 +166,16 @@
+ 				reg = <1>;
+ 			};
+ 		};
++
++		pio: pinctrl(a)01c20800 {
++			ahci_pwr_pin_a: ahci_pwr_pin(a)0 {
++				allwinner,pins = "PB3";
++				allwinner,function = "gpio_out";
++				allwinner,drive = <0>;
++				allwinner,pull = <0>;
++			};
++		};
++
+ 	};
+ 
+ 	leds {
+@@ -181,6 +191,14 @@
+ 	};
+ 
+         reg_ahci_5v: ahci-5v {
++		compatible = "regulator-fixed";
++		pinctrl-names = "default";
++		pinctrl-0 = <&ahci_pwr_pin_a>;
++		regulator-name = "ahci-5v";
++		regulator-min-microvolt = <5000000>;
++		regulator-max-microvolt = <5000000>;
++		enable-active-high;
++		gpio = <&pio 1 3 0>;
+                 status = "okay";
+         };
+ 
+-- 
+1.8.5.2
+


hooks/post-receive
--
IPFire 2.x development tree

                 reply	other threads:[~2015-02-20 15:13 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20150220151355.C604820099@argus.ipfire.org \
    --to=git@ipfire.org \
    --cc=ipfire-scm@lists.ipfire.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox