devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] pinctrl: scmi: support i.MX95 OEM extensions with fsl,pins property
@ 2024-05-21  6:25 Peng Fan (OSS)
  2024-05-21  6:25 ` [PATCH 1/3] dt-bindings: firmware: arm,scmi: Add properties for i.MX95 Pinctrl OEM extensions Peng Fan (OSS)
                   ` (6 more replies)
  0 siblings, 7 replies; 22+ messages in thread
From: Peng Fan (OSS) @ 2024-05-21  6:25 UTC (permalink / raw)
  To: Sudeep Holla, Cristian Marussi, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Shawn Guo, Sascha Hauer, Pengutronix Kernel Team,
	Fabio Estevam, Linus Walleij, Dong Aisheng, Jacky Bai
  Cc: linux-arm-kernel, devicetree, linux-kernel, imx, linux-gpio,
	Peng Fan

All:
 There was a v6 that use generic properties, but at a late stage, NXP
 internals decides to switch to fsl,pins property to align with other
 i.MXs. Since new properties, drivers rewrite, I start this patchset
 from v1 with a new patch title. A RFC patch for binding was posted,
 since Rob said he is fine, so post this patchset out.

 Whether v6 or this patchset, patch 2 is a must and was not changed from
 v6.

 The pinctrl stuff has been pending for quite sometime, I would be
 apprecaited if any quick comments.

v6:
 https://lore.kernel.org/all/20240513-pinctrl-scmi-oem-v3-v6-0-904975c99cc4@nxp.com/
RFC:
 https://lore.kernel.org/all/20240520194942.GA1374705-robh@kernel.org/

Thanks,
Peng.

ARM SCMI v3.2 Table 24 Pin Configuration Type and Enumerations:
'192 -255 OEM specific units'.

i.MX95 System Manager FW supports SCMI PINCTRL protocol, but it has zero
functions, groups. So pinctrl-scmi.c could not be reused for i.MX95.
Because nxp,pin-func, nxp,pin-conf properties are rejected by dt
maintainers, so use 'fsl,pins' which requires a new driver
pinctrl-imx-scmi.c

The node will be as below:
pinctrl_usdhc1: usdhc1grp {
	fsl,pins = <
		IMX95_PAD_SD1_CLK__USDHC1_CLK				0x158e
		IMX95_PAD_SD1_CMD__USDHC1_CMD				0x138e
		IMX95_PAD_SD1_DATA0__USDHC1_DATA0			0x138e
		IMX95_PAD_SD1_DATA1__USDHC1_DATA1			0x138e
		IMX95_PAD_SD1_DATA2__USDHC1_DATA2			0x138e
		IMX95_PAD_SD1_DATA3__USDHC1_DATA3			0x138e
		IMX95_PAD_SD1_DATA4__USDHC1_DATA4			0x138e
		IMX95_PAD_SD1_DATA5__USDHC1_DATA5			0x138e
		IMX95_PAD_SD1_DATA6__USDHC1_DATA6			0x138e
		IMX95_PAD_SD1_DATA7__USDHC1_DATA7			0x138e
		IMX95_PAD_SD1_STROBE__USDHC1_STROBE			0x158e
	>;
};

Signed-off-by: Peng Fan <peng.fan@nxp.com>
---
Peng Fan (3):
      dt-bindings: firmware: arm,scmi: Add properties for i.MX95 Pinctrl OEM extensions
      pinctrl: scmi: add blocklist
      pinctrl: imx: support SCMI pinctrl protocol for i.MX95

 .../devicetree/bindings/firmware/arm,scmi.yaml     |   4 +-
 .../bindings/firmware/nxp,imx95-scmi-pinctrl.yaml  |  53 +++
 drivers/pinctrl/freescale/Kconfig                  |   9 +
 drivers/pinctrl/freescale/Makefile                 |   1 +
 drivers/pinctrl/freescale/pinctrl-imx-scmi.c       | 357 +++++++++++++++++++++
 drivers/pinctrl/pinctrl-scmi.c                     |   9 +
 6 files changed, 432 insertions(+), 1 deletion(-)
---
base-commit: 632483ea8004edfadd035de36e1ab2c7c4f53158
change-id: 20240521-pinctrl-scmi-imx95-867bea9595cf

Best regards,
-- 
Peng Fan <peng.fan@nxp.com>


^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2024-06-18 10:12 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-21  6:25 [PATCH 0/3] pinctrl: scmi: support i.MX95 OEM extensions with fsl,pins property Peng Fan (OSS)
2024-05-21  6:25 ` [PATCH 1/3] dt-bindings: firmware: arm,scmi: Add properties for i.MX95 Pinctrl OEM extensions Peng Fan (OSS)
2024-05-21 13:58   ` Rob Herring (Arm)
2024-05-21  6:25 ` [PATCH 2/3] pinctrl: scmi: add blocklist Peng Fan (OSS)
2024-06-03 13:46   ` Sudeep Holla
2024-05-21  6:25 ` [PATCH 3/3] pinctrl: imx: support SCMI pinctrl protocol for i.MX95 Peng Fan (OSS)
2024-05-27 12:53   ` Linus Walleij
2024-05-27 13:17     ` Peng Fan
2024-05-31  8:44       ` Aisheng Dong
2024-06-04 10:27   ` Cristian Marussi
2024-06-04 12:08   ` Sudeep Holla
2024-05-27  8:36 ` [PATCH 0/3] pinctrl: scmi: support i.MX95 OEM extensions with fsl,pins property Peng Fan
2024-05-27 12:50   ` Linus Walleij
2024-05-27 13:21     ` Peng Fan
2024-06-03 13:54   ` Sudeep Holla
2024-06-04  0:49     ` Peng Fan
2024-06-04 12:11       ` Sudeep Holla
2024-05-31  8:45 ` Aisheng Dong
2024-06-08  0:45 ` Peng Fan
2024-06-08  9:35 ` Linus Walleij
2024-06-13  6:30   ` Peng Fan
2024-06-18 10:12     ` Linus Walleij

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).