Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp63618iof; Sun, 5 Jun 2022 21:12:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzAnWopfR8opsU7AFD3vcWk++S8Mew3qH75FSKkB5SuTsAMV3NG/H9cT9VOAk8gmLd+ZNQa X-Received: by 2002:a63:8541:0:b0:3fd:241d:6596 with SMTP id u62-20020a638541000000b003fd241d6596mr13478353pgd.211.1654488770396; Sun, 05 Jun 2022 21:12:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654488770; cv=none; d=google.com; s=arc-20160816; b=T9xkFhQnDYGioUSEWw3hLnNhiEeS4er10G8h8WyBB+zA0mavjl+X1HYUDcgBxuUVYl FjoyK+xo0OnJuZMhV8ZQSx9Zkw/WiN72223/gzb4FXiDU8toUw97nd7P+Rcc2+/2cMRv ZeQJ0ED3fTNlpxnolJUDKfKOfxYWmvkMAV41aobRzsaOsJfhjF3aZSTyIROfIV5XH1hU q0h5Xne0iKgWw+b56HZzl4XpJXI6tkrWyso5NSLGKYJBZoTFHm7FcSLNQCplKbbn7dun s4o2wFTv8l4cqTw23JZ+P2eep9/Slm+3wP860scKvgKzgf499focyx9wCyXmrEokPZJt rbfQ== 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=oeQ2dBbbrjJ6UjOHnoNRGdpPlY/rG7Jr2C3iHZsv+HE=; b=0NzbwBv1RjWWS1ZDtjbp18AWET3Uhxndf6dEh/TWAleKrCynGrAbgfIRTQxU4altGL A9XVKk+w0js/deuAnEugBLYV30fYQG87WyVZICH47xFQfukBy3xlCDMbE1iGlpUDngQz gZGUWm3AtPAwRR1UfzLjETjHXv1voGyEib8uPSV4ju/ZrHNyrooDqNWDeIyhOILm4zWt 3mRhTvdhyoVo8zjKUtPyj/+6pUg8DdmJdnBNo7ZFCHcDjhvAAxfFZUCmqmxMu1ImMaDI VuLs3vNMRTY9lcsRM0agrCIm5VLZSagzJSosjXYolq1MaM0xnke+WCh3b9Uf+lzB+CH9 NojA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=oTm1oQMb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id x30-20020a63485e000000b003fc962aa2a5si11465843pgk.219.2022.06.05.21.12.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Jun 2022 21:12:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=oTm1oQMb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 383DB7520B; Sun, 5 Jun 2022 20:51:05 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345492AbiFEPTy (ORCPT + 99 others); Sun, 5 Jun 2022 11:19:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35440 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235511AbiFEPTw (ORCPT ); Sun, 5 Jun 2022 11:19:52 -0400 Received: from mail-ej1-x633.google.com (mail-ej1-x633.google.com [IPv6:2a00:1450:4864:20::633]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 37D0F4D245 for ; Sun, 5 Jun 2022 08:19:50 -0700 (PDT) Received: by mail-ej1-x633.google.com with SMTP id s12so17384735ejx.3 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=wOKyCwOI2qlPo4LLnlGsH27GRWdHTR9MwnlgOoIlbBMb/IAwfFO5XXs5sFKzOtJtUR 8bSKq7GfzwVLlhb9SLCFW3p9wTL25RyGbtERaGYrzjHG6z+FgkLu6I4EM310iDXL19Kg ugUyMz3iwAsmhiC2eLMqOB+5gRLC4bdcur1fYoc9BxQOk58FIT1+z7RCXopCsfRN/Xuz lZxQPnAIGTDyW5CDhPx+6L6/KxaJJsHyrKih/JxqGdl7W6syyfbqqCFmAxEHQEUy/QZ+ ZCju90GwNz8l0UgtlSJt//yxS4MvHuJ3/ngGBoiVfNICljeSLIQ1mdMDRJl5mHN8SpaP vqKQ== X-Gm-Message-State: AOAM530WPl9eG9srmkTL4hSkjMzImeMFyBPpQSyO3VlvsESZZ+cTjbVl doQobkOm/yi+4av2GQaBzQw1sA== 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 X-Spam-Status: No, score=-3.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,RDNS_NONE,SPF_HELO_NONE, T_SCC_BODY_TEXT_LINE 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 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