Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp6587635rwl; Wed, 22 Mar 2023 12:35:38 -0700 (PDT) X-Google-Smtp-Source: AK7set8Uj1p65qPqbSBWmT4SqMX3SWAX1YCUk9JxKvf92b3o4Ie6C8kiyoPXptuz6TYn1j34UWvL X-Received: by 2002:aa7:954a:0:b0:628:642:c533 with SMTP id w10-20020aa7954a000000b006280642c533mr4337996pfq.31.1679513738417; Wed, 22 Mar 2023 12:35:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679513738; cv=none; d=google.com; s=arc-20160816; b=x3iNzUt3r9xQLoziQO+AaMjj0iF38eLkQnTBcbqQzyn3ZeT3SSYPcF5qeIyGFqz7W9 5Q/65zfiCSypeWqubJKuJ1eTBwrdPhA1rgyhl3oAzJSb3sXJ+fr9w5EfLkRGkEpuLDe8 yv6Ds2fyUFA7/1TJYtgI6wqCVLXk7PUHAOafXDnkGc2K0dbm+u6UN2Cz+xorRYLl5g0i IqiRCcYdEFtUzpZTvZ5jbYaplD5WwkfKDdvP4kLAfyW0CeHdtyNcCydDOtLL/w21/QiT WI7rQElUcNxnGraZQ/I7Qx/sGYkvIzmZ8M5E4ftw4ERxtpfzYMMk5x/6iNm74i9SRp1w trWg== 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=Tyc2FHZOXLbHwT0yWbSibCrRBIuGGkS3+1l5iNkUxjw=; b=uDjVrZxg7o7thKZdHzumSbcxO5qbYEcl1hUX+EeZlv1K0c2JA8ISNFqS0xheHB+HQg SsBHPu+SVCFXI516xuOcGfogvN9TIFlL8euP7FS6+suxdcBAwevadE6uQTiMoVzqeeIA hYl/p0rbopDsvYdVoNhz2rQQl02wWG3vWOu5R+ZPU4CO8ASxTjkBCRdbObDfeKyfs1M1 7rqR8mURE2kce+F/E13AnRRcyDvsSBunM+JhDGcYpA1gjO/ypJl+YvA1oCY1jOMmPnhu cEeUUQdLIxJRpG6HYkMQzHIN8+0FNwuwDBdWn/FfrvOrEz5VPU4FLL4qiJK5JhdYQcs+ y7yQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=L6ilkvyQ; 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 n5-20020a056a0007c500b006267e3376ccsi14312192pfu.171.2023.03.22.12.35.26; Wed, 22 Mar 2023 12:35:38 -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=L6ilkvyQ; 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 S230333AbjCVTbT (ORCPT + 99 others); Wed, 22 Mar 2023 15:31:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60470 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230467AbjCVTbG (ORCPT ); Wed, 22 Mar 2023 15:31:06 -0400 Received: from mail-ed1-x52c.google.com (mail-ed1-x52c.google.com [IPv6:2a00:1450:4864:20::52c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A385367718 for ; Wed, 22 Mar 2023 12:30:59 -0700 (PDT) Received: by mail-ed1-x52c.google.com with SMTP id cn12so31745629edb.4 for ; Wed, 22 Mar 2023 12:30:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1679513458; 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=Tyc2FHZOXLbHwT0yWbSibCrRBIuGGkS3+1l5iNkUxjw=; b=L6ilkvyQY65KncyHVyHMQXfuN38I/vJjrJ0hCvkqXZaTi1NACcdxXR90taPKUtO8xl AW6thm90ixaDvpXUE2yrYkgC2wtYVXUxbmTvYFpEMlpm9JjvJrEiLxB1BViRUc0Pn65U uu2ee/YcQmCzsAQF/FxvPIsdqjnZ8kfqIt6oZyBP7al+Qfiqi9N4wbq1p874T4lfHoa+ ksF2zmy9BYwVk2MBoX5WZSOsdJni3Q5p6RGD8WZ+yuqd0ngjKzX0yEjPAylsTO5R/cqk 7BrsaxR9vuLf9kD4x8MJeFZtfvTZ6qCbN8RV8+Ch35omqRGa29CokOurkUXYRTmY2NEg i8Dw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679513458; 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=Tyc2FHZOXLbHwT0yWbSibCrRBIuGGkS3+1l5iNkUxjw=; b=wqvJJ6TVTy6o8ciNsec1VGWX/71jZRBbDcwkczeKmgHx4jAJsRon0Q1qxJV5BluKJ/ W3+/oNbN+xICDeIu4Hr1i0wec4Nz+NrqPtw6ZSEVN2FNxSkKqTpQ9RJocwNzVnnqeYLQ /TYaA/nT1HLDnVs8DqqTj5A/aYYQr0wybtma53dU0CRKdeJ73Db41/NR13HUwt4fwaTa 8BM/T1RS5TTGQPqpK+RemZM+D8KXM4CNb3HeHozc9suEqYu7Pe3ThbIRJeATiUmcc7JC hxWJcHFoJ0GL86L2wc4HSZqIa2jfYPVxQFR7C/hwoyMqZ3fCX+sUY9wXoLyVMPWbkjon EvdA== X-Gm-Message-State: AO0yUKV5/Z2u0y9gyHpmYuNnr6/KIDFetLKMjMf5isNkxFkUBjrQlvv+ Pt5em0VtRc6JV4tfYXVbSl5ygg== X-Received: by 2002:a17:907:a090:b0:93b:68a8:a0e0 with SMTP id hu16-20020a170907a09000b0093b68a8a0e0mr3943794ejc.16.1679513457840; Wed, 22 Mar 2023 12:30:57 -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.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Mar 2023 12:30:57 -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 4/4] arm64: dts: qcom: qrb5165-rb5: Use proper WSA881x shutdown GPIO polarity Date: Wed, 22 Mar 2023 20:30:51 +0100 Message-Id: <20230322193051.826167-5-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/qrb5165-rb5.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts b/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts index aa0a7bd7307c..dd924331b0ee 100644 --- a/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts +++ b/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts @@ -1012,7 +1012,7 @@ &swr0 { left_spkr: speaker@0,3 { compatible = "sdw10217211000"; reg = <0 3>; - powerdown-gpios = <&tlmm 130 GPIO_ACTIVE_HIGH>; + powerdown-gpios = <&tlmm 130 GPIO_ACTIVE_LOW>; #thermal-sensor-cells = <0>; sound-name-prefix = "SpkrLeft"; #sound-dai-cells = <0>; @@ -1021,7 +1021,7 @@ left_spkr: speaker@0,3 { right_spkr: speaker@0,4 { compatible = "sdw10217211000"; reg = <0 4>; - powerdown-gpios = <&tlmm 130 GPIO_ACTIVE_HIGH>; + powerdown-gpios = <&tlmm 130 GPIO_ACTIVE_LOW>; #thermal-sensor-cells = <0>; sound-name-prefix = "SpkrRight"; #sound-dai-cells = <0>; -- 2.34.1