Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp119780iof; Sun, 5 Jun 2022 22:58:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxAmmtGZ2M7l47cjIKlb5het7LfLlo3gFQNXOIcmkRThXoR9ugRj/0vLGLMLIUAFiz38tcN X-Received: by 2002:a62:140c:0:b0:51b:bd14:6859 with SMTP id 12-20020a62140c000000b0051bbd146859mr23646647pfu.28.1654495108898; Sun, 05 Jun 2022 22:58:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654495108; cv=none; d=google.com; s=arc-20160816; b=NjgGG3nP0AAcIz6izBXq8m3oivhDXaU//gel3FIeGSzKKee17y2uAwrpvIa2jjia6V FOGxoPxNEVx//UWeMAWv7caA7K6ZNk8f9pZxmIXpa7mvhPb2c3fvETtAWMirDr7iwXyp 04erWQTB+DygmoPauq0FX9AwxUcFOLsRUq1ZImNIRs28fQBWMQcu3bg+fbK06acbPboY uyKl6l4A12CuVGnHr5MeGVCQkLYm00Hm4o013ozYS/eNZake5s3+dodwmZQcogFdFJsi ZlLA27quiR8kH2MYXY+gB/laSsNm1Rz9/MWVqldaY36PtC3iTZzxgBpKRjpxeNtOzffq T55A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date:dkim-signature; bh=/PDivizaxZ+AZVI8p6z9vlgef9z49p8d3VW+VGNrFXQ=; b=fzqm5L6ffOIbsYmIcNpNpFMaDTkHBl1Sr22/bhhj575UeBNqZFEi9d56mYSKIrQXYp AFPu8zGmXDJrJw4v4/chqvZlDEu3NJyK5cR3yT6o1xLdRQowdHTB0ALPM+5MpUr0+Co+ A2YajniA872Nl6sdwNjyKvTggK8+ECjkIFg7hj4biCdKTpd/uPRkx6SuRQoYy4BHAusr IWkvRcVbBQV0VB7NqPcol9mtWS8+FE6u37CLG7eSCrAiEqrd5AfxXzXYS3rwuZw+Gqnu OXtZz5+utSeZ5a+rDk9yKTGfqjlVkPm2YCi2jBm5xKOsHlVGB4kmw/LcULQf6Ex75x5X fTeA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b="FyImQt/z"; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id k3-20020a17090a3e8300b001e070f1ddabsi19815673pjc.65.2022.06.05.22.58.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Jun 2022 22:58:28 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b="FyImQt/z"; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id A98542F0F5F; Sun, 5 Jun 2022 21:47:25 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244707AbiFCNkf (ORCPT + 99 others); Fri, 3 Jun 2022 09:40:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59516 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234405AbiFCNkd (ORCPT ); Fri, 3 Jun 2022 09:40:33 -0400 Received: from relay8-d.mail.gandi.net (relay8-d.mail.gandi.net [217.70.183.201]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 712DB2ED79; Fri, 3 Jun 2022 06:40:31 -0700 (PDT) Received: (Authenticated sender: miquel.raynal@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id 0E7721BF207; Fri, 3 Jun 2022 13:40:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1654263629; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=/PDivizaxZ+AZVI8p6z9vlgef9z49p8d3VW+VGNrFXQ=; b=FyImQt/znIZ3l9LMdZ0YhyUCnm8jZNezAY+ZF2LrLu5+lFQyM6ady0UJG32AVkeNcXDR1b eQqgT8r55nCwyn+w87wZtn52dhsFvmEQmOrr98AaC2wCDFSb5yeHuJasulwXo1ubBOgB52 2ZdD/b/c0tSyL6Xmesr/4co48HjYzx65CUOCkP7ByAC+iTcuV6FFG5+8VZ8ONelSLgc/MZ /nIPfrKqOkV/Um8Mzbk7mzYbqSYkEY7k0247463pkejI/L7GnCiSO5hbWJGGgrKdDW5mCp N+QKuEvj8NkAMLRjc09Leu0e4zzHtr/MUaNE8AptT3KletmN9jvAB2jQMtB4fA== Date: Fri, 3 Jun 2022 15:40:24 +0200 From: Miquel Raynal To: Rob Herring Cc: Marc Kleine-Budde , Richard Weinberger , Vignesh Raghavendra , Krzysztof Kozlowski , Uwe =?UTF-8?B?S2xlaW5lLUs=?= =?UTF-8?B?w7ZuaWc=?= , linux-mtd@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] dt-bindings: mtd: mxc-nand: Drop undocumented properties from example Message-ID: <20220603154024.27ae9ad5@xps-13> In-Reply-To: <20220531150515.GB1742958-robh@kernel.org> References: <20220525205947.2487165-1-robh@kernel.org> <20220527093839.3byc6r6ixuu5givt@pengutronix.de> <20220531150515.GB1742958-robh@kernel.org> Organization: Bootlin X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 Hi Rob, Marc, robh@kernel.org wrote on Tue, 31 May 2022 10:05:15 -0500: > On Fri, May 27, 2022 at 11:38:39AM +0200, Marc Kleine-Budde wrote: > > On 25.05.2022 15:59:46, Rob Herring wrote: =20 > > > With unevaluatedProperties issues fixed, 'nand-bus-width' and > > > 'nand-ecc-mode' are flagged as undocumented. Removing them from the e= xample > > > is the easiest solution to silence the warnings. > > >=20 > > > Signed-off-by: Rob Herring =20 > >=20 > > At least the 'nand-bus-width' property is described in > > "nand-controller.yaml" and the "mxc-nand.yaml" refers to it. > >=20 > > | allOf: > > | - $ref: "nand-controller.yaml" > >=20 > > Is this ref broken? =20 >=20 > Nope, read my note below. 'nand-bus-width' is documented as a nand chip=20 > (child node) property, not a nand controller property. >=20 >=20 > > regards, > > Marc > > =20 > > > --- > > > These properties may be deprecated, but they are still widely used in > > > bindings. They either need to be documented (and marked deprecated) or > > > removed from current users (i.e. dts files). =20 I don't mind keeping them undocumented to encourage people to migrate to a better description. For the record, in the past controllers and devices where not separated in the description, hence we had NAND chip specific properties landing in to the NAND controller description. So I'm fine with the current approach. Thanks, Miqu=C3=A8l