Received: by 2002:a05:7412:6592:b0:d7:7d3a:4fe2 with SMTP id m18csp689149rdg; Thu, 10 Aug 2023 16:52:29 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEUC3mVmCthuI7mjWhFX2K2eynILkxGd1RJ5KrRhC5GplRVe9bycuHNttCy8Tut+vNDtu4a X-Received: by 2002:a05:6300:8003:b0:142:8314:c6e4 with SMTP id an3-20020a056300800300b001428314c6e4mr412354pzc.61.1691711549458; Thu, 10 Aug 2023 16:52:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691711549; cv=none; d=google.com; s=arc-20160816; b=tuTnc86Bk1L0mkAAU8Wa1O7+Szz6vtUzw6DeP8EOS4cHXHmsNUsOczXuXMyIqKDGG+ G+CZj06QHJEvN0R6V8Nu1gWeyJTHpSuXCf/MDCCmWTQElUTj6Qv0LylH+zkPhy+zcMrx bQ6P5+aJyOD5ok0HAsqG2CuqAERk76IIHoRxZWoQpWbl6E0UMwmBf6bV0cixGedtT8yl D8mEHk1w+nJ3+VaKS/u8dPPIotSR9OSBtrSF1BMOXdLn9CpaQ5n7LW0rzvviEgdtHE9K JgxfFyxUwAiGIk1HGcl3wc8P6iAbi9741tMXWtteu99AVRa2qrbzbINZiR0loR9lO++t sjHg== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=dL6Ngh+RAsXyB4bL14IUKXOWyHxi2/XnqLmZv3QLPZQ=; fh=CC0w0QMZihF8rAnnrP2QVOFueFnFAy+Qst7Su0+Cc2o=; b=FYQuPWJ6oyJUmkuKJhqrQRoyyDROZtl0DJ970LYKk+Fz0a+cQDLvuCSA4Q4Im2YytZ ovzDT3sBfb19XCjmbXFkTczfS7PlWSga8QksbgESxk6MkRcSRhdnzavOVyQiAuF+h63h bkA1W5L9MypzAFhIHFbEdxoL+QNLiOFPkV5Z3ih6Qhl4anSGWUSYFcvaN/fbI3AiRHYI olequssodql6psGK7y5VWpGIJEXxOUDkq4089Oc73T6cr5v8JEpgyVnbpIc5macwMzDK 9JkJQKXLPydzNdzF1RSgvMjshwkZ1DA2Rk2rbGgdpNWHKFrEA/JUyh3H/4pZ1BG3OOZs hp+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@jookia.org header.s=key1 header.b=G9D1ygqU; 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 l192-20020a6391c9000000b005638dc9751csi2402510pge.0.2023.08.10.16.52.17; Thu, 10 Aug 2023 16:52:29 -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=G9D1ygqU; 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 S232713AbjHJWuH (ORCPT + 99 others); Thu, 10 Aug 2023 18:50:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47506 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232009AbjHJWt6 (ORCPT ); Thu, 10 Aug 2023 18:49:58 -0400 Received: from out-94.mta0.migadu.com (out-94.mta0.migadu.com [IPv6:2001:41d0:1004:224b::5e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 413192D51 for ; Thu, 10 Aug 2023 15:49:58 -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=1691707796; 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: in-reply-to:in-reply-to:references:references; bh=dL6Ngh+RAsXyB4bL14IUKXOWyHxi2/XnqLmZv3QLPZQ=; b=G9D1ygqU6bbwFGM7Kci4Z/8jwSyUr8F/yB30/CiYLshmPVQBjrE6hbeiDs0EpOveaKmXdN abyrTmC6w5uXLqUAqv6nXO4vdpnyGm2vkIaCUcqKdpOpHEeae7AKXB75xTLPF5mhRp+iOL Rdu1P3R3GnLiOWu8MdOte7DD9Tx8D1TPZfAAk/6146hGldYLfclp14L7G71CyDQHSq4HKG h6rEBXWFAaN3rtgXktGERljrZLgCjd9TFQVl6YaznzZ+OkMlYT/G/5jITG2vSQHB5Iu2lR 8AT2tG8Tgrrq0PLx5Rg1848NOX3W7AySaIWc2EJZ1UaQs2YOeiv3xqhC8DqxSg== 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 3/3] ASoC: dt-bindings: wlf,wm8782: Add max-rate property Date: Fri, 11 Aug 2023 08:49:30 +1000 Message-ID: <20230810224930.3216717-4-contact@jookia.org> In-Reply-To: <20230810224930.3216717-1-contact@jookia.org> References: <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=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 The WM8782 can safely support rates higher than 48kHz by changing the value of the FSAMPEN pin. Allow specifying the maximum support rate the hardware configuration supports in the device tree. Signed-off-by: John Watts --- Documentation/devicetree/bindings/sound/wm8782.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/sound/wm8782.txt b/Documentation/devicetree/bindings/sound/wm8782.txt index 256cdec6ec4d..a68061a3e671 100644 --- a/Documentation/devicetree/bindings/sound/wm8782.txt +++ b/Documentation/devicetree/bindings/sound/wm8782.txt @@ -7,6 +7,7 @@ Required properties: - compatible : "wlf,wm8782" - Vdda-supply : phandle to a regulator for the analog power supply (2.7V - 5.5V) - Vdd-supply : phandle to a regulator for the digital power supply (2.7V - 3.6V) + - max-rate : max supported audio rate configured by FSAMPEN pin, defaults to 48000 Example: @@ -14,4 +15,5 @@ wm8782: stereo-adc { compatible = "wlf,wm8782"; Vdda-supply = <&vdda_supply>; Vdd-supply = <&vdd_supply>; + max-rate = <96000>; /* FSAMPEN is 1 */ }; -- 2.41.0