Skip to content

Commit 3de834b

Browse files
committed
Merge tag 'qcom-arm64-fixes-for-5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/qcom/linux into arm/fixes
Qualcomm ARM64 fixes for 5.11 This fixes a regression in Lenovo Yoga C630, where the touchpad in some units stopped working, by re-enabling the "tsc2" device. It also marks the LPASS related clocks as protected to allow DB845c and the Lenovo Yoga C630 to boot even if CONFIG_SDM_LPASSCC_845 is enabled. * tag 'qcom-arm64-fixes-for-5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/qcom/linux: arm64: dts: qcom: sdm845: Reserve LPASS clocks in gcc arm64: dts: qcom: c630: keep both touchpad devices enabled Link: https://lore.kernel.org/r/20210125232039.642565-1-bjorn.andersson@linaro.org Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2 parents c25644d + 93f2a11 commit 3de834b

2 files changed

Lines changed: 8 additions & 10 deletions

File tree

arch/arm64/boot/dts/qcom/sdm845-db845c.dts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,9 @@
415415
&gcc {
416416
protected-clocks = <GCC_QSPI_CORE_CLK>,
417417
<GCC_QSPI_CORE_CLK_SRC>,
418-
<GCC_QSPI_CNOC_PERIPH_AHB_CLK>;
418+
<GCC_QSPI_CNOC_PERIPH_AHB_CLK>,
419+
<GCC_LPASS_Q6_AXI_CLK>,
420+
<GCC_LPASS_SWAY_CLK>;
419421
};
420422

421423
&gpu {

arch/arm64/boot/dts/qcom/sdm850-lenovo-yoga-c630.dts

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,9 @@
302302
&gcc {
303303
protected-clocks = <GCC_QSPI_CORE_CLK>,
304304
<GCC_QSPI_CORE_CLK_SRC>,
305-
<GCC_QSPI_CNOC_PERIPH_AHB_CLK>;
305+
<GCC_QSPI_CNOC_PERIPH_AHB_CLK>,
306+
<GCC_LPASS_Q6_AXI_CLK>,
307+
<GCC_LPASS_SWAY_CLK>;
306308
};
307309

308310
&gpu {
@@ -320,16 +322,15 @@
320322
&i2c3 {
321323
status = "okay";
322324
clock-frequency = <400000>;
325+
/* Overwrite pinctrl-0 from sdm845.dtsi */
326+
pinctrl-0 = <&qup_i2c3_default &i2c3_hid_active>;
323327

324328
tsel: hid@15 {
325329
compatible = "hid-over-i2c";
326330
reg = <0x15>;
327331
hid-descr-addr = <0x1>;
328332

329333
interrupts-extended = <&tlmm 37 IRQ_TYPE_LEVEL_HIGH>;
330-
331-
pinctrl-names = "default";
332-
pinctrl-0 = <&i2c3_hid_active>;
333334
};
334335

335336
tsc2: hid@2c {
@@ -338,11 +339,6 @@
338339
hid-descr-addr = <0x20>;
339340

340341
interrupts-extended = <&tlmm 37 IRQ_TYPE_LEVEL_HIGH>;
341-
342-
pinctrl-names = "default";
343-
pinctrl-0 = <&i2c3_hid_active>;
344-
345-
status = "disabled";
346342
};
347343
};
348344

0 commit comments

Comments
 (0)