Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp7183874rwp; Tue, 18 Jul 2023 11:14:29 -0700 (PDT) X-Google-Smtp-Source: APBJJlGxgPRJGt8sm6T2uC/FWsuCEvFhGTyNBGWX+ZFlVxBfHGy6lSpEEQ1J8j3jzUBlsU/CYFnO X-Received: by 2002:a05:6402:518d:b0:521:66b4:13d6 with SMTP id q13-20020a056402518d00b0052166b413d6mr494109edd.4.1689704069062; Tue, 18 Jul 2023 11:14:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689704069; cv=none; d=google.com; s=arc-20160816; b=v5CV6kzVyq9bl7dTcXYU+kSYExcH0g3KN2oRJMh6jrr5XPix/No0hwdjpQWz5f96Rj FE3nd8wIcH7oSrTiqjqYTFv5+CcePh3buBPVVCECQryBLuhJpp7yR9qGa+/LMj79kRcO ksdtSaRH8SsFYs6Lt7wTylONNxaH94IAZgqsIDcJfRIbEga7EM5xAOqQjLIRi+Y1SUHT IdzU+I4CcrxRUHzHFiCXw8rFtFB/J2Rw7IEiwsaPmH1Bc4pdVNNVUY9LeI/BktrybpqD INOugnPxDYJ9nfI2SQt8NBwvv8qX5Km9Q2SPTVMr4sSBuH14Mfq16GVmp+MHxLh6oK0y k1rw== 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=GkVGM62mLoDf1421cn8cwTEotQIx3Vb8NTgK8HMMhLs=; fh=Fsj+iCyoLh2lLfAnqSO4zyQvmjKTvPhK6fwCBAlAOCU=; b=w/IrguHr248e8WAf+P5iPK+h+t/2D7XkiiNXxgrM5GnoSbM0myvWmXI8D+eELkflUW qdWQX6R2NS6uVx7Ur6E3Z3yO7ax9IqbVZCMjB5IrSM4m14oOj7F0S8kPmHjxOgm96yAn L0U0rt1gUbbbjTU/LBApLujQzl0mr3WKmUujV2yAEwLl0D5/Xs5MPqpfxUWqyeMSCpn4 81jpWPSV+u7Hz6H+YnAnl1qvb2FWfrQt9+mpf6fy7rumpP62bP/Ppgnk+KNBa3/xanIv Yfqd2+cWjaxIjzKTOzX2Y+Kn3qxYIHuOUszoLtzHIrAKaSYWfY0Rk6TBG5dgiS1AWd31 bDHg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=zChok7gL; 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 b13-20020aa7d48d000000b0051de5968bd8si1641926edr.443.2023.07.18.11.14.05; Tue, 18 Jul 2023 11:14:29 -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=zChok7gL; 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 S230360AbjGRSBt (ORCPT + 99 others); Tue, 18 Jul 2023 14:01:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43624 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231781AbjGRSBo (ORCPT ); Tue, 18 Jul 2023 14:01:44 -0400 Received: from mail-ej1-x62c.google.com (mail-ej1-x62c.google.com [IPv6:2a00:1450:4864:20::62c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1251A19BC for ; Tue, 18 Jul 2023 11:01:39 -0700 (PDT) Received: by mail-ej1-x62c.google.com with SMTP id a640c23a62f3a-991fe70f21bso804144966b.3 for ; Tue, 18 Jul 2023 11:01:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1689703297; x=1692295297; 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=GkVGM62mLoDf1421cn8cwTEotQIx3Vb8NTgK8HMMhLs=; b=zChok7gLqa3CeX8YEWNGoSPxHG7oVyaI4+5EvYswkjR8IqeKcdDVxDaeSFeDUxvPbe bzhLSaNLT4Keg26LYPhrh0NXkFCzQ79n4Rno3rIBtz+XJj2ROIPIc84IgaWhUbnaTOo/ yRlRL6+X9fG6D1WAWsv6xLsdHAtvQ5esp4a2NECiLsXySWQSjp1LJiCOp3QdoRrg1med ElwcBadNtrVzGLlxpXSMW7yFnqw85uISx8daZ30f210Zte0h35C3oc+0zqvvTriJ2+rJ REIqn2gbNR4NaGyCE1HgpDJXWkS0FRIOFLWqK9RXB1KfZRlv5bSrqLqg9vhOAmdQ58Zh JGyg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689703297; x=1692295297; 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=GkVGM62mLoDf1421cn8cwTEotQIx3Vb8NTgK8HMMhLs=; b=Ir0yEYWuviT8KHkezcSmbu9UtT7l8KFKA9iPo948tEnEtSuEaasm0ADisoRLmBepj3 jnJbFenSGqdhnQhBXPAoiFrO6EYA+ANEkoOE2PQaFT1sLxgeMiOwYxbNdwTncNmpmyfm oDxBeMYrARd3Cs0jMrf8wXtjbzXDbuf7CaNOT5bWdIRKUvDTO9Ij6b1km56qIfi4ecS3 Q0DUl8ReqvwVbDBa/nsxN3117zGb645Bct6AhT6Mb0kPeHXK6zm3YuLlcrOqC03m7RYc AUg+Vw8txGu0173p/vTPaaX9AUwGBqkCJAj2M43NYwMxXxkYBpNb4C/m+VLOzIP1oLBU JB/w== X-Gm-Message-State: ABy/qLaMFBNrEv6+iPSWde2DffSM0t9x0AL37UbQHHUmOje3rzdf5leH eCxfbMXzW18lKptSmHbqw00EYQ== X-Received: by 2002:a17:906:53c7:b0:988:9ec1:a8c5 with SMTP id p7-20020a17090653c700b009889ec1a8c5mr340449ejo.55.1689703297677; Tue, 18 Jul 2023 11:01:37 -0700 (PDT) Received: from [192.168.1.20] ([178.197.223.104]) by smtp.gmail.com with ESMTPSA id ks20-20020a170906f85400b0098e0a937a6asm1299075ejb.69.2023.07.18.11.01.36 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 18 Jul 2023 11:01:37 -0700 (PDT) Message-ID: Date: Tue, 18 Jul 2023 20:01:35 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: [PATCH 1/2] dt-bindings: reset: Updated binding for Versal-NET reset driver Content-Language: en-US To: Michal Simek , Conor Dooley , Piyush Mehta Cc: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, p.zabel@pengutronix.de, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, git@amd.com References: <20230717112348.1381367-1-piyush.mehta@amd.com> <20230717112348.1381367-2-piyush.mehta@amd.com> <20230717-explode-caucus-82c12e340e39@spud> <694a1314-0b25-ff5e-b19f-5a0efe07bf64@linaro.org> <22e7dc73-2411-5cb1-6cef-daa5f2af8297@linaro.org> <5df3e976-9fc2-19af-e6b4-e2bea0d64623@amd.com> <4c932cbf-19db-2c88-2558-aa42c5338598@linaro.org> From: Krzysztof Kozlowski In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED 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 18/07/2023 16:30, Michal Simek wrote: >>> >>> Please correct me if I am wrong. Description about ID should be removed from >>> commit message because it is not necessary. And >>> include/dt-bindings/reset/xlnx-versal-net-resets.h >>> should be added when we merge also DT for versal-net SOC. >> >> No, the binding header is needed only if driver is using it. Adding DTS >> will not change that - still no kernel driver users. No benefits of such >> binding. If there are no users and no benefits - don't make it a binding. > > But header in board folder should be fine like these. > arch/arm64/boot/dts/mediatek/mt2712-pinfunc.h > arch/arm64/boot/dts/mediatek/mt8516-pinfunc.h > arch/arm64/boot/dts/mediatek/mt8167-pinfunc.h > arch/arm64/boot/dts/mediatek/mt8173-pinfunc.h > arch/arm64/boot/dts/exynos/exynos-pinctrl.h > arch/arm64/boot/dts/freescale/imx8mq-pinfunc.h > arch/arm64/boot/dts/freescale/imx8mp-pinfunc.h > arch/arm64/boot/dts/freescale/imx8mn-pinfunc.h > arch/arm64/boot/dts/freescale/imx93-pinfunc.h > arch/arm64/boot/dts/freescale/imx8ulp-pinfunc.h > arch/arm64/boot/dts/freescale/imx8mm-pinfunc.h > arch/arm64/boot/dts/tesla/fsd-pinctrl.h Yes. If you want to store some constants (register values, firmware magic numbers) and use in DTS, this is the way to go. Most (or all) of examples above are for register values. Best regards, Krzysztof