Received: by 2002:a05:7412:6592:b0:d7:7d3a:4fe2 with SMTP id m18csp684052rdg; Thu, 10 Aug 2023 16:34:20 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH1ulYhwZ6FaBrk+5Cnvk76JxItBNGOvw0NR99QFHXux0MQ+62WBcmPuZKgzqIPt/+1xTu8 X-Received: by 2002:a17:906:2001:b0:99b:ed53:5c12 with SMTP id 1-20020a170906200100b0099bed535c12mr285222ejo.17.1691710459764; Thu, 10 Aug 2023 16:34:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691710459; cv=none; d=google.com; s=arc-20160816; b=ccjLcu6iGAZaLvSvHbOpAlhZghQIzTtJz3KORgBsJDOo2FbrflZMBfdil6oRXuOuyy fv5+vpFz+j+INAGbpivDWpuvLkQSXXEG67bKHA5r0fqvXUoiTQrTtHpR+33Xp8tIpXfX xYICFOqbsuUgGSzYtn4Jd+uvRqSNIkwENtTRTtPDa7+kSzsWznrq2BwmrXtPjwbzcCY1 QKnVllQ1royvkw4NbnTF+ULUhRR0r1/DPKsJuJTwqciawxhRSRAoGYHueMoLGZjpb7p8 rMcaGrBkng7zUj4/uqSt39jzh9CMAyQpLfl7BPQ7aP+uqk0dYPZBBaC0ogkOnsgY4KLj btWw== 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=PSP4YBxo8D6m3XZCk4VYqj+oPk1gw7bx7s64DSVlKUQ=; fh=CC0w0QMZihF8rAnnrP2QVOFueFnFAy+Qst7Su0+Cc2o=; b=y3bfK09YDj0RSb4QIIr+el3IvSc5B1HWXDKtv0VXSaQIyl08vfPCImj+1GTlpwBfEb T9G1Rcshh5MCCdePMcaGsS1x3Uz9obRBPEV3Cb+SU2zgEaWRofyaHFc9Giqvs8ZkJKGM YFQEI172VuhofEmbEIT700C0Vno1q98oKLtFy5RK7JwzHcCscLS2WZ1gpxBBtSMdxyMN 3E3Hc+3NAVWzH8eSb2P6Z/xQBI+dsJKyMMSCBqqGhHy2YFZZo1gxIbe+WMYJsi+ZjTAL V+iW9XHDyt9GGrbOPbvnueEBlWzJg7qWvJoACOEA3g6/k/SaOO71WZuGGMlxtkL10lQJ AQbg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@jookia.org header.s=key1 header.b=YaL7y1P7; 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=jookia.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id oy27-20020a170907105b00b009937af8ac4asi2480929ejb.241.2023.08.10.16.33.55; Thu, 10 Aug 2023 16:34:19 -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=@jookia.org header.s=key1 header.b=YaL7y1P7; 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=jookia.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229743AbjHJWto (ORCPT + 99 others); Thu, 10 Aug 2023 18:49:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38114 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229580AbjHJWtn (ORCPT ); Thu, 10 Aug 2023 18:49:43 -0400 Received: from out-115.mta1.migadu.com (out-115.mta1.migadu.com [IPv6:2001:41d0:203:375::73]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CF0AE2712 for ; Thu, 10 Aug 2023 15:49:42 -0700 (PDT) X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jookia.org; s=key1; t=1691707778; 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=PSP4YBxo8D6m3XZCk4VYqj+oPk1gw7bx7s64DSVlKUQ=; b=YaL7y1P7Ilsu4wJJ4m5+dVAfhcGn45SVAuDhFrneAsrrW8XTGYmRBcTgk5UEjCJegNEAOk Y8iyz9l9ZfPGkdMOshA2ap1l3Q4YizcEqq8tLO0soHkyVLqoHtp/KKfuciEe1vosleWm1k ilsOLcoGVqeLnVYY1nBksK5X1P5XZVEpysZTmWqgYJRd4BQ+H1+C70jcOApmyO/f7WThO3 Aq4rB+OFo5jUcrt3z8jnduHxOTysTcHrGh6XuqCYzYXsztTdHraQBdjJ4282mB9BfrBCJ6 vaQeDkB0uWMLNH4QM261dAkPK1QMVHLggVoyH4h8RAwleJKfOAac7HMoR8Pu2w== From: John Watts To: alsa-devel@alsa-project.org Cc: Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jaroslav Kysela , Takashi Iwai , John Watts , patches@opensource.cirrus.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/3] ASoC: wm8782: Allow higher audio rates Date: Fri, 11 Aug 2023 08:49:27 +1000 Message-ID: <20230810224930.3216717-1-contact@jookia.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_NONE autolearn=unavailable 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 The wm8782 supports higher audio rates than just 48kHz. This is configured by setting the FSAMPEN pin on the codec chip. This patch series introduces the 'max-rate' device tree property to allow indicating which rates are fully supported by the codec without accidentally overclocking. John Watts (3): ASoC: wm8782: Handle maximum audio rate at runtime ASoC: wm8782: Use max-rate device tree property ASoC: dt-bindings: wlf,wm8782: Add max-rate property .../devicetree/bindings/sound/wm8782.txt | 2 + sound/soc/codecs/wm8782.c | 49 ++++++++++++++----- 2 files changed, 39 insertions(+), 12 deletions(-) -- 2.41.0