Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp755450pxp; Fri, 11 Mar 2022 14:16:26 -0800 (PST) X-Google-Smtp-Source: ABdhPJzWES2S9A9bEawcJM1HgxYyLDHe9AjnlF1vpjKV/Ok5BYjvyTrmZpw4yAD98WB3zMQeMx+p X-Received: by 2002:a17:902:e852:b0:151:f805:30fc with SMTP id t18-20020a170902e85200b00151f80530fcmr12958661plg.87.1647036986053; Fri, 11 Mar 2022 14:16:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1647036986; cv=none; d=google.com; s=arc-20160816; b=0xfsszGGyRUM77n5WLN08LnuBWaO2wty5abOq0qSUaXe7dILt9vaAqo26i2ybS3LC+ r7juOqtGu5c01exM1yFZf2Lv4Y0+ElqSNXOLkzLiBx6rFUmDu374HekZM5BXbf+KpK3K f1wR45YVjOf/Npvdt1y3f5Yrg5YbNR/CdISFe6kjG5S7VOgiAZWXMYYtv8ojFgWI79oG tcaHR4ssrjzUbJyzJoYeU3/2o5HhTiL7gSUI08Qjn3zzHyLt1dnt8sZ/lfQZKQicun2i Ksddak63NIpEoMcyZln5SNRNQNDMi9Xhb6lBU1cN2l3zdRwgjVDI4y1sMn+6THVwvSIA dKiQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=KY8vboNBmqrfG0d73imgH39eTc9TfJDXwkAlFPUH9vc=; b=ksMzt1lGHKFzTMyN1qt32T7H+6uyXUmTKeWMyy2POrDdClw5pU6qtt0HNCY9CaHojb MZup6upVVSRZj3G4oEBpMLvQE3dLHMBUSS3/0miW2fL8Z55Pn79a0OAqHrWK75FxPow6 I3X1nneZuxMzPuNHXoWx9UZrxtckpktnjhIHmHL8tr+iVx2F8QKJL40e+rqKttFrgI7Q ayLD1tJ01ziVT3S7H/oOx6hdzymzeV07Uus8yQhP6TAYYV77StTMZfohNlOcP2GToCHW Ie6Si9D3Y2ame3X0HPZwnDDxpV6hGfHdquDPki/itMqg46xxlt289RLY2cQFMgqnb/1T uZ/w== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id r136-20020a632b8e000000b0038007eef57bsi9193702pgr.341.2022.03.11.14.16.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Mar 2022 14:16:26 -0800 (PST) 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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 40DD022FDBF; Fri, 11 Mar 2022 13:25:54 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245294AbiCJVAH (ORCPT + 99 others); Thu, 10 Mar 2022 16:00:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50300 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245041AbiCJVAF (ORCPT ); Thu, 10 Mar 2022 16:00:05 -0500 Received: from mail-ot1-f51.google.com (mail-ot1-f51.google.com [209.85.210.51]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C116DDB859; Thu, 10 Mar 2022 12:59:00 -0800 (PST) Received: by mail-ot1-f51.google.com with SMTP id s35-20020a0568302aa300b005b2463a41faso4901057otu.10; Thu, 10 Mar 2022 12:59:00 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=KY8vboNBmqrfG0d73imgH39eTc9TfJDXwkAlFPUH9vc=; b=t2IXZR4wxmUsjfVVIt+ZXBe/etuSSCckKTev7KfG1UoqmUn6jzZerWgpwYRh/7S0wU fP2G36gV1zxQEI1BQPp9IEbmGEYYEkLFZ9xVqeKuhg0CiHmoKLqQlZSak/aNfVymVkCy ktwFpqbIgQxknIe7SL0EpIEaD3xUd9m3+7ukCxLILrh1j7QacY2bS4k6xPT8k+p+97ES kxU7wmuSgYjT+ms4HWcxTTwF01SDfJIskJxIWZN4l9loTLMrlHZiMSGL7/QxZqW8HMoI Tn9wyswLBZj0FvnsIgJKFEGrczJWj6pyisVFeaWZ66TaKAb3uU4RaCapmk5+GeHXxBh/ CTXg== X-Gm-Message-State: AOAM530e0OkS+Axp5Ji0wn+rcj0IvHdGX5bpu5lAZC9Y1Ztfu1uAdgg3 BZrgmgLVohwOlExftOvLYKL2PfEMRw== X-Received: by 2002:a9d:2ce:0:b0:5b2:1513:4997 with SMTP id 72-20020a9d02ce000000b005b215134997mr3460310otl.278.1646945940049; Thu, 10 Mar 2022 12:59:00 -0800 (PST) Received: from robh.at.kernel.org (66-90-144-107.dyn.grandenetworks.net. [66.90.144.107]) by smtp.gmail.com with ESMTPSA id q189-20020acaf2c6000000b002da32f2035fsm2768709oih.2.2022.03.10.12.58.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Mar 2022 12:58:59 -0800 (PST) Received: (nullmailer pid 2058933 invoked by uid 1000); Thu, 10 Mar 2022 20:58:58 -0000 Date: Thu, 10 Mar 2022 14:58:58 -0600 From: Rob Herring To: Vincent Whitchurch Cc: vigneshr@ti.com, richard@nod.at, miquel.raynal@bootlin.com, joern@lazybastard.org, kernel@axis.com, linux-kernel@vger.kernel.org, linux-mtd@lists.infradead.org, devicetree@vger.kernel.org, frowand.list@gmail.com, krzysztof.kozlowski@canonical.com Subject: Re: [PATCH 2/4] dt-bindings: reserved-memory: Add phram Message-ID: References: <20220307141549.2732179-1-vincent.whitchurch@axis.com> <20220307141549.2732179-3-vincent.whitchurch@axis.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220307141549.2732179-3-vincent.whitchurch@axis.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,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 On Mon, Mar 07, 2022 at 03:15:47PM +0100, Vincent Whitchurch wrote: > Add bindings to allow MTD/block devices to be created in reserved-memory > regions using the "phram" driver. What does 'ph' mean? Please define somewhere for the binding. > > This allows things like partitioning to be specified via the existing > devicetree bindings. > > Signed-off-by: Vincent Whitchurch > --- > .../bindings/reserved-memory/phram.yaml | 45 +++++++++++++++++++ > 1 file changed, 45 insertions(+) > create mode 100644 Documentation/devicetree/bindings/reserved-memory/phram.yaml > > diff --git a/Documentation/devicetree/bindings/reserved-memory/phram.yaml b/Documentation/devicetree/bindings/reserved-memory/phram.yaml > new file mode 100644 > index 000000000000..92e7a80ee87a > --- /dev/null > +++ b/Documentation/devicetree/bindings/reserved-memory/phram.yaml > @@ -0,0 +1,45 @@ > +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/reserved-memory/phram.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: MTD/block device in RAM > + > +description: | > + Use the reserved memory region as an MTD or block device. > + > + If no-map is not set, cached mappings will be used for the memory region. > + > +maintainers: > + - Vincent Whitchurch > + > +allOf: > + - $ref: "reserved-memory.yaml" > + - $ref: "../mtd/mtd.yaml" /schemas/mtd/mtd.yaml > + > +properties: > + compatible: > + const: phram > + > + reg: > + description: region of memory that contains the MTD/block device > + > +required: > + - compatible > + - reg > + > +unevaluatedProperties: false > + > +examples: > + - | > + reserved-memory { > + #address-cells = <1>; > + #size-cells = <1>; > + > + phram: flash@12340000 { > + compatible = "phram"; > + label = "rootfs"; That's an odd example... > + reg = <0x12340000 0x00800000>; > + }; > + }; > -- > 2.34.1 > >