From mboxrd@z Thu Jan 1 00:00:00 1970 From: lee.jones@linaro.org (Lee Jones) Date: Wed, 2 Jul 2014 16:40:59 +0100 Subject: [PATCH v2 1/4] reset: stih407: Add softreset, powerdown and picophy controllers In-Reply-To: <1404310129-14667-2-git-send-email-peter.griffin@linaro.org> References: <1404310129-14667-1-git-send-email-peter.griffin@linaro.org> <1404310129-14667-2-git-send-email-peter.griffin@linaro.org> Message-ID: <20140702154059.GA17665@lee--X1> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Wed, 02 Jul 2014, Peter Griffin wrote: > 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 > Signed-off-by: Peter Griffin > --- > drivers/reset/sti/Kconfig | 4 + > drivers/reset/sti/Makefile | 1 + > drivers/reset/sti/reset-stih407.c | 158 +++++++++++++++++++++ > .../dt-bindings/reset-controller/stih407-resets.h | 61 ++++++++ > 4 files changed, 224 insertions(+) > create mode 100644 drivers/reset/sti/reset-stih407.c > create mode 100644 include/dt-bindings/reset-controller/stih407-resets.h Looks good to me now: Acked-by: Lee Jones -- Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org ? Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog