Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp1648751rwn; Fri, 9 Sep 2022 01:36:51 -0700 (PDT) X-Google-Smtp-Source: AA6agR4+KG+29reTdqd+CsM9FiSSOxbo+FCO3K04Z7olNAUhUZnvPv0/dHdSL1iOMPRATT1xfOuL X-Received: by 2002:a05:6512:2354:b0:48a:e29b:2bb4 with SMTP id p20-20020a056512235400b0048ae29b2bb4mr4179345lfu.435.1662712611428; Fri, 09 Sep 2022 01:36:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662712611; cv=none; d=google.com; s=arc-20160816; b=vzWY85rjNKu+5PVd6KMZRzI12V4C+M9qXjuGP1hVF1FP+bZdcc4//q3Hoc/vpDNW8X Hlc37PqEP2OsGTpWXQbedO5gj5k4bXjnKk2P96PEPYE+H3s+/Tq3pFsGfxkmgzniOVC5 TI6cOu2zJuiclIQkAiMGKRXw7u2kdtwoCZob419QxydEjH5zSwIsw4akl6RiN5zl5Y65 j047CwX4YKFg/0L13vHU7XD+VBdvewyWnz3SrLRcjvvEL7uxKwqT5EzIzmWty5G6kB2I eogMvOqjDbTTQRWw/7GJ4OgNp/tPfG7mtPM21Wgz+gcNzWTh9zjUvTs0LsPPVZffEoNX Ylzw== 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 :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=555JM3E3kG8yPe2JWLkJCiVLUYiSpaWOeW349uC31mA=; b=qBl6c/3tH0iczbpMZbN5AGNd7EGzX1y2uby5wIX50DgvvHca73nw1m937f66p+RP1u FJebcebL2hWH8rxVxb88SLhABDmcUxFXJOIRdIRSjp/KgI+v8g432QSlIBD9GG/K9/jk TGYt09B8t0UjS5XYnfZKRL7IpX1snrBtM7VBNNUV53s9UPG69Wzj/MTEBkDYQT4aRux6 YC7+7388t7KL+r+ychHGWAxPBiSIZ2i10lo87E6qJXcLkn42v7nqADJ3PwvelVPFxNnj i+5K4GdbYx+jSMcaDSai73StFes0Xlg44iuRV8tShnwZieWOJ29Vpg97UcXmZF3l3nHk ZBbQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=GVP49Aqh; 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 h6-20020a2ebc86000000b00261d4e4087dsi526490ljf.454.2022.09.09.01.36.22; Fri, 09 Sep 2022 01:36:51 -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=GVP49Aqh; 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 S231630AbiIIHjJ (ORCPT + 99 others); Fri, 9 Sep 2022 03:39:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38992 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231624AbiIIHiH (ORCPT ); Fri, 9 Sep 2022 03:38:07 -0400 Received: from mail-lj1-x229.google.com (mail-lj1-x229.google.com [IPv6:2a00:1450:4864:20::229]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 62FE45A819 for ; Fri, 9 Sep 2022 00:35:53 -0700 (PDT) Received: by mail-lj1-x229.google.com with SMTP id p5so796269ljc.13 for ; Fri, 09 Sep 2022 00:35:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date; bh=555JM3E3kG8yPe2JWLkJCiVLUYiSpaWOeW349uC31mA=; b=GVP49Aqh8XFH5zTOQOiwICGGzG0Y+YD79RjoInSRl0WHma35J8zZoSogeT3sUx4xoj sp8g1WsO2IDhFqiFIxy4Jk8F08KUwRS50dlbN73jtu8Qsnm7jW6TWMhDNfZjHSPByzqa G/YHbvWVf/4C3rXj1O0V2j01rNtypZXB5vuVIMF8Qz0LlxWYpHcjymO6leVQ3XgxzXfd VVJ4pIswb+b6Lxf8JBUkJIVToCZ+3jBzvzUxgysC23zpD1GFX4XRdmG8RClIfImon4dL EXWxLvQ9/slO3r4DLg/nZMfIVT5qaBDn2At1MIE5JtktTarTgNUn9mmpDlpCRJ1Qs772 h7Yw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date; bh=555JM3E3kG8yPe2JWLkJCiVLUYiSpaWOeW349uC31mA=; b=YtxMe8AhXQ9k3rjpejwl/A36LzLorD231tngVCSJdu1P4Uw5HKqkDGpkB+1nVM6UPC NbPjxOl5mQvUN3fFeafRlmwRUz0NKFaecJLCtWw44KrY/WYxTmgDPfG8WS2hMcS+hqIe KWZR+quXSR0dRWoH0bhmEWWk7gwepZhKoQvJGIwJq5udlDK6o7r9hDGisPkRtt1LeCQU G3L67apTsNqUe/AOqtNnRpo4reXG2fORTHrsfYX5rtWKOHKxd/uBJr5Oj5NPnwN6ZegS F/555G7hYequO30sPpf1jlt0QpTO81B36SeqUS+DsdLvz+uVf3IDC07ofpavu3WkZMOC GlZA== X-Gm-Message-State: ACgBeo0UHcway1KkPlwXXSRaVrCj9igGdkcGZKDLBH2cTw94LFah0YTk tkcSSdnTUFxhe8Ziuf3tZSytNA== X-Received: by 2002:a2e:7019:0:b0:26b:db2a:577f with SMTP id l25-20020a2e7019000000b0026bdb2a577fmr1678252ljc.105.1662708949663; Fri, 09 Sep 2022 00:35:49 -0700 (PDT) Received: from [192.168.0.21] (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id t23-20020a056512209700b004974da17c2bsm178594lfr.0.2022.09.09.00.35.48 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 09 Sep 2022 00:35:49 -0700 (PDT) Message-ID: Date: Fri, 9 Sep 2022 09:35:48 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.13.0 Subject: Re: [PATCH 2/4] pinctrl: qcom: spmi-gpio: Fix the GPIO strength mapping Content-Language: en-US To: Anjelique Melendez , agross@kernel.org, bjorn.andersson@linaro.org, linus.walleij@linaro.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org Cc: konrad.dybcio@somainline.org, linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Anirudh Ghayal References: <20220907201528.9351-1-quic_amelende@quicinc.com> <20220907201528.9351-3-quic_amelende@quicinc.com> <2b809e98-85ea-6ad9-e810-106563937ddc@linaro.org> <330b5f46-1bd2-5727-b63c-c730fbdda22c@quicinc.com> From: Krzysztof Kozlowski In-Reply-To: <330b5f46-1bd2-5727-b63c-c730fbdda22c@quicinc.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 On 09/09/2022 01:52, Anjelique Melendez wrote: pio.h b/include/dt-bindings/pinctrl/qcom,pmic-gpio.h >>> index e5df5ce45a0f..950be952ad3e 100644 >>> --- a/include/dt-bindings/pinctrl/qcom,pmic-gpio.h >>> +++ b/include/dt-bindings/pinctrl/qcom,pmic-gpio.h >> >> You cannot mix bindings with driver. This is an ABI break. > Ack - Will separate into two changes. >>> @@ -12,9 +12,14 @@ >>> #define PMIC_GPIO_PULL_UP_1P5_30 3 >>> >>> #define PMIC_GPIO_STRENGTH_NO 0 >>> -#define PMIC_GPIO_STRENGTH_HIGH 1 >>> +#define PMIC_GPIO_STRENGTH_LOW 1 >>> #define PMIC_GPIO_STRENGTH_MED 2 >>> -#define PMIC_GPIO_STRENGTH_LOW 3 >>> +#define PMIC_GPIO_STRENGTH_HIGH 3 >> >> Didn't you just break all DTSes in the world? > Ack - lol. Next version will include changes to update any DTS > that uses PMIC_GPIO_STRENGTH_ There is discussion with David, so please wait till consensus is reached. It seems you want to change DT binding constant to match register value which is not appropriate. Constants are not change'able. Constants are abstractions which might or might not match register value. Best regards, Krzysztof