public inbox for ipfire-scm@lists.ipfire.org
 help / color / mirror / Atom feed
* [git.ipfire.org] IPFire 2.x development tree branch, next, updated. 17872019ba56d6ec81742fc61218933f25988f7e
@ 2019-02-19  0:05 Arne Fitzenreiter
  0 siblings, 0 replies; only message in thread
From: Arne Fitzenreiter @ 2019-02-19  0:05 UTC (permalink / raw)
  To: ipfire-scm

[-- Attachment #1: Type: text/plain, Size: 7559 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, next has been updated
       via  17872019ba56d6ec81742fc61218933f25988f7e (commit)
      from  9bc17600521eabca8238fc9116d1fae47800a6af (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 17872019ba56d6ec81742fc61218933f25988f7e
Author: Arne Fitzenreiter <arne_f(a)ipfire.org>
Date:   Tue Feb 19 01:04:19 2019 +0100

    kernel: update apu led patch for apu3 and 4
    
    Signed-off-by: Arne Fitzenreiter <arne_f(a)ipfire.org>

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

Summary of changes:
 lfs/linux                                          |  2 +-
 ....8-apu_leds.patch => linux-4.14-apu_leds.patch} | 52 ++++++++++++----------
 2 files changed, 29 insertions(+), 25 deletions(-)
 rename src/patches/linux/{linux-4.9.8-apu_leds.patch => linux-4.14-apu_leds.patch} (83%)

Difference in files:
diff --git a/lfs/linux b/lfs/linux
index 36af790d1..38c8fdec9 100644
--- a/lfs/linux
+++ b/lfs/linux
@@ -141,7 +141,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
 	cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/linux/linux-4.9.8_cs5535audio_fix_logspam_on_geos.patch
 
 	# Add PC Engines APU led support
-	cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/linux/linux-4.9.8-apu_leds.patch
+	cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/linux/linux-4.14-apu_leds.patch
 
 	# Fix uevent PHYSDEVDRIVER
 	cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/linux/linux-2.6.32.27_mcs7830-fix-driver-name.patch
diff --git a/src/patches/linux/linux-4.9.8-apu_leds.patch b/src/patches/linux/linux-4.14-apu_leds.patch
similarity index 83%
rename from src/patches/linux/linux-4.9.8-apu_leds.patch
rename to src/patches/linux/linux-4.14-apu_leds.patch
index 27da2f166..dc63fd261 100644
--- a/src/patches/linux/linux-4.9.8-apu_leds.patch
+++ b/src/patches/linux/linux-4.14-apu_leds.patch
@@ -1,7 +1,7 @@
-diff -Naur linux-4.9.8.org/arch/x86/Kconfig linux-4.9.8/arch/x86/Kconfig
---- linux-4.9.8.org/arch/x86/Kconfig	2017-02-04 09:47:29.000000000 +0100
-+++ linux-4.9.8/arch/x86/Kconfig	2017-02-09 19:29:59.244945360 +0100
-@@ -2604,6 +2604,7 @@
+diff -Naur linux-4.14.101.org/arch/x86/Kconfig linux-4.14.101/arch/x86/Kconfig
+--- linux-4.14.101.org/arch/x86/Kconfig	2019-02-15 09:08:56.000000000 +0100
++++ linux-4.14.101/arch/x86/Kconfig	2019-02-18 22:24:00.682722072 +0100
+@@ -2715,6 +2715,7 @@
  	   - AC adapter status updates
  	   - Battery status updates
  
@@ -9,7 +9,7 @@ diff -Naur linux-4.9.8.org/arch/x86/Kconfig linux-4.9.8/arch/x86/Kconfig
  config ALIX
  	bool "PCEngines ALIX System Support (LED setup)"
  	select GPIOLIB
-@@ -2642,6 +2643,18 @@
+@@ -2753,6 +2754,18 @@
  
  endif # X86_32
  
@@ -20,20 +20,20 @@ diff -Naur linux-4.9.8.org/arch/x86/Kconfig linux-4.9.8/arch/x86/Kconfig
 +	  This option enables system support for the PCEngines APU1.
 +
 +config APU2LED
-+	bool "PCEngines APU2 Led Support"
++	bool "PCEngines APU2/3/4 Led Support"
 +	depends on DMI
 +	---help---
-+	  This option enables system support for the PCEngines APU2.
++	  This option enables system support for the PCEngines APU2/3/4.
 +
  config AMD_NB
  	def_bool y
  	depends on CPU_SUP_AMD && PCI
-diff -Naur linux-4.9.8.org/arch/x86/platform/apu/apu2-led.c linux-4.9.8/arch/x86/platform/apu/apu2-led.c
---- linux-4.9.8.org/arch/x86/platform/apu/apu2-led.c	1970-01-01 01:00:00.000000000 +0100
-+++ linux-4.9.8/arch/x86/platform/apu/apu2-led.c	2017-02-09 19:29:59.244945360 +0100
-@@ -0,0 +1,180 @@
+diff -Naur linux-4.14.101.org/arch/x86/platform/apu/apu2-led.c linux-4.14.101/arch/x86/platform/apu/apu2-led.c
+--- linux-4.14.101.org/arch/x86/platform/apu/apu2-led.c	1970-01-01 01:00:00.000000000 +0100
++++ linux-4.14.101/arch/x86/platform/apu/apu2-led.c	2019-02-18 22:30:08.503059825 +0100
+@@ -0,0 +1,183 @@
 +/*
-+ * LEDs driver for PCEngines apu2
++ * LEDs driver for PCEngines apu2/3/4
 + *
 + * this basic driver only set the output, configuration 
 + * has already done by bios/coreboot.
@@ -175,7 +175,10 @@ diff -Naur linux-4.9.8.org/arch/x86/platform/apu/apu2-led.c linux-4.9.8/arch/x86
 +		goto out;
 +
 +	product = dmi_get_system_info(DMI_PRODUCT_NAME);
-+	if (!product || (strcmp(product, "PC Engines apu2") && strcmp(product, "apu2")) )
++	if (!product || ( strcmp(product, "PC Engines apu2") &&
++			  strcmp(product, "PC Engines apu3") &&
++			  strcmp(product, "PC Engines apu4") &&
++			  strcmp(product, "apu2") ) ) // apu2 on early bios relases
 +			goto out;
 +
 +	printk(KERN_INFO "%s: system is recognized as \"%s %s\"\n",
@@ -210,11 +213,11 @@ diff -Naur linux-4.9.8.org/arch/x86/platform/apu/apu2-led.c linux-4.9.8/arch/x86
 +module_exit(apu2_led_exit);
 +
 +MODULE_AUTHOR("Arne Fitzenreiter");
-+MODULE_DESCRIPTION("PCEngines apu2 LED driver");
++MODULE_DESCRIPTION("PCEngines apu2/3/4 LED driver");
 +MODULE_LICENSE("GPL");
-diff -Naur linux-4.9.8.org/arch/x86/platform/apu/apu-led.c linux-4.9.8/arch/x86/platform/apu/apu-led.c
---- linux-4.9.8.org/arch/x86/platform/apu/apu-led.c	1970-01-01 01:00:00.000000000 +0100
-+++ linux-4.9.8/arch/x86/platform/apu/apu-led.c	2017-02-09 19:29:59.244945360 +0100
+diff -Naur linux-4.14.101.org/arch/x86/platform/apu/apu-led.c linux-4.14.101/arch/x86/platform/apu/apu-led.c
+--- linux-4.14.101.org/arch/x86/platform/apu/apu-led.c	1970-01-01 01:00:00.000000000 +0100
++++ linux-4.14.101/arch/x86/platform/apu/apu-led.c	2019-02-18 22:24:00.686721439 +0100
 @@ -0,0 +1,181 @@
 +/*
 + * LEDs driver for PCEngines apu
@@ -397,16 +400,17 @@ diff -Naur linux-4.9.8.org/arch/x86/platform/apu/apu-led.c linux-4.9.8/arch/x86/
 +MODULE_AUTHOR("Christian Herzog");
 +MODULE_DESCRIPTION("PCEngines apu LED driver");
 +MODULE_LICENSE("GPL");
-diff -Naur linux-4.9.8.org/arch/x86/platform/apu/Makefile linux-4.9.8/arch/x86/platform/apu/Makefile
---- linux-4.9.8.org/arch/x86/platform/apu/Makefile	1970-01-01 01:00:00.000000000 +0100
-+++ linux-4.9.8/arch/x86/platform/apu/Makefile	2017-02-09 19:29:59.244945360 +0100
+diff -Naur linux-4.14.101.org/arch/x86/platform/apu/Makefile linux-4.14.101/arch/x86/platform/apu/Makefile
+--- linux-4.14.101.org/arch/x86/platform/apu/Makefile	1970-01-01 01:00:00.000000000 +0100
++++ linux-4.14.101/arch/x86/platform/apu/Makefile	2019-02-18 22:24:00.686721439 +0100
 @@ -0,0 +1,2 @@
 +obj-$(CONFIG_APULED)		+= apu-led.o
 +obj-$(CONFIG_APU2LED)		+= apu2-led.o
-diff -Naur linux-4.9.8.org/arch/x86/platform/Makefile linux-4.9.8/arch/x86/platform/Makefile
---- linux-4.9.8.org/arch/x86/platform/Makefile	2017-02-04 09:47:29.000000000 +0100
-+++ linux-4.9.8/arch/x86/platform/Makefile	2017-02-09 19:32:31.768269470 +0100
-@@ -1,4 +1,5 @@
+diff -Naur linux-4.14.101.org/arch/x86/platform/Makefile linux-4.14.101/arch/x86/platform/Makefile
+--- linux-4.14.101.org/arch/x86/platform/Makefile	2019-02-15 09:08:56.000000000 +0100
++++ linux-4.14.101/arch/x86/platform/Makefile	2019-02-18 22:24:00.686721439 +0100
+@@ -1,5 +1,6 @@
+ # SPDX-License-Identifier: GPL-2.0
  # Platform specific code goes here
 +obj-y	+= apu/
  obj-y	+= atom/


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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-02-19  0:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-19  0:05 [git.ipfire.org] IPFire 2.x development tree branch, next, updated. 17872019ba56d6ec81742fc61218933f25988f7e Arne Fitzenreiter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox