From patchwork Fri May 14 13:43:58 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tobias Schramm X-Patchwork-Id: 12257803 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=-9.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS 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 0DB75C433B4 for ; Fri, 14 May 2021 13:45:05 +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 C95F461461 for ; Fri, 14 May 2021 13:45:04 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C95F461461 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: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:In-Reply-To:References:List-Owner; bh=UCmGNXyn+Z0A+WmAkcKLtQol9XYkbbELh1OVrN8v33Y=; b=K11OB0mZ87O8On9DFkXGxgLivb SaAE/UsePedMMEQoTy4nBgvlu4f/WKC3b3ZekSeJHxQJXPddrvCDAIx0ZXjYdr0Khbdm8Vbxm6H8j K6teFLqO9RyO91F7BX80ZJbO/9RrQ/UP6bzOazDz6hOY658MRJwKQe1cr+45YeiZpRgeKGH8Aj0J+ GQEbZJb7xNVCO1RS+XVFoGrZJJ9Zk1Z+12u5FuOuicOLOpH6UU0RadPkzi7xYRvvbQGTGFf7Y2pGD VuiA/TNVF3ySpSxK9QFaBQZxc+hBFNnry15dcqMEW9cw6vfEMqUAZ8qbWRTUpNV3JKinjHVkIbJr+ OKmAlixw==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lhY5g-008AXt-SZ; Fri, 14 May 2021 13:42:57 +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 1lhY5U-008ATD-KG for linux-arm-kernel@desiato.infradead.org; Fri, 14 May 2021 13:42:44 +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:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=446HJyOTcaFhs90p0cXyNpqreyTqHvv6aES2KVKVCl0=; b=UGUNNK+Z8yxVkyV+47bN1pX1gC 71la96PgUFYIVEtNwNxrKmM4eOt4EMvIHPCAXqYV4k1IDmTtnctvtaGWVh19FphNbJ6ItZd9anvUu h9ddBcDfv1zBXlOCnOYGA8zP0hl0+fo8GQZYfclRTYoThKQEBKTizi0MiDlDHG0fMlfaRSt//lhlK 2qUlhxUux1tuBt/DRqz8B1sC59YtNBHAbALga8t1YYGQdZ/4TDU+u793GtlU3ohE/xn67ADZQwD9M kLnefNZpaWtRYUhQDxnllKTY8SZtSPrMwV/Ksx8ApKgW5GRfKVbbEUDKS8mRE+EyCFd9Q3DViko9i Mzo8qn+A==; Received: from mail.manjaro.org ([2a01:4f8:150:448b::1]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lhY5R-00C0aS-Mp for linux-arm-kernel@lists.infradead.org; Fri, 14 May 2021 13:42:43 +0000 Received: from localhost (localhost [127.0.0.1]) by mail.manjaro.org (Postfix) with ESMTP id 968C6222590; Fri, 14 May 2021 15:42:36 +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 qwnMcMQxrZeM; Fri, 14 May 2021 15:42:34 +0200 (CEST) From: Tobias Schramm To: =?utf-8?q?Jernej_=C5=A0krabec?= , Rob Herring , devicetree@vger.kernel.org Cc: 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 v3 0/7] Add missing peripherals to Allwinner V3s/V3 device trees Date: Fri, 14 May 2021 15:43:58 +0200 Message-Id: <20210514134405.2097464-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-20210514_064241_921690_890DDB33 X-CRM114-Status: UNSURE ( 9.26 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The Allwinner V3s/V3 SoCs feature quite a few peripherals that have good driver support but yet are nowhere to be found in the SoCs dts. This patchset adds the DMA controller, the relevant DMA properties for all peripherals supporting DMA, the integrated analog codec and - for the Allwinner V3 SoC - also the I2S interface. I've included all of those changes in one patchset since they do all depend on addition of the DMA controller. All changes have been tested in a recent project of mine using a Sochip S3 (a rebranded Allwinner V3) and are confirmed working. This is v3 of this patchset. Cheers, Tobias Changelog: v2: - add v3/v3s specific compatible strings - fix v3s audio codec analog frontend compatible - fix an I2S -> I2C typo v3: - fix yaml list indentation in allwinner,sun8i-a23-codec-analog.yaml Tobias Schramm (7): ARM: dts: sun8i: v3s: add DMA controller to v3s dts ARM: dts: sun8i: v3s: add DMA properties to peripherals supporting DMA ARM: dts: sun8i: v3s: add analog codec and frontend to v3s dts ASoC: dt-bindings: sun8i-a23-codec-analog: add compatible for Allwinner V3 ARM: dts: sun8i: V3: add codec analog frontend to V3 dts dt-bindings: sound: sun4i-i2s: add Allwinner V3 I2S compatible ARM: dts: sun8i: V3: add I2S interface to V3 dts .../sound/allwinner,sun4i-a10-i2s.yaml | 3 ++ .../allwinner,sun8i-a23-codec-analog.yaml | 9 +++-- arch/arm/boot/dts/sun8i-v3.dtsi | 31 +++++++++++++++ arch/arm/boot/dts/sun8i-v3s.dtsi | 39 +++++++++++++++++++ 4 files changed, 79 insertions(+), 3 deletions(-)