From patchwork Tue Aug 6 11:49:28 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 818447 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (unknown [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 4B31AC3DA64 for ; Tue, 6 Aug 2024 11:51:08 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 6C4913856; Tue, 6 Aug 2024 13:50:50 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 6C4913856 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1722945060; bh=c3lLdrRtY4V+BRsUGT6/6tMSRh9ZQZeDQGE6aMuniG0=; h=From:To:Cc:Subject:Date:List-Id:List-Archive:List-Help:List-Owner: List-Post:List-Subscribe:List-Unsubscribe:From; b=M9I6tZouVlaorGo+ZJwPXXQ9fYODe5XdZtbG3s95meJ+Xg7MzZ5myTEgv+DTtDtW0 5JtfAAR6PJ4xp6y2B0xDHKiKs56Gr3ZdTdHjzl/5TqsPCWx6fk0BtWggMEKT9c6405 3oOvdRcq+1dKiKDf7aowXSeN9gVYvR7Z/kMJkM90= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 999C3F805BF; Tue, 6 Aug 2024 13:50:28 +0200 (CEST) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 335EBF805A8; Tue, 6 Aug 2024 13:50:28 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id C45CEF8049C; Tue, 6 Aug 2024 13:49:44 +0200 (CEST) Received: from mail-wm1-x335.google.com (mail-wm1-x335.google.com [IPv6:2a00:1450:4864:20::335]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 84811F800B0 for ; Tue, 6 Aug 2024 13:49:38 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 84811F800B0 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=ZQPXoZ/v Received: by mail-wm1-x335.google.com with SMTP id 5b1f17b1804b1-428e1915e18so3508755e9.1 for ; Tue, 06 Aug 2024 04:49:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1722944978; x=1723549778; darn=alsa-project.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=kV0Yieskmet+YpNp74afVHBUJdlYUWak9w5VSG2Hzvo=; b=ZQPXoZ/vh3Vl87OSSoTe0hXkCbrT+no5b/a4gU8Tr5BRL7g3YQDmGdsmcNO+5pIrKD 1ijGqCyVTBotkiJWbrrQ/RkqwH5iG+w7B+Z1kg44wjLAE/38E/o7DsKPZ7iVAQ5uDyyp XxswRRs8O8OU9ZdZ5VlNQLbzYTJRhxypcXZnCxHth0SNTL3b0Dt6fEbNj1HyCKlDjX26 0MudZckHd4cdmC8hngiiTa7YS1AzCB0giOmnkvzlybrswbzTCYY8wYj6FbqGblfKyHOS avlT/wkbw1ctlOA5EKzcIVLm09H8T5M6EEq7V5CF4OcI0sUZm4GIywPSmXU/OLVSDao7 eouA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722944978; x=1723549778; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=kV0Yieskmet+YpNp74afVHBUJdlYUWak9w5VSG2Hzvo=; b=LSwYBVbAAnHk5cwQFcdQVwSOMlJkso0fkwAdGhPwrEVaiLot6g7XV4nhLHszvqdRc+ BQiGcoLPRQbQrlCXjsArT/7PiYVBR8VpBgaHvzsmS0WASLYUFIEe1OdoGS1Z2aAHOmnM g3gQyJ8Vps1v4YOabqJb2KE1iiIKwua91B9wSMafX1Wm9fn3Qq0mVFn/cQ1YmTUck/3U ogJaSackVNR5H+y9FXsdvLjHn0SCREZ6Mq+ysLJWDcwkDMWiJ/amQFtFLYZZrD3WZCFW 2u0TPHzsWxl05FGvuimYjM1yQAi7uETsuFyYykkbo1NAxhdQRK7T45h7GTVRJ1iQGOKi fi7w== X-Forwarded-Encrypted: i=1; AJvYcCWz4CqhYkLiTQFZzOdrddkVUuwnjxhtQ5/yMXD+aECt9KxFpZANoQoLBp7l0uaoPDj5Ujvj6H7M1IbHDDceGuTXrP9YgaBm1sZvFCE= X-Gm-Message-State: AOJu0Yx29EXNRnnesRRdNd4Grt6n+btfQjCJVSVYtE02fzfiiUHO2JJH VapWBmGfqeGU98jrftFGH7oWhfNKelt23BsIV2N0yfplpO4U2CiiO7jSVh1/YxE= X-Google-Smtp-Source: AGHT+IG6f1zuYkR8BiWbt1DwVLwptX02kZYv79SfSpx5HpKdmiMF2N9rQ48DNHj2wxnv0s2vMhHcaw== X-Received: by 2002:a05:600c:524e:b0:426:51ce:bb14 with SMTP id 5b1f17b1804b1-428e6b7f4abmr94039055e9.30.1722944977757; Tue, 06 Aug 2024 04:49:37 -0700 (PDT) Received: from krzk-bin.. ([178.197.219.137]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-428e6e0357asm180287485e9.12.2024.08.06.04.49.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Aug 2024 04:49:37 -0700 (PDT) From: Krzysztof Kozlowski To: Srinivas Kandagatla , Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-msm@vger.kernel.org, alsa-devel@alsa-project.org, linux-sound@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski , Alexey Klimov Subject: [PATCH 1/4] ASoC: dt-bindings: qcom,wcd937x: Correct reset GPIO polarity in example Date: Tue, 6 Aug 2024 13:49:28 +0200 Message-ID: <20240806114931.40090-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 Message-ID-Hash: YJK43LI2SR76MSLHKQ7VH4GGFUC2UJEX X-Message-ID-Hash: YJK43LI2SR76MSLHKQ7VH4GGFUC2UJEX X-MailFrom: krzysztof.kozlowski@linaro.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.9 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: The reset GPIO of WCD9370/WCD9375 is active low and that's how it is routed on typical boards, so correct the example DTS to use expected polarity. Signed-off-by: Krzysztof Kozlowski --- Cc: Alexey Klimov --- Documentation/devicetree/bindings/sound/qcom,wcd937x.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/sound/qcom,wcd937x.yaml b/Documentation/devicetree/bindings/sound/qcom,wcd937x.yaml index de397d879acc..f94203798f24 100644 --- a/Documentation/devicetree/bindings/sound/qcom,wcd937x.yaml +++ b/Documentation/devicetree/bindings/sound/qcom,wcd937x.yaml @@ -42,7 +42,7 @@ examples: pinctrl-names = "default", "sleep"; pinctrl-0 = <&wcd_reset_n>; pinctrl-1 = <&wcd_reset_n_sleep>; - reset-gpios = <&tlmm 83 GPIO_ACTIVE_HIGH>; + reset-gpios = <&tlmm 83 GPIO_ACTIVE_LOW>; vdd-buck-supply = <&vreg_l17b_1p8>; vdd-rxtx-supply = <&vreg_l18b_1p8>; vdd-px-supply = <&vreg_l18b_1p8>; From patchwork Tue Aug 6 11:49:29 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 817066 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (unknown [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 1FEC7C3DA64 for ; Tue, 6 Aug 2024 11:51:26 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 53ECF38D2; Tue, 6 Aug 2024 13:51:03 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 53ECF38D2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1722945073; bh=6V65vXM8FQwUV7v0SXbiGpzXztfTEZwxdLqnBCxG6/Y=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=h/7E65pGH/9anHRLxlMDhPxz8bj1Q7yIrPmZZuzKezY3It0Pd+zufVw4qdzBP5+As N+nQrk5X1w9CWsIaM2xxwvty4wDJiwrF5EVnE1nDPIEId4rruCR+bI4p6j290Cgt9h 33kQk8vlntoiJJywumI2DMDxz/A5I7SUX74W+Spo= Received: by alsa1.perex.cz (Postfix, from userid 50401) id C81B6F805E2; Tue, 6 Aug 2024 13:50:29 +0200 (CEST) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 38697F805E2; Tue, 6 Aug 2024 13:50:29 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 56A3EF8047C; Tue, 6 Aug 2024 13:49:45 +0200 (CEST) Received: from mail-wm1-x32f.google.com (mail-wm1-x32f.google.com [IPv6:2a00:1450:4864:20::32f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id BA5B1F800E3 for ; Tue, 6 Aug 2024 13:49:40 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz BA5B1F800E3 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=E5CJhHm0 Received: by mail-wm1-x32f.google.com with SMTP id 5b1f17b1804b1-42817bee9e8so3649245e9.3 for ; Tue, 06 Aug 2024 04:49:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1722944979; x=1723549779; darn=alsa-project.org; 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=Zcyvcwsgz2iQmtLQWjshVBEVrR/YiNBp3RnZXLsmNgk=; b=E5CJhHm0Eo+d24zaegm0+1D3aRS3eKUAyh4ZswegGNpQ3cjJyiXHdMItiX7b/qkxj1 rBaDtfr/oM5Oon4GPhM3ImjtOa1WybDn9DTaAHQp39TQWPOpGam6eflsuVyggEJFOaJt a3Bz1fFWGh4NHodkPb7xzcsh99s+MmOc4/Huz6jdn4gnxKai/9+hrIVvr1vBOQvXNC7G Hg7iFi283KrjgVAQXhERK/+qsd6b7NPSvvWonLb0eNieMkOYpwSE+KY/HP8U+Nc3qf1m CNvp51p/F3vswuroRpgcqdIP/vOYxZsNS7LEN7W3N1QxiDFv0Pmo4xPPvksuLxK9ZyZU 1rzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722944979; x=1723549779; 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=Zcyvcwsgz2iQmtLQWjshVBEVrR/YiNBp3RnZXLsmNgk=; b=Qp2Zxgj0oI3V7OFfRZflvWOMQ6zWf4/XBoG5OUkWAQ/aH28eiSaQ7vmBL/o1UAc8dy OI9apk52aBTmeZDBllm+CwI/TQwKFRQUXhQEu2wxx4AzcZML3j6b6tp7Rt902Re7rDwu rYjtLdbXyha9/nnM3n/m3EQ6UyXynB9QsFvZtDRFA+BbfcU60OdN01pR4gKW7n+UOn/R UGFnJb+h4KkH9h3QZfK+xWpdN3RPG25rpdbLnq23qq04QBfDZj7JPDRDLSK8yEjLi4cE y62uml7uoj4Efd49OMmRP95gdn+QK6Ee3kEIM9/SE7XNeq9qth7ggloVoDTR1XSx2e2a 0Rdg== X-Forwarded-Encrypted: i=1; AJvYcCWgfrAzaH+PLsBAMCOE+FXDPc9S0Bez3junq9QpBFNa8B8kryaMA5UhpqATorTb5mrN01EgPfGA5uTc2CvtFS7eXhIg6+Nv2IM26ic= X-Gm-Message-State: AOJu0Yw0NUGlrcFVd1+phgLUf9rc4Sjxvi4GVnicYNwLNFSAEVZZ2093 bWJQLbyYQse1vhz+5bTTWWYlW+AvGt/Ng+kdvsP2et+FC/TcyvUPyGJCOUpwpsU= X-Google-Smtp-Source: AGHT+IHdNQyl3G6YqRv/AULLacN9IkO3UKdGEkDTc1z/CSIyS1focn/fP6c1AdbO/8YkYsQAvDZDYA== X-Received: by 2002:a05:600c:4513:b0:426:63b4:73b0 with SMTP id 5b1f17b1804b1-428e6b96e50mr97378085e9.34.1722944979504; Tue, 06 Aug 2024 04:49:39 -0700 (PDT) Received: from krzk-bin.. ([178.197.219.137]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-428e6e0357asm180287485e9.12.2024.08.06.04.49.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Aug 2024 04:49:39 -0700 (PDT) From: Krzysztof Kozlowski To: Srinivas Kandagatla , Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-msm@vger.kernel.org, alsa-devel@alsa-project.org, linux-sound@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 2/4] ASoC: dt-bindings: qcom,wcd934x: Correct reset GPIO polarity in example Date: Tue, 6 Aug 2024 13:49:29 +0200 Message-ID: <20240806114931.40090-2-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240806114931.40090-1-krzysztof.kozlowski@linaro.org> References: <20240806114931.40090-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Message-ID-Hash: 5Q74FFFGZY54TEPLWPYURHZDCJCNS5FV X-Message-ID-Hash: 5Q74FFFGZY54TEPLWPYURHZDCJCNS5FV X-MailFrom: krzysztof.kozlowski@linaro.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.9 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: The reset GPIO of WCD9340/WCD9341 is active low and that's how it is routed on typical boards, so correct the example DTS to use expected polarity. Signed-off-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/sound/qcom,wcd934x.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/sound/qcom,wcd934x.yaml b/Documentation/devicetree/bindings/sound/qcom,wcd934x.yaml index beb0ff0245b0..a65b1d1d5fdd 100644 --- a/Documentation/devicetree/bindings/sound/qcom,wcd934x.yaml +++ b/Documentation/devicetree/bindings/sound/qcom,wcd934x.yaml @@ -199,10 +199,11 @@ additionalProperties: false examples: - | + #include codec@1,0{ compatible = "slim217,250"; reg = <1 0>; - reset-gpios = <&tlmm 64 0>; + reset-gpios = <&tlmm 64 GPIO_ACTIVE_LOW>; slim-ifc-dev = <&wcd9340_ifd>; #sound-dai-cells = <1>; interrupt-parent = <&tlmm>; From patchwork Tue Aug 6 11:49:30 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 818446 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (unknown [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 32DF6C3DA64 for ; Tue, 6 Aug 2024 11:52:24 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 4496C3964; Tue, 6 Aug 2024 13:52:02 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 4496C3964 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1722945132; bh=qAxAXkSzlzsy3YZMDd8hkLWqB7BSzVrCOez5JOG9HB0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=TEHDZ4ApaCXblCWj5Gg8+C4Gzz0CVNYnrIXVIwVyt4m8WcfO5MFJDyJewxGKfYWtu Nib0wn/iJ7NHpu5B+JkkcjZt/bvr55FGUZ+wcPRBZh9Dvi0soanzEaF8dBGhhh4o6a SBmxs9kAG5o0FdCN87Ii4A0mcpj1Vw7U8H0ZRaXo= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 7FD7DF805BA; Tue, 6 Aug 2024 13:51:41 +0200 (CEST) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 1A9C0F80588; Tue, 6 Aug 2024 13:51:41 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 2FB01F80448; Tue, 6 Aug 2024 13:49:46 +0200 (CEST) Received: from mail-wm1-x331.google.com (mail-wm1-x331.google.com [IPv6:2a00:1450:4864:20::331]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 7BE87F8023A for ; Tue, 6 Aug 2024 13:49:41 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 7BE87F8023A Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=mECr8Xqw Received: by mail-wm1-x331.google.com with SMTP id 5b1f17b1804b1-428141be2ddso3658825e9.2 for ; Tue, 06 Aug 2024 04:49:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1722944981; x=1723549781; darn=alsa-project.org; 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=Q+W/spHaH4ZPrFJzwLUAvkjiFq7Yei24v520B0MhGrw=; b=mECr8Xqw3a58qUEP8p1bD6zWmY6yR9VYHp6HvQQERH0P1QQQiOwLVOXQNV2nkY9T/x 8Svomq5H+plXOr0qic0BqjcI43mqixVBZbKca9piv1uDg4XFL3EbrhzdrfboHzMZXj1j xb2oTmOemwJfqvDS/1+jv7AE2QxZ2cQsNyLGNf7O2F8jUcVzOS2UwvZRjmsVDtNbOqbh yug/gmF5scBD+ceCq2+oFi+pobsflH9daV9L+o8EdZ3Yhq8Eb2OieMKuKm3n+RkmvY9c rD0MEN0DesC8r3CA+Mmzqqg1qBH532MJR8xXVNPdfLPIECoMWszXM5T66aqE3Qhfgjps pSIA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722944981; x=1723549781; 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=Q+W/spHaH4ZPrFJzwLUAvkjiFq7Yei24v520B0MhGrw=; b=qkkVU6mjlAj6ir7hqL6CfeRXmyVoPUJuTgqfWWzSv8O27AcdQb+LDBITqXW6V7kMLd rJwpQWWkK5dTPpZUx89OkyelcXBiBjmbGWa6nb/0XvGxAb3l4l4uuChqr7VVzST86gW2 5QC2whuNYXC+wGMyIRdeBK4n+wt0iq2Tn9dTmG8r9xbiOFW/r4aldRigJE0cBPJwHiSI oERJJT2ygyAbwNoXQ3VVna+USaXC0AhbjKG5PPEhQOKEc7f5QR/dx0x5S2NwugrD1fVS 6P1Mn3y5cDWlS3oLSbQw5LV3M069fkiWsr0Sa+geht4whqM15cutrmHBpQWEnkpvckdr Dbug== X-Forwarded-Encrypted: i=1; AJvYcCWikVwUqZCML3V/XhvIgP8l5bmOgBZA16/IEDD4bM4rVY65F7QAvDnFwVoBQSB2vdT4MvjrRb1l3C40BEREA9OK+0PK3WppHdfHFgw= X-Gm-Message-State: AOJu0YzOTmGTb7tBgCvqhCiQa4ARxOORNBZh63LoozAR3d1njFTu2oKh gON9kUn2ImegS4Ngzb2/2B93Jg8lEaSzapaIvDjBFNRKpJ+xRfRdiEN05lGcuO4= X-Google-Smtp-Source: AGHT+IF2nxOVw8Nfp4RadNqv6qJ7oMtw9VFIh5K7+RrZpNtzMo+RT0FI7T/1iBoDUzrE75hfcrLE1Q== X-Received: by 2002:a05:600c:524c:b0:426:5ef5:bcb1 with SMTP id 5b1f17b1804b1-428e6af80aamr99654155e9.6.1722944980982; Tue, 06 Aug 2024 04:49:40 -0700 (PDT) Received: from krzk-bin.. ([178.197.219.137]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-428e6e0357asm180287485e9.12.2024.08.06.04.49.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Aug 2024 04:49:40 -0700 (PDT) From: Krzysztof Kozlowski To: Srinivas Kandagatla , Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-msm@vger.kernel.org, alsa-devel@alsa-project.org, linux-sound@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 3/4] ASoC: dt-bindings: qcom,wcd938x: Correct reset GPIO polarity in example Date: Tue, 6 Aug 2024 13:49:30 +0200 Message-ID: <20240806114931.40090-3-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240806114931.40090-1-krzysztof.kozlowski@linaro.org> References: <20240806114931.40090-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Message-ID-Hash: 2JJ73LH3BZICQGUVATFYSAJMKCFCG2U5 X-Message-ID-Hash: 2JJ73LH3BZICQGUVATFYSAJMKCFCG2U5 X-MailFrom: krzysztof.kozlowski@linaro.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.9 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: The reset GPIO of WCD9380/WCD9385 is active low and that's how it is routed on typical boards, so correct the example DTS to use expected polarity. Signed-off-by: Krzysztof Kozlowski --- 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 cf6c3787adfe..10531350c336 100644 --- a/Documentation/devicetree/bindings/sound/qcom,wcd938x.yaml +++ b/Documentation/devicetree/bindings/sound/qcom,wcd938x.yaml @@ -34,9 +34,10 @@ unevaluatedProperties: false examples: - | + #include 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>; From patchwork Tue Aug 6 11:49:31 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 817065 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (unknown [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 50464C3DA64 for ; Tue, 6 Aug 2024 11:52:47 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 015B93CED; Tue, 6 Aug 2024 13:52:21 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 015B93CED DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1722945151; bh=Ezp1DEESNAuzSnaq1SG6uwRupUnI1fkxIZaCm2O+49I=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=fFBiL3Si+vkSsKQQ/LID3jqPpw44nEaSCZkfdBzmj9ZfGKte2qeAgLe2d4giWex3W dy8oUcrZxK0eSkQTPg5r5AnMe+O4dAwlypav8oCQ72hiiOjochg3SSPewvX6FuaG1h PAeZxuLbriaJ4R+hbW1z6awV5Fj2+AQIyPONwlmE= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 38EB3F805D8; Tue, 6 Aug 2024 13:51:43 +0200 (CEST) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 1F2ABF805E4; Tue, 6 Aug 2024 13:51:43 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 01977F8023A; Tue, 6 Aug 2024 13:49:48 +0200 (CEST) Received: from mail-wm1-x331.google.com (mail-wm1-x331.google.com [IPv6:2a00:1450:4864:20::331]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 9843EF802DB for ; Tue, 6 Aug 2024 13:49:43 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 9843EF802DB Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=tUVb9Iqg Received: by mail-wm1-x331.google.com with SMTP id 5b1f17b1804b1-4280bca3960so4166575e9.3 for ; Tue, 06 Aug 2024 04:49:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1722944982; x=1723549782; darn=alsa-project.org; 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=qMlV2qVo85xWYVBMYhrk0PfH/1B6nF4UrxaGSSozyTw=; b=tUVb9IqgL+KPjIFEUHjo5h8Xt3iAmzRlVo5vNPmFSqqvK0uX+vi3G4KQ7uD/mdHJ3r ZbSOCUqQXJm7xqjfXurXvRTpnphoUtfACb5AF5XJwrku9wbxgArKqr3iz+60c930E+Xd 65z6Acc3eQUwJ3JWaCwRuL27/anXuJcTD3JCqME9fi9tqqdTeqPq671Iy7zxqKHoysUl EexGOkP/DbUyVfAx2cePt4F9bT1pN/o2SMRVdT3wNCtEzn4EjGYYWEaXdryxFSjooeS2 +YqtYv81GS6r8hR+v5r+t8Tf3TQcj2gMKsZE1a6y2EP+1VbQMnruQ6FK/MUq4mAbA7YZ rOug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722944982; x=1723549782; 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=qMlV2qVo85xWYVBMYhrk0PfH/1B6nF4UrxaGSSozyTw=; b=ZiMHWWFzYlO3Yb0xeXItlw9OqxRopMTRDS+XmgInc06fq09owq/pCzzD5TCGo45SLz 19KrnLGen3AUEzHG75odD79cwe2bbCchhecNYq7G85EM+RTvu1A7UBP/nQTtIcFWD1aq hYYNFWFvM06Wggrk0uWam125mBKzhGRDGnlARGpcmSJ6G3tGQkdxoqS0VL/+qKywY81T zIbEyBvcCnnPIUEHc66+Hkbtr0bG2cCnzJG1RKd1HRa5m+HzRBFPgoNFO5FVZzrgQ/W6 MlZQhXri00D6ohzQtYF0A0h00y2A0RvG49FF4b7K35n2H+QkjHyXuypQC70aQ+G3qL9e 8TZw== X-Forwarded-Encrypted: i=1; AJvYcCXDr2RsSFh4dQ58rvlVcHkHW+zSwE0l6QkZvPk/zRj4clIS49xKBe5SvrGgX508XJvrsobGc6Vz7g9TlrONvBI7EOPWeCCb/Qu/N04= X-Gm-Message-State: AOJu0Yz5GFfTxIXMzPHHJbQdbJZA2xQGufU6vCctHUwv8dotG6vBk2DN gWBF7LGilVmI+43HYT6gaNZkGocGF284GX9EoaIdCVStJw8jC9+juWiobwG91qM= X-Google-Smtp-Source: AGHT+IG0OfTvajOEg5ehvoF4v0jk7nAbAB0WzN58qCZhXcth2JhU2Xeyj9qeu3b8QEUJOcwwmdcrrw== X-Received: by 2002:a05:600c:444f:b0:426:5b3a:96c with SMTP id 5b1f17b1804b1-428e6b78e3amr101124575e9.28.1722944982501; Tue, 06 Aug 2024 04:49:42 -0700 (PDT) Received: from krzk-bin.. ([178.197.219.137]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-428e6e0357asm180287485e9.12.2024.08.06.04.49.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Aug 2024 04:49:42 -0700 (PDT) From: Krzysztof Kozlowski To: Srinivas Kandagatla , Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-msm@vger.kernel.org, alsa-devel@alsa-project.org, linux-sound@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 4/4] ASoC: dt-bindings: qcom,wcd939x: Correct reset GPIO polarity in example Date: Tue, 6 Aug 2024 13:49:31 +0200 Message-ID: <20240806114931.40090-4-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240806114931.40090-1-krzysztof.kozlowski@linaro.org> References: <20240806114931.40090-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Message-ID-Hash: UYYCLRF5Y7L6DSV5SYDKCQBQLF4DT7VS X-Message-ID-Hash: UYYCLRF5Y7L6DSV5SYDKCQBQLF4DT7VS X-MailFrom: krzysztof.kozlowski@linaro.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.9 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: The reset GPIO of WCD9390/WCD9395 is active low and that's how it is routed on typical boards, so correct the example DTS to use expected polarity, instead of IRQ flag (which is a logical mistake on its own). Signed-off-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/sound/qcom,wcd939x.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/sound/qcom,wcd939x.yaml b/Documentation/devicetree/bindings/sound/qcom,wcd939x.yaml index 6e76f6a8634f..c69291f4d575 100644 --- a/Documentation/devicetree/bindings/sound/qcom,wcd939x.yaml +++ b/Documentation/devicetree/bindings/sound/qcom,wcd939x.yaml @@ -52,10 +52,10 @@ unevaluatedProperties: false examples: - | - #include + #include codec { compatible = "qcom,wcd9390-codec"; - reset-gpios = <&tlmm 32 IRQ_TYPE_NONE>; + reset-gpios = <&tlmm 32 GPIO_ACTIVE_LOW>; #sound-dai-cells = <1>; qcom,tx-device = <&wcd939x_tx>; qcom,rx-device = <&wcd939x_rx>;