From patchwork Tue Jun 2 19:19:06 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tai Nguyen X-Patchwork-Id: 6531051 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 6468B9F326 for ; Tue, 2 Jun 2015 19:23:13 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 952E7203DB for ; Tue, 2 Jun 2015 19:23:12 +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 7D8B020397 for ; Tue, 2 Jun 2015 19:23:11 +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 1YzrkB-0003S2-To; Tue, 02 Jun 2015 19:20:59 +0000 Received: from exprod5og103.obsmtp.com ([64.18.0.145] helo=mail-qg0-f51.google.com) by bombadil.infradead.org with smtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Yzrj5-0001Vv-DV for linux-arm-kernel@lists.infradead.org; Tue, 02 Jun 2015 19:19:52 +0000 Received: from mail-qg0-f51.google.com ([209.85.192.51]) (using TLSv1) by exprod5ob103.postini.com ([64.18.4.12]) with SMTP ID DSNKVW4BwOJugIDK+GRi2jyU29oxQ9MYZ4bQ@postini.com; Tue, 02 Jun 2015 12:19:51 PDT Received: by qgep100 with SMTP id p100so816453qge.3 for ; Tue, 02 Jun 2015 12:19:28 -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=L3zT64IC6dZ++4PyBZZhdZd01UfTLtNs2YdzLsk1eurd3NrmQGWv1QE3bthFkZqt3P JW1cDqDyTgxu/CgrlF+YxxDLLG8/RyDGeUVzZvNG5dCcr8QtBkAnQxHj0sJIJw2xc2Wf l6x4kdNTWDw2ZsNtouZ+nDzvo1jeOATQevUAbzckP7YJ8y+ThzevuF+IacBfaPwD//vc cpKb5AR3fJqwbWccGLUk9Jbs7kFAhKqP259MwrYz9pfqsOW66J92ech9B1t/c3tHMr6H j9/9PZsTqu7dny/lUf97BzS5hyIBk4AZdGB3kj1PVi13y/gQbwG83M6H8JpLlYW3U+84 h4tQ== X-Gm-Message-State: ALoCoQkQXFXEvwGPopYxC2fVCJmlzbNX4mgEHenu0RfbBTZ+cTmgUB1DgygcBOrCQyZSe4S9vhy69QHO7/wx1cLU0JgtZkzYWBeFUpl8KIfmxDSmy0n7X/d0Ss5HjnYT8CrsBuEAt9iTIF6UtsfLML0s9cQI8Fld0fw8KJDGDJrLSi93/IYdXZc= X-Received: by 10.55.17.133 with SMTP id 5mr52423785qkr.18.1433272767955; Tue, 02 Jun 2015 12:19:27 -0700 (PDT) X-Received: by 10.55.17.133 with SMTP id 5mr52423749qkr.18.1433272767824; Tue, 02 Jun 2015 12:19:27 -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 l81sm5238106qhl.24.2015.06.02.12.19.26 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 02 Jun 2015 12:19:27 -0700 (PDT) From: Tai Nguyen To: arm@kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, patches@apm.com, jcm@redhat.com Subject: [PATCH 1/2 RESEND] power: reset: Add syscon reboot device node for APM X-Gene platform Date: Tue, 2 Jun 2015 12:19:06 -0700 Message-Id: <1433272747-27114-2-git-send-email-ttnguyen@apm.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1433272747-27114-1-git-send-email-ttnguyen@apm.com> References: <1433272747-27114-1-git-send-email-ttnguyen@apm.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150602_121951_523414_48D6D64A X-CRM114-Status: UNSURE ( 8.65 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.3 (--) 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 Tested-by: dann frazier --- 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>; + }; }; };