Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp9598pxj; Thu, 13 May 2021 19:14:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz5KivzRmIDJKvnKUza2Mc4hA/xVoxdOXEnr6a68zbwO2m9GXjuWdklanstm5QSJnNCcRTI X-Received: by 2002:a05:6638:101a:: with SMTP id r26mr40924525jab.15.1620958468462; Thu, 13 May 2021 19:14:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620958468; cv=none; d=google.com; s=arc-20160816; b=V40WhixWn50GX35Jc6viffrhi1YFqf81WbzIhC1tYuq/TKyD1avxHnIL4WT0cZ7ynN UfieDlppcOpJIDNwT3RzOyPGN1eVT7KsXX/s7N+agIjDe7mvqloFHaxfN5Le7+H+VcS6 5ptyxi1A+piWJAzbGfW3BFYQ1me4qOrIlgk1dVEEY2R8kKxP/MuivW5FRH8AE/4Yw/gF WfDrSUKemeIixDjqkIfli0PrwCi6rCuCC7AtqA4wUu6h7WeMqtSEZHX/7md184i0DDpe ZtrWJU5uR96Psvn6QbuUHlc2GaielLA7B/r9r/VL2oEH1TFDP2K9isWJ/Bhfnm4hPRhT /EDw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=PW/hARNj+t7fz2vUJZ0MmQqxpurUyb4gkOHcN8u93ww=; b=MwI0D+m7z0ehC6P/kbOtbhngfwS1BZNt8swRVI/VCQsHnEBVqv6qmZYX9eHOtMwWUb XYynnZ5p8YAaUS5Suf8+7cFYgE2QXu1AeR7hACHuFruVgaHuo0s36oPkXFuCWB8WlBWr 1/wySKcsCxDcQnQs1rECcli3QqH9hUoKIbgwYPqJo0dmWUhSC0O/pekdTmTJWVSwdLUw IWkJ4CgGEqtUHCmt4QSSEN/tpSWUsD0Z7kc+/5Di/9tnC6zUOsjRTpgf6ftewQqNq3BA MbTgl4om5sYUlMx3vucVXTUCceUfMg+kUlvZKG2ArIaBfgF3Gy8mt5GA2gAUzzis9DVb ahmw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g2si6741584ila.126.2021.05.13.19.14.15; Thu, 13 May 2021 19:14:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231821AbhEMXaS (ORCPT + 99 others); Thu, 13 May 2021 19:30:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50662 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231714AbhEMXaM (ORCPT ); Thu, 13 May 2021 19:30:12 -0400 Received: from mail.manjaro.org (mail.manjaro.org [IPv6:2a01:4f8:150:448b::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4B509C06174A; Thu, 13 May 2021 16:29:02 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by mail.manjaro.org (Postfix) with ESMTP id B82DC2210AD; Fri, 14 May 2021 01:29:00 +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 ywCVWN8o1e2m; Fri, 14 May 2021 01:28:58 +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 7/7] ARM: dts: sun8i: V3: add I2S interface to V3 dts Date: Fri, 14 May 2021 01:30:24 +0200 Message-Id: <20210513233024.2076725-8-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 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The Allwinner V3 SoC features an I2S interface. The I2S peripheral is identical to that in the Allwinner H3 SoC. This commit adds it to the Allwinner V3 dts. Signed-off-by: Tobias Schramm --- arch/arm/boot/dts/sun8i-v3.dtsi | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-v3.dtsi b/arch/arm/boot/dts/sun8i-v3.dtsi index 8af790d286b9..3698e024d604 100644 --- a/arch/arm/boot/dts/sun8i-v3.dtsi +++ b/arch/arm/boot/dts/sun8i-v3.dtsi @@ -1,10 +1,31 @@ // SPDX-License-Identifier: (GPL-2.0+ OR MIT) /* * Copyright (C) 2019 Icenowy Zheng + * Copyright (C) 2021 Tobias Schramm */ #include "sun8i-v3s.dtsi" +/ { + soc { + i2s0: i2s@1c22000 { + #sound-dai-cells = <0>; + compatible = "allwinner,sun8i-v3-i2s", + "allwinner,sun8i-h3-i2s"; + reg = <0x01c22000 0x400>; + interrupts = ; + clocks = <&ccu CLK_BUS_I2S0>, <&ccu CLK_I2S0>; + clock-names = "apb", "mod"; + dmas = <&dma 3>, <&dma 3>; + dma-names = "rx", "tx"; + pinctrl-names = "default"; + pinctrl-0 = <&i2s0_pins>; + resets = <&ccu RST_BUS_I2S0>; + status = "disabled"; + }; + }; +}; + &ccu { compatible = "allwinner,sun8i-v3-ccu"; }; @@ -30,6 +51,11 @@ external_mdio: mdio@2 { &pio { compatible = "allwinner,sun8i-v3-pinctrl"; + i2s0_pins: i2s0-pins { + pins = "PG10", "PG11", "PG12", "PG13"; + function = "i2s"; + }; + uart1_pg_pins: uart1-pg-pins { pins = "PG6", "PG7"; function = "uart1"; -- 2.31.1