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 2D210C433DF for ; Fri, 31 Jul 2020 14:16:43 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 0B23F21744 for ; Fri, 31 Jul 2020 14:16:43 +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 S1728752AbgGaOQk (ORCPT ); Fri, 31 Jul 2020 10:16:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48734 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728838AbgGaOQj (ORCPT ); Fri, 31 Jul 2020 10:16:39 -0400 Received: from mail-qt1-x842.google.com (mail-qt1-x842.google.com [IPv6:2607:f8b0:4864:20::842]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 37055C061756 for ; Fri, 31 Jul 2020 07:16:39 -0700 (PDT) Received: by mail-qt1-x842.google.com with SMTP id x12so14505124qtp.1 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=PEhA9Q7J3XUFVadNAxkxfMfmqxNV0KzrmkEuc4iYTnUuM4DgaX3mGG6YSCq1j+a4Z0 GdjV0PMAuzNWXPJxDpEAAd7pQ7KWyxq0vLMOobUnv42Q0XwzFIMlTF/qdO3yUT8GhkfC 6afdjjKpeNhojmFTHPbNeAwgC1Ey6IouqulNLaPyY6bRJC0bg0ctGX4lNQR/qLYzTPvF e9FvM/bK5NC4BBrYsDZtSywbhu8ylO2AtNhLadBqPuwCtin/2ggJGq6lBnL1J66Meo/G BGKRbt+YAti5p73+u/pLjv3XulEubgtqSEFgTO1vEgaRoEWmMOcPZX4O08tD+jZyf5Cz u2Mg== X-Gm-Message-State: AOAM531mE7LfTL7pZStbsISktNz2taLji/gRrRm8rkACYDmpPKcoCmli haCPOf44EU+emlnUBwXX7DmJrnRBFTjebptTJdDbJQ== 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: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@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