From patchwork Mon Sep 28 06:39:28 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Ujfalusi X-Patchwork-Id: 313632 Delivered-To: patch@linaro.org Received: by 2002:a92:5ad1:0:0:0:0:0 with SMTP id b78csp3047001ilg; Sun, 27 Sep 2020 23:39:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy7bpshSkoy3LtFTjsSEFoHm+EljmSqhTFPfJQ54VJPAqOShCILJi59MfQSTh13WZAaPAVH X-Received: by 2002:a17:906:e103:: with SMTP id gj3mr220690ejb.153.1601275184515; Sun, 27 Sep 2020 23:39:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601275184; cv=none; d=google.com; s=arc-20160816; b=NB/D4pkqJqdFS8jiPu3mQzMgSl+MCH5B3ZQ6FO0vq9DvYqkIdhSvpUkDVGtaUw3Wur 3umULBcSn81GuxBqijcMUhdKKa3mh54fz3+YvTpoyj9K43SxzIWYc/z9u6AXDVSmW5Yh 0V7GqRngfcBpyY0WzbzdBPds5mlm+mvQBAEW7iI1NM4N74L+x3rI+LMNcOtzd5Eu+nS6 44cUFWIcJsHOo42wgQ3wU7iVuSxTtMrl1utR95YMitpbO04NCsrsk+VoeVE43tedLvUv xR+FvPcJ5Fx3hmPm1gsNiXGjYdRAmn4x2eEZzXbiv2jm/GC8UN1zK1A64kGQMJ+XRCuy JlMA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=ObPYzVtkXyOyfzJlM4CU/7L6Ac+puM8WVVh6Sgi6wPo=; b=wln1KOXBXqDYKMl0w7DxwhxLGOrOesSpyOBSskf311nfe6EveQvQAmJx9TnIeI4Aix yp3ZRNw6XOC6jz4xBhxG5lF+gtIKG8/KPFg/+mNxO2b0fN4zyeH3qDhkfFk0fCYrnPps bU0a9PATZpWXCPeTlcdQcd6C2CH0hpkLTRclbPGlZf1U7KwTJxxk3GBk3ZmRvk+Zs4mP MOUobBxw7iaElAuFO9semCreJdG+5ZPdDdG82LU+RvUErrA8Bdp4CdbnfVSOheSluAlb h+jn8EiA+2Pl0Fy2TCvKl8OmtsDKkMRHA9xBsnlbYr51HyBypbTWW78XY4x4Ojt0ZG+G 2OIw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=oAvqZrNZ; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j17si59139ejc.26.2020.09.27.23.39.44; Sun, 27 Sep 2020 23:39:44 -0700 (PDT) Received-SPF: pass (google.com: domain of devicetree-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=@ti.com header.s=ti-com-17Q1 header.b=oAvqZrNZ; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726396AbgI1Gjn (ORCPT + 6 others); Mon, 28 Sep 2020 02:39:43 -0400 Received: from fllv0016.ext.ti.com ([198.47.19.142]:43944 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725290AbgI1Gjn (ORCPT ); Mon, 28 Sep 2020 02:39:43 -0400 Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 08S6dKjQ126264; Mon, 28 Sep 2020 01:39:20 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1601275160; bh=ObPYzVtkXyOyfzJlM4CU/7L6Ac+puM8WVVh6Sgi6wPo=; h=From:To:CC:Subject:Date; b=oAvqZrNZbpK4Hl5MYxw2W+GGlIfo6YYbeDBOgHi4acDD4Hcoi/A/ViquerEEP1FNx vQxUdOtdQz1NVKcXGeb9Nv1qFnkWGOj9sS3cP95DhJVPxsAsDBUGdt1HuU3HkHiqik mbPfjGv15ZuMmo7TLuC+Ba12mYnhOKyW42fYd/v8= Received: from DFLE106.ent.ti.com (dfle106.ent.ti.com [10.64.6.27]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 08S6dJml044676 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 28 Sep 2020 01:39:19 -0500 Received: from DFLE103.ent.ti.com (10.64.6.24) by DFLE106.ent.ti.com (10.64.6.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3; Mon, 28 Sep 2020 01:39:19 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DFLE103.ent.ti.com (10.64.6.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3 via Frontend Transport; Mon, 28 Sep 2020 01:39:19 -0500 Received: from feketebors.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 08S6dG3d111672; Mon, 28 Sep 2020 01:39:16 -0500 From: Peter Ujfalusi To: , , , , , , , CC: , , Subject: [PATCH 0/2] irqchip/ti-sci-inta: Support for unmapped events Date: Mon, 28 Sep 2020 09:39:28 +0300 Message-ID: <20200928063930.12012-1-peter.ujfalusi@ti.com> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Hi, The version of INTA within DMSS (in AM64) changed how the events from the DMAs are handled and how sysfw is presenting these events to be used for interrupts. The DMA related events are directly mapped within INTA as unmapped events in contrast to previous devices with NAVSS where the events were tied to their source devices (UDMAP, ringacc). This series adds support for handling the new version of INTA by introducing a new property: ti,unmapped-event-sources which should hold a list of phandles pointing to the sources of these unmapped events. Regards, Peter --- Peter Ujfalusi (2): dt-bindings: irqchip: ti,sci-inta: Update for unmapped event handling irqchip/ti-sci-inta: Add support for unmapped event handling .../interrupt-controller/ti,sci-inta.yaml | 5 ++ drivers/irqchip/irq-ti-sci-inta.c | 72 +++++++++++++++++-- 2 files changed, 73 insertions(+), 4 deletions(-) -- Peter Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki