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 4B58FC7618D for ; Thu, 16 Mar 2023 06:37:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229690AbjCPGhS (ORCPT ); Thu, 16 Mar 2023 02:37:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48712 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229705AbjCPGhQ (ORCPT ); Thu, 16 Mar 2023 02:37:16 -0400 Received: from mail-ed1-x52d.google.com (mail-ed1-x52d.google.com [IPv6:2a00:1450:4864:20::52d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BC3F0A90B8 for ; Wed, 15 Mar 2023 23:36:58 -0700 (PDT) Received: by mail-ed1-x52d.google.com with SMTP id ek18so3470028edb.6 for ; Wed, 15 Mar 2023 23:36:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678948617; 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:message-id:reply-to; bh=av/tqDDKKhxpDzt2MvIK/BO/pYsWdyny3iBroUh8N5w=; b=HvwtSh7Q+hEijwXrOgOErle3K6lILbfTzZLTN8S0W4xkLKWdLQ9XS/UwBD6j1K4sFd BjOQxFMrvc/jSJcz8ibY94S7AVV/I5bA9pIRLgvynSzr5CPzHm0sg7dAnZWj76uYph4n FfT3spDyTHH76PkSHXTJI76epTsNdh6fQDH+P4mF/R22lQEdDDXTbDIv8HA2IxlnxSmV 737QXuGjA9Q2xVPpmZv/uI0YnuQPFiNktWsfxLT4S0qyisOg3QSB8Ug1fOdPXaLrXrr2 HjIWoVoCjV9pBa7DNmti1NDWjAje18reN64myG0MQlBfbqzP0fhPbZw4EfxxcErh/Rcv E99Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678948617; 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:message-id:reply-to; bh=av/tqDDKKhxpDzt2MvIK/BO/pYsWdyny3iBroUh8N5w=; b=Idq8tF4Y0Q/MBVAyf9ev8AdNe5GEjshtI/GtkFA50h6gyH39tYgz2W5da7CGNJte8z oPW6LIFwMSZO/eVVBqnvKOuIb5kamowmiU4pxNPoeOeR+tarYZ4Kh8Ag7+p32Hcn0nPi v/yqIBFZZj71g9y08vJSC2nd+P7lQjBkiVGVgHyG0YXN9FHX0u+U792aonNAZ18ABeRa JeniMRRJr1tCvHZFurM6vKAkvyv+HRWCMe4Omp72CVZYSugFtizcu5dPMAnwAMW9Pf7s 13WtJZFHX6uaa8H08w4Se19v0wWplKbul055iw0KS/D1TvXP651ellohBBHQAtAv78Yo 8EwA== X-Gm-Message-State: AO0yUKWGeylMKwkTOb6oLbnN83E+11QbBwBUAJy/12A/q3IhuPP1nDhT a2mrjW/XpqV8IgPe7Pba2Hkapg== X-Google-Smtp-Source: AK7set9U6K671sZ1LAjH8kt45mPJjlYKj/AWN5njbDj/sltxWQWaw/4J2Kj+ynE5o2nniFzRLVqA+w== X-Received: by 2002:aa7:d88f:0:b0:4fb:6796:14c0 with SMTP id u15-20020aa7d88f000000b004fb679614c0mr4959482edq.22.1678948617242; Wed, 15 Mar 2023 23:36:57 -0700 (PDT) Received: from ?IPV6:2a02:810d:15c0:828:9827:5f65:8269:a95f? ([2a02:810d:15c0:828:9827:5f65:8269:a95f]) by smtp.gmail.com with ESMTPSA id h1-20020a50c381000000b004c0c5864cc5sm3353074edf.25.2023.03.15.23.36.56 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 15 Mar 2023 23:36:56 -0700 (PDT) Message-ID: Date: Thu, 16 Mar 2023 07:36:55 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 Subject: Re: [PATCH V2 3/3] dt-bindings: pinctrl: k3: Deprecate header with register constants Content-Language: en-US To: Nishanth Menon , Linus Walleij , Krzysztof Kozlowski , Rob Herring , Paolo Abeni , Jakub Kicinski , Eric Dumazet , "David S. Miller" Cc: Sekhar Nori , linux-gpio@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, netdev@vger.kernel.org, Tero Kristo , Vignesh Raghavendra References: <20230315155228.1566883-1-nm@ti.com> <20230315155228.1566883-4-nm@ti.com> From: Krzysztof Kozlowski In-Reply-To: <20230315155228.1566883-4-nm@ti.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 15/03/2023 16:52, Nishanth Menon wrote: > For convenience (less code duplication), 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. In > fact, the Linux pinctrl-single driver 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 that it is deprecated. > > Suggested-by: Krzysztof Kozlowski > Link: https://lore.kernel.org/linux-arm-kernel/71c7feff-4189-f12f-7353-bce41a61119d@linaro.org/ > Signed-off-by: Nishanth Menon > --- > New patch in V2 series and we expect to remove this header after a kernel > rev. > > include/dt-bindings/pinctrl/k3.h | 7 +++++++ > 1 file changed, 7 insertions(+) This should go to the same branch as DTS, so not pinctrl tree, to avoid warnings. Reviewed-by: Krzysztof Kozlowski Best regards, Krzysztof