From patchwork Fri Feb 3 11:14:19 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Herve Codina X-Patchwork-Id: 4933 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp780139wrn; Fri, 3 Feb 2023 03:17:53 -0800 (PST) X-Google-Smtp-Source: AK7set+vWJzGZ+g85YXavj0zFHXFX7QFX+cAQT3nFrRIqRpg4V45tZRfteYmh/pSZvZ5Uqj29aE8 X-Received: by 2002:a17:90b:4f8d:b0:22b:e5c3:abe6 with SMTP id qe13-20020a17090b4f8d00b0022be5c3abe6mr10042580pjb.4.1675423073513; Fri, 03 Feb 2023 03:17:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1675423073; cv=none; d=google.com; s=arc-20160816; b=07qQVEvzJWVyc0JMFx0ehk6CKFl677p90k1Pid1kW0FNnDAyUkoWotx2uSc1t2kzp9 OhJC2DeamcQJ6gADC1B6UvXhNXmVXl+tPji0oxhjK3nH9DZT7GFRPJ2CK1zOeSBJ1u35 QTutzyrc0mUI4kBjSZYRRi7zXQ8xKFYw/uYrQtrUmf1R74+XYYHNgfTCB50cnTEy6GkJ ng1it8tstPtxWoi3JPNEA+g4N4Sx0ejD8IsH9h2GyFuf4XUNzExEn4EhXzWajdh6lkF5 yTyLnAz584NEvWCIYB6gcruIRy33hHEM4Lw6CrcAT1nFV+tBrtta9UqcHlb9lPDzw65W Anmg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=HAMONlr9R1WXauSk/Wj92zOzmiMIj87cwyrNJBK5Ezk=; b=wdNl8gEcxgcw6NG/fdU2OsYqVHtuzHBPbaU7nxO97916TkgMELUs6gX3WADF/wRaUG WGHTY+fLR7eec7eCLaH1EvwGaFy2hyGcLF/LcNKBNZOuZVQ3Z3QbBoUNcpFHcMJ5vyuB 6wDkuvCt0wVKx2yITHsa4PtRWXzKaOlRAw+Gu0UzqrTe/Blx7YR+IwbD3pmKs/bYsPIM LjhJp3F6uo53yDgb5SroXbrh4XIpNDsSr8u/yjHlpTiEqW4lTgZ0HWR1VVSpqvT+8liV 2U2BS83VNynDV02DxgorjjDqk5YKhCwIHTC3kjYJE8RN4EAV00I+XYeO1HslZfRoJAuk 1Hiw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=A3ZfWhkC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z27-20020a63b91b000000b0047776c01d71si2608323pge.375.2023.02.03.03.17.41; Fri, 03 Feb 2023 03:17:53 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=A3ZfWhkC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232365AbjBCLOj (ORCPT + 99 others); Fri, 3 Feb 2023 06:14:39 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54088 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230180AbjBCLOg (ORCPT ); Fri, 3 Feb 2023 06:14:36 -0500 Received: from relay5-d.mail.gandi.net (relay5-d.mail.gandi.net [217.70.183.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 634FE79639; Fri, 3 Feb 2023 03:14:35 -0800 (PST) Received: (Authenticated sender: herve.codina@bootlin.com) by mail.gandi.net (Postfix) with ESMTPA id B67FD1C000F; Fri, 3 Feb 2023 11:14:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1675422873; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=HAMONlr9R1WXauSk/Wj92zOzmiMIj87cwyrNJBK5Ezk=; b=A3ZfWhkCsAD4ulDqxrzeWbibM3BdocWhNXDIyJM9oR5wq7EKn1P7f/+wwuvj9xwv+O66PA 2zcQydBGBDSbJMU//fm+piM5NsXyWq8mJbQRjixdQxDlRSxKnqoTXtlxvxLJ+ouiGRGPCe eZmkKF2O2K1phXQnRtNZkRyrPGfdAS1Nv0JIw8ONeOZWkTqbuAVdcHfUpwY2n+ItSubbhu tpFZxGIvtVSOkIcK6DWkjuVw93Z/yp+NX790IGNELwf1rdNO68aPJ2MYhh9+3Z8kgymtFQ DTDzv1u3dRafXpCqZqh2Jijr6CoUvTkBFQyLFrmuyfLo8nxtC5Rb01E+JT7icg== From: Herve Codina To: Herve Codina , Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Jaroslav Kysela , Takashi Iwai Cc: alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Christophe Leroy , Thomas Petazzoni Subject: [PATCH 0/3] Add the Renesas X9250 potentiometers ASoC support Date: Fri, 3 Feb 2023 12:14:19 +0100 Message-Id: <20230203111422.142479-1-herve.codina@bootlin.com> X-Mailer: git-send-email 2.39.0 MIME-Version: 1.0 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1756808424900019517?= X-GMAIL-MSGID: =?utf-8?q?1756808424900019517?= Hi, The Renesas X9250 is a quad digitally controlled potentiometers. In the audio path, it can be present on amplifiers designs and it can be used in ALSA as an auxiliary audio device to control these amplifiers. Best regards, Herve Codina Herve Codina (3): dt-bindings: sound: Add the Renesas X9250 potentiometers ASoC: codecs: Add support for the Renesas X9250 potentiometers MAINTAINERS: add the Renesas X9250 ASoC entry .../bindings/sound/renesas,x9250.yaml | 60 ++++ MAINTAINERS | 7 + sound/soc/codecs/Kconfig | 11 + sound/soc/codecs/Makefile | 2 + sound/soc/codecs/x9250.c | 276 ++++++++++++++++++ 5 files changed, 356 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/renesas,x9250.yaml create mode 100644 sound/soc/codecs/x9250.c