From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755692AbcBDHkh (ORCPT ); Thu, 4 Feb 2016 02:40:37 -0500 Received: from nasmtp02.atmel.com ([204.2.163.16]:47096 "EHLO SJOEDG01.corp.atmel.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1755458AbcBDHkf (ORCPT ); Thu, 4 Feb 2016 02:40:35 -0500 From: Wenyou Yang To: Nicolas Ferre , Alexandre Belloni , Jean-Christophe Plagniol-Villard , Russell King CC: , Rob Herring , Pawel Moll , Mark Brown , Ian Campbell , Kumar Gala , , , , Wenyou Yang Subject: [PATCH v2 0/4] ARM: at91: pm: add ULP1 mode support Date: Thu, 4 Feb 2016 15:37:47 +0800 Message-ID: <1454571471-4434-1-git-send-email-wenyou.yang@atmel.com> X-Mailer: git-send-email 1.7.9.5 MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The ULP1 (Ultra Low-power mode 1) is introduced by SAMA5D2. In order to achieve the lowest power consumption, in the ULP1 mode, all the clocks are shut off, inclusive the embedded 12MHz RC oscillator. The fast startup signal is used as a wake up source for ULP1 mode. As soon as the wake up event is asserted, the embedded 12MHz RC oscillator restarts automatically, which fast startup signal to trigger the PMC to wake up the system from the ULP1 mode can be configured via DT. It is based on the following patch set: http://lists.infradead.org/pipermail/linux-arm-kernel/2015-December/390954.html Changes in v2: - fix label pm_exit to ulp_exit. - shorten the pmc-fast-startup property's name. - use the value property, instead of bool property for high or low triggered. - change the property name and property description. Wenyou Yang (4): ARM: at91: pm: create a separate procedure for the ULP0 mode ARM: at91: pm: add ULP1 mode support ARM: at91: pm: configure PMC fast startup signals Documentation: atmel-pmc: add DT bindings for fast startup .../devicetree/bindings/arm/atmel-pmc.txt | 63 ++++++++ arch/arm/mach-at91/pm.c | 131 +++++++++++++++- arch/arm/mach-at91/pm.h | 7 + arch/arm/mach-at91/pm_suspend.S | 158 +++++++++++++++++--- include/linux/clk/at91_pmc.h | 36 +++++ 5 files changed, 370 insertions(+), 25 deletions(-) -- 1.7.9.5 From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wenyou Yang Subject: [PATCH v2 0/4] ARM: at91: pm: add ULP1 mode support Date: Thu, 4 Feb 2016 15:37:47 +0800 Message-ID: <1454571471-4434-1-git-send-email-wenyou.yang@atmel.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Nicolas Ferre , Alexandre Belloni , Jean-Christophe Plagniol-Villard , Russell King Cc: linux-clk-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Rob Herring , Pawel Moll , Mark Brown , Ian Campbell , Kumar Gala , linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Wenyou Yang List-Id: devicetree@vger.kernel.org The ULP1 (Ultra Low-power mode 1) is introduced by SAMA5D2. In order to achieve the lowest power consumption, in the ULP1 mode, all the clocks are shut off, inclusive the embedded 12MHz RC oscillator. The fast startup signal is used as a wake up source for ULP1 mode. As soon as the wake up event is asserted, the embedded 12MHz RC oscillator restarts automatically, which fast startup signal to trigger the PMC to wake up the system from the ULP1 mode can be configured via DT. It is based on the following patch set: http://lists.infradead.org/pipermail/linux-arm-kernel/2015-December/390954.html Changes in v2: - fix label pm_exit to ulp_exit. - shorten the pmc-fast-startup property's name. - use the value property, instead of bool property for high or low triggered. - change the property name and property description. Wenyou Yang (4): ARM: at91: pm: create a separate procedure for the ULP0 mode ARM: at91: pm: add ULP1 mode support ARM: at91: pm: configure PMC fast startup signals Documentation: atmel-pmc: add DT bindings for fast startup .../devicetree/bindings/arm/atmel-pmc.txt | 63 ++++++++ arch/arm/mach-at91/pm.c | 131 +++++++++++++++- arch/arm/mach-at91/pm.h | 7 + arch/arm/mach-at91/pm_suspend.S | 158 +++++++++++++++++--- include/linux/clk/at91_pmc.h | 36 +++++ 5 files changed, 370 insertions(+), 25 deletions(-) -- 1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html From mboxrd@z Thu Jan 1 00:00:00 1970 From: wenyou.yang@atmel.com (Wenyou Yang) Date: Thu, 4 Feb 2016 15:37:47 +0800 Subject: [PATCH v2 0/4] ARM: at91: pm: add ULP1 mode support Message-ID: <1454571471-4434-1-git-send-email-wenyou.yang@atmel.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org The ULP1 (Ultra Low-power mode 1) is introduced by SAMA5D2. In order to achieve the lowest power consumption, in the ULP1 mode, all the clocks are shut off, inclusive the embedded 12MHz RC oscillator. The fast startup signal is used as a wake up source for ULP1 mode. As soon as the wake up event is asserted, the embedded 12MHz RC oscillator restarts automatically, which fast startup signal to trigger the PMC to wake up the system from the ULP1 mode can be configured via DT. It is based on the following patch set: http://lists.infradead.org/pipermail/linux-arm-kernel/2015-December/390954.html Changes in v2: - fix label pm_exit to ulp_exit. - shorten the pmc-fast-startup property's name. - use the value property, instead of bool property for high or low triggered. - change the property name and property description. Wenyou Yang (4): ARM: at91: pm: create a separate procedure for the ULP0 mode ARM: at91: pm: add ULP1 mode support ARM: at91: pm: configure PMC fast startup signals Documentation: atmel-pmc: add DT bindings for fast startup .../devicetree/bindings/arm/atmel-pmc.txt | 63 ++++++++ arch/arm/mach-at91/pm.c | 131 +++++++++++++++- arch/arm/mach-at91/pm.h | 7 + arch/arm/mach-at91/pm_suspend.S | 158 +++++++++++++++++--- include/linux/clk/at91_pmc.h | 36 +++++ 5 files changed, 370 insertions(+), 25 deletions(-) -- 1.7.9.5