]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
Add gpio and pinctrl drivers for arm*/aarch64
authorNicolas Chauvet <kwizart@gmail.com>
Fri, 3 Aug 2018 21:39:51 +0000 (23:39 +0200)
committerHarald Hoyer <harald@hoyer.xyz>
Mon, 6 Aug 2018 07:46:08 +0000 (09:46 +0200)
This is needed since few gpio/pinctrl can be built as modules and are
useful on early boot.

One example is jetson-tx1 where sata and external mmc can work only
after loading pinctrl-max77620 and gpio-max77620 modules.

Having theses kind of drivers bundled into the initramfs will also
avoid some deferred probes.

V2: add pinctrl for all arches

Signed-off-by: Nicolas Chauvet <kwizart@gmail.com>
modules.d/90kernel-modules/module-setup.sh

index 89b33ce6deeb48cfe2417c7a125cf59e9b21f914..f01470e7be3d4379c829fdcd29c82229ea163c58 100755 (executable)
@@ -25,7 +25,7 @@ installkernel() {
             ohci-hcd ohci-pci \
             uhci-hcd \
             xhci-hcd xhci-pci xhci-plat-hcd \
-            pinctrl-cherryview \
+            "=drivers/pinctrl" \
             ${NULL}
 
         hostonly=$(optional_hostonly) instmods \
@@ -50,6 +50,7 @@ installkernel() {
                 "=drivers/clk" \
                 "=drivers/dma" \
                 "=drivers/extcon" \
+                "=drivers/gpio" \
                 "=drivers/hwspinlock" \
                 "=drivers/i2c/busses" \
                 "=drivers/mfd" \