Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp1769796rdb; Mon, 2 Oct 2023 23:34:20 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF+n1BXo0ENledKlDP8nkZjGpBlYDRZomo5tjt3rk+J2bmIoL01NbXE2bjLtfHrWtw6pLSW X-Received: by 2002:a05:6a00:2341:b0:68c:4e22:8f78 with SMTP id j1-20020a056a00234100b0068c4e228f78mr13526374pfj.25.1696314860601; Mon, 02 Oct 2023 23:34:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696314860; cv=none; d=google.com; s=arc-20160816; b=aF2OJQ6R40VWwogJSH6tbrwNRl/tp9WM4TP8iz3p+CsLNQdcsJyvWhX5i6yBcAn4eZ tiqaREP4OrHwieyVEAVh5RZuPsyjwE6X0/LzsNIDfw5Em/qVmA6hhC+jwZdMlHWqmXES zIN7MNQ2MuTDu+tGzyXqHsbGN/7JRliW+8YPc0lPV0zGC7pFDNzW8WpZR11uj73551BW djXKvUBlJgafBm38fTvlUrpnePq/LS/Z2T9pTCRTFtTKJZOJS8UVA2wvLuU6+XZanoSn 0svzPyJHgRKAHk9TYdRlkZb3nqaEk0iS+WcLyD8HFg0lpza3YsM8n3iuMpKfZJ5NN7tq d62w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:date:subject:message-id:references:in-reply-to :cc:to:from:mime-version:content-transfer-encoding:dkim-signature; bh=5j2cXumgJFfEl7R03m+k4zuEisvqzkZjIJSPErc3sug=; fh=jLwMk7MfOYiQMNowRBYK+WXf++rOEI+1E7b0LVDgRU0=; b=abd2XnypEh9L1IuTz1L+gIkZuYy6ocQRyxEpKQ8CxeCZyvy5pKyH6vK9IHup/sxw4J ouHZgH2BQ2mS6gv6kJ+EvvMX/57g5czN4ikqnlFSvK3Uc6pQCx7m9af7+hVhQeXa0hNV YZJk8gkTZ71zARGs2F8SfSh9RD5aOxAFj4E6K2HGNw+nXqUISmbzh5/HN0S7LQukN/vz TAnmJMENsCQjhDdS/stg0kCgm7+E8pzBooCwBK2aHsakRnmUIx+jBl0DzvAklr/fKnj7 gn9iQuT76BuWzmhkwPcz98NVBzoDFsD6OeeMoAr/3qPNQD5XciTlfyNEP6JczalhrIhb yJmQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=AAlRSjy+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id g19-20020a056a00079300b00690c19cb105si755968pfu.250.2023.10.02.23.34.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Oct 2023 23:34:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=AAlRSjy+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id B7D5780267F7; Mon, 2 Oct 2023 23:34:19 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230271AbjJCGeT (ORCPT + 99 others); Tue, 3 Oct 2023 02:34:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48720 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229453AbjJCGeS (ORCPT ); Tue, 3 Oct 2023 02:34:18 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 99EF593; Mon, 2 Oct 2023 23:34:15 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C39E1C433C7; Tue, 3 Oct 2023 06:34:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1696314855; bh=Ryqz7zCojcMrEL8UuOL0v/jyNiV/Tvh9g3eXU1LCU2I=; h=From:To:Cc:In-Reply-To:References:Subject:Date:From; b=AAlRSjy+ZPVXdvA0otoocH+MR4mkmlZiwM0Qq6ROZJEyMmGSGE+A6KbaKGSezpi7l ZTCzUND2LpxuvzOLyksaUm3ZDB1hgsSeDh4FinK07Ps+wIPBZYy6/s52s3OAShctPi oSJivSz33iUYk+CvBwUzAN2lo/UMZ6SwbE3KgL3zWAjTv+OI6flkEJpNWxSZsWcqOF Wva207ke7oNtBOrUUwVzyft4pGJ7y8gF3mfcv1xM/yoh27FwGVvUGCSW8xLT0ui+MJ whJmGLWJ9L6giK/J1zon59LVlMfeQlHhGpfbnQlvBThtC8UATKTjTXR52pTYAYcEc7 yekHR3gUSzE5w== Received: (nullmailer pid 3548862 invoked by uid 1000); Tue, 03 Oct 2023 06:34:09 -0000 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit MIME-Version: 1.0 From: Rob Herring To: =?utf-8?q?Rafa=C5=82_Mi=C5=82ecki?= Cc: Pengutronix Kernel Team , Alyssa Rosenzweig , Christian Marangi , Hector Martin , linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org, Neil Armstrong , NXP Linux Team , Komal Bajaj , linux-rtc@vger.kernel.org, Claudiu Beznea , Alexandre Belloni , Martin Blumenstingl , linux-mtd@lists.infradead.org, Jerome Brunet , Vincent Shih , asahi@lists.linux.dev, Rob Herring , Anson Huang , Andy Gross , linux-rockchip@lists.infradead.org, Vignesh Raghavendra , AngeloGioacchino Del Regno , Andrew-CT Chen , Sascha Hauer , Richard Weinberger , Krzysztof Kozlowski , Konrad Dybcio , Matthias Brugger , Heiko Stuebner , Fabio Estevam , Conor Dooley , Kunihiko Hayashi , Bjorn Andersson , Alessandro Zummo , Sven Peter , linux-arm-kernel@lists.infradead.org, Miquel Raynal , Shawn Guo , Kumar Thella , Srinivas Kandagatla , devicetree@vger.kernel.org, Masami Hiramatsu , linux-arm-msm@vger.kernel.org, Keiji Hayashibara , Kevin Hilman , =?utf-8?q?Rafa=C5=82_Mi=C5=82ecki?= , linux-mediatek@lists.infradead.org, Lala Lin In-Reply-To: <20231003050355.1631-1-zajec5@gmail.com> References: <20231003050355.1631-1-zajec5@gmail.com> Message-Id: <169631484962.3548819.1223779643388796546.robh@kernel.org> Subject: Re: [PATCH] dt-bindings: nvmem: move deprecated cells binding to its own file Date: Tue, 03 Oct 2023 01:34:09 -0500 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Mon, 02 Oct 2023 23:34:19 -0700 (PDT) On Tue, 03 Oct 2023 07:03:55 +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 > --- > .../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 > My bot found errors running 'make DT_CHECKER_FLAGS=-m dt_binding_check' on your patch (DT_CHECKER_FLAGS is new in v5.13): yamllint warnings/errors: dtschema/dtc warnings/errors: /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/rtc/amlogic,meson6-rtc.yaml: Error in referenced schema matching $id: http://devicetree.org/schemas/rtc/nvmem-deprecated-cells.yaml /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/rtc/amlogic,meson6-rtc.example.dtb: rtc@740: False schema does not allow {'compatible': ['amlogic,meson6-rtc'], 'reg': [[1856, 20]], 'interrupts': [[0, 72, 1]], 'clocks': [[4294967295]], 'vdd-supply': [[4294967295]], 'resets': [[4294967295]], '#address-cells': [[1]], '#size-cells': [[1]], 'mac@0': {'reg': [[0, 6]]}, '$nodename': ['rtc@740']} from schema $id: http://devicetree.org/schemas/rtc/amlogic,meson6-rtc.yaml# /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/rtc/amlogic,meson6-rtc.example.dtb: rtc@740: Unevaluated properties are not allowed ('mac@0' was unexpected) from schema $id: http://devicetree.org/schemas/rtc/amlogic,meson6-rtc.yaml# doc reference errors (make refcheckdocs): See https://patchwork.ozlabs.org/project/devicetree-bindings/patch/20231003050355.1631-1-zajec5@gmail.com The base for the series is generally the latest rc1. A different dependency should be noted in *this* patch. If you already ran 'make dt_binding_check' and didn't see the above error(s), then make sure 'yamllint' is installed and dt-schema is up to date: pip3 install dtschema --upgrade Please check and re-submit after running the above command yourself. Note that DT_SCHEMA_FILES can be set to your schema file to speed up checking your schema. However, it must be unset to test all examples with your schema.