Message ID | 20221116053817.2929810-10-dmitry.torokhov@gmail.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp3107621wru; Tue, 15 Nov 2022 21:49:59 -0800 (PST) X-Google-Smtp-Source: AA0mqf6xbND6mcombwjBJ5WM7t/oppsWT3JLNuAXAWNyaJsahddaVbTREOUBP88qnUgeoMwhPdOJ X-Received: by 2002:a17:90a:1101:b0:213:625e:896b with SMTP id d1-20020a17090a110100b00213625e896bmr1990069pja.175.1668577799319; Tue, 15 Nov 2022 21:49:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668577799; cv=none; d=google.com; s=arc-20160816; b=frj+ZtxOwzl6hVeTGCuil4MeEr4GfGc5k8WycCUQ7cSevgg8dnxlhzU7Nj4jscmkcr /aL2BgW4by/O+i3s3c0BiHhXcKffN5syZNRRgs0flDhmDNo941W3XzZd+VOsxdBEFY1B rAT5ZAvjA2ZRf4/vKCT5rAVtWAJbq6Jti59ibMRwer1EQHC7V80GmFd+ty+ofeiIZ3hY OuQFhuIiansWxz7wg3b4R32/Mds4PdDsGdH6fuT1s0xUG5Io8JmV8B+0G7ANchvD8CTR uG1JAhOtAXV0UwgQz00FXh/+Gc5sSKYVUzHXk9dEu46aHNUmydfLnAlE6oMvjUBRiutM Gztg== 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=4MEFKtk2jr+pIrd01Y8QsB7lxnOrOB6iK6YPYP1nPMA=; b=rzSopxhLGPDB8emapNMMI8usT1WuemMLU7QBc/VQV0fdiBwTmVfrqtW2JaV0zq4nwC zmKUfNvYMqIg9z1C/qEQXU9lz4sCr/fSQp8FR0qamZArEKwz9xlcU3/gsoDRaa1qEiTr 3g+HaqoV0iqCS4zqQumbpYGSU/94SiqOnhZY7eUGH2JZpC1SEKsRXLZw088su3Szp2rl K5YP5C6TQFFggJ81SSh/K26nGFoOlUSkkOuSxz0FJxGYxNECWLMmByXISbh+SC4okEFe fe8Y8ozJKVQgiXgZUnHFYkfnUs/UcyTVKfenBWbHtbjmR6tQt20ksocwElOOfDINcvm9 pBfA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=ZRenwPio; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u191-20020a6385c8000000b00476f0b7d1f1si138027pgd.804.2022.11.15.21.49.44; Tue, 15 Nov 2022 21:49:59 -0800 (PST) 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=@gmail.com header.s=20210112 header.b=ZRenwPio; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232099AbiKPFjP (ORCPT <rfc822;maxim.cournoyer@gmail.com> + 99 others); Wed, 16 Nov 2022 00:39:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54324 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231802AbiKPFil (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 16 Nov 2022 00:38:41 -0500 Received: from mail-pg1-x530.google.com (mail-pg1-x530.google.com [IPv6:2607:f8b0:4864:20::530]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ADBD395AF for <linux-kernel@vger.kernel.org>; Tue, 15 Nov 2022 21:38:39 -0800 (PST) Received: by mail-pg1-x530.google.com with SMTP id f3so9277541pgc.2 for <linux-kernel@vger.kernel.org>; Tue, 15 Nov 2022 21:38:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=4MEFKtk2jr+pIrd01Y8QsB7lxnOrOB6iK6YPYP1nPMA=; b=ZRenwPioW9g8p00PEamyGH8jzVZok76Ys2CSw60kjNNdSavkAdfHlfoLivu3CxFHJs A8oJU7Cd0PUGcEYCpbZmnuUfoF+/2mJE7q9IFfVdJEOkIx9H/rrf3tWqnxpFy+ibOpw+ hKAHZZh68owi/D985vbBZkzUYBsNW5EySLu9t/fW/TPXI/KRtNoqfdugUHrGqOy2A5cz X296GIv47gk0p29rBQ8rsjNbe9Iuq0DF69sugsWyXAiO+WWAZhQw/nT/MawRF4yfiofC xZpEb0ZxygrvpdDQBmMFf/d4gC/1eoW1GW5/X8+uNFS31b7DdyxDChWAIrvnn+D/SR5+ LXXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=4MEFKtk2jr+pIrd01Y8QsB7lxnOrOB6iK6YPYP1nPMA=; b=WffjFnbr/4M4G2JQT4coB9Ou6Nr6YT35L2VhmciRyVdyVBEewAg//kUHwtgpgx/9t/ LbQGIuvqaUvsmxh7vfTkf1nhqz81eFZXyz7/1z4NYTNZd2MHkgiCnGFPajJ64z6DRMpX zb+IJzRWGJNV6OKsXNNCOMTnDwOVjS89wXesb+pThbLtzYhjHXvWxmjMVMspcMn4TWUS vwu2Ueo5RNSzbDCt1p7GA0anNaIOtrtBjz3fZ9rbhv04hUUth8enY72RN2qhwf/BOVGt SdtzMsmdBPylmilBNiijI+CH/bpTLTgS/w/O1ed2/73yw4aI8Q+F9Kt3NDrAuTMpcEVK 0UuA== X-Gm-Message-State: ANoB5plrrbEGL58O9kGqvPWAR6c+O1TUq8w2Pf9OBby75DxOn9yDla3/ XoznDeH77805l1vkdgAyX44= X-Received: by 2002:a62:6001:0:b0:52f:db84:81cf with SMTP id u1-20020a626001000000b0052fdb8481cfmr22052595pfb.26.1668577119040; Tue, 15 Nov 2022 21:38:39 -0800 (PST) Received: from dtor-ws.mtv.corp.google.com ([2620:15c:9d:2:2d36:e9a0:170b:669f]) by smtp.gmail.com with ESMTPSA id ik13-20020a170902ab0d00b0017834a6966csm10881038plb.176.2022.11.15.21.38.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Nov 2022 21:38:38 -0800 (PST) From: Dmitry Torokhov <dmitry.torokhov@gmail.com> To: Mark Brown <broonie@kernel.org>, Liam Girdwood <lgirdwood@gmail.com> Cc: linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Subject: [PATCH 10/11] ASoC: dt-bindings: wcd938x: fix codec reset line polarity in example Date: Tue, 15 Nov 2022 21:38:16 -0800 Message-Id: <20221116053817.2929810-10-dmitry.torokhov@gmail.com> X-Mailer: git-send-email 2.38.1.431.g37b22c650d-goog In-Reply-To: <20221116053817.2929810-1-dmitry.torokhov@gmail.com> References: <20221116053817.2929810-1-dmitry.torokhov@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1749630634733427816?= X-GMAIL-MSGID: =?utf-8?q?1749630634733427816?= |
Series |
[01/11] ASoC: ak5386: switch to using gpiod API
|
|
Commit Message
Dmitry Torokhov
Nov. 16, 2022, 5:38 a.m. UTC
The driver for the codec, when resetting the chip, first drives the line low, and then high. This means that the line is active low. Change the annotation in the example DTS accordingly. Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> --- This was sent out previously as part of other series. Collected Krzysztof's ack and added missing include per Rob's feedback. Documentation/devicetree/bindings/sound/qcom,wcd938x.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/sound/qcom,wcd938x.yaml b/Documentation/devicetree/bindings/sound/qcom,wcd938x.yaml index 51547190f709..3cb542d559c6 100644 --- a/Documentation/devicetree/bindings/sound/qcom,wcd938x.yaml +++ b/Documentation/devicetree/bindings/sound/qcom,wcd938x.yaml @@ -110,9 +110,10 @@ additionalProperties: false examples: - | + #include <dt-bindings/gpio/gpio.h> codec { compatible = "qcom,wcd9380-codec"; - reset-gpios = <&tlmm 32 0>; + reset-gpios = <&tlmm 32 GPIO_ACTIVE_LOW>; #sound-dai-cells = <1>; qcom,tx-device = <&wcd938x_tx>; qcom,rx-device = <&wcd938x_rx>;