From: Nicolas Chauvet Date: Fri, 3 Aug 2018 21:39:51 +0000 (+0200) Subject: Add gpio and pinctrl drivers for arm*/aarch64 X-Git-Tag: 049~85 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a0c915b1e4585ccf286dd38a5cd7d8b89e0346c5;p=thirdparty%2Fdracut.git Add gpio and pinctrl drivers for arm*/aarch64 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 --- diff --git a/modules.d/90kernel-modules/module-setup.sh b/modules.d/90kernel-modules/module-setup.sh index 89b33ce6d..f01470e7b 100755 --- a/modules.d/90kernel-modules/module-setup.sh +++ b/modules.d/90kernel-modules/module-setup.sh @@ -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" \