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=-4.1 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no 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 69E4FC433E0 for ; Fri, 31 Jul 2020 14:16:41 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 474C0206DA for ; Fri, 31 Jul 2020 14:16:41 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="GKjQcDrG" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729020AbgGaOQk (ORCPT ); Fri, 31 Jul 2020 10:16:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48730 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727851AbgGaOQj (ORCPT ); Fri, 31 Jul 2020 10:16:39 -0400 Received: from mail-qt1-x844.google.com (mail-qt1-x844.google.com [IPv6:2607:f8b0:4864:20::844]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2FBB2C061574 for ; Fri, 31 Jul 2020 07:16:39 -0700 (PDT) Received: by mail-qt1-x844.google.com with SMTP id e5so8980565qth.5 for ; Fri, 31 Jul 2020 07:16:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ghusglmB0el24Vhn8WtszcgSvBkG8uGRUxxlzLuuep0=; b=GKjQcDrGctfJSP0MxKFQt7g9h74EGF0pJtWuAyksJXuJqiRblwSk7MDDFONbAqOwlZ DtHi1ftC7PHqIbFiOYLLvZkgwhAip/iXhI7ME0/IpOP3hmP/W8umypjmsF7HJRt7vEJm 9c5ECjVPGhefCP/cQgx8u+ANBTh9rkUPc86UuA/GyPhbNywsciPPUrjT8hPL0H4aZeLY hFkGGOP3cc+rNjFBNUuKl6ijMr8wzY4Q7aopKUA3YL7qNnUohmkJKJdkO5Hhq+UOT5sA gQc/FzCjAHGqnqAXKDz+SFeIvIem9t1UtPRVpmIyBlYyB9UHJStUWhOYvFsgaYbf3At/ paTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ghusglmB0el24Vhn8WtszcgSvBkG8uGRUxxlzLuuep0=; b=QYvt3xmVyq0Th5dgYvDM8WwSDfDuvEP9oj3pWrzFXATI1wvXpTMXg/+2F1INl2fqOP Eba1BTlmTnegLeP43qBkRAH+h0KbFOajMgPnqgmk5Zrbl/T1rrCyo96kNOXJhRUU7RbJ ZZ2vBKwnsCDCiwrc3C5HsUFgrVpJC2FP2Co91gcaEyqgQ05KArnQ6DoLqwgejQYdQ+xH fRq5TW5vhyADrJMxuATisZWbfVAGiAK5RuUZGU4Wbt9Y9H++IZEvrhhwZ++cwJeAiMT+ rQ4B1MUsIIAOmZo47V67O7/Cw/83tCTSXTI5onJd89ME4AW4Tcth7pxovRKuog4m9+bx 5cSw== X-Gm-Message-State: AOAM532k0pmF2+bS+Vgl2FvT1R8dC+zmkimHctrCjvEe2JQEcikezcJb J/J5VEsQPG6WZ/rRM6Z5ayt+suG3mVEijXzDIO/i2Q== X-Google-Smtp-Source: ABdhPJxBCJqCBGgyBFCMXjcC3LyLHOUNRibNVNQ966bV6UxDsl4M2CekvEMJxZx1HEcMnDbKyFJ0YnkBduJNah6kqV0= X-Received: by 2002:ac8:42c8:: with SMTP id g8mr3664569qtm.97.1596204998340; Fri, 31 Jul 2020 07:16:38 -0700 (PDT) MIME-Version: 1.0 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> <19fbf4f6-ea75-3eb7-7e95-c7c9ce987996@lechnology.com> In-Reply-To: <19fbf4f6-ea75-3eb7-7e95-c7c9ce987996@lechnology.com> From: Grzegorz Jaszczyk Date: Fri, 31 Jul 2020 16:16:27 +0200 Message-ID: Subject: Re: [PATCH v4 1/5] dt-bindings: irqchip: Add PRU-ICSS interrupt controller bindings To: David Lechner 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 Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 31 Jul 2020 at 16:09, David Lechner wrote: > > 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? Again this is due to misleading TRM nomenclature: host_intr vs host interrupts (one that we discuss in patch #2). I will use "and PRU host event (target) [cell 3]...". Sorry for my mistake. Thank you, Grzegorz