From patchwork Tue May 30 18:11:37 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cristian Ciocaltea X-Patchwork-Id: 10057 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp2377828vqr; Tue, 30 May 2023 11:25:42 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5/av7zt9xrUsnXaTuxJWBjnHhrt2f/nTB7qZIFcbt4fsRnLLQ15Q8OCrN/IJMl0h1P0NQ0 X-Received: by 2002:a17:902:ced2:b0:1b0:75ef:ce3e with SMTP id d18-20020a170902ced200b001b075efce3emr1214804plg.25.1685471142224; Tue, 30 May 2023 11:25:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685471142; cv=none; d=google.com; s=arc-20160816; b=WjrY/nt7LyXUhlZgTcMPosnRY5fpp80PhWPPjAWFA6GuRvRGVN2XrNlTP9JGuep0rn FjbvMwXtC+FH6cTb21dRvsl18Gz5PWH5GCiPMQ+zlpEkH7ESOKu2Hr0MkZtTvNwthiJ7 yUkzwVlBNSRIi2cFneigF8eKOCNq7A2zihb+LaKBx/9xBbLDH0jZ5W2dPG3t4erGgjn5 dJAA7Zw7Y5vmE04KSk9em6a4VP+9+Hp9kks5+q9MO8/KCvqZyHQS3Vt4ss+q/zu1xije ibb5RyCVVIyYpTiHN/jX/OwSXt+FXnqIN93FMV6/u6qftYXkULc0faiEkyRWSrj4Du0v mhRA== 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=ErdpstxkvSFCRccx7FgHRIz1EHrwJlkcRpc7GQYfK+w=; b=QuYY8ULwAT2JEoAqiM5Fzu/sXJWNSNF2ksspKM+6kIGmEhz+5Nyq4sMHCuirElEZ9h fxtXmJbEMC1I/BP7axiAWtb2MosGhZpRrrh/ZJ6t7AeK9fb4EFmRugX8IiUFCFdjJJsl vmc43++MDx8umtbt8oENlbtguw+2vyFrNeyzBJmH4nTL2pqyGO75QoL1oNLiyw4l4VdO yTYgnUdAQUhynMQslMST7LpxUWQe/lQGR3jPP61YhHmdANu1HnQXJlJdVKPWh+pMA1tz UtPuQMwCoBHhBhrHw1nopppnX1QCXXYtqWhn3V8qNKG4QRmxR5Arb0hhHwSQ47VV+Uoj AymQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b="Gb34rY/H"; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s10-20020a170902ea0a00b001a988a09b6esi2928021plg.252.2023.05.30.11.25.27; Tue, 30 May 2023 11:25:42 -0700 (PDT) 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=@collabora.com header.s=mail header.b="Gb34rY/H"; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233242AbjE3SLv (ORCPT + 99 others); Tue, 30 May 2023 14:11:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48934 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230096AbjE3SLr (ORCPT ); Tue, 30 May 2023 14:11:47 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7AA54A3; Tue, 30 May 2023 11:11:46 -0700 (PDT) Received: from localhost (unknown [188.27.34.213]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: cristicc) by madras.collabora.co.uk (Postfix) with ESMTPSA id D11BA66003B0; Tue, 30 May 2023 19:11:43 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1685470304; bh=GQF9lUAe0Utvbi867xCuwYxDhrPJXP6m2MEpKIazxXo=; h=From:To:Cc:Subject:Date:From; b=Gb34rY/H0aIJjjGOchyEPTHOzBtnXtSSUbQsHDxYhKy3LCWlhY1z4fewyDPhPSsfc brl+qlCTDcplTnVbe5pdI48q03dxP/JpPd1iiEJiMld3/y2STdpl+kkXHE5gUJUmEH kOyZ/P0lmd3mzC0+aiXvNGlEbXt4Q1ewQz5e7KTuz0+Z95Uts7A3Y2nKgSFcYnKUyR MYYC4keeqB9I5CEfhzMpE/cCcUpCdIpyraA2KamNxlhfOoERTiL8MmoLspVjplJyLi 3RppIVXc8AC/rSRches7FtT+H5qT1pmZBsUWNB8mr4yliCZ9dp8loOsUc41lbOHnsZ /qT/mR4f+TWYw== From: Cristian Ciocaltea To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heiko Stuebner , Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , Zhu Ning , Pierre-Louis Bossart , Charles Keepax , =?utf-8?q?Uwe_Kleine-K?= =?utf-8?q?=C3=B6nig?= , David Yang , Daniel Drake Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org, kernel@collabora.com Subject: [PATCH v2 0/3] ES8316 audio codec fixes on Rock5B Date: Tue, 30 May 2023 21:11:37 +0300 Message-Id: <20230530181140.483936-1-cristian.ciocaltea@collabora.com> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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?1767344588238853202?= X-GMAIL-MSGID: =?utf-8?q?1767344588238853202?= This patch series handles a few issues related to the ES8316 audio codec, discovered while doing some testing on the Rock 5B board. Changes in v2: - Preserved original dB gain range in PATCH 1 - Rewrote PATCH 2 conditional statement, per Mark's review - Rebased series onto next-20230530 - v1: https://lore.kernel.org/all/20230524074156.147387-1-cristian.ciocaltea@collabora.com/ Cristian Ciocaltea (3): ASoC: es8316: Increment max value for ALC Capture Target Volume control ASoC: es8316: Do not set rate constraints for unsupported MCLKs arm64: dts: rockchip: Assign ES8316 MCLK rate on rk3588-rock-5b .../boot/dts/rockchip/rk3588-rock-5b.dts | 2 ++ sound/soc/codecs/es8316.c | 23 +++++++++++-------- 2 files changed, 16 insertions(+), 9 deletions(-)