From patchwork Thu Mar 23 17:30:14 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Doug Anderson X-Patchwork-Id: 74138 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:604a:0:0:0:0:0 with SMTP id j10csp3045308wrt; Thu, 23 Mar 2023 10:36:46 -0700 (PDT) Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=clWzYxFd X-Google-Smtp-Source: AK7set+pNzDzEjTi7r42WV0RjHyiZBcpgAfyXkWUq3vNdTUCxgdNpiAh39+kb/z2tYKkHs84GQVO X-Received: by 2002:a17:90b:4c41:b0:23f:7e2e:fe13 with SMTP id np1-20020a17090b4c4100b0023f7e2efe13mr9317691pjb.0.1679593005831; Thu, 23 Mar 2023 10:36:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679593005; cv=none; d=google.com; s=arc-20160816; b=sdX9clM18uqvs/p/aPUtjKbU58mmIcvkK7YEz97FlPhiMcEqu1EmnbTv7HdUV0EBwK hIVIcy1HfegNAVi4K33CbEGWMaJS3ttlcuaHNJnBlCuimnKbUxTSmweE71fR2oO/FCj5 7JYE3HGAWaVdHajFO0YNNaS/Ur+0+1J1GF6t59BdXhoK8oJzLxOILh3vkBgkbV13PnET vCtIqQnXQG1lroSeAoPbEue78hENqkra6adn57ZNcTAJ8HLPnP/aZYPA2vLiXvdrIscS WmaTgM/XT4sNH57nVAJymsNhKx50sfaFu14NU5U8ajml4jZVViM8jxskxchyHK4olfLm iTpw== 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=Dc1zQxQOlxvSPv0A2NTnsyCSg5q98+XxyGONS3dAKvA=; b=aP1DqQE2RGyPGvaXGqjgUvoNt+y//L+CFqSglYWT9WaEDW9YFSPujxQSS3qRXFUHmE QpM3jWLAokn5eE2WoOwCr1SOF7Dadd3T0+G29d5KbnJwqOukkVB6t0v1DxJswMg+3ZU4 oLAC+BzIhfmGA+faI5LhkBzesJrK+GbPbc6XGIQMICTAQBvzVER5rSt8c94F39cPS3k0 KXbxqb+CIl50Xy3xfo4xyRaJi3fDQJBYnaKbSSPyUgrohKylXePsJXNHOOX1JE9Mr5Zn VUs/reZKtoiZByUN1SaAu1yF/OJpz33W2+bX8wvTWF4wcG9dUz/tNAiXJ+UDEi/OU6CF KCbA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=clWzYxFd; 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=chromium.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a4-20020a17090a70c400b0023b32e93affsi2157956pjm.103.2023.03.23.10.36.31; Thu, 23 Mar 2023 10:36:45 -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=@chromium.org header.s=google header.b=clWzYxFd; 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=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232489AbjCWRcL (ORCPT + 99 others); Thu, 23 Mar 2023 13:32:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44184 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232487AbjCWRbs (ORCPT ); Thu, 23 Mar 2023 13:31:48 -0400 Received: from mail-pj1-x1035.google.com (mail-pj1-x1035.google.com [IPv6:2607:f8b0:4864:20::1035]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4C816199C5 for ; Thu, 23 Mar 2023 10:31:32 -0700 (PDT) Received: by mail-pj1-x1035.google.com with SMTP id a16so17776120pjs.4 for ; Thu, 23 Mar 2023 10:31:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1679592691; 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=Dc1zQxQOlxvSPv0A2NTnsyCSg5q98+XxyGONS3dAKvA=; b=clWzYxFdbsjAMyeObdN7chgEUWdefpw8mMcFLIi5kA9IjVTr+S1coqTXXi0/7EQrwB kcu6xEE7wEMWUpgG3Dfkhz1MOlShemHzO13U4P4/GERa5IP3Dnr7OAFJmIqSaBdTd8VV 5Uor4aiKQsUtBQvZ/NclDLfD3Rx/Ip4/Gbj38= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679592691; 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=Dc1zQxQOlxvSPv0A2NTnsyCSg5q98+XxyGONS3dAKvA=; b=2Mj6UaHcNgFccN4ZW8zjdDzL6awB+fd+LuEUa+fjFFJtjZjWVHJ5XNES80Xq0ESyiz YmgPc0pGFO+Beeo3XBl5TZGUmHTEzXtlyohvmI1CKyt0UO54cyP/BghSUPpjVIwtZaeL WyAvA4vnoZfDkARqmhRMALjMTa+a+zdeQCCY71niSXHQlUzQQ8yrvQBA1uo+uQ579hLI lMfVKec1e8N2Y43PNZEb3+yUnTQTy7VjVOptE3keCgOYAdadB9CL1/boNuzbhzGpiAA7 F7sbSSq4EtK1Ug7O4wCz0uuuMC0jhyv4JAyR0THNy6PeucCl7hg+gGeTmK0WiMFw6nDw +wAA== X-Gm-Message-State: AO0yUKVPyW3+C9XRzoBgkWIIZRTenr5Pa4H6oa1ucA9LVEsKJ4pvPok8 ilNdr7Y+rs5YG3s9UGycUdE00Q== X-Received: by 2002:a05:6a20:c109:b0:d8:997f:b21c with SMTP id bh9-20020a056a20c10900b000d8997fb21cmr309546pzb.27.1679592691735; Thu, 23 Mar 2023 10:31:31 -0700 (PDT) Received: from tictac2.mtv.corp.google.com ([2620:15c:9d:2:16d3:ef20:206a:6521]) by smtp.gmail.com with ESMTPSA id x13-20020a62fb0d000000b0061a6f4c1b2bsm12613546pfm.171.2023.03.23.10.31.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Mar 2023 10:31:31 -0700 (PDT) From: Douglas Anderson To: Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Mark Brown , Linus Walleij Cc: Matthias Kaehlcke , Konrad Dybcio , linux-gpio@vger.kernel.org, Stephen Boyd , devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-spi@vger.kernel.org, Douglas Anderson , Andy Gross , linux-kernel@vger.kernel.org Subject: [PATCH 10/14] arm64: dts: qcom: sc7280: Remove superfluous "input-enable"s from idp-ec-h1 Date: Thu, 23 Mar 2023 10:30:14 -0700 Message-Id: <20230323102605.10.I1343c20f4aaac8e2c1918b756f7ed66f6ceace9c@changeid> X-Mailer: git-send-email 2.40.0.348.gf938b09366-goog In-Reply-To: <20230323173019.3706069-1-dianders@chromium.org> References: <20230323173019.3706069-1-dianders@chromium.org> MIME-Version: 1.0 X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1761180915739436947?= X-GMAIL-MSGID: =?utf-8?q?1761180915739436947?= As talked about in the patch ("dt-bindings: pinctrl: qcom: tlmm should use output-disable, not input-enable"), using "input-enable" in pinctrl states for Qualcomm TLMM pinctrl devices was either superfluous or there to disable a pin's output. Looking at the sc7280-idp-ec-h1.dtsi file: * ap_ec_int_l, h1_ap_int_odl: Superfluous. The pins will be configured as inputs automatically by the Linux GPIO subsystem (presumably the reference for other OSes using these device trees). That means that in none of the cases for sc7280-idp-ec-h1.dtsi did we need to change "input-enable" to "output-disable" and we can just remove these superfluous properties. Signed-off-by: Douglas Anderson --- arch/arm64/boot/dts/qcom/sc7280-idp-ec-h1.dtsi | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sc7280-idp-ec-h1.dtsi b/arch/arm64/boot/dts/qcom/sc7280-idp-ec-h1.dtsi index 3cfeb118d379..ebae545c587c 100644 --- a/arch/arm64/boot/dts/qcom/sc7280-idp-ec-h1.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7280-idp-ec-h1.dtsi @@ -82,14 +82,12 @@ &tlmm { ap_ec_int_l: ap-ec-int-l-state { pins = "gpio18"; function = "gpio"; - input-enable; bias-pull-up; }; h1_ap_int_odl: h1-ap-int-odl-state { pins = "gpio104"; function = "gpio"; - input-enable; bias-pull-up; };