From a0c915b1e4585ccf286dd38a5cd7d8b89e0346c5 Mon Sep 17 00:00:00 2001 From: Nicolas Chauvet Date: Fri, 3 Aug 2018 23:39:51 +0200 Subject: [PATCH] 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 --- modules.d/90kernel-modules/module-setup.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules.d/90kernel-modules/module-setup.sh b/modules.d/90kernel-modules/module-setup.sh index 89b33ce6..f01470e7 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" \