From patchwork Sat Jan 11 19:42:45 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomasz Figa X-Patchwork-Id: 3470231 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.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id D66D59F2E9 for ; Sat, 11 Jan 2014 20:24:26 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E398220160 for ; Sat, 11 Jan 2014 20:24:23 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (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 E6EAA20123 for ; Sat, 11 Jan 2014 20:24:20 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1W24VD-00023I-Fs; Sat, 11 Jan 2014 19:45:53 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1W24US-0000dC-3P; Sat, 11 Jan 2014 19:45:04 +0000 Received: from mail-ea0-f169.google.com ([209.85.215.169]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1W24TY-0000Uu-ET for linux-arm-kernel@lists.infradead.org; Sat, 11 Jan 2014 19:44:10 +0000 Received: by mail-ea0-f169.google.com with SMTP id l9so2204562eaj.0 for ; Sat, 11 Jan 2014 11:43:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=k1Zwsm1P2nBWrZ69ZPHakG4EUUklo6Qeiv0fwttxbQI=; b=ehINzbjtb8O9wa4VaSVEoDM60bHFwOlcDhElWwhvKDYnsf7cyq6cclpPA5nn4Br5gy w4i1cS8cUSQjEkE8LZQTrgPYxvKyFCLgLtAKpa9gFykD6s6jq8f47G4z/tZjTM9ppmzl dD92XyCqB//YHOi3rFWeZLnA/kGyDTIHkYLLEUgP2YSTTbO+M//Cwa40EFBkmnDp+QzT maO/1K80YQpOXqSbP2U3VjrfUhbmL1fwjdKc+BgG1zqSv7uti8r2mMrGni51Zes6lDv3 55j1nbhsCoVbq75hwCjYCGX4FpU6s7gphDUi1pP+2+QjMf5OZC1DuVTPGnZ/PoIzPph4 cqUQ== X-Received: by 10.14.109.5 with SMTP id r5mr1047810eeg.110.1389469396595; Sat, 11 Jan 2014 11:43:16 -0800 (PST) Received: from flatron.tomeq (87-207-52-162.dynamic.chello.pl. [87.207.52.162]) by mx.google.com with ESMTPSA id e3sm25312484eeg.11.2014.01.11.11.43.15 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 11 Jan 2014 11:43:16 -0800 (PST) From: Tomasz Figa To: linux-pm@vger.kernel.org Subject: [PATCH RFC 03/10] ARM: s3c64xx: pm: Add pwr_stat bit for domain G Date: Sat, 11 Jan 2014 20:42:45 +0100 Message-Id: <1389469372-17199-4-git-send-email-tomasz.figa@gmail.com> X-Mailer: git-send-email 1.8.5.2 In-Reply-To: <1389469372-17199-1-git-send-email-tomasz.figa@gmail.com> References: <1389469372-17199-1-git-send-email-tomasz.figa@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140111_144408_691784_81DF3D24 X-CRM114-Status: GOOD ( 12.66 ) X-Spam-Score: -2.7 (--) Cc: Mark Rutland , devicetree@vger.kernel.org, linux-samsung-soc@vger.kernel.org, Russell King , Pawel Moll , Len Brown , Greg Kroah-Hartman , Tomasz Figa , Ian Campbell , "Rafael J. Wysocki" , linux-kernel@vger.kernel.org, Rob Herring , Tomasz Figa , Bartlomiej Zolnierkiewicz , Kukjin Kim , Pavel Machek , Kumar Gala , Stephen Warren , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 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, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, T_DKIM_INVALID, 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 There is a status bit for domain G present in BLK_PWR_STAT register, but it is currently not specified in the driver. This patch adds the status bit of domain G to structure describing it. Signed-off-by: Tomasz Figa --- arch/arm/mach-s3c64xx/pm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-s3c64xx/pm.c b/arch/arm/mach-s3c64xx/pm.c index 605bfa9..717d9be 100644 --- a/arch/arm/mach-s3c64xx/pm.c +++ b/arch/arm/mach-s3c64xx/pm.c @@ -146,6 +146,7 @@ static struct s3c64xx_pm_domain s3c64xx_pm_i = { static struct s3c64xx_pm_domain s3c64xx_pm_g = { .ena = S3C64XX_NORMALCFG_DOMAIN_G_ON, + .pwr_stat = S3C64XX_BLKPWRSTAT_G, .pd = { .name = "domain_g", .power_off = s3c64xx_pd_off,