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 2A7D4C76195 for ; Thu, 16 Mar 2023 06:36:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229698AbjCPGgO (ORCPT ); Thu, 16 Mar 2023 02:36:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47268 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229697AbjCPGgL (ORCPT ); Thu, 16 Mar 2023 02:36:11 -0400 Received: from mail-ed1-x535.google.com (mail-ed1-x535.google.com [IPv6:2a00:1450:4864:20::535]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B02A9AB0BE for ; Wed, 15 Mar 2023 23:36:08 -0700 (PDT) Received: by mail-ed1-x535.google.com with SMTP id eg48so3341136edb.13 for ; Wed, 15 Mar 2023 23:36:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678948567; 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=fovyIQAjFmbxZjHrRNqlRgLVptlFZhMPqR9qekHWsJg=; b=O/O6Xeye8p4jA9+skOZPgQ9oY/7XkY3bTEEBwWtZWGRorC1oiSGkpyle/ycSCRM7lI 8izECdvRQ9w5+PoaVJKJc/y0f2HJ7GH8WJB95EEKdi3kNCzXFBJJw5o9RyScfnz8mleU aXr7koiwvgq0ARhr++0G2+jcQSvx6eiCKju7mvwiAVcnE5h0q/0HU/KQH0wfmCVcsz6O vDlIJCXJCiyvFrH6/lJ6QK+8Dc/acZudEqODEfRkdXPNYaRKwKsLrSQTz9cvYJvuO8uh dZrhlL4nZlYVjPyLXPYnIKkYLDreZ20rljM4APGtnfi5EzDB77av0pNMmcKEx+VE/NpA 5fPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678948567; 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=fovyIQAjFmbxZjHrRNqlRgLVptlFZhMPqR9qekHWsJg=; b=64q96c2EyUpCSLfbWVymmzJxmXGIwX+NE0GVDydDscyc1re0aq0uG1hk9kkrO6YR3Z yLblOLYQO+n/JmDJ/fb6CF6uI3tvett+erDS9MMzpgpYgxKR5ML67qyiRt3/4X8RK5iu FemS+eNs4D7hIS5a7FGrf3dJzlEoEPYIr6WfwKlJmxB+tCQnQCr2TMWIc1OU18Vo0rvW FdgeJU7tgmE6aaOcjo30GlbStrp0SI/E8YMZX7mLSB5xLS2XFNy46fB6B16J2pNwNi6R kCKqme96NJ6CERBWC3mCpMk+GPnUVc+jjrriscgmnIMxtLdGCM3QVGRNMZLMMY5VzyA9 +Igg== X-Gm-Message-State: AO0yUKWhU2YyY0MsqYlWu7E6dV/9W1rr+ii+23UYqYdFncMT1MRbCj8x j4FIDcVqJk9oGak3s1O3H0hnwQ== X-Google-Smtp-Source: AK7set+z25Iv9a+H5iw4e/zFhuh98gKh8sTZxrAFPzyJTLf5GgKWIR8yViwOIldZlCXPQ1uTzgXeqg== X-Received: by 2002:a05:6402:444:b0:4fd:22a4:e88c with SMTP id p4-20020a056402044400b004fd22a4e88cmr4577999edw.39.1678948567003; Wed, 15 Mar 2023 23:36:07 -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 e12-20020a50a68c000000b004ac54d4da22sm3344864edc.71.2023.03.15.23.36.05 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 15 Mar 2023 23:36:06 -0700 (PDT) Message-ID: Date: Thu, 16 Mar 2023 07:36:05 +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 2/3] arm64: dts: ti: Use local header for pinctrl register values 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-3-nm@ti.com> From: Krzysztof Kozlowski In-Reply-To: <20230315155228.1566883-3-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: > The DTS uses hardware register values directly in pin controller pin > configuration and not an abstraction of any form. > > These definitions were previously put in the bindings header to avoid > code duplication and to provide some context meaning (name), but they > do not fit the purpose of bindings. > > Store the constants in a header next to DTS and use them instead of > bindings. > > Suggested-by: Krzysztof Kozlowski > Suggested-by: Linus Walleij > Link: https://lore.kernel.org/all/c4d53e9c-dac0-8ccc-dc86-faada324beba@linaro.org/ > Signed-off-by: Nishanth Menon > --- Acked-by: Krzysztof Kozlowski Best regards, Krzysztof