Skip to content

Commit d332a1f

Browse files
committed
Merge tag 'qcom-dts-fixes-for-5.19' of git://git.kernel.org/pub/scm/linux/kernel/git/qcom/linux into arm/fixes
Qualcomm DTS fixe for 5.19 The pinctrl state was lost in the recent refactoring of the MSM8974 Devicetree, this contains a fix for this. * tag 'qcom-dts-fixes-for-5.19' of git://git.kernel.org/pub/scm/linux/kernel/git/qcom/linux: ARM: dts: qcom: msm8974: re-add missing pinctrl Link: https://lore.kernel.org/r/20220713030627.1371156-1-bjorn.andersson@linaro.org Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2 parents 5290514 + 03110b4 commit d332a1f

1 file changed

Lines changed: 26 additions & 4 deletions

File tree

arch/arm/boot/dts/qcom-msm8974.dtsi

Lines changed: 26 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -506,6 +506,8 @@
506506
interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
507507
clocks = <&gcc GCC_BLSP1_UART2_APPS_CLK>, <&gcc GCC_BLSP1_AHB_CLK>;
508508
clock-names = "core", "iface";
509+
pinctrl-names = "default";
510+
pinctrl-0 = <&blsp1_uart2_default>;
509511
status = "disabled";
510512
};
511513

@@ -581,6 +583,9 @@
581583
interrupts = <GIC_SPI 113 IRQ_TYPE_NONE>;
582584
clocks = <&gcc GCC_BLSP2_UART1_APPS_CLK>, <&gcc GCC_BLSP2_AHB_CLK>;
583585
clock-names = "core", "iface";
586+
pinctrl-names = "default", "sleep";
587+
pinctrl-0 = <&blsp2_uart1_default>;
588+
pinctrl-1 = <&blsp2_uart1_sleep>;
584589
status = "disabled";
585590
};
586591

@@ -599,6 +604,8 @@
599604
interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>;
600605
clocks = <&gcc GCC_BLSP2_UART4_APPS_CLK>, <&gcc GCC_BLSP2_AHB_CLK>;
601606
clock-names = "core", "iface";
607+
pinctrl-names = "default";
608+
pinctrl-0 = <&blsp2_uart4_default>;
602609
status = "disabled";
603610
};
604611

@@ -639,6 +646,9 @@
639646
interrupts = <0 106 IRQ_TYPE_LEVEL_HIGH>;
640647
clocks = <&gcc GCC_BLSP2_QUP6_I2C_APPS_CLK>, <&gcc GCC_BLSP2_AHB_CLK>;
641648
clock-names = "core", "iface";
649+
pinctrl-names = "default", "sleep";
650+
pinctrl-0 = <&blsp2_i2c6_default>;
651+
pinctrl-1 = <&blsp2_i2c6_sleep>;
642652
#address-cells = <1>;
643653
#size-cells = <0>;
644654
};
@@ -1256,7 +1266,7 @@
12561266
};
12571267
};
12581268

1259-
blsp1_uart2_active: blsp1-uart2-active {
1269+
blsp1_uart2_default: blsp1-uart2-default {
12601270
rx {
12611271
pins = "gpio5";
12621272
function = "blsp_uart2";
@@ -1272,7 +1282,7 @@
12721282
};
12731283
};
12741284

1275-
blsp2_uart1_active: blsp2-uart1-active {
1285+
blsp2_uart1_default: blsp2-uart1-default {
12761286
tx-rts {
12771287
pins = "gpio41", "gpio44";
12781288
function = "blsp_uart7";
@@ -1295,7 +1305,7 @@
12951305
bias-pull-down;
12961306
};
12971307

1298-
blsp2_uart4_active: blsp2-uart4-active {
1308+
blsp2_uart4_default: blsp2-uart4-default {
12991309
tx-rts {
13001310
pins = "gpio53", "gpio56";
13011311
function = "blsp_uart10";
@@ -1406,7 +1416,19 @@
14061416
bias-pull-up;
14071417
};
14081418

1409-
/* BLSP2_I2C6 info is missing - nobody uses it though? */
1419+
blsp2_i2c6_default: blsp2-i2c6-default {
1420+
pins = "gpio87", "gpio88";
1421+
function = "blsp_i2c12";
1422+
drive-strength = <2>;
1423+
bias-disable;
1424+
};
1425+
1426+
blsp2_i2c6_sleep: blsp2-i2c6-sleep {
1427+
pins = "gpio87", "gpio88";
1428+
function = "blsp_i2c12";
1429+
drive-strength = <2>;
1430+
bias-pull-up;
1431+
};
14101432

14111433
spi8_default: spi8_default {
14121434
mosi {

0 commit comments

Comments
 (0)