Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp2900368pxb; Tue, 24 Aug 2021 10:10:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzsmNhJnMVp649FMKcS54sSepxHh7AYZrTBkaA1MtcV/NcPtTD/otYAXv4fHMQ1hg+GX6/r X-Received: by 2002:a92:3207:: with SMTP id z7mr26839191ile.260.1629825047455; Tue, 24 Aug 2021 10:10:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629825047; cv=none; d=google.com; s=arc-20160816; b=fNfrzhaDjIrbwYM/oe+uM6Ta2EJkReHgOzXxwwrZjwWD7ZT6ShbQBxx+MA6kVAPJgm Bj8Z33etrUb3XGsVDBGQrYevCUeX9i+HRCwzfvkrVwjz3McYntTNoR24X1zEdK2bidAV JJhhDLkJ5wLPH7IhVJf0zFUchjx/TeDsuTV4yIvERMISK/gTjk2kbVhiaZXPpauHKrZS sXIRJ0ekvbYIOWdT2XqNWOKFnicZFgK+jdtbOyqqQVav69Dd+mfxmFWMKA2alqSQBWT6 iZMruAZ/whhQDlONJJX3/m0BhL+uemS7JAbCrP6A5dIQtzoLfKkXjwpkJnQ7caO4+nYf vstw== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=EJtqG/uM01wm6cqvgB1ae+oFkJ+1VeG6WutACrschMg=; b=USLCqRpguSc8xfmmvf3uehjFNN66wmT377IlnplRrEKhGut44rGVYgJyiTQ/FJWIvi vlRo0qt4eq4ow7M+IMZ0rjAuQBrbfxQufTJUG39bAo2U+6T70UvARwju1VsLC0qAHBQi Q6sEpL8cII6LHdbRngszoH6fsCWbDThzDqA/Es1AJ0mUDqr63ulPRkfcpytmXwk7IRNs PljllMPakxCXq3+IcsA7/FoY9tow4QkT30ANDTQykgb2dfr/S+NtR9gbR3hpB0xRT08M LL1Qkas8SxSY6a7huUczsMBpS54PIHxYjcVHgAvTyeMFDG8Jsil1kGSBSZPX4iCuulIT 8EaQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=KSM5zNZJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r6si20931473ilc.69.2021.08.24.10.10.34; Tue, 24 Aug 2021 10:10:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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=@kernel.org header.s=k20201202 header.b=KSM5zNZJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239669AbhHXRIe (ORCPT + 99 others); Tue, 24 Aug 2021 13:08:34 -0400 Received: from mail.kernel.org ([198.145.29.99]:45414 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239148AbhHXRGT (ORCPT ); Tue, 24 Aug 2021 13:06:19 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 7F2E061872; Tue, 24 Aug 2021 16:59:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1629824385; bh=R20MJkCvNDWoB6Txrd+4Vm+099DN+zjiff9v6Im/sRM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=KSM5zNZJfFgmwN5+UjB3HXDMWzeOazSLUYmicsH3ehvpFkq4yMDsUh/uWcPHtrLX4 s4+OkXhV/lbilf+9ITda42+J/1Ug+ZUrIo5GVKbllA+gpiGbFaMXQL/52MzKbqSAV4 DdLlQQeD26bgqCbSDCdVN2+SykMNk3VbldehWULQDcbfzPrFf9yJ7Thkq1APCCviiy N+hyKzqghn2gX21hro9NfHsftsWZ07U4AVsqiJ+iOas4P4SOoqu+hYZxCIUHaOd0ri TDYiMtIzOOA/6caJ8QZZFTbAb7BUBKYCkjBnDtoyQnhGx2QNlP1qEDBZesTt2tgboA 18RxdpRFeo1fQ== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Srinivas Kandagatla , Shawn Guo , Bjorn Andersson , Sasha Levin Subject: [PATCH 5.10 35/98] arm64: dts: qcom: c630: fix correct powerdown pin for WSA881x Date: Tue, 24 Aug 2021 12:58:05 -0400 Message-Id: <20210824165908.709932-36-sashal@kernel.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210824165908.709932-1-sashal@kernel.org> References: <20210824165908.709932-1-sashal@kernel.org> MIME-Version: 1.0 X-KernelTest-Patch: http://kernel.org/pub/linux/kernel/v5.x/stable-review/patch-5.10.61-rc1.gz X-KernelTest-Tree: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git X-KernelTest-Branch: linux-5.10.y X-KernelTest-Patches: git://git.kernel.org/pub/scm/linux/kernel/git/stable/stable-queue.git X-KernelTest-Version: 5.10.61-rc1 X-KernelTest-Deadline: 2021-08-26T16:58+00:00 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Srinivas Kandagatla [ Upstream commit 9a253bb42f190efd1a1c156939ad7298b3529dca ] 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 Tested-by: Shawn Guo Link: https://lore.kernel.org/r/20210706083523.10601-1-srinivas.kandagatla@linaro.org Signed-off-by: Bjorn Andersson Signed-off-by: Sasha Levin --- arch/arm64/boot/dts/qcom/sdm850-lenovo-yoga-c630.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 888dc23a530e..ad6561843ba2 100644 --- a/arch/arm64/boot/dts/qcom/sdm850-lenovo-yoga-c630.dts +++ b/arch/arm64/boot/dts/qcom/sdm850-lenovo-yoga-c630.dts @@ -564,7 +564,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>; @@ -572,7 +572,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"; -- 2.30.2