Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp4355610imm; Mon, 20 Aug 2018 14:31:00 -0700 (PDT) X-Google-Smtp-Source: AA+uWPzsY5NCz6Y3Lzrx3kYIRMml9iguqDIhFqsynjjcWzeDX4NICW6uL6BnKExcr4vvwekZ+k8+ X-Received: by 2002:a63:ae02:: with SMTP id q2-v6mr44931538pgf.189.1534800660831; Mon, 20 Aug 2018 14:31:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534800660; cv=none; d=google.com; s=arc-20160816; b=siV31/exo9dM4B7U4ecPNl5nO0pnMxr/4/A/AbL9/FbsOHpJnX7oc8NwLnYW6sHfYW uFlPEcQ+RTa3f07ANNrGB5AIlqO4wPe+cI+BhUhx2ASf1uIV23f5FA8m269GmuJVk/zk NhF/2W3sHeUCWlDxZkF7U34JXRswEjzNZPPzuj0PU1agMg4sAZQKke42vok/ErAOb7Ns UWzeImneYhLl9UFInSqdRZMJWLBD5/UGLR1H5TeR5Oyk7Ukyec3FhzUj9kKhGH7fRw7Q THlJ6iMZn1u1OAHT7xmZFJoeX4rQO429wtso7CcnuhctKSAYGCkWudS8/YzeHrbkXGjk OSFg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:arc-authentication-results; bh=Ofm2wjkthvZpaRhlK++8LWTL3ldhxQ8KqUWoPvA5SfU=; b=LwSld+ddobEyErnqt9fm5vWznag24uhXwssNamRHHBttnRjI4OPd3qYRnBnxOM5g68 ih0oR5AemOUohhw3Dyn+T7SNDa3LvfOMnbKOl/0h4X5b69r3FIbKuW0AaDLK2z9acWfN nP58UDoHEWiBGsXS2WMBJ0778WdES+lruHL1h/PXTjA/3mOS1NxnrN44/Fge5n/Fi+C1 sTnHslq+YDEkGeiozNSnRA7za3csRJUJQ3R+FA4ESfnCCxWrUvQO2kikuOmVDmFXoDcS BGT95TJP5L3JzQU8q7Ldoc+SA7TMk8NochkibpybWRgfiYOXoNHeyQREI1Qn8c2/mOD1 iJZg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id bc3-v6si10507042plb.214.2018.08.20.14.30.44; Mon, 20 Aug 2018 14:31:00 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726649AbeHUAq3 (ORCPT + 99 others); Mon, 20 Aug 2018 20:46:29 -0400 Received: from smtp1-g21.free.fr ([212.27.42.1]:50715 "EHLO smtp1-g21.free.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726099AbeHUAq2 (ORCPT ); Mon, 20 Aug 2018 20:46:28 -0400 Received: from tock (unknown [89.247.124.122]) (Authenticated sender: albeu) by smtp1-g21.free.fr (Postfix) with ESMTPSA id 01E87B00548; Mon, 20 Aug 2018 23:27:51 +0200 (CEST) Date: Mon, 20 Aug 2018 23:27:48 +0200 From: Alban To: Boris Brezillon Cc: Aban Bedel , Srinivas Kandagatla , Bartosz Golaszewski , Jonathan Corbet , Sekhar Nori , Kevin Hilman , Russell King , Arnd Bergmann , Greg Kroah-Hartman , David Woodhouse , Brian Norris , Marek Vasut , Richard Weinberger , Grygorii Strashko , "David S . Miller" , Naren , Mauro Carvalho Chehab , Andrew Morton , Lukas Wunner , Dan Carpenter , Florian Fainelli , Ivan Khoronzhuk , Sven Van Asbroeck , Paolo Abeni , Rob Herring , David Lechner , Andrew Lunn , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-i2c@vger.kernel.org, linux-mtd@lists.infradead.org, linux-omap@vger.kernel.org, netdev@vger.kernel.org, Bartosz Golaszewski Subject: Re: [PATCH v2 06/29] mtd: Add support for reading MTD devices via the nvmem API Message-ID: <20180820232748.608c3667@tock> In-Reply-To: <20180820202038.5d3dc195@bbrezillon> References: <20180810080526.27207-1-brgl@bgdev.pl> <20180810080526.27207-7-brgl@bgdev.pl> <20180817182720.6a6e5e8e@bbrezillon> <20180819133106.0420df5f@tock> <20180819184609.6dcdbb9a@bbrezillon> <5b8c30b8-41e1-d59e-542b-fef6c6469ff0@linaro.org> <20180820202038.5d3dc195@bbrezillon> X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/x7JZOIPlUQW1dRdErBSmNuH"; protocol="application/pgp-signature" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --Sig_/x7JZOIPlUQW1dRdErBSmNuH Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Mon, 20 Aug 2018 20:20:38 +0200 Boris Brezillon wrote: > On Mon, 20 Aug 2018 11:43:34 +0100 > Srinivas Kandagatla wrote: >=20 > >=20 > > Overall am still not able to clear visualize on how MTD bindings with=20 > > nvmem cells would look in both partition and un-partition usecases? > > An example DT would be nice here!! =20 >=20 > Something along those lines: We must also have a compatible string on the nvmem-cells node to make sure we don't clash with the old style MTD partitions, or some other device specific binding. >=20 > mtdnode { > nvmem-cells { compatible =3D "nvmem-cells"; > #address-cells =3D <1>; > #size-cells =3D <1>; >=20 > cell@0 { > reg =3D <0x0 0x14>; > }; > }; >=20 > partitions { > compatible =3D "fixed-partitions"; > #address-cells =3D <1>; > #size-cells =3D <1>; >=20 > partition@0 { > reg =3D <0x0 0x20000>; >=20 > nvmem-cells { compatible =3D "nvmem-cells"; > #address-cells =3D <1>; > #size-cells =3D <1>; >=20 > cell@0 { > reg =3D <0x0 0x10>; > }; > }; > }; > }; > }; Alban --Sig_/x7JZOIPlUQW1dRdErBSmNuH Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJbezJVAAoJEHSUmkuduC28QU4P/3pQiuQbGP9YNsymN3BmbTvP lreiY+6pCAVvk66pR7GcuW4RurUzlj6FunpMY5XWQOkNDQcceLn6rmS51Ga7Xz+s c7hwUVgd4XByw2REWTAKNo7ygY8gndcMoQ8AzpPGBjGYSN5lp2hrdhvu6FW6DzWe 8Erm3Xdue074z9ag7LMpQnV0ZURoQeUbEsBgaXbrMCmrYabG6Ahr5/YmyaGavM5H O5sM2yQa3b+MfVxFvAyrDmrPm/onIAZSs8Mh6Z33CJZHeZOfofYD74iJRB7mNnCJ oy+xu/BYJ2e7/AX595+T0uCG+5IwG99t6oFoqMkKeqKVkv8wzSlQfYJC8t8d5j4f IgBydMh+sXDvYGp4ftWFTNLbe6exnISxMSiN8VJUHZPj9sC1RDGA3JFs7oMCCsPv ctZ7jboJ0U0T1GP3R+67KX4qOh3jgcMvFwZvzCZEvXVaIbCaeNco4Q0MVtdRL3yi 6gD2GC0iS/lYQji3HofodBhSfB9JH4GDwDgT8u2WQ4ZT3fDrp/53pvcHwcZ5rl7o bxofjh4BYDBNh3eJ8nb5KQeqPvuLZhXi9StmOasBu8IsYAHf/ryGmXhcZJuO21zZ ywcUVHIGvmNthSrs2gdmVO6FzpjQfP6Qz9T0lhd/RMxj5/BXYf8CtP84mNq+MUge x387wEAOzjA+iSFiQynX =RS6x -----END PGP SIGNATURE----- --Sig_/x7JZOIPlUQW1dRdErBSmNuH--