* [git.ipfire.org] IPFire 2.x development tree branch, master, updated. 8602108e6c71295034cb1c64168fe212b1211128
@ 2015-02-20 15:13 git
0 siblings, 0 replies; only message in thread
From: git @ 2015-02-20 15:13 UTC (permalink / raw)
To: ipfire-scm
[-- 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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2015-02-20 15:13 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-20 15:13 [git.ipfire.org] IPFire 2.x development tree branch, master, updated. 8602108e6c71295034cb1c64168fe212b1211128 git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox