Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp7143812imu; Thu, 31 Jan 2019 05:46:31 -0800 (PST) X-Google-Smtp-Source: ALg8bN6ehaQWx5aS/wAnkasHMJe0ymkE+qso88qIiDlj0UKHy4oHF1guU5awHIuiBffHcPVFvJfn X-Received: by 2002:a63:2054:: with SMTP id r20mr31195756pgm.328.1548942391927; Thu, 31 Jan 2019 05:46:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548942391; cv=none; d=google.com; s=arc-20160816; b=ODR863oB/11zUtJPqO3hqC6gNWn7MR4n8cYJAZJHs3x5kuRJIDRivLnVUXg630BXHy Mh+k2bQgCnhRgrSZdV+3vn2ztXbtktuzhDIYsVEZfQQoSuFNW8eSU1G5cC7Hh48/Xz8F B3UksIWnUdfDFLIBBG+GClbpk2hbDHz+WOrkBMgK2JVEb2T6CT1tGYtgasXONywnXAgg dCWXaP9wdJSgR1GxWf0s/kSTZ6LwwibfDXvkdXl9fMf+dCsVOzG1Gnyqm6pMfCCcVipK gnmR3NdZ7ZddbpqmkGPDiktJfpXaKr3dQNuP/cC36JCVWM6MhPh5oo/7tvUxjdlTIWpr 6MRA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=/c5hDVe0InyzBLUgsdtqzMSd06Nl7+tp8C6D2lOYhko=; b=0OYrv0lxb09oJ94Kff0b7bjW8a1AAR29EbaLRhTybpl8V/p7j4aXWuos9tbEQKhFgE GdnRIzTAbRF3dTKZxFhGxGV0LOBl7tUw83O/ED8Uq2W+9xEkSBb3gLvBzv7OmxNRL5aW cYgGDisE3CDFZeM5Yo35hdwNZEV9RsxCePevsW1ZKPIW+v1Vj7GKaGE9Bcok48GbLiFA WoiWZa+Mq9eZllMfOm6tabMUUDVmQthgaw54BJIElWGisliYfBYr81vPk2wUPsYfc6de +RRjNCsr71IPnYQTVx7CKT+JcsKVeLVLF1vuSsc25LrMdRvnt9ohJTOZIBX+Z3AQAJHd fXZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20150623.gappssmtp.com header.s=20150623 header.b=QVzASKGe; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a17si4459883pfn.213.2019.01.31.05.46.16; Thu, 31 Jan 2019 05:46:31 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@bgdev-pl.20150623.gappssmtp.com header.s=20150623 header.b=QVzASKGe; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732811AbfAaNmO (ORCPT + 99 others); Thu, 31 Jan 2019 08:42:14 -0500 Received: from mail-wr1-f65.google.com ([209.85.221.65]:41127 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387634AbfAaNj7 (ORCPT ); Thu, 31 Jan 2019 08:39:59 -0500 Received: by mail-wr1-f65.google.com with SMTP id x10so3320985wrs.8 for ; Thu, 31 Jan 2019 05:39:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=/c5hDVe0InyzBLUgsdtqzMSd06Nl7+tp8C6D2lOYhko=; b=QVzASKGeM2ZFTiubzM53pWGi1midPBvfiEoRwa3CAychzozVuwi0MKky/mGeLNmnYE E5UU+snYpAp12nQC/vsaneIYe9jwtiyjwjSZIgkcPF6nCnD4U9w3hxMyuoGFv9APxJbI rkBpsug97GrsEvf/4ak1sXW65tag2xyf9UiqT1DTaWfi7GwRkgcjfWSFPvoz3+xDwm/2 UCEFJ2B/z5usBwM8wDeL7OsfKRWAJfWLIYuHlOVUwC0JKea+FXcGJHcROXfu0J/tHxz7 bUZzfrwGAAMiBOB1QU/oGLIU0RBkggwHwuWgBPGpNcZSrYStWf8A4zFBZQneps8XfWPz ckWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=/c5hDVe0InyzBLUgsdtqzMSd06Nl7+tp8C6D2lOYhko=; b=Y9itxImPACrJL+1VLM/B0+U6aSCsCb2iHLR6DItoREb3aX4eqVBQfMulZ5WIqht26R Gly4r5orqrrQKwjxz+DbWu3SqG5My/cpWql+SKVYei7Ti/Ie8lJURWiWhBrpBotZdLBk KDv+ibPpe55hJ9J8yZiu0FOYq7S/U1zncCy8Ah/h/eTwe1aWHpNvv/a6Jea+/X6/qCuw VsGJAsniY9XqyNcFuUOZvIB8anenpvwhqGHHpCBFyaPuQmhfvmErp2oNWvlXz0Ag0VKd VFYMbfVFe+0RsYZHF/P4hut2Ntg2vMFsZEBsI7kFlt1VbMuKcz44St+jh1xXKkbho8mC BtTQ== X-Gm-Message-State: AJcUukeB5m4DStv/YM4YFbdw4V3gb5INOSBqemjfy6lF3re/JXJ/Cjwu kjyS0+Bw1SaekFGD66tVt38MgJpkBYk= X-Received: by 2002:a5d:6105:: with SMTP id v5mr33635178wrt.63.1548941997359; Thu, 31 Jan 2019 05:39:57 -0800 (PST) Received: from debian-brgl.home ([2a01:cb1d:af:5b00:6d6c:8493:1ab5:dad7]) by smtp.gmail.com with ESMTPSA id h10sm5479768wmf.44.2019.01.31.05.39.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 31 Jan 2019 05:39:56 -0800 (PST) From: Bartosz Golaszewski To: Sekhar Nori , Kevin Hilman , Thomas Gleixner , Jason Cooper , Marc Zyngier Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Bartosz Golaszewski Subject: [PATCH 13/35] ARM: davinci: aintc: add a new config structure Date: Thu, 31 Jan 2019 14:39:06 +0100 Message-Id: <20190131133928.17985-14-brgl@bgdev.pl> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190131133928.17985-1-brgl@bgdev.pl> References: <20190131133928.17985-1-brgl@bgdev.pl> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Bartosz Golaszewski Add a config structure that will be used by aintc-based platforms. It contains the register range resource, number of interrupts and a list of priorities. Signed-off-by: Bartosz Golaszewski --- include/linux/irqchip/irq-davinci-aintc.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 include/linux/irqchip/irq-davinci-aintc.h diff --git a/include/linux/irqchip/irq-davinci-aintc.h b/include/linux/irqchip/irq-davinci-aintc.h new file mode 100644 index 000000000000..d488e798bbef --- /dev/null +++ b/include/linux/irqchip/irq-davinci-aintc.h @@ -0,0 +1,17 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ +/* + * Copyright (C) 2019 Texas Instruments + */ + +#ifndef _LINUX_IRQ_DAVINCI_AINTC_ +#define _LINUX_IRQ_DAVINCI_AINTC_ + +#include + +struct davinci_aintc_config { + struct resource reg; + unsigned int num_irqs; + u8 *prios; +}; + +#endif /* _LINUX_IRQ_DAVINCI_AINTC_ */ -- 2.20.1