From: Xingyu Wu <xingyu.wu@starfivetech.com>
To: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>,
Liam Girdwood <lgirdwood@gmail.com>,
Mark Brown <broonie@kernel.org>, Jaroslav Kysela <perex@perex.cz>,
Takashi Iwai <tiwai@suse.com>,
Maxim Kochetkov <fido_max@inbox.ru>,
Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Conor Dooley <conor.dooley@microchip.com>,
Emil Renner Berthing <emil.renner.berthing@canonical.com>
Cc: Jose Abreu <joabreu@synopsys.com>,
Paul Walmsley <paul.walmsley@sifive.com>,
Palmer Dabbelt <palmer@dabbelt.com>,
Albert Ou <aou@eecs.berkeley.edu>,
Walker Chen <walker.chen@starfivetech.com>,
<devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
<alsa-devel@alsa-project.org>, <linux-riscv@lists.infradead.org>
Subject: Re: [PATCH v1 5/5] riscv: dts: starfive: Add the nodes and pins of I2Srx/I2Stx0/I2Stx1
Date: Mon, 7 Aug 2023 17:04:47 +0800 [thread overview]
Message-ID: <d89facb4-63f0-b30a-3612-639a81195fef@starfivetech.com> (raw)
In-Reply-To: <8fc27960-fa82-c900-0414-75b10a118f15@linaro.org>
On 2023/8/6 5:04, Krzysztof Kozlowski wrote:
> On 02/08/2023 10:43, Xingyu Wu wrote:
>> Add I2Srx/I2Stx0/I2Stx1 nodes and pins configuration for the
>> StarFive JH7110 SoC.
>>
>> Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
>> ---
>
> ...
>
>> +
>> spi0_pins: spi0-0 {
>> mosi-pins {
>> pinmux = <GPIOMUX(52, GPOUT_SYS_SPI0_TXD,
>> diff --git a/arch/riscv/boot/dts/starfive/jh7110.dtsi b/arch/riscv/boot/dts/starfive/jh7110.dtsi
>> index 05f843b8ca03..507312eb6053 100644
>> --- a/arch/riscv/boot/dts/starfive/jh7110.dtsi
>> +++ b/arch/riscv/boot/dts/starfive/jh7110.dtsi
>> @@ -512,6 +512,30 @@ tdm: tdm@10090000 {
>> status = "disabled";
>> };
>>
>> + i2srx: i2srx@100e0000 {
>
> Node names should be generic, so:
> i2s@
Will fix. Thanks.
>
>> + compatible = "starfive,jh7110-i2srx";
>> + reg = <0x0 0x100e0000 0x0 0x1000>;
>> + clocks = <&syscrg JH7110_SYSCLK_I2SRX_BCLK_MST>,
>> + <&syscrg JH7110_SYSCLK_I2SRX_APB>,
>> + <&syscrg JH7110_SYSCLK_MCLK>,
>> + <&syscrg JH7110_SYSCLK_MCLK_INNER>,
>> + <&mclk_ext>,
>> + <&syscrg JH7110_SYSCLK_I2SRX_BCLK>,
>> + <&syscrg JH7110_SYSCLK_I2SRX_LRCK>,
>> + <&i2srx_bclk_ext>,
>> + <&i2srx_lrck_ext>;
>> + clock-names = "i2sclk", "apb", "mclk",
>> + "mclk_inner", "mclk_ext", "bclk",
>> + "lrck", "bclk_ext", "lrck_ext";
>> + resets = <&syscrg JH7110_SYSRST_I2SRX_APB>,
>> + <&syscrg JH7110_SYSRST_I2SRX_BCLK>;
>> + dmas = <0>, <&dma 24>;
>> + dma-names = "tx", "rx";
>> + starfive,syscon = <&sys_syscon 0x18 0x2>;
>> + #sound-dai-cells = <0>;
>> + status = "disabled";
>> + };
>> +
>> usb0: usb@10100000 {
>> compatible = "starfive,jh7110-usb";
>> ranges = <0x0 0x0 0x10100000 0x100000>;
>> @@ -736,6 +760,47 @@ spi6: spi@120a0000 {
>> status = "disabled";
>> };
>>
>> + i2stx0: i2stx0@120b0000 {
>
> i2s@
Will fix.
>
>> + compatible = "starfive,jh7110-i2stx0";
>> + reg = <0x0 0x120b0000 0x0 0x1000>;
>> + clocks = <&syscrg JH7110_SYSCLK_I2STX0_BCLK_MST>,
>> + <&syscrg JH7110_SYSCLK_I2STX0_APB>,
>> + <&syscrg JH7110_SYSCLK_MCLK>,
>> + <&syscrg JH7110_SYSCLK_MCLK_INNER>,
>> + <&mclk_ext>;
>> + clock-names = "i2sclk", "apb", "mclk",
>> + "mclk_inner","mclk_ext";
>> + resets = <&syscrg JH7110_SYSRST_I2STX0_APB>,
>> + <&syscrg JH7110_SYSRST_I2STX0_BCLK>;
>> + dmas = <&dma 47>;
>> + dma-names = "tx";
>> + #sound-dai-cells = <0>;
>> + status = "disabled";
>> + };
>> +
>> + i2stx1: i2stx1@120c0000 {
>
> i2s@
Will fix.
Best regards,
Xingyu Wu
prev parent reply other threads:[~2023-08-07 9:09 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-02 8:42 [PATCH v1 0/5] Add I2S support for the StarFive JH7110 SoC Xingyu Wu
2023-08-02 8:42 ` [PATCH v1 1/5] ASoC: dwc: Use ops to get platform data Xingyu Wu
2023-08-02 8:42 ` [PATCH v1 2/5] ASoC: dt-bindings: snps,designware-i2s: Add StarFive JH7110 SoC support Xingyu Wu
2023-08-05 21:02 ` Krzysztof Kozlowski
2023-08-07 9:03 ` Xingyu Wu
2023-08-07 9:17 ` Krzysztof Kozlowski
2023-08-07 9:33 ` Xingyu Wu
2023-08-02 8:42 ` [PATCH v1 3/5] ASoC: dwc: i2s: " Xingyu Wu
2023-08-03 5:16 ` Maxim Kochetkov
2023-08-04 9:20 ` Xingyu Wu
2023-08-02 8:43 ` [PATCH v1 4/5] riscv: dts: starfive: pinfunc: Fix the pins name of I2STX1 Xingyu Wu
2023-08-02 8:43 ` [PATCH v1 5/5] riscv: dts: starfive: Add the nodes and pins of I2Srx/I2Stx0/I2Stx1 Xingyu Wu
2023-08-05 21:04 ` Krzysztof Kozlowski
2023-08-07 9:04 ` Xingyu Wu [this message]
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=d89facb4-63f0-b30a-3612-639a81195fef@starfivetech.com \
--to=xingyu.wu@starfivetech.com \
--cc=alsa-devel@alsa-project.org \
--cc=aou@eecs.berkeley.edu \
--cc=broonie@kernel.org \
--cc=conor.dooley@microchip.com \
--cc=devicetree@vger.kernel.org \
--cc=emil.renner.berthing@canonical.com \
--cc=fido_max@inbox.ru \
--cc=joabreu@synopsys.com \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=krzysztof.kozlowski@linaro.org \
--cc=lgirdwood@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-riscv@lists.infradead.org \
--cc=palmer@dabbelt.com \
--cc=paul.walmsley@sifive.com \
--cc=perex@perex.cz \
--cc=robh+dt@kernel.org \
--cc=tiwai@suse.com \
--cc=walker.chen@starfivetech.com \
/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
all inboxes | Powered by JetHome®