Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp2528288imj; Mon, 11 Feb 2019 04:29:12 -0800 (PST) X-Google-Smtp-Source: AHgI3IZ0SaeKT0EYwnBREZMQs9yt+rdASt0qrHSPP8Td+2FYZSzsWv757XH/oMKom+xK32t6MiRw X-Received: by 2002:a63:6ec2:: with SMTP id j185mr28443393pgc.341.1549888152715; Mon, 11 Feb 2019 04:29:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549888152; cv=none; d=google.com; s=arc-20160816; b=HvEHfOEQSDmJl6xxZ24BaZaFHpdDQtsOrehG5ouNrmAVEXY7kKCXIRc5xk6LjNoxWK jlHZkl9+DFY5kzDGGuTNWjHD2kynHckQUFto8SrT/FyQzxvFERumjkQs6ddkJRTbQc0j rX4GfCZTAaUm9LkpedD0ikeJy5D4PmjLJJXtNWfL+v8W0INoiWCG4p6TGVjsNiswSalz 6JCpoQgn8T/FuvCdbYhlHslcPBoFp0K38z5QZj2PxQJ2RotS3uiuWePhBSFTxAxspuhK TLAzlbK/uUrmjaJVdTZCe9fR5YQYdbFz+8snp2G2M7GZEguGnpDfjp5h8v7v8h5xKZzE 9pWQ== 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=G/jgoPSfruA8/K93zt+5Bhgu2LV33PZjOuF2x116ESDQx4oNQSpt4FyvpX4/sgev+e GuAe4aTkMzKUX1+x/mUYE5m2GdN2/0Cih19YBehve2ln5L+I1n5rflic5BGF43+obtSj f5hCkL74+gFhc9L2gcABs2c/vxO49dhSVMKQA+pOLspOw2yWmDwYVELVEzek+4U534wC 9l12tev1E4fj1tmKB+cRJJprf47vI3ZBbaE18Poh4DFd3JB3EFoFNKI7v2K9z8pyDF32 uYr0LZ4sdOZKwUQY4BrHk1BXUgpyWd1wZjJrUHVr8NTNGL1doQblyDAaUB+eIsLx3hfG L+sg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20150623.gappssmtp.com header.s=20150623 header.b=Bu95NDmd; 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 e4si9352969pgd.256.2019.02.11.04.28.56; Mon, 11 Feb 2019 04:29:12 -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=Bu95NDmd; 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 S1727751AbfBKM04 (ORCPT + 99 others); Mon, 11 Feb 2019 07:26:56 -0500 Received: from mail-wm1-f65.google.com ([209.85.128.65]:39558 "EHLO mail-wm1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727338AbfBKM0y (ORCPT ); Mon, 11 Feb 2019 07:26:54 -0500 Received: by mail-wm1-f65.google.com with SMTP id f16so17035812wmh.4 for ; Mon, 11 Feb 2019 04:26:52 -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=Bu95NDmdPiQ96mWOR+wANKj0RzCaPWgl3ADSycOEsB0mMG1/wjCY8zuprYQEgHc4A2 JP7kph5O9NJnfsIk9G1TUhZCy/aYx47chfC/tLis/weI4op/eEbmnJbhbUK1nxaRQ48u XDyPcn2ex/UhquutK0BdvSDaKH8tS5S34C59gy2ie/LORDxo7KdVO5YgI0qDd6PyJeHS 3ASkR1k3wSNnaDi8wRzOjhI8f52+u8Jq6yTf9QaXhktvma/TGP1PYI0rxsGaiHTAtzHL tCXQAJfAF/4toGCB9OyAhL6QkAkgq0OLqdgijLudqcxP0pGKY9bcDgOvr1LtiBuL6+5W n11g== 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=QEuxa9wDQwM2+dOX+uIk3yw4xWjWuOwLSxvAJ/gBRN8yiSAjcmUfuVPMkM2Ujui2oO 0wmwtmF7+zfLPxr2TUqDz7Ayhj+2KlO6c6HdvuMQ6K3NZ0bns4rFaMl7js/0/x87dsVo qlSfSvVSjQflLXBKvYlq0jCsFwwiS2AwQ5ciZnKQzUEEYz8s9qYt3KpAHLn0veqiBZa/ 8dZ88/RfjDjlhrXPsrhwllmVh90oANCZrimkGQmGzFqSPiBwU88xbXN5wv+wbB+NnyTa vvP3gYPNJEeGPTf7Y7X1meaBjd0zVI6VvfCnuJEPHZNLgDIcSubDV4c0oLBIpylQsjKk cojg== X-Gm-Message-State: AHQUAuY5crd1BzPFUh7D/3kQjuowylfycjcJFv6tb8SLQ1WpEDyozyLh 0GEjZhZ7Kgu0XNdEPaTCYI/Uyw== X-Received: by 2002:a05:600c:220b:: with SMTP id z11mr8860601wml.37.1549888012213; Mon, 11 Feb 2019 04:26:52 -0800 (PST) Received: from debian-brgl.home ([2a01:cb1d:af:5b00:6d6c:8493:1ab5:dad7]) by smtp.gmail.com with ESMTPSA id l20sm19494321wrb.93.2019.02.11.04.26.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 11 Feb 2019 04:26:51 -0800 (PST) From: Bartosz Golaszewski To: 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: [RESEND PATCH v2 32/33] irqchip: davinci-cp-intc: move the driver to drivers/irqchip Date: Mon, 11 Feb 2019 13:26:05 +0100 Message-Id: <20190211122606.8662-33-brgl@bgdev.pl> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190211122606.8662-1-brgl@bgdev.pl> References: <20190211122606.8662-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