Implement SD card autodetection, automount, and GUI/dmenu mounter
- Enable GPIO 38 active-low card detect (cd-gpios) with bias-pull-up on sdhci@7864000 across all MSM8905/MSM8909 device trees and DTBs - Add sxmo_sdcard.sh and 88-bananarchy-sdcard.rules udev rules for automatic mounting at /media/sdcard on insertion and cleanup on removal - Integrate SD card mount, unmount/eject, and navigation into the GUI File Manager (files.so) and built-in dmenu SD Card menu (@menu:sdcard)
This commit is contained in:
1 parent
370f8b085c
commit
32d5d2f2b4
26 files changed
+530
-24
No files matched your search
Binary file not shown.
@@ -945,6 +945,22 @@
|
||||
phandle = <0x4f>;
|
||||
};
|
||||
|
||||
sdc2-cd-on-state {
|
||||
pins = "gpio38";
|
||||
function = "gpio";
|
||||
drive-strength = <0x02>;
|
||||
bias-pull-up;
|
||||
phandle = <0x90>;
|
||||
};
|
||||
|
||||
sdc2-cd-off-state {
|
||||
pins = "gpio38";
|
||||
function = "gpio";
|
||||
drive-strength = <0x02>;
|
||||
bias-disable;
|
||||
phandle = <0x91>;
|
||||
};
|
||||
|
||||
wcnss-active-state {
|
||||
pins = "gpio40", "gpio41", "gpio42", "gpio43", "gpio44";
|
||||
function = "wcss_wlan";
|
||||
@@ -1578,13 +1594,13 @@
|
||||
clocks = <0x14 0x82 0x14 0x81 0x18>;
|
||||
clock-names = "core", "iface", "xo";
|
||||
pinctrl-names = "default", "sleep";
|
||||
pinctrl-0 = <0x4a 0x4b 0x4c>;
|
||||
pinctrl-1 = <0x4d 0x4e 0x4f>;
|
||||
pinctrl-0 = <0x4a 0x4b 0x4c 0x90>;
|
||||
pinctrl-1 = <0x4d 0x4e 0x4f 0x91>;
|
||||
bus-width = <0x04>;
|
||||
status = "okay";
|
||||
vmmc-supply = <0x50>;
|
||||
vqmmc-supply = <0x51>;
|
||||
non-removable;
|
||||
cd-gpios = <0x27 0x26 0x01>;
|
||||
};
|
||||
|
||||
dma-controller@7884000 {
|
||||
|
||||
Reference in new issue
Block a user