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 145BCC00A8F for ; Tue, 24 Oct 2023 15:41:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: Content-Type:Message-ID:References:In-Reply-To:Subject:Cc:To:From:Date: MIME-Version:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=EwwjwSgPSF7CHn3eaii+fbn4g3irmYM/PgqVaA1J94g=; b=4BfkhrWTuxVAo1Oovy6uXS0y5C pAcKaPBGSIqGpAMD5JNf5NzzOxuwtiI0jgBUK0zZzeRH6AE7L2no4J0OLHKTx4he78svdyHbW9mRE giCjI3kHqulI/5yNq6sSx1yOupQWNjKaXTTYNWjZmmWsp38ugiOzoOhOtnB+C19FnEXroonwgTkX0 bPK6pRTD77Ek/hVWj1jgHZNS7xBAWkylklZqdIXYelZO5gkeUgfeI5oklgQGiPSfC0iohwrh70X7D APWRmZy+KaMkykpvt63sz7x6WXqp2C9yXgL6OCwWqwvkaevvvcGgPx3u7a9S7xsLoKH0rIpHlCQGD Vs+JXXnQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qvJXR-00AMi0-07; Tue, 24 Oct 2023 15:41:49 +0000 Received: from 6.mo560.mail-out.ovh.net ([87.98.165.38]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qvJXL-00AMg2-0X for linux-mediatek@lists.infradead.org; Tue, 24 Oct 2023 15:41:46 +0000 Received: from director8.ghost.mail-out.ovh.net (unknown [10.109.156.41]) by mo560.mail-out.ovh.net (Postfix) with ESMTP id 6E8D72355F for ; Tue, 24 Oct 2023 15:41:36 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-4l929 (unknown [10.111.172.174]) by director8.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 5F09D1FD5A; Tue, 24 Oct 2023 15:41:32 +0000 (UTC) Received: from RCM-web6.webmail.mail.ovh.net ([151.80.29.20]) by ghost-submission-6684bf9d7b-4l929 with ESMTPSA id YKYSFazlN2WWggAAw4wSxw (envelope-from ); Tue, 24 Oct 2023 15:41:32 +0000 MIME-Version: 1.0 Date: Tue, 24 Oct 2023 17:41:31 +0200 From: =?UTF-8?Q?Rafa=C5=82_Mi=C5=82ecki?= To: Rob Herring Cc: =?UTF-8?Q?Rafa=C5=82_Mi=C5=82ecki?= , Srinivas Kandagatla , Krzysztof Kozlowski , Conor Dooley , Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , Neil Armstrong , Kevin Hilman , Jerome Brunet , Martin Blumenstingl , Hector Martin , Sven Peter , Alyssa Rosenzweig , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Claudiu Beznea , Andy Gross , Bjorn Andersson , Konrad Dybcio , Heiko Stuebner , Kunihiko Hayashi , Masami Hiramatsu , Vincent Shih , Alessandro Zummo , Alexandre Belloni , Matthias Brugger , AngeloGioacchino Del Regno , Christian Marangi , Anson Huang , Andrew-CT Chen , Lala Lin , Komal Bajaj , Kumar Thella , Keiji Hayashibara , linux-mtd@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, asahi@lists.linux.dev, linux-arm-msm@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-rtc@vger.kernel.org, linux-mediatek@lists.infradead.org Subject: Re: [PATCH V2] dt-bindings: nvmem: move deprecated cells binding to its own file In-Reply-To: <20231024142457.GA3684864-robh@kernel.org> References: <20231003064018.7502-1-zajec5@gmail.com> <20231024142457.GA3684864-robh@kernel.org> User-Agent: Roundcube Webmail/1.4.13 Message-ID: <77363977d8f24fc0620a54f36326421b@milecki.pl> X-Sender: rafal@milecki.pl X-Originating-IP: 31.11.218.106 X-Webmail-UserID: rafal@milecki.pl Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 16550447158977801020 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: -100 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvkedrkeekgdeludcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpeggfffhvfevufgjfhgfkfigihgtgfesthekjhdttderjeenucfhrhhomheptfgrfhgrlhcuofhilhgvtghkihcuoehrrghfrghlsehmihhlvggtkhhirdhplheqnecuggftrfgrthhtvghrnhepjedvlefguedthfefleehgeeftdeludeluedvgfeffeevhfevtdehteejteefheegnecukfhppeduvdejrddtrddtrddupdefuddruddurddvudekrddutdeipdduhedurdektddrvdelrddvtdenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepoehrrghfrghlsehmihhlvggtkhhirdhplheqpdhnsggprhgtphhtthhopedupdhrtghpthhtoheplhhinhhugidqmhgvughirghtvghksehlihhsthhsrdhinhhfrhgruggvrggurdhorhhgpdfovfetjfhoshhtpehmohehiedtpdhmohguvgepshhmthhpohhuth X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231024_084143_496419_45F4B462 X-CRM114-Status: GOOD ( 13.97 ) X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org On 2023-10-24 16:24, Rob Herring wrote: > On Tue, Oct 03, 2023 at 08:40:18AM +0200, Rafał Miłecki wrote: >> From: Rafał Miłecki >> >> Support for old NVMEM fixed cells was deprecated in favour of >> "fixed-layout". It's still part of the nvmem.yaml though and may be >> unknowingly used by new bindings added without much of analyze. >> >> To make it more difficult to accidentally support old syntax move its >> binding to separated file with "deprecated" in its name. >> >> Signed-off-by: Rafał Miłecki >> --- >> V2: Fix path to nvmem-deprecated-cells.yaml in amlogic,meson6-rtc.yaml >> >> .../devicetree/bindings/mtd/mtd.yaml | 7 ++++- >> .../bindings/mtd/partitions/nvmem-cells.yaml | 1 + >> .../nvmem/amlogic,meson-gxbb-efuse.yaml | 1 + >> .../bindings/nvmem/amlogic,meson6-efuse.yaml | 1 + >> .../bindings/nvmem/apple,efuses.yaml | 1 + >> .../devicetree/bindings/nvmem/imx-ocotp.yaml | 1 + >> .../bindings/nvmem/mediatek,efuse.yaml | 1 + >> .../nvmem/microchip,sama7g5-otpc.yaml | 1 + >> .../devicetree/bindings/nvmem/mxs-ocotp.yaml | 1 + >> .../nvmem/nvmem-deprecated-cells.yaml | 28 >> +++++++++++++++++++ >> .../devicetree/bindings/nvmem/nvmem.yaml | 9 ------ >> .../bindings/nvmem/qcom,qfprom.yaml | 1 + >> .../bindings/nvmem/qcom,sec-qfprom.yaml | 1 + >> .../bindings/nvmem/qcom,spmi-sdam.yaml | 1 + >> .../bindings/nvmem/rockchip,otp.yaml | 1 + >> .../bindings/nvmem/rockchip-efuse.yaml | 1 + >> .../nvmem/socionext,uniphier-efuse.yaml | 1 + >> .../bindings/nvmem/sunplus,sp7021-ocotp.yaml | 1 + >> .../bindings/rtc/amlogic,meson6-rtc.yaml | 1 + >> 19 files changed, 50 insertions(+), 10 deletions(-) >> create mode 100644 >> Documentation/devicetree/bindings/nvmem/nvmem-deprecated-cells.yaml > > You missed allwinner,sun4i-a10-sid.yaml and at24.yaml > (arch/arm/boot/dts/broadcom/bcm53016-meraki-mr32.dts). Maybe we want to > fix the latter case because at24 will continually have new users. I see. I looked at examples and DTS files with "allwinner,sun4i-a10-sid" binding but I missed others. For reference fixed cells are used in: 1. sun50i-a64.dtsi 2. sun50i-h6.dtsi 3. sun50i-a100.dtsi I'll fix that soon! -- Rafał Miłecki