Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp100889imj; Thu, 14 Feb 2019 16:14:43 -0800 (PST) X-Google-Smtp-Source: AHgI3IZz3D3WooyGeVKOdxLUIGvqCZbJhVgU4sKUS4cPO+Els1mn6ZM9lKVNjvLTj+FCeljBs2Ja X-Received: by 2002:a63:2882:: with SMTP id o124mr2596324pgo.446.1550189683522; Thu, 14 Feb 2019 16:14:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550189683; cv=none; d=google.com; s=arc-20160816; b=t7tax+3jXmt1GTVBYkkBucE/6tZAImyhWGA8bQgwRZlCgc8QpB+6VlVGEBdQ4TExPu cA6e7d77Iq7eyFxkchzMw+3mKt31zPI+cfqxWusueu2dN9Ej6GNOaBk2jAADORafxbyW efhZff9hjk+9u4+1s684v9ydouxFhdle3CIfJJrJ/64nZQu5rCNB+YRqlDIl3tUVpOus 7NnDozceO9pd0bODUcsoDnMjEzW2SbmWGJxbrIkorKTxD76znJ4vQo1rfzmWY0Q+ngeO qJI24wuQmDqtSHLb6MVgjJInh7i2ndAAgszmNXQQDLzeOTxHSAspmKaxTvbAQeFi8dFT I9Ng== 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=E2oKCm2aHyIkLmsWfLt1xuMZ3si46gMPXE7rlXDV4Gg=; b=Oe8YzTiaweOwN7JpdQRfCKlB2uLlNwVceD/e+CiYPLuDz7XXP3u/gbvFCY/9XW91Wk oSeBpzaKriopwWN4dtOZ7B1alQLYP/4zZvyrTgBYn3mxhM966u9z8/N7HRvV81nG0U/f inVcheanwgWx6eOqG0ekg+NNKpFZmh+j0Jeqogyjb583/lcMX0oAXu9peHYXMUAUsuo5 j1h/fVBlB+ZdSoRFuqoIqA+CkrWcB57frJmDRBpLq0zPg5JG79bz7rZ4bmGam5W/9IxF Eop+cx/PkYv+/S+vTLEUsv/tpfUK3mhMAF7aiT+ge61SJ46aVUsPPI1ImGRoubwtrzsV V0hg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20150623.gappssmtp.com header.s=20150623 header.b=UNscNnPl; 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 q22si3884058plr.61.2019.02.14.16.14.28; Thu, 14 Feb 2019 16:14:43 -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=UNscNnPl; 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 S2407409AbfBNOxv (ORCPT + 99 others); Thu, 14 Feb 2019 09:53:51 -0500 Received: from mail-wr1-f67.google.com ([209.85.221.67]:43618 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2501909AbfBNOx1 (ORCPT ); Thu, 14 Feb 2019 09:53:27 -0500 Received: by mail-wr1-f67.google.com with SMTP id r2so6767288wrv.10 for ; Thu, 14 Feb 2019 06:53:26 -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=E2oKCm2aHyIkLmsWfLt1xuMZ3si46gMPXE7rlXDV4Gg=; b=UNscNnPlrgcXoGxsJEYm01lSN0yJLLFm0GKtpsMXWouEYqJXiOZtRUYYgathqO//sk 3QBr4X5zKrLFLX6pqtR2NtDZRieN9WPtjkNBZOFl446tyDHt8LpGDkGkIjqnzLBdRy+Z 2xz4Xop024coud5XXL4FOfzioLddxUGC4jnjHQRsMolZ/3VTT14WFGI9sZafD+Uka26y SCOYLai9LUCurqQQ2Sx7nK8PFhGHfwFnbWeGjBJOICFIZm+XhN2J9Eavsrj1aqN1QEHP Byu9Vw9adPoVma272hPCJCHrTemIoD+0Q76LHyD5rm/cGzstsit3jq0Eyr0ApXcfaTsb 4uMA== 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=E2oKCm2aHyIkLmsWfLt1xuMZ3si46gMPXE7rlXDV4Gg=; b=nYXXeu32fxA7hOTOuJrjfzrYZQq1g9TU3CZi/KpSS4Nk+v92kzOQT6GXz+B4b15YF6 4e9dl79jGIYdwekEL/6ovKreN/V11yXfQwUc+x/RGYnT8Nqqj/SWf3HbZlLJRCNKHD7W S7w4PaIYywQcd1yJLZn01tlIqzV1dNkHBp/300uDGNqmy6CggjTn+kt1DRtB52p0mp3D JxfM2n17MWRkDuz5H4JNByyBnp7Th0etOKGfM9OhrX7/AGRj1QrieyNxO7pc03fMyLVO R55uySSQfUwEDRjbiv6CuOUL3HXn7CIX3zigrdahHNBAH6zrGR3yGOhqVCbfqO8w2whN zK0w== X-Gm-Message-State: AHQUAuYGb+8O6MHmQWeAk3Q3zv3YTGneOy//z3Nxl8gwT+XEETcxBReZ uLv4e3/cBr0cAR6JST0l515Lew== X-Received: by 2002:a5d:49cf:: with SMTP id t15mr2990704wrs.94.1550156005545; Thu, 14 Feb 2019 06:53:25 -0800 (PST) Received: from debian-brgl.home ([2a01:cb1d:af:5b00:6d6c:8493:1ab5:dad7]) by smtp.gmail.com with ESMTPSA id y20sm4181005wra.51.2019.02.14.06.53.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 14 Feb 2019 06:53:24 -0800 (PST) From: Bartosz Golaszewski To: Dmitry Torokhov , Sekhar Nori , Kevin Hilman , Thomas Gleixner , Jason Cooper , Marc Zyngier , David Lechner Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Bartosz Golaszewski Subject: [PATCH v4 36/37] irqchip: davinci-cp-intc: move the driver to drivers/irqchip Date: Thu, 14 Feb 2019 15:52:30 +0100 Message-Id: <20190214145231.8750-37-brgl@bgdev.pl> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190214145231.8750-1-brgl@bgdev.pl> References: <20190214145231.8750-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 cp-intc driver has now been cleaned up. Move it to drivers/irqchip where it belongs. Signed-off-by: Bartosz Golaszewski Reviewed-by: David Lechner --- arch/arm/mach-davinci/Kconfig | 8 ++------ arch/arm/mach-davinci/Makefile | 2 -- drivers/irqchip/Kconfig | 5 +++++ drivers/irqchip/Makefile | 1 + .../cp_intc.c => drivers/irqchip/irq-davinci-cp-intc.c | 0 5 files changed, 8 insertions(+), 8 deletions(-) rename arch/arm/mach-davinci/cp_intc.c => drivers/irqchip/irq-davinci-cp-intc.c (100%) diff --git a/arch/arm/mach-davinci/Kconfig b/arch/arm/mach-davinci/Kconfig index 71a4d875dd39..5a59cebc7d0a 100644 --- a/arch/arm/mach-davinci/Kconfig +++ b/arch/arm/mach-davinci/Kconfig @@ -1,10 +1,6 @@ # SPDX-License-Identifier: GPL-2.0 if ARCH_DAVINCI -config CP_INTC - bool - select IRQ_DOMAIN - config ARCH_DAVINCI_DMx bool @@ -33,13 +29,13 @@ config ARCH_DAVINCI_DA830 select ARCH_DAVINCI_DA8XX # needed on silicon revs 1.0, 1.1: select CPU_DCACHE_WRITETHROUGH if !CPU_DCACHE_DISABLE - select CP_INTC + select DAVINCI_CP_INTC config ARCH_DAVINCI_DA850 bool "DA850/OMAP-L138/AM18x based system" depends on !ARCH_DAVINCI_DMx || (AUTO_ZRELADDR && ARM_PATCH_PHYS_VIRT) select ARCH_DAVINCI_DA8XX - select CP_INTC + select DAVINCI_CP_INTC config ARCH_DAVINCI_DA8XX bool diff --git a/arch/arm/mach-davinci/Makefile b/arch/arm/mach-davinci/Makefile index 983865a99616..f76a8482784f 100644 --- a/arch/arm/mach-davinci/Makefile +++ b/arch/arm/mach-davinci/Makefile @@ -18,8 +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_CP_INTC) += cp_intc.o - # Board specific obj-$(CONFIG_MACH_DA8XX_DT) += da8xx-dt.o pdata-quirks.o obj-$(CONFIG_MACH_DAVINCI_EVM) += board-dm644x-evm.o diff --git a/drivers/irqchip/Kconfig b/drivers/irqchip/Kconfig index ea0eb82bf1d2..48fc5024c073 100644 --- a/drivers/irqchip/Kconfig +++ b/drivers/irqchip/Kconfig @@ -134,6 +134,11 @@ config DAVINCI_AINTC select GENERIC_IRQ_CHIP select IRQ_DOMAIN +config DAVINCI_CP_INTC + 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 623e0ec5f9d0..e6cd0c98eff2 100644 --- a/drivers/irqchip/Makefile +++ b/drivers/irqchip/Makefile @@ -7,6 +7,7 @@ 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_DAVINCI_CP_INTC) += irq-davinci-cp-intc.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/cp_intc.c b/drivers/irqchip/irq-davinci-cp-intc.c similarity index 100% rename from arch/arm/mach-davinci/cp_intc.c rename to drivers/irqchip/irq-davinci-cp-intc.c -- 2.20.1