Commit 41e22c2f authored by Stephan Gerhold's avatar Stephan Gerhold Committed by Bjorn Andersson

arm64: dts: qcom: msm8916: Rename &msmgpio -> &tlmm

MSM8916 is the only ARM64 Qualcomm SoC that is still using the old
&msmgpio name. Change this to &tlmm to avoid confusion.

Note that the node ordering does not change because the MSM8916 device
trees have pinctrl separated at the bottom (similar to sc7180).
Signed-off-by: default avatarStephan Gerhold <stephan@gerhold.net>
Reviewed-by: default avatarBryan O'Donoghue <bryan.odonoghue@linaro.org>
Signed-off-by: default avatarBjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230525-msm8916-labels-v1-1-bec0f5fb46fb@gerhold.net
parent eaa53a85
...@@ -75,7 +75,7 @@ usb2513 { ...@@ -75,7 +75,7 @@ usb2513 {
usb_id: usb-id { usb_id: usb-id {
compatible = "linux,extcon-usb-gpio"; compatible = "linux,extcon-usb-gpio";
id-gpio = <&msmgpio 121 GPIO_ACTIVE_HIGH>; id-gpio = <&tlmm 121 GPIO_ACTIVE_HIGH>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&usb_id_default>; pinctrl-0 = <&usb_id_default>;
}; };
...@@ -101,13 +101,13 @@ gpio-keys { ...@@ -101,13 +101,13 @@ gpio-keys {
button { button {
label = "Volume Up"; label = "Volume Up";
linux,code = <KEY_VOLUMEUP>; linux,code = <KEY_VOLUMEUP>;
gpios = <&msmgpio 107 GPIO_ACTIVE_LOW>; gpios = <&tlmm 107 GPIO_ACTIVE_LOW>;
}; };
}; };
leds { leds {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&msmgpio_leds>, pinctrl-0 = <&tlmm_leds>,
<&pm8916_gpios_leds>, <&pm8916_gpios_leds>,
<&pm8916_mpps_leds>; <&pm8916_mpps_leds>;
...@@ -117,7 +117,7 @@ led@1 { ...@@ -117,7 +117,7 @@ led@1 {
label = "apq8016-sbc:green:user1"; label = "apq8016-sbc:green:user1";
function = LED_FUNCTION_HEARTBEAT; function = LED_FUNCTION_HEARTBEAT;
color = <LED_COLOR_ID_GREEN>; color = <LED_COLOR_ID_GREEN>;
gpios = <&msmgpio 21 GPIO_ACTIVE_HIGH>; gpios = <&tlmm 21 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "heartbeat"; linux,default-trigger = "heartbeat";
default-state = "off"; default-state = "off";
}; };
...@@ -126,7 +126,7 @@ led@2 { ...@@ -126,7 +126,7 @@ led@2 {
label = "apq8016-sbc:green:user2"; label = "apq8016-sbc:green:user2";
function = LED_FUNCTION_DISK_ACTIVITY; function = LED_FUNCTION_DISK_ACTIVITY;
color = <LED_COLOR_ID_GREEN>; color = <LED_COLOR_ID_GREEN>;
gpios = <&msmgpio 120 GPIO_ACTIVE_HIGH>; gpios = <&tlmm 120 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "mmc0"; linux,default-trigger = "mmc0";
default-state = "off"; default-state = "off";
}; };
...@@ -186,14 +186,14 @@ adv_bridge: bridge@39 { ...@@ -186,14 +186,14 @@ adv_bridge: bridge@39 {
compatible = "adi,adv7533"; compatible = "adi,adv7533";
reg = <0x39>; reg = <0x39>;
interrupt-parent = <&msmgpio>; interrupt-parent = <&tlmm>;
interrupts = <31 IRQ_TYPE_EDGE_FALLING>; interrupts = <31 IRQ_TYPE_EDGE_FALLING>;
adi,dsi-lanes = <4>; adi,dsi-lanes = <4>;
clocks = <&rpmcc RPM_SMD_BB_CLK2>; clocks = <&rpmcc RPM_SMD_BB_CLK2>;
clock-names = "cec"; clock-names = "cec";
pd-gpios = <&msmgpio 32 GPIO_ACTIVE_HIGH>; pd-gpios = <&tlmm 32 GPIO_ACTIVE_HIGH>;
avdd-supply = <&pm8916_l6>; avdd-supply = <&pm8916_l6>;
v1p2-supply = <&pm8916_l6>; v1p2-supply = <&pm8916_l6>;
...@@ -276,8 +276,8 @@ camera_rear@3b { ...@@ -276,8 +276,8 @@ camera_rear@3b {
compatible = "ovti,ov5640"; compatible = "ovti,ov5640";
reg = <0x3b>; reg = <0x3b>;
enable-gpios = <&msmgpio 34 GPIO_ACTIVE_HIGH>; enable-gpios = <&tlmm 34 GPIO_ACTIVE_HIGH>;
reset-gpios = <&msmgpio 35 GPIO_ACTIVE_LOW>; reset-gpios = <&tlmm 35 GPIO_ACTIVE_LOW>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&camera_rear_default>; pinctrl-0 = <&camera_rear_default>;
...@@ -373,7 +373,7 @@ &sdhc_2 { ...@@ -373,7 +373,7 @@ &sdhc_2 {
pinctrl-0 = <&sdc2_clk_on &sdc2_cmd_on &sdc2_data_on &sdc2_cd_on>; pinctrl-0 = <&sdc2_clk_on &sdc2_cmd_on &sdc2_data_on &sdc2_cd_on>;
pinctrl-1 = <&sdc2_clk_off &sdc2_cmd_off &sdc2_data_off &sdc2_cd_off>; pinctrl-1 = <&sdc2_clk_off &sdc2_cmd_off &sdc2_data_off &sdc2_cd_off>;
cd-gpios = <&msmgpio 38 GPIO_ACTIVE_LOW>; cd-gpios = <&tlmm 38 GPIO_ACTIVE_LOW>;
}; };
&sound { &sound {
...@@ -515,7 +515,7 @@ &i2c6_default { ...@@ -515,7 +515,7 @@ &i2c6_default {
* ones actually used for GPIO. * ones actually used for GPIO.
*/ */
&msmgpio { &tlmm {
gpio-line-names = gpio-line-names =
"[UART0_TX]", /* GPIO_0, LSEC pin 5 */ "[UART0_TX]", /* GPIO_0, LSEC pin 5 */
"[UART0_RX]", /* GPIO_1, LSEC pin 7 */ "[UART0_RX]", /* GPIO_1, LSEC pin 7 */
...@@ -640,7 +640,7 @@ &msmgpio { ...@@ -640,7 +640,7 @@ &msmgpio {
"USR_LED_2_CTRL", /* GPIO 120 */ "USR_LED_2_CTRL", /* GPIO 120 */
"SB_HS_ID"; "SB_HS_ID";
msmgpio_leds: msmgpio-leds-state { tlmm_leds: tlmm-leds-state {
pins = "gpio21", "gpio120"; pins = "gpio21", "gpio120";
function = "gpio"; function = "gpio";
......
...@@ -39,14 +39,14 @@ gpio-keys { ...@@ -39,14 +39,14 @@ gpio-keys {
button-volume-up { button-volume-up {
label = "Volume Up"; label = "Volume Up";
gpios = <&msmgpio 107 GPIO_ACTIVE_LOW>; gpios = <&tlmm 107 GPIO_ACTIVE_LOW>;
linux,code = <KEY_VOLUMEUP>; linux,code = <KEY_VOLUMEUP>;
}; };
}; };
usb_id: usb-id { usb_id: usb-id {
compatible = "linux,extcon-usb-gpio"; compatible = "linux,extcon-usb-gpio";
id-gpio = <&msmgpio 110 GPIO_ACTIVE_HIGH>; id-gpio = <&tlmm 110 GPIO_ACTIVE_HIGH>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&usb_id_default>; pinctrl-0 = <&usb_id_default>;
}; };
...@@ -58,7 +58,7 @@ &blsp_i2c2 { ...@@ -58,7 +58,7 @@ &blsp_i2c2 {
accelerometer@10 { accelerometer@10 {
compatible = "bosch,bmc150_accel"; compatible = "bosch,bmc150_accel";
reg = <0x10>; reg = <0x10>;
interrupt-parent = <&msmgpio>; interrupt-parent = <&tlmm>;
interrupts = <115 IRQ_TYPE_EDGE_RISING>; interrupts = <115 IRQ_TYPE_EDGE_RISING>;
vdd-supply = <&pm8916_l17>; vdd-supply = <&pm8916_l17>;
...@@ -89,10 +89,10 @@ touchscreen@38 { ...@@ -89,10 +89,10 @@ touchscreen@38 {
compatible = "edt,edt-ft5406"; compatible = "edt,edt-ft5406";
reg = <0x38>; reg = <0x38>;
interrupt-parent = <&msmgpio>; interrupt-parent = <&tlmm>;
interrupts = <13 IRQ_TYPE_LEVEL_LOW>; interrupts = <13 IRQ_TYPE_LEVEL_LOW>;
reset-gpios = <&msmgpio 12 GPIO_ACTIVE_LOW>; reset-gpios = <&tlmm 12 GPIO_ACTIVE_LOW>;
vcc-supply = <&pm8916_l16>; vcc-supply = <&pm8916_l16>;
iovcc-supply = <&pm8916_l6>; iovcc-supply = <&pm8916_l6>;
...@@ -143,7 +143,7 @@ &sdhc_2 { ...@@ -143,7 +143,7 @@ &sdhc_2 {
pinctrl-0 = <&sdc2_clk_on &sdc2_cmd_on &sdc2_data_on>; pinctrl-0 = <&sdc2_clk_on &sdc2_cmd_on &sdc2_data_on>;
pinctrl-1 = <&sdc2_clk_off &sdc2_cmd_off &sdc2_data_off>; pinctrl-1 = <&sdc2_clk_off &sdc2_cmd_off &sdc2_data_off>;
cd-gpios = <&msmgpio 38 GPIO_ACTIVE_HIGH>; cd-gpios = <&tlmm 38 GPIO_ACTIVE_HIGH>;
status = "okay"; status = "okay";
}; };
...@@ -165,7 +165,7 @@ &wcnss_iris { ...@@ -165,7 +165,7 @@ &wcnss_iris {
compatible = "qcom,wcn3620"; compatible = "qcom,wcn3620";
}; };
&msmgpio { &tlmm {
accel_int_default: accel-int-default-state { accel_int_default: accel-int-default-state {
pins = "gpio115"; pins = "gpio115";
function = "gpio"; function = "gpio";
......
...@@ -30,7 +30,7 @@ gpio-keys { ...@@ -30,7 +30,7 @@ gpio-keys {
button-volume-up { button-volume-up {
label = "Volume Up"; label = "Volume Up";
gpios = <&msmgpio 107 GPIO_ACTIVE_LOW>; gpios = <&tlmm 107 GPIO_ACTIVE_LOW>;
linux,code = <KEY_VOLUMEUP>; linux,code = <KEY_VOLUMEUP>;
}; };
}; };
...@@ -42,7 +42,7 @@ gpio-leds { ...@@ -42,7 +42,7 @@ gpio-leds {
pinctrl-0 = <&gpio_leds_default>; pinctrl-0 = <&gpio_leds_default>;
led-0 { led-0 {
gpios = <&msmgpio 32 GPIO_ACTIVE_HIGH>; gpios = <&tlmm 32 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "torch"; linux,default-trigger = "torch";
function = LED_FUNCTION_TORCH; function = LED_FUNCTION_TORCH;
}; };
...@@ -50,7 +50,7 @@ led-0 { ...@@ -50,7 +50,7 @@ led-0 {
usb_id: usb-id { usb_id: usb-id {
compatible = "linux,extcon-usb-gpio"; compatible = "linux,extcon-usb-gpio";
id-gpio = <&msmgpio 69 GPIO_ACTIVE_HIGH>; id-gpio = <&tlmm 69 GPIO_ACTIVE_HIGH>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&usb_id_default>; pinctrl-0 = <&usb_id_default>;
}; };
...@@ -66,9 +66,9 @@ &blsp_i2c4 { ...@@ -66,9 +66,9 @@ &blsp_i2c4 {
touchscreen@26 { touchscreen@26 {
compatible = "mstar,msg2638"; compatible = "mstar,msg2638";
reg = <0x26>; reg = <0x26>;
interrupt-parent = <&msmgpio>; interrupt-parent = <&tlmm>;
interrupts = <13 IRQ_TYPE_EDGE_FALLING>; interrupts = <13 IRQ_TYPE_EDGE_FALLING>;
reset-gpios = <&msmgpio 100 GPIO_ACTIVE_LOW>; reset-gpios = <&tlmm 100 GPIO_ACTIVE_LOW>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&ts_int_reset_default>; pinctrl-0 = <&ts_int_reset_default>;
vdd-supply = <&pm8916_l17>; vdd-supply = <&pm8916_l17>;
...@@ -86,7 +86,7 @@ magnetometer@c { ...@@ -86,7 +86,7 @@ magnetometer@c {
reg = <0x0c>; reg = <0x0c>;
vdd-supply = <&pm8916_l17>; vdd-supply = <&pm8916_l17>;
vid-supply = <&pm8916_l6>; vid-supply = <&pm8916_l6>;
reset-gpios = <&msmgpio 8 GPIO_ACTIVE_LOW>; reset-gpios = <&tlmm 8 GPIO_ACTIVE_LOW>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&mag_reset_default>; pinctrl-0 = <&mag_reset_default>;
mount-matrix = "0", "1", "0", mount-matrix = "0", "1", "0",
...@@ -99,7 +99,7 @@ accelerometer@f { ...@@ -99,7 +99,7 @@ accelerometer@f {
reg = <0x0f>; reg = <0x0f>;
vdd-supply = <&pm8916_l17>; vdd-supply = <&pm8916_l17>;
vddio-supply = <&pm8916_l6>; vddio-supply = <&pm8916_l6>;
interrupt-parent = <&msmgpio>; interrupt-parent = <&tlmm>;
interrupts = <31 IRQ_TYPE_EDGE_RISING>; interrupts = <31 IRQ_TYPE_EDGE_RISING>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&accel_int_default>; pinctrl-0 = <&accel_int_default>;
...@@ -111,7 +111,7 @@ accelerometer@f { ...@@ -111,7 +111,7 @@ accelerometer@f {
proximity@48 { proximity@48 {
compatible = "sensortek,stk3310"; compatible = "sensortek,stk3310";
reg = <0x48>; reg = <0x48>;
interrupt-parent = <&msmgpio>; interrupt-parent = <&tlmm>;
interrupts = <12 IRQ_TYPE_EDGE_FALLING>; interrupts = <12 IRQ_TYPE_EDGE_FALLING>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&proximity_int_default>; pinctrl-0 = <&proximity_int_default>;
...@@ -122,7 +122,7 @@ gyroscope@68 { ...@@ -122,7 +122,7 @@ gyroscope@68 {
reg = <0x68>; reg = <0x68>;
vdd-supply = <&pm8916_l17>; vdd-supply = <&pm8916_l17>;
vddio-supply = <&pm8916_l6>; vddio-supply = <&pm8916_l6>;
interrupt-parent = <&msmgpio>; interrupt-parent = <&tlmm>;
interrupts = <97 IRQ_TYPE_EDGE_RISING>, interrupts = <97 IRQ_TYPE_EDGE_RISING>,
<98 IRQ_TYPE_EDGE_RISING>; <98 IRQ_TYPE_EDGE_RISING>;
pinctrl-names = "default"; pinctrl-names = "default";
...@@ -136,7 +136,7 @@ &blsp_i2c6 { ...@@ -136,7 +136,7 @@ &blsp_i2c6 {
led-controller@68 { led-controller@68 {
compatible = "si-en,sn3190"; compatible = "si-en,sn3190";
reg = <0x68>; reg = <0x68>;
shutdown-gpios = <&msmgpio 89 GPIO_ACTIVE_HIGH>; shutdown-gpios = <&tlmm 89 GPIO_ACTIVE_HIGH>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&led_enable_default &led_shutdown_default>; pinctrl-0 = <&led_enable_default &led_shutdown_default>;
#address-cells = <1>; #address-cells = <1>;
...@@ -182,7 +182,7 @@ &sdhc_2 { ...@@ -182,7 +182,7 @@ &sdhc_2 {
pinctrl-0 = <&sdc2_clk_on &sdc2_cmd_on &sdc2_data_on &sdc2_cd_on>; pinctrl-0 = <&sdc2_clk_on &sdc2_cmd_on &sdc2_data_on &sdc2_cd_on>;
pinctrl-1 = <&sdc2_clk_off &sdc2_cmd_off &sdc2_data_off &sdc2_cd_off>; pinctrl-1 = <&sdc2_clk_off &sdc2_cmd_off &sdc2_data_off &sdc2_cd_off>;
cd-gpios = <&msmgpio 38 GPIO_ACTIVE_LOW>; cd-gpios = <&tlmm 38 GPIO_ACTIVE_LOW>;
}; };
&usb { &usb {
...@@ -202,7 +202,7 @@ &wcnss_iris { ...@@ -202,7 +202,7 @@ &wcnss_iris {
compatible = "qcom,wcn3620"; compatible = "qcom,wcn3620";
}; };
&msmgpio { &tlmm {
accel_int_default: accel-int-default-state { accel_int_default: accel-int-default-state {
pins = "gpio31"; pins = "gpio31";
function = "gpio"; function = "gpio";
......
...@@ -30,14 +30,14 @@ gpio-keys { ...@@ -30,14 +30,14 @@ gpio-keys {
button-volume-up { button-volume-up {
label = "Volume Up"; label = "Volume Up";
gpios = <&msmgpio 107 GPIO_ACTIVE_LOW>; gpios = <&tlmm 107 GPIO_ACTIVE_LOW>;
linux,code = <KEY_VOLUMEUP>; linux,code = <KEY_VOLUMEUP>;
debounce-interval = <15>; debounce-interval = <15>;
}; };
button-volume-down { button-volume-down {
label = "Volume Down"; label = "Volume Down";
gpios = <&msmgpio 117 GPIO_ACTIVE_LOW>; gpios = <&tlmm 117 GPIO_ACTIVE_LOW>;
linux,code = <KEY_VOLUMEDOWN>; linux,code = <KEY_VOLUMEDOWN>;
debounce-interval = <15>; debounce-interval = <15>;
}; };
...@@ -49,7 +49,7 @@ reg_sd_vmmc: regulator-sdcard-vmmc { ...@@ -49,7 +49,7 @@ reg_sd_vmmc: regulator-sdcard-vmmc {
regulator-min-microvolt = <2950000>; regulator-min-microvolt = <2950000>;
regulator-max-microvolt = <2950000>; regulator-max-microvolt = <2950000>;
gpio = <&msmgpio 87 GPIO_ACTIVE_HIGH>; gpio = <&tlmm 87 GPIO_ACTIVE_HIGH>;
enable-active-high; enable-active-high;
startup-delay-us = <200>; startup-delay-us = <200>;
...@@ -60,7 +60,7 @@ reg_sd_vmmc: regulator-sdcard-vmmc { ...@@ -60,7 +60,7 @@ reg_sd_vmmc: regulator-sdcard-vmmc {
usb_id: usb-id { usb_id: usb-id {
compatible = "linux,extcon-usb-gpio"; compatible = "linux,extcon-usb-gpio";
id-gpios = <&msmgpio 110 GPIO_ACTIVE_HIGH>; id-gpios = <&tlmm 110 GPIO_ACTIVE_HIGH>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&usb_id_default>; pinctrl-0 = <&usb_id_default>;
}; };
...@@ -76,7 +76,7 @@ magnetometer@c { ...@@ -76,7 +76,7 @@ magnetometer@c {
vdd-supply = <&pm8916_l8>; vdd-supply = <&pm8916_l8>;
vid-supply = <&pm8916_l6>; vid-supply = <&pm8916_l6>;
reset-gpios = <&msmgpio 112 GPIO_ACTIVE_LOW>; reset-gpios = <&tlmm 112 GPIO_ACTIVE_LOW>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&mag_reset_default>; pinctrl-0 = <&mag_reset_default>;
...@@ -86,7 +86,7 @@ imu@68 { ...@@ -86,7 +86,7 @@ imu@68 {
compatible = "invensense,mpu6515"; compatible = "invensense,mpu6515";
reg = <0x68>; reg = <0x68>;
interrupt-parent = <&msmgpio>; interrupt-parent = <&tlmm>;
interrupts = <36 IRQ_TYPE_EDGE_RISING>; interrupts = <36 IRQ_TYPE_EDGE_RISING>;
vdd-supply = <&pm8916_l17>; vdd-supply = <&pm8916_l17>;
...@@ -108,10 +108,10 @@ touchscreen@38 { ...@@ -108,10 +108,10 @@ touchscreen@38 {
compatible = "edt,edt-ft5306"; compatible = "edt,edt-ft5306";
reg = <0x38>; reg = <0x38>;
interrupt-parent = <&msmgpio>; interrupt-parent = <&tlmm>;
interrupts = <13 IRQ_TYPE_EDGE_FALLING>; interrupts = <13 IRQ_TYPE_EDGE_FALLING>;
reset-gpios = <&msmgpio 12 GPIO_ACTIVE_LOW>; reset-gpios = <&tlmm 12 GPIO_ACTIVE_LOW>;
vcc-supply = <&pm8916_l11>; vcc-supply = <&pm8916_l11>;
iovcc-supply = <&pm8916_l6>; iovcc-supply = <&pm8916_l6>;
...@@ -150,7 +150,7 @@ &sdhc_2 { ...@@ -150,7 +150,7 @@ &sdhc_2 {
pinctrl-names = "default", "sleep"; pinctrl-names = "default", "sleep";
pinctrl-0 = <&sdc2_clk_on &sdc2_cmd_on &sdc2_data_on &sdc2_cd_on>; pinctrl-0 = <&sdc2_clk_on &sdc2_cmd_on &sdc2_data_on &sdc2_cd_on>;
pinctrl-1 = <&sdc2_clk_off &sdc2_cmd_off &sdc2_data_off &sdc2_cd_off>; pinctrl-1 = <&sdc2_clk_off &sdc2_cmd_off &sdc2_data_off &sdc2_cd_off>;
cd-gpios = <&msmgpio 38 GPIO_ACTIVE_LOW>; cd-gpios = <&tlmm 38 GPIO_ACTIVE_LOW>;
}; };
&usb { &usb {
...@@ -170,7 +170,7 @@ &wcnss_iris { ...@@ -170,7 +170,7 @@ &wcnss_iris {
compatible = "qcom,wcn3620"; compatible = "qcom,wcn3620";
}; };
&msmgpio { &tlmm {
gpio_keys_default: gpio-keys-default-state { gpio_keys_default: gpio-keys-default-state {
pins = "gpio107", "gpio117"; pins = "gpio107", "gpio117";
function = "gpio"; function = "gpio";
......
...@@ -24,8 +24,8 @@ chosen { ...@@ -24,8 +24,8 @@ chosen {
flash-led-controller { flash-led-controller {
/* Actually qcom,leds-gpio-flash */ /* Actually qcom,leds-gpio-flash */
compatible = "sgmicro,sgm3140"; compatible = "sgmicro,sgm3140";
enable-gpios = <&msmgpio 31 GPIO_ACTIVE_HIGH>; enable-gpios = <&tlmm 31 GPIO_ACTIVE_HIGH>;
flash-gpios = <&msmgpio 32 GPIO_ACTIVE_HIGH>; flash-gpios = <&tlmm 32 GPIO_ACTIVE_HIGH>;
pinctrl-0 = <&camera_flash_default>; pinctrl-0 = <&camera_flash_default>;
pinctrl-names = "default"; pinctrl-names = "default";
...@@ -45,7 +45,7 @@ gpio-keys { ...@@ -45,7 +45,7 @@ gpio-keys {
button-volume-up { button-volume-up {
label = "Volume Up"; label = "Volume Up";
gpios = <&msmgpio 107 GPIO_ACTIVE_LOW>; gpios = <&tlmm 107 GPIO_ACTIVE_LOW>;
linux,code = <KEY_VOLUMEUP>; linux,code = <KEY_VOLUMEUP>;
}; };
}; };
...@@ -59,21 +59,21 @@ gpio-leds { ...@@ -59,21 +59,21 @@ gpio-leds {
led-red { led-red {
function = LED_FUNCTION_CHARGING; function = LED_FUNCTION_CHARGING;
color = <LED_COLOR_ID_RED>; color = <LED_COLOR_ID_RED>;
gpios = <&msmgpio 117 GPIO_ACTIVE_HIGH>; gpios = <&tlmm 117 GPIO_ACTIVE_HIGH>;
retain-state-suspended; retain-state-suspended;
}; };
led-green { led-green {
function = LED_FUNCTION_CHARGING; function = LED_FUNCTION_CHARGING;
color = <LED_COLOR_ID_GREEN>; color = <LED_COLOR_ID_GREEN>;
gpios = <&msmgpio 118 GPIO_ACTIVE_HIGH>; gpios = <&tlmm 118 GPIO_ACTIVE_HIGH>;
retain-state-suspended; retain-state-suspended;
}; };
}; };
usb_id: usb-id { usb_id: usb-id {
compatible = "linux,extcon-usb-gpio"; compatible = "linux,extcon-usb-gpio";
id-gpio = <&msmgpio 110 GPIO_ACTIVE_HIGH>; id-gpio = <&tlmm 110 GPIO_ACTIVE_HIGH>;
pinctrl-0 = <&usb_id_default>; pinctrl-0 = <&usb_id_default>;
pinctrl-names = "default"; pinctrl-names = "default";
}; };
...@@ -87,10 +87,10 @@ touchscreen@38 { ...@@ -87,10 +87,10 @@ touchscreen@38 {
compatible = "edt,edt-ft5406"; compatible = "edt,edt-ft5406";
reg = <0x38>; reg = <0x38>;
interrupt-parent = <&msmgpio>; interrupt-parent = <&tlmm>;
interrupts = <13 IRQ_TYPE_EDGE_FALLING>; interrupts = <13 IRQ_TYPE_EDGE_FALLING>;
reset-gpios = <&msmgpio 12 GPIO_ACTIVE_LOW>; reset-gpios = <&tlmm 12 GPIO_ACTIVE_LOW>;
vcc-supply = <&pm8916_l17>; vcc-supply = <&pm8916_l17>;
iovcc-supply = <&pm8916_l6>; iovcc-supply = <&pm8916_l6>;
...@@ -138,7 +138,7 @@ &sdhc_2 { ...@@ -138,7 +138,7 @@ &sdhc_2 {
pinctrl-1 = <&sdc2_clk_off &sdc2_cmd_off &sdc2_data_off>; pinctrl-1 = <&sdc2_clk_off &sdc2_cmd_off &sdc2_data_off>;
pinctrl-names = "default", "sleep"; pinctrl-names = "default", "sleep";
cd-gpios = <&msmgpio 38 GPIO_ACTIVE_LOW>; cd-gpios = <&tlmm 38 GPIO_ACTIVE_LOW>;
status = "okay"; status = "okay";
}; };
...@@ -160,7 +160,7 @@ &wcnss_iris { ...@@ -160,7 +160,7 @@ &wcnss_iris {
compatible = "qcom,wcn3620"; compatible = "qcom,wcn3620";
}; };
&msmgpio { &tlmm {
camera_flash_default: camera-flash-default-state { camera_flash_default: camera-flash-default-state {
pins = "gpio31", "gpio32"; pins = "gpio31", "gpio32";
function = "gpio"; function = "gpio";
......
...@@ -43,7 +43,7 @@ gpio-keys { ...@@ -43,7 +43,7 @@ gpio-keys {
button-volume-up { button-volume-up {
label = "Volume Up"; label = "Volume Up";
gpios = <&msmgpio 107 GPIO_ACTIVE_LOW>; gpios = <&tlmm 107 GPIO_ACTIVE_LOW>;
linux,code = <KEY_VOLUMEUP>; linux,code = <KEY_VOLUMEUP>;
}; };
}; };
...@@ -55,21 +55,21 @@ leds { ...@@ -55,21 +55,21 @@ leds {
pinctrl-0 = <&gpio_leds_default>; pinctrl-0 = <&gpio_leds_default>;
led-0 { led-0 {
gpios = <&msmgpio 8 GPIO_ACTIVE_HIGH>; gpios = <&tlmm 8 GPIO_ACTIVE_HIGH>;
color = <LED_COLOR_ID_RED>; color = <LED_COLOR_ID_RED>;
default-state = "off"; default-state = "off";
function = LED_FUNCTION_INDICATOR; function = LED_FUNCTION_INDICATOR;
}; };
led-1 { led-1 {
gpios = <&msmgpio 9 GPIO_ACTIVE_HIGH>; gpios = <&tlmm 9 GPIO_ACTIVE_HIGH>;
color = <LED_COLOR_ID_GREEN>; color = <LED_COLOR_ID_GREEN>;
default-state = "off"; default-state = "off";
function = LED_FUNCTION_INDICATOR; function = LED_FUNCTION_INDICATOR;
}; };
led-2 { led-2 {
gpios = <&msmgpio 10 GPIO_ACTIVE_HIGH>; gpios = <&tlmm 10 GPIO_ACTIVE_HIGH>;
color = <LED_COLOR_ID_BLUE>; color = <LED_COLOR_ID_BLUE>;
default-state = "off"; default-state = "off";
function = LED_FUNCTION_INDICATOR; function = LED_FUNCTION_INDICATOR;
...@@ -78,7 +78,7 @@ led-2 { ...@@ -78,7 +78,7 @@ led-2 {
usb_id: usb-id { usb_id: usb-id {
compatible = "linux,extcon-usb-gpio"; compatible = "linux,extcon-usb-gpio";
id-gpio = <&msmgpio 117 GPIO_ACTIVE_HIGH>; id-gpio = <&tlmm 117 GPIO_ACTIVE_HIGH>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&usb_id_default>; pinctrl-0 = <&usb_id_default>;
}; };
...@@ -94,7 +94,7 @@ magnetometer@c { ...@@ -94,7 +94,7 @@ magnetometer@c {
vdd-supply = <&pm8916_l17>; vdd-supply = <&pm8916_l17>;
vid-supply = <&pm8916_l6>; vid-supply = <&pm8916_l6>;
reset-gpios = <&msmgpio 36 GPIO_ACTIVE_LOW>; reset-gpios = <&tlmm 36 GPIO_ACTIVE_LOW>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&mag_reset_default>; pinctrl-0 = <&mag_reset_default>;
...@@ -104,7 +104,7 @@ accelerometer@1e { ...@@ -104,7 +104,7 @@ accelerometer@1e {
compatible = "kionix,kx023-1025"; compatible = "kionix,kx023-1025";
reg = <0x1e>; reg = <0x1e>;
interrupt-parent = <&msmgpio>; interrupt-parent = <&tlmm>;
interrupts = <115 IRQ_TYPE_EDGE_RISING>; interrupts = <115 IRQ_TYPE_EDGE_RISING>;
vdd-supply = <&pm8916_l17>; vdd-supply = <&pm8916_l17>;
...@@ -122,7 +122,7 @@ proximity@39 { ...@@ -122,7 +122,7 @@ proximity@39 {
compatible = "avago,apds9930"; compatible = "avago,apds9930";
reg = <0x39>; reg = <0x39>;
interrupt-parent = <&msmgpio>; interrupt-parent = <&tlmm>;
interrupts = <113 IRQ_TYPE_EDGE_FALLING>; interrupts = <113 IRQ_TYPE_EDGE_FALLING>;
vdd-supply = <&pm8916_l17>; vdd-supply = <&pm8916_l17>;
...@@ -146,7 +146,7 @@ reg_lcd_pos: outp { ...@@ -146,7 +146,7 @@ reg_lcd_pos: outp {
regulator-name = "outp"; regulator-name = "outp";
regulator-min-microvolt = <5400000>; regulator-min-microvolt = <5400000>;
regulator-max-microvolt = <5400000>; regulator-max-microvolt = <5400000>;
enable-gpios = <&msmgpio 97 GPIO_ACTIVE_HIGH>; enable-gpios = <&tlmm 97 GPIO_ACTIVE_HIGH>;
regulator-active-discharge = <1>; regulator-active-discharge = <1>;
}; };
...@@ -154,7 +154,7 @@ reg_lcd_neg: outn { ...@@ -154,7 +154,7 @@ reg_lcd_neg: outn {
regulator-name = "outn"; regulator-name = "outn";
regulator-min-microvolt = <5400000>; regulator-min-microvolt = <5400000>;
regulator-max-microvolt = <5400000>; regulator-max-microvolt = <5400000>;
enable-gpios = <&msmgpio 32 GPIO_ACTIVE_HIGH>; enable-gpios = <&tlmm 32 GPIO_ACTIVE_HIGH>;
regulator-active-discharge = <1>; regulator-active-discharge = <1>;
}; };
}; };
...@@ -169,7 +169,7 @@ rmi4@70 { ...@@ -169,7 +169,7 @@ rmi4@70 {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
interrupt-parent = <&msmgpio>; interrupt-parent = <&tlmm>;
interrupts = <13 IRQ_TYPE_EDGE_FALLING>; interrupts = <13 IRQ_TYPE_EDGE_FALLING>;
vdd-supply = <&pm8916_l17>; vdd-supply = <&pm8916_l17>;
...@@ -199,11 +199,11 @@ nfc@28 { ...@@ -199,11 +199,11 @@ nfc@28 {
compatible = "nxp,pn547", "nxp,nxp-nci-i2c"; compatible = "nxp,pn547", "nxp,nxp-nci-i2c";
reg = <0x28>; reg = <0x28>;
interrupt-parent = <&msmgpio>; interrupt-parent = <&tlmm>;
interrupts = <21 IRQ_TYPE_EDGE_RISING>; interrupts = <21 IRQ_TYPE_EDGE_RISING>;
enable-gpios = <&msmgpio 20 GPIO_ACTIVE_HIGH>; enable-gpios = <&tlmm 20 GPIO_ACTIVE_HIGH>;
firmware-gpios = <&msmgpio 2 GPIO_ACTIVE_HIGH>; firmware-gpios = <&tlmm 2 GPIO_ACTIVE_HIGH>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&nfc_default>; pinctrl-0 = <&nfc_default>;
...@@ -264,7 +264,7 @@ &sdhc_2 { ...@@ -264,7 +264,7 @@ &sdhc_2 {
pinctrl-1 = <&sdc2_clk_off &sdc2_cmd_off &sdc2_data_off &sdhc2_cd_default>; pinctrl-1 = <&sdc2_clk_off &sdc2_cmd_off &sdc2_data_off &sdhc2_cd_default>;
/* /*
* The Huawei device tree sets cd-gpios = <&msmgpio 38 GPIO_ACTIVE_HIGH>. * The Huawei device tree sets cd-gpios = <&tlmm 38 GPIO_ACTIVE_HIGH>.
* However, gpio38 does not change its state when inserting/removing the * However, gpio38 does not change its state when inserting/removing the
* SD card, it's just low all the time. The Huawei kernel seems to use * SD card, it's just low all the time. The Huawei kernel seems to use
* polling for SD card detection instead. * polling for SD card detection instead.
...@@ -276,7 +276,7 @@ &sdhc_2 { ...@@ -276,7 +276,7 @@ &sdhc_2 {
* Maybe Huawei decided to replace the second SIM card slot with the * Maybe Huawei decided to replace the second SIM card slot with the
* SD card slot and forgot to re-route to gpio38. * SD card slot and forgot to re-route to gpio38.
*/ */
cd-gpios = <&msmgpio 56 GPIO_ACTIVE_LOW>; cd-gpios = <&tlmm 56 GPIO_ACTIVE_LOW>;
}; };
&sound { &sound {
...@@ -338,7 +338,7 @@ &wcnss_iris { ...@@ -338,7 +338,7 @@ &wcnss_iris {
compatible = "qcom,wcn3620"; compatible = "qcom,wcn3620";
}; };
&msmgpio { &tlmm {
accel_irq_default: accel-irq-default-state { accel_irq_default: accel-irq-default-state {
pins = "gpio115"; pins = "gpio115";
function = "gpio"; function = "gpio";
......
...@@ -41,7 +41,7 @@ gpio-keys { ...@@ -41,7 +41,7 @@ gpio-keys {
button-volume-up { button-volume-up {
label = "Volume Up"; label = "Volume Up";
gpios = <&msmgpio 107 GPIO_ACTIVE_LOW>; gpios = <&tlmm 107 GPIO_ACTIVE_LOW>;
linux,code = <KEY_VOLUMEUP>; linux,code = <KEY_VOLUMEUP>;
}; };
}; };
...@@ -53,7 +53,7 @@ reg_ctp: regulator-ctp { ...@@ -53,7 +53,7 @@ reg_ctp: regulator-ctp {
regulator-min-microvolt = <2800000>; regulator-min-microvolt = <2800000>;
regulator-max-microvolt = <2800000>; regulator-max-microvolt = <2800000>;
gpio = <&msmgpio 17 GPIO_ACTIVE_HIGH>; gpio = <&tlmm 17 GPIO_ACTIVE_HIGH>;
enable-active-high; enable-active-high;
pinctrl-names = "default"; pinctrl-names = "default";
...@@ -62,8 +62,8 @@ reg_ctp: regulator-ctp { ...@@ -62,8 +62,8 @@ reg_ctp: regulator-ctp {
flash-led-controller { flash-led-controller {
compatible = "sgmicro,sgm3140"; compatible = "sgmicro,sgm3140";
flash-gpios = <&msmgpio 31 GPIO_ACTIVE_HIGH>; flash-gpios = <&tlmm 31 GPIO_ACTIVE_HIGH>;
enable-gpios = <&msmgpio 32 GPIO_ACTIVE_HIGH>; enable-gpios = <&tlmm 32 GPIO_ACTIVE_HIGH>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&camera_flash_default>; pinctrl-0 = <&camera_flash_default>;
...@@ -122,7 +122,7 @@ accelerometer@10 { ...@@ -122,7 +122,7 @@ accelerometer@10 {
* to the BMC156. However, there are two pads next to the chip * to the BMC156. However, there are two pads next to the chip
* that can be shorted to make it work if needed. * that can be shorted to make it work if needed.
* *
* interrupt-parent = <&msmgpio>; * interrupt-parent = <&tlmm>;
* interrupts = <116 IRQ_TYPE_EDGE_RISING>; * interrupts = <116 IRQ_TYPE_EDGE_RISING>;
*/ */
...@@ -141,7 +141,7 @@ magnetometer@12 { ...@@ -141,7 +141,7 @@ magnetometer@12 {
compatible = "bosch,bmc156_magn"; compatible = "bosch,bmc156_magn";
reg = <0x12>; reg = <0x12>;
interrupt-parent = <&msmgpio>; interrupt-parent = <&tlmm>;
interrupts = <113 IRQ_TYPE_EDGE_RISING>; interrupts = <113 IRQ_TYPE_EDGE_RISING>;
pinctrl-names = "default"; pinctrl-names = "default";
...@@ -156,7 +156,7 @@ light-sensor@23 { ...@@ -156,7 +156,7 @@ light-sensor@23 {
reg = <0x23>; reg = <0x23>;
proximity-near-level = <75>; proximity-near-level = <75>;
interrupt-parent = <&msmgpio>; interrupt-parent = <&tlmm>;
interrupts = <115 IRQ_TYPE_EDGE_FALLING>; interrupts = <115 IRQ_TYPE_EDGE_FALLING>;
pinctrl-names = "default"; pinctrl-names = "default";
...@@ -170,7 +170,7 @@ gyroscope@68 { ...@@ -170,7 +170,7 @@ gyroscope@68 {
compatible = "bosch,bmg160"; compatible = "bosch,bmg160";
reg = <0x68>; reg = <0x68>;
interrupt-parent = <&msmgpio>; interrupt-parent = <&tlmm>;
interrupts = <23 IRQ_TYPE_EDGE_RISING>, interrupts = <23 IRQ_TYPE_EDGE_RISING>,
<22 IRQ_TYPE_EDGE_RISING>; <22 IRQ_TYPE_EDGE_RISING>;
...@@ -191,7 +191,7 @@ rmi4@20 { ...@@ -191,7 +191,7 @@ rmi4@20 {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
interrupt-parent = <&msmgpio>; interrupt-parent = <&tlmm>;
interrupts = <13 IRQ_TYPE_EDGE_FALLING>; interrupts = <13 IRQ_TYPE_EDGE_FALLING>;
vdd-supply = <&reg_ctp>; vdd-supply = <&reg_ctp>;
...@@ -274,7 +274,7 @@ &wcnss_iris { ...@@ -274,7 +274,7 @@ &wcnss_iris {
compatible = "qcom,wcn3620"; compatible = "qcom,wcn3620";
}; };
&msmgpio { &tlmm {
accel_int_default: accel-int-default-state { accel_int_default: accel-int-default-state {
pins = "gpio116"; pins = "gpio116";
function = "gpio"; function = "gpio";
......
...@@ -22,8 +22,8 @@ chosen { ...@@ -22,8 +22,8 @@ chosen {
flash-led-controller { flash-led-controller {
compatible = "ocs,ocp8110"; compatible = "ocs,ocp8110";
enable-gpios = <&msmgpio 49 GPIO_ACTIVE_HIGH>; enable-gpios = <&tlmm 49 GPIO_ACTIVE_HIGH>;
flash-gpios = <&msmgpio 119 GPIO_ACTIVE_HIGH>; flash-gpios = <&tlmm 119 GPIO_ACTIVE_HIGH>;
pinctrl-0 = <&camera_front_flash_default>; pinctrl-0 = <&camera_front_flash_default>;
pinctrl-names = "default"; pinctrl-names = "default";
...@@ -45,7 +45,7 @@ gpio-keys { ...@@ -45,7 +45,7 @@ gpio-keys {
button-volume-up { button-volume-up {
label = "Volume Up"; label = "Volume Up";
gpios = <&msmgpio 107 GPIO_ACTIVE_LOW>; gpios = <&tlmm 107 GPIO_ACTIVE_LOW>;
linux,code = <KEY_VOLUMEUP>; linux,code = <KEY_VOLUMEUP>;
}; };
}; };
...@@ -54,7 +54,7 @@ leds { ...@@ -54,7 +54,7 @@ leds {
compatible = "gpio-leds"; compatible = "gpio-leds";
led-0 { led-0 {
gpios = <&msmgpio 17 GPIO_ACTIVE_HIGH>; gpios = <&tlmm 17 GPIO_ACTIVE_HIGH>;
color = <LED_COLOR_ID_WHITE>; color = <LED_COLOR_ID_WHITE>;
default-state = "off"; default-state = "off";
function = LED_FUNCTION_KBD_BACKLIGHT; function = LED_FUNCTION_KBD_BACKLIGHT;
...@@ -66,7 +66,7 @@ led-0 { ...@@ -66,7 +66,7 @@ led-0 {
usb_id: usb-id { usb_id: usb-id {
compatible = "linux,extcon-usb-gpio"; compatible = "linux,extcon-usb-gpio";
id-gpio = <&msmgpio 110 GPIO_ACTIVE_HIGH>; id-gpio = <&tlmm 110 GPIO_ACTIVE_HIGH>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&usb_id_default>; pinctrl-0 = <&usb_id_default>;
}; };
...@@ -82,7 +82,7 @@ magnetometer@d { ...@@ -82,7 +82,7 @@ magnetometer@d {
vdd-supply = <&pm8916_l17>; vdd-supply = <&pm8916_l17>;
vid-supply = <&pm8916_l6>; vid-supply = <&pm8916_l6>;
reset-gpios = <&msmgpio 111 GPIO_ACTIVE_LOW>; reset-gpios = <&tlmm 111 GPIO_ACTIVE_LOW>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&mag_reset_default>; pinctrl-0 = <&mag_reset_default>;
...@@ -136,7 +136,7 @@ &sdhc_2 { ...@@ -136,7 +136,7 @@ &sdhc_2 {
pinctrl-0 = <&sdc2_clk_on &sdc2_cmd_on &sdc2_data_on &sdc2_cd_on>; pinctrl-0 = <&sdc2_clk_on &sdc2_cmd_on &sdc2_data_on &sdc2_cd_on>;
pinctrl-1 = <&sdc2_clk_off &sdc2_cmd_off &sdc2_data_off &sdc2_cd_off>; pinctrl-1 = <&sdc2_clk_off &sdc2_cmd_off &sdc2_data_off &sdc2_cd_off>;
cd-gpios = <&msmgpio 38 GPIO_ACTIVE_LOW>; cd-gpios = <&tlmm 38 GPIO_ACTIVE_LOW>;
}; };
&usb { &usb {
...@@ -156,7 +156,7 @@ &wcnss_iris { ...@@ -156,7 +156,7 @@ &wcnss_iris {
compatible = "qcom,wcn3620"; compatible = "qcom,wcn3620";
}; };
&msmgpio { &tlmm {
button_backlight_default: button-backlight-default-state { button_backlight_default: button-backlight-default-state {
pins = "gpio17"; pins = "gpio17";
function = "gpio"; function = "gpio";
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* Copyright (c) 2013-2015, The Linux Foundation. All rights reserved. * Copyright (c) 2013-2015, The Linux Foundation. All rights reserved.
*/ */
&msmgpio { &tlmm {
blsp1_uart1_default: blsp1-uart1-default-state { blsp1_uart1_default: blsp1-uart1-default-state {
/* TX, RX, CTS_N, RTS_N */ /* TX, RX, CTS_N, RTS_N */
......
...@@ -44,13 +44,13 @@ gpio-keys { ...@@ -44,13 +44,13 @@ gpio-keys {
button-volume-up { button-volume-up {
label = "Volume Up"; label = "Volume Up";
gpios = <&msmgpio 107 GPIO_ACTIVE_LOW>; gpios = <&tlmm 107 GPIO_ACTIVE_LOW>;
linux,code = <KEY_VOLUMEUP>; linux,code = <KEY_VOLUMEUP>;
}; };
button-home { button-home {
label = "Home"; label = "Home";
gpios = <&msmgpio 109 GPIO_ACTIVE_LOW>; gpios = <&tlmm 109 GPIO_ACTIVE_LOW>;
linux,code = <KEY_HOMEPAGE>; linux,code = <KEY_HOMEPAGE>;
}; };
}; };
...@@ -65,7 +65,7 @@ gpio-hall-sensor { ...@@ -65,7 +65,7 @@ gpio-hall-sensor {
event-hall-sensor { event-hall-sensor {
label = "Hall Effect Sensor"; label = "Hall Effect Sensor";
gpios = <&msmgpio 52 GPIO_ACTIVE_LOW>; gpios = <&tlmm 52 GPIO_ACTIVE_LOW>;
linux,input-type = <EV_SW>; linux,input-type = <EV_SW>;
linux,code = <SW_LID>; linux,code = <SW_LID>;
linux,can-disable; linux,can-disable;
...@@ -83,7 +83,7 @@ reg_motor_vdd: regulator-motor-vdd { ...@@ -83,7 +83,7 @@ reg_motor_vdd: regulator-motor-vdd {
regulator-min-microvolt = <3000000>; regulator-min-microvolt = <3000000>;
regulator-max-microvolt = <3000000>; regulator-max-microvolt = <3000000>;
gpio = <&msmgpio 76 GPIO_ACTIVE_HIGH>; gpio = <&tlmm 76 GPIO_ACTIVE_HIGH>;
enable-active-high; enable-active-high;
pinctrl-names = "default"; pinctrl-names = "default";
...@@ -96,7 +96,7 @@ reg_vdd_tsp_a: regulator-vdd-tsp-a { ...@@ -96,7 +96,7 @@ reg_vdd_tsp_a: regulator-vdd-tsp-a {
regulator-min-microvolt = <3300000>; regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>; regulator-max-microvolt = <3300000>;
gpio = <&msmgpio 73 GPIO_ACTIVE_HIGH>; gpio = <&tlmm 73 GPIO_ACTIVE_HIGH>;
enable-active-high; enable-active-high;
pinctrl-names = "default"; pinctrl-names = "default";
...@@ -105,8 +105,8 @@ reg_vdd_tsp_a: regulator-vdd-tsp-a { ...@@ -105,8 +105,8 @@ reg_vdd_tsp_a: regulator-vdd-tsp-a {
i2c-muic { i2c-muic {
compatible = "i2c-gpio"; compatible = "i2c-gpio";
sda-gpios = <&msmgpio 105 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>; sda-gpios = <&tlmm 105 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
scl-gpios = <&msmgpio 106 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>; scl-gpios = <&tlmm 106 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&muic_i2c_default>; pinctrl-0 = <&muic_i2c_default>;
...@@ -118,7 +118,7 @@ muic: extcon@25 { ...@@ -118,7 +118,7 @@ muic: extcon@25 {
compatible = "siliconmitus,sm5502-muic"; compatible = "siliconmitus,sm5502-muic";
reg = <0x25>; reg = <0x25>;
interrupt-parent = <&msmgpio>; interrupt-parent = <&tlmm>;
interrupts = <12 IRQ_TYPE_EDGE_FALLING>; interrupts = <12 IRQ_TYPE_EDGE_FALLING>;
pinctrl-names = "default"; pinctrl-names = "default";
...@@ -128,8 +128,8 @@ muic: extcon@25 { ...@@ -128,8 +128,8 @@ muic: extcon@25 {
i2c-tkey { i2c-tkey {
compatible = "i2c-gpio"; compatible = "i2c-gpio";
sda-gpios = <&msmgpio 16 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>; sda-gpios = <&tlmm 16 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
scl-gpios = <&msmgpio 17 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>; scl-gpios = <&tlmm 17 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&tkey_i2c_default>; pinctrl-0 = <&tkey_i2c_default>;
...@@ -142,7 +142,7 @@ touchkey: touchkey@20 { ...@@ -142,7 +142,7 @@ touchkey: touchkey@20 {
compatible = "coreriver,tc360-touchkey"; compatible = "coreriver,tc360-touchkey";
reg = <0x20>; reg = <0x20>;
interrupt-parent = <&msmgpio>; interrupt-parent = <&tlmm>;
interrupts = <98 IRQ_TYPE_EDGE_FALLING>; interrupts = <98 IRQ_TYPE_EDGE_FALLING>;
/* vcc/vdd-supply are board-specific */ /* vcc/vdd-supply are board-specific */
...@@ -157,8 +157,8 @@ touchkey: touchkey@20 { ...@@ -157,8 +157,8 @@ touchkey: touchkey@20 {
i2c-nfc { i2c-nfc {
compatible = "i2c-gpio"; compatible = "i2c-gpio";
sda-gpios = <&msmgpio 0 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>; sda-gpios = <&tlmm 0 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
scl-gpios = <&msmgpio 1 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>; scl-gpios = <&tlmm 1 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&nfc_i2c_default>; pinctrl-0 = <&nfc_i2c_default>;
...@@ -170,11 +170,11 @@ nfc@27 { ...@@ -170,11 +170,11 @@ nfc@27 {
compatible = "samsung,s3fwrn5-i2c"; compatible = "samsung,s3fwrn5-i2c";
reg = <0x27>; reg = <0x27>;
interrupt-parent = <&msmgpio>; interrupt-parent = <&tlmm>;
interrupts = <21 IRQ_TYPE_EDGE_RISING>; interrupts = <21 IRQ_TYPE_EDGE_RISING>;
en-gpios = <&msmgpio 20 GPIO_ACTIVE_LOW>; en-gpios = <&tlmm 20 GPIO_ACTIVE_LOW>;
wake-gpios = <&msmgpio 49 GPIO_ACTIVE_HIGH>; wake-gpios = <&tlmm 49 GPIO_ACTIVE_HIGH>;
clocks = <&rpmcc RPM_SMD_BB_CLK2_PIN>; clocks = <&rpmcc RPM_SMD_BB_CLK2_PIN>;
...@@ -200,7 +200,7 @@ &blsp_i2c2 { ...@@ -200,7 +200,7 @@ &blsp_i2c2 {
accelerometer: accelerometer@10 { accelerometer: accelerometer@10 {
compatible = "bosch,bmc150_accel"; compatible = "bosch,bmc150_accel";
reg = <0x10>; reg = <0x10>;
interrupt-parent = <&msmgpio>; interrupt-parent = <&tlmm>;
interrupts = <115 IRQ_TYPE_EDGE_RISING>; interrupts = <115 IRQ_TYPE_EDGE_RISING>;
vdd-supply = <&pm8916_l17>; vdd-supply = <&pm8916_l17>;
...@@ -225,7 +225,7 @@ &blsp_i2c4 { ...@@ -225,7 +225,7 @@ &blsp_i2c4 {
battery@35 { battery@35 {
compatible = "richtek,rt5033-battery"; compatible = "richtek,rt5033-battery";
reg = <0x35>; reg = <0x35>;
interrupt-parent = <&msmgpio>; interrupt-parent = <&tlmm>;
interrupts = <121 IRQ_TYPE_EDGE_BOTH>; interrupts = <121 IRQ_TYPE_EDGE_BOTH>;
pinctrl-names = "default"; pinctrl-names = "default";
...@@ -274,7 +274,7 @@ &sdhc_2 { ...@@ -274,7 +274,7 @@ &sdhc_2 {
pinctrl-0 = <&sdc2_clk_on &sdc2_cmd_on &sdc2_data_on &sdc2_cd_on>; pinctrl-0 = <&sdc2_clk_on &sdc2_cmd_on &sdc2_data_on &sdc2_cd_on>;
pinctrl-1 = <&sdc2_clk_off &sdc2_cmd_off &sdc2_data_off &sdc2_cd_off>; pinctrl-1 = <&sdc2_clk_off &sdc2_cmd_off &sdc2_data_off &sdc2_cd_off>;
cd-gpios = <&msmgpio 38 GPIO_ACTIVE_LOW>; cd-gpios = <&tlmm 38 GPIO_ACTIVE_LOW>;
}; };
&usb { &usb {
...@@ -286,7 +286,7 @@ &usb_hs_phy { ...@@ -286,7 +286,7 @@ &usb_hs_phy {
extcon = <&muic>; extcon = <&muic>;
}; };
&msmgpio { &tlmm {
accel_int_default: accel-int-default-state { accel_int_default: accel-int-default-state {
pins = "gpio115"; pins = "gpio115";
function = "gpio"; function = "gpio";
......
...@@ -15,7 +15,7 @@ reg_panel_vdd3: regulator-panel-vdd3 { ...@@ -15,7 +15,7 @@ reg_panel_vdd3: regulator-panel-vdd3 {
regulator-min-microvolt = <1800000>; regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>; regulator-max-microvolt = <1800000>;
gpio = <&msmgpio 9 GPIO_ACTIVE_HIGH>; gpio = <&tlmm 9 GPIO_ACTIVE_HIGH>;
enable-active-high; enable-active-high;
pinctrl-names = "default"; pinctrl-names = "default";
...@@ -28,7 +28,7 @@ reg_touch_key: regulator-touch-key { ...@@ -28,7 +28,7 @@ reg_touch_key: regulator-touch-key {
regulator-min-microvolt = <2800000>; regulator-min-microvolt = <2800000>;
regulator-max-microvolt = <2800000>; regulator-max-microvolt = <2800000>;
gpio = <&msmgpio 86 GPIO_ACTIVE_HIGH>; gpio = <&tlmm 86 GPIO_ACTIVE_HIGH>;
enable-active-high; enable-active-high;
pinctrl-names = "default"; pinctrl-names = "default";
...@@ -41,7 +41,7 @@ reg_key_led: regulator-key-led { ...@@ -41,7 +41,7 @@ reg_key_led: regulator-key-led {
regulator-min-microvolt = <3300000>; regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>; regulator-max-microvolt = <3300000>;
gpio = <&msmgpio 60 GPIO_ACTIVE_HIGH>; gpio = <&tlmm 60 GPIO_ACTIVE_HIGH>;
enable-active-high; enable-active-high;
pinctrl-names = "default"; pinctrl-names = "default";
...@@ -67,7 +67,7 @@ touchscreen@20 { ...@@ -67,7 +67,7 @@ touchscreen@20 {
compatible = "zinitix,bt541"; compatible = "zinitix,bt541";
reg = <0x20>; reg = <0x20>;
interrupt-parent = <&msmgpio>; interrupt-parent = <&tlmm>;
interrupts = <13 IRQ_TYPE_EDGE_FALLING>; interrupts = <13 IRQ_TYPE_EDGE_FALLING>;
touchscreen-size-x = <540>; touchscreen-size-x = <540>;
...@@ -93,7 +93,7 @@ panel@0 { ...@@ -93,7 +93,7 @@ panel@0 {
vdd3-supply = <&reg_panel_vdd3>; vdd3-supply = <&reg_panel_vdd3>;
vci-supply = <&pm8916_l17>; vci-supply = <&pm8916_l17>;
reset-gpios = <&msmgpio 25 GPIO_ACTIVE_HIGH>; reset-gpios = <&tlmm 25 GPIO_ACTIVE_HIGH>;
port { port {
panel_in: endpoint { panel_in: endpoint {
...@@ -120,7 +120,7 @@ &wcnss_iris { ...@@ -120,7 +120,7 @@ &wcnss_iris {
compatible = "qcom,wcn3620"; compatible = "qcom,wcn3620";
}; };
&msmgpio { &tlmm {
panel_vdd3_default: panel-vdd3-default-state { panel_vdd3_default: panel-vdd3-default-state {
pins = "gpio9"; pins = "gpio9";
function = "gpio"; function = "gpio";
......
...@@ -15,7 +15,7 @@ reg_touch_key: regulator-touch-key { ...@@ -15,7 +15,7 @@ reg_touch_key: regulator-touch-key {
regulator-min-microvolt = <3300000>; regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>; regulator-max-microvolt = <3300000>;
gpio = <&msmgpio 97 GPIO_ACTIVE_HIGH>; gpio = <&tlmm 97 GPIO_ACTIVE_HIGH>;
enable-active-high; enable-active-high;
pinctrl-names = "default"; pinctrl-names = "default";
...@@ -36,7 +36,7 @@ touchscreen@48 { ...@@ -36,7 +36,7 @@ touchscreen@48 {
compatible = "melfas,mms345l"; compatible = "melfas,mms345l";
reg = <0x48>; reg = <0x48>;
interrupt-parent = <&msmgpio>; interrupt-parent = <&tlmm>;
interrupts = <13 IRQ_TYPE_EDGE_FALLING>; interrupts = <13 IRQ_TYPE_EDGE_FALLING>;
touchscreen-size-x = <720>; touchscreen-size-x = <720>;
...@@ -71,7 +71,7 @@ &wcnss_iris { ...@@ -71,7 +71,7 @@ &wcnss_iris {
compatible = "qcom,wcn3660b"; compatible = "qcom,wcn3660b";
}; };
&msmgpio { &tlmm {
tkey_en_default: tkey-en-default-state { tkey_en_default: tkey-en-default-state {
pins = "gpio97"; pins = "gpio97";
function = "gpio"; function = "gpio";
......
...@@ -18,7 +18,7 @@ muic: extcon@14 { ...@@ -18,7 +18,7 @@ muic: extcon@14 {
compatible = "siliconmitus,sm5504-muic"; compatible = "siliconmitus,sm5504-muic";
reg = <0x14>; reg = <0x14>;
interrupt-parent = <&msmgpio>; interrupt-parent = <&tlmm>;
interrupts = <12 IRQ_TYPE_EDGE_FALLING>; interrupts = <12 IRQ_TYPE_EDGE_FALLING>;
pinctrl-names = "default"; pinctrl-names = "default";
...@@ -32,7 +32,7 @@ reg_touch_key: regulator-touch-key { ...@@ -32,7 +32,7 @@ reg_touch_key: regulator-touch-key {
regulator-min-microvolt = <3300000>; regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>; regulator-max-microvolt = <3300000>;
gpio = <&msmgpio 97 GPIO_ACTIVE_HIGH>; gpio = <&tlmm 97 GPIO_ACTIVE_HIGH>;
enable-active-high; enable-active-high;
pinctrl-names = "default"; pinctrl-names = "default";
...@@ -66,7 +66,7 @@ &wcnss_iris { ...@@ -66,7 +66,7 @@ &wcnss_iris {
compatible = "qcom,wcn3620"; compatible = "qcom,wcn3620";
}; };
&msmgpio { &tlmm {
tkey_en_default: tkey-en-default-state { tkey_en_default: tkey-en-default-state {
pins = "gpio97"; pins = "gpio97";
function = "gpio"; function = "gpio";
......
...@@ -33,7 +33,7 @@ led-keyled { ...@@ -33,7 +33,7 @@ led-keyled {
function = LED_FUNCTION_KBD_BACKLIGHT; function = LED_FUNCTION_KBD_BACKLIGHT;
color = <LED_COLOR_ID_WHITE>; color = <LED_COLOR_ID_WHITE>;
gpios = <&msmgpio 60 GPIO_ACTIVE_HIGH>; gpios = <&tlmm 60 GPIO_ACTIVE_HIGH>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&gpio_leds_default>; pinctrl-0 = <&gpio_leds_default>;
...@@ -42,14 +42,14 @@ led-keyled { ...@@ -42,14 +42,14 @@ led-keyled {
}; };
&reg_motor_vdd { &reg_motor_vdd {
gpio = <&msmgpio 72 GPIO_ACTIVE_HIGH>; gpio = <&tlmm 72 GPIO_ACTIVE_HIGH>;
}; };
&reg_touch_key { &reg_touch_key {
status = "disabled"; status = "disabled";
}; };
&msmgpio { &tlmm {
gpio_leds_default: gpio-led-default-state { gpio_leds_default: gpio-led-default-state {
pins = "gpio60"; pins = "gpio60";
function = "gpio"; function = "gpio";
......
...@@ -34,13 +34,13 @@ gpio-keys { ...@@ -34,13 +34,13 @@ gpio-keys {
volume-up-button { volume-up-button {
label = "Volume Up"; label = "Volume Up";
gpios = <&msmgpio 107 GPIO_ACTIVE_LOW>; gpios = <&tlmm 107 GPIO_ACTIVE_LOW>;
linux,code = <KEY_VOLUMEUP>; linux,code = <KEY_VOLUMEUP>;
}; };
home-button { home-button {
label = "Home"; label = "Home";
gpios = <&msmgpio 109 GPIO_ACTIVE_LOW>; gpios = <&tlmm 109 GPIO_ACTIVE_LOW>;
linux,code = <KEY_HOMEPAGE>; linux,code = <KEY_HOMEPAGE>;
}; };
}; };
...@@ -55,7 +55,7 @@ gpio-hall-sensor { ...@@ -55,7 +55,7 @@ gpio-hall-sensor {
hall-sensor-switch { hall-sensor-switch {
label = "Hall Effect Sensor"; label = "Hall Effect Sensor";
gpios = <&msmgpio 52 GPIO_ACTIVE_LOW>; gpios = <&tlmm 52 GPIO_ACTIVE_LOW>;
linux,input-type = <EV_SW>; linux,input-type = <EV_SW>;
linux,code = <SW_LID>; linux,code = <SW_LID>;
linux,can-disable; linux,can-disable;
...@@ -74,7 +74,7 @@ fuelgauge@36 { ...@@ -74,7 +74,7 @@ fuelgauge@36 {
maxim,over-heat-temp = <600>; maxim,over-heat-temp = <600>;
maxim,over-volt = <4400>; maxim,over-volt = <4400>;
interrupt-parent = <&msmgpio>; interrupt-parent = <&tlmm>;
interrupts = <121 IRQ_TYPE_EDGE_FALLING>; interrupts = <121 IRQ_TYPE_EDGE_FALLING>;
pinctrl-0 = <&fuelgauge_int_default>; pinctrl-0 = <&fuelgauge_int_default>;
...@@ -97,7 +97,7 @@ accelerometer@1d { ...@@ -97,7 +97,7 @@ accelerometer@1d {
vdd-supply = <&pm8916_l17>; vdd-supply = <&pm8916_l17>;
vddio-supply = <&pm8916_l5>; vddio-supply = <&pm8916_l5>;
interrupt-parent = <&msmgpio>; interrupt-parent = <&tlmm>;
interrupts = <115 IRQ_TYPE_LEVEL_HIGH>; interrupts = <115 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "INT1"; interrupt-names = "INT1";
...@@ -145,7 +145,7 @@ &sdhc_2 { ...@@ -145,7 +145,7 @@ &sdhc_2 {
pinctrl-1 = <&sdc2_clk_off &sdc2_cmd_off &sdc2_data_off &sdc2_cd_off>; pinctrl-1 = <&sdc2_clk_off &sdc2_cmd_off &sdc2_data_off &sdc2_cd_off>;
pinctrl-names = "default", "sleep"; pinctrl-names = "default", "sleep";
cd-gpios = <&msmgpio 38 GPIO_ACTIVE_LOW>; cd-gpios = <&tlmm 38 GPIO_ACTIVE_LOW>;
status = "okay"; status = "okay";
}; };
...@@ -169,7 +169,7 @@ &wcnss_iris { ...@@ -169,7 +169,7 @@ &wcnss_iris {
compatible = "qcom,wcn3660b"; compatible = "qcom,wcn3660b";
}; };
&msmgpio { &tlmm {
accel_int_default: accel-int-default-state { accel_int_default: accel-int-default-state {
pins = "gpio115"; pins = "gpio115";
function = "gpio"; function = "gpio";
......
...@@ -25,7 +25,7 @@ reg_motor_vdd: regulator-motor-vdd { ...@@ -25,7 +25,7 @@ reg_motor_vdd: regulator-motor-vdd {
regulator-min-microvolt = <3000000>; regulator-min-microvolt = <3000000>;
regulator-max-microvolt = <3000000>; regulator-max-microvolt = <3000000>;
gpio = <&msmgpio 76 GPIO_ACTIVE_HIGH>; gpio = <&tlmm 76 GPIO_ACTIVE_HIGH>;
enable-active-high; enable-active-high;
pinctrl-0 = <&motor_en_default>; pinctrl-0 = <&motor_en_default>;
...@@ -38,7 +38,7 @@ reg_tsp_1p8v: regulator-tsp-1p8v { ...@@ -38,7 +38,7 @@ reg_tsp_1p8v: regulator-tsp-1p8v {
regulator-min-microvolt = <1800000>; regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>; regulator-max-microvolt = <1800000>;
gpio = <&msmgpio 73 GPIO_ACTIVE_HIGH>; gpio = <&tlmm 73 GPIO_ACTIVE_HIGH>;
enable-active-high; enable-active-high;
pinctrl-0 = <&tsp_en_default>; pinctrl-0 = <&tsp_en_default>;
...@@ -51,7 +51,7 @@ reg_tsp_3p3v: regulator-tsp-3p3v { ...@@ -51,7 +51,7 @@ reg_tsp_3p3v: regulator-tsp-3p3v {
regulator-min-microvolt = <3300000>; regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>; regulator-max-microvolt = <3300000>;
gpio = <&msmgpio 73 GPIO_ACTIVE_HIGH>; gpio = <&tlmm 73 GPIO_ACTIVE_HIGH>;
enable-active-high; enable-active-high;
}; };
...@@ -71,20 +71,20 @@ &blsp_i2c5 { ...@@ -71,20 +71,20 @@ &blsp_i2c5 {
touchscreen@4a { touchscreen@4a {
compatible = "atmel,maxtouch"; compatible = "atmel,maxtouch";
reg = <0x4a>; reg = <0x4a>;
interrupt-parent = <&msmgpio>; interrupt-parent = <&tlmm>;
interrupts = <13 IRQ_TYPE_LEVEL_LOW>; interrupts = <13 IRQ_TYPE_LEVEL_LOW>;
vdd-supply = <&reg_tsp_1p8v>; vdd-supply = <&reg_tsp_1p8v>;
vdda-supply = <&reg_tsp_3p3v>; vdda-supply = <&reg_tsp_3p3v>;
reset-gpios = <&msmgpio 114 GPIO_ACTIVE_LOW>; reset-gpios = <&tlmm 114 GPIO_ACTIVE_LOW>;
pinctrl-0 = <&tsp_int_rst_default>; pinctrl-0 = <&tsp_int_rst_default>;
pinctrl-names = "default"; pinctrl-names = "default";
}; };
}; };
&msmgpio { &tlmm {
motor_en_default: motor-en-default-state { motor_en_default: motor-en-default-state {
pins = "gpio76"; pins = "gpio76";
function = "gpio"; function = "gpio";
......
...@@ -15,7 +15,7 @@ reg_vdd_tsp: regulator-vdd-tsp { ...@@ -15,7 +15,7 @@ reg_vdd_tsp: regulator-vdd-tsp {
regulator-min-microvolt = <3300000>; regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>; regulator-max-microvolt = <3300000>;
gpio = <&msmgpio 73 GPIO_ACTIVE_HIGH>; gpio = <&tlmm 73 GPIO_ACTIVE_HIGH>;
enable-active-high; enable-active-high;
pinctrl-0 = <&reg_tsp_en_default>; pinctrl-0 = <&reg_tsp_en_default>;
...@@ -24,7 +24,7 @@ reg_vdd_tsp: regulator-vdd-tsp { ...@@ -24,7 +24,7 @@ reg_vdd_tsp: regulator-vdd-tsp {
vibrator { vibrator {
compatible = "gpio-vibrator"; compatible = "gpio-vibrator";
enable-gpios = <&msmgpio 76 GPIO_ACTIVE_HIGH>; enable-gpios = <&tlmm 76 GPIO_ACTIVE_HIGH>;
pinctrl-0 = <&vibrator_en_default>; pinctrl-0 = <&vibrator_en_default>;
pinctrl-names = "default"; pinctrl-names = "default";
...@@ -37,7 +37,7 @@ &blsp_i2c5 { ...@@ -37,7 +37,7 @@ &blsp_i2c5 {
touchscreen@20 { touchscreen@20 {
compatible = "zinitix,bt532"; compatible = "zinitix,bt532";
reg = <0x20>; reg = <0x20>;
interrupt-parent = <&msmgpio>; interrupt-parent = <&tlmm>;
interrupts = <13 IRQ_TYPE_EDGE_FALLING>; interrupts = <13 IRQ_TYPE_EDGE_FALLING>;
touchscreen-size-x = <768>; touchscreen-size-x = <768>;
...@@ -51,7 +51,7 @@ touchscreen@20 { ...@@ -51,7 +51,7 @@ touchscreen@20 {
}; };
}; };
&msmgpio { &tlmm {
reg_tsp_en_default: reg-tsp-en-default-state { reg_tsp_en_default: reg-tsp-en-default-state {
pins = "gpio73"; pins = "gpio73";
function = "gpio"; function = "gpio";
......
...@@ -32,7 +32,7 @@ gpio_hall_sensor: gpio-hall-sensor { ...@@ -32,7 +32,7 @@ gpio_hall_sensor: gpio-hall-sensor {
event-hall-sensor { event-hall-sensor {
label = "Hall Effect Sensor"; label = "Hall Effect Sensor";
gpios = <&msmgpio 52 GPIO_ACTIVE_LOW>; gpios = <&tlmm 52 GPIO_ACTIVE_LOW>;
linux,input-type = <EV_SW>; linux,input-type = <EV_SW>;
linux,code = <SW_LID>; linux,code = <SW_LID>;
linux,can-disable; linux,can-disable;
...@@ -49,21 +49,21 @@ gpio-keys { ...@@ -49,21 +49,21 @@ gpio-keys {
button-volume-up { button-volume-up {
label = "Volume Up"; label = "Volume Up";
gpios = <&msmgpio 107 GPIO_ACTIVE_LOW>; gpios = <&tlmm 107 GPIO_ACTIVE_LOW>;
linux,code = <KEY_VOLUMEUP>; linux,code = <KEY_VOLUMEUP>;
}; };
button-home { button-home {
label = "Home Key"; label = "Home Key";
gpios = <&msmgpio 109 GPIO_ACTIVE_LOW>; gpios = <&tlmm 109 GPIO_ACTIVE_LOW>;
linux,code = <KEY_HOMEPAGE>; linux,code = <KEY_HOMEPAGE>;
}; };
}; };
i2c_muic: i2c-muic { i2c_muic: i2c-muic {
compatible = "i2c-gpio"; compatible = "i2c-gpio";
sda-gpios = <&msmgpio 105 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>; sda-gpios = <&tlmm 105 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
scl-gpios = <&msmgpio 106 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>; scl-gpios = <&tlmm 106 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&muic_i2c_default>; pinctrl-0 = <&muic_i2c_default>;
...@@ -75,7 +75,7 @@ muic: extcon@25 { ...@@ -75,7 +75,7 @@ muic: extcon@25 {
compatible = "siliconmitus,sm5703-muic"; compatible = "siliconmitus,sm5703-muic";
reg = <0x25>; reg = <0x25>;
interrupt-parent = <&msmgpio>; interrupt-parent = <&tlmm>;
interrupts = <12 IRQ_TYPE_EDGE_FALLING>; interrupts = <12 IRQ_TYPE_EDGE_FALLING>;
pinctrl-names = "default"; pinctrl-names = "default";
...@@ -108,7 +108,7 @@ &sdhc_2 { ...@@ -108,7 +108,7 @@ &sdhc_2 {
pinctrl-0 = <&sdc2_clk_on &sdc2_cmd_on &sdc2_data_on &sdc2_cd_on>; pinctrl-0 = <&sdc2_clk_on &sdc2_cmd_on &sdc2_data_on &sdc2_cd_on>;
pinctrl-1 = <&sdc2_clk_off &sdc2_cmd_off &sdc2_data_off &sdc2_cd_off>; pinctrl-1 = <&sdc2_clk_off &sdc2_cmd_off &sdc2_data_off &sdc2_cd_off>;
cd-gpios = <&msmgpio 38 GPIO_ACTIVE_LOW>; cd-gpios = <&tlmm 38 GPIO_ACTIVE_LOW>;
}; };
&usb { &usb {
...@@ -128,7 +128,7 @@ &wcnss_iris { ...@@ -128,7 +128,7 @@ &wcnss_iris {
compatible = "qcom,wcn3620"; compatible = "qcom,wcn3620";
}; };
&msmgpio { &tlmm {
gpio_hall_sensor_default: gpio-hall-sensor-default-state { gpio_hall_sensor_default: gpio-hall-sensor-default-state {
pins = "gpio52"; pins = "gpio52";
function = "gpio"; function = "gpio";
......
...@@ -53,13 +53,13 @@ gpio-keys { ...@@ -53,13 +53,13 @@ gpio-keys {
button-volume-up { button-volume-up {
label = "Volume Up"; label = "Volume Up";
gpios = <&msmgpio 107 GPIO_ACTIVE_LOW>; gpios = <&tlmm 107 GPIO_ACTIVE_LOW>;
linux,code = <KEY_VOLUMEUP>; linux,code = <KEY_VOLUMEUP>;
}; };
button-home { button-home {
label = "Home"; label = "Home";
gpios = <&msmgpio 109 GPIO_ACTIVE_LOW>; gpios = <&tlmm 109 GPIO_ACTIVE_LOW>;
linux,code = <KEY_HOMEPAGE>; linux,code = <KEY_HOMEPAGE>;
}; };
}; };
...@@ -74,7 +74,7 @@ gpio-hall-sensor { ...@@ -74,7 +74,7 @@ gpio-hall-sensor {
event-hall-sensor { event-hall-sensor {
label = "Hall Effect Sensor"; label = "Hall Effect Sensor";
gpios = <&msmgpio 52 GPIO_ACTIVE_LOW>; gpios = <&tlmm 52 GPIO_ACTIVE_LOW>;
linux,input-type = <EV_SW>; linux,input-type = <EV_SW>;
linux,code = <SW_LID>; linux,code = <SW_LID>;
linux,can-disable; linux,can-disable;
...@@ -87,7 +87,7 @@ reg_vdd_tsp: regulator-vdd-tsp { ...@@ -87,7 +87,7 @@ reg_vdd_tsp: regulator-vdd-tsp {
regulator-min-microvolt = <3300000>; regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>; regulator-max-microvolt = <3300000>;
gpio = <&msmgpio 73 GPIO_ACTIVE_HIGH>; gpio = <&tlmm 73 GPIO_ACTIVE_HIGH>;
enable-active-high; enable-active-high;
pinctrl-names = "default"; pinctrl-names = "default";
...@@ -100,7 +100,7 @@ reg_touch_key: regulator-touch-key { ...@@ -100,7 +100,7 @@ reg_touch_key: regulator-touch-key {
regulator-min-microvolt = <2800000>; regulator-min-microvolt = <2800000>;
regulator-max-microvolt = <2800000>; regulator-max-microvolt = <2800000>;
gpio = <&msmgpio 86 GPIO_ACTIVE_HIGH>; gpio = <&tlmm 86 GPIO_ACTIVE_HIGH>;
enable-active-high; enable-active-high;
pinctrl-names = "default"; pinctrl-names = "default";
...@@ -113,7 +113,7 @@ reg_key_led: regulator-key-led { ...@@ -113,7 +113,7 @@ reg_key_led: regulator-key-led {
regulator-min-microvolt = <3300000>; regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>; regulator-max-microvolt = <3300000>;
gpio = <&msmgpio 60 GPIO_ACTIVE_HIGH>; gpio = <&tlmm 60 GPIO_ACTIVE_HIGH>;
enable-active-high; enable-active-high;
pinctrl-names = "default"; pinctrl-names = "default";
...@@ -122,8 +122,8 @@ reg_key_led: regulator-key-led { ...@@ -122,8 +122,8 @@ reg_key_led: regulator-key-led {
i2c-muic { i2c-muic {
compatible = "i2c-gpio"; compatible = "i2c-gpio";
sda-gpios = <&msmgpio 105 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>; sda-gpios = <&tlmm 105 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
scl-gpios = <&msmgpio 106 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>; scl-gpios = <&tlmm 106 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&muic_i2c_default>; pinctrl-0 = <&muic_i2c_default>;
...@@ -135,7 +135,7 @@ muic: extcon@14 { ...@@ -135,7 +135,7 @@ muic: extcon@14 {
compatible = "siliconmitus,sm5504-muic"; compatible = "siliconmitus,sm5504-muic";
reg = <0x14>; reg = <0x14>;
interrupt-parent = <&msmgpio>; interrupt-parent = <&tlmm>;
interrupts = <12 IRQ_TYPE_EDGE_FALLING>; interrupts = <12 IRQ_TYPE_EDGE_FALLING>;
pinctrl-names = "default"; pinctrl-names = "default";
...@@ -145,8 +145,8 @@ muic: extcon@14 { ...@@ -145,8 +145,8 @@ muic: extcon@14 {
i2c-tkey { i2c-tkey {
compatible = "i2c-gpio"; compatible = "i2c-gpio";
sda-gpios = <&msmgpio 16 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>; sda-gpios = <&tlmm 16 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
scl-gpios = <&msmgpio 17 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>; scl-gpios = <&tlmm 17 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&tkey_i2c_default>; pinctrl-0 = <&tkey_i2c_default>;
...@@ -158,7 +158,7 @@ touchkey@20 { ...@@ -158,7 +158,7 @@ touchkey@20 {
compatible = "coreriver,tc360-touchkey"; compatible = "coreriver,tc360-touchkey";
reg = <0x20>; reg = <0x20>;
interrupt-parent = <&msmgpio>; interrupt-parent = <&tlmm>;
interrupts = <98 IRQ_TYPE_EDGE_FALLING>; interrupts = <98 IRQ_TYPE_EDGE_FALLING>;
vcc-supply = <&reg_touch_key>; vcc-supply = <&reg_touch_key>;
...@@ -174,8 +174,8 @@ touchkey@20 { ...@@ -174,8 +174,8 @@ touchkey@20 {
i2c-nfc { i2c-nfc {
compatible = "i2c-gpio"; compatible = "i2c-gpio";
sda-gpios = <&msmgpio 0 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>; sda-gpios = <&tlmm 0 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
scl-gpios = <&msmgpio 1 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>; scl-gpios = <&tlmm 1 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&nfc_i2c_default>; pinctrl-0 = <&nfc_i2c_default>;
...@@ -187,11 +187,11 @@ nfc@2b { ...@@ -187,11 +187,11 @@ nfc@2b {
compatible = "nxp,pn547", "nxp,nxp-nci-i2c"; compatible = "nxp,pn547", "nxp,nxp-nci-i2c";
reg = <0x2b>; reg = <0x2b>;
interrupt-parent = <&msmgpio>; interrupt-parent = <&tlmm>;
interrupts = <21 IRQ_TYPE_EDGE_RISING>; interrupts = <21 IRQ_TYPE_EDGE_RISING>;
enable-gpios = <&msmgpio 20 GPIO_ACTIVE_HIGH>; enable-gpios = <&tlmm 20 GPIO_ACTIVE_HIGH>;
firmware-gpios = <&msmgpio 49 GPIO_ACTIVE_HIGH>; firmware-gpios = <&tlmm 49 GPIO_ACTIVE_HIGH>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&nfc_default>; pinctrl-0 = <&nfc_default>;
...@@ -206,7 +206,7 @@ imu@6b { ...@@ -206,7 +206,7 @@ imu@6b {
compatible = "st,lsm6ds3"; compatible = "st,lsm6ds3";
reg = <0x6b>; reg = <0x6b>;
interrupt-parent = <&msmgpio>; interrupt-parent = <&tlmm>;
interrupts = <115 IRQ_TYPE_EDGE_RISING>; interrupts = <115 IRQ_TYPE_EDGE_RISING>;
pinctrl-names = "default"; pinctrl-names = "default";
...@@ -230,7 +230,7 @@ battery@35 { ...@@ -230,7 +230,7 @@ battery@35 {
compatible = "richtek,rt5033-battery"; compatible = "richtek,rt5033-battery";
reg = <0x35>; reg = <0x35>;
interrupt-parent = <&msmgpio>; interrupt-parent = <&tlmm>;
interrupts = <121 IRQ_TYPE_EDGE_FALLING>; interrupts = <121 IRQ_TYPE_EDGE_FALLING>;
pinctrl-names = "default"; pinctrl-names = "default";
...@@ -245,7 +245,7 @@ touchscreen@20 { ...@@ -245,7 +245,7 @@ touchscreen@20 {
compatible = "zinitix,bt541"; compatible = "zinitix,bt541";
reg = <0x20>; reg = <0x20>;
interrupt-parent = <&msmgpio>; interrupt-parent = <&tlmm>;
interrupts = <13 IRQ_TYPE_EDGE_FALLING>; interrupts = <13 IRQ_TYPE_EDGE_FALLING>;
touchscreen-size-x = <540>; touchscreen-size-x = <540>;
...@@ -320,7 +320,7 @@ &wcnss_iris { ...@@ -320,7 +320,7 @@ &wcnss_iris {
compatible = "qcom,wcn3660b"; compatible = "qcom,wcn3660b";
}; };
&msmgpio { &tlmm {
fg_alert_default: fg-alert-default-state { fg_alert_default: fg-alert-default-state {
pins = "gpio121"; pins = "gpio121";
function = "gpio"; function = "gpio";
......
...@@ -10,19 +10,19 @@ / { ...@@ -10,19 +10,19 @@ / {
}; };
&button_restart { &button_restart {
gpios = <&msmgpio 35 GPIO_ACTIVE_LOW>; gpios = <&tlmm 35 GPIO_ACTIVE_LOW>;
}; };
&led_r { &led_r {
gpios = <&msmgpio 82 GPIO_ACTIVE_HIGH>; gpios = <&tlmm 82 GPIO_ACTIVE_HIGH>;
}; };
&led_g { &led_g {
gpios = <&msmgpio 83 GPIO_ACTIVE_HIGH>; gpios = <&tlmm 83 GPIO_ACTIVE_HIGH>;
}; };
&led_b { &led_b {
gpios = <&msmgpio 81 GPIO_ACTIVE_HIGH>; gpios = <&tlmm 81 GPIO_ACTIVE_HIGH>;
}; };
&button_default { &button_default {
......
...@@ -10,19 +10,19 @@ / { ...@@ -10,19 +10,19 @@ / {
}; };
&button_restart { &button_restart {
gpios = <&msmgpio 37 GPIO_ACTIVE_HIGH>; gpios = <&tlmm 37 GPIO_ACTIVE_HIGH>;
}; };
&led_r { &led_r {
gpios = <&msmgpio 22 GPIO_ACTIVE_HIGH>; gpios = <&tlmm 22 GPIO_ACTIVE_HIGH>;
}; };
&led_g { &led_g {
gpios = <&msmgpio 21 GPIO_ACTIVE_HIGH>; gpios = <&tlmm 21 GPIO_ACTIVE_HIGH>;
}; };
&led_b { &led_b {
gpios = <&msmgpio 20 GPIO_ACTIVE_HIGH>; gpios = <&tlmm 20 GPIO_ACTIVE_HIGH>;
}; };
&mpss { &mpss {
...@@ -40,7 +40,7 @@ &gpio_leds_default { ...@@ -40,7 +40,7 @@ &gpio_leds_default {
}; };
/* This selects the external SIM card slot by default */ /* This selects the external SIM card slot by default */
&msmgpio { &tlmm {
sim_ctrl_default: sim-ctrl-default-state { sim_ctrl_default: sim-ctrl-default-state {
esim-sel-pins { esim-sel-pins {
pins = "gpio0", "gpio3"; pins = "gpio0", "gpio3";
......
...@@ -126,7 +126,7 @@ &wcnss_iris { ...@@ -126,7 +126,7 @@ &wcnss_iris {
compatible = "qcom,wcn3620"; compatible = "qcom,wcn3620";
}; };
&msmgpio { &tlmm {
/* pins are board-specific */ /* pins are board-specific */
button_default: button-default-state { button_default: button-default-state {
function = "gpio"; function = "gpio";
......
...@@ -25,8 +25,8 @@ chosen { ...@@ -25,8 +25,8 @@ chosen {
flash-led-controller { flash-led-controller {
compatible = "ocs,ocp8110"; compatible = "ocs,ocp8110";
enable-gpios = <&msmgpio 31 GPIO_ACTIVE_HIGH>; enable-gpios = <&tlmm 31 GPIO_ACTIVE_HIGH>;
flash-gpios = <&msmgpio 32 GPIO_ACTIVE_HIGH>; flash-gpios = <&tlmm 32 GPIO_ACTIVE_HIGH>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&camera_flash_default>; pinctrl-0 = <&camera_flash_default>;
...@@ -47,14 +47,14 @@ gpio-keys { ...@@ -47,14 +47,14 @@ gpio-keys {
button-volume-up { button-volume-up {
label = "Volume Up"; label = "Volume Up";
gpios = <&msmgpio 107 GPIO_ACTIVE_LOW>; gpios = <&tlmm 107 GPIO_ACTIVE_LOW>;
linux,code = <KEY_VOLUMEUP>; linux,code = <KEY_VOLUMEUP>;
}; };
}; };
usb_id: usb-id { usb_id: usb-id {
compatible = "linux,extcon-usb-gpio"; compatible = "linux,extcon-usb-gpio";
id-gpio = <&msmgpio 110 GPIO_ACTIVE_HIGH>; id-gpio = <&tlmm 110 GPIO_ACTIVE_HIGH>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&usb_id_default>; pinctrl-0 = <&usb_id_default>;
}; };
...@@ -67,7 +67,7 @@ imu@68 { ...@@ -67,7 +67,7 @@ imu@68 {
compatible = "invensense,mpu6880"; compatible = "invensense,mpu6880";
reg = <0x68>; reg = <0x68>;
interrupt-parent = <&msmgpio>; interrupt-parent = <&tlmm>;
interrupts = <115 IRQ_TYPE_EDGE_RISING>; interrupts = <115 IRQ_TYPE_EDGE_RISING>;
vdd-supply = <&pm8916_l17>; vdd-supply = <&pm8916_l17>;
...@@ -90,10 +90,10 @@ touchscreen@38 { ...@@ -90,10 +90,10 @@ touchscreen@38 {
compatible = "edt,edt-ft5506"; compatible = "edt,edt-ft5506";
reg = <0x38>; reg = <0x38>;
interrupt-parent = <&msmgpio>; interrupt-parent = <&tlmm>;
interrupts = <13 IRQ_TYPE_EDGE_FALLING>; interrupts = <13 IRQ_TYPE_EDGE_FALLING>;
reset-gpios = <&msmgpio 12 GPIO_ACTIVE_LOW>; reset-gpios = <&tlmm 12 GPIO_ACTIVE_LOW>;
vcc-supply = <&pm8916_l17>; vcc-supply = <&pm8916_l17>;
iovcc-supply = <&pm8916_l6>; iovcc-supply = <&pm8916_l6>;
...@@ -204,7 +204,7 @@ &wcnss_iris { ...@@ -204,7 +204,7 @@ &wcnss_iris {
compatible = "qcom,wcn3620"; compatible = "qcom,wcn3620";
}; };
&msmgpio { &tlmm {
camera_flash_default: camera-flash-default-state { camera_flash_default: camera-flash-default-state {
pins = "gpio31", "gpio32"; pins = "gpio31", "gpio32";
function = "gpio"; function = "gpio";
......
...@@ -10,19 +10,19 @@ / { ...@@ -10,19 +10,19 @@ / {
}; };
&button_restart { &button_restart {
gpios = <&msmgpio 23 GPIO_ACTIVE_LOW>; gpios = <&tlmm 23 GPIO_ACTIVE_LOW>;
}; };
&led_r { &led_r {
gpios = <&msmgpio 7 GPIO_ACTIVE_HIGH>; gpios = <&tlmm 7 GPIO_ACTIVE_HIGH>;
}; };
&led_g { &led_g {
gpios = <&msmgpio 8 GPIO_ACTIVE_HIGH>; gpios = <&tlmm 8 GPIO_ACTIVE_HIGH>;
}; };
&led_b { &led_b {
gpios = <&msmgpio 6 GPIO_ACTIVE_HIGH>; gpios = <&tlmm 6 GPIO_ACTIVE_HIGH>;
}; };
&button_default { &button_default {
......
...@@ -992,12 +992,12 @@ etm3_out: endpoint { ...@@ -992,12 +992,12 @@ etm3_out: endpoint {
}; };
}; };
msmgpio: pinctrl@1000000 { tlmm: pinctrl@1000000 {
compatible = "qcom,msm8916-pinctrl"; compatible = "qcom,msm8916-pinctrl";
reg = <0x01000000 0x300000>; reg = <0x01000000 0x300000>;
interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>;
gpio-controller; gpio-controller;
gpio-ranges = <&msmgpio 0 0 122>; gpio-ranges = <&tlmm 0 0 122>;
#gpio-cells = <2>; #gpio-cells = <2>;
interrupt-controller; interrupt-controller;
#interrupt-cells = <2>; #interrupt-cells = <2>;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment