Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp2851085pxk; Tue, 15 Sep 2020 04:10:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw3PWbPLq3sxZMg4KzMvhy/gMURwuBwGnE7pNQBiUUR1WQAyLz8p+x1YljLCHl4dn1qeRBC X-Received: by 2002:a05:6402:184d:: with SMTP id v13mr22304685edy.240.1600168234899; Tue, 15 Sep 2020 04:10:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600168234; cv=none; d=google.com; s=arc-20160816; b=DO1CoynLYjijmhYveFNkyYKeTg2JbCjJFmeOY/KCZAUtASQLHduuCvCgfkPhZQvWxm EbmKGs4FfIgQsV14dg1lFnltdNxTodAaWljJQXO5KGw+I0icyWZRi8hRYgTlulacXvSK VMVXrFhcEvpyqtzBF2SQFxGKngNn9r2dwdiiIZulCFwauzhkPtbEztDfutw7jRTlARO1 t1EN88x3cIqZm1vO9UAA0Gx9tpNAQrdxXNbwUEY5JUBNz/12Kip0SGlNMAapy7CnD6j/ nuvhIDyyYGVS4yIH0w09cz1GQkwJlkHMc/8SDurV2zPzYO9RC3QVqTOH4hH0g0igjQqh 0WAw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=VDzzatZNSBpQX7pKPfZ2Jk0vfUIzw5Bf9Eon3mMy8po=; b=PcrpYYUo2G+1VKxGOIwycQxPeCNXCphUGN77KIxNCAjHCx/vmN07eEsG8kY1eKXIS9 mzYAzfPcYbfPeY51X0maDIVRPTOzDjr3Ehs10Kt/SMoHSYheoLuzmRvdfMplugiqO8RA qsA8CRMBNbHcxau27qQRM99gkgR3Y95lPs7Hq6bW5AH99caqwKDQvTaxqXSGT2hOk2yJ 5FOJfwUN+D5KAgAdEXj41P75k5Go60JWE0Gn/4arezB8sTev2FGeJnGFKMICw1mx8oP4 oXS8TeesfhpCwoYUHBHnh/EWRqA4k746Tj9MHXgbmKsyzTlsbyQPwHNHcKvCVmxZICqS 6yHQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=CHlUmc7R; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q23si9312007ejn.400.2020.09.15.04.10.11; Tue, 15 Sep 2020 04:10:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=CHlUmc7R; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726093AbgIOLJK (ORCPT + 99 others); Tue, 15 Sep 2020 07:09:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59340 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726079AbgIOLIl (ORCPT ); Tue, 15 Sep 2020 07:08:41 -0400 Received: from mail-lf1-x141.google.com (mail-lf1-x141.google.com [IPv6:2a00:1450:4864:20::141]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9425FC061788 for ; Tue, 15 Sep 2020 04:01:14 -0700 (PDT) Received: by mail-lf1-x141.google.com with SMTP id w11so2654627lfn.2 for ; Tue, 15 Sep 2020 04:01:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=VDzzatZNSBpQX7pKPfZ2Jk0vfUIzw5Bf9Eon3mMy8po=; b=CHlUmc7RPVH81nY89i759+N+3bpbtClFAivxfPnGTq9kK/PratYX/V4yYmYbJLtMDd NO5VHoN4YOOLfTO/j8oKpQI2nbjZvaC1AT0Eld357rjKFHYr4oBW/7NxNK2ZyM2MVfwJ 08KmfRMz1/MvFhWIE+gDl+z3i2aoJzirAiUmsMPO9L0eCy8+F89ZRgYm+GmVvU9yW3rY eZXcf5c3+Abvvs7QtdE2T9AWD5ahLttZm+fTEMgOAQ8XiuWBQDROs/EMmK1gdskB0Zxp zPo8CGPEUs4MmjcULfpxqYQ6PvrqP08HEJ2fv0nHB1vvw3gci9DzA9Q2wvRfqNqmPSVx uOPg== 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; bh=VDzzatZNSBpQX7pKPfZ2Jk0vfUIzw5Bf9Eon3mMy8po=; b=ozND55o3PDmKktJAIpRb4h45KNI1V46MIW8tUVBv/+NUUs0oVIJw81FR+prn4OBGuO ErxF/B/H24kzNbz+vaI0Neuk36L59iHlZopjYEfYEbYrWkHQs/vW0JsRdcrKroit/5Ws dfAE5gvxAnEMSEL9DMYJhtB2mfh1eZdSVP67A8Y6fnl4I3qpFUMS5LnvyLIX3mgoyM/W pqNAFTKImEgbUtpoFDTtH8OsTdz0yhgUW/ro5nXVy1K9BiTNyYflYYdOceuixVtoa2B7 qVFL74uprfl/ePrBoAfoBv4PJvQ5/K3P6g0q2JgXAedvwCWKaTN86KGwiNXpC1AOisZd 5AiA== X-Gm-Message-State: AOAM533aQau7EOjH3yyUeqmVzx2tnFex/AD8kQ8BAMvLGFerS87HttpB DPNy3vsnNnAQplI6t9I87fw7nw== X-Received: by 2002:ac2:5547:: with SMTP id l7mr5848074lfk.153.1600167672741; Tue, 15 Sep 2020 04:01:12 -0700 (PDT) Received: from gilgamesh.semihalf.com (193-106-246-138.noc.fibertech.net.pl. [193.106.246.138]) by smtp.gmail.com with ESMTPSA id n3sm4588916ljj.59.2020.09.15.04.01.11 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 15 Sep 2020 04:01:12 -0700 (PDT) From: Grzegorz Jaszczyk To: tglx@linutronix.de, jason@lakedaemon.net, maz@kernel.org, s-anna@ti.com Cc: grzegorz.jaszczyk@linaro.org, robh+dt@kernel.org, lee.jones@linaro.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, david@lechnology.com, praneeth@ti.com Subject: [PATCH v6 0/5] Add TI PRUSS Local Interrupt Controller IRQChip driver Date: Tue, 15 Sep 2020 13:00:46 +0200 Message-Id: <1600167651-20851-1-git-send-email-grzegorz.jaszczyk@linaro.org> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi All, The following is a v6 version of the series [1-5] that adds an IRQChip driver for the local interrupt controller present within a Programmable Real-Time Unit and Industrial Communication Subsystem (PRU-ICSS) present on a number of TI SoCs including OMAP architecture based AM335x, AM437x, AM57xx SoCs, Keystone 2 architecture based 66AK2G SoCs, Davinci architecture based OMAP-L138/DA850 SoCs and the latest K3 architecture based AM65x and J721E SoCs. Please see the v1 cover-letter [1] for details about the features of this interrupt controller. More details can be found in any of the supported SoC TRMs. Eg: Chapter 30.1.6 of AM5728 TRM [6] Please see the individual patches for exact changes in each patch, following are the main changes from v5: - Improve patch #2 with regards to various Marc Zyngier comments. - Drop example from commit description of patch #4. [1] https://patchwork.kernel.org/cover/11034561/ [2] https://patchwork.kernel.org/cover/11069749/ [3] https://patchwork.kernel.org/cover/11639055/ [4] https://patchwork.kernel.org/cover/11688727/ [5] https://patchwork.kernel.org/cover/11746463/ [6] http://www.ti.com/lit/pdf/spruhz6 Best regards Grzegorz David Lechner (1): irqchip/irq-pruss-intc: Implement irq_{get,set}_irqchip_state ops Grzegorz Jaszczyk (1): irqchip/irq-pruss-intc: Add a PRUSS irqchip driver for PRUSS interrupts Suman Anna (3): dt-bindings: irqchip: Add PRU-ICSS interrupt controller bindings irqchip/irq-pruss-intc: Add logic for handling reserved interrupts irqchip/irq-pruss-intc: Add support for ICSSG INTC on K3 SoCs .../interrupt-controller/ti,pruss-intc.yaml | 158 +++++ drivers/irqchip/Kconfig | 10 + drivers/irqchip/Makefile | 1 + drivers/irqchip/irq-pruss-intc.c | 664 +++++++++++++++++++++ 4 files changed, 833 insertions(+) create mode 100644 Documentation/devicetree/bindings/interrupt-controller/ti,pruss-intc.yaml create mode 100644 drivers/irqchip/irq-pruss-intc.c -- 2.7.4