From: Shawn Guo <shawnguo@kernel.org>
To: Alexander Stein <alexander.stein@ew.tq-group.com>
Cc: "Thierry Reding" <thierry.reding@gmail.com>,
"Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>,
"Rob Herring" <robh+dt@kernel.org>,
"Krzysztof Kozlowski" <krzysztof.kozlowski+dt@linaro.org>,
"Sascha Hauer" <s.hauer@pengutronix.de>,
"Fabio Estevam" <festevam@gmail.com>,
"Philipp Zabel" <p.zabel@pengutronix.de>,
"Pengutronix Kernel Team" <kernel@pengutronix.de>,
"NXP Linux Team" <linux-imx@nxp.com>,
linux-pwm@vger.kernel.org, devicetree@vger.kernel.org,
linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH v2 2/2] arm64: dts: imx8qxp: add adma_pwm in adma
Date: Sun, 4 Jun 2023 17:50:38 +0800 [thread overview]
Message-ID: <20230604095038.GA4199@dragon> (raw)
In-Reply-To: <20230424082108.26512-2-alexander.stein@ew.tq-group.com>
On Mon, Apr 24, 2023 at 10:21:08AM +0200, Alexander Stein wrote:
> Add PWM device and the corresponding clock gating device in adma subsystem.
>
> Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Looks good to me. I will pick it up after dt-bindings one gets
accepted/picked first.
Shawn
> ---
> * New in v2
>
> .../arm64/boot/dts/freescale/imx8-ss-dma.dtsi | 25 +++++++++++++++++++
> 1 file changed, 25 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/freescale/imx8-ss-dma.dtsi b/arch/arm64/boot/dts/freescale/imx8-ss-dma.dtsi
> index 2dce8f2ee3ea..7d5f96c99020 100644
> --- a/arch/arm64/boot/dts/freescale/imx8-ss-dma.dtsi
> +++ b/arch/arm64/boot/dts/freescale/imx8-ss-dma.dtsi
> @@ -124,6 +124,19 @@ lpuart3: serial@5a090000 {
> status = "disabled";
> };
>
> + adma_pwm: pwm@5a190000 {
> + compatible = "fsl,imx8qxp-pwm", "fsl,imx27-pwm";
> + reg = <0x5a190000 0x1000>;
> + interrupts = <GIC_SPI 127 IRQ_TYPE_LEVEL_HIGH>;
> + clocks = <&adma_pwm_lpcg 1>,
> + <&adma_pwm_lpcg 0>;
> + clock-names = "ipg", "per";
> + assigned-clocks = <&clk IMX_SC_R_LCD_0_PWM_0 IMX_SC_PM_CLK_PER>;
> + assigned-clock-rates = <24000000>;
> + #pwm-cells = <2>;
> + power-domains = <&pd IMX_SC_R_LCD_0_PWM_0>;
> + };
> +
> spi0_lpcg: clock-controller@5a400000 {
> compatible = "fsl,imx8qxp-lpcg";
> reg = <0x5a400000 0x10000>;
> @@ -220,6 +233,18 @@ uart3_lpcg: clock-controller@5a490000 {
> power-domains = <&pd IMX_SC_R_UART_3>;
> };
>
> + adma_pwm_lpcg: clock-controller@5a590000 {
> + compatible = "fsl,imx8qxp-lpcg";
> + reg = <0x5a590000 0x10000>;
> + #clock-cells = <1>;
> + clocks = <&clk IMX_SC_R_LCD_0_PWM_0 IMX_SC_PM_CLK_PER>,
> + <&dma_ipg_clk>;
> + clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_4>;
> + clock-output-names = "adma_pwm_lpcg_clk",
> + "adma_pwm_lpcg_ipg_clk";
> + power-domains = <&pd IMX_SC_R_LCD_0_PWM_0>;
> + };
> +
> i2c0: i2c@5a800000 {
> reg = <0x5a800000 0x4000>;
> interrupts = <GIC_SPI 220 IRQ_TYPE_LEVEL_HIGH>;
> --
> 2.34.1
>
next prev parent reply other threads:[~2023-06-04 9:50 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-24 8:21 [PATCH v2 1/2] dt-bindings: pwm: imx: add i.MX8QXP compatible Alexander Stein
2023-04-24 8:21 ` [PATCH v2 2/2] arm64: dts: imx8qxp: add adma_pwm in adma Alexander Stein
2023-05-31 7:55 ` Alexander Stein
2023-06-04 9:50 ` Shawn Guo [this message]
2023-08-17 8:03 ` Alexander Stein
2023-09-19 12:17 ` Shawn Guo
2023-04-24 10:10 ` [PATCH v2 1/2] dt-bindings: pwm: imx: add i.MX8QXP compatible Krzysztof Kozlowski
2023-05-31 7:59 ` Uwe Kleine-König
2023-06-23 14:51 ` (subset) " Thierry Reding
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=20230604095038.GA4199@dragon \
--to=shawnguo@kernel.org \
--cc=alexander.stein@ew.tq-group.com \
--cc=devicetree@vger.kernel.org \
--cc=festevam@gmail.com \
--cc=kernel@pengutronix.de \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-imx@nxp.com \
--cc=linux-pwm@vger.kernel.org \
--cc=p.zabel@pengutronix.de \
--cc=robh+dt@kernel.org \
--cc=s.hauer@pengutronix.de \
--cc=thierry.reding@gmail.com \
--cc=u.kleine-koenig@pengutronix.de \
/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;
as well as URLs for NNTP newsgroup(s).