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: 3469971 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 37A17C02DC for ; Sat, 11 Jan 2014 19:46:29 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7419A20160 for ; Sat, 11 Jan 2014 19:46:28 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id BA3CC2015A for ; Sat, 11 Jan 2014 19:46:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754347AbaAKTpx (ORCPT ); Sat, 11 Jan 2014 14:45:53 -0500 Received: from mail-ea0-f172.google.com ([209.85.215.172]:63050 "EHLO mail-ea0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753759AbaAKTnS (ORCPT ); Sat, 11 Jan 2014 14:43:18 -0500 Received: by mail-ea0-f172.google.com with SMTP id q10so2203349ead.3 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 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 , Tomasz Figa 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> Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, 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 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,