From patchwork Tue Jul 6 08:35:23 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 470430 Delivered-To: patch@linaro.org Received: by 2002:a02:c94a:0:0:0:0:0 with SMTP id u10csp4773204jao; Tue, 6 Jul 2021 01:35:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxzxL7T4xCFgGGhOqe6HlvW7KUsS6QlwcRcKtkyDlykL16LGl/ohbZis3QZb6RhLkPQP3+E X-Received: by 2002:a92:cbc8:: with SMTP id s8mr12643512ilq.193.1625560531023; Tue, 06 Jul 2021 01:35:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625560531; cv=none; d=google.com; s=arc-20160816; b=O094MvIZnXtB0Jd3EkGFmex1HfLWQ+10ftvYxfH8D6VC83s3DHaSnFluNCZE66GBhN Hyl2RKIaBatYIu4vUFNFPgC4cHBbV29t1xlXqz3246hM8gDonmLhXh6Jlc5gFF1OV4KC 1rmQ5TbR+nT5WpbWO/eCIJCj0Qpj1yu6A+9ntMsdyjpQxNAl8JCjmyOh/vHdP4PKt5s3 /1pcg7dMJbePcdoCMNUi8Wx27YirC1UDshHVQ/ZFMlSv37hjZsN8JOPzScLzJjjIMLcU kg0spqHkz3hWAD+MX1oIhR+qXIhmyh9RPLQWMBFo7xUZBistFP/RVXoyk/zvOIkwwmAO YeLw== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=U29Y6gKeEJ/TOx94H/sMKCVR9hUDyqP/L3iEJdAYqrs=; b=EVwfAvugyC6SXI3HQb1ai3nln0J8A/0PghUdyLTu9oS2jSS9GQA+s7sh+ZmIgpTxEM XlHcr1ygZxnxOhiEa2apO/sZq0jYvLOqiFGKu3YHUmK2L7xHQg2nTU3Lwe0bDVS26irx 6HT5c6tB6LiRLEA9BGwFY3vMsQgZOyTzUtGApNiGhH8a9r5b8l0H3LQ5VQC3SlGz6l7H JM7K1ei0X5OI4BnYXUNfYnkhu3Nc3CZIK2fJy4QBkCi3ZLoovWqxT1jIn2f2qntR3eJH mQ+8yFCdfTDnAm1qAnIabSMz7MteC6yD4hXkgHTualJ2FfwB/EYtI9pywafNYECpicMU XhKQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=CVRjvDnp; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f20si19399194jat.99.2021.07.06.01.35.30; Tue, 06 Jul 2021 01:35:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=CVRjvDnp; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230398AbhGFIiH (ORCPT + 17 others); Tue, 6 Jul 2021 04:38:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35624 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230356AbhGFIiH (ORCPT ); Tue, 6 Jul 2021 04:38:07 -0400 Received: from mail-wm1-x331.google.com (mail-wm1-x331.google.com [IPv6:2a00:1450:4864:20::331]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3E9F3C061574 for ; Tue, 6 Jul 2021 01:35:29 -0700 (PDT) Received: by mail-wm1-x331.google.com with SMTP id i2-20020a05600c3542b02902058529ea07so1643096wmq.3 for ; Tue, 06 Jul 2021 01:35:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=U29Y6gKeEJ/TOx94H/sMKCVR9hUDyqP/L3iEJdAYqrs=; b=CVRjvDnphK8OIOr+WSbxlBLysMoOQmGuvVzSNiA5YpA8aulbXuqSVbxSkKbGIRpzsp CNToQ+8lo0wfmYDz/amG0/MENZU/jjJW3QOst3+6s3Etu/A/KXLCFAiQ0P9SPLb/Wo2I pGxpEIiujVVLF5WlxRza3BVPsy0NOewsratezVzPprOGTHmazPp4CP25ACyduwsRgYEn ikrn7oU7VeLTBD/xgQrcxzUdjyQJ0oTdyqoCBG14AZ6xPUjx0te0Za5dxUdUNJd1bizu GrNa3kwits5aTEgz1jTl5haUGWKuIiOVkOZvfhDENXLK7mhIxFGZ5EgqYMo6htRbQ4as fouw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=U29Y6gKeEJ/TOx94H/sMKCVR9hUDyqP/L3iEJdAYqrs=; b=Ygak+bFtaEDs/fDW55+GcQSabcG38cRR3avbyEsy5R1SGI1Z/7Ef2BtbIScfnJ9g7j cB50Y9mPN1mL3+Qmi1AkHqYmxDx7dmKgSg3EQx30XiZqlKbX7a12I8Qlme/JWhFc+oXK wtDNBbf1Mte3xppRr/N8r3H+PWvYusUeHDgzOLovzLggD6NfxYzdfpOFiSykceFwe/et hU3J+0HnzstKecbeX7XPQj3LNHXeJfS9Ht6s7TJ82NLngbmzCyBoGokiObvSh6Ylg2Lw /37AQEW9FO4/du9FSkhj9h/YRHiVsEJ4k98V1D1TjML0C6Z919Mw66c5UVQnPfMS33an uG7g== X-Gm-Message-State: AOAM530/tmod1mRzoK3+Jrav/GIfHbzerb5CvTc/iOfk+GwGybBZsFVN yLyzSREDk/ad9eqg51BCwgL1VA== X-Received: by 2002:a7b:cb03:: with SMTP id u3mr19925721wmj.119.1625560527911; Tue, 06 Jul 2021 01:35:27 -0700 (PDT) Received: from srini-hackbox.lan (cpc86377-aztw32-2-0-cust226.18-1.cable.virginm.net. [92.233.226.227]) by smtp.gmail.com with ESMTPSA id r13sm5451111wrt.38.2021.07.06.01.35.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Jul 2021 01:35:27 -0700 (PDT) From: Srinivas Kandagatla To: bjorn.andersson@linaro.org, agross@kernel.org Cc: robh+dt@kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Srinivas Kandagatla , Shawn Guo Subject: [PATCH] arm64: dts: qcom: c630: fix correct powerdown pin for WSA881x Date: Tue, 6 Jul 2021 09:35:23 +0100 Message-Id: <20210706083523.10601-1-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org WSA881x powerdown pin is connected to GPIO1, GPIO2 not GPIO2 and GPIO3, so correct this. This was working so far due to a shift bug in gpio driver, however once that is fixed this will stop working, so fix this! For some reason we forgot to add this dts change in last merge cycle so currently audio is broken in 5.13 as the gpio driver fix already landed in 5.13. Reported-by: Shawn Guo Fixes: 45021d35fcb2 ("arm64: dts: qcom: c630: Enable audio support") Signed-off-by: Srinivas Kandagatla --- arch/arm64/boot/dts/qcom/sdm850-lenovo-yoga-c630.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.21.0 Tested-by: Shawn Guo diff --git a/arch/arm64/boot/dts/qcom/sdm850-lenovo-yoga-c630.dts b/arch/arm64/boot/dts/qcom/sdm850-lenovo-yoga-c630.dts index 140db2d5ba31..cf01d3f2ed8a 100644 --- a/arch/arm64/boot/dts/qcom/sdm850-lenovo-yoga-c630.dts +++ b/arch/arm64/boot/dts/qcom/sdm850-lenovo-yoga-c630.dts @@ -698,7 +698,7 @@ left_spkr: wsa8810-left{ compatible = "sdw10217211000"; reg = <0 3>; - powerdown-gpios = <&wcdgpio 2 GPIO_ACTIVE_HIGH>; + powerdown-gpios = <&wcdgpio 1 GPIO_ACTIVE_HIGH>; #thermal-sensor-cells = <0>; sound-name-prefix = "SpkrLeft"; #sound-dai-cells = <0>; @@ -706,7 +706,7 @@ right_spkr: wsa8810-right{ compatible = "sdw10217211000"; - powerdown-gpios = <&wcdgpio 3 GPIO_ACTIVE_HIGH>; + powerdown-gpios = <&wcdgpio 2 GPIO_ACTIVE_HIGH>; reg = <0 4>; #thermal-sensor-cells = <0>; sound-name-prefix = "SpkrRight";