From: robh@kernel.org (Rob Herring)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v3 1/4] DT: nvmem: Add NXP LPC18xx EEPROM memory binding documentation
Date: Mon, 16 Nov 2015 18:11:56 -0600 [thread overview]
Message-ID: <20151117001156.GA12542@rob-hp-laptop> (raw)
In-Reply-To: <1447690798-14641-2-git-send-email-ariel@vanguardiasur.com.ar>
On Mon, Nov 16, 2015 at 01:19:55PM -0300, Ariel D'Alessandro wrote:
> Add the devicetree binding document for NXP LPC18xx EEPROM memory.
>
> Signed-off-by: Ariel D'Alessandro <ariel@vanguardiasur.com.ar>
Acked-by: Rob Herring <robh@kernel.org>
> ---
> .../devicetree/bindings/nvmem/lpc1857-eeprom.txt | 28 ++++++++++++++++++++++
> 1 file changed, 28 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/nvmem/lpc1857-eeprom.txt
>
> diff --git a/Documentation/devicetree/bindings/nvmem/lpc1857-eeprom.txt b/Documentation/devicetree/bindings/nvmem/lpc1857-eeprom.txt
> new file mode 100644
> index 0000000..809df68
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/nvmem/lpc1857-eeprom.txt
> @@ -0,0 +1,28 @@
> +* NXP LPC18xx EEPROM memory NVMEM driver
> +
> +Required properties:
> + - compatible: Should be "nxp,lpc1857-eeprom"
> + - reg: Must contain an entry with the physical base address and length
> + for each entry in reg-names.
> + - reg-names: Must include the following entries.
> + - reg: EEPROM registers.
> + - mem: EEPROM address space.
> + - clocks: Must contain an entry for each entry in clock-names.
> + - clock-names: Must include the following entries.
> + - eeprom: EEPROM operating clock.
> + - resets: Should contain a reference to the reset controller asserting
> + the EEPROM in reset.
> + - interrupts: Should contain EEPROM interrupt.
> +
> +Example:
> +
> + eeprom: eeprom at 4000e000 {
> + compatible = "nxp,lpc1857-eeprom";
> + reg = <0x4000e000 0x1000>,
> + <0x20040000 0x4000>;
> + reg-names = "reg", "mem";
> + clocks = <&ccu1 CLK_CPU_EEPROM>;
> + clock-names = "eeprom";
> + resets = <&rgu 27>;
> + interrupts = <4>;
> + };
> --
> 2.6.2
>
next prev parent reply other threads:[~2015-11-17 0:11 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-16 16:19 [PATCH v3 0/4] Add support for NXP LPC18xx EEPROM using nvmem Ariel D'Alessandro
2015-11-16 16:19 ` [PATCH v3 1/4] DT: nvmem: Add NXP LPC18xx EEPROM memory binding documentation Ariel D'Alessandro
2015-11-17 0:11 ` Rob Herring [this message]
2015-11-16 16:19 ` [PATCH v3 2/4] nvmem: NXP LPC18xx EEPROM memory NVMEM driver Ariel D'Alessandro
2015-11-16 16:19 ` [PATCH v3 3/4] ARM: dts: lpc18xx: add EEPROM memory node Ariel D'Alessandro
2015-11-16 16:19 ` [PATCH v3 4/4] ARM: configs: lpc18xx: enable EEPROM NVMEM driver Ariel D'Alessandro
2015-11-16 17:11 ` [PATCH v3 0/4] Add support for NXP LPC18xx EEPROM using nvmem Ariel D'Alessandro
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20151117001156.GA12542@rob-hp-laptop \
--to=robh@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox