From: carlos.song@nxp.com
To: miquel.raynal@bootlin.com, Frank.Li@nxp.com,
alexandre.belloni@bootlin.com, robh@kernel.org,
krzk+dt@kernel.org, conor+dt@kernel.org, shawnguo@kernel.org,
s.hauer@pengutronix.de, kernel@pengutronix.de,
festevam@gmail.com, conor.culhane@silvaco.com
Cc: linux-i3c@lists.infradead.org, imx@lists.linux.dev,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org
Subject: [PATCH V2 0/3] support different number of clocks for svc i3c controller
Date: Mon, 21 Apr 2025 19:15:10 +0800 [thread overview]
Message-ID: <20250421111513.2651797-1-carlos.song@nxp.com> (raw)
From: Carlos Song <carlos.song@nxp.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 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 | 12 ++-
drivers/i3c/master/svc-i3c-master.c | 76 +++++++------------
3 files changed, 70 insertions(+), 63 deletions(-)
--
2.34.1
next reply other threads:[~2025-04-21 11:05 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-21 11:15 carlos.song [this message]
2025-04-21 11:15 ` [PATCH V2 1/3] dt-bindings: i3c: silvaco,i3c-master: add i.MX94 and i.MX95 I3C carlos.song
2025-04-21 17:55 ` Frank Li
2025-04-21 11:15 ` [PATCH V2 2/3] i3c: master: svc: switch to bulk clk API for flexible clock support carlos.song
2025-04-21 17:58 ` Frank Li
2025-04-21 11:15 ` [PATCH V2 3/3] arm64: dts: imx95: correct i3c node in imx95 carlos.song
2025-04-21 18:00 ` Frank Li
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250421111513.2651797-1-carlos.song@nxp.com \
--to=carlos.song@nxp.com \
--cc=Frank.Li@nxp.com \
--cc=alexandre.belloni@bootlin.com \
--cc=conor+dt@kernel.org \
--cc=conor.culhane@silvaco.com \
--cc=devicetree@vger.kernel.org \
--cc=festevam@gmail.com \
--cc=imx@lists.linux.dev \
--cc=kernel@pengutronix.de \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-i3c@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=miquel.raynal@bootlin.com \
--cc=robh@kernel.org \
--cc=s.hauer@pengutronix.de \
--cc=shawnguo@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox