From patchwork Thu Jan 22 09:48:46 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 43492 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f69.google.com (mail-la0-f69.google.com [209.85.215.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id DE3FE240DB for ; Thu, 22 Jan 2015 09:49:25 +0000 (UTC) Received: by mail-la0-f69.google.com with SMTP id gm9sf434116lab.0 for ; Thu, 22 Jan 2015 01:49:24 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-type :content-transfer-encoding:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=fE+G6toRMuAV5SjoEQFkG0QrJUWo+chONI50OYBkk/A=; b=Ujp+bkyT0kkXAFGMp/hSdi/sWBg5qfkWyZdgqYfAsd4kFwJ1uZQ8EpSbG+0IqqKaJ/ Kmc70PZ7jXNKlk7bSZsxr84FdRtjaeNCs2X8U0c+dFm5blxtF3M0ADynwP4iwubaLCcY O1Y9db8R5p5bLBQyCVPhlLFgyrmx8aXj7Hy4DrvbFCq93DanVoDXnsZpgwDBJcHwvU6a Vj6h2AD6+c/yqb0HITaGRlbfuqS4CkXFOfRW7Z+ISCnmaXoVf21T8s75ynFpynrDDItE djr6sS2KbRHpoLowsli1FLAdfGr58tTB5PP+XalAkrXI8apFBF5DuEpzmZC8zLmn6yQl jtNA== X-Gm-Message-State: ALoCoQkJd20J/l7UdWYBB6Wzxy2BSW+NSRMDmMeR/0o0xr8PS7VSW+X8G0DFOs7h72RRtcO7p7bQ X-Received: by 10.112.114.162 with SMTP id jh2mr94107lbb.9.1421920164826; Thu, 22 Jan 2015 01:49:24 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.121.35 with SMTP id lh3ls12265lab.12.gmail; Thu, 22 Jan 2015 01:49:24 -0800 (PST) X-Received: by 10.112.151.4 with SMTP id um4mr589331lbb.50.1421920164621; Thu, 22 Jan 2015 01:49:24 -0800 (PST) Received: from mail-lb0-f176.google.com (mail-lb0-f176.google.com. [209.85.217.176]) by mx.google.com with ESMTPS id ay3si20312016lbc.17.2015.01.22.01.49.24 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 22 Jan 2015 01:49:24 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.176 as permitted sender) client-ip=209.85.217.176; Received: by mail-lb0-f176.google.com with SMTP id z12so570156lbi.7 for ; Thu, 22 Jan 2015 01:49:24 -0800 (PST) X-Received: by 10.112.180.135 with SMTP id do7mr507802lbc.23.1421920164504; Thu, 22 Jan 2015 01:49:24 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.9.200 with SMTP id c8csp202636lbb; Thu, 22 Jan 2015 01:49:23 -0800 (PST) X-Received: by 10.70.129.48 with SMTP id nt16mr551124pdb.113.1421920162800; Thu, 22 Jan 2015 01:49:22 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id xm9si11689037pab.209.2015.01.22.01.49.21; Thu, 22 Jan 2015 01:49:22 -0800 (PST) Received-SPF: none (google.com: devicetree-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752404AbbAVJtU (ORCPT + 5 others); Thu, 22 Jan 2015 04:49:20 -0500 Received: from mail-ig0-f179.google.com ([209.85.213.179]:43411 "EHLO mail-ig0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751474AbbAVJtE (ORCPT ); Thu, 22 Jan 2015 04:49:04 -0500 Received: by mail-ig0-f179.google.com with SMTP id l13so1522369iga.0 for ; Thu, 22 Jan 2015 01:49:03 -0800 (PST) X-Received: by 10.50.117.41 with SMTP id kb9mr2071799igb.37.1421920143644; Thu, 22 Jan 2015 01:49:03 -0800 (PST) Received: from localhost.localdomain (host109-148-235-13.range109-148.btcentralplus.com. [109.148.235.13]) by mx.google.com with ESMTPSA id c4sm2144027igt.19.2015.01.22.01.49.01 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 22 Jan 2015 01:49:03 -0800 (PST) From: Lee Jones To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: lee.jones@linaro.org, kernel@stlinux.com, tglx@linutronix.de, jason@lakedaemon.net, devicetree@vger.kernel.org Subject: [PATCH v2 RESEND 1/8] dt: bindings: Supply shared ST IRQ defines Date: Thu, 22 Jan 2015 09:48:46 +0000 Message-Id: <1421920133-7914-2-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1421920133-7914-1-git-send-email-lee.jones@linaro.org> References: <1421920133-7914-1-git-send-email-lee.jones@linaro.org> MIME-Version: 1.0 Sender: devicetree-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: devicetree@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: lee.jones@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.176 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , These defines are used to allow values used for configuration to be easily human readable and will lessen the chance of logical mistakes. Signed-off-by: Lee Jones --- include/dt-bindings/interrupt-controller/irq-st.h | 30 +++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 include/dt-bindings/interrupt-controller/irq-st.h diff --git a/include/dt-bindings/interrupt-controller/irq-st.h b/include/dt-bindings/interrupt-controller/irq-st.h new file mode 100644 index 0000000..4c59ace --- /dev/null +++ b/include/dt-bindings/interrupt-controller/irq-st.h @@ -0,0 +1,30 @@ +/* + * include/linux/irqchip/irq-st.h + * + * Copyright (C) 2014 STMicroelectronics – All Rights Reserved + * + * Author: Lee Jones + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + */ + +#ifndef _DT_BINDINGS_INTERRUPT_CONTROLLER_ST_H +#define _DT_BINDINGS_INTERRUPT_CONTROLLER_ST_H + +#define ST_IRQ_SYSCFG_EXT_0 0 +#define ST_IRQ_SYSCFG_EXT_1 1 +#define ST_IRQ_SYSCFG_EXT_2 2 +#define ST_IRQ_SYSCFG_CTI_0 3 +#define ST_IRQ_SYSCFG_CTI_1 4 +#define ST_IRQ_SYSCFG_PMU_0 5 +#define ST_IRQ_SYSCFG_PMU_1 6 +#define ST_IRQ_SYSCFG_pl310_L2 7 +#define ST_IRQ_SYSCFG_DISABLED 0xFFFFFFFF + +#define ST_IRQ_SYSCFG_EXT_1_INV 0x1 +#define ST_IRQ_SYSCFG_EXT_2_INV 0x2 +#define ST_IRQ_SYSCFG_EXT_3_INV 0x4 + +#endif