From patchwork Fri Oct 13 10:42:17 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: wangweidong.a@awinic.com X-Patchwork-Id: 733717 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 B4093CDB47E for ; Fri, 13 Oct 2023 10:44:14 +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 DD928826; Fri, 13 Oct 2023 12:43:21 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz DD928826 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1697193851; bh=zqNaDxvsWwEb9aJcx7ajPMh4R3eECRLYG9LwAz488y0=; h=From:To:Subject:Date:List-Id:List-Archive:List-Help:List-Owner: List-Post:List-Subscribe:List-Unsubscribe:From; b=IsWcNJz+CDzM6/T+KgKdUxCQEnw0URpUPHzCpz7tBaSKmxzmRyN/iMSLolJozIFVv y6AyzIMWXEzCq2btCrBJcL/C73IaLK+FOHLyO/ZHZZ7KH+MI2m2MxXo8ir8JnCtiUl LX1Mnh7yv1mDaEhUXEPRJK/nD/iF1vCCfp0VPBy4= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 1BE4FF80552; Fri, 13 Oct 2023 12:42:51 +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 259FFF80166; Fri, 13 Oct 2023 12:42:51 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id BEFA6F802E8; Fri, 13 Oct 2023 12:42:46 +0200 (CEST) Received: from out28-74.mail.aliyun.com (out28-74.mail.aliyun.com [115.124.28.74]) (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 93A43F8019B for ; Fri, 13 Oct 2023 12:42:34 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 93A43F8019B X-Alimail-AntiSpam: AC=CONTINUE; BC=0.251197|-1; CH=green; DM=|CONTINUE|false|; DS=CONTINUE|ham_system_inform|0.00428145-6.11179e-05-0.995657; FP=0|0|0|0|0|-1|-1|-1; HT=ay29a033018047213; MF=wangweidong.a@awinic.com; NM=1; PH=DS; RN=25; RT=25; SR=0; TI=SMTPD_---.V-L310G_1697193742; Received: from ubuntu-VirtualBox..(mailfrom:wangweidong.a@awinic.com fp:SMTPD_---.V-L310G_1697193742) by smtp.aliyun-inc.com; Fri, 13 Oct 2023 18:42:29 +0800 From: wangweidong.a@awinic.com To: lgirdwood@gmail.com, broonie@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, perex@perex.cz, tiwai@suse.com, wangweidong.a@awinic.com, herve.codina@bootlin.com, shumingf@realtek.com, rf@opensource.cirrus.com, arnd@arndb.de, 13916275206@139.com, ryans.lee@analog.com, linus.walleij@linaro.org, ckeepax@opensource.cirrus.com, fido_max@inbox.ru, sebastian.reichel@collabora.com, colin.i.king@gmail.com, liweilei@awinic.com, trix@redhat.com, dan.carpenter@linaro.org, alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH V1 0/3] ASoC: codecs: Add aw88399 amplifier driver Date: Fri, 13 Oct 2023 18:42:17 +0800 Message-ID: <20231013104220.279953-1-wangweidong.a@awinic.com> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Message-ID-Hash: F7PTES2775RGGZAWE437NULGHHADY23O X-Message-ID-Hash: F7PTES2775RGGZAWE437NULGHHADY23O X-MailFrom: wangweidong.a@awinic.com 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: From: Weidong Wang Add the awinic,aw88399 property to the awinic,aw88395.yaml file. Add i2c and amplifier registration for aw88399 and their associated operation functions. Weidong Wang (3): ASoC: dt-bindings: Add schema for "awinic,aw88399" ASoC: codecs: Add code for bin parsing compatible with aw88399 ASoC: codecs: Add aw88399 amplifier driver .../bindings/sound/awinic,aw88395.yaml | 1 + sound/soc/codecs/Kconfig | 14 + sound/soc/codecs/Makefile | 2 + sound/soc/codecs/aw88395/aw88395_lib.c | 3 + sound/soc/codecs/aw88395/aw88395_reg.h | 1 + sound/soc/codecs/aw88399.c | 1964 +++++++++++++++++ sound/soc/codecs/aw88399.h | 615 ++++++ 7 files changed, 2600 insertions(+) create mode 100644 sound/soc/codecs/aw88399.c create mode 100644 sound/soc/codecs/aw88399.h base-commit: ce583d5fb9d3f4e20473b9d5619d51ea3cc92283