Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp88832pxa; Fri, 31 Jul 2020 07:10:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy2sqQnB/FPIPT2LfACeh7FwOrNxiUUuHMk/dZuRPdilRDfoTM2+hxQINcQ5E5EZ6NgWFTZ X-Received: by 2002:a50:fd8d:: with SMTP id o13mr4112219edt.313.1596204649455; Fri, 31 Jul 2020 07:10:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596204649; cv=none; d=google.com; s=arc-20160816; b=MAJbJEVu/60l4w3ArzdLEg3HRfGvSRvHo0u0et6kk87v1N41HKju9vazkmYUv1pr+Z ttvCOdaSSag6TC9YT4j0ZnRuelLfw5NK8PoH+IybSGwxsjF7c0fA0PTkKje9F1OwqdGy mHZIFWy7ENtYbzg71c+WnADoffc6hjjKgk9UVe1RMyyPiyyM83u2NuJqLSC++bhBPgNm wTENQybKgHAOoByeXp4zDbqeeMMXr6jb9dRumUXAQCCpwvGDjkSE5XsMxjw5m5VVLDi/ e2/UuA3ZlovpvlrVoAJzKCYsmeEYhXiAORcMDT3D78SF1Y6CRgzt2sJ0RKkTHyfond33 RJRw== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=uhr1FkrbzJP+ktsQ0F06FBzGwyo/2pwFjqU1eObbgKI=; b=pGU0aKcEQPSDW018Pi0HPe6EC6dlHlHh1EyIicmm9Ves7H3L/NNCZSb4ZFenttZE+2 7j0jmdp1dfnyxkdf/fQ5Cx2KEBtywvNgVn2FA+Frcy5OgLPmROhK4d+X2+//cESSBfyV N7kqErtEmUsrPa+8L6LMaXOTsIXmKQWw0F2Y3eT2ITfKBuA6NHknJtq5J21MDeXToD2J F9fvkv/E2bX5L9lOBLdcGKDZEB3k2pI1Ep4/0l5t3z6h3mjZxdMPsZXTrxol+FFfJ8WM fvy4sdw8jyZv9Rb8Qebhql7jWnDTBh38QMyt8m3agPJHTckoIK2VZAkZ4Fc9zSLo7Bmx FEfQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@lechnology.com header.s=default header.b=GtFv6CAZ; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q1si5916068edn.222.2020.07.31.07.10.27; Fri, 31 Jul 2020 07:10:49 -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=fail header.i=@lechnology.com header.s=default header.b=GtFv6CAZ; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387555AbgGaOJ5 (ORCPT + 99 others); Fri, 31 Jul 2020 10:09:57 -0400 Received: from vern.gendns.com ([98.142.107.122]:59974 "EHLO vern.gendns.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728206AbgGaOJ4 (ORCPT ); Fri, 31 Jul 2020 10:09:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lechnology.com; s=default; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To:Subject:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=uhr1FkrbzJP+ktsQ0F06FBzGwyo/2pwFjqU1eObbgKI=; b=GtFv6CAZhVAD4dCEZa/ZzJslzX 8oNvux7EQ3kc3SNhHO44VYEXi7IRKrmGVpTp+W6n8Ut8UfiYSZFoW07RAW5SdX479Azrr0y6dI/Ey cTzq10mnJFT1EIFzp3fQkdG3YvZOyfzpCZeNs8X5kNZu0TdEhRwArBNawKO9zMll4maVQZpVgffKq xwwmKvKn03W/9V1+jO1oKjBUeY04EzT8rdR1P8U0GkDPI0lwZCDhAEPl2uo2Xb2BixU5Os9CZj6gF L6TZmnp+stBbthHGBcMw3fDfdaWuwP1l7JITHTKFDyz9yryk5F87sKmDTJ/1dm2l8yIg0wNaPQlm6 l5UI3I+g==; Received: from [2600:1700:4830:165f::19e] (port=57672) by vern.gendns.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1k1VjK-0003Z3-S1; Fri, 31 Jul 2020 10:09:51 -0400 Subject: Re: [PATCH v4 1/5] dt-bindings: irqchip: Add PRU-ICSS interrupt controller bindings To: Grzegorz Jaszczyk Cc: tglx@linutronix.de, jason@lakedaemon.net, Marc Zyngier , "Anna, Suman" , robh+dt@kernel.org, Lee Jones , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, "Mills, William" , "Bajjuri, Praneeth" , "Andrew F . Davis" , Roger Quadros References: <1595927918-19845-1-git-send-email-grzegorz.jaszczyk@linaro.org> <1595927918-19845-2-git-send-email-grzegorz.jaszczyk@linaro.org> <01bac597-c1a0-1851-b630-a79929777a16@lechnology.com> From: David Lechner Message-ID: <19fbf4f6-ea75-3eb7-7e95-c7c9ce987996@lechnology.com> Date: Fri, 31 Jul 2020 09:09:49 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - vern.gendns.com X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - lechnology.com X-Get-Message-Sender-Via: vern.gendns.com: authenticated_id: davidmain+lechnology.com/only user confirmed/virtual account not confirmed X-Authenticated-Sender: vern.gendns.com: davidmain@lechnology.com X-Source: X-Source-Args: X-Source-Dir: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 7/31/20 6:48 AM, Grzegorz Jaszczyk wrote: > On Wed, 29 Jul 2020 at 19:34, David Lechner wrote: >> It is not clear what the meaning of each cell is. Looking at later patches, it >> looks like the first cell is the PRU system event number, the second cell is the >> channel and the third cell is the host event number. > > Ok, how about updating above description like this: > Client users shall use the PRU System event number (the interrupt source > that the client is interested in) [cell 1], PRU channel [cell 2] and PRU > host_intr (target) [cell 3] as the value of the interrupts property in their > node. The system events can be mapped to some output host interrupts through 2 > levels of many-to-one mapping i.e. events to channel mapping and channels to > host interrupts so through this property entire mapping is provided. Cell 3 is host_intr0-7? How would we map to other host events?