ARM: dts: qcom: Add extcon support for UFS card and SD card on Kona
This change adds the extcon support for removable UFS card and SD card on Kona platforms to enable hot plug detection for the both. Change-Id: I31833211a7559f3dcd110adc9722982033cfe83b
This commit is contained in:
1 parent
3c62620329
commit
94a3d32aa9
3 files changed
+38
-6
No files matched your search
+16
-3
@@ -81,6 +81,17 @@
|
||||
status = "ok"
|
||||
};
|
||||
|
||||
&extcon_storage_cd {
|
||||
extcon-gpio = <&tlmm 77 GPIO_ACTIVE_LOW>;
|
||||
debounce-ms = <200>;
|
||||
irq-flags = <IRQ_TYPE_EDGE_BOTH>;
|
||||
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&storage_cd>;
|
||||
|
||||
status = "ok"
|
||||
};
|
||||
|
||||
&ufsphy_card {
|
||||
compatible = "qcom,ufs-phy-qmp-v4-card";
|
||||
|
||||
@@ -104,6 +115,8 @@
|
||||
qcom,vddp-ref-clk-supply = <&pm8150_l6>;
|
||||
qcom,vddp-ref-clk-max-microamp = <100>;
|
||||
|
||||
extcon = <&extcon_storage_cd>;
|
||||
|
||||
status = "ok"
|
||||
};
|
||||
|
||||
@@ -721,10 +734,10 @@
|
||||
qcom,vdd-io-current-level = <200 22000>;
|
||||
|
||||
pinctrl-names = "active", "sleep";
|
||||
pinctrl-0 = <&sdc2_clk_on &sdc2_cmd_on &sdc2_data_on &storage_cd>;
|
||||
pinctrl-1 = <&sdc2_clk_off &sdc2_cmd_off &sdc2_data_off &storage_cd>;
|
||||
pinctrl-0 = <&sdc2_clk_on &sdc2_cmd_on &sdc2_data_on>;
|
||||
pinctrl-1 = <&sdc2_clk_off &sdc2_cmd_off &sdc2_data_off>;
|
||||
|
||||
cd-gpios = <&tlmm 77 GPIO_ACTIVE_LOW>;
|
||||
extcon = <&extcon_storage_cd>;
|
||||
|
||||
status = "ok"
|
||||
};
|
||||
|
||||
+16
-3
@@ -81,6 +81,17 @@
|
||||
status = "ok"
|
||||
};
|
||||
|
||||
&extcon_storage_cd {
|
||||
extcon-gpio = <&tlmm 77 GPIO_ACTIVE_LOW>;
|
||||
debounce-ms = <200>;
|
||||
irq-flags = <IRQ_TYPE_EDGE_BOTH>;
|
||||
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&storage_cd>;
|
||||
|
||||
status = "ok"
|
||||
};
|
||||
|
||||
&ufsphy_card {
|
||||
compatible = "qcom,ufs-phy-qmp-v4-card";
|
||||
|
||||
@@ -104,6 +115,8 @@
|
||||
qcom,vddp-ref-clk-supply = <&pm8150_l6>;
|
||||
qcom,vddp-ref-clk-max-microamp = <100>;
|
||||
|
||||
extcon = <&extcon_storage_cd>;
|
||||
|
||||
status = "ok"
|
||||
};
|
||||
|
||||
@@ -631,10 +644,10 @@
|
||||
qcom,vdd-io-current-level = <200 22000>;
|
||||
|
||||
pinctrl-names = "active", "sleep";
|
||||
pinctrl-0 = <&sdc2_clk_on &sdc2_cmd_on &sdc2_data_on &storage_cd>;
|
||||
pinctrl-1 = <&sdc2_clk_off &sdc2_cmd_off &sdc2_data_off &storage_cd>;
|
||||
pinctrl-0 = <&sdc2_clk_on &sdc2_cmd_on &sdc2_data_on>;
|
||||
pinctrl-1 = <&sdc2_clk_off &sdc2_cmd_off &sdc2_data_off>;
|
||||
|
||||
cd-gpios = <&tlmm 77 GPIO_ACTIVE_LOW>;
|
||||
extcon = <&extcon_storage_cd>;
|
||||
|
||||
status = "ok"
|
||||
};
|
||||
|
||||
@@ -2202,6 +2202,12 @@
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
extcon_storage_cd: extcon_storage_cd {
|
||||
compatible = "extcon-gpio";
|
||||
extcon-id = <62>; /* EXTCON_MECHANICAL */
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
ipcc_mproc: qcom,ipcc@408000 {
|
||||
compatible = "qcom,ipcc";
|
||||
reg = <0x408000 0x1000>;
|
||||
|
||||
Reference in new issue
Block a user