From patchwork Tue Mar 9 10:20:25 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 395941 Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp2456384jai; Tue, 9 Mar 2021 02:21:31 -0800 (PST) X-Google-Smtp-Source: ABdhPJxbfAAZ0md33IIeX6K2jebOwfpChdmCkhzFV72wQJE1y6ug/ShQawVWXUU59hwfR/AdxfOI X-Received: by 2002:a05:6402:2552:: with SMTP id l18mr3135660edb.71.1615285291221; Tue, 09 Mar 2021 02:21:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615285291; cv=none; d=google.com; s=arc-20160816; b=RrnJ3jnJfnCdpPZs/ujBqavd4HaMhSuKyTospF/QiocNtrfv3ipmxmaow3FRtszzrA DZSuk22pyB2FyOZYrRBeavurWdL6PpB8XB9o+ob0ykf6XbDrcLB97dgWikFMghlHZDLq 30qArp/Iq0Rj9vJAOtTL33QcPxcfBilk+yz8wiM5T8dgUDl3KEpS78lMSc5hFYdbSBR6 KBziSmliAvrh64sl++c/mTtve4O5SJqHf+fQComGhzlQ2o2Eh9tZ9rnojP0mCoHwoGYN oUgE0pMYb7rNGExTYWzSnK/5+7N+1R4j3StUqFhwAe0Nm02DZeuGB9H6mRO8jDkalELB IrsQ== 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=4Ja9Ic3TL2OIWlc+akAnIVOY3PQa7HJDAI9iNG2O7tg=; b=AP70KemFOgR5hnBHff42svU2HsPn2qhYON5P/eHlL3c4WjtQIlD3//rL2BTILn0rlR i7w4DEzptMZJAsaDq7WLvJ1YNYrDdd3PlNskTFmhQFgExGJFXiyTJwSauzdV3tQrtca5 m9CkNu6wQi/fX5bAmI0s0E1Pq6Du7G21/680kBO06LDPhV9mof+f3YOpl/hll9ArRO7z rMpc3olCjrxiWkavvpxhUZR2IZsOF9yYjdwyGAVFBe9++Yq2W1Ho8rCJ9MK0HrZADKkI htDOvvLrZOi+xIbCX7ju/vYnsatTZuHld3bUHC8QwUSL0zupVFfLudTtQq9luqumpENg DCPg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=CBl1RutL; 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 d8si8889912ejr.549.2021.03.09.02.21.30; Tue, 09 Mar 2021 02:21:31 -0800 (PST) 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=CBl1RutL; 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 S229878AbhCIKU5 (ORCPT + 16 others); Tue, 9 Mar 2021 05:20:57 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32838 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229656AbhCIKUw (ORCPT ); Tue, 9 Mar 2021 05:20:52 -0500 Received: from mail-wm1-x330.google.com (mail-wm1-x330.google.com [IPv6:2a00:1450:4864:20::330]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DDA6BC06174A for ; Tue, 9 Mar 2021 02:20:51 -0800 (PST) Received: by mail-wm1-x330.google.com with SMTP id y124-20020a1c32820000b029010c93864955so5577237wmy.5 for ; Tue, 09 Mar 2021 02:20:51 -0800 (PST) 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=4Ja9Ic3TL2OIWlc+akAnIVOY3PQa7HJDAI9iNG2O7tg=; b=CBl1RutLjVO06dsddUBm1LyGvDkB9emZwNK4aryNixf9G3nJte05bK8osMJ0aRpXuD jedgVpD7irPY/aisQJ5IqE9JbW7dPsotIiqtcY+rO4ZlrrfTS5umd7zy8jqWwBZcUC4i al7Y2fBP0U44fyQmcA7wpIlD46oNZZhg2FX1xXCGOBOD56qIy0LHooCUhCR9a0ttmcev E06D1kUMMweToMMN1qT51EfOYXm3lnUiAMtwHMVjB86QXt3HcWu+Uu4hsmWYf8hKUIWl OIFPSiSgsEyP+Bg87SzK9xYJZdw/VAgb+C40eLS12LZhQV2g7S4vx+kPzBEMR+K2pjqY S5yQ== 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=4Ja9Ic3TL2OIWlc+akAnIVOY3PQa7HJDAI9iNG2O7tg=; b=ZDtvHyeJF76/q8fxD5sZpvH/ITOwAKR9XzrEwJaStx1TmlEcV9guTqnlzHXrmJxRVT urs9T3vKNnVX94xQWtLiT4TuS2k3vVf3PoMUOy5kqcL/LVjrGpJLuX2m6DaVayS5LLga qNJ3/QLd484sKXy3sIuaW8QyNF0uQTruNNbNbWw19ll1qDWzAPBrsSrHa+jIaO2h+90L C8f7Qf0RuU7J1L1+JiujcC4ftyees0QqKDqjTzG86izdMCuVfpwjcPptBLNjZKmMaH3c xOnyHLSGGMHNc4mJMDT1STfjmNrzJC05l0CymPVcT9wdA2Sc6asdswJO9nE2tj9TNulC sgwA== X-Gm-Message-State: AOAM530wvNzKxRKhkgurhX9OEqbvGSOb6/h5+u8piljZO5x1ycc7DPMq GoRZxWuFcpXHbAzW94q15Xx0Tg== X-Received: by 2002:a1c:1d82:: with SMTP id d124mr3252207wmd.1.1615285250725; Tue, 09 Mar 2021 02:20:50 -0800 (PST) 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 o20sm3421133wmq.5.2021.03.09.02.20.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Mar 2021 02:20:50 -0800 (PST) From: Srinivas Kandagatla To: bjorn.andersson@linaro.org Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, john.stultz@linaro.org, amit.pundir@linaro.org, Srinivas Kandagatla Subject: [PATCH] arm64: dts: qcom: db845c: fix correct powerdown pin for WSA881x Date: Tue, 9 Mar 2021 10:20:25 +0000 Message-Id: <20210309102025.28405-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 not gpio2, 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! Fixes: 89a32a4e769cc ("arm64: dts: qcom: db845c: add analog audio support") Signed-off-by: Srinivas Kandagatla --- arch/arm64/boot/dts/qcom/sdm845-db845c.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.21.0 diff --git a/arch/arm64/boot/dts/qcom/sdm845-db845c.dts b/arch/arm64/boot/dts/qcom/sdm845-db845c.dts index 0040e138df67..5adf9dcbce2e 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-db845c.dts +++ b/arch/arm64/boot/dts/qcom/sdm845-db845c.dts @@ -1015,7 +1015,7 @@ left_spkr: wsa8810-left{ compatible = "sdw10217201000"; reg = <0 1>; - 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>; @@ -1023,7 +1023,7 @@ right_spkr: wsa8810-right{ compatible = "sdw10217201000"; - powerdown-gpios = <&wcdgpio 2 GPIO_ACTIVE_HIGH>; + powerdown-gpios = <&wcdgpio 1 GPIO_ACTIVE_HIGH>; reg = <0 2>; #thermal-sensor-cells = <0>; sound-name-prefix = "SpkrRight";