Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1159883
| Path | csiph.com!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Maxime Ripard <maxime.ripard@free-electrons.com> |
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v5 1/2] ARM: dts: vfxxx: Add OCOTP and OCROM nodes |
| Date | Sat, 06 Jun 2015 14:10:03 +0200 |
| Message-ID | <pyl5h-7YP-49@gated-at.bofh.it> (permalink) |
| References | <pxW6S-4jT-9@gated-at.bofh.it> <pxW6S-4jT-11@gated-at.bofh.it> |
| X-Original-To | Sanchayan Maity <maitysanchayan@gmail.com> |
| MIME-Version | 1.0 |
| Content-Type | multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Iuot8e5drzPqTM+3" |
| Content-Disposition | inline |
| User-Agent | Mutt/1.5.23 (2014-03-12) |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 71 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | arnd@arndb.de, shawn.guo@linaro.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, stefan@agner.ch, kernel@pengutronix.de, linux-kernel@vger.kernel.org |
| X-Original-Date | Sat, 6 Jun 2015 13:58:33 +0200 |
| X-Original-Message-ID | <20150606115833.GP23777@lukather> |
| X-Original-References | <cover.1433494491.git.maitysanchayan@gmail.com> <fd4fcd83d901b2563ddbce84b339f42778c71260.1433494491.git.maitysanchayan@gmail.com> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | aioe.org linux.kernel:1159883 |
Show key headers only | View raw
[Multipart message — attachments visible in raw view] - view raw
Hi,
On Fri, Jun 05, 2015 at 02:52:37PM +0530, Sanchayan Maity wrote:
> Add a device tree node for the On-Chip One Time Programmable
> Controller (OCOTP) and the On-Chip ROM.
>
> Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
> ---
> arch/arm/boot/dts/vfxxx.dtsi | 12 ++++++++++++
> 1 file changed, 12 insertions(+)
>
> diff --git a/arch/arm/boot/dts/vfxxx.dtsi b/arch/arm/boot/dts/vfxxx.dtsi
> index 2f4b04d..ed9b6b8 100644
> --- a/arch/arm/boot/dts/vfxxx.dtsi
> +++ b/arch/arm/boot/dts/vfxxx.dtsi
> @@ -56,6 +56,13 @@
> compatible = "simple-bus";
> interrupt-parent = <&mscm_ir>;
> ranges;
> + ocotp-cfg = <&ocotp 0x410 0x420>;
> + rom-revision = <&ocrom 0x80>;
> +
> + ocrom: ocrom {
> + compatible = "fsl,vf610-ocrom", "syscon";
> + reg = <0x00000000 0x18000>;
> + };
Shouldn't that use the new nvmem framework currently being discussed,
instead of defining custom bindings?
Maxime
--
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
Re: [PATCH v5 1/2] ARM: dts: vfxxx: Add OCOTP and OCROM nodes Maxime Ripard <maxime.ripard@free-electrons.com> - 2015-06-06 14:10 +0200
csiph-web