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: 13754692 Received: from mail-wm1-f43.google.com (mail-wm1-f43.google.com [209.85.128.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 702F91BF30D for ; Tue, 6 Aug 2024 11:49:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.43 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722944982; cv=none; b=r5+4U3V+XQNelFR0HhnOHj4+gN6nv64+klv1SQ6zbdMIWCunih9qwWj+YBNmfdC7pIvk+NhzYmvf7IAVvT3M88z7oI2qQpJ/GMSL/ZckdrQUj33H7L1C/k8EThe/9+pLcdXwDkHKKT2+vQaNqNUQEGTHqWMEUzHF8OQ1kzvNl+w= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722944982; c=relaxed/simple; bh=c3lLdrRtY4V+BRsUGT6/6tMSRh9ZQZeDQGE6aMuniG0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=d4s/8UxL+QesuTebmpTdIrxx4a6UbEU2+ofdOjJTUQr2Egmo/Kfdt/qJTj0f82XoTN8TsoRp4N275YHe3uDB29s8TsrjJsphQDnjRfNmWiMIRroD2YJyYsnwo2YRES1LQlenzE1KQwEN6sb3OF/evS6ilcMPlCa7RhoNmACeNZU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=GvWXNBzZ; arc=none smtp.client-ip=209.85.128.43 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="GvWXNBzZ" Received: by mail-wm1-f43.google.com with SMTP id 5b1f17b1804b1-428178fc07eso3486215e9.3 for ; Tue, 06 Aug 2024 04:49:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1722944978; x=1723549778; darn=vger.kernel.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=GvWXNBzZ2Ov2nPfkZSiNXJuKk+1nWm+s8MAvw9aeN6+Ue0wnAxYjnGmYAd0Jtwjw/P 7y4VYhOOKLnG4AdyHch9c+o6+jvkPdCp4I7KSyTp0M8RGYt6R4I/u/pHRwVZR13axMxw 4STkcNe3/wMjAyN+/YkGKejvs2fzptm5nWM/KFDGLe1ageYBGq9T1f/6ArN0F0cNjNmp E2iXpn5Wr+4qF0qyQUJ8BU9nZbfZttAC/4HhgKBhdKyv6QBAw29oK2NQTIIMOqQPmwU6 RN/zpktzEJOynZwnWUe92aQihXWRAVGhYKv/A6XJdIZsGN3rh4tP4XzdNAeNyCFv9KKt D+6w== 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=kIbeaYs2hpmXCm8PKAY+pC6BnoSxGneDwYNuL0xCoIrgMlxzivmDE0FRofh6eTeWYH Hbba29LD35Ba0vAb/Gx2V1Lu3aDC8HnavEze3/mb1o92dK+H3kIlIaiiX6ek9fZA31fW cgZusD6T1X1Qj2k6oIr5UbfnX/cRgBXyJ1avZ5Q84H/TlcmGosUsGH5QkE0CeGcSMeaa 02++MUzZINuffSuJtrpoZCaUwxrBb/Nw4AFOsC6NcNSgr4oJFiqHhtzNU7bE0v4sXZgT anLRvuLUBkDySzyQbILNP6FJJzvGLPMK/Yab8H6QshzZ/gSbXfWr1pQ+UWJQOjwa75Eu YjTw== X-Forwarded-Encrypted: i=1; AJvYcCUCBjlB8/O0aOTRBUFxI6wsHgDn828/M3BlxH33kcACOu8LHRNYpPmuso2/NWvmzGHmGvFnP7o8p1EhKxLCrDbYqnA+01na4cmlC+w= X-Gm-Message-State: AOJu0YxQuX+wY36BTQI/KmS99DqTR4iG9JEvMU6DGCMQRLNKoWoLYm5E okR2/f6027fld8ZvBb6szz3CwGricrc1z6LAJRuXJOYcaqihX2UkS8mN7+YPM6w= 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 Precedence: bulk X-Mailing-List: linux-sound@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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: 13754693 Received: from mail-wm1-f54.google.com (mail-wm1-f54.google.com [209.85.128.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 373851C3F02 for ; Tue, 6 Aug 2024 11:49:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.54 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722944984; cv=none; b=JkRn1fKqgnmjRoXgssSqFOB47fYR3QEwYTIR9ly4LlTcK0Eve0XhP+6X9Xybb8CTg5hxYW9V34/sO6zcERmazZZmhOx2pPsA5FQqyDyAviXYzh9y52MXG5aInYCdoMby3B5sdz0zBhp5yzIzr3o61jAUld211//G5P3F5XQFqSw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722944984; c=relaxed/simple; bh=6V65vXM8FQwUV7v0SXbiGpzXztfTEZwxdLqnBCxG6/Y=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=ZkJoUEDvCmRdVMOf7oGIk1r9ObzUACWYaOJj3kfnUSFqyicj538SDUqAokVyVfAUDVfBC7CSs8KDH7AVTYvkqBRQKYP28NaB+Opy6XF0rWPD+dlQezcHmgZ4OzKn2C76lmAOP2Gi+2TU3whhCtd3QT6HiuUspgcrGCidUtaIUlg= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=wSNBgM19; arc=none smtp.client-ip=209.85.128.54 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="wSNBgM19" Received: by mail-wm1-f54.google.com with SMTP id 5b1f17b1804b1-4280bbdad3dso3720825e9.0 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=vger.kernel.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=wSNBgM19l1rWghz/Y+iV07S+3KyuVFlPOmmltuNp1SW28LhGJgTUoWFpUpIvcvh1S6 0KbiDtj1TbK/UVaZqOmk+k7ZGnSRyFvDTw02mboKPHnQKOFFcQl+BJj+dgN5jWdI+s3o 9scMRHPYWFx0y8oyC8S64vVgwhi8DWUvBp0Ov9JNGEPsFPoUW6NSXZmRtPBA6df5Rb9S kf8vEqr4OxQuwdTCB60I01fVWLVktzZkLsoDrfXPIGkLQOfvjyUndxxslmFrN8pN5Jl2 cG9pfHMqIABHhh+o1Ov/rkS4RhjFHGKzIkch2ks7gzlJO52YaDJYdK3EQJOqYUtFcBbd cWjA== 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=Wmu3By2nIdtw1C9QN1pjtGPdvFYWllfXfHxrHIKD3HJC+LKvoWOMg/BTjad0Gop8CI OB39g7mNO0Jz1Yyxp8Kkj2HCU5C5S+ExPjJstkJlq6BoCO9+K+/MIwtUg/j9qDXdZJkC rjwp3Ex4PxD7kls9NGbRVtjY5xwLEscF00YbV8H9A0REwtMbkee02MEqItzkWbpLpBSJ xFi49wJMYg3z/3yqlt9XpFl/F7pUcg4vzpJoHCxOTER9L9AOwXQ1RqvvURbLxfSXNqW/ Jr6HSWfIaGMHa62qYOCjwDR7lf9kTmv7WWRBpjAbTFFtdEId5O18tMaFrpsdNJj5iTSc s4eg== X-Forwarded-Encrypted: i=1; AJvYcCVHs4Yc1p7+KO4sRXx8r3qxVdGy3b0bmvr6ldrOJ+tVQpy3444KGxwm56PSiTymm61dk4rMpNHCnsJ5E4AZ1gN1oXIho+t5ya0GIvE= X-Gm-Message-State: AOJu0YyBq4g8QCJB49s/fCgO4pCziT1S/sTGtsfFEVO2lL/3MNDTc5pJ p280eOfuxt1zQnawJaseHIsJ34kSXJiIMH4suLJ3nByY41fJELpDZvNJRoHgpRQ= 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> Precedence: bulk X-Mailing-List: linux-sound@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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: 13754694 Received: from mail-wm1-f42.google.com (mail-wm1-f42.google.com [209.85.128.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A43791C3F37 for ; Tue, 6 Aug 2024 11:49:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.42 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722944984; cv=none; b=ZkO4NquWYRER1hPKlfL1tK4D82HKq/T9xKeozafcopyLT7aiAv46Cu2ZK3MSlCRoLbvbBG0//Pdu1cmrk/iU7ljwUJEEi6bbNJL8ioNVUQ/aA1u7SQZY079ARt+15GZnDXkgksHOLIkH5MrDtR5TYrn2deLSL28pkEtEuzCnyzQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722944984; c=relaxed/simple; bh=qAxAXkSzlzsy3YZMDd8hkLWqB7BSzVrCOez5JOG9HB0=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=mzR/NcFxxrLavJ2cwISe0I1xaQcUQ5Qb4DPrvP6u8XnOUYe6zTCQm+44O+H27bwbjk9zLMwrsPc53EyGXOf+UchLgRaUwvkmkr52JI4qkS6KyMhBgcK16uEyu9J2hbnUH7uGcd2NFMDAmzwfXWI19Hc7+wJtF24BfbtRBLYx8hM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=wpNbaTNg; arc=none smtp.client-ip=209.85.128.42 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="wpNbaTNg" Received: by mail-wm1-f42.google.com with SMTP id 5b1f17b1804b1-4280bbdad3dso3721065e9.0 for ; Tue, 06 Aug 2024 04:49:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1722944981; x=1723549781; darn=vger.kernel.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=wpNbaTNgSFvn4N3OIKPWCOjxoy7EsTRSqCUe99fyKqiJYgBYtf4TFHaHaPciyYWtjx bufSOD+BPB5rq5SOlYLNxHQEop/joNiToonuqwsYQ7PldYsukHAYKe1zDzM/W3J1HVmk cxDTGC6hiqPP5ZBNFut21NTMSXBe1o1yU4MIhL9aVuDwXAGVdxm3pHR4ukSD2RfSBRii K2t/Awvh2i+H63MrknPjaIBLwvtTthd22OsCuMIlmddLui9BvPfGbmcuK/fIYE8k0xv+ KpWESIRQ6d+7xfP8LYvnQXjCYTsnaamz1mszVJSGPcKaBBlzndvBLTKTaCzuaxfM5u6V Vpfg== 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=s0gBPNfkqSZ3306RxMarrtgjQUqxIyTiUdbeXfyp9FJrrtyjvHf/2IrJRBrQTqwJYM fO/wONR0nm/B2AC18y/JWC8alQDE0UB0TgDHUmSHL9dEXZMM1V9V6sYfkJMX2+anaJHv CKUS9ynU/23QHegXfgkeFtG2xleBzJCXKgO5X1T3wXZJTIQm1TV0BRpQyHPbPwgKUOsQ PP2nrgUqI3h0S3NXQv1xlAlI52E5kJ7PJNJk/I8aWGckvU6xubH1Zsi5zT4ZA6PovXGa VcH1Ne3QGe4/6GyZwH4oPjukfr+fZJkDW+vlm5wayLG0o19i6m5hWUXDU7HWQSN6/AER ehiQ== X-Forwarded-Encrypted: i=1; AJvYcCWZx4syxWAeO3auKA40crhqr2HxnnJDKVDlsKIRYIqe2Md/ZsTo6xm9aDi3sSLBF1w1pJOVfnZHjQeZBwAbkyfcE678fTD4zMyHW5w= X-Gm-Message-State: AOJu0YwM2F2zmSgIJW4TiFyClHvym1Qj2fLPh0VDY2ZheVG3fUZaHA9C L4bDQD099gAUndXsQmiHrO9+SuWMlqGJP43xW3vkuxPVnSx7ujQ2Z6MeDiGext8= 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> Precedence: bulk X-Mailing-List: linux-sound@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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: 13754695 Received: from mail-wm1-f51.google.com (mail-wm1-f51.google.com [209.85.128.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 40A8F1C461E for ; Tue, 6 Aug 2024 11:49:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.51 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722944985; cv=none; b=RxLEqHKf7xKXk8PtXLDWnmKNvkoJV/p862omGG0LX7DTMVMoAIxX6kZEvLEhDHz/ksJ352pB7ZdLnMlkf06vwyQCqCSO+UV/TOIFnxRFtugHRP1V19dnDpb9GWGF276joxmUbRRAiS8UTu3r+yH5e8VsID7/Q7DjfVoA6+fyxZQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722944985; c=relaxed/simple; bh=Ezp1DEESNAuzSnaq1SG6uwRupUnI1fkxIZaCm2O+49I=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=nT7OKrRUVlkA5KtZom8Ncas1YbF3NMOQMuUz5sL9ekGCWztGw6+he5ZzmXxE5a855qA3a+w9mlB5NuCUc5tLN6cWCxQicxMqvpnrfIhTMrUyyB7MZ/mx0p9OFdNFrw1oj0VsNkQ9EDURFGDqLx2x3CFv6rS0H1xvSA12pxR+qtY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=zlZ41MIW; arc=none smtp.client-ip=209.85.128.51 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="zlZ41MIW" Received: by mail-wm1-f51.google.com with SMTP id 5b1f17b1804b1-42812945633so4321625e9.0 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=vger.kernel.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=zlZ41MIW91eleJp6jQ/cNAGsszGoWa1MyQY2J9lpfpvVAHZJN5ygagEcVSmOHAh5EJ MRhlrZNm9cpce2/bhCPIcHMSH/RDF3eABEiNm8Mkx2sX+SaVIJ8na8J4aToA60hf9Xdg Tfyk/uKY0eggPguFHx42CUzxeqIrcQM4KmbD7cNvm7oT1Lm1qHfMO9i8WLVUtpEDfQ23 3JYIZpM7zSqBHPNTPpBRXmwafNJ30pwPubjlMFLnBjtRQlb7wZAMMi9zyNOyZ7zBzkqT 67IjJAzjeT0up639F395Qjb9t2HtgrYg8QGTQBAt4MSbYAI/kmd1Xuph80Yj9iJTh7id /u+w== 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=MAAd0NniFNhJkcBIFwH8lOUya7911cc4TrP9Kvl4xzIrx5lUOo1/D6Z/Z0e7AVwhwi +J8BnbqsBUyrBg6bQ3Nw7a4aM/prIsG0DpOko/8rjt+OWBqqfhuKMfkqNR0yA5QF5k0l 27fd/x+0wmY7ItrrUJsem2ZHM/w7t+nuOsVwYxwbA3yb6/WKC3RRwl843cCzBD9T1FQo JILa4+uUQwGiOwX8WADq6yxsktX/cUsbKhoihUzgCOqQbc5AVL+RU3Tz+gMATVf7COcH Dt+zw0RR4t4HhEBkfSgK50G5xDwk7uuW7LYi9zhMGIe1OmuEAc1+QqlEua5g9tEWxR+M 5IoA== X-Forwarded-Encrypted: i=1; AJvYcCVpZ2RV0dJE9maHIO6rAM8KcS+GvL4UAzQBOqhuupnlxan0xAsu49ySpBZil5TcXzCUsZ+Gn1NRp/xlSTzy72t6ZAAwICbNPL+0tBE= X-Gm-Message-State: AOJu0YxNEzMdCRZFoaxXZCLaMg79j3ahVS28b/jURAa03eTV9ynR32yr NZFICV7sQL7zJHtDSePqutZQQp3i4ibjsDKuy+OvJYPcstHXpUb9Ij3vcUnc8m0= 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> Precedence: bulk X-Mailing-List: linux-sound@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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>;