Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp3562911rdb; Wed, 13 Sep 2023 16:31:25 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHecnq6Zn2m6rPvNL2NXyhwYUvZRCaLv5BONeASmHP5u46FYktklYE6KZGnmBJEQdaHOOPr X-Received: by 2002:a05:6a20:8e19:b0:111:a0e5:d2b7 with SMTP id y25-20020a056a208e1900b00111a0e5d2b7mr3548827pzj.4.1694647885194; Wed, 13 Sep 2023 16:31:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694647885; cv=none; d=google.com; s=arc-20160816; b=nobrwUUa2rg7wD7xmESt0YAYLwGccj9EmhuA1xOkTIVd6Rfh2jSqzDpkxKL3ysl2ch hql0dUhPKpNVkrR8+zHC0VywyIVJyGgx67xoof+DK0/PBVyutUienBN2eDUWzG6WS28Q 6jlghicGQmfj2kMgsMP/qrjLMcVpidCol11bZatBPwRfGK9qYDo3A5gnTziug3C+U5f1 NV4FS0qvJRFoFiegUnH4yzUQQGujJ77bDT0WCMsKYtgGeEGNK0McaM/OeN7YuIpd61PL xuhmwdQBKMWBb3doV9iKkefJeF//slQd13KM3duP5D/fcom5YgoZCnlgnnoNo378j6xy 7g6Q== 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=VCy5Fm2ZbO6JXF49obe3yELdCB4LbYDYhIgHM9669eI=; fh=K2LUYf+eeIUUOAFkE7bz3JhUBLdTtfJsbrtjFyoTvGs=; b=Ne1RNXO1XdfqK7c/ii2guJanebLl4wMDxHf8crj5VDsXbH15i2nGsfnWKlj6Rgd6SR yER1XamPs/lv/BU6WkJ4vHoTu8NGx7YVyilLXVOnIowr9CgFQmunreZMDOACLwLDDS0+ 6BvThWkWt1VJKdVWuMaGp/xiL5q2p1SSCc/UY5PEIWhgvortozfEBfbL6WZiJbwrlCbm IOZDvbGWt8AAxeQrq2x2Rxatw2eJWqfgyVQPP8+jwSyR6O7KshCuat+T0nl7J7am4gLz DIdygQ/uO4jRq9AgAeBUCvJwrVCzW/HxjIXjzG5FP+Ef8fkXgNpwVGeiBM0eHi01Zk1O nSYQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@jookia.org header.s=key1 header.b=MopDdj+z; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 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 howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id i10-20020a17090a974a00b002746a22127esi196938pjw.124.2023.09.13.16.31.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Sep 2023 16:31:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@jookia.org header.s=key1 header.b=MopDdj+z; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=jookia.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id B3FB680B8DCD; Wed, 13 Sep 2023 10:16:40 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231202AbjIMRQi (ORCPT + 99 others); Wed, 13 Sep 2023 13:16:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43162 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231147AbjIMRQH (ORCPT ); Wed, 13 Sep 2023 13:16:07 -0400 Received: from out-226.mta1.migadu.com (out-226.mta1.migadu.com [IPv6:2001:41d0:203:375::e2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1A025A3 for ; Wed, 13 Sep 2023 10:16:02 -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=1694625361; 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=VCy5Fm2ZbO6JXF49obe3yELdCB4LbYDYhIgHM9669eI=; b=MopDdj+zlz9nV8t6ZnIoNnxG2DgoGWJxW4X6tFEfIGfqeldt3QDA5A9focV3BTzgftWxu0 tg7qLsc9XLXozEqHe71TBgD+tQ1tr8AA4AXvj3cLCEwfIslmO2/pSihOfl5Me2PR2nByN9 F2Lq1jfD7j49idNUYIZVAZmcaWcFqNQRaCLgi4tZNJDwp7BW5azuHrGP6gvcGzAknJ0ctH XsAJkBVUBD4iki/fPv82AXwPiXwoCBooxo7sdy9zpx1o1TW+F2TITap21LSIp/L7cPOsaF L0obz0Xfpe1CxctwEil2y2dPZ7C2/ze6/OKxMp9MF7Uf83I+LBUq0LQYiZavOA== 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 v2 0/3] ASoC: wm8782: Allow higher audio rates Date: Thu, 14 Sep 2023 03:15:49 +1000 Message-ID: <20230913171552.92252-1-contact@jookia.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Wed, 13 Sep 2023 10:16:40 -0700 (PDT) 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 'wlf,fsampen' device tree property to indicate the pin status and control the maximum rate available when using the codec. v1 -> v2: - Switched from max-rate property to wlf,fsampen property - Clarified property is optional, not required John Watts (3): ASoC: wm8782: Handle maximum audio rate at runtime ASoC: wm8782: Use wlf,fsampen device tree property ASoC: dt-bindings: wlf,wm8782: Add wlf,fsampen property .../devicetree/bindings/sound/wm8782.txt | 5 ++ sound/soc/codecs/wm8782.c | 66 +++++++++++++++---- 2 files changed, 58 insertions(+), 13 deletions(-) -- 2.42.0