mbox series

[RESEND,v2,0/2] Add Mobileye EyeQ5 pinctrl support

Message ID 20240730-mbly-pinctrl-v2-0-d470f64e0395@bootlin.com
Headers show
Series Add Mobileye EyeQ5 pinctrl support | expand

Message

Théo Lebrun July 30, 2024, 4:08 p.m. UTC
This is a new iteration on the Mobileye system-controller series. It
used to be sent as a single series [0], but has been split in the
previous revision (see [1], [2], [3], [4]) to faciliate merging.

This series adds a driver handling EyeQ5 (and only EyeQ5, not EyeQ6L nor
EyeQ6H) SoC pin config and muxing. It is an auxiliary driver being
instantiated by the platform clk driver.

Related series are targeted at clk [5], reset [6] and MIPS [4]. The
first two are receiving a second version. The last one has no change
and stays at its V1.

Have a nice day,
Théo

[0]: https://lore.kernel.org/lkml/20240620-mbly-olb-v3-0-5f29f8ca289c@bootlin.com/

[1]: https://lore.kernel.org/lkml/20240628-mbly-clk-v1-0-edb1e29ea4c1@bootlin.com/
[2]: https://lore.kernel.org/lkml/20240628-mbly-reset-v1-0-2a8294fd4392@bootlin.com/
[3]: https://lore.kernel.org/lkml/20240628-mbly-pinctrl-v1-0-c878192d6b0a@bootlin.com/
[4]: https://lore.kernel.org/lkml/20240628-mbly-mips-v1-0-f53f5e4c422b@bootlin.com/

[5]: https://lore.kernel.org/lkml/20240703-mbly-clk-v2-0-fe8c6199a579@bootlin.com/
[6]: https://lore.kernel.org/lkml/20240703-mbly-reset-v2-0-3fe853d78139@bootlin.com/

Signed-off-by: Théo Lebrun <theo.lebrun@bootlin.com>
---
Changes in v2:
- Kconfig: replace "depends on AUXILIARY_BUS" by "select AUXILIARY_BUS".
- Kconfig: add "depends on OF" for pinconf_generic_dt_node_to_map_pin().
- driver: cast dev_get_platdata()'s return value to (void __iomem *).
- Link to v1: see [3]

Changes since OLB v3 [0]:
 - MAINTAINERS: Move changes into a separate commit to avoid merge
   conflicts. This commit is in the MIPS series [3].
 - dt-bindings: Take Reviewed-by: Rob Herring and Linus Walleij.
 - Kconfig: do not depend on COMMON_CLK_EYEQ. This symbol is not defined
   in this series, it is defined in the clk series [1].
 - Kconfig: do depend on AUXILIARY_BUS.
 - Kconfig: remove outdated "select MFD_SYSCON".
 - driver: remove "#include <linux/platform_device.h>".

---
Théo Lebrun (2):
      Revert "dt-bindings: pinctrl: mobileye,eyeq5-pinctrl: add bindings"
      pinctrl: eyeq5: add platform driver

 .../bindings/pinctrl/mobileye,eyeq5-pinctrl.yaml   | 242 ---------
 drivers/pinctrl/Kconfig                            |  15 +
 drivers/pinctrl/Makefile                           |   1 +
 drivers/pinctrl/pinctrl-eyeq5.c                    | 575 +++++++++++++++++++++
 4 files changed, 591 insertions(+), 242 deletions(-)
---
base-commit: f2661062f16b2de5d7b6a5c42a9a5c96326b8454
change-id: 20240628-mbly-pinctrl-bf76bf390a7c

Best regards,

Comments

Théo Lebrun July 30, 2024, 4:09 p.m. UTC | #1
Hello all,

On Tue Jul 30, 2024 at 6:08 PM CEST, Théo Lebrun wrote:
> This series adds a driver handling EyeQ5 (and only EyeQ5, not EyeQ6L nor
> EyeQ6H) SoC pin config and muxing. It is an auxiliary driver being
> instantiated by the platform clk driver.

This is a friendly RESEND of the Mobileye system-controller pinctrl
series. It can rebase on v6.11-rc1 without issues, and it works as
expected on real hardware.

Thanks,

--
Théo Lebrun, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
Linus Walleij Aug. 3, 2024, 10:52 p.m. UTC | #2
On Tue, Jul 30, 2024 at 6:08 PM Théo Lebrun <theo.lebrun@bootlin.com> wrote:

> This is a new iteration on the Mobileye system-controller series. It
> used to be sent as a single series [0], but has been split in the
> previous revision (see [1], [2], [3], [4]) to faciliate merging.
>
> This series adds a driver handling EyeQ5 (and only EyeQ5, not EyeQ6L nor
> EyeQ6H) SoC pin config and muxing. It is an auxiliary driver being
> instantiated by the platform clk driver.
>
> Related series are targeted at clk [5], reset [6] and MIPS [4]. The
> first two are receiving a second version. The last one has no change
> and stays at its V1.

Patches applied!

Yours,
Linus Walleij