From patchwork Thu May 11 15:05:44 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Martin_Povi=C5=A1er?= X-Patchwork-Id: 13238127 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 9CAAEC77B7F for ; Thu, 11 May 2023 15:08:13 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 577A4ED7; Thu, 11 May 2023 17:07:21 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 577A4ED7 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1683817691; bh=N6qICPKs0gFERitcYpsAcY+hRoMimHDzdZsQ12fe6Y0=; h=From:To:Cc:Subject:Date:List-Id:List-Archive:List-Help:List-Owner: List-Post:List-Subscribe:List-Unsubscribe:From; b=j11m/k1okjwQdyAdG2Z/zhDJeaAanbFMO+vqFVNlE3kB/k25VupB41i+II0elRB5S l09QIGZJLfFb2wG1EQRYfgNez8CbZbkK5mfVqZaNldWYGk8X+hmS0lDKzB4sQgyogu zTrEnbQvPEXg8l4OV/v0C3vbAeNzAg3DlJwNScNA= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 05FA8F80557; Thu, 11 May 2023 17:06:30 +0200 (CEST) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id CDB09F8055A; Thu, 11 May 2023 17:06:30 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 81442F80534; Thu, 11 May 2023 17:06:25 +0200 (CEST) Received: from hutie.ust.cz (unknown [IPv6:2a03:3b40:fe:f0::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id B3BACF8052E for ; Thu, 11 May 2023 17:06:19 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz B3BACF8052E Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key, unprotected) header.d=cutebit.org header.i=@cutebit.org header.a=rsa-sha256 header.s=mail header.b=P1x6Sq/Q From: =?utf-8?q?Martin_Povi=C5=A1er?= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cutebit.org; s=mail; t=1683817578; bh=Y2qYN0nC7/bpDhI5lh52Gv/GBqFV2U6L49sbpArIaKo=; h=From:To:Cc:Subject:Date; b=P1x6Sq/QWXxyw/DQe9YPNPoSdkxp3gNAje5YsQTKJK9YuvGSmHpH0+pTQjyPwBcV7 3iRYrof6f6FX/iaZDzYnPn4/p+ZxTf9AoP/8z8g+7eZoOvsAwMAfjY7v7wOWioZdjO hTNAFj7t82mKLHdogP3SWd2BwouMsyK/RxIUBzEk= To: =?utf-8?q?Martin_Povi=C5=A1er?= , Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jaroslav Kysela , Takashi Iwai , Lars-Peter Clausen , =?utf-8?q?Nuno_S=C3=A1?= Cc: asahi@lists.linux.dev, alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 0/2] ASoC SSM3515 codec driver Date: Thu, 11 May 2023 17:05:44 +0200 Message-Id: <20230511150546.8499-1-povik+lin@cutebit.org> MIME-Version: 1.0 Message-ID-Hash: H2K7C3UHVICGOSM4ESWW3SS2XQPC3XNO X-Message-ID-Hash: H2K7C3UHVICGOSM4ESWW3SS2XQPC3XNO X-MailFrom: povik+lin@cutebit.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Hi, Analog Devices SSM3515 is a simple speaker amp that Apple is using in their 2021 iMacs, possibly elsewhere. This is a v2 of an ASoC driver for those, to be used with upcoming ASoC support (in upstream kernels anyway) of those platforms. Martin Changes since v1: https://lore.kernel.org/asahi/0fcc4617-e706-8743-e65d-1ff99f38ddac@linaro.org/T/#t - drop 'adi,ana-gain' from the binding - move device reset to bus probe - fix schema copyright, other schema tweaks Martin PoviĊĦer (2): ASoC: dt-bindings: Add adi,ssm3515 amp schema ASoC: ssm3515: Add new amp driver .../bindings/sound/adi,ssm3515.yaml | 49 ++ MAINTAINERS | 2 + sound/soc/codecs/Kconfig | 6 + sound/soc/codecs/Makefile | 2 + sound/soc/codecs/ssm3515.c | 448 ++++++++++++++++++ 5 files changed, 507 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/adi,ssm3515.yaml create mode 100644 sound/soc/codecs/ssm3515.c