Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp95919pxa; Fri, 31 Jul 2020 07:19:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxBXsPb8I6cSwK2y01xiAxRm4Ab1/g6XrCU1TtOWmTuL29ENhrAoY5JQ4rxPjmk2LqV1608 X-Received: by 2002:a17:907:7292:: with SMTP id dt18mr4555055ejc.512.1596205162487; Fri, 31 Jul 2020 07:19:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596205162; cv=none; d=google.com; s=arc-20160816; b=yN+0zNVlRjSUReXMmkKg1Fhu+WtpiPHwwMbyjP+tcUkkhFPEop5GMhXmpyUslmk5Hi l3CqPAtmv77m2fGN2JSvlnrO3D3a07MoQztwS9Om/ubsZsE+aLfgyZ1+RHfNDU3JE5Zj wxwAs68AoyRZiqnFmgmIeTYcoyFtSSQHBJlHZB6QPk4dLU29RPmfkLWMzqeNZj5/ZJUO PJrvnkbeT2JII8E10qgWAdZ4GMvwo9yk97KtYpmxu/OidtV0PNpV5Hud38ygcFPyLQJ0 lw5kKSUipqiyGMvus4JJOhieEFJbciRkcWGtfw0UkPhkH1kHl6laLYSdIUr/gJBdGkNq tiqg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=ghusglmB0el24Vhn8WtszcgSvBkG8uGRUxxlzLuuep0=; b=IyX4nY8JmQBYnvNGCB4C74znf0vmTweB6cFqFac+/9Gs7niBoyf7H8OdclMNVe3dS4 dxcHat4ozgFU9gyp0PZ+LeRL1HcH90YoIHHhmpDQJwFOJw5QYkiVR+dTikwPjYuytfEK Du3n8vpEP+oQHnB8X6cgF6mdBJHJJT4PR3yzqliD5MZjCoD9vozuoTLD5iFFgBJYXpy3 3zXHWrPsRK1uY3AjoDlxmrqHZdXBV1iBBY8GI83zcKd6grU/JJeHHYVT5IyjuGUzecvZ hZtW8uexPywq2q1mZA7CejzoPpeVZeOUvF/8tDF8UnCMBvXfEHVv2K1DInBsG2bnSWTc FlAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=GKjQcDrG; 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 c22si5369969edr.146.2020.07.31.07.18.59; Fri, 31 Jul 2020 07:19:22 -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=GKjQcDrG; 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 S1728838AbgGaOQk (ORCPT + 99 others); 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-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