From 6f6d10e499c736e1431ed43faf7e5196370ace39 Mon Sep 17 00:00:00 2001 From: Dylan Van Assche Date: Sun, 7 Aug 2022 20:01:05 +0200 Subject: [PATCH] linux-postmarketos-qcom-sdm845: sync config from sdm845.config (MR 3347) Squash of - linux-postmarketos-qcom-sdm845: enable LED_TRIGGER_PATTERN as builtin - linux-postmarketos-qcom-sdm845: switch BT_RFCOMM to module - linux-postmarketos-qcom-sdm845: switch BT_BNEP to module LED_TRIGGER_PATTERN is necessary for feedbackd to function correctly. However, it doesn't get enabled by default when build as module, build as built-in to avoid this problem so the notification LED blinks correctly. This works around the problem that LED_TRIGGER_PATTERN is not probed automatically when the Qualcomm LPG driver is used for SDM845 devices. See https://gitlab.com/sdm845-mainline/linux/-/merge_requests/34 CONFIG_BT_RFCOMM should always be build as a module otherwise it may never be initialized at boot. Without this module, BlueZ will not enable profiles depending on RFCOMM such as HFP. RFCOMM support as builtin may work if the Bluetooth driver is builtin (which is not the case here), but I haven't verified that. See https://gitlab.com/sdm845-mainline/linux/-/merge_requests/38 CONFIG_BT_BNEP should always be build as a module otherwise it may never be initialized at boot. Without this module, BlueZ will not start up its networking plugin to provide Bluetooth PAN support. BNEP support as builtin may work if the Bluetooth driver is builtin (which is not the case here), but I haven't verified that. See https://gitlab.com/sdm845-mainline/linux/-/merge_requests/38 [ci:skip-build] --- device/community/linux-postmarketos-qcom-sdm845/APKBUILD | 4 ++-- .../config-postmarketos-qcom-sdm845.aarch64 | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/device/community/linux-postmarketos-qcom-sdm845/APKBUILD b/device/community/linux-postmarketos-qcom-sdm845/APKBUILD index b17f67df8..86d7746d4 100644 --- a/device/community/linux-postmarketos-qcom-sdm845/APKBUILD +++ b/device/community/linux-postmarketos-qcom-sdm845/APKBUILD @@ -6,7 +6,7 @@ _flavor="postmarketos-qcom-sdm845" pkgname=linux-$_flavor pkgver=5.19.0 -pkgrel=0 +pkgrel=1 pkgdesc="Mainline Kernel fork for SDM845 devices" arch="aarch64" _carch="arm64" @@ -62,5 +62,5 @@ package() { sha512sums=" 90a6b7929cc120e3cc38a1b99544e70f762ec84d623c15a668f4dec0af8f099e6cdc591b08dcb93334470532d381920f6be23863cc9ab9383e7dc40c536a7db8 linux-sdm845-5.19.0.tar.gz -4bebcccbf8c9774e2a2c93cbdeec5e7ef10594037d3ba3c4f1fa077f5de10506d0f7198df50e79a3b6d5e09c4e0eb49941b97e53c227f234cd54da195e017801 config-postmarketos-qcom-sdm845.aarch64 +d33ad964017083707ed81b414dbc2982f110c5a376e4836269d476d34f53032553273038fdbd2068a9a4b85167c7e3621ff36fe921945c4366408d826a3d2213 config-postmarketos-qcom-sdm845.aarch64 " diff --git a/device/community/linux-postmarketos-qcom-sdm845/config-postmarketos-qcom-sdm845.aarch64 b/device/community/linux-postmarketos-qcom-sdm845/config-postmarketos-qcom-sdm845.aarch64 index 01cc84c1b..f2cbd08ec 100644 --- a/device/community/linux-postmarketos-qcom-sdm845/config-postmarketos-qcom-sdm845.aarch64 +++ b/device/community/linux-postmarketos-qcom-sdm845/config-postmarketos-qcom-sdm845.aarch64 @@ -1443,9 +1443,9 @@ CONFIG_NET_FLOW_LIMIT=y # CONFIG_CAN is not set CONFIG_BT=m CONFIG_BT_BREDR=y -CONFIG_BT_RFCOMM=y +CONFIG_BT_RFCOMM=m CONFIG_BT_RFCOMM_TTY=y -CONFIG_BT_BNEP=y +CONFIG_BT_BNEP=m CONFIG_BT_BNEP_MC_FILTER=y CONFIG_BT_BNEP_PROTO_FILTER=y CONFIG_BT_HIDP=m @@ -5450,7 +5450,7 @@ CONFIG_LEDS_TRIGGER_DEFAULT_ON=y # CONFIG_LEDS_TRIGGER_CAMERA is not set CONFIG_LEDS_TRIGGER_PANIC=y # CONFIG_LEDS_TRIGGER_NETDEV is not set -CONFIG_LEDS_TRIGGER_PATTERN=m +CONFIG_LEDS_TRIGGER_PATTERN=y # CONFIG_LEDS_TRIGGER_AUDIO is not set # CONFIG_LEDS_TRIGGER_TTY is not set