Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp7143216imu; Thu, 31 Jan 2019 05:45:52 -0800 (PST) X-Google-Smtp-Source: ALg8bN6dCTVdv+NR+IMUuxK2Jep2NCogaF6spUPNYq3kAgZR0g3zdUB5YTJSV497yoRTc3RhzNND X-Received: by 2002:a63:200e:: with SMTP id g14mr31673123pgg.235.1548942352236; Thu, 31 Jan 2019 05:45:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548942352; cv=none; d=google.com; s=arc-20160816; b=nFnFpGB/lxHJMaU58WZqbjb1ruWCSj2U6ycoWDAoBqZkzCrGqsPDDze6Os1LahqPSj ZA+pVH+0g46ft9Pp1FEUae19lB399IJUoO4bM80lvZJers7Cr59o7JYVgL1F7y+6QOIh 00rbrMvNSk2T3ZlqOEIWkGj/nvOEojRB2kKlhChStGuqIPX4tLq15c4LA9s+uXnCKTGj 4aUi/oZsHWKb23Z9OVZYFjQcGLtt01xj+961UWklUjppap606j/SW/mrpwq+RUT+pGHh IGiGxCkn+Ej/gycLOSeQUsRavAi2iwc6pLD/Hf7ZOf/X+rdc1U3Dz/NKpd45JAWgCSTt MKeA== 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=EZWE16C9ZjEItVcQFpDaRLfJ9IzuvKc+mM7HSbjjb18=; b=QGWv0Z0DKN74B3u5OyQGl9/lR6iveSDzFUZjPons8KCbvmEjKAa63ID0df751IdpkY Wv4x22H6rCN+0dYoQUaHaBCniFbD0R0Utvvsk4iGd3e94VZf/XeHDl3iRbZgGTt8o+Ox 5+JIp9BapXXHhQTLG+uR2+y/q3Pi0gU00Ja3xrJTXz/L2DAJGqcxsilMpnpyJzGa/N3G Af5Kcgehibsp6qJHq5vBaofDDqhNs3mHLnTU22k5t1NGhr9PACJdpigNgMT69vdYVklh 2Q8tUbgiQgRn/GovnZ/KoO5aDeUyfEfp1wGiXI/7cm0i1w9fvNoA5cgxhIkTmjNmRcue jbXQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20150623.gappssmtp.com header.s=20150623 header.b=xq8rAAuP; 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 i9si4713193plb.35.2019.01.31.05.45.37; Thu, 31 Jan 2019 05:45:52 -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=xq8rAAuP; 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 S1732334AbfAaNlz (ORCPT + 99 others); Thu, 31 Jan 2019 08:41:55 -0500 Received: from mail-wr1-f65.google.com ([209.85.221.65]:38421 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387728AbfAaNkE (ORCPT ); Thu, 31 Jan 2019 08:40:04 -0500 Received: by mail-wr1-f65.google.com with SMTP id v13so3330428wrw.5 for ; Thu, 31 Jan 2019 05:40:03 -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=EZWE16C9ZjEItVcQFpDaRLfJ9IzuvKc+mM7HSbjjb18=; b=xq8rAAuP7npyHn8R0kNkdMt3Sf4drHt66DxX5WT2pL1S4Txtdf87yJF2EfZ/0Xt9BK SNpfOKS/8Y40aQGDMLDIALGZteFlmc9CZTMpAGXVNE6NXMxcKmYw0UqCP5jRlIrLW+HU X6XT61MjiTEEL7cn41ZBoX9DkIkz5rZtfg4uGDHbDb0SkBZiLExNaJcJqlC7GXjxHf7L +BS57iw5LkAurIsFklr0D+S6tg0BtToJTbz79TZbz3jOxVtd2IlzYWS4CKZhZ6UEnWAa UxhGsUVXorlWYYfMW7cYgVRjdqncNtGYH7ZRpN1BW+l8nDcqZXbGEO3+kdqSQU4kVxjq 8mXg== 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=EZWE16C9ZjEItVcQFpDaRLfJ9IzuvKc+mM7HSbjjb18=; b=OGMzWXet0VdM3gd8myywY68G1hQjbyY4KgsZh5KpyYxYAA+iaUFkytSK7Nv+97+ldq D40qESdz4IwTAIDEBPxaVOHW1Dc5RAtVaddDfnlwSjEZyCXRLaJxqlVslDl0CVeHrxWZ UB0i5M1+xpikpjCMcDz/8SAUcM9Q6gayxV4uwFYFsNT2MhyCK58vSri26IKZRbSbmx2a N/L8a6muQZFQn5XgeTC5/2hD47FqC8MBhsATncX203PLTGtoffjvWvzVpC+LWv+Qvcmi qWF3Z5wMJTqybEU7rQ16L27c0+tMD2ylF9JJk+FjwWB13DYnIDkVWSjZFPTjbawHmxCs janQ== X-Gm-Message-State: AJcUukck0SDROFruxThv5iucumFA8jZ1+obEj6Oivg8LNrS6sdNSq1G5 7QiEwQpRpv93eDOhOC+nh8RC5Q== X-Received: by 2002:adf:d4c9:: with SMTP id w9mr34463680wrk.119.1548942003051; Thu, 31 Jan 2019 05:40:03 -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.40.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 31 Jan 2019 05:40:02 -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 18/35] irqchip: davinci-aintc: move the driver to drivers/irqchip Date: Thu, 31 Jan 2019 14:39:11 +0100 Message-Id: <20190131133928.17985-19-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 The aintc driver has now been cleaned up. Move it to drivers/irqchip where it belongs. There's no device-tree support for any dm* board so there's no IRQCHIP_OF_DECLARE() - there's only the exported init function called from machine code. Signed-off-by: Bartosz Golaszewski --- arch/arm/mach-davinci/Kconfig | 11 ++++------- arch/arm/mach-davinci/Makefile | 1 - drivers/irqchip/Kconfig | 5 +++++ drivers/irqchip/Makefile | 1 + .../irq.c => drivers/irqchip/irq-davinci-aintc.c | 0 5 files changed, 10 insertions(+), 8 deletions(-) rename arch/arm/mach-davinci/irq.c => drivers/irqchip/irq-davinci-aintc.c (100%) diff --git a/arch/arm/mach-davinci/Kconfig b/arch/arm/mach-davinci/Kconfig index da8a039d65f9..71a4d875dd39 100644 --- a/arch/arm/mach-davinci/Kconfig +++ b/arch/arm/mach-davinci/Kconfig @@ -1,9 +1,6 @@ # SPDX-License-Identifier: GPL-2.0 if ARCH_DAVINCI -config AINTC - bool - config CP_INTC bool select IRQ_DOMAIN @@ -17,17 +14,17 @@ comment "DaVinci Core Type" config ARCH_DAVINCI_DM644x bool "DaVinci 644x based system" - select AINTC + select DAVINCI_AINTC select ARCH_DAVINCI_DMx config ARCH_DAVINCI_DM355 bool "DaVinci 355 based system" - select AINTC + select DAVINCI_AINTC select ARCH_DAVINCI_DMx config ARCH_DAVINCI_DM646x bool "DaVinci 646x based system" - select AINTC + select DAVINCI_AINTC select ARCH_DAVINCI_DMx config ARCH_DAVINCI_DA830 @@ -49,7 +46,7 @@ config ARCH_DAVINCI_DA8XX config ARCH_DAVINCI_DM365 bool "DaVinci 365 based system" - select AINTC + select DAVINCI_AINTC select ARCH_DAVINCI_DMx comment "DaVinci Board Type" diff --git a/arch/arm/mach-davinci/Makefile b/arch/arm/mach-davinci/Makefile index 93d271b4d84b..983865a99616 100644 --- a/arch/arm/mach-davinci/Makefile +++ b/arch/arm/mach-davinci/Makefile @@ -18,7 +18,6 @@ obj-$(CONFIG_ARCH_DAVINCI_DM365) += dm365.o devices.o obj-$(CONFIG_ARCH_DAVINCI_DA830) += da830.o devices-da8xx.o usb-da8xx.o obj-$(CONFIG_ARCH_DAVINCI_DA850) += da850.o devices-da8xx.o usb-da8xx.o -obj-$(CONFIG_AINTC) += irq.o obj-$(CONFIG_CP_INTC) += cp_intc.o # Board specific diff --git a/drivers/irqchip/Kconfig b/drivers/irqchip/Kconfig index 3d1e60779078..ea0eb82bf1d2 100644 --- a/drivers/irqchip/Kconfig +++ b/drivers/irqchip/Kconfig @@ -129,6 +129,11 @@ config BRCMSTB_L2_IRQ select GENERIC_IRQ_CHIP select IRQ_DOMAIN +config DAVINCI_AINTC + bool + select GENERIC_IRQ_CHIP + select IRQ_DOMAIN + config DW_APB_ICTL bool select GENERIC_IRQ_CHIP diff --git a/drivers/irqchip/Makefile b/drivers/irqchip/Makefile index c93713d24b86..623e0ec5f9d0 100644 --- a/drivers/irqchip/Makefile +++ b/drivers/irqchip/Makefile @@ -6,6 +6,7 @@ obj-$(CONFIG_ATH79) += irq-ath79-cpu.o obj-$(CONFIG_ATH79) += irq-ath79-misc.o obj-$(CONFIG_ARCH_BCM2835) += irq-bcm2835.o obj-$(CONFIG_ARCH_BCM2835) += irq-bcm2836.o +obj-$(CONFIG_DAVINCI_AINTC) += irq-davinci-aintc.o obj-$(CONFIG_ARCH_EXYNOS) += exynos-combiner.o obj-$(CONFIG_FARADAY_FTINTC010) += irq-ftintc010.o obj-$(CONFIG_ARCH_HIP04) += irq-hip04.o diff --git a/arch/arm/mach-davinci/irq.c b/drivers/irqchip/irq-davinci-aintc.c similarity index 100% rename from arch/arm/mach-davinci/irq.c rename to drivers/irqchip/irq-davinci-aintc.c -- 2.20.1