From patchwork Thu Oct 27 07:46:51 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Torokhov X-Patchwork-Id: 11636 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp90057wru; Thu, 27 Oct 2022 00:51:08 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5wzku1Hbjh8Upp8BLEhv5gi8yRqdft/0JsrpANWf+nC8Q1+aa2Fs7MzIMCLfTvS6wjrNFq X-Received: by 2002:a65:6bd3:0:b0:42b:9117:b9d1 with SMTP id e19-20020a656bd3000000b0042b9117b9d1mr40731203pgw.238.1666857068281; Thu, 27 Oct 2022 00:51:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666857068; cv=none; d=google.com; s=arc-20160816; b=UG+35xkPX6QhScQsa2ydmy0WWup8oQuiePsvS747tfDZWOluSiOgXjzFUaFXr0liAM Jdut2fMgoAHx+bpicMuWjji+pNi4cK5vJNGUxVfMOx3APHGSxdTb8M4m22Si1V9GOPyJ dP9c8l7KaPOaoQR/pHfOU1Pik7bwlnT8rZ31TLSuM/P157kC0n4KQoFlybtlaylVQTLl ndfde2tGRSAts/S8Q+pQKX6SvuSGYnLF0dUQ3T4zIPDp0GkM+RsL+1u3iPyXYA6puSNy S58qXsDkGd+OaK7Ho4DvRlJfhxSMqdmnw9pWKPLytm+IbjNLCK2JELkiuIlbfb7kGDDw 5jzw== 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=msL4Fm7iWpHIBylFj9WDZgCoBlELM6gjoyFeS0oql9o=; b=jpDLeRPXqzwBg55gs4EvyL64haLyX0kc9PG/XGmfsIxOO2JVcg3I5/A8zcGJtezxYw cJtVywxLyGxMx7PcD23aZuyc1lIyiDdSOaPTacCfNt3nXwqRFEccjLUlsh6SQUE+yK37 ZhSC/j9on2wTIQUx4vgmAJqEdP42aWWz3XioPyj4VRQzzVzt7gFvuym0DhYPaIDcI4+I owfvaF7jKm0axUvvqgfKDNG0gORvKDPRoGYx2X5vei+bzMiV83bcO8BRBkC7h3iFFVs1 gDAoCNyoXo2rv5cjb/kl9c5kj9aByDkJtLJ+7PWYRaW7gkPlElYBNN81+zISG2to9DKU rEkw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Hmn99xvS; 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 o14-20020a17090a420e00b0020579d99c4dsi887509pjg.138.2022.10.27.00.50.55; Thu, 27 Oct 2022 00:51:08 -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=Hmn99xvS; 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 S234864AbiJ0HrP (ORCPT + 99 others); Thu, 27 Oct 2022 03:47:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42856 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234811AbiJ0HrE (ORCPT ); Thu, 27 Oct 2022 03:47:04 -0400 Received: from mail-pl1-x629.google.com (mail-pl1-x629.google.com [IPv6:2607:f8b0:4864:20::629]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 56B61169123; Thu, 27 Oct 2022 00:47:03 -0700 (PDT) Received: by mail-pl1-x629.google.com with SMTP id l2so589449pld.13; Thu, 27 Oct 2022 00:47:03 -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=msL4Fm7iWpHIBylFj9WDZgCoBlELM6gjoyFeS0oql9o=; b=Hmn99xvSBH8PpkAxglpPN9eQHnxGxvWuQerqHQg82N4aBYWSf5e1PPDImExNWt0ZMT 1fDol/hX3LmyFXIZaLj//RAncjZm8caw6zK1ZHY6hps2rwI6KKpdor6h3HIIhob4LJT1 /kxlY5lsS66l0ESbL060PkEXdh7wHM1uxSMzNcnWc/Coo66SZbu2wiEI7H85LpIIzE+O jBx7G39tztheYGWuFOGVYpoZvG0OKDkvGEk53prfPq4XMenPhYTypfeC6U/x3GSAh2/5 PR4K9IqO6PUeHNtwNbCMdwWBEGaKmOe64SBAw7dBb4GVbY2LMVIWA2GfVI9E8YNA6bkz j/zg== 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=msL4Fm7iWpHIBylFj9WDZgCoBlELM6gjoyFeS0oql9o=; b=ID/fZl87wgbVi9oFzydAKgxXzpPBHuZEo4rV4W5vaY2ix5dh+D3bZAzLKKTl8NHDAf rWm531df/22tnUzvUtI9Em88QajbHevwPOXeAHlokD0PcdVOdQCkSu0nzFwazuhVzRNx HJOustvXNM7LRp02TQPyXEJzHm7At95EaNTAu1FyVOJIuw31MwqxtZ+zXfBXOPO31mIv 11t4KuW5EolNtNb7WP3c5gLmWqzmDKjoFYKfJL5sAx8ynqDEBs8H56Ne+0kv7mDfRRzo MXTqOFbYeim1Vy2DOJ+mMjAx59b8HO3BSWdS/9l0uVr3IgNazOpkEwIXOL8tfGPZoAEm AXUQ== X-Gm-Message-State: ACrzQf1sNE2lw3sNma9DqIo0eaV7UlMDFgI0V+kbBFxwRf8Ctz0UBnCD 54vxTPu2hoIi+uYWnc3OE5k= X-Received: by 2002:a17:902:a70e:b0:186:7fdd:888b with SMTP id w14-20020a170902a70e00b001867fdd888bmr30392545plq.47.1666856822687; Thu, 27 Oct 2022 00:47:02 -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.47.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Oct 2022 00:47:02 -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 5/6] arm64: dts: qcom: sc7280: fix codec reset line polarity for CRD 1.0/2.0 Date: Thu, 27 Oct 2022 00:46:51 -0700 Message-Id: <20221027074652.1044235-5-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?1747826317047474805?= X-GMAIL-MSGID: =?utf-8?q?1747826317047474805?= 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: f8b4eb64f200 ("arm64: dts: qcom: sc7280: Add wcd9385 codec node for CRD 1.0/2.0 and IDP boards") Signed-off-by: Dmitry Torokhov --- arch/arm64/boot/dts/qcom/sc7280-idp.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/sc7280-idp.dtsi b/arch/arm64/boot/dts/qcom/sc7280-idp.dtsi index 4884647a8a95..1ac7c091e03f 100644 --- a/arch/arm64/boot/dts/qcom/sc7280-idp.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7280-idp.dtsi @@ -34,7 +34,7 @@ wcd9385: audio-codec-1 { pinctrl-0 = <&wcd_reset_n>; pinctrl-1 = <&wcd_reset_n_sleep>; - reset-gpios = <&tlmm 83 GPIO_ACTIVE_HIGH>; + reset-gpios = <&tlmm 83 GPIO_ACTIVE_LOW>; qcom,rx-device = <&wcd_rx>; qcom,tx-device = <&wcd_tx>;