ARM Sunxi Platform Development
 help / color / mirror / Atom feed
From: Andre Przywara <andre.przywara@arm.com>
To: "Csókás, Bence" <csokas.bence@prolan.hu>
Cc: <devicetree@vger.kernel.org>,
	<linux-arm-kernel@lists.infradead.org>,
	<linux-sunxi@lists.linux.dev>, <linux-kernel@vger.kernel.org>,
	Mesih Kilinc <mesihkilinc@gmail.com>,
	Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>, Chen-Yu Tsai <wens@csie.org>,
	Jernej Skrabec <jernej.skrabec@gmail.com>,
	Samuel Holland <samuel@sholland.org>
Subject: Re: [PATCH 2/3] ARM: dts: suniv: f1c100s: Add support for Audio Codec
Date: Mon, 9 Dec 2024 17:56:54 +0000	[thread overview]
Message-ID: <20241209175654.673cf172@donnerap.manchester.arm.com> (raw)
In-Reply-To: <20241205000137.187450-3-csokas.bence@prolan.hu>

On Thu, 5 Dec 2024 01:01:37 +0100
"Csókás, Bence" <csokas.bence@prolan.hu> wrote:

> From: Mesih Kilinc <mesihkilinc@gmail.com>
> 
> Allwinner suniv F1C100s now has basic audio codec support. Enable it
> under device tree.
> 
> Signed-off-by: Mesih Kilinc <mesihkilinc@gmail.com>
> [ csokas.bence: Rebased on current master ]
> Signed-off-by: Csókás, Bence <csokas.bence@prolan.hu>

Compared against the F1C200s user manual:

Reviewed-by: Andre Przywara <andre.przywara@arm.com>

Cheers,
Andre

> ---
>  arch/arm/boot/dts/allwinner/suniv-f1c100s.dtsi | 14 ++++++++++++++
>  1 file changed, 14 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/allwinner/suniv-f1c100s.dtsi b/arch/arm/boot/dts/allwinner/suniv-f1c100s.dtsi
> index 290efe026ceb..e4b41bc93852 100644
> --- a/arch/arm/boot/dts/allwinner/suniv-f1c100s.dtsi
> +++ b/arch/arm/boot/dts/allwinner/suniv-f1c100s.dtsi
> @@ -336,5 +336,19 @@ uart2: serial@1c25800 {
>  			resets = <&ccu RST_BUS_UART2>;
>  			status = "disabled";
>  		};
> +
> +		codec: codec@1c23c00 {
> +			#sound-dai-cells = <0>;
> +			compatible = "allwinner,suniv-f1c100s-codec";
> +			reg = <0x01c23c00 0x400>;
> +			interrupts = <21>;
> +			clocks = <&ccu CLK_BUS_CODEC>, <&ccu CLK_CODEC>;
> +			clock-names = "apb", "codec";
> +			dmas = <&dma SUN4I_DMA_NORMAL 12>,
> +			       <&dma SUN4I_DMA_NORMAL 12>;
> +			dma-names = "rx", "tx";
> +			resets = <&ccu RST_BUS_CODEC>;
> +			status = "disabled";
> +		};
>  	};
>  };


  reply	other threads:[~2024-12-09 17:57 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-05  0:01 [PATCH 0/3] Add F1C100s audio support Csókás, Bence
2024-12-05  0:01 ` [PATCH 1/3] ARM: dts: suniv: f1c100s: Add support for DMA Csókás, Bence
2024-12-09 17:56   ` Andre Przywara
2024-12-09 18:03     ` Chen-Yu Tsai
2024-12-05  0:01 ` [PATCH 2/3] ARM: dts: suniv: f1c100s: Add support for Audio Codec Csókás, Bence
2024-12-09 17:56   ` Andre Przywara [this message]
2024-12-05  0:01 ` [PATCH 3/3] ARM: dts: suniv: f1c100s: Activate Audio Codec for Lichee Pi Nano Csókás, Bence
2024-12-05  3:29 ` [PATCH 0/3] Add F1C100s audio support Chen-Yu Tsai

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=20241209175654.673cf172@donnerap.manchester.arm.com \
    --to=andre.przywara@arm.com \
    --cc=conor+dt@kernel.org \
    --cc=csokas.bence@prolan.hu \
    --cc=devicetree@vger.kernel.org \
    --cc=jernej.skrabec@gmail.com \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-sunxi@lists.linux.dev \
    --cc=mesihkilinc@gmail.com \
    --cc=robh@kernel.org \
    --cc=samuel@sholland.org \
    --cc=wens@csie.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