From patchwork Fri Jan 18 11:40:11 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Baltieri X-Patchwork-Id: 14110 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 53F0F23F02 for ; Fri, 18 Jan 2013 11:41:14 +0000 (UTC) Received: from mail-ve0-f177.google.com (mail-ve0-f177.google.com [209.85.128.177]) by fiordland.canonical.com (Postfix) with ESMTP id 0EE36A181AC for ; Fri, 18 Jan 2013 11:41:13 +0000 (UTC) Received: by mail-ve0-f177.google.com with SMTP id d10so14700vea.8 for ; Fri, 18 Jan 2013 03:41:13 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:x-forwarded-to:x-forwarded-for:delivered-to:x-received :received-spf:x-received:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references:x-gm-message-state; bh=1xLdbjKbgDSEprDVNx+v5AKQZwZRHXkrls5z2W2fM/8=; b=Yc4JHhwLnpo9P/IBGOqsU5hdaiLu+2CWaztvn7PWcYi4UU2CZ6QWT4hByNVyF2TXQl DDDgWr6HzTdiG4vD6es7MUjoSOQvWEzxf/2HuhuF6yFcoh0QBJtdkFIWC8y+jmX2oGh+ Uncj+omVOnYpHbhgHpne0x1I63NNnqwWVT0RigliUpnl5HqRhKs3oMdTHXvQIXn6/fBf sF35Ij5aFU8Cg1nX8qXLGJ03OzH4O+eUSC7PxkpbkkAW7vX9J9cJ8STKkscExReGPzLN xZxpfT5CWngLhNlO0yoZAPLbQFV92IZ+//t82Kt6LP3/RVx2+URZGzBV4Wg2kkbrJNvE nu0Q== X-Received: by 10.220.39.69 with SMTP id f5mr4329162vce.45.1358509273484; Fri, 18 Jan 2013 03:41:13 -0800 (PST) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.58.145.101 with SMTP id st5csp79377veb; Fri, 18 Jan 2013 03:41:12 -0800 (PST) X-Received: by 10.14.204.70 with SMTP id g46mr25341400eeo.15.1358509271869; Fri, 18 Jan 2013 03:41:11 -0800 (PST) Received: from mail-ea0-f173.google.com (mail-ea0-f173.google.com [209.85.215.173]) by mx.google.com with ESMTPS id j5si4585505eei.18.2013.01.18.03.41.06 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 18 Jan 2013 03:41:11 -0800 (PST) Received-SPF: neutral (google.com: 209.85.215.173 is neither permitted nor denied by best guess record for domain of fabio.baltieri@linaro.org) client-ip=209.85.215.173; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.215.173 is neither permitted nor denied by best guess record for domain of fabio.baltieri@linaro.org) smtp.mail=fabio.baltieri@linaro.org Received: by mail-ea0-f173.google.com with SMTP id i1so974284eaa.4 for ; Fri, 18 Jan 2013 03:41:05 -0800 (PST) X-Received: by 10.14.221.5 with SMTP id q5mr25106584eep.33.1358509265810; Fri, 18 Jan 2013 03:41:05 -0800 (PST) Received: from localhost ([2a01:2029:1:1653:8e70:5aff:feac:ad8]) by mx.google.com with ESMTPS id f49sm6949056eep.12.2013.01.18.03.40.59 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Fri, 18 Jan 2013 03:41:04 -0800 (PST) From: Fabio Baltieri To: linux-watchdog@vger.kernel.org, Samuel Ortiz , Wim Van Sebroeck Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Linus Walleij , Lee Jones , Srinidhi Kasagar , Fabio Baltieri Subject: [PATCH 1/4] mfd: dbx500-prcmu: add watchdog ID definitions Date: Fri, 18 Jan 2013 12:40:11 +0100 Message-Id: <1358509214-22407-2-git-send-email-fabio.baltieri@linaro.org> X-Mailer: git-send-email 1.7.12.1 In-Reply-To: <1358509214-22407-1-git-send-email-fabio.baltieri@linaro.org> References: <1358509214-22407-1-git-send-email-fabio.baltieri@linaro.org> X-Gm-Message-State: ALoCoQnPbSOoiflVlJTqlGjjPxMwrc/bHRldMKak9w4ke0bX6jAEmtQj2CjRE3IGSutCnvNWbrnd Add definition of watchdog IDs to be used by ux500_wdt driver. Acked-by: Lee Jones Signed-off-by: Fabio Baltieri --- include/linux/mfd/dbx500-prcmu.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/include/linux/mfd/dbx500-prcmu.h b/include/linux/mfd/dbx500-prcmu.h index c202d6c..c6e0608 100644 --- a/include/linux/mfd/dbx500-prcmu.h +++ b/include/linux/mfd/dbx500-prcmu.h @@ -147,6 +147,18 @@ enum prcmu_clock { }; /** + * enum prcmu_wdog_id - PRCMU watchdog IDs + * @PRCMU_WDOG_ALL: use all timers + * @PRCMU_WDOG_CPU1: use first CPU timer only + * @PRCMU_WDOG_CPU2: use second CPU timer conly + */ +enum prcmu_wdog_id { + PRCMU_WDOG_ALL = 0x00, + PRCMU_WDOG_CPU1 = 0x01, + PRCMU_WDOG_CPU2 = 0x02, +}; + +/** * enum ape_opp - APE OPP states definition * @APE_OPP_INIT: * @APE_NO_CHANGE: The APE operating point is unchanged