From patchwork Mon Feb 23 15:59:27 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 5866771 Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id B7F6EBF440 for ; Mon, 23 Feb 2015 15:59:41 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 00C8320629 for ; Mon, 23 Feb 2015 15:59:41 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 1841720627 for ; Mon, 23 Feb 2015 15:59:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752253AbbBWP7j (ORCPT ); Mon, 23 Feb 2015 10:59:39 -0500 Received: from andre.telenet-ops.be ([195.130.132.53]:50515 "EHLO andre.telenet-ops.be" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752194AbbBWP7j (ORCPT ); Mon, 23 Feb 2015 10:59:39 -0500 Received: from ayla.of.borg ([84.193.93.87]) by andre.telenet-ops.be with bizsmtp id vrzb1p00J1t5w8s01rzb2m; Mon, 23 Feb 2015 16:59:37 +0100 Received: from ramsan.of.borg ([192.168.97.29] helo=ramsan) by ayla.of.borg with esmtp (Exim 4.82) (envelope-from ) id 1YPvPy-00025g-UW; Mon, 23 Feb 2015 16:59:34 +0100 Received: from geert by ramsan with local (Exim 4.82) (envelope-from ) id 1YPvPy-0005zo-HI; Mon, 23 Feb 2015 16:59:34 +0100 From: Geert Uytterhoeven To: Simon Horman , Magnus Damm Cc: linux-sh@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Geert Uytterhoeven Subject: [PATCH 1/3] ARM: shmobile: Enable R-Mobile reset driver in multiplatform defconfig Date: Mon, 23 Feb 2015 16:59:27 +0100 Message-Id: <1424707169-23007-2-git-send-email-geert+renesas@glider.be> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1424707169-23007-1-git-send-email-geert+renesas@glider.be> References: <1424707169-23007-1-git-send-email-geert+renesas@glider.be> Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This is used on R-Mobile APE6 (r8a73a4), R-Mobile A1 (r8a7740), and SH-Mobile AG5 (sh73a0). Signed-off-by: Geert Uytterhoeven --- To actually work, this depends on: - commit fa0f8d6700857457 ("power: reset: Add reset driver for R-Mobile platforms"), which is in v4.0-rc1, - the system-controller node in the SoC's .dtsi, which was added for PM domain support in: - r8a73a4-multiplatform-for-v3.21 (r8a73a4), - v4.0-rc1 (r8a7740), - sh73a0-multiplatform-for-v3.21 (sh73a0). Irrespectively of that, it's safe to apply anyway. --- arch/arm/configs/shmobile_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/configs/shmobile_defconfig b/arch/arm/configs/shmobile_defconfig index fb7aa02125c4e695..a904c90f957931d8 100644 --- a/arch/arm/configs/shmobile_defconfig +++ b/arch/arm/configs/shmobile_defconfig @@ -109,6 +109,9 @@ CONFIG_SPI_SH_HSPI=y CONFIG_GPIO_EM=y CONFIG_GPIO_RCAR=y CONFIG_GPIO_PCF857X=y +CONFIG_POWER_SUPPLY=y +CONFIG_POWER_RESET=y +CONFIG_POWER_RESET_RMOBILE=y # CONFIG_HWMON is not set CONFIG_THERMAL=y CONFIG_CPU_THERMAL=y