From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.0 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_PASS, URIBL_BLOCKED,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 90BC4C43381 for ; Thu, 14 Feb 2019 14:52:52 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 578B7222DA for ; Thu, 14 Feb 2019 14:52:52 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="QkAK6oiD"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=bgdev-pl.20150623.gappssmtp.com header.i=@bgdev-pl.20150623.gappssmtp.com header.b="Z9uYQUai" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 578B7222DA Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=bgdev.pl Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=L1J8Jk1UubW6Fpkt0WvLEhq3yS9tug5S9h0S1GK6C94=; b=QkAK6oiDvsGw84 H/Xj/tBmbW7dpLdo4yGnSClG7hyPyGLxoyhvD3Boc89GtVXxDSfxqgC5MKN3xMh5II2rDAOAzMi8e UJ3x/f8CjDZLCQGqCG47Cb+3j3/7tPBKOg/IFzU5EZVaDy+R+Bpq0yqaiqHdV8o+xhmlrOidCKI2Z k4reh0YApl5BPGvHkU5zsUQ+FNYcAtb5WXERvYEafqnxN4OiUereBQ1GhhELrV/lcvbpFdAhy9V8i VO/XUJAEwlOTfGcL8lE4e9h+ojFhdTeZzQr9VZ7gpR61uWTnzYmAAtslWjOSXtF1kTOwq1r/TpQPq qfRsC8PDdlffBYA+C+qA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1guINa-0004lZ-L4; Thu, 14 Feb 2019 14:52:46 +0000 Received: from mail-wr1-x443.google.com ([2a00:1450:4864:20::443]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1guINX-0004ku-VY for linux-arm-kernel@lists.infradead.org; Thu, 14 Feb 2019 14:52:45 +0000 Received: by mail-wr1-x443.google.com with SMTP id r2so6764805wrv.10 for ; Thu, 14 Feb 2019 06:52:43 -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:mime-version :content-transfer-encoding; bh=ydVa7PNkM43h9/VNVc1q4z6TOP5eV6ZftDClDqu9GEs=; b=Z9uYQUaiHWbW5uG+XDl7d3b9P+RcwozLGXV6wqNWM0MqGwzJBeP+Hj8Y/smWPUoVdT P180KN7eGx+YcPDXEt6c3KvCcDVc/Y+7AXwt4eb9SlhzFRxJu30WgoCJJemUnzvItLd8 onG/PNd9UTj3gm8RUNGnEJe1tcs9brdKZ6QjPnrWQZm6rC/O2i+36Of8+rUEM8cmQ9d4 HX9xOh4Lg7KuVUZ87yamcilfdrkPao0Yk0RpgckdnFTx7xFNmJKScnYX49dyS76X/u8P S6sY7kjCMV9tRoDyUIwuuyhYbPNcVZXAjn6k1N9+fp1Vmcr0aKf2bcy8R8II/STMyZEt yuog== 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:mime-version :content-transfer-encoding; bh=ydVa7PNkM43h9/VNVc1q4z6TOP5eV6ZftDClDqu9GEs=; b=uPLCaiZdTmysC2oREMfr52gAM2X+aw+4T1z0ir0EoOkEeEAXF9Y570talunoxkjE79 orLfbqHyCO7CNe4l8Tzl+iAi2kRQnJrBcsTf8RrnhAVOXW+hptQHD4YYZmvDZ4H1xoYA ZSunKUPuqPl7yOogxnrxFkwLWHnhzvRCD6KESVyZ0YPtqYOlABlfyFfDAA4oW5+oOInb 2i59srdsGG8+eT7B7SGIHYmUCu1FrktXx1+SzdOj8knXn+10EI8NYcW93l+gggJqu2kZ cq4EQieDSA+a+vETmOsve4SqHkzvjByAHMW7wWljN6AGVtgwMBvf+F94POG+4dVzrtZs Mp/A== X-Gm-Message-State: AHQUAub+2RLJKg1yIPwbinvaYsIlO7vbcGzJC11uo1Cyd+J85nGWTNwG PuQOCMdazkkRc8s8Rzk+x+GCsw== X-Google-Smtp-Source: AHgI3IaCUhhWRljTj+UsKnZyCcYWOMld3NyJEWtK1U3Qrm4x0wmfOjtUg/PL/MMSa2KH5JToZu9LZA== X-Received: by 2002:a5d:574e:: with SMTP id q14mr3092967wrw.200.1550155962191; Thu, 14 Feb 2019 06:52:42 -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.52.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 14 Feb 2019 06:52:41 -0800 (PST) From: Bartosz Golaszewski To: Dmitry Torokhov , Sekhar Nori , Kevin Hilman , Thomas Gleixner , Jason Cooper , Marc Zyngier , David Lechner Subject: [PATCH v4 00/37] ARM: davinci: modernize the irq support Date: Thu, 14 Feb 2019 15:51:54 +0100 Message-Id: <20190214145231.8750-1-brgl@bgdev.pl> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190214_065244_015154_279104F8 X-CRM114-Status: GOOD ( 21.81 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Bartosz Golaszewski , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Bartosz Golaszewski This series ports the davinci platform to using SPARSE_IRQ, cleans up the irqchip drivers and moves them over to drivers/irqchip. The series can be logically split into five parts. The first patch preemptively fixes a problem in an input driver that would have caused problems later. Patches (2-9) aim at introducing support for SPARSE_IRQ. They contain a couple changes required for that functionality and do some cleanup at the end. Third part (10-22) makes the aintc driver suitable for drivers/irqchip and eventually moves it over there. Part 4 (23-36) does the same for the cp-intc driver. Last patch removes unnecessary code. The series has been tested on da850-lcdk (for cp-intc) and dm365-evm (for aintc). v1 -> v2: - made commit messages readable without reading the subject line first - collected David's Reviewed-by tags for patches that haven been significantly modified since v1 - added handling of spurious interrupts in cp-intc - added comments explaining the irq handlers (C versions translated from assembly) - dropped the patches removing the hardware interrupt numbers from the priority tables - don't remove irqs.h, make it a local header instead - rearranged the patches in order not to remove the code added by earlier ones - renamed d*_init_irqs to d*_init_irq to fit the name of the relevant callback in machine info struct - fixed license identifiers where needed - added comments to config structures for irqchip drivers - fixed all off-by-one errors in resource sizes - clarified the comments on the weird handling of IRQ_TINT1_TINT34 as level irq and added missing calls to irq_set_handler() to dm3* SoCs - fixed one function that was missing a correct prefix in cp_intc - return value variables should be called ret not rv - added a patch converting calls to _raw_readl/writel() to their _relaxed counterparts - fixed the commit message prefix in patches that belong to the irqchip subsystem v2 -> v3: - added a patch preventing a build problem in davinci_keyscan driver - converted another usage of 'int rv' to 'int ret' - don't use __raw_readl/writel() in new patches, but leave patches converting previous uses - drop a stray newline in usb.c when removing irqs.h - when unifying the error handling: use specific messages instead of WARN_ON() - do the above for aintc as well - add patches adding calls to request_mem_region() to both drivers v3 -> v4: - fixed a commit message in one of the "unify error reporting" patches - entirely remove the level irq handler setting for dm* boards Bartosz Golaszewski (37): input: davinci_keyscan: remove unnecessary includes ARM: davinci: remove intc_host_map from davinci_soc_info struct ARM: davinci: aintc: use irq domain ARM: davinci: select GENERIC_IRQ_MULTI_HANDLER ARM: davinci: remove davinci_intc_type ARM: davinci: pull davinci_intc_base into the respective intc drivers ARM: davinci: wrap HW interrupt numbers with a macro ARM: davinci: select SPARSE_IRQ ARM: davinci: make irqs.h a local header ARM: davinci: aintc: drop GPL license boilerplate ARM: davinci: aintc: wrap davinci_irq_init() with a helper ARM: davinci: aintc: use a common prefix for symbols in the driver ARM: davinci: aintc: drop the 00 prefix from register offsets ARM: davinci: aintc: use readl/writel_relaxed() irqchip: davinci-aintc: add a new config structure ARM: davinci: aintc: use the new irqchip config structure in dm* SoCs ARM: davinci: aintc: use the new config structure ARM: davinci: aintc: unify error handling ARM: davinci: aintc: request memory region before remapping it ARM: davinci: aintc: remove the timer-specific irq_set_handler() ARM: davinci: aintc: remove unnecessary includes irqchip: davinci-aintc: move the driver to drivers/irqchip ARM: davinci: cp-intc: remove cp_intc.h ARM: davinci: cp-intc: add a wrapper around cp_intc_init() irqchip: davinci-cp-intc: add a new config structure ARM: davinci: cp-intc: add the new config structures for da8xx SoCs ARM: davinci: cp-intc: use a common prefix for all symbols ARM: davinci: cp-intc: convert all hex numbers to lowercase ARM: davinci: cp-intc: use the new-style config structure ARM: davinci: cp-intc: request the memory region before remapping it ARM: davinci: cp-intc: improve coding style ARM: davinci: cp-intc: unify error handling ARM: davinci: cp-intc: use readl/writel_relaxed() ARM: davinci: cp-intc: drop GPL license boilerplate ARM: davinci: cp-intc: remove redundant comments irqchip: davinci-cp-intc: move the driver to drivers/irqchip ARM: davinci: remove intc related fields from davinci_soc_info arch/arm/Kconfig | 2 + arch/arm/mach-davinci/Kconfig | 19 +- arch/arm/mach-davinci/Makefile | 3 - arch/arm/mach-davinci/asp.h | 8 +- arch/arm/mach-davinci/board-da830-evm.c | 5 +- arch/arm/mach-davinci/board-da850-evm.c | 5 +- arch/arm/mach-davinci/board-dm355-evm.c | 2 +- arch/arm/mach-davinci/board-dm355-leopard.c | 2 +- arch/arm/mach-davinci/board-dm365-evm.c | 2 +- arch/arm/mach-davinci/board-dm644x-evm.c | 8 +- arch/arm/mach-davinci/board-dm646x-evm.c | 7 +- arch/arm/mach-davinci/board-mityomapl138.c | 3 +- arch/arm/mach-davinci/board-neuros-osd2.c | 2 +- arch/arm/mach-davinci/board-omapl138-hawk.c | 3 +- arch/arm/mach-davinci/board-sffsdr.c | 2 +- arch/arm/mach-davinci/common.c | 3 - arch/arm/mach-davinci/cp_intc.c | 215 --------------- arch/arm/mach-davinci/cp_intc.h | 57 ---- arch/arm/mach-davinci/da830.c | 128 ++------- arch/arm/mach-davinci/da850.c | 154 ++--------- arch/arm/mach-davinci/davinci.h | 4 + arch/arm/mach-davinci/devices-da8xx.c | 147 +++++----- arch/arm/mach-davinci/devices.c | 40 +-- arch/arm/mach-davinci/dm355.c | 78 +++--- arch/arm/mach-davinci/dm365.c | 102 ++++--- arch/arm/mach-davinci/dm644x.c | 68 +++-- arch/arm/mach-davinci/dm646x.c | 82 +++--- arch/arm/mach-davinci/include/mach/common.h | 14 +- arch/arm/mach-davinci/include/mach/da8xx.h | 2 + .../mach-davinci/include/mach/entry-macro.S | 39 --- arch/arm/mach-davinci/irq.c | 117 -------- .../mach-davinci/{include/mach => }/irqs.h | 4 - arch/arm/mach-davinci/usb-da8xx.c | 9 +- arch/arm/mach-davinci/usb.c | 13 +- drivers/input/keyboard/davinci_keyscan.c | 4 - drivers/irqchip/Kconfig | 10 + drivers/irqchip/Makefile | 2 + drivers/irqchip/irq-davinci-aintc.c | 163 +++++++++++ drivers/irqchip/irq-davinci-cp-intc.c | 260 ++++++++++++++++++ include/linux/irqchip/irq-davinci-aintc.h | 27 ++ include/linux/irqchip/irq-davinci-cp-intc.h | 25 ++ 41 files changed, 880 insertions(+), 960 deletions(-) delete mode 100644 arch/arm/mach-davinci/cp_intc.c delete mode 100644 arch/arm/mach-davinci/cp_intc.h delete mode 100644 arch/arm/mach-davinci/include/mach/entry-macro.S delete mode 100644 arch/arm/mach-davinci/irq.c rename arch/arm/mach-davinci/{include/mach => }/irqs.h (98%) create mode 100644 drivers/irqchip/irq-davinci-aintc.c create mode 100644 drivers/irqchip/irq-davinci-cp-intc.c create mode 100644 include/linux/irqchip/irq-davinci-aintc.h create mode 100644 include/linux/irqchip/irq-davinci-cp-intc.h -- 2.20.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.0 required=3.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7DAA9C43381 for ; Thu, 14 Feb 2019 14:52:47 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 3ECDE2229F for ; Thu, 14 Feb 2019 14:52:47 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=bgdev-pl.20150623.gappssmtp.com header.i=@bgdev-pl.20150623.gappssmtp.com header.b="Z9uYQUai" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2439472AbfBNOwq (ORCPT ); Thu, 14 Feb 2019 09:52:46 -0500 Received: from mail-wr1-f67.google.com ([209.85.221.67]:34542 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2439446AbfBNOwo (ORCPT ); Thu, 14 Feb 2019 09:52:44 -0500 Received: by mail-wr1-f67.google.com with SMTP id f14so6830386wrg.1 for ; Thu, 14 Feb 2019 06:52:43 -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:mime-version :content-transfer-encoding; bh=ydVa7PNkM43h9/VNVc1q4z6TOP5eV6ZftDClDqu9GEs=; b=Z9uYQUaiHWbW5uG+XDl7d3b9P+RcwozLGXV6wqNWM0MqGwzJBeP+Hj8Y/smWPUoVdT P180KN7eGx+YcPDXEt6c3KvCcDVc/Y+7AXwt4eb9SlhzFRxJu30WgoCJJemUnzvItLd8 onG/PNd9UTj3gm8RUNGnEJe1tcs9brdKZ6QjPnrWQZm6rC/O2i+36Of8+rUEM8cmQ9d4 HX9xOh4Lg7KuVUZ87yamcilfdrkPao0Yk0RpgckdnFTx7xFNmJKScnYX49dyS76X/u8P S6sY7kjCMV9tRoDyUIwuuyhYbPNcVZXAjn6k1N9+fp1Vmcr0aKf2bcy8R8II/STMyZEt yuog== 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:mime-version :content-transfer-encoding; bh=ydVa7PNkM43h9/VNVc1q4z6TOP5eV6ZftDClDqu9GEs=; b=j9RhD/rmQG4gF7+fFI8il3Tn+Q0Q566Pcc3qZNZvu1HHMxkJLApjnwP5hcBiz/al/t CdFMr+pUW2i1wlHWH7+CTlRz/+xzPDGwsBv6b6ZzcfIY4JX5RZ+vW7YSBm063yAqOC3l g1EyMvXqo7DYOjo6uQK4fcnglP+QINAZYNXeyCJUNwsQMnPHLHs8WbvzSiKV7cI7a5W2 HBWkvsCfM5q1stVwzvRBq+BWFwHvywh9yu9Qw5mbmm3fRGFg71hOmmt57d6ZsuyN3RAT Qi/mKalWEZAKmxdnK8gwiwnzC6u3LonrESORSpt2WxlthQSiAAUfz3R870LyeKWQx9qy xM3A== X-Gm-Message-State: AHQUAub49yHqmrTwkEJUWQI7jpB20yD8lBLKWdfxezooYWwl3TztNwiJ APWNkXqmbrFBcKovn3U4FcSRRw== X-Google-Smtp-Source: AHgI3IaCUhhWRljTj+UsKnZyCcYWOMld3NyJEWtK1U3Qrm4x0wmfOjtUg/PL/MMSa2KH5JToZu9LZA== X-Received: by 2002:a5d:574e:: with SMTP id q14mr3092967wrw.200.1550155962191; Thu, 14 Feb 2019 06:52:42 -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.52.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 14 Feb 2019 06:52:41 -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 00/37] ARM: davinci: modernize the irq support Date: Thu, 14 Feb 2019 15:51:54 +0100 Message-Id: <20190214145231.8750-1-brgl@bgdev.pl> X-Mailer: git-send-email 2.20.1 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 This series ports the davinci platform to using SPARSE_IRQ, cleans up the irqchip drivers and moves them over to drivers/irqchip. The series can be logically split into five parts. The first patch preemptively fixes a problem in an input driver that would have caused problems later. Patches (2-9) aim at introducing support for SPARSE_IRQ. They contain a couple changes required for that functionality and do some cleanup at the end. Third part (10-22) makes the aintc driver suitable for drivers/irqchip and eventually moves it over there. Part 4 (23-36) does the same for the cp-intc driver. Last patch removes unnecessary code. The series has been tested on da850-lcdk (for cp-intc) and dm365-evm (for aintc). v1 -> v2: - made commit messages readable without reading the subject line first - collected David's Reviewed-by tags for patches that haven been significantly modified since v1 - added handling of spurious interrupts in cp-intc - added comments explaining the irq handlers (C versions translated from assembly) - dropped the patches removing the hardware interrupt numbers from the priority tables - don't remove irqs.h, make it a local header instead - rearranged the patches in order not to remove the code added by earlier ones - renamed d*_init_irqs to d*_init_irq to fit the name of the relevant callback in machine info struct - fixed license identifiers where needed - added comments to config structures for irqchip drivers - fixed all off-by-one errors in resource sizes - clarified the comments on the weird handling of IRQ_TINT1_TINT34 as level irq and added missing calls to irq_set_handler() to dm3* SoCs - fixed one function that was missing a correct prefix in cp_intc - return value variables should be called ret not rv - added a patch converting calls to _raw_readl/writel() to their _relaxed counterparts - fixed the commit message prefix in patches that belong to the irqchip subsystem v2 -> v3: - added a patch preventing a build problem in davinci_keyscan driver - converted another usage of 'int rv' to 'int ret' - don't use __raw_readl/writel() in new patches, but leave patches converting previous uses - drop a stray newline in usb.c when removing irqs.h - when unifying the error handling: use specific messages instead of WARN_ON() - do the above for aintc as well - add patches adding calls to request_mem_region() to both drivers v3 -> v4: - fixed a commit message in one of the "unify error reporting" patches - entirely remove the level irq handler setting for dm* boards Bartosz Golaszewski (37): input: davinci_keyscan: remove unnecessary includes ARM: davinci: remove intc_host_map from davinci_soc_info struct ARM: davinci: aintc: use irq domain ARM: davinci: select GENERIC_IRQ_MULTI_HANDLER ARM: davinci: remove davinci_intc_type ARM: davinci: pull davinci_intc_base into the respective intc drivers ARM: davinci: wrap HW interrupt numbers with a macro ARM: davinci: select SPARSE_IRQ ARM: davinci: make irqs.h a local header ARM: davinci: aintc: drop GPL license boilerplate ARM: davinci: aintc: wrap davinci_irq_init() with a helper ARM: davinci: aintc: use a common prefix for symbols in the driver ARM: davinci: aintc: drop the 00 prefix from register offsets ARM: davinci: aintc: use readl/writel_relaxed() irqchip: davinci-aintc: add a new config structure ARM: davinci: aintc: use the new irqchip config structure in dm* SoCs ARM: davinci: aintc: use the new config structure ARM: davinci: aintc: unify error handling ARM: davinci: aintc: request memory region before remapping it ARM: davinci: aintc: remove the timer-specific irq_set_handler() ARM: davinci: aintc: remove unnecessary includes irqchip: davinci-aintc: move the driver to drivers/irqchip ARM: davinci: cp-intc: remove cp_intc.h ARM: davinci: cp-intc: add a wrapper around cp_intc_init() irqchip: davinci-cp-intc: add a new config structure ARM: davinci: cp-intc: add the new config structures for da8xx SoCs ARM: davinci: cp-intc: use a common prefix for all symbols ARM: davinci: cp-intc: convert all hex numbers to lowercase ARM: davinci: cp-intc: use the new-style config structure ARM: davinci: cp-intc: request the memory region before remapping it ARM: davinci: cp-intc: improve coding style ARM: davinci: cp-intc: unify error handling ARM: davinci: cp-intc: use readl/writel_relaxed() ARM: davinci: cp-intc: drop GPL license boilerplate ARM: davinci: cp-intc: remove redundant comments irqchip: davinci-cp-intc: move the driver to drivers/irqchip ARM: davinci: remove intc related fields from davinci_soc_info arch/arm/Kconfig | 2 + arch/arm/mach-davinci/Kconfig | 19 +- arch/arm/mach-davinci/Makefile | 3 - arch/arm/mach-davinci/asp.h | 8 +- arch/arm/mach-davinci/board-da830-evm.c | 5 +- arch/arm/mach-davinci/board-da850-evm.c | 5 +- arch/arm/mach-davinci/board-dm355-evm.c | 2 +- arch/arm/mach-davinci/board-dm355-leopard.c | 2 +- arch/arm/mach-davinci/board-dm365-evm.c | 2 +- arch/arm/mach-davinci/board-dm644x-evm.c | 8 +- arch/arm/mach-davinci/board-dm646x-evm.c | 7 +- arch/arm/mach-davinci/board-mityomapl138.c | 3 +- arch/arm/mach-davinci/board-neuros-osd2.c | 2 +- arch/arm/mach-davinci/board-omapl138-hawk.c | 3 +- arch/arm/mach-davinci/board-sffsdr.c | 2 +- arch/arm/mach-davinci/common.c | 3 - arch/arm/mach-davinci/cp_intc.c | 215 --------------- arch/arm/mach-davinci/cp_intc.h | 57 ---- arch/arm/mach-davinci/da830.c | 128 ++------- arch/arm/mach-davinci/da850.c | 154 ++--------- arch/arm/mach-davinci/davinci.h | 4 + arch/arm/mach-davinci/devices-da8xx.c | 147 +++++----- arch/arm/mach-davinci/devices.c | 40 +-- arch/arm/mach-davinci/dm355.c | 78 +++--- arch/arm/mach-davinci/dm365.c | 102 ++++--- arch/arm/mach-davinci/dm644x.c | 68 +++-- arch/arm/mach-davinci/dm646x.c | 82 +++--- arch/arm/mach-davinci/include/mach/common.h | 14 +- arch/arm/mach-davinci/include/mach/da8xx.h | 2 + .../mach-davinci/include/mach/entry-macro.S | 39 --- arch/arm/mach-davinci/irq.c | 117 -------- .../mach-davinci/{include/mach => }/irqs.h | 4 - arch/arm/mach-davinci/usb-da8xx.c | 9 +- arch/arm/mach-davinci/usb.c | 13 +- drivers/input/keyboard/davinci_keyscan.c | 4 - drivers/irqchip/Kconfig | 10 + drivers/irqchip/Makefile | 2 + drivers/irqchip/irq-davinci-aintc.c | 163 +++++++++++ drivers/irqchip/irq-davinci-cp-intc.c | 260 ++++++++++++++++++ include/linux/irqchip/irq-davinci-aintc.h | 27 ++ include/linux/irqchip/irq-davinci-cp-intc.h | 25 ++ 41 files changed, 880 insertions(+), 960 deletions(-) delete mode 100644 arch/arm/mach-davinci/cp_intc.c delete mode 100644 arch/arm/mach-davinci/cp_intc.h delete mode 100644 arch/arm/mach-davinci/include/mach/entry-macro.S delete mode 100644 arch/arm/mach-davinci/irq.c rename arch/arm/mach-davinci/{include/mach => }/irqs.h (98%) create mode 100644 drivers/irqchip/irq-davinci-aintc.c create mode 100644 drivers/irqchip/irq-davinci-cp-intc.c create mode 100644 include/linux/irqchip/irq-davinci-aintc.h create mode 100644 include/linux/irqchip/irq-davinci-cp-intc.h -- 2.20.1