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>;