finepower-f1: update device- and linux- packages (MR 1596)

Device package changes:
- Replace ALSA configs with dependency (soc-sprd-audio-sc8830)
- Add reboot-mode as dependency

Kernel package changes:
- Use dtbtool-sprd instead of dtbtool
- Move code and device tree to external repo
- Add patch for GCC10
- Add patches for framebuffer
This commit is contained in:
HenriDellal 2020-09-22 00:43:05 +03:00 committed by Bart Ribbers
parent f23e4627ce
commit 7a01611214
No known key found for this signature in database
GPG key ID: 699D16185DAFAE61
12 changed files with 67 additions and 5485 deletions

View file

@ -1,18 +1,16 @@
# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-finepower-f1
pkgdesc="FinePower F1"
pkgver=0.2
pkgrel=3
pkgver=0.3
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="armv7"
options="!check !archcheck"
depends="postmarketos-base linux-finepower-f1 mkbootimg mesa-dri-swrast alsa-utils"
depends="postmarketos-base linux-finepower-f1 mkbootimg mesa-dri-swrast alsa-utils soc-sprd-audio-sc8830 reboot-mode"
makedepends="devicepkg-dev"
source="
deviceinfo
asound.state
asound.conf
"
build() {
@ -21,15 +19,7 @@ build() {
package() {
devicepkg_package $startdir $pkgname
# ALSA
install -D -m644 "$srcdir"/asound.conf \
"$pkgdir"/etc/asound.conf
install -D -m644 "$srcdir"/asound.state \
"$pkgdir"/var/lib/alsa/asound.state
}
sha512sums="ea91491d0df7443fb2a30ac7130f631c9578fa73f5e86154d2eeb397435d9ba121742efcf268e73d4348a9384e1629f274dc56358c6dc63eb56b13ffd4fd3733 deviceinfo
b942baf24085dd412dd0aecd1cbf96c2e4b65f96f443a0dcc67c6bd87a23f7cc612289bcecdef36280934f01ace9ba80beefe86f82d303d0ebe18e48776d2628 asound.state
369df19f9bf7546236b81a33c00b6384e88e979c4711fead3749f8e60f4cd99f37b31baf1f00d05a821cb71ca2f440648e13083653f1a4ec0c178c7c1c415a58 asound.conf"
sha512sums="ea91491d0df7443fb2a30ac7130f631c9578fa73f5e86154d2eeb397435d9ba121742efcf268e73d4348a9384e1629f274dc56358c6dc63eb56b13ffd4fd3733 deviceinfo"

View file

@ -1,9 +0,0 @@
pcm.!default {
type hw
card sprdphone
}
ctl.!default {
type hw
card sprdphone
}

File diff suppressed because it is too large Load diff

View file

@ -1,3 +1,5 @@
Fixes error:
drivers/net/wireless/Kconfig:289: can't open file "drivers/net/wireless/sprdwl/Kconfig"
diff --git a/drivers/net/wireless/Kconfig b/drivers/net/wireless/Kconfig
index bcc52541..23931336 100644
--- a/drivers/net/wireless/Kconfig

View file

@ -1,3 +1,5 @@
Fix errors like:
drivers/platform/sprd/dump_lowpower_regs.c:6:10: fatal error: lowpower_regs_aon_apb.h: No such file or directory
diff --git a/drivers/platform/sprd/dump_lowpower_regs.c b/drivers/platform/sprd/dump_lowpower_regs.c
index 9f274d8f..f07e460d 100755
--- a/drivers/platform/sprd/dump_lowpower_regs.c

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,14 @@
Change color mode so charging-sdl works and RGB channels are not swapped
diff --git a/drivers/video/sprdfb/sprdfb_main.c b/drivers/video/sprdfb/sprdfb_main.c
index 3e6c70d..80fceb9 100644
--- a/drivers/video/sprdfb/sprdfb_main.c
+++ b/drivers/video/sprdfb/sprdfb_main.c
@@ -51,7 +51,7 @@ enum{
SPRD_IN_DATA_TYPE_LIMIT
};
-#define SPRDFB_IN_DATA_TYPE SPRD_IN_DATA_TYPE_ABGR888
+#define SPRDFB_IN_DATA_TYPE SPRD_IN_DATA_TYPE_BGR565
#ifdef CONFIG_FB_TRIPLE_FRAMEBUFFER
#define FRAMEBUFFER_NR (3)

View file

@ -1,3 +1,4 @@
Add support for Sintronix ST7796S in kernel
diff --git a/drivers/video/sprdfb/Kconfig b/drivers/video/sprdfb/Kconfig
index 5c929a5..7f0678c 100755
--- a/drivers/video/sprdfb/Kconfig
@ -26,261 +27,3 @@ index c1b385b..df28587 100755
obj-$(CONFIG_FB_LCD_OTM1283A_MIPI) += lcd_otm1283a_mipi.o
obj-$(CONFIG_FB_LCD_NT35502_MIPI) += lcd_nt35502_mipi.o
obj-$(CONFIG_FB_LCD_VIVA_RGB_SPI) += lcd_hx8363_rgb_spi_viva.o
diff --git a/drivers/video/sprdfb/lcd/lcd_st7796s_mipi.c b/drivers/video/sprdfb/lcd/lcd_st7796s_mipi.c
new file mode 100644
index 0000000..2096e01
--- /dev/null
+++ b/drivers/video/sprdfb/lcd/lcd_st7796s_mipi.c
@@ -0,0 +1,252 @@
+/* drivers/video/sprdfb/lcd/lcd_st7796s_mipi.c
+ *
+ * Support for ST7796S mipi LCD device
+ *
+ * Copyright (C) 2010 Spreadtrum
+ *
+ * This software is licensed under the terms of the GNU General Public
+ * License version 2, as published by the Free Software Foundation, and
+ * may be copied, distributed, and modified under those terms.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ */
+
+#include <linux/kernel.h>
+#include <linux/bug.h>
+#include <linux/delay.h>
+#include "../sprdfb_panel.h"
+
+#define MAX_DATA 100
+
+typedef struct LCM_Init_Code_tag {
+ unsigned int tag;
+ unsigned char data[MAX_DATA];
+}LCM_Init_Code;
+
+typedef struct LCM_force_cmd_code_tag{
+ unsigned int datatype;
+ LCM_Init_Code real_cmd_code;
+}LCM_Force_Cmd_Code;
+
+#define LCM_TAG_SHIFT 24
+#define LCM_TAG_MASK ((1 << 24) -1)
+#define LCM_SEND(len) ((1 << LCM_TAG_SHIFT)| len)
+#define LCM_SLEEP(ms) ((2 << LCM_TAG_SHIFT)| ms)
+
+#define LCM_TAG_SEND (1<< 0)
+#define LCM_TAG_SLEEP (1 << 1)
+
+static LCM_Init_Code init_data[] = {
+ /*{0xF0, 1, {0xC3}}, COMMAND SET CONTROL: ENABLE COMMAND 2 part I
+ {0xF0, 1, {0x96}}, COMMAND SET CONTROL: ENABLE COMMAND 2 part II
+ {0x36, 1, {0x86}}, MADCTL (memory data access control): mirror framebuffer,
+ {0xB4, 1, {0x01}}, DIC (display inversion control) : 1-dot inversion
+ {0x3A, 1, {0x55}}, Interface pixel format: 18-bit//0x55
+ {0xB7, 1, {0x06}}, Entry Mode Set: normal display
+ {0xB9, 2, {0x02,0XC0}},
+ {0x35, 1, {0x00}}, Tearing effect line: disabled
+ {0x44, 2, {0x00,0x00}}, Set tear scanline: 0
+
+ {0xE8, 8, {0x40,0x8a,0x00,0x00,0x29,0x19,0xa5,0x33}}, Display output ctrl adjust
+ {0xC5, 1, {0x25}}, VCOM control: 1.225
+ {0xC2, 1, {0xA5}}, PWR3 Power control: low
+ GAMMA CONTROL
+ {0xE0, 14, {0xF0,0x00,0x03,0x0b,0x0c,0x29,0x2e,0x44,0x41,0x17,0x11,0x13,0x16,0x1b}},
+ {0xE1, 14, {0xF0,0x00,0x02,0x06,0x06,0x24,0x2a,0x43,0x3e,0x2d,0x1a,0x16,0x13,0x17}},
+ {0xEC, 3, {0x00,0x00,0x01}},
+
+ {0xF0, 1, {0x3C}}, COMMAND SET CONTROL
+ {0xF0, 1, {0x69}}, COMMAND SET CONTROL
+
+ {0x29, 1, {0x00}},
+ {REGFLAG_DELAY, 20, {}},*/
+ {LCM_SEND(1), {0xC3}},
+ {LCM_SEND(1), {0x96}},
+ {LCM_SEND(1), {0x86}},
+ {LCM_SEND(1), {0x01}},
+ {LCM_SEND(1), {0x55}},//0x55
+ {LCM_SEND(1), {0x06}},
+ {LCM_SEND(2), {0x02,0XC0}},
+ {LCM_SEND(1), {0x00}},
+ {LCM_SEND(2), {0x00,0x00}},
+
+ {LCM_SEND(8), {0x40,0x8a,0x00,0x00,0x29,0x19,0xa5,0x33}},
+ {LCM_SEND(1), {0x25}},
+ {LCM_SEND(1), {0xA5}},
+
+ {LCM_SEND(14), {0xF0,0x00,0x03,0x0b,0x0c,0x29,0x2e,0x44,0x41,0x17,0x11,0x13,0x16,0x1b}},
+ {LCM_SEND(14), {0xF0,0x00,0x02,0x06,0x06,0x24,0x2a,0x43,0x3e,0x2d,0x1a,0x16,0x13,0x17}},
+ {LCM_SEND(3), {0x00,0x00,0x01}},
+
+ {LCM_SEND(1), {0x3C}},
+ {LCM_SEND(1), {0x69}},
+
+ {LCM_SEND(1), 1, {0x00}},
+ {LCM_SLEEP(20)},
+};
+
+static LCM_Init_Code sleep_in[] = {
+ {LCM_SEND(1), {0x28}},
+ {LCM_SLEEP(50)}, //>150ms
+ {LCM_SEND(1), {0x10}},
+ {LCM_SLEEP(120)}, //>150ms
+};
+
+static LCM_Init_Code sleep_out[] = {
+ {LCM_SEND(1), {0x11}},
+ {LCM_SLEEP(120)},//>120ms
+ {LCM_SEND(1), {0x29}},
+ {LCM_SLEEP(50)}, //>20ms
+};
+
+static int32_t st7796s_mipi_init(struct panel_spec *self)
+{
+ int32_t i;
+ LCM_Init_Code *init = init_data;
+ unsigned int tag;
+
+ mipi_set_cmd_mode_t mipi_set_cmd_mode = self->info.mipi->ops->mipi_set_cmd_mode;
+ mipi_dcs_write_t mipi_dcs_write = self->info.mipi->ops->mipi_dcs_write;
+ mipi_eotp_set_t mipi_eotp_set = self->info.mipi->ops->mipi_eotp_set;
+
+ printk("kernel ili9486s1_mipi_init\n");
+
+ mipi_set_cmd_mode();
+ mipi_eotp_set(0,0);
+
+ for(i = 0; i < ARRAY_SIZE(init_data); i++){
+ tag = (init->tag >>24);
+ if(tag & LCM_TAG_SEND){
+ mipi_dcs_write(init->data, (init->tag & LCM_TAG_MASK));
+ udelay(20);
+ }else if(tag & LCM_TAG_SLEEP){
+ msleep(init->tag & LCM_TAG_MASK);
+ }
+ init++;
+ }
+ mipi_eotp_set(0,0);
+
+ return 0;
+}
+
+
+static uint32_t st7796s_readid(struct panel_spec *self)
+{
+ printk("lcd_dummy read id!\n");
+ printk("lcd_dummy read id success!\n");
+ return 0x7796;
+}
+
+
+static int32_t st7796s_enter_sleep(struct panel_spec *self, uint8_t is_sleep)
+{
+ int32_t i;
+ LCM_Init_Code *sleep_in_out = NULL;
+ unsigned int tag;
+ int32_t size = 0;
+
+ mipi_set_cmd_mode_t mipi_set_cmd_mode = self->info.mipi->ops->mipi_set_cmd_mode;
+ mipi_dcs_write_t mipi_dcs_write = self->info.mipi->ops->mipi_dcs_write;
+ mipi_eotp_set_t mipi_eotp_set = self->info.mipi->ops->mipi_eotp_set;
+
+ printk("kernel nt35502_enter_sleep, is_sleep = %d\n", is_sleep);
+
+ if(is_sleep){
+ sleep_in_out = sleep_in;
+ size = ARRAY_SIZE(sleep_in);
+ }else{
+ sleep_in_out = sleep_out;
+ size = ARRAY_SIZE(sleep_out);
+ }
+
+ mipi_set_cmd_mode();
+ mipi_eotp_set(0,0);
+
+ for(i = 0; i <size ; i++){
+ tag = (sleep_in_out->tag >>24);
+ if(tag & LCM_TAG_SEND){
+ mipi_dcs_write(sleep_in_out->data, (sleep_in_out->tag & LCM_TAG_MASK));
+ }else if(tag & LCM_TAG_SLEEP){
+ msleep(sleep_in_out->tag & LCM_TAG_MASK);
+ }
+ sleep_in_out++;
+ }
+ mipi_eotp_set(0,0);
+
+ return 0;
+}
+
+/* esd check disabled
+static int32_t st7796s_check_esd(struct panel_spec *self)
+{
+ pr_debug("dummy_check_esd!\n");
+ pr_debug("dummy_check_esd OK!\n");
+ return 1;
+} */
+
+
+static struct panel_operations lcd_st7796s_mipi_operations = {
+ .panel_init = st7796s_mipi_init,
+ .panel_readid = st7796s_readid,
+ .panel_enter_sleep = st7796s_enter_sleep,
+ //.panel_esd_check = dummy_check_esd,
+};
+
+
+static struct timing_rgb lcd_st7796s_mipi_timing = {
+ /* unit: pixel */
+ .hfp = 65, //Horizontal front porch
+ .hbp = 10, //Horizontal back porch
+ .hsync = 10,//6,
+ /*unit: line*/
+ .vfp = 8, //Vertical front porch
+ .vbp = 10, //Vertical back porch
+ .vsync = 3,
+};
+
+static struct info_mipi lcd_st7796s_mipi_info = {
+ .work_mode = SPRDFB_MIPI_MODE_VIDEO,
+ .video_bus_width = 18, /*18,16*/
+ .lan_number = 1,
+ .phy_feq = 340*1000,
+ .h_sync_pol = SPRDFB_POLARITY_NEG,
+ .v_sync_pol = SPRDFB_POLARITY_NEG,
+ .de_pol = SPRDFB_POLARITY_POS,
+ .te_pol = SPRDFB_POLARITY_POS,
+ .color_mode_pol = SPRDFB_POLARITY_POS,
+ .shut_down_pol = SPRDFB_POLARITY_NEG,
+ .timing = &lcd_st7796s_mipi_timing,
+ .ops = NULL,
+};
+
+// DONE
+
+struct panel_spec lcd_st7796s_mipi_spec = {
+ .width = 320,
+ .height = 480,
+ .fps = 60,
+ .type = LCD_MODE_DSI,
+ .direction = LCD_DIRECT_NORMAL,
+ //.is_clean_lcd = true,
+ .info = {
+ .mipi = &lcd_st7796s_mipi_info
+ },
+ .ops = &lcd_st7796s_mipi_operations,
+};
+
+struct panel_cfg lcd_st7796s_mipi = {
+ .dev_id = SPRDFB_MAINLCD_ID,
+ .lcd_id = 0x7796,
+ .lcd_name = "lcd_st7796s_mipi",
+ .panel = &lcd_st7796s_mipi_spec,
+};
+
+static int __init lcd_st7796s_mipi_init(void)
+{
+ return sprdfb_panel_register(&lcd_st7796s_mipi);
+}
+
+subsys_initcall(lcd_st7796s_mipi_init);

View file

@ -0,0 +1,23 @@
From c5bb0d59161730e546f279bfbbd097f5eb3e3a7e Mon Sep 17 00:00:00 2001
From: DolphinChips <DoIphinChips@protonmail.com>
Date: Mon, 21 Oct 2019 19:58:45 +0500
Subject: [PATCH] Add a little hack to sprdfb_main.c
---
drivers/video/sprdfb/sprdfb_main.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/video/sprdfb/sprdfb_main.c b/drivers/video/sprdfb/sprdfb_main.c
index 43876285..751616a1 100644
--- a/drivers/video/sprdfb/sprdfb_main.c
+++ b/drivers/video/sprdfb/sprdfb_main.c
@@ -531,7 +531,8 @@ static int sprdfb_check_var(struct fb_var_screeninfo *var, struct fb_info *fb)
if ((var->xres != fb->var.xres) ||
(var->yres != fb->var.yres) ||
(var->xres_virtual != fb->var.xres_virtual) ||
- (var->yres_virtual != fb->var.yres_virtual) ||
+ // (var->yres_virtual != fb->var.yres_virtual) ||
+ (fb->var.yres_virtual % var->yres_virtual != 0) ||
(var->xoffset != fb->var.xoffset) ||
#ifndef BIT_PER_PIXEL_SURPPORT
(var->bits_per_pixel != fb->var.bits_per_pixel) ||

View file

@ -3,7 +3,7 @@
pkgname=linux-finepower-f1
pkgver=3.10.65
pkgrel=1
pkgrel=2
pkgdesc="FinePower F1 kernel fork"
arch="armv7"
_carch="arm"
@ -11,7 +11,7 @@ _flavor="finepower-f1"
url="https://kernel.org"
license="GPL-2.0-only"
options="!strip !check !tracedeps pmb:cross-native"
makedepends="perl sed installkernel bash gmp-dev bc linux-headers elfutils-dev devicepkg-dev dtbtool"
makedepends="perl sed installkernel bash gmp-dev bc linux-headers elfutils-dev devicepkg-dev dtbtool-sprd"
# Source
_commit="b30390f1645dcf1ebd08148d7d4086a544c56435"
@ -20,19 +20,25 @@ _config="config-$_flavor.$arch"
source="
$pkgname-$_commit.zip::https://github.com/jedld/$_repository/archive/$_commit.zip
$_config
sprd-scx20_sp7731ceb.dts::https://raw.githubusercontent.com/HenriDellal/generic-kernels-code/master/arch/arm/boot/dts/finepower-f1.dts
https://raw.githubusercontent.com/HenriDellal/generic-kernels-code/master/drivers/video/sprdfb/lcd/lcd_st7796s_mipi.c
kernel-use-the-gnu89-standard-explicitly.patch
gcc7-give-up-on-ilog2-const-optimizations.patch
gcc8-fix-put-user.patch
gcc10-extern_YYLOC_global_declaration.patch
01-remove-path-to-missing-driver.patch
02-fix-includes-dump-lowpower-regs.patch
03-replace-dts.patch
03-set-BGR565-color-mode.patch
04-add-st7796s-mipi-panel-support.patch
05-fix-X11.patch
"
builddir="$srcdir/$_repository-$_commit"
prepare() {
default_prepare
. downstreamkernel_prepare
cp "$srcdir"/sprd-scx20_sp7731ceb.dts "$builddir"/arch/arm/boot/dts/
cp "$srcdir"/lcd_st7796s_mipi.c "$builddir"/drivers/video/sprdfb/lcd/
}
build() {
@ -41,7 +47,7 @@ build() {
KBUILD_BUILD_VERSION="$((pkgrel + 1 ))-postmarketOS"
# Generate master DTB (deviceinfo_bootimg_qcdt)
dtbTool -s 2048 -p "scripts/dtc" -o "arch/arm/boot/dt.img" "arch/arm/boot"
dtbTool-sprd -s 2048 -p "scripts/dtc/" -o "arch/arm/boot/dt.img" "arch/arm/boot/dts/"
}
package() {
@ -54,11 +60,15 @@ package() {
sha512sums="bcbb8f6e99bd53b173715765c86845f991c2f769e9c13c72503e4f9062dc7bc97a073a4ad730e804d43efd2bcbcd7b91a0890d6194b5986e453d40a79f08249b linux-finepower-f1-b30390f1645dcf1ebd08148d7d4086a544c56435.zip
d4085aeaddbe39f0e5293f8bcae47404f595f9f9176703cde00ec8f6d461434f462cc5e11822a1fda651fb65b33f7f469f7091bd8420080b4b007eed2f8f1a25 config-finepower-f1.armv7
c90c0a6193f99b7fcda34e26b460efb75454899ae58bfae6bd5f14392d3d658ad097b2b6c6739255d5937f74a441cc1ee06dd7377a1d4f0d0c9f6e2d3613183a config-finepower-f1.armv7
c626828d9eac7b52a4509055d8d3b14b4dd74100e254cc212349bc4046e5583d91042f9332fb903e8d9dc6bade03cc898f26e3ac43732f423d8b6473182b357c sprd-scx20_sp7731ceb.dts
31f289fc3b63ace4dcd56ce289e63c55b1f622084b5d2fecc96f8f44eccccf51463ae6c7b9cdded3781d652a9be1b9f45ca4c64dfaa6160aa2f96b56d4af91ce lcd_st7796s_mipi.c
ad0182a483791fc88e058838bc331b2f04a75ba291e763767babdb815efadfc3b4fda97e69e2e3f00a426cabea088e35297a92bd287592597d1e309be68ee92c kernel-use-the-gnu89-standard-explicitly.patch
77eba606a71eafb36c32e9c5fe5e77f5e4746caac292440d9fb720763d766074a964db1c12bc76fe583c5d1a5c864219c59941f5e53adad182dbc70bf2bc14a7 gcc7-give-up-on-ilog2-const-optimizations.patch
197d40a214ada87fcb2dfc0ae4911704b9a93354b75179cd6b4aadbb627a37ec262cf516921c84a8b1806809b70a7b440cdc8310a4a55fca5d2c0baa988e3967 gcc8-fix-put-user.patch
57ebedabe0caa29773b0e65f219bb7c3e19bf53bd30fca69c07b1345185658dcc33498a39fe3c77bd9579012075f66887c0057ec1d41febe7f041fd0029a1102 01-remove-path-to-missing-driver.patch
8cfb51f2a2b645c5b0bee1ce84c368d475b7f23bf337fa21c0695f8c110a6e9644b96a267dacbda822f29ccd9c39c65881c91922605247398f3cd49d274e2bee 02-fix-includes-dump-lowpower-regs.patch
f72b3616da6f2fc77e36199be295bb5066c93340a2d715bdce196900a4c42371f61a37513b660de0ed978006939af5aa89d85acba2997267d6bc0e7e4d0e32c7 03-replace-dts.patch
37be4144e4effcb3b2db61bd25706e2eb842328ddc57babb758c23c3a69aecb886c36d09a2557a3ff08ce8d58869914a46c5ff71cdf1dbeff8b7c8c7500c2377 04-add-st7796s-mipi-panel-support.patch"
2b48f1bf0e3f70703d2cdafc47d5e615cc7c56c70bec56b2e3297d3fa4a7a1321d649a8679614553dde8fe52ff1051dae38d5990e3744c9ca986d92187dcdbeb gcc10-extern_YYLOC_global_declaration.patch
5e271f6e8ef2b1a31acafaf3b38b64cccd5d6732e93e92a2fcaa885f4ac24529bd1598e9982b553797e85d64deed6390e41768e0d952ef659add0766b44a6687 01-remove-path-to-missing-driver.patch
3a3d94c4912e8b9d64c1c4af5a568dbc8061c623bb39bcb605f30de0fa9e2f2b3c805cd0e0c9401c21ecdb49a61852e458f7b3fc599491f743e52d5d80e530e7 02-fix-includes-dump-lowpower-regs.patch
fb72f9c38f5305b92872c784a06e8eaca2ebb7b75d904f0a75473bb10b87ca56aca7d33c14d26362c2eba4797d3503ac84447e08660fd90e8ec2eb06ed83da0a 03-set-BGR565-color-mode.patch
d54f7bf0cfd991ce303b5ac31cecb5a8b658f7e1794dcc2901a773601a521dade50ee186160b75e78040a18060a6d4c01d92eb56b121de50016739638adb980d 04-add-st7796s-mipi-panel-support.patch
1bab85f34cb955f25eae3c28e519c325dca3b1b87ad25c15a78f5538a775b3bc2699b615bfc5182e1cb0fdb4520999ff7a0ee03fe3c6a1cef70baa4fb3809b40 05-fix-X11.patch"

View file

@ -1402,7 +1402,7 @@ CONFIG_KEYBOARD_GPIO_SPRD=y
# CONFIG_KEYBOARD_STOWAWAY is not set
# CONFIG_KEYBOARD_SUNKBD is not set
# CONFIG_KEYBOARD_XTKBD is not set
# CONFIG_KEYBOARD_SC is not set
CONFIG_KEYBOARD_SC=y
CONFIG_KEYBOARD_SPRD_EIC=y
# CONFIG_KEYBOARD_TC350K_J33G is not set
# CONFIG_KEYBOARD_TC300K is not set

View file

@ -0,0 +1 @@
../../.shared-patches/linux/gcc10-extern_YYLOC_global_declaration.patch