Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp1262687rdb; Wed, 20 Sep 2023 04:36:11 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG4G78D9I5/AFc20K+nIbfRO1kr2EDXqA4MnB+abnEkdIf+EIV3Dx881gPgMoH/UGgZI5pZ X-Received: by 2002:a17:902:b907:b0:1c0:93b6:2e4b with SMTP id bf7-20020a170902b90700b001c093b62e4bmr1754061plb.33.1695209770972; Wed, 20 Sep 2023 04:36:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695209770; cv=none; d=google.com; s=arc-20160816; b=WybjO+vy2SwekuKYZMrIcPykO8TTyaDBbQfwMasCMVTBRHjfslcE6P8ESjPQFdhGt/ +BsgCtaSasKSfg+MDLNjk1NgstxICy8JnB7MZGC9/yaXodoEYWvCci9y++gb3yxet0iM Fx68s1QOfFTm9tsBBQlFKpPla1djzUlEZp//BlMTKSWyqq26Afx5oItg/e9oHIba2/Hu 7SlQKoAawfumrnSUUEdAs6uAH9V6gm6Bx6r7BU3xWrGlIwzAaxtZFMMt//t8Ky8rCHat ONodbpodzSl8YwBUH2IM4NUbYmufvDos0vW808vWIeDZCuPexB7JDB3c+h4YtnXwcuiU UaKg== 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=f4JO3nPtbJqM3dkylLDmImTDJGUU/OSMwJOj0UlM/Ak=; fh=o2U44G9A4LTpJ59K7pAEIGHu4kjGtR8t+y7j7b/fsto=; b=xb4QBcF/yYGH67kuLPNJJgJlypot+5r7Ye506vTDWaGgc6v1ISi8Y2p667wXq3vazg LZqfDx5Wx+O5AmLHv0LCpHqnMg0XjdbJZoTZfm67SnN6Nq4EpDU8S//0mQP3b7QPp6cb XRUPYiCFlGRIcjOXvSXhcfkHPgXqG748z/wyUmYQjkeqIr23Wc7EnayGYJQqc6yyZK50 49DjOJ/eHMkfefEx+Pta/XRBftw6/6oJt+EM0RCnDvCgmDFysL8ziWAa5sDT6+euJl7S ix6WAkaqGu1W5uhB1EoTqpFo728EapsVn+Oq74oGcGrkkATasKlm4X0bvGRMIctmtXdI QCSA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@jookia.org header.s=key1 header.b=TfnB1Khl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 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 groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id z12-20020a1709027e8c00b001c45291b6ebsi7861175pla.272.2023.09.20.04.36.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Sep 2023 04:36:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@jookia.org header.s=key1 header.b=TfnB1Khl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 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 groat.vger.email (Postfix) with ESMTP id 7B88880A3656; Mon, 18 Sep 2023 08:22:41 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239718AbjIRPWU (ORCPT + 99 others); Mon, 18 Sep 2023 11:22:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54676 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238597AbjIRPWH (ORCPT ); Mon, 18 Sep 2023 11:22:07 -0400 Received: from out-220.mta1.migadu.com (out-220.mta1.migadu.com [IPv6:2001:41d0:203:375::dc]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0D1F51BCA for ; Mon, 18 Sep 2023 08:19:33 -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=1695042967; 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=f4JO3nPtbJqM3dkylLDmImTDJGUU/OSMwJOj0UlM/Ak=; b=TfnB1KhlXidh22YPceMlN18+XrH4ujdCm5j8lJg6uxN9ms0aAHROG1HXUcT4YkltlOJYLO 2w/YjChRnnByz+GDdIo2GwmjAWlDJQ9o/B9oH4KB4OfdZmieUCqQmQ1HEbS5cPDi7LtbCJ HBuCUmHtOmgGynv7u0KrBIZa0MiGkRbf17IqPjTyywqjqk2q7nE5Gwsb2av5HPRDzgCGWW 3MBUHEsF441/67YtaMlH+THdpg/Fl/c6W5oWMLtmrokAbdoKqH/8rEDl6aoHn3ObzKrVRU KME44FGXd8fiFy9DDfRf4mF4sFeU0OTXzGEz3Eqz4FLX99d2CViK9O2/bAW7zg== From: John Watts To: alsa-devel@alsa-project.org Cc: Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jaroslav Kysela , Takashi Iwai , Charles Keepax , John Watts , patches@opensource.cirrus.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v4 3/3] ASoC: dt-bindings: wlf,wm8782: Add wlf,fsampen property Date: Mon, 18 Sep 2023 23:15:32 +1000 Message-ID: <20230918131532.2257615-4-contact@jookia.org> In-Reply-To: <20230918131532.2257615-1-contact@jookia.org> References: <20230918131532.2257615-1-contact@jookia.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email 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 (groat.vger.email [0.0.0.0]); Mon, 18 Sep 2023 08:22:41 -0700 (PDT) The WM8782 can safely support rates higher than 48kHz by changing the value of the FSAMPEN pin. Allow specifying the FSAMPEN pin value in the device tree. Signed-off-by: John Watts Acked-by: Charles Keepax --- Documentation/devicetree/bindings/sound/wm8782.txt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Documentation/devicetree/bindings/sound/wm8782.txt b/Documentation/devicetree/bindings/sound/wm8782.txt index 256cdec6ec4d..1a28f3280972 100644 --- a/Documentation/devicetree/bindings/sound/wm8782.txt +++ b/Documentation/devicetree/bindings/sound/wm8782.txt @@ -8,10 +8,17 @@ Required properties: - 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) +Optional properties: + + - wlf,fsampen: + FSAMPEN pin value, 0 for low, 1 for high, 2 for disconnected. + Defaults to 0 if left unspecified. + Example: wm8782: stereo-adc { compatible = "wlf,wm8782"; Vdda-supply = <&vdda_supply>; Vdd-supply = <&vdd_supply>; + wlf,fsampen = <2>; /* 192KHz */ }; -- 2.42.0