From patchwork Thu Oct 27 07:46:47 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Torokhov X-Patchwork-Id: 13021730 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A57BCC38A2D for ; Thu, 27 Oct 2022 07:47:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234587AbiJ0HrA (ORCPT ); Thu, 27 Oct 2022 03:47:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42770 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233099AbiJ0Hq7 (ORCPT ); Thu, 27 Oct 2022 03:46:59 -0400 Received: from mail-pg1-x532.google.com (mail-pg1-x532.google.com [IPv6:2607:f8b0:4864:20::532]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 78ECC168E71; Thu, 27 Oct 2022 00:46:56 -0700 (PDT) Received: by mail-pg1-x532.google.com with SMTP id f9so552802pgj.2; Thu, 27 Oct 2022 00:46:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=7eZPMxhWXLAdP7JOTovMyPi4TE0q0a0Jvomoy/MT8tw=; b=Vsy6ZN8gN8QvBnQr03269m+9k5zizOLHe3hBf79CANsb7LyA1/zH+HWj36gdXoFvKc SwuDRXtPoL9x9kVL66wnByKZD7iHRkU8jwhYQCNQTVuvqx9M4+JGove6EnxQNXu0oLwO fmK4M9lsIlIUnid+HyTKRSs9twfGen+mJp2tlnAgELiuLZjL4aCP1pIkg3EoAg+94TPB 8SHEHdF9cLSjCKo0oah8Jlua5t6SuZS9Wscgnd41JoO98l/WYemMKVf1kYw+tY8Gn7cG r5EZ93OaCsFVhSEZ7yd/HN8d/k71cLbR7K1kEtehFPiwh8Rks2syPRj4UYTs9PJ6lgJC 5o1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=7eZPMxhWXLAdP7JOTovMyPi4TE0q0a0Jvomoy/MT8tw=; b=bjgqyJAkC8m9K4HMr3w748JBrD38gWVqRM8+xsUXKtU1haDro+C0fTHAd90X+1DPwA h4Vtnzqpe7ydklwWkrOw3Ov3hLoyjY6dCxUSx+Dp5BMX+1PpIg5kMTIZUjOskiCwHtuA Scj/s2hHtW7fl8o4wUsWzrnWoeYOLd/kXNOUy2+ZabI3SFkzhmtIXSgzmUA/BOKwRIh2 OEQ9y5Id4U44PLs2XGCCFiz2aEAmmhkcWQLu/IiLBOpfoWQuLvmpBGNVezF/nH4cnvEH 9znhYp2gyfArsKDjQsGqyCLoUWnLb4VfDY8qz6KAg6UrdZw/Jjpv8bz5MtGb01baMsCx qIog== X-Gm-Message-State: ACrzQf09VuBZ11fH9rOKfD2bL4x6ok2I9ft/2iiZXPxV+DgXpEj/kuRT Sf7QlWZcIV0TdykBrDXauVE= X-Google-Smtp-Source: AMsMyM5PGiH/y2F3FFolvyUUUvcKWHQq2NBuOq+yFYxmeaH75p/1LDgLZHZQ/ZvK7ktzxwNEi++vVw== X-Received: by 2002:a63:194b:0:b0:457:7295:8de0 with SMTP id 11-20020a63194b000000b0045772958de0mr41849875pgz.612.1666856815733; Thu, 27 Oct 2022 00:46:55 -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.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Oct 2022 00:46:55 -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 1/6] arm64: dts: qcom: msm8996: fix sound card reset line polarity Date: Thu, 27 Oct 2022 00:46:47 -0700 Message-Id: <20221027074652.1044235-1-dmitry.torokhov@gmail.com> X-Mailer: git-send-email 2.38.0.135.g90850a2211-goog MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org When resetting the block, the reset line is being driven low and then high, which means that the line in DTS should be annotated as "active low". It will become important when wcd9335 driver will be converted to gpiod API that respects declared line polarities. Fixes: f3eb39a55a1f ("arm64: dts: db820c: Add sound card support") Signed-off-by: Dmitry Torokhov --- arch/arm64/boot/dts/qcom/msm8996.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi index 5ff8de3e3de7..d5271718d03c 100644 --- a/arch/arm64/boot/dts/qcom/msm8996.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi @@ -3354,7 +3354,7 @@ wcd9335: codec@1,0 { interrupt-names = "intr1", "intr2"; interrupt-controller; #interrupt-cells = <1>; - reset-gpios = <&tlmm 64 GPIO_ACTIVE_HIGH>; + reset-gpios = <&tlmm 64 GPIO_ACTIVE_LOW>; slim-ifc-dev = <&tasha_ifd>;