From patchwork Mon Mar 3 16:02:11 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomasz Figa X-Patchwork-Id: 3755321 Return-Path: X-Original-To: patchwork-linux-pm@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 353E59F38E for ; Mon, 3 Mar 2014 16:04:48 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 627A020397 for ; Mon, 3 Mar 2014 16:04:46 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 283B6203E3 for ; Mon, 3 Mar 2014 16:04:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752988AbaCCQEn (ORCPT ); Mon, 3 Mar 2014 11:04:43 -0500 Received: from mail-ee0-f54.google.com ([74.125.83.54]:61020 "EHLO mail-ee0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754130AbaCCQCp (ORCPT ); Mon, 3 Mar 2014 11:02:45 -0500 Received: by mail-ee0-f54.google.com with SMTP id d49so877421eek.27 for ; Mon, 03 Mar 2014 08:02:44 -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=xX574en2RYAmxkjfgS60iYYF2xqoJsl9+cCfoMV5TqY=; b=Ny/QPxn3XD06GmKgszGLtJrO+qqiYpMHPDlN1jk+5mEDNUenrd+MeLRbgRfJbBBJQm wZ7zgGfFN/UQ3P5aEV/W55k5ur05bNM7uDu1EYVC3sLaTXTKPHWuY+59Od4gwEHFPBHk HcuCiuwiniCMEPMsJuFAOIwpmK4ime1tMwKx5EoFdyUg1N9LVEXts2az1qe9zJLGKM5Q MEhJ5SIVeQoLCuLXlOAO5xfYdi8ev2NgYnunGUjw3CSbEtTZSN3unRap5aLbEP/9y2Hz 6kJUnNwK0OyZrxWUXyc6kwJWwwQBFiW9TePRdE28Yhg7tyhTypsSmpyQ6f7vqlpe0kzM dz0g== X-Received: by 10.15.43.141 with SMTP id x13mr39787676eev.35.1393862564524; Mon, 03 Mar 2014 08:02:44 -0800 (PST) Received: from flatron.tomeq (87-207-52-162.dynamic.chello.pl. [87.207.52.162]) by mx.google.com with ESMTPSA id y51sm51430597eeu.0.2014.03.03.08.02.42 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 03 Mar 2014 08:02:44 -0800 (PST) From: Tomasz Figa To: linux-pm@vger.kernel.org Cc: linux-kernel@vger.kernel.org, linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, Greg Kroah-Hartman , "Rafael J. Wysocki" , Pavel Machek , Len Brown , Russell King , Kukjin Kim , Kumar Gala , Ian Campbell , Mark Rutland , Pawel Moll , Rob Herring , Bartlomiej Zolnierkiewicz , Stephen Warren , Tomasz Figa , Mark Brown , Stephen Boyd , Lorenzo Pieralisi , Ulf Hansson , Marek Szyprowski , Tomasz Figa Subject: [PATCH v2 06/11] ARM: s3c64xx: pm: Add pwr_stat bit for domain G Date: Mon, 3 Mar 2014 17:02:11 +0100 Message-Id: <1393862536-9842-7-git-send-email-tomasz.figa@gmail.com> X-Mailer: git-send-email 1.9.0 In-Reply-To: <1393862536-9842-1-git-send-email-tomasz.figa@gmail.com> References: <1393862536-9842-1-git-send-email-tomasz.figa@gmail.com> Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org X-Spam-Status: No, score=-3.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, KHOP_BIG_TO_CC, RCVD_IN_DNSWL_HI, 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 c930245..b422eed 100644 --- a/arch/arm/mach-s3c64xx/pm.c +++ b/arch/arm/mach-s3c64xx/pm.c @@ -147,6 +147,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 = "G", .power_off = s3c64xx_pd_off,