Bring up nokia-sparkler SMP/cpufreq/lk2nd/cam/haptics, fix timer and EDL USB timeout

- Add 0013 early-SCM 4-core SMP + cpufreq kernel patch and clock-frequency DT nodes
- Complete nokia-sparkler lk2nd port, boot/X11 session startup, 180-deg cached camera, and 157 Hz haptic audio
- Replace root-only timer backend with permissionless sxmo_timer.sh and keypad/hook cancellation
- Fix EDL Firehose rawmode ACK, USB active-config preservation, *+# hint, and 30 s default USB timeout
- Sync a1120 (cocojamboo) prebuilts, docs, tests, and verified checksums in check-rebuild.sh
This commit is contained in:
Luxferre committed 2026-11-16 11:45:38 +02:00
1 parent ab53423e33
commit d7992904bf
56 files changed
+31850 -28281

No files matched your search

+1
View File
@@ -20,6 +20,7 @@ deviceinfo_chassis="handset"
deviceinfo_external_storage="true"
deviceinfo_screen_width="240"
deviceinfo_screen_height="320"
deviceinfo_drm="true"
# Bootloader related
deviceinfo_flash_method="fastboot"
+2
View File
@@ -1,3 +1,5 @@
pm8916-lbc
pm8916-bms-vm
panel-mipi-dbi
matrix_keypad
matrix_keymap
Binary file not shown.
@@ -42,6 +42,7 @@
device_type = "cpu";
compatible = "arm,cortex-a7";
reg = <0x00>;
clock-frequency = <1094400000>;
next-level-cache = <0x02>;
enable-method = "qcom,msm8909-smp";
clocks = <0x03>;
@@ -60,6 +61,7 @@
device_type = "cpu";
compatible = "arm,cortex-a7";
reg = <0x01>;
clock-frequency = <1094400000>;
next-level-cache = <0x02>;
enable-method = "qcom,msm8909-smp";
clocks = <0x03>;
@@ -78,6 +80,7 @@
device_type = "cpu";
compatible = "arm,cortex-a7";
reg = <0x02>;
clock-frequency = <1094400000>;
next-level-cache = <0x02>;
enable-method = "qcom,msm8909-smp";
clocks = <0x03>;
@@ -96,6 +99,7 @@
device_type = "cpu";
compatible = "arm,cortex-a7";
reg = <0x03>;
clock-frequency = <1094400000>;
next-level-cache = <0x02>;
enable-method = "qcom,msm8909-smp";
clocks = <0x03>;
@@ -7,6 +7,9 @@
model = "Nokia 8000 4G";
compatible = "nokia,sparkler", "qcom,msm8909";
chassis-type = "handset";
qcom,msm-id = <0xf5 0x00>;
qcom,board-id = <0x08 0x100>;
qcom,pmic-id = <0x1000d 0x00 0x00 0x00>;
aliases {
mmc0 = "/soc@0/sdhci@7824000";
@@ -19,7 +22,7 @@
clocks {
xo-board {
xo_board: xo-board {
compatible = "fixed-clock";
#clock-cells = <0x00>;
clock-frequency = <0x124f800>;
@@ -42,6 +45,7 @@
device_type = "cpu";
compatible = "arm,cortex-a7";
reg = <0x00>;
clock-frequency = <1094400000>;
next-level-cache = <0x02>;
enable-method = "qcom,msm8909-smp";
clocks = <0x03>;
@@ -60,6 +64,7 @@
device_type = "cpu";
compatible = "arm,cortex-a7";
reg = <0x01>;
clock-frequency = <1094400000>;
next-level-cache = <0x02>;
enable-method = "qcom,msm8909-smp";
clocks = <0x03>;
@@ -78,6 +83,7 @@
device_type = "cpu";
compatible = "arm,cortex-a7";
reg = <0x02>;
clock-frequency = <1094400000>;
next-level-cache = <0x02>;
enable-method = "qcom,msm8909-smp";
clocks = <0x03>;
@@ -96,6 +102,7 @@
device_type = "cpu";
compatible = "arm,cortex-a7";
reg = <0x03>;
clock-frequency = <1094400000>;
next-level-cache = <0x02>;
enable-method = "qcom,msm8909-smp";
clocks = <0x03>;
@@ -216,7 +223,7 @@
memory@80000000 {
device_type = "memory";
reg = <0x80000000 0x00>;
reg = <0x80000000 0x20000000>;
};
pmu {
@@ -346,7 +353,7 @@
pm8909-regulators {
compatible = "qcom,rpm-pm8909-regulators";
s2 {
pm8909_s2: s2 {
regulator-min-microvolt = <0x1c3a90>;
regulator-max-microvolt = <0x1c3a90>;
};
@@ -366,7 +373,7 @@
regulator-max-microvolt = <0x1b7740>;
};
l5 {
pm8909_l5: l5 {
regulator-min-microvolt = <0x1b7740>;
regulator-max-microvolt = <0x1b7740>;
phandle = <0x3d>;
@@ -418,7 +425,7 @@
phandle = <0x45>;
};
l13 {
pm8909_l13: l13 {
regulator-min-microvolt = <0x2eebb8>;
regulator-max-microvolt = <0x2eebb8>;
phandle = <0x68>;
@@ -1064,6 +1071,23 @@
phandle = <0x7d>;
};
cdc-pdm-lines {
pdm_lines_on: pdm-lines-on {
pins = "gpio59", "gpio60", "gpio61", "gpio62", "gpio63", "gpio64";
function = "cdc_pdm0";
drive-strength = <0x08>;
bias-disable;
};
pdm_lines_off: pdm-lines-off {
pins = "gpio59", "gpio60", "gpio61", "gpio62", "gpio63", "gpio64";
function = "cdc_pdm0";
drive-strength = <0x02>;
bias-pull-down;
};
};
panel-gpios-default-state {
pins = "gpio24", "gpio25", "gpio110";
function = "gpio";
@@ -1153,7 +1177,7 @@
};
};
spmi@200f000 {
spmi_bus: spmi@200f000 {
compatible = "qcom,spmi-pmic-arb";
reg = <0x200f000 0x1000 0x2400000 0x400000 0x2c00000 0x400000 0x3800000 0x200000 0x200a000 0x2100>;
reg-names = "core", "chnls", "obsrvr", "intr", "cnfg";
@@ -1299,6 +1323,25 @@
reg = <0xc000>;
status = "disabled";
};
wcd_codec: audio-codec@f000 {
compatible = "qcom,pm8916-wcd-analog-codec";
reg = <0xf000>;
reg-names = "pmic-codec-core";
interrupt-parent = <&spmi_bus>;
interrupts = <0x01 0xf0 0x00 0x00 0x01 0xf0 0x01 0x00 0x01 0xf0 0x02 0x00 0x01 0xf0 0x03 0x00 0x01 0xf0 0x04 0x00 0x01 0xf0 0x05 0x00 0x01 0xf0 0x06 0x00 0x01 0xf0 0x07 0x00 0x01 0xf1 0x00 0x00 0x01 0xf1 0x01 0x00 0x01 0xf1 0x02 0x00 0x01 0xf1 0x03 0x00 0x01 0xf1 0x04 0x00 0x01 0xf1 0x05 0x00>;
interrupt-names = "cdc_spk_cnp_int", "cdc_spk_clip_int", "cdc_spk_ocp_int", "mbhc_ins_rem_det1", "mbhc_but_rel_det", "mbhc_but_press_det", "mbhc_ins_rem_det", "mbhc_switch_int", "cdc_ear_ocp_int", "cdc_hphr_ocp_int", "cdc_hphl_ocp_det", "cdc_ear_cnp_int", "cdc_hphr_cnp_int", "cdc_hphl_cnp_int";
#sound-dai-cells = <0x01>;
status = "okay";
qcom,hphl-jack-type-normally-open;
qcom,micbias1-ext-cap;
qcom,micbias2-ext-cap;
qcom,mbhc-vthreshold-low = <0x4b 0x96 0xe1 0x1c2 0x1f4>;
qcom,mbhc-vthreshold-high = <0x4b 0x96 0xe1 0x1c2 0x1f4>;
vdd-cdc-io-supply = <&pm8909_l5>;
vdd-cdc-tx-rx-cx-supply = <&pm8909_s2>;
vdd-micbias-supply = <&pm8909_l13>;
};
};
};
@@ -1357,9 +1400,266 @@
qcom,ipc = <0x03 0x08 0x0c>;
qcom,remote-pid = <0x01>;
label = "hexagon";
apr {
compatible = "qcom,apr-v2";
qcom,smd-channels = "apr_audio_svc";
qcom,apr-domain = <0x04>;
#address-cells = <0x01>;
#size-cells = <0x00>;
status = "okay";
apr-service@3 {
reg = <0x03>;
compatible = "qcom,q6core";
};
apr-service@4 {
compatible = "qcom,q6afe";
reg = <0x04>;
q6afedai: dais {
compatible = "qcom,q6afe-dais";
#address-cells = <0x01>;
#size-cells = <0x00>;
#sound-dai-cells = <0x01>;
dai@16 {
reg = <0x10>;
qcom,sd-lines = <0x00 0x01>;
};
dai@20 {
reg = <0x15>;
qcom,sd-lines = <0x00 0x01>;
};
dai@136 {
reg = <0x88>;
};
dai@137 {
reg = <0x89>;
};
};
q6afeclk: clock-controller {
compatible = "qcom,q6afe-clocks";
#clock-cells = <0x02>;
};
};
apr-service@7 {
compatible = "qcom,q6asm";
reg = <0x07>;
q6asmdai: dais {
compatible = "qcom,q6asm-dais";
#address-cells = <0x01>;
#size-cells = <0x00>;
#sound-dai-cells = <0x01>;
dai@0 {
reg = <0x00>;
direction = <0x02>;
};
dai@1 {
reg = <0x01>;
direction = <0x01>;
};
dai@2 {
reg = <0x02>;
direction = <0x02>;
};
dai@3 {
reg = <0x03>;
direction = <0x02>;
is-compress-dai;
};
};
};
apr-service@8 {
compatible = "qcom,q6adm";
reg = <0x08>;
q6adm_routing: routing {
compatible = "qcom,q6adm-routing";
#sound-dai-cells = <0x00>;
};
};
apr-service@9 {
compatible = "qcom,q6mvm";
reg = <0x09>;
q6voicedai: dais {
compatible = "qcom,q6voice-dais";
#sound-dai-cells = <0x01>;
};
};
apr-service@a {
compatible = "qcom,q6cvs";
reg = <0x0a>;
};
apr-service@b {
compatible = "qcom,q6cvp";
reg = <0x0b>;
};
};
};
};
sound@7702000 {
status = "okay";
compatible = "qcom,msm8916-qdsp6-sndcard";
reg = <0x7702000 0x04 0x7702004 0x04>;
reg-names = "mic-iomux", "spkr-iomux";
model = "msm8916";
audio-routing = "AMIC1", "MIC BIAS External1", "AMIC2", "MIC BIAS Internal2", "AMIC3", "MIC BIAS External1";
pinctrl-names = "default", "sleep";
pinctrl-0 = <&pdm_lines_on>;
pinctrl-1 = <&pdm_lines_off>;
dai-link-multimedia1 {
link-name = "MultiMedia1";
cpu {
sound-dai = <&q6asmdai 0x00>;
};
};
dai-link-multimedia2 {
link-name = "MultiMedia2";
cpu {
sound-dai = <&q6asmdai 0x01>;
};
};
dai-link-multimedia3 {
link-name = "MultiMedia3";
status = "disabled";
cpu {
sound-dai = <&q6asmdai 0x02>;
};
};
dai-link-multimedia4 {
link-name = "MultiMedia4";
cpu {
sound-dai = <&q6asmdai 0x03>;
};
};
dai-link-voicemmode1 {
link-name = "VoiceMMode1";
cpu {
sound-dai = <&q6voicedai 0x01>;
};
};
dai-link-primary {
link-name = "Primary MI2S";
cpu {
sound-dai = <&q6afedai 0x10>;
};
platform {
sound-dai = <&q6adm_routing>;
};
codec {
sound-dai = <&lpass_codec 0x00 &wcd_codec 0x00>;
};
};
dai-link-secondary {
link-name = "Secondary MI2S";
status = "disabled";
cpu {
sound-dai = <&q6afedai 0x12>;
};
platform {
sound-dai = <&q6adm_routing>;
};
};
dai-link-tertiary {
link-name = "Tertiary MI2S";
cpu {
sound-dai = <&q6afedai 0x15>;
};
platform {
sound-dai = <&q6adm_routing>;
};
codec {
sound-dai = <&lpass_codec 0x01 &wcd_codec 0x01>;
};
};
dai-link-quaternary {
link-name = "Quaternary MI2S";
status = "disabled";
cpu {
sound-dai = <&q6afedai 0x16>;
};
platform {
sound-dai = <&q6adm_routing>;
};
};
dai-link-bt-sco-rx {
link-name = "Internal BT-SCO RX";
cpu {
sound-dai = <&q6afedai 0x88>;
};
platform {
sound-dai = <&q6adm_routing>;
};
};
dai-link-bt-sco-tx {
link-name = "Internal BT-SCO TX";
cpu {
sound-dai = <&q6afedai 0x89>;
};
platform {
sound-dai = <&q6adm_routing>;
};
};
};
lpass_codec: audio-codec@771c000 {
compatible = "qcom,msm8916-wcd-digital-codec";
reg = <0x771c000 0x400>;
clocks = <&xo_board &q6afeclk 0x32 0x01>;
clock-names = "ahbix-clk", "mclk";
assigned-clocks = <&q6afeclk 0x32 0x01>;
assigned-clock-rates = <0x927c00>;
#sound-dai-cells = <0x01>;
};
sdhci@7824000 {
compatible = "qcom,msm8916-sdhci", "qcom,sdhci-msm-v4";
reg = <0x7824900 0x11c 0x7824000 0x800>;
@@ -2073,7 +2373,7 @@
pinctrl-names = "default";
row-gpios = <0x27 0x61 0x01 0x27 0x60 0x01 0x27 0x5f 0x01 0x27 0x5e 0x01>;
col-gpios = <0x27 0x00 0x01 0x27 0x03 0x01 0x27 0x07 0x01 0x27 0x63 0x01 0x27 0x06 0x01 0x27 0x01 0x01>;
linux,keymap = <0x1bd 0x10002 0x20005 0x30008 0x4020a 0x5008b 0x10002b8 0x1010003 0x1020006 0x1030009 0x104000b 0x105000e 0x2000069 0x2010004 0x2020007 0x203000a 0x204020b 0x20501be 0x300001c 0x30102b9 0x302006a 0x3030067 0x304006c>;
linux,keymap = <0x1bd 0x10002 0x20005 0x30008 0x4020a 0x500d4 0x100007f 0x1010003 0x1020006 0x1030009 0x104000b 0x105000e 0x2000069 0x2010004 0x2020007 0x203000a 0x204020b 0x205000e 0x300001c 0x301009e 0x302006a 0x3030067 0x304006c>;
};
leds {