From patchwork Wed Feb 18 15:13:57 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 44780 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-we0-f200.google.com (mail-we0-f200.google.com [74.125.82.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 0CE6221554 for ; Wed, 18 Feb 2015 15:15:53 +0000 (UTC) Received: by wesu56 with SMTP id u56sf1231396wes.1 for ; Wed, 18 Feb 2015 07:15:52 -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=QWhxdywU2Z9qki+B6+QZH5jZJpJq/9anPuQNeeuV8OReaSGCx1j0YPvIjpab3QMrKB zBDRJ/wgSrwszGaCmWRq/bF3V259nKRqggXiV9x69iF9LgapkPi2OwhYjwRFEQAMTlqJ SknLJzbRPlvcXWcgSHrOJcqwCeuoVCOmAjmpyaXchHMpNPkABBYUL2nmzojV1Ds+ej6Z hBeThxxn+LSMVcWVrVPsX0q+d9teB6US5PTkxzB0cbXfDoDVzbwl948YEmU4pP65It8I a1LPV2df6hlxzjA90XLy1hhAVSflTDiKzfCe3KhqMaJaBX5sLEQUYBSUaclxWljUZgDi EbsQ== X-Gm-Message-State: ALoCoQmn5lQ/nazdm2aJ9910cBPIyVN37Y0LYwCn7j5Eg5v2I18GOuE7I8QsJU633JHmWWPmMv9G X-Received: by 10.112.131.106 with SMTP id ol10mr4401578lbb.20.1424272552249; Wed, 18 Feb 2015 07:15:52 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.153.7.134 with SMTP id dc6ls26682lad.87.gmail; Wed, 18 Feb 2015 07:15:52 -0800 (PST) X-Received: by 10.112.170.100 with SMTP id al4mr34416481lbc.42.1424272552078; Wed, 18 Feb 2015 07:15:52 -0800 (PST) Received: from mail-lb0-f172.google.com (mail-lb0-f172.google.com. [209.85.217.172]) by mx.google.com with ESMTPS id g4si13452725lab.66.2015.02.18.07.15.52 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 18 Feb 2015 07:15:52 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.172 as permitted sender) client-ip=209.85.217.172; Received: by lbiw7 with SMTP id w7so1675570lbi.9 for ; Wed, 18 Feb 2015 07:15:52 -0800 (PST) X-Received: by 10.112.14.196 with SMTP id r4mr30786126lbc.86.1424272551634; Wed, 18 Feb 2015 07:15:51 -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.35.133 with SMTP id h5csp2912094lbj; Wed, 18 Feb 2015 07:15:50 -0800 (PST) X-Received: by 10.67.8.98 with SMTP id dj2mr57418883pad.134.1424272549798; Wed, 18 Feb 2015 07:15:49 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id pl10si1325662pbb.48.2015.02.18.07.15.48; Wed, 18 Feb 2015 07:15:49 -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 S1752523AbbBRPOU (ORCPT + 28 others); Wed, 18 Feb 2015 10:14:20 -0500 Received: from mail-wg0-f43.google.com ([74.125.82.43]:44738 "EHLO mail-wg0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751948AbbBRPOM (ORCPT ); Wed, 18 Feb 2015 10:14:12 -0500 Received: by mail-wg0-f43.google.com with SMTP id z12so1783539wgg.2 for ; Wed, 18 Feb 2015 07:14:11 -0800 (PST) X-Received: by 10.180.73.205 with SMTP id n13mr1067084wiv.64.1424272450398; Wed, 18 Feb 2015 07:14:10 -0800 (PST) Received: from localhost.localdomain (host109-148-233-190.range109-148.btcentralplus.com. [109.148.233.190]) by mx.google.com with ESMTPSA id j9sm33068696wjy.18.2015.02.18.07.14.09 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 18 Feb 2015 07:14:09 -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 v3 1/8] dt: bindings: Supply shared ST IRQ defines Date: Wed, 18 Feb 2015 15:13:57 +0000 Message-Id: <1424272444-16230-2-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1424272444-16230-1-git-send-email-lee.jones@linaro.org> References: <1424272444-16230-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.217.172 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