From patchwork Tue Nov 25 16:24:58 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 41486 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f71.google.com (mail-la0-f71.google.com [209.85.215.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 5F17B246DF for ; Tue, 25 Nov 2014 16:25:58 +0000 (UTC) Received: by mail-la0-f71.google.com with SMTP id s18sf644702lam.6 for ; Tue, 25 Nov 2014 08:25:57 -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=84ZHzr5JJ/8uzLKAo4s/ibiXPcuTPcKcUU5jzBzKhn8=; b=iJpuKjROov5KBCSmrN405/tnpk3+l3X15QAUqzrGXWBczYS0xgo+9nTN8WtW2eMGxm 8kgqJx5ZstMim8adi66LtpMuXzcWI+CBgK3nn4g4aD1+H5fmivx4tXdUBByMFdfIAeF+ 2DQz9+ZBlk/+7VkBmAeD4iWA4RYE2/j4kBDy91Byw3nVw+y5ITRoBIA5Ql7mb5lizL9N 78O6qTFnUI0cr3irRPAxcAyqXTpbNglSuQSKsAkm7jH3FyDFV+50COP8OqLtmajf0iBj Qb2I3l1G3jhrebcr8IrpgoAyd1FEDJzltLFLZP0CEPEEH2y7lSdjm97YwyIbM7UOZDRg pQdg== X-Gm-Message-State: ALoCoQlxKHq8dQVxE9+nGiYI1h13iPd6Q2eQH/hBqcv86fYxhJGMfQTyOJns/f8pWGIYZdj3Ukkp X-Received: by 10.112.154.194 with SMTP id vq2mr2356733lbb.10.1416932757361; Tue, 25 Nov 2014 08:25:57 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.2.67 with SMTP id 3ls463759las.61.gmail; Tue, 25 Nov 2014 08:25:57 -0800 (PST) X-Received: by 10.152.28.193 with SMTP id d1mr28186150lah.17.1416932757187; Tue, 25 Nov 2014 08:25:57 -0800 (PST) Received: from mail-la0-f51.google.com (mail-la0-f51.google.com. [209.85.215.51]) by mx.google.com with ESMTPS id g8si1853457laa.47.2014.11.25.08.25.57 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 25 Nov 2014 08:25:57 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.51 as permitted sender) client-ip=209.85.215.51; Received: by mail-la0-f51.google.com with SMTP id ms9so863333lab.10 for ; Tue, 25 Nov 2014 08:25:57 -0800 (PST) X-Received: by 10.152.87.100 with SMTP id w4mr27860345laz.27.1416932757034; Tue, 25 Nov 2014 08:25:57 -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.184.201 with SMTP id ew9csp464984lbc; Tue, 25 Nov 2014 08:25:56 -0800 (PST) X-Received: by 10.70.1.70 with SMTP id 6mr36539325pdk.2.1416932755049; Tue, 25 Nov 2014 08:25:55 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id qo10si2673622pac.133.2014.11.25.08.25.54 for ; Tue, 25 Nov 2014 08:25:55 -0800 (PST) Received-SPF: none (google.com: linux-kernel-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 S1751046AbaKYQZ1 (ORCPT + 26 others); Tue, 25 Nov 2014 11:25:27 -0500 Received: from mail-ig0-f172.google.com ([209.85.213.172]:64095 "EHLO mail-ig0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750869AbaKYQZX (ORCPT ); Tue, 25 Nov 2014 11:25:23 -0500 Received: by mail-ig0-f172.google.com with SMTP id hl2so5275864igb.5 for ; Tue, 25 Nov 2014 08:25:23 -0800 (PST) X-Received: by 10.50.4.102 with SMTP id j6mr18128440igj.37.1416932722970; Tue, 25 Nov 2014 08:25:22 -0800 (PST) Received: from localhost.localdomain (host109-148-232-11.range109-148.btcentralplus.com. [109.148.232.11]) by mx.google.com with ESMTPSA id b123sm790112iob.4.2014.11.25.08.25.20 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 25 Nov 2014 08:25:22 -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 1/8] dt: bindings: Supply shared ST IRQ defines Date: Tue, 25 Nov 2014 16:24:58 +0000 Message-Id: <1416932705-16880-2-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1416932705-16880-1-git-send-email-lee.jones@linaro.org> References: <1416932705-16880-1-git-send-email-lee.jones@linaro.org> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@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.215.51 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