From mboxrd@z Thu Jan 1 00:00:00 1970 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 A307DC00A8F for ; Tue, 24 Oct 2023 15:59:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343979AbjJXP7q (ORCPT ); Tue, 24 Oct 2023 11:59:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52482 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343937AbjJXP7l (ORCPT ); Tue, 24 Oct 2023 11:59:41 -0400 Received: from 14.mo581.mail-out.ovh.net (14.mo581.mail-out.ovh.net [178.33.251.19]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D485EDE for ; Tue, 24 Oct 2023 08:59:35 -0700 (PDT) Received: from director8.ghost.mail-out.ovh.net (unknown [10.109.143.249]) by mo581.mail-out.ovh.net (Postfix) with ESMTP id 4F82926E0C 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: gggruggvucftvghtrhhoucdtuddrgedvkedrkeekgdelvdcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpeggfffhvfevufgjfhgfkfigihgtgfesthekjhdttderjeenucfhrhhomheptfgrfhgrlhcuofhilhgvtghkihcuoehrrghfrghlsehmihhlvggtkhhirdhplheqnecuggftrfgrthhtvghrnhepjedvlefguedthfefleehgeeftdeludeluedvgfeffeevhfevtdehteejteefheegnecukfhppeduvdejrddtrddtrddupdefuddruddurddvudekrddutdeipdduhedurdektddrvdelrddvtdenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepoehrrghfrghlsehmihhlvggtkhhirdhplheqpdhnsggprhgtphhtthhopedupdhrtghpthhtoheplhhinhhugidqkhgvrhhnvghlsehvghgvrhdrkhgvrhhnvghlrdhorhhgpdfovfetjfhoshhtpehmohehkedupdhmohguvgepshhmthhpohhuthdpughkihhmpehprghssh Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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