Subject: [PATCH 00/22] gpio: xilinx: update driver to match official xilinx version
From: Michal Simek <hidden>
Date: 2018-07-23 11:48:59
Also in:
linux-gpio
From: Michal Simek <hidden>
Date: 2018-07-23 11:48:59
Also in:
linux-gpio
On 22.7.2018 21:24, Linus Walleij wrote:
On Sat, Jul 21, 2018 at 4:14 PM Hedges Alexander [off-list ref] wrote: An overarching question: the whole patch set contains things like this:quoted
+#ifdef CONFIG_OF(...)quoted
+#else(...)quoted
+#endifBut arch/arm/mach-zynq and the Aarch64 counterpart are OF-only. I.e. these adaptions must have been made for some Xilinx platform support codebase that is not upstream, and which does not use device tree.
I was used 10+ years ago when CONFIG_OF doesn't exist. All these platforms have been moved to OF long time ago too. I don't think there is any reason to keep any support for !OF case. Thanks, Michal