[PATCH v2 4/6] pinctrl: Implementation of the generic scmi-pinctrl driver
Linus Walleij
linus.walleij at linaro.org
Sat Jan 27 16:06:28 PST 2024
Hi Peng,
thanks for your patch!
On Thu, Jan 4, 2024 at 11:45 AM Peng Fan (OSS) <peng.fan at oss.nxp.com> wrote:
> From: Peng Fan <peng.fan at nxp.com>
>
> scmi-pinctrl driver implements pinctrl driver interface and using
> SCMI protocol to redirect messages from pinctrl subsystem SDK to
> SCMI platform firmware, which does the changes in HW.
>
> Co-developed-by: Oleksii Moisieiev <oleksii_moisieiev at epam.com>
> Signed-off-by: Oleksii Moisieiev <oleksii_moisieiev at epam.com>
> Signed-off-by: Peng Fan <peng.fan at nxp.com>
(...)
> +#ifdef CONFIG_OF
> + .dt_node_to_map = pinconf_generic_dt_node_to_map_all,
> + .dt_free_map = pinconf_generic_dt_free_map,
> +#endif
This looks like with !OF the driver becomes pretty unusable doesn't it?
Should we just depend on OF in Kconfig or are there already plans for
ACPI or similar?
Yours,
Linus Walleij
More information about the linux-arm-kernel
mailing list