main/linux-postmarketos-qcom: update: 5.2_rc3, disable armhf (!450)

Kernel patches by Brian Masney, this pmaports.git patch is based on work
by Brian and Martijn Braam.
This commit is contained in:
Oliver Smith 2019-06-20 14:47:40 +02:00
parent a4f35cb7d6
commit 7e4b70ddf4
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB
4 changed files with 2655 additions and 4737 deletions

View file

@ -1,31 +0,0 @@
From 03e63d9bf892d871148b6fc71873f01873c9c88f Mon Sep 17 00:00:00 2001
From: Pierre Parent <pierre.parent@pparent.fr>
Date: Tue, 2 Oct 2018 08:54:34 +0200
Subject: [PATCH 1/1] Fix Hammerhead backlight
---
drivers/video/backlight/lm3630a_bl.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/video/backlight/lm3630a_bl.c b/drivers/video/backlight/lm3630a_bl.c
index a38e348..271f476 100644
--- a/drivers/video/backlight/lm3630a_bl.c
+++ b/drivers/video/backlight/lm3630a_bl.c
@@ -398,11 +398,11 @@ static int lm3630a_probe(struct i2c_client *client,
return -ENOMEM;
/* default values */
pdata->leda_ctrl = LM3630A_LEDA_ENABLE;
- pdata->ledb_ctrl = LM3630A_LEDB_DISABLE;
+ pdata->ledb_ctrl = LM3630A_LEDB_ON_A;
pdata->leda_max_brt = LM3630A_MAX_BRIGHTNESS;
pdata->ledb_max_brt = LM3630A_MAX_BRIGHTNESS;
- pdata->leda_init_brt = 128;
- pdata->ledb_init_brt = LM3630A_MAX_BRIGHTNESS;
+ pdata->leda_init_brt = 180;
+ pdata->ledb_init_brt = 180;
}
pchip->pdata = pdata;
--
2.11.0

View file

@ -3,20 +3,18 @@ _config="config-${_flavor}.${CARCH}"
pkgname=linux-${_flavor}
pkgver=4.17_rc3
pkgrel=11
pkgver=5.2.0_rc3
pkgrel=0
arch="armhf armv7"
arch="armv7"
pkgdesc="Kernel close to mainline with extra patches for Qualcomm devices"
url="https://kernel.org/"
makedepends="dtbtool perl sed installkernel bash gmp-dev bc linux-headers elfutils-dev openssl-dev file bison flex"
options="!strip !check !tracedeps"
_commit="7370f0628e00250f237fe8b934ebedf7ae8d6547"
_commit="f1163f1d8ee8895ab1e467b8a9867838cff3422a"
source="
linux-${_commit}.tar.gz::https://gitlab.com/postmarketOS/linux-postmarketos/-/archive/${_commit}/linux-postmarketos-${_commit}.tar.gz
config-${_flavor}.armhf
linux-${_commit}.tar.gz::https://github.com/masneyb/linux/archive/${_commit}.tar.gz
config-${_flavor}.armv7
0001-Fix-Hammerhead-backlight.patch
"
subpackages="$pkgname-dev"
@ -34,7 +32,7 @@ esac
HOSTCC="${CC:-gcc}"
HOSTCC="${HOSTCC#${CROSS_COMPILE}}"
builddir="$srcdir/linux-postmarketos-${_commit}"
builddir="$srcdir/linux-${_commit}"
prepare() {
local _patch_failed=
@ -160,7 +158,5 @@ dev() {
"$subpkgdir"/lib/modules/${_abi_release}/build
}
sha512sums="a91bb4d5b2208e485c7311e9c8b7047505a08b1ce73b061169752e394a7fa58da54fed85aa85fe5fae19cfd8943174b5646b82e788afb6149e6a0be8679019d3 linux-7370f0628e00250f237fe8b934ebedf7ae8d6547.tar.gz
fc151402f33f947fdfb1a0f60f7dee621b2299678c14bbc2d3425c22b3300795cddfba8635f3d2d9a409ea506e825d00957bffe14d54cd14612d364a1d03529a config-postmarketos-qcom.armhf
fc151402f33f947fdfb1a0f60f7dee621b2299678c14bbc2d3425c22b3300795cddfba8635f3d2d9a409ea506e825d00957bffe14d54cd14612d364a1d03529a config-postmarketos-qcom.armv7
caf6d5615548dda58261c1d0fb571b93f0bd057a7dd071980e2402bae62bb951e40375693776b846a431c9ea47b8e6098f292b83b3744b23f2e5663f830b3548 0001-Fix-Hammerhead-backlight.patch"
sha512sums="404d93112b24c263fd8cdec9fd1f607e02fb4e52c701dfbabde7b7e3d8811dcc04fe802bfc2cdd6832f1911f813bb64774df369535b712f7a3c5faa878d0ee2b linux-f1163f1d8ee8895ab1e467b8a9867838cff3422a.tar.gz
924308f9b7ab68b0d04faf882cf00a9597463583cd35e6453c5e1bae404c6b75526d3f43c44214ade80e3723da857c57cacc06333dcfaee601662ddccc901e1e config-postmarketos-qcom.armv7"

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff