From patchwork Thu Oct 27 07:46:50 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Torokhov X-Patchwork-Id: 11632 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp89856wru; Thu, 27 Oct 2022 00:50:25 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7dAFgRNokLD0qVj6Epig2IRZcXy7UQSRONvdF0dbHVxU9+Fz8ei+qEy4n6rbmb2hwO82Pg X-Received: by 2002:a17:903:2346:b0:186:ba56:f520 with SMTP id c6-20020a170903234600b00186ba56f520mr15099352plh.138.1666857024946; Thu, 27 Oct 2022 00:50:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666857024; cv=none; d=google.com; s=arc-20160816; b=sJeGIL5Jx8fUzuSpgpcZObab1+Jo8e/qYQmGfUM/nRkUGTgE4la3jC0X2cEYJiEN5M cM43Byy9ydtbBxi6xLPk/BzVxogFQNDydRCSPDYhYuacmTZ3jkJ3A19fvkC3Gmp3vHqm UEcwAIlB8OrKkk2I91fx/pGZ/TbslJZVVlYBnolefrXdiIyzxyVljR1JW/dRmjegLebZ YTsG9gSqD1hqdpO6AjSBL84jAAzWRykI2AvdViBNr2QszWcT821t3c+PmvzuHGNBCzOW UgatvhgH1ZG2aI/jMEPcAtMA/t71ZTkPIpjnfvtIh4RC7d7K1Et8GAHYFa4fSaH1L/av lbhw== 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=ZNeVhpUWigJ0TSEw9v1gskADVF9vSoyCLj/DbDWPyvw=; b=ULJD1LQk1Tut4slWbyKlbIfxWriM9aG+ttKwEMXdcmTL1/mRVnyvMG07R780IGjOjd o632zj/KN1AOW+NjpvZ157AvepHrXr3SlgM/Ki0fhi7XEc08UJbot4AiZGxeUVUaa1nb jlKGNdjS53Tdr3TiqASFlOSTbVmfO+TMDDjVMZ4GSQuQJwKPOgn74B1umaOv95p6R84Z xh425ZLNRvVQrXNoYHzEMRkB37/FZXw6CiQyz6ueP/gmtunVJ4iUrA+oVl79tdMsH44D tcuTUmQiCEJBYAjtUIYQmOceW84u05Wio2iDvAPvifVmj5E7a3JYbse8NiMuRBkD42sh Ip0Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=aLf1WN+O; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v19-20020a056a00149300b005669cd93898si1142994pfu.233.2022.10.27.00.50.12; Thu, 27 Oct 2022 00:50:24 -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=@gmail.com header.s=20210112 header.b=aLf1WN+O; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234581AbiJ0HrL (ORCPT + 99 others); Thu, 27 Oct 2022 03:47:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42818 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234712AbiJ0HrC (ORCPT ); Thu, 27 Oct 2022 03:47:02 -0400 Received: from mail-pf1-x434.google.com (mail-pf1-x434.google.com [IPv6:2607:f8b0:4864:20::434]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A4B86169109; Thu, 27 Oct 2022 00:47:01 -0700 (PDT) Received: by mail-pf1-x434.google.com with SMTP id i3so695625pfc.11; Thu, 27 Oct 2022 00:47:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; 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=ZNeVhpUWigJ0TSEw9v1gskADVF9vSoyCLj/DbDWPyvw=; b=aLf1WN+OTqiapPTDJDt06711S12QC7GnpNR/POKcQV+vCSpXvP/xt2qSjKz/b1L4i6 2ZbElVSDtU2DrJRj1VbvayP3Y2Tsw39vNsoXudiJx44ul4iis90tV3AAHaX889+x7xkm 9XSVtmJxsqtLOrbZMolwm7kQYmtQAdJmQhmUNFMUkO13a35VhiMc2XyCkYuHNxVn/4EP sWNfx2vHJZqt4a7uPobPQVrlIDIJp6lpAEb9RHTHnj1JClbKkc1gzTjCcfxvzPYbTlfa HlY/R8LP4evMxZk0pMUmhhS3L0JKNwMRXlMWgltMNYxLCauCJJYyq49+qWgzZvraywKZ 86Mw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=ZNeVhpUWigJ0TSEw9v1gskADVF9vSoyCLj/DbDWPyvw=; b=x9oJccrHC1r/TZgWX8fX6bcdyUuNIuQ1ty4VvAoiTXVqimJ3/rEvZ/NUcFuLRUfB0/ 0WcvuERY8RJrIXRdXGBG9D33ovOdouf1gGK2gI0KrM7j46FysMRLFbhTqTtNb4r+qVtq JomppbyfMZjXg+uldztjrxIeIaUD3WXzT1VY5nN6umwIth9JhMdRhiDq9Qtkq1yGc95R nkD2IawzQK1zzeGjBiQTD+8hXVzbYhn8aD4bT++5bwmFOLEL2D39r5cquL8Wx+uIskmR ixw8B4ZzLfT9Adfc9rqqbqqwTMM2nOWWsRX1FhPRQMC1atbso0dIuhEnxB3ZIOtfx2GJ yICA== X-Gm-Message-State: ACrzQf2To9KdICkkBFvHP94ZiPubJE5dJvUkPdrTAuAVeOa8dS8jfUEp 3BLDfWdHVUk5cFUBZesZmsQ= X-Received: by 2002:a63:5a26:0:b0:463:7ca2:653b with SMTP id o38-20020a635a26000000b004637ca2653bmr41647808pgb.352.1666856820864; Thu, 27 Oct 2022 00:47:00 -0700 (PDT) Received: from dtor-ws.mtv.corp.google.com ([2620:15c:9d:2:99d6:ae15:f9aa:1819]) by smtp.gmail.com with ESMTPSA id i4-20020a056a00004400b0056ba02feda1sm611386pfk.94.2022.10.27.00.46.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Oct 2022 00:47:00 -0700 (PDT) From: Dmitry Torokhov To: Andy Gross , Bjorn Andersson , Mark Brown Cc: Srinivas Kandagatla , Banajit Goswami , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 4/6] arm64: dts: qcom: sc7280: fix codec reset line polarity for CRD 3.0/3.1 Date: Thu, 27 Oct 2022 00:46:50 -0700 Message-Id: <20221027074652.1044235-4-dmitry.torokhov@gmail.com> X-Mailer: git-send-email 2.38.0.135.g90850a2211-goog In-Reply-To: <20221027074652.1044235-1-dmitry.torokhov@gmail.com> References: <20221027074652.1044235-1-dmitry.torokhov@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747826271497925895?= X-GMAIL-MSGID: =?utf-8?q?1747826271497925895?= The driver for the codec, when resetting the chip, first drives the line low, and then high. This means that the line is active low. Change the annotation in the DTS accordingly. Fixes: 0a3a56a93fd9 ("arm64: dts: qcom: sc7280: Add wcd9385 codec node for CRD 3.0/3.1") Signed-off-by: Dmitry Torokhov --- arch/arm64/boot/dts/qcom/sc7280-qcard.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/sc7280-qcard.dtsi b/arch/arm64/boot/dts/qcom/sc7280-qcard.dtsi index a42b5878a75f..df49564ae6dc 100644 --- a/arch/arm64/boot/dts/qcom/sc7280-qcard.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7280-qcard.dtsi @@ -37,7 +37,7 @@ wcd9385: audio-codec-1 { pinctrl-0 = <&wcd_reset_n>, <&us_euro_hs_sel>; pinctrl-1 = <&wcd_reset_n_sleep>, <&us_euro_hs_sel>; - reset-gpios = <&tlmm 83 GPIO_ACTIVE_HIGH>; + reset-gpios = <&tlmm 83 GPIO_ACTIVE_LOW>; us-euro-gpios = <&tlmm 81 GPIO_ACTIVE_HIGH>; qcom,rx-device = <&wcd_rx>;