Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1589053

Re: [PATCHv3 2/2] rtc: cpcap: new rtc driver

From Rob Herring <robh@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCHv3 2/2] rtc: cpcap: new rtc driver
Date 2017-02-28 01:00 +0100
Message-ID <tfDmW-4tz-7@gated-at.bofh.it> (permalink)
References <tcQJH-1H7-1@gated-at.bofh.it> <tdQoh-2cp-3@gated-at.bofh.it> <tdQoh-2cp-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, Feb 23, 2017 at 02:03:53AM +0100, Sebastian Reichel wrote:
> This driver supports the Motorola CPCAP PMIC found on
> some of Motorola's mobile phones, such as the Droid 4.
> 
> Tested-by: Tony Lindgren <tony@atomide.com>
> Signed-off-by: Sebastian Reichel <sre@kernel.org>
> ---
> 
> Changes since PATCHv2:
>  - checkpatch fixes
>  - add comment for update irq
>  - introduced vendor prefix patch
> Changes since PATCHv1:
>  - added device_init_wakeup() at the end of probe
>  - added Tested-by from Tony
> 
> ---
>  .../devicetree/bindings/rtc/cpcap-rtc.txt          |  13 +
>  drivers/rtc/Kconfig                                |   7 +
>  drivers/rtc/Makefile                               |   1 +
>  drivers/rtc/rtc-cpcap.c                            | 332 +++++++++++++++++++++
>  4 files changed, 353 insertions(+)
>  create mode 100644 Documentation/devicetree/bindings/rtc/cpcap-rtc.txt
>  create mode 100644 drivers/rtc/rtc-cpcap.c
> 
> diff --git a/Documentation/devicetree/bindings/rtc/cpcap-rtc.txt b/Documentation/devicetree/bindings/rtc/cpcap-rtc.txt
> new file mode 100644
> index 000000000000..2709c32baf2c
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/rtc/cpcap-rtc.txt
> @@ -0,0 +1,13 @@
> +Motorola CPCAP PMIC RTC
> +------------------------------------

Need to state what this is a child of.

> +
> +Requires node properties:
> +- compatible: should contain "motorola,cpcap-rtc"
> +- interrupts: An interrupt specifier for alarm and 1 Hz irq
> +
> +Example:
> +
> +cpcap_rtc: rtc {
> +	compatible = "motorola,cpcap-rtc";
> +	interrupts = <39 IRQ_TYPE_NONE>, <26 IRQ_TYPE_NONE>;
> +};

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 0/1] Motorola CPCAP PMIC RTC Sebastian Reichel <sre@kernel.org> - 2017-02-20 08:40 +0100
  [PATCH 1/1] rtc: cpcap: new rtc driver Sebastian Reichel <sre@kernel.org> - 2017-02-20 08:40 +0100
    Re: [PATCH 1/1] rtc: cpcap: new rtc driver Tony Lindgren <tony@atomide.com> - 2017-02-20 17:40 +0100
      Re: [PATCH 1/1] rtc: cpcap: new rtc driver Alexandre Belloni <alexandre.belloni@free-electrons.com> - 2017-02-20 17:40 +0100
        Re: [PATCH 1/1] rtc: cpcap: new rtc driver Tony Lindgren <tony@atomide.com> - 2017-02-20 18:30 +0100
          Re: [PATCH 1/1] rtc: cpcap: new rtc driver Sebastian Reichel <sre@kernel.org> - 2017-02-20 20:40 +0100
        Re: [PATCH 1/1] rtc: cpcap: new rtc driver Tony Lindgren <tony@atomide.com> - 2017-02-20 18:30 +0100
  [PATCHv2] rtc: cpcap: new rtc driver Sebastian Reichel <sre@kernel.org> - 2017-02-21 07:20 +0100
    Re: [PATCHv2] rtc: cpcap: new rtc driver Alexandre Belloni <alexandre.belloni@free-electrons.com> - 2017-02-22 01:00 +0100
      Re: [PATCHv2] rtc: cpcap: new rtc driver Sebastian Reichel <sre@kernel.org> - 2017-02-22 03:00 +0100
        Re: [PATCHv2] rtc: cpcap: new rtc driver Alexandre Belloni <alexandre.belloni@free-electrons.com> - 2017-02-22 09:20 +0100
  [PATCHv3 2/2] rtc: cpcap: new rtc driver Sebastian Reichel <sre@kernel.org> - 2017-02-23 02:30 +0100
    Re: [PATCHv3 2/2] rtc: cpcap: new rtc driver Rob Herring <robh@kernel.org> - 2017-02-28 01:00 +0100
  [PATCHv3 1/2] dt-bindings: Add vendor prefix for Motorola Sebastian Reichel <sre@kernel.org> - 2017-02-23 02:30 +0100
    Re: [PATCHv3 1/2] dt-bindings: Add vendor prefix for Motorola Rob Herring <robh@kernel.org> - 2017-02-28 01:10 +0100

csiph-web