[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250422070853.2758573-1-carlos.song@nxp.com>
Date: Tue, 22 Apr 2025 15:08:50 +0800
From: carlos.song@....com
To: miquel.raynal@...tlin.com,
Frank.Li@....com,
alexandre.belloni@...tlin.com,
robh@...nel.org,
krzk+dt@...nel.org,
conor+dt@...nel.org,
shawnguo@...nel.org,
s.hauer@...gutronix.de,
kernel@...gutronix.de,
festevam@...il.com,
conor.culhane@...vaco.com
Cc: linux-i3c@...ts.infradead.org,
imx@...ts.linux.dev,
devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org
Subject: [PATCH V3 0/3] support different number of clocks for svc i3c controller
From: Carlos Song <carlos.song@....com>
I.MX94 and I.MX95 I3C only need two clocks and legacy I3C needs three
clocks. So add restrictions for clock and clock-names properties for
different Socs. In driver, use the clk_bulk API to handle clocks to
support different numbers of clocks more easily. Make the code cleaner
and more flexible.
---
Change for V3:
- Remove unrelated fix in imx95.dtsi.
Change for V2:
- Fix bot found errors running 'make dt_binding_check'
- Fix warning from bot test. Use -EINVA instead of uninitialized ret in
dev_err_probe
- Use master->fclk = master->clks[i].clk instead of devm_clk_get
(dev, "fast_clk");
Carlos Song (3):
dt-bindings: i3c: silvaco,i3c-master: add i.MX94 and i.MX95 I3C
i3c: master: svc: switch to bulk clk API for flexible clock support
arm64: dts: imx95: correct i3c node in imx95
.../bindings/i3c/silvaco,i3c-master.yaml | 45 +++++++++--
arch/arm64/boot/dts/freescale/imx95.dtsi | 10 +--
drivers/i3c/master/svc-i3c-master.c | 76 +++++++------------
3 files changed, 69 insertions(+), 62 deletions(-)
--
2.34.1
Powered by blists - more mailing lists