From mboxrd@z Thu Jan 1 00:00:00 1970 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 AA8C9C43334 for ; Sun, 5 Jun 2022 15:19:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1350845AbiFEPTx (ORCPT ); Sun, 5 Jun 2022 11:19:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35468 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1349630AbiFEPTw (ORCPT ); Sun, 5 Jun 2022 11:19:52 -0400 Received: from mail-ej1-x630.google.com (mail-ej1-x630.google.com [IPv6:2a00:1450:4864:20::630]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 776BB4D254 for ; Sun, 5 Jun 2022 08:19:50 -0700 (PDT) Received: by mail-ej1-x630.google.com with SMTP id kq6so11576387ejb.11 for ; Sun, 05 Jun 2022 08:19:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=oeQ2dBbbrjJ6UjOHnoNRGdpPlY/rG7Jr2C3iHZsv+HE=; b=oTm1oQMbPRUQIXsFdPGs0cXFmlS91JQKghH8GGXYLwio/Zd1/TFtX4vwLTfGdTFsvO YYaAP1sBe/XcQu/itUuZqqXDp/PvsRsQxx4B0JxanSDeX2g06dksjQcbX2nRwcjRcsyd 9v+AHNzSe7JXcm/MALbds9Sn314r1FDCJJYKcH5fhyvemUXWIdn5Yfh/5ipl2Cl9zsVu RUdPIKara9ivGqb4QoKdQeR2uCwMpi13n/hq/g+xXtFHUuaFJT713dI1tTEd+p/RG0FM SSlYLeW5W3tfP8+L2F4M7mfbT4/drVrc/l53Ns2axfnZv8z3kcjgkk8D4fvuKE8Qs7UE n/KA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=oeQ2dBbbrjJ6UjOHnoNRGdpPlY/rG7Jr2C3iHZsv+HE=; b=Dh6AhnSCiIbtK0qADvI1ApfR3oyDQU+ibWLbF1x5CB842ZMTB7hmbNXqZHStbGR9OZ rJ8MeVLkuqUmI1E2pHN6gIeOasDpgul7ttHfjpzA3RY0WFdBZEx8Srtb6aSg1TEocffV 4x/AhSO0rSnPeOv5Je2UHr5F8TvfP2iBnga8KLFPf2zeEzlDyja1Hlv+Xq6Rvsal92yL SntqlaNhlxT4L4ShrKVc4Vg43nrbkJlQcgBM37rSPHXJ9AUXehNiL1yGvqdQuBRhhJac KNrEVs0wc1uGvVwqsqD4y2I5UVXkbHzAVNnqirY1/fgN9FjlcmgfpijgebBFB6AUagOE 9hDA== X-Gm-Message-State: AOAM530EQm3ZiVwEDhf/EVTtH5Zx49zAS5eihwVm9ddIO6Mze0PwHepv z9OuOvG3/6pMUbx9aN4dSRZLPw== X-Google-Smtp-Source: ABdhPJzVoJ6Se+FuCA6xFekej6gyRSmzPsQJBHjvW6oiErYsWGKgoEFaqQxzSzhoPyw7FwcDYFKL3A== X-Received: by 2002:a17:906:c01:b0:711:917c:4c58 with SMTP id s1-20020a1709060c0100b00711917c4c58mr4557355ejf.291.1654442388812; Sun, 05 Jun 2022 08:19:48 -0700 (PDT) Received: from [192.168.0.181] (xdsl-188-155-176-92.adslplus.ch. [188.155.176.92]) by smtp.gmail.com with ESMTPSA id l15-20020aa7c3cf000000b0042bdb6a3602sm6755364edr.69.2022.06.05.08.19.47 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 05 Jun 2022 08:19:48 -0700 (PDT) Message-ID: Date: Sun, 5 Jun 2022 17:19:47 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 Subject: Re: [PATCH 7/7] dt-bindings: pinctrl: deprecate header with register constants Content-Language: en-US To: Linus Walleij Cc: Rob Herring , Krzysztof Kozlowski , Alim Akhtar , Tomasz Figa , Sylwester Nawrocki , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org References: <20220526143707.767490-1-krzysztof.kozlowski@linaro.org> <20220526143707.767490-8-krzysztof.kozlowski@linaro.org> From: Krzysztof Kozlowski In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org On 04/06/2022 00:20, Linus Walleij wrote: > On Thu, May 26, 2022 at 4:37 PM Krzysztof Kozlowski > wrote: > >> For convenience (less code duplication, some meaning added to raw >> number), the pin controller pin configuration register values >> were defined in the bindings header. These are not some IDs or other >> abstraction layer but raw numbers used in the registers >> >> These constants do not fit the purpose of bindings. They do not provide >> any abstraction, any hardware and driver independent ID. With minor >> exceptions, the Linux drivers actually do not use the bindings header at >> all. >> >> All of the constants were moved already to headers local to DTS >> (residing in DTS directory), so remove any references to the bindings >> header and add a warning tha tit is deprecated. >> >> Signed-off-by: Krzysztof Kozlowski > > This looks like something that needs to be merged on top of the > other patches so if you wanna merge this through ARM SoC: > Reviewed-by: Linus Walleij > > Else just tell me a merging strategy and I'll use it! Thanks, actually I should split the bindings from driver changes and then the driver part could be applied independently. I'll send a v3 and then I can actually handle cross-tree dependencies between both of my Samsung tree - SoC and pinctrl. Best regards, Krzysztof From mboxrd@z Thu Jan 1 00:00:00 1970 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 09037C433EF for ; Sun, 5 Jun 2022 15:21:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:From:References:Cc:To: Subject:MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=6n1mvQSb8I9gX1AjgSo9e0wQzRcVmEWJce4JfSwPiK0=; b=lE1bm00yU8bMFz 8S8ezWpSGew6h9AjjfxidLit4xT0E7GEwRIjHXg0A4jz5CzcCUFevkeN8E/OyYWPXisQsdUgicpJm j2i2x96Pxg10VtviiyPzH6drTiUbJWDTKFGaFCCoOh6aT76pMDM5atlJ48uMklkC4NsGHeY2LoQPu tSce8aYI5CgYbSl7+jYejjzRsjegM8FczNKBFEnfyN05dvdqrtbVAo8ZRWmqYEhxQwniqAh+93wRo 2H7FL40Z2kvIuvvy3MiaVQ7n37RB4YY7ZkwCfOHVfMDxI+VAZZGch5M1ZbXwz+weU+Do2Nd00iAxO 6uJdhAMVImvRa2PVttUw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nxs2k-00Ek2W-Pa; Sun, 05 Jun 2022 15:19:54 +0000 Received: from mail-ej1-x62c.google.com ([2a00:1450:4864:20::62c]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nxs2h-00Ek21-6b for linux-arm-kernel@lists.infradead.org; Sun, 05 Jun 2022 15:19:52 +0000 Received: by mail-ej1-x62c.google.com with SMTP id q1so24597738ejz.9 for ; Sun, 05 Jun 2022 08:19:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=oeQ2dBbbrjJ6UjOHnoNRGdpPlY/rG7Jr2C3iHZsv+HE=; b=oTm1oQMbPRUQIXsFdPGs0cXFmlS91JQKghH8GGXYLwio/Zd1/TFtX4vwLTfGdTFsvO YYaAP1sBe/XcQu/itUuZqqXDp/PvsRsQxx4B0JxanSDeX2g06dksjQcbX2nRwcjRcsyd 9v+AHNzSe7JXcm/MALbds9Sn314r1FDCJJYKcH5fhyvemUXWIdn5Yfh/5ipl2Cl9zsVu RUdPIKara9ivGqb4QoKdQeR2uCwMpi13n/hq/g+xXtFHUuaFJT713dI1tTEd+p/RG0FM SSlYLeW5W3tfP8+L2F4M7mfbT4/drVrc/l53Ns2axfnZv8z3kcjgkk8D4fvuKE8Qs7UE n/KA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=oeQ2dBbbrjJ6UjOHnoNRGdpPlY/rG7Jr2C3iHZsv+HE=; b=0or/IyWSySH+JiIIVOUaRJa/ZYhItPnMeUgIF1tH7oP6TnIH48z8DxJPRegP1rMXSl GMr0FkofQnq9hlWlXxVvmL9IYytOFBLFu6Zbr96POozlhfOlmlmi+inJ5GnNo/WZXA4W LxF9JOCHjg4T6mXdi3W6gyNmWIja37HdiLC9XIS+GuiWmKHXXBbM/E0Bf37t+0FlDUe7 hePUMqBT69Yp84KAMSLSDD5xVXD7RCwWePa8w7sTdliSimgsiLPhVrio0opk46xZKdFn ii7k5h7+tWUNroUXlmDunwAtbMQn91Ku0PQ2Bu0lH50FKmXnmReWDwiDpXpVFyqZoYiq rgDg== X-Gm-Message-State: AOAM533bg5nRBzYyr96A7dP30BuMEmjbqccFNhKSWdNSzLlSKwK7OUst 431CLbyRCyByWP/UI7CVyx3ibQ== X-Google-Smtp-Source: ABdhPJzVoJ6Se+FuCA6xFekej6gyRSmzPsQJBHjvW6oiErYsWGKgoEFaqQxzSzhoPyw7FwcDYFKL3A== X-Received: by 2002:a17:906:c01:b0:711:917c:4c58 with SMTP id s1-20020a1709060c0100b00711917c4c58mr4557355ejf.291.1654442388812; Sun, 05 Jun 2022 08:19:48 -0700 (PDT) Received: from [192.168.0.181] (xdsl-188-155-176-92.adslplus.ch. [188.155.176.92]) by smtp.gmail.com with ESMTPSA id l15-20020aa7c3cf000000b0042bdb6a3602sm6755364edr.69.2022.06.05.08.19.47 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 05 Jun 2022 08:19:48 -0700 (PDT) Message-ID: Date: Sun, 5 Jun 2022 17:19:47 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 Subject: Re: [PATCH 7/7] dt-bindings: pinctrl: deprecate header with register constants Content-Language: en-US To: Linus Walleij Cc: Rob Herring , Krzysztof Kozlowski , Alim Akhtar , Tomasz Figa , Sylwester Nawrocki , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org References: <20220526143707.767490-1-krzysztof.kozlowski@linaro.org> <20220526143707.767490-8-krzysztof.kozlowski@linaro.org> From: Krzysztof Kozlowski In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220605_081951_327445_D9AA967A X-CRM114-Status: GOOD ( 19.96 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 04/06/2022 00:20, Linus Walleij wrote: > On Thu, May 26, 2022 at 4:37 PM Krzysztof Kozlowski > wrote: > >> For convenience (less code duplication, some meaning added to raw >> number), the pin controller pin configuration register values >> were defined in the bindings header. These are not some IDs or other >> abstraction layer but raw numbers used in the registers >> >> These constants do not fit the purpose of bindings. They do not provide >> any abstraction, any hardware and driver independent ID. With minor >> exceptions, the Linux drivers actually do not use the bindings header at >> all. >> >> All of the constants were moved already to headers local to DTS >> (residing in DTS directory), so remove any references to the bindings >> header and add a warning tha tit is deprecated. >> >> Signed-off-by: Krzysztof Kozlowski > > This looks like something that needs to be merged on top of the > other patches so if you wanna merge this through ARM SoC: > Reviewed-by: Linus Walleij > > Else just tell me a merging strategy and I'll use it! Thanks, actually I should split the bindings from driver changes and then the driver part could be applied independently. I'll send a v3 and then I can actually handle cross-tree dependencies between both of my Samsung tree - SoC and pinctrl. Best regards, Krzysztof _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel