From patchwork Fri May 1 20:11:13 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tai Nguyen X-Patchwork-Id: 6312981 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id C77A09F32B for ; Fri, 1 May 2015 20:15:22 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 137BF20421 for ; Fri, 1 May 2015 20:15:22 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 3771120394 for ; Fri, 1 May 2015 20:15:21 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1YoHIL-0006vU-DC; Fri, 01 May 2015 20:12:21 +0000 Received: from exprod5og120.obsmtp.com ([64.18.0.137] helo=mail-pa0-f41.google.com) by bombadil.infradead.org with smtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YoHIA-0006rQ-L7 for linux-arm-kernel@lists.infradead.org; Fri, 01 May 2015 20:12:11 +0000 Received: from mail-pa0-f41.google.com ([209.85.220.41]) (using TLSv1) by exprod5ob120.postini.com ([64.18.4.12]) with SMTP ID DSNKVUPeBRYMyINrB/9BH8gLK26xyoN/gXyD@postini.com; Fri, 01 May 2015 13:12:10 PDT Received: by pabtp1 with SMTP id tp1so99993208pab.2 for ; Fri, 01 May 2015 13:11:49 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=gx+GY22LLvPADm4L2mO6ikCBBCgS16UeLHQec99dIzw=; b=iEdojhILysf+eIU3Ny/tQJygj5bs/mf8D1BG08W5noiQ2sj7C6rOK4l6HhnrqF6n7E BReb9MY+pvVSTA+BwLDN94noVXHs9pZDdPbOH5FLRGsHl7eqkvckpywXySYbtZmXM/L6 ulPFJBMXP8gyPU77e2wq1sh2XosG7ME9McIQ/TzzTrh/GhHJRfFobDgO3YFkLsV1Egro twDqw55xPR+9oNjpY7Znt6XzwPyeNlRewPumZONJ7qmX0mV5itKrhkwugzLR6o4Oj8qr dKxdaEmz/c3OQZXQAYjWbiftch4AsZfVjB0/810JskgpQoVRkPe7eu2lSn1LJbEh0coV +AQw== X-Gm-Message-State: ALoCoQlvDhEbZM2Y2NcIcDSgNTJ7hsC7a/1a2pUjzC++lTB6ERaEjnmJjISxHzNppiFwnokZ/rxsgWTA1uk69QjzVkH2i1rwAxLRYUlu12BjCU2WLF1LGAJ7/is0G/ez4QcJtE3oTrUlpMTIETTSO/MyEBCx8X0+goWAycWdFZGsj9NPoE2ooiU= X-Received: by 10.70.32.164 with SMTP id k4mr21070047pdi.138.1430511109093; Fri, 01 May 2015 13:11:49 -0700 (PDT) X-Received: by 10.70.32.164 with SMTP id k4mr21070035pdi.138.1430511108977; Fri, 01 May 2015 13:11:48 -0700 (PDT) Received: from ttnguyen-Ubuntu.amcc.com (67-207-112-226.static.wiline.com. [67.207.112.226]) by mx.google.com with ESMTPSA id d7sm5630294pdn.47.2015.05.01.13.11.47 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 01 May 2015 13:11:48 -0700 (PDT) From: Tai Nguyen To: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, patches@apm.com Subject: [PATCH 1/2] power: reset: Add syscon reboot device node for APM X-Gene platform Date: Fri, 1 May 2015 13:11:13 -0700 Message-Id: <1430511074-32229-2-git-send-email-ttnguyen@apm.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1430511074-32229-1-git-send-email-ttnguyen@apm.com> References: <1430511074-32229-1-git-send-email-ttnguyen@apm.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150501_131210_735003_840806C2 X-CRM114-Status: UNSURE ( 8.75 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.5 (--) Cc: Feng Kan , ttnguyen@apm.com X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable 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 patch adds syscon reboot device node to support reboot feature on APM X-Gene platform Signed-off-by: Feng Kan Signed-off-by: Tai Nguyen --- arch/arm64/boot/dts/apm/apm-storm.dtsi | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm64/boot/dts/apm/apm-storm.dtsi b/arch/arm64/boot/dts/apm/apm-storm.dtsi index c8d3e0e..16efcf7 100644 --- a/arch/arm64/boot/dts/apm/apm-storm.dtsi +++ b/arch/arm64/boot/dts/apm/apm-storm.dtsi @@ -710,5 +710,17 @@ dma-coherent; clocks = <&dmaclk 0>; }; + + scu: system-clk-controller@17000000 { + compatible = "apm,xgene-scu","syscon"; + reg = <0x0 0x17000000 0x0 0x400>; + }; + + reboot: reboot@17000014 { + compatible = "syscon-reboot"; + regmap = <&scu>; + offset = <0x14>; + mask = <0x1>; + }; }; };