From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754990AbaIWIXx (ORCPT ); Tue, 23 Sep 2014 04:23:53 -0400 Received: from eusmtp01.atmel.com ([212.144.249.243]:36342 "EHLO eusmtp01.atmel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754577AbaIWIXu (ORCPT ); Tue, 23 Sep 2014 04:23:50 -0400 Message-ID: <54212E13.9000004@atmel.com> Date: Tue, 23 Sep 2014 10:23:47 +0200 From: Nicolas Ferre Organization: atmel User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: Boris BREZILLON , "Jean-Christophe Plagniol-Villard" , Alexandre Belloni , Andrew Victor , Alessandro Zummo , , "Samuel Ortiz" , Lee Jones , Johan Hovold CC: Rob Herring , Pawel Moll , "Mark Rutland" , Ian Campbell , Kumar Gala , , , Subject: Re: [PATCH v6 9/9] mfd: syscon: add Atmel GPBR DT bindings documention References: <1411400563-570-1-git-send-email-boris.brezillon@free-electrons.com> <1411400563-570-10-git-send-email-boris.brezillon@free-electrons.com> In-Reply-To: <1411400563-570-10-git-send-email-boris.brezillon@free-electrons.com> X-Enigmail-Version: 1.5.2 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.161.30.18] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 22/09/2014 17:42, Boris BREZILLON : > The GPBR block provides a set of battery-backed registers that can be used > to save data which need to be kept when the system is powered down and > VDD-core is maintained by an external battery. > > A typical usage is the RTT block (when used as an RTC) which needs one of > those registers to save the current time. > > Signed-off-by: Boris BREZILLON Acked-by: Nicolas Ferre > --- > Documentation/devicetree/bindings/mfd/atmel,gpbr.txt | 15 +++++++++++++++ > 1 file changed, 15 insertions(+) > create mode 100644 Documentation/devicetree/bindings/mfd/atmel,gpbr.txt > > diff --git a/Documentation/devicetree/bindings/mfd/atmel,gpbr.txt b/Documentation/devicetree/bindings/mfd/atmel,gpbr.txt > new file mode 100644 > index 0000000..a285695 > --- /dev/null > +++ b/Documentation/devicetree/bindings/mfd/atmel,gpbr.txt > @@ -0,0 +1,15 @@ > +* Device tree bindings for Atmel GPBR (General Purpose Backup Registers) > + > +The GPBR are a set of battery-backed registers. > + > +Required properties: > +- compatible: "atmel,at91sam9260-gpbr", "syscon" > +- reg: contains offset/length value of the GPBR memory > + region. > + > +Example: > + > +gpbr: gpbr@fffffd50 { > + compatible = "atmel,at91sam9260-gpbr", "syscon"; > + reg = <0xfffffd50 0x10>; > +}; > -- Nicolas Ferre