]> git.baikalelectronics.ru Git - kernel.git/commit
reset: stih407: Add softreset, powerdown and picophy controllers
authorPeter Griffin <peter.griffin@linaro.org>
Wed, 2 Jul 2014 14:08:46 +0000 (15:08 +0100)
committerMaxime Coquelin <maxime.coquelin@st.com>
Fri, 31 Oct 2014 12:00:15 +0000 (13:00 +0100)
commit312fff8355984de3a7e77ebf51b9393db1813bc7
tree678cef777afa7c6bef3268e82639c45c95a2affb
parent0e1a8ba1900ec215f0dc430a395b35c13d9291d1
reset: stih407: Add softreset, powerdown and picophy controllers

This patch adds softreset, powerdown and picophy reset controllers for
the STiH407 SoC.

With this patch three new devices are registered: -
1. st,stih407-powerdown
2. st,stih407-softreset
3. st,stih407-picophyreset

All three devices use system configuration registers mapped via regmap to
perform the reset or powerdown. The powerdown controller also has
an acknowledgement.

A separate picophy reset controller manages the different reset channels within
the picophy, which have a different polarity to the other system softresets.
Managing these different picophy softreset channels is necessary to correctly
handle resuming from suspend when USB2 devices are plugged into the USB3 port.

Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
Acked-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Maxime Coquelin <maxime.coquelin@st.com>
drivers/reset/sti/Kconfig
drivers/reset/sti/Makefile
drivers/reset/sti/reset-stih407.c [new file with mode: 0644]