[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150624083529.GY2266@lukather>
Date: Wed, 24 Jun 2015 10:35:29 +0200
From: Maxime Ripard <maxime.ripard@...e-electrons.com>
To: srinivas.kandagatla@...aro.org,
Sanchayan Maity <maitysanchayan@...il.com>
Cc: linux-arm-kernel@...ts.infradead.org, arnd@...db.de,
linux-kernel@...r.kernel.org, stefan@...er.ch,
kernel@...gutronix.de, shawn.guo@...aro.org
Subject: Re: [RFC PATCH v6 2/2] nvmem: Add Vybrid OCOTP and OCROM support
Hi,
On Tue, Jun 23, 2015 at 07:14:57PM +0530, Sanchayan Maity wrote:
> +static struct nvmem_config ocotp_config = {
> + .name = "soc_id",
> +};
> +
> +static struct nvmem_config rom_config = {
> + .name = "rom_rev",
> +};
Srinivas, shouldn't we use the DT to setup these names, just like
clock-output-names does for example?
This is very likely to change from one board to another, and defining
a new compatible and/or driver for each board seems a bit fishy.
Maxime
--
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
Download attachment "signature.asc" of type "application/pgp-signature" (820 bytes)
Powered by blists - more mailing lists