From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-14.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E2AA8C433ED for ; Thu, 13 May 2021 23:31:55 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A478C61433 for ; Thu, 13 May 2021 23:31:55 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A478C61433 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=manjaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=Texbc9AQyFUoDP2mNYF6xhrciTWjKzEXApWc5mLCF/8=; b=fT5TLmfsIdpHih8aIskn/clLk 1gpzi9644eTuHegmwatZC2F2ZKp5c1oXGKgqHZFK+QVnpQ3ubzu0dnCAiYrsSya2COWAvvCBRVFUe uU+uPKQw+RcAavznZb2zHQqQCEpWy/TL3by1gc2KheEq7wUDtBIX3Z+1NpMxHbh7/NQnhILXd68NH gw1CzZjtK3udplzQxCIT2KjrgOiuJ1H74DcWIeBDDSPa/ZNOTNcxxhHMKbQsu4iZ1Rv46J3aiUC29 BjD9896hG5PRTjBW5hJfGr3BM8Dk2t08YTmS3aL0gsIY9FbAUseObN9MgTM/Co++xO9Kz8MDcaarP XRf4DBa4Q==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lhKm9-006gCI-Gz; Thu, 13 May 2021 23:29:53 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lhKlJ-006g1s-5o for linux-arm-kernel@desiato.infradead.org; Thu, 13 May 2021 23:29:01 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender :Reply-To:Content-Type:Content-ID:Content-Description; bh=Zpvw6r53DLuNS6z6HE4O04VfEhf1LeXBLhqBHO9W1rk=; b=JeKHCUNYtjKNYeYDTRHMfWBtmF u1Fp0QgiouNHrq41V5QkMEHW6hbGL1rPUdcDKOdNibRAcK7fwEqRl92/K0zUFfuZCVqhh3U9/fi6f +jZjBWNpzp1DkUToPhchJGXL3e6ret5LLqT8sEHb/EBEH6pvzjTeslC9klZeDg6z04yqkKiR4OZUR 0wgdKevDLQI5+qy0yd3519NdqGVPXL0N8tQJX+FnyZQp/uWF9MI06WdK32ITbM6zuuz51jDTD0Dfv F/QOtEe/6S5TKaUYvztFgH2I/QbfTr7GzxQJu1zN4MLnCFEUtL8b8XIZAng8I3cVvuMkq8Vk9QNWy KSX/BzKw==; Received: from mail.manjaro.org ([2a01:4f8:150:448b::1]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lhKlG-00BbtM-44 for linux-arm-kernel@lists.infradead.org; Thu, 13 May 2021 23:28:59 +0000 Received: from localhost (localhost [127.0.0.1]) by mail.manjaro.org (Postfix) with ESMTP id CA8F02210AD; Fri, 14 May 2021 01:28:56 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at manjaro.org Received: from mail.manjaro.org ([127.0.0.1]) by localhost (manjaro.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CT3VL_bqK02D; Fri, 14 May 2021 01:28:54 +0200 (CEST) From: Tobias Schramm To: =?UTF-8?q?Jernej=20=C5=A0krabec?= , devicetree@vger.kernel.org Cc: Rob Herring , Maxime Ripard , Chen-Yu Tsai , linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, Tobias Schramm Subject: [PATCH v2 3/7] ARM: dts: sun8i: v3s: add analog codec and frontend to v3s dts Date: Fri, 14 May 2021 01:30:20 +0200 Message-Id: <20210513233024.2076725-4-t.schramm@manjaro.org> In-Reply-To: <20210513233024.2076725-1-t.schramm@manjaro.org> References: <20210513233024.2076725-1-t.schramm@manjaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210513_162858_334036_2431BBA3 X-CRM114-Status: UNSURE ( 8.62 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The Allwinner V3s and V3 SoCs feature an integrated analog audio codec. Additionally both have an analog frontend with mixers and amplifiers for the codec. This commit adds both, the analog codec and its frontend to the V3s dtsi. Signed-off-by: Tobias Schramm --- arch/arm/boot/dts/sun8i-v3s.dtsi | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-v3s.dtsi b/arch/arm/boot/dts/sun8i-v3s.dtsi index 3eaa8703e2ac..236cf45bba91 100644 --- a/arch/arm/boot/dts/sun8i-v3s.dtsi +++ b/arch/arm/boot/dts/sun8i-v3s.dtsi @@ -441,6 +441,25 @@ lradc: lradc@1c22800 { status = "disabled"; }; + codec: codec@1c22c00 { + #sound-dai-cells = <0>; + compatible = "allwinner,sun8i-v3s-codec"; + reg = <0x01c22c00 0x400>; + interrupts = ; + clocks = <&ccu CLK_BUS_CODEC>, <&ccu CLK_AC_DIG>; + clock-names = "apb", "codec"; + resets = <&ccu RST_BUS_CODEC>; + dmas = <&dma 15>, <&dma 15>; + dma-names = "rx", "tx"; + allwinner,codec-analog-controls = <&codec_analog>; + status = "disabled"; + }; + + codec_analog: codec-analog@1c23000 { + compatible = "allwinner,sun8i-v3s-codec-analog"; + reg = <0x01c23000 0x4>; + }; + uart0: serial@1c28000 { compatible = "snps,dw-apb-uart"; reg = <0x01c28000 0x400>; -- 2.31.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel