Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp6588070rwl; Wed, 22 Mar 2023 12:36:02 -0700 (PDT) X-Google-Smtp-Source: AK7set/IXeG5rkGi7LtAIX3AR34cRMDTTec2wTeL2gsNBMzY25bVK6j4aE8iKW48ExMcguV53Z+0 X-Received: by 2002:a17:90b:3511:b0:23b:4388:7d8a with SMTP id ls17-20020a17090b351100b0023b43887d8amr4590278pjb.21.1679513762297; Wed, 22 Mar 2023 12:36:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679513762; cv=none; d=google.com; s=arc-20160816; b=0VFiDBeurI1RoCFVql3nGLre0Gof9srIE3uKrPp1yI9X+eGNyQySyrfC3tjR120nTe bNGVN+KSuSW2/WLGkwdNOKOayvUBfiMOshfX2EF/zDwBCt3AXfWIny8nlBC2prM4k21t eAKJlObbBIjKFl5oQTs9URCpdcFKrn0NgbfGBceFSVxcr6yxb8oSKu861ET4Og8k+8pr /2jT6UZ3qK3pQyJjeDKej50TmnamKBDynTCacuKbFVsd6jQ9N4ZN55OU4L6zPj5Ama8v TuMBQzJLVPwZ748fYC8oaXT68PBQxqsQ5+hy1h4oSPD959XLP3G7vBL1+wrLf4Lihnzq wdWA== 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=iKARDJu9nrbYePhQD+wO6UKNzl6w7o8kKIfBm/2S+Wo=; b=VatYy1zEGt9bgLp5dJDvoaI9fbRL+akeaUr9NIodELOHQWhnvoHQVzQTootRa101Cp cW6C1ZpthXO6kuDodlKYMp2cEFgzTeRuwZYKVXlohOJMfrdrM4tonL8fMrdXKC+VN2Fk 17JlVTr0A1+cDhc3bAXjzYyT2dTq2z/NW/DcSdFQ8te0ggtUIuPYltFKyoK8Of1wf5xl 8SCUWJFYlcap3ioB1nG1uzkAKZB3u8Gdq7/HqacrOz+hPlYUSRN+BRL0oGvIY1zPGaAp XDx+l/nGLm0PS4S2qqsJLhd7yNWFoBSJeTZxlmzfanPvOQNLDqR1NAoYgQGaCZqmWgSF /Zcg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="wLJAUN/1"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o65-20020a17090a0a4700b0023d2e945af7si13463078pjo.95.2023.03.22.12.35.50; Wed, 22 Mar 2023 12:36:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="wLJAUN/1"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-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 S231344AbjCVTbM (ORCPT + 99 others); Wed, 22 Mar 2023 15:31:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60194 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231248AbjCVTbD (ORCPT ); Wed, 22 Mar 2023 15:31:03 -0400 Received: from mail-ed1-x529.google.com (mail-ed1-x529.google.com [IPv6:2a00:1450:4864:20::529]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6060964B34 for ; Wed, 22 Mar 2023 12:30:58 -0700 (PDT) Received: by mail-ed1-x529.google.com with SMTP id eg48so77276298edb.13 for ; Wed, 22 Mar 2023 12:30:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1679513456; 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=iKARDJu9nrbYePhQD+wO6UKNzl6w7o8kKIfBm/2S+Wo=; b=wLJAUN/1BR5K4lkl7ZxSYqHdEgXdPHMA0/wes72PIQy34qmcJJBd+kx/rWyyR71E3W 9q8mrfodXvXYFGvEL57zUwrrBfcdnZpxoXQB+C4fEdq6tylPvZHfH/JoPeaSTT6jel+E 7EfxnXNPiM+Xr00IkQYBo9f8J7FxljSk8ErXMoQt2YlnrGMIBCyxD/tfmwQ86FUwsld7 xVnPnk+T+u6so9x2ns9k7mkhfhydBBz0YsvNEy1Obu28mbcErnb7+ItGhk9N25cQpjvT ZuFNPtae2DaZbt2e4PpLwRl0Ofn7bsKrei7Mc3SREfkoTAzjLSRJ00VaKRXA9yq2XNqQ Cj/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679513456; 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=iKARDJu9nrbYePhQD+wO6UKNzl6w7o8kKIfBm/2S+Wo=; b=Lg82OIbevRnmmUw6CWSrmVEFvy+fnmaRIGPjLta2emf5qhuD5c9tmvLH//Vfnl9uyK bLlGpsDOFq+/QpNnkELX+kd9hc37q1HXRekIToJVIvHIWUuTn9PFDCxDcApFHY9vr4bs +wtagR89diXE+JgmDB9+GYC02PUsOzP+zGXcWfxCzlSap9n4eKIRzWa8B7DCQGHg2sEG 2Oe0AIJ0I+bkPTHrp69flMvK+ouf1pwGflIlXlnneHjZ4yHOwNTCjUBESYoeu7umLiDd jUCQVKH7bZiH2yocUyjjZSECp+6wUsDD+IVFWnHV+cXj4uZgY7gxxAhgsYDsbPV/Byil OjbA== X-Gm-Message-State: AO0yUKXxkgfR/3t8gpW1BqEl9zji5dJhZc0Usg9mHtuvBKRa0EoHxR7w IFiCV1WTKKBB3sgac3c/BdBSTQ== X-Received: by 2002:a05:6402:1762:b0:4af:70a5:560b with SMTP id da2-20020a056402176200b004af70a5560bmr3638571edb.9.1679513456646; Wed, 22 Mar 2023 12:30:56 -0700 (PDT) Received: from krzk-bin.. ([2a02:810d:15c0:828:5050:151b:e755:1c6]) by smtp.gmail.com with ESMTPSA id n25-20020a1709061d1900b008e9c79ff14csm7660309ejh.96.2023.03.22.12.30.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Mar 2023 12:30:56 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [RESEND PATCH 3/4] arm64: dts: qcom: sm8250-mtp: Use proper WSA881x shutdown GPIO polarity Date: Wed, 22 Mar 2023 20:30:50 +0100 Message-Id: <20230322193051.826167-4-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230322193051.826167-1-krzysztof.kozlowski@linaro.org> References: <20230322193051.826167-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The WSA881x shutdown GPIO is active low (SD_N), but Linux driver assumed DTS always comes with active high. Since Linux drivers were updated to handle proper flag, correct the DTS. The change is not backwards compatible with older Linux kernel. Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/qcom/sm8250-mtp.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm8250-mtp.dts b/arch/arm64/boot/dts/qcom/sm8250-mtp.dts index e54cdc8bc31f..4c9de236676d 100644 --- a/arch/arm64/boot/dts/qcom/sm8250-mtp.dts +++ b/arch/arm64/boot/dts/qcom/sm8250-mtp.dts @@ -764,7 +764,7 @@ &swr0 { left_spkr: speaker@0,3 { compatible = "sdw10217211000"; reg = <0 3>; - powerdown-gpios = <&tlmm 26 GPIO_ACTIVE_HIGH>; + powerdown-gpios = <&tlmm 26 GPIO_ACTIVE_LOW>; #thermal-sensor-cells = <0>; sound-name-prefix = "SpkrLeft"; #sound-dai-cells = <0>; @@ -773,7 +773,7 @@ left_spkr: speaker@0,3 { right_spkr: speaker@0,4 { compatible = "sdw10217211000"; reg = <0 4>; - powerdown-gpios = <&tlmm 127 GPIO_ACTIVE_HIGH>; + powerdown-gpios = <&tlmm 127 GPIO_ACTIVE_LOW>; #thermal-sensor-cells = <0>; sound-name-prefix = "SpkrRight"; #sound-dai-cells = <0>; -- 2.34.1