linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/4] Add reset support for apq8064
@ 2014-08-29 14:30 Pramod Gurav
  2014-08-29 14:30 ` [PATCH v3 1/4] ARM: DT: APQ8064: Add pinctrl support Pramod Gurav
                   ` (3 more replies)
  0 siblings, 4 replies; 15+ messages in thread
From: Pramod Gurav @ 2014-08-29 14:30 UTC (permalink / raw)
  To: linux-kernel, linux-arm-msm, linux-arm-kernel; +Cc: Pramod Gurav

The reset on apq8064 is provided on gpio78 function1. We need to configure
gpio78 to function as ps_hold and write to base of the register to get the
device rebooted. 

First two patches in this patchset adds necessary DT support for apq8064-pinctrl
and DT support to mux gpio_78 as ps_hold function.

Third patch documents the ps_hold function in apq8064-pinctrl DT binding

Fourth implements the actual reset by initialising arm_pm_restart to a reset
function if ps_hold function is programmed in the pinctrl driver.

Changes since v2 to v3:
1. As per Bjorn's review suggestions consolidated all code which detects ps_hold function and
   initializes arm_pm_restart in a single function named msm_pinctrl_setup_pm_reset under 
   #ifdef CONFIG_ARM
2. Removed 10 second delay after carrying out reset which was copied by mistake
3. Renamed pinctl DT node to tlmm_pinumux from msm_gpio 

Changes since v1 to v2:
1. Added #error log as suggested by Kumar Gala 
2. Correct interrupts in DT from 32 to 16 based on Bjorn's new patch in bindings
3. Replaced hardcoding in DT with IRQ_TYPE_LEVEL_HIGH for interrupt level type

Pramod Gurav (4):
  ARM: DT: APQ8064: Add pinctrl support
  ARM: DT: APQ8064: Add node for ps_hold function in pinctrl
  pinctrl: msm: Add ps_hold function in pinctrl-apq8064 binding
    documentation
  pinctrl: qcom: Add support for reset for apq8064

 .../bindings/pinctrl/qcom,apq8064-pinctrl.txt      |    2 +-
 arch/arm/boot/dts/qcom-apq8064.dtsi                |   21 ++++++++++++++
 drivers/pinctrl/qcom/pinctrl-apq8064.c             |    7 ++++-
 drivers/pinctrl/qcom/pinctrl-msm.c                 |   30 ++++++++++++++++++++
 4 files changed, 58 insertions(+), 2 deletions(-)

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2015-01-19 10:18 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-29 14:30 [PATCH v3 0/4] Add reset support for apq8064 Pramod Gurav
2014-08-29 14:30 ` [PATCH v3 1/4] ARM: DT: APQ8064: Add pinctrl support Pramod Gurav
2014-08-29 14:30 ` [PATCH v3 2/4] ARM: DT: APQ8064: Add node for ps_hold function in pinctrl Pramod Gurav
2014-08-29 14:30 ` [PATCH v3 3/4] pinctrl: msm: Add ps_hold function in pinctrl-apq8064 binding documentation Pramod Gurav
2014-09-02 12:31   ` Linus Walleij
2014-08-29 14:30 ` [PATCH v3 4/4] pinctrl: qcom: Add support for reset for apq8064 Pramod Gurav
2014-08-29 18:42   ` Bjorn Andersson
2014-08-30  5:08     ` Pramod Gurav
2014-09-02 12:36   ` Linus Walleij
2014-09-02 17:06     ` Bjorn Andersson
2015-01-14 23:38   ` Timur Tabi
2015-01-14 23:44     ` Stephen Boyd
2015-01-14 23:54       ` Timur Tabi
2015-01-15  0:23         ` Stephen Boyd
2015-01-19 10:18           ` Linus Walleij

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).