Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753391AbaLARD1 (ORCPT ); Mon, 1 Dec 2014 12:03:27 -0500 Received: from mail.kmu-office.ch ([178.209.48.109]:58723 "EHLO mail.kmu-office.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752958AbaLARDZ (ORCPT ); Mon, 1 Dec 2014 12:03:25 -0500 From: Stefan Agner To: shawn.guo@linaro.org, kernel@pengutronix.de, linux@roeck-us.net, arnd@arndb.de, sre@kernel.org, fkan@apm.com, grant.likely@linaro.org, robh+dt@kernel.org Cc: dbaryshkov@gmail.com, dwmw2@infradead.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, stefan@agner.ch Subject: [PATCH v2 0/3] power: reset: vf610 system reset controller Date: Mon, 1 Dec 2014 18:03:06 +0100 Message-Id: <1417453389-1588-1-git-send-email-stefan@agner.ch> X-Mailer: git-send-email 2.1.3 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This second version does essentially the same as v1, but with a lot less code due to the usage of syscon and syscon-reboot driver. My earlier misgivings that it might be a problem for the suspend/resume implementation later on did not hold true: I tested my prelinear suspend code and in case the code really needs to access some registers form assembler, it is possible to map temporarly the relevant region again. I refrained from adding POWER_RESET_SYSCON as a hard dependency for Vybrid (SOC_VF610): In its dual-core configuration, one might want have the Cortex-M4 in charge of the system reset... Hence the user should be able to build a kernel without the system reset (beside the option to create a board specific device tree with disabled SRC node). Shawn, the defconfig change is based on the latest (almost-merged?) defconfig patch. Changes since v1: - Total rework using syscon/syscon-reboot capabilities - Enhance syscon-reboot with priority capabilities (as suggested by Guenter) Stefan Agner (3): power: reset: read priority from device tree ARM: dts: vf610: add system reset controller and syscon-reboot ARM: imx_v6_v7_defconfig: add POWER_RESET_SYSCON .../devicetree/bindings/power/reset/syscon-reboot.txt | 3 +++ arch/arm/boot/dts/vf500.dtsi | 4 ++++ arch/arm/boot/dts/vfxxx.dtsi | 13 +++++++++++++ arch/arm/configs/imx_v6_v7_defconfig | 8 ++++---- drivers/power/reset/syscon-reboot.c | 5 ++++- 5 files changed, 28 insertions(+), 5 deletions(-) -- 2.1.3 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/