Thread (4 messages) 4 messages, 2 authors, 2021-03-27

Re: [PATCH v2] Input: imx_keypad - convert to a DT-only driver

From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Date: 2021-03-27 19:37:54

Hi Fabio,

On Sat, Mar 27, 2021 at 04:14:46PM -0300, Fabio Estevam wrote:
Hi Dmitry,

On Tue, Mar 16, 2021 at 10:36 AM Fabio Estevam [off-list ref] wrote:
quoted
i.MX has been converted to a DT-only platform, so make the
adjustments to the driver to convert it to a DT-only driver.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
---
Changes since v1:
- Remove dev_get_platdata() and the pdev->dev.of_node check (Dmitry).
Does v2 look good?
Sorry, I am still confused why we need the OF dependency given that the
driver can be compiled without CONFIG_OF (of_device_id is always
defined) and, as far as I understand, while entire ARCH_MXC is not
selecting OF, all real users are converted to OF.

I guess if we really need this OF dependency we can make it:

	depends on (ARCH_MXC && OF) || COMPILE_TEST

Please let me know.

Thanks.

-- 
Dmitry
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help