Re: [PATCH 2/3] ARM: dts: suniv: f1c100s: Add support for Audio Codec

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

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

Compared against the F1C200s user manual:

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

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";
> +		};
>  	};
>  };






[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux