Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp2485443rwl; Mon, 27 Mar 2023 00:24:27 -0700 (PDT) X-Google-Smtp-Source: AKy350ZQCKLN8/BGkzPMDQOzzok0q7daUjJ9Qq2nkrBxfVVXwLb+fT4v497GgW+sJTdW3JQFXk5p X-Received: by 2002:a05:6402:f94:b0:502:1d1b:5bef with SMTP id eh20-20020a0564020f9400b005021d1b5befmr11873947edb.14.1679901867396; Mon, 27 Mar 2023 00:24:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679901867; cv=none; d=google.com; s=arc-20160816; b=WXt+s0zbkikvl5TrQ/q2PmVzRT67ghOoCfbkRAIIgeLxt6fKU8VrjekygUZT2vfrli RdtIX/L3QZosYg9Tdw3ugWNXoQbxE4rOoIWxzcB9ZAd38hYN/5YEXO7mjRaaCJqBlVVi iPgSbda/J4ijS44ve5NuOOEHYkTeFTb3xdcj/88w3/KyeFQJAdLnoWW+vpD0kodQeWXh yMg0ro5dB9vU/hRT7TAEXcAIlyVahNajzoE4K9QCj13wLktAYiYBDRLJBQK/SPMEBnKH Uq9zNFJ1yi/I+q76hvF/TtkRVY5VFS5iK/40F9Fc9CBmbpdfFf7Tj3hyf3QakFUNdQkS B0qA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=X1kmkGGKOC2DOFLaKztfpmKO66ZiDM1oI9QitXcbWRY=; b=sSoKpeqWEZuC6CfAXdfM0VuJIDn4AVmymj9T0F2V9qDQHwgGG8XKWVjdIxZlSDQw93 +ci7AGm0aZ4OO0J4yuJSosaVJopYm1y4Si+PIPr3Ry+dzMOvac+w8Pcw6RVxzJX/4zEy XPlU2liwxwGxfMIdYvjet1zg1dyl30/KDtpBbDlYcZEFeVnArKOG2cGThOnOi7RlyWdU n6Cu08mCyfG4L4Q1Jtj6rnhwzjzwfBM7pEOMkbWuI0K2Kpjm7D3XKHV7x6dhS7G7f4uB CkqUF+3mk8xxcrxXg+fgyfgSVa2anSw+e1IGUibDmCemOwarvySMgRrPB1DD+GvlGAl0 Jm6Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=YFgO8izI; 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 i3-20020a056402054300b005002e947c3fsi28204388edx.119.2023.03.27.00.24.02; Mon, 27 Mar 2023 00:24:27 -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=YFgO8izI; 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 S232244AbjC0HVo (ORCPT + 99 others); Mon, 27 Mar 2023 03:21:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51648 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232345AbjC0HVn (ORCPT ); Mon, 27 Mar 2023 03:21:43 -0400 Received: from mail-ed1-x533.google.com (mail-ed1-x533.google.com [IPv6:2a00:1450:4864:20::533]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 743A0272B for ; Mon, 27 Mar 2023 00:21:41 -0700 (PDT) Received: by mail-ed1-x533.google.com with SMTP id r11so31774189edd.5 for ; Mon, 27 Mar 2023 00:21:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1679901700; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=X1kmkGGKOC2DOFLaKztfpmKO66ZiDM1oI9QitXcbWRY=; b=YFgO8izI8KPgwRdaWTv8FOGsZzcWo90//KS4t/kb55TH6spdhFgTx5xt9e/AOiv4tz 16W2kjkVY5k0OLmHUKpVaPFLvft92e/wan6cAxh013iL2C6skGARWC7VRTL9Qiaxdgsh KQpZ9+p1hNeUZekqlFSlA6O2kV0UnbQoLghslbMGP/0u4IW7r7woS8qBSTM4ZN5Qsxub roxskJxzeRuIArMXEVhFFu82yt35RvYoftQPn1rt7vouPu8AiMenaomdBj62WrX4HyIs NSHJ/sKoUZOamfoiNDndHewGC2RZ2tf7BfPf/Krb683LtntKYbIgygtNC1K1MfctO2Wc Z2Lw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679901700; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=X1kmkGGKOC2DOFLaKztfpmKO66ZiDM1oI9QitXcbWRY=; b=4+oYbYKWA+I6GEdbSO1AhNAmbTyHWSXvxhToEZfgOOlPpaVh6qXguRNbAPfdby8ofD 9zyaLrZ0M3nvP7kjnxc2ea/Ty5eQYPFUyDZ2vvIf0VNZvZDuO8A4oIxn5+ZDN83b5Kns xUqIkey3t1GHELwJUPcVN9bzhzBFl6RjVOTKjYJ79xSbzC3MYdg6znlXZQZm4GtzRbiQ 4OXziRWVg3aFk4PNmdGY1bhSrDiYxvN3iardpjwDbOcncMyp1wpHstj568vL3pB9thk4 qGh4u97Ap7p5x+5bhbfwgcmxKs6vxn0x/QGihi9Hhe9Pblw47iSGOL/5DWJlsvBLp+Zx KbQA== X-Gm-Message-State: AAQBX9cYGuUZa3R/BxwWhb76H4p3qPtvsa4//Z6AWQ4wlBG33fqPsAu4 ubRRlGI80OIC3ht3ezbX+3r08g== X-Received: by 2002:a17:907:a68a:b0:93f:9b68:a0f4 with SMTP id vv10-20020a170907a68a00b0093f9b68a0f4mr6626314ejc.26.1679901699901; Mon, 27 Mar 2023 00:21:39 -0700 (PDT) Received: from ?IPV6:2a02:810d:15c0:828:198e:c1a5:309b:d678? ([2a02:810d:15c0:828:198e:c1a5:309b:d678]) by smtp.gmail.com with ESMTPSA id g5-20020a170906394500b0092fb818127dsm13853619eje.94.2023.03.27.00.21.38 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 27 Mar 2023 00:21:39 -0700 (PDT) Message-ID: <58ba3b6f-578f-0bdd-13cd-980eda28d2c7@linaro.org> Date: Mon, 27 Mar 2023 09:21:38 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Subject: Re: [PATCH 06/14] dt-bindings: pinctrl: qcom: tlmm should use output-disable, not input-enable To: Douglas Anderson , 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, Andy Gross , linux-kernel@vger.kernel.org References: <20230323173019.3706069-1-dianders@chromium.org> <20230323102605.6.I291ce0ba2c6ea80b341659c4f75a567a76dd7ca6@changeid> Content-Language: en-US From: Krzysztof Kozlowski In-Reply-To: <20230323102605.6.I291ce0ba2c6ea80b341659c4f75a567a76dd7ca6@changeid> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,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 On 23/03/2023 18:30, Douglas Anderson wrote: > As evidenced by the Qualcomm TLMM Linux driver, the TLMM IP block in > Qualcomm SoCs has a bit to enable/disable the output for a pin that's > configured as a GPIO but _not_ a bit to enable/disable an input > buffer. Current device trees that are specifying "input-enable" for > pins managed by TLMM are either doing so needlessly or are using it to > mean "output-disable". > > Presumably the current convention of using "input-enable" to mean > "output-disable" stems from the fact that "output-disable" is a "new" > property from 2017. It was introduced in commit 425562429d4f > ("pinctrl: generic: Add output-enable property"). The "input-enable" > handling in Qualcomm drivers is from 2015 introduced in commit > 407f5e392f9c ("pinctrl: qcom: handle input-enable pinconf property"). > > Given that there's no other use for "input-enable" for TLMM, we can > still handle old device trees in code, but let's encourage people to > move to the proper / documented property by updating the bindings. > Reviewed-by: Krzysztof Kozlowski Best regards, Krzysztof