From patchwork Thu Feb 3 02:01:12 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Samuel Holland X-Patchwork-Id: 12733759 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id DDD51C433F5 for ; Thu, 3 Feb 2022 02:02:19 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 5B0E1170A; Thu, 3 Feb 2022 03:01:27 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 5B0E1170A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1643853737; bh=J8ajVcBp4Zkx3e4qoungVOksOz05J4o4J/I3ClEKLFk=; h=From:To:Subject:Date:Cc:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=e3Hy2hLaXZJ5iwz2QX708s+xFuRih3lJ3h+IGCdI+TnU3YzywlMikHLwWqVi7YYtk 1Z20u+uWLiCV+7meU0jlyZfOOiRMDoqq80x4H0fAbuqgxybVOBbR/RWjFaqq1mmP4V FeoUP0WusLhwtSwVMDsWvLhxLmLJus9LRCxM5nfY= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id F1A4CF802E3; Thu, 3 Feb 2022 03:01:26 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 0E9F3F804B0; Thu, 3 Feb 2022 03:01:26 +0100 (CET) Received: from wnew4-smtp.messagingengine.com (wnew4-smtp.messagingengine.com [64.147.123.18]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id C429FF80095 for ; Thu, 3 Feb 2022 03:01:22 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz C429FF80095 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=sholland.org header.i=@sholland.org header.b="ZnegHZQ6"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="k+D/h9Sj" Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailnew.west.internal (Postfix) with ESMTP id C44542B0009C; Wed, 2 Feb 2022 21:01:18 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Wed, 02 Feb 2022 21:01:20 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sholland.org; h= cc:cc:content-transfer-encoding:date:date:from:from:in-reply-to :message-id:mime-version:reply-to:sender:subject:subject:to:to; s=fm1; bh=9CK2u6ee+e0QjQkxatovO9y+1G1KA4Gn5dGKWr+mjC4=; b=ZnegH ZQ60vHjqTX4D7uUYXe5eqphy9Hom3Q0OMy2nkIxlMA2DdDrxYZ3DqqefN+nQtUpT yNXkOPQdeKyZP7jhIAJobfZ8FFSZxqNqWrVDqK6cst2uAyFZ3PkpfW8eyZxtejPL FOJgZjEW2/+OiJyTAeMNteQPecTYN4uLWsQA6cVjr4t5oc6dTfzkgNNOiLByxQIz vRWF+AuWVFMDrBvDos1EfIqxc/QQfTfqTUNtErkCPAH6mwpmc3PWWaJIPOjENi8V u2WSTGgtrgaC3ycJRELZlLaEu00TLYU4KBvxr+nhR+XgCBXUz4M99HDTlJ75Ubb1 4yxd0S/CMOQRfEhXQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding:date:date :from:from:in-reply-to:message-id:mime-version:reply-to:sender :subject:subject:to:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; bh=9CK2u6ee+e0QjQkxatovO9y+1G1KA 4Gn5dGKWr+mjC4=; b=k+D/h9SjwYCWKitapyjE4CFvr771k8gxw7Y8BIGXhXRSl 3BmwxtA+eIgUyRHgv75UY9/Jo0FqzFvrWRN4gkUorKLbDuYzrM3acKPJhmKH134S 5z/4aAGAmOfuFc2//n8aEdm/ZjcGElm1p9pd9Ih7/UMsNI/u5KBUmSWM1ZNRbrfw P+WKUvNQsUvrE74X6NkwAnW8bMTI77EYBL3FtoYgk1ESHKTRxV+1WP4Q0P7gVdRx xBaev1c60GKfmA2F93IENygqGpEmSBHdB2FCFgXKHcOeobdS49qDtUwR52THaFzH lqomZuaRuJyFomiG3YKBGitWxLepYkIuGvuRph1eg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrgeeigdegudcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffufffkofgggfestdekredtredttdenucfhrhhomhepufgrmhhuvghlucfj ohhllhgrnhguuceoshgrmhhuvghlsehshhholhhlrghnugdrohhrgheqnecuggftrfgrth htvghrnhepieetkefhheduudfgledtudefjeejfeegveehkeeufffhhfejkeehiefftdev tdevnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepsh grmhhuvghlsehshhholhhlrghnugdrohhrgh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 2 Feb 2022 21:01:16 -0500 (EST) From: Samuel Holland To: Liam Girdwood , Mark Brown Subject: [PATCH 0/3] ASoC: sun4i-i2s: Support for Allwinner R329 and D1 SoCs Date: Wed, 2 Feb 2022 20:01:12 -0600 Message-Id: <20220203020116.12279-1-samuel@sholland.org> X-Mailer: git-send-email 2.33.1 MIME-Version: 1.0 Cc: devicetree@vger.kernel.org, alsa-devel@alsa-project.org, Samuel Holland , Takashi Iwai , linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org, Maxime Ripard , Chen-Yu Tsai , Rob Herring , Jernej Skrabec , linux-sunxi@lists.linux.dev, linux-arm-kernel@lists.infradead.org X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" This series extends the sun4i-i2s binding and driver to support some newer versions of the hardware. Each instance of the hardwar now has multiple input/output pins, and channels can be muxed between them. Since so far the driver only supports a "default" linear channel map, the driver changes are minimal. Samuel Holland (3): ASoC: dt-bindings: sun4i-i2s: Add compatibles for R329 and D1 ASoC: sun4i-i2s: Update registers for more channels ASoC: sun4i-i2s: Add support for the R329/D1 variant .../sound/allwinner,sun4i-a10-i2s.yaml | 5 ++ sound/soc/sunxi/sun4i-i2s.c | 68 +++++++++++++++---- 2 files changed, 59 insertions(+), 14 deletions(-) Acked-by: Maxime Ripard