From patchwork Sun Sep 29 10:06:01 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ryan Walklin X-Patchwork-Id: 13815042 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 4D45CCF6495 for ; Sun, 29 Sep 2024 10:10:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=i/OIhISlqehecC/cuY/05u+IRYh2h/4N3+ecIYTjGxc=; b=LduntMNTzjceHJ033E1WWBEBbF hNtYrSnfGgpc5rnAEHTpmhjDGtqOXIEsG7OjrEXrWHR9TSE7M0NY30h/ZO+zB8dc0xNXbIMEnjGDu +6EepvbS7iTCuYFoe8UxQkmVtpBBnq3AfDuwJO6qJZvLsYbzbfiNPv/y+ipUEdvLcXrrDGupKJrp/ lItn9J3CGebsqMofkv/sZGEALS7q7rZ12zlNkFgpj8HDlNllirMbfCoQvy9X3+ekeJFmg+ZyriCAe FVonX2mqPts583skCHtFJo8LO6zIrpcWcA3DEW8Qe/nZ931Srf7umwTAOPVYtDZcEKRaiR4OAloyZ Jy64QAgw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1suqsS-0000000EaE0-3EDo; Sun, 29 Sep 2024 10:10:09 +0000 Received: from fout-a4-smtp.messagingengine.com ([103.168.172.147]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1suqqU-0000000EZzU-2XXa for linux-arm-kernel@lists.infradead.org; Sun, 29 Sep 2024 10:08:08 +0000 Received: from phl-compute-06.internal (phl-compute-06.phl.internal [10.202.2.46]) by mailfout.phl.internal (Postfix) with ESMTP id F049C1380665; Sun, 29 Sep 2024 06:08:04 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-06.internal (MEProxy); Sun, 29 Sep 2024 06:08:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=testtoast.com; h=cc:cc:content-transfer-encoding:content-type:date:date:from :from:in-reply-to:message-id:mime-version:reply-to:subject :subject:to:to; s=fm2; t=1727604484; x=1727690884; bh=i/OIhISlqe hecC/cuY/05u+IRYh2h/4N3+ecIYTjGxc=; b=zoUlBg1Ed8BkiesoHJ4ocqurLx 6ludI2Gk+4HDVBG0a4UDIpAcvE1VEB6ptTO8w7i/v9g+r7xH3T9VHDr5KU6o4j1n cciMY5SZromKD3RwNPU5AnT71TpOUYUbgKbZdltF3QCU5i47BfXOgXS554GXSKLj EOR5gCkDe4DMQvf7sSEtf4Ea58ct74yVZxmhQ+AXut3AqjD82JXPnav0Gqh/EqxS oIpSX67cVQ8sJYkRCw0/Pn4gEecHWRUCuHEX2vKgFoxewSuu/vB6CqmKsBLWYJrf Ad5Ziebfcxkw5h0FyrclXqatcYsNDc1ckNAHnUzrGlgbqWRqUbg9g0qTP1Hg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:message-id:mime-version:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; t=1727604484; x=1727690884; bh=i/OIhISlqehecC/cuY/05u+IRYh2 h/4N3+ecIYTjGxc=; b=nCdA9IujnqFAXK0mZj7PCLYI0yliEm43iOo36zERGA1p U7V2uOWgctpNc50hBrDCnflTMU/+5xRNsH7S3inraIh9Xdr/aJJkovvsGK6WJ9I0 Ih3RqJeAIdbiSxj9kE3iZzwO2Uta1h7UZ7b3+MggGbNGj73HwSjOUQGhPR0TLvF1 3pdnzkO+GW1MfWFZ/824XcPjmnDSGgCwvNCzaPtd3QLZXYZBjSFhzXY4/JhMqKGR lT1hdX/1FXEkova7oOQ8s3P1WWOfYgO/8PSiDOxfZCP/+oLD0oMuhk41u2y4YvHi BPfBsTVCUkmYXQ6QXjJQFt7CHqzWNz/OWlciUB7+qw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrvddufedgvdeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnh htshculddquddttddmnecujfgurhephffvvefufffkofgggfestdekredtredttdenucfh rhhomheptfihrghnucghrghlkhhlihhnuceorhihrghnsehtvghsthhtohgrshhtrdgtoh hmqeenucggtffrrghtthgvrhhnpeduvdeuudeugedtueffteevveegheehvdfhfeduudev kefggfeftdehgeethffhffenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmh grihhlfhhrohhmpehrhigrnhesthgvshhtthhorghsthdrtghomhdpnhgspghrtghpthht ohepudefpdhmohguvgepshhmthhpohhuthdprhgtphhtthhopehlghhirhgufihoohguse hgmhgrihhlrdgtohhmpdhrtghpthhtohepsghrohhonhhivgeskhgvrhhnvghlrdhorhhg pdhrtghpthhtohepphgvrhgvgiesphgvrhgvgidrtgiipdhrtghpthhtohepthhifigrih esshhushgvrdgtohhmpdhrtghpthhtohepfigvnhhssegtshhivgdrohhrghdprhgtphht thhopehjvghrnhgvjhdrshhkrhgrsggvtgesghhmrghilhdrtghomhdprhgtphhtthhope hsrghmuhgvlhesshhhohhllhgrnhgurdhorhhgpdhrtghpthhtoheplhhinhhugidqshho uhhnugesvhhgvghrrdhkvghrnhgvlhdrohhrghdprhgtphhtthhopehlihhnuhigqdgrrh hmqdhkvghrnhgvlheslhhishhtshdrihhnfhhrrgguvggrugdrohhrgh X-ME-Proxy: Feedback-ID: idc0145fc:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 29 Sep 2024 06:08:00 -0400 (EDT) From: Ryan Walklin To: Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland Cc: linux-sound@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, devicetree@vger.kernel.org, linux-clk@vger.kernel.org, Ryan Walklin Subject: [PATCH 0/6] ASoC: add Allwinner H616 audio codec support Date: Sun, 29 Sep 2024 23:06:01 +1300 Message-ID: <20240929100750.860329-1-ryan@testtoast.com> X-Mailer: git-send-email 2.46.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240929_030806_740717_B6794098 X-CRM114-Status: UNSURE ( 8.65 ) 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 Hi, The Allwinner H616 has a playback-only audio codec, with a single stereo or differential-mono line output. This patch adds support for the H616 (and H618/H700/T507) SoC. Based on the Allwinner kernel SDK driver, and tested on the H700. Regards, Ryan Marcus Cooper (2): ASoC: sun4i-codec: Add support for different DAC FIFOC addresses to quirks ASoC: sun4i-codec: Add playback only flag to quirks Ryan Walklin (4): clk: sunxi-ng: h616: Add sigma-delta modulation settings for audio PLL dt-bindings: allwinner: add H616 sun4i audio codec binding ASoC: sun4i-codec: support allwinner H616 codec arm64: dts: allwinner: h616: Add audio codec node .../sound/allwinner,sun4i-a10-codec.yaml | 55 +++- .../arm64/boot/dts/allwinner/sun50i-h616.dtsi | 15 + drivers/clk/sunxi-ng/ccu-sun50i-h616.c | 36 +-- sound/soc/sunxi/sun4i-codec.c | 297 +++++++++++++++--- 4 files changed, 337 insertions(+), 66 deletions(-) Tested-by: Philippe Simons