Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp5155871pxj; Wed, 9 Jun 2021 10:22:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwUY9is0beF7mbCxKH1diZwDKyj+ANsnQISQuJbf44kJ1h/CwZpYd7863kPFp6AoUQsrLAn X-Received: by 2002:aa7:da58:: with SMTP id w24mr503257eds.127.1623259358799; Wed, 09 Jun 2021 10:22:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623259358; cv=none; d=google.com; s=arc-20160816; b=cwIwPKbLu0kOs2Q2B+BG/wMprMAY5kNCK4AxYoAaBnYLpLCg0E1G7yakSjZjG13HG1 J3RmUOXl2OL+2O3swY5c/hxZBK4u6pNH9NQ/dQP7sek4V8aCA+mnNUqNNKKpCc2nLupW atFjnqZElHIbYJGpVyqc4Nrs1rt5HNPCNkBKsGHh4h5GHwgoQ9oEp8gTxrNnccu5Lxx1 Sx37t6+MIfu57Za0IKpmJUOlWoaaxH91+k/c13dND3fQsG6435fQX/4ZD5C1z4Ro/dnm bfwrVqHfjZhP/8iSoLbCbk4nC7sAEY1au978j0c3pPgsYwOpxuhA8PtjxHCrjzumpmwc m6ZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=BnDNmk6xWB97FCQncGvxFKPZvRlOM5eWdMh+QD8JdRI=; b=qru53sm8C/asK4sx2r0Y8m4W6gQIprY4AFH4GPa4FONqg0IV3BLsJR+22XwRvlqryB KmQCGONusGHZLucaYSveDzlLqCQih+fFxfZKf58zopdFkcp8PFPVIAqfSHA38u794DhF KjB1WVwsIHvHuSMQkYUJP6wa8wYHjpeXz/6NU0r06fnM9JSNHKvK6CY2Jwv7fJm68AWs IpIl3ararUOfKRJh/XY2+D8mXS71IlBIGUJrtmqYg0yYNxF8Yf0wofD595CZCHHCRNo5 X2xDa+lhQxbWetN+uZXvBs2XVwVQxK6zXwyJYbsgL/hYnRZX33pICSuNF1iHvbMp097u kFkA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=canonical.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h14si205520edr.526.2021.06.09.10.22.14; Wed, 09 Jun 2021 10:22:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=canonical.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239708AbhFIMDI (ORCPT + 99 others); Wed, 9 Jun 2021 08:03:08 -0400 Received: from youngberry.canonical.com ([91.189.89.112]:40669 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239697AbhFIMDH (ORCPT ); Wed, 9 Jun 2021 08:03:07 -0400 Received: from mail-wm1-f69.google.com ([209.85.128.69]) by youngberry.canonical.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1lqwtU-0007mj-1R for linux-kernel@vger.kernel.org; Wed, 09 Jun 2021 12:01:12 +0000 Received: by mail-wm1-f69.google.com with SMTP id j6-20020a05600c1906b029019e9c982271so2534147wmq.0 for ; Wed, 09 Jun 2021 05:01:12 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=BnDNmk6xWB97FCQncGvxFKPZvRlOM5eWdMh+QD8JdRI=; b=XiVMP3TegE6K2ONtmPulg/qKUqfmuNAQxQCAOrw5wwQ0V9HJZFZ1fgj0SW3F+zBtDv +RqAzt5wjK5zVN5refMPXIiElc25eFXDiTLlAUpzzqhaLycspyNlhm2jQBQYqvAndMWX sxpwzRLhBVNv0nwjp1Bcf/gGasMOI5VplpMOsVtl0kJZbSMyGfSCYHwOMA8JcSh1H4Ga CD/7mkZC4xeUbbiz9L1m8iQXoZxZWpgBoav5n6K6FvSNSvvmmYxgbg6iSa8HttkZoGZ5 +bizUDWjt+Ckiu4nmlux1/DupFSlPs5/IeLDNPMbd4ym2ZyXe9jqA8I9hPfYLmcZaqPa 2N0g== X-Gm-Message-State: AOAM533CI5+C0Oi9pSQs2o70bat+s+EQcUxm4H+YKrnvU5vCZvnA8/Y7 FIDvFh666PHOPpN9iZ3N6DWrUyXKTQ54+cSWosxjyKTtp+eJZ31jLDiqgnETscy9OLtQPSlPf5B 2gJN3D2zo5Ba0rFlDua+dsW5zc1nzctc8/NbNxcwgIA== X-Received: by 2002:a05:6000:1365:: with SMTP id q5mr8321930wrz.53.1623240071308; Wed, 09 Jun 2021 05:01:11 -0700 (PDT) X-Received: by 2002:a05:6000:1365:: with SMTP id q5mr8321906wrz.53.1623240071182; Wed, 09 Jun 2021 05:01:11 -0700 (PDT) Received: from [192.168.1.115] (xdsl-188-155-177-222.adslplus.ch. [188.155.177.222]) by smtp.gmail.com with ESMTPSA id m22sm5703554wmq.21.2021.06.09.05.01.10 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 09 Jun 2021 05:01:10 -0700 (PDT) Subject: Re: [PATCH v22 17/18] dt-bindings: mtd: pl353-nand: Describe this hardware controller To: Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , Tudor Ambarus , linux-mtd@lists.infradead.org, Rob Herring , devicetree@vger.kernel.org Cc: Michal Simek , Naga Sureshkumar Relli , Amit Kumar Mahapatra , Thomas Petazzoni , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, helmut.grohne@intenta.de, Srinivas Goud , Siva Durga Prasad Paladugu References: <20210609080112.1753221-1-miquel.raynal@bootlin.com> <20210609080112.1753221-18-miquel.raynal@bootlin.com> From: Krzysztof Kozlowski Message-ID: <57ef16cd-33e7-6c16-3a24-9634f47831b3@canonical.com> Date: Wed, 9 Jun 2021 14:01:10 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: <20210609080112.1753221-18-miquel.raynal@bootlin.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 09/06/2021 10:01, Miquel Raynal wrote: > Add a yaml description of this NAND controller which is described as a > subnode of the SMC bus. > > Signed-off-by: Miquel Raynal > --- > .../bindings/mtd/arm,pl353-nand-r2p1.yaml | 57 +++++++++++++++++++ > 1 file changed, 57 insertions(+) > create mode 100644 Documentation/devicetree/bindings/mtd/arm,pl353-nand-r2p1.yaml > > diff --git a/Documentation/devicetree/bindings/mtd/arm,pl353-nand-r2p1.yaml b/Documentation/devicetree/bindings/mtd/arm,pl353-nand-r2p1.yaml > new file mode 100644 > index 000000000000..e72fa14b4385 > --- /dev/null > +++ b/Documentation/devicetree/bindings/mtd/arm,pl353-nand-r2p1.yaml > @@ -0,0 +1,57 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/mtd/arm,pl353-nand-r2p1.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: PL353 NAND Controller device tree bindings > + > +allOf: > + - $ref: "nand-controller.yaml" > + > +maintainers: > + - Miquel Raynal > + - Naga Sureshkumar Relli > + > +properties: > + compatible: > + items: > + - enum: That's not an enum, but simple const without items. > + - arm,pl353-nand-r2p1 > + > + reg: > + items: > + - items: > + - description: CS with regard to the parent ranges property > + - description: Offset of the memory region requested by the device > + - description: Length of the memory region requested by the device Doesn't it depend on parent's address/size cells? > + > + "#address-cells": true > + "#size-cells": true These should come from nand-controller.yaml Best regards, Krzysztof