public inbox for devicetree@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 0/2] add NXP LINFlexD UART clock support for S32G2/S32G3
@ 2024-11-11 11:29 Ciprian Costea
  2024-11-11 11:29 ` [PATCH v4 1/2] dt-bindings: serial: fsl-linflexuart: add clock definitions Ciprian Costea
  2024-11-11 11:29 ` [PATCH v4 2/2] serial: fsl_linflexuart: add clock management Ciprian Costea
  0 siblings, 2 replies; 6+ messages in thread
From: Ciprian Costea @ 2024-11-11 11:29 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Jiri Slaby, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Chester Lin
  Cc: linux-kernel, linux-serial, devicetree, imx, NXP S32 Linux,
	Christophe Lizzi, Alberto Ruiz, Enric Balletbo,
	Ciprian Marian Costea

From: Ciprian Marian Costea <ciprianmarian.costea@oss.nxp.com>

LINFlexD driver was working on S32 based boards without clock management
because the downstream bootloaders (TF-A [1] and U-Boot [2]) were
performing the LINFlexD clock management.

LINFlexD driver from Linux Kernel should manage its clocks independently
and not rely on a previous bootloader configuration.

[1] https://github.com/nxp-auto-linux/arm-trusted-firmware
[2] https://github.com/nxp-auto-linux/u-boot

Changes in V4:
- Switched clock management to 'clk bulk' API usage
- Added more context for this patchset

Changes in V3:
- Fixed an error reported by 'dt_bindings_check'

Changes in V2:
- Updated bindings by adding more information related to
required LINFlexD clocks

Ciprian Marian Costea (2):
  dt-bindings: serial: fsl-linflexuart: add clock definitions
  serial: fsl_linflexuart: add clock management

 .../bindings/serial/fsl,s32-linflexuart.yaml  | 16 ++++
 drivers/tty/serial/fsl_linflexuart.c          | 82 +++++++++++++++----
 2 files changed, 84 insertions(+), 14 deletions(-)

-- 
2.45.2


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

end of thread, other threads:[~2024-11-12 17:36 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-11 11:29 [PATCH v4 0/2] add NXP LINFlexD UART clock support for S32G2/S32G3 Ciprian Costea
2024-11-11 11:29 ` [PATCH v4 1/2] dt-bindings: serial: fsl-linflexuart: add clock definitions Ciprian Costea
2024-11-11 20:07   ` Conor Dooley
2024-11-11 11:29 ` [PATCH v4 2/2] serial: fsl_linflexuart: add clock management Ciprian Costea
2024-11-11 21:57   ` Frank Li
2024-11-12 17:36     ` Ciprian Marian Costea

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox