Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp4247743yba; Wed, 17 Apr 2019 07:39:42 -0700 (PDT) X-Google-Smtp-Source: APXvYqxmunZl+QUgIWjn1ECtJwh5QRY2GGfds0VJckGy8x1uRrIhSy87dDZH0tBtNpccNgR6t0he X-Received: by 2002:a63:5560:: with SMTP id f32mr2957614pgm.334.1555511982639; Wed, 17 Apr 2019 07:39:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555511982; cv=none; d=google.com; s=arc-20160816; b=bU806WzuZBnJHDLb1GlT2f9gQSrkUJqeKE0q0I3uS9Mu77lTxdPaGvWnKODfyzWA8p 1VmzZ85yBJD025c6vrHKLtQwvylBnABUeczRoCHHDKqyVq6yugN+mgrPHHMVCFCYqe+R g7A1HmjgX+QjoZwohO1bc/R0uNjh3EvHGb27o6hRlXAwDVt1wXyztmPM+ojh8X9gOiFK Om7X5pBWktXpZ0pa86UFezswPENVyY8kdmGdSXgRirtR4/xzaSzqGK8sLO4qcdeb70Gk Yjegwfl74C7+ERNA5uedkTvo7W+Sh9eWEioZ4cA+oL8+EcFWnI5aC8+YF4V/U+BRgaHr iRcw== 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=GZ2Ly4RP/Dnf5F/ZG3aJK5z5nPfqb3L8ZTetUCkAOuM=; b=mFU3gu72FjGQPzrcfbtzntUXo7+zogd65BYOisjbQ9aAsfXTT7rK8ZTq2gXJrEBOYh +VHnbL/H9Qrx1ft6IFTnN1FDK4pXO4E5moFO8CHjiVtk6/QQy0r0IFbR04Inyq5datlB TN0aps85AhITXt/er8uq/IRnGX2y8N4xXFnzlmFp0Bsosv13orfwhx5gfFcuo8OWSPqU 7PlIbGka9VkPXqxy+y1SH/uz4VZxuXu2ICX8gbWJW/aPuRBN4eVJA31PUK+WtcZcprNU D6Iwv8fvA/CmdbTVaDnpyNJE7r5aDIM0qcOmQsWdGi36HyemkXmstOpTmoBSsixZasqI InLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=tW+80htR; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id d9si47126405pls.12.2019.04.17.07.39.27; Wed, 17 Apr 2019 07:39:42 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=tW+80htR; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1732565AbfDQOgv (ORCPT + 99 others); Wed, 17 Apr 2019 10:36:51 -0400 Received: from mail-qt1-f195.google.com ([209.85.160.195]:41214 "EHLO mail-qt1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731743AbfDQOgv (ORCPT ); Wed, 17 Apr 2019 10:36:51 -0400 Received: by mail-qt1-f195.google.com with SMTP id w30so27559616qta.8 for ; Wed, 17 Apr 2019 07:36:50 -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=GZ2Ly4RP/Dnf5F/ZG3aJK5z5nPfqb3L8ZTetUCkAOuM=; b=tW+80htR43jlq2mGkJBGHZOYcRhvYFqbp9/zcCZkvE4V21tPRaAvav7/gh2kdUJCN8 gz34cy0kDrbsGNKpzndgU4CzrX5TWVQwgy2lKIVh76VaybEFrpni4t5o2TcM+vMhV7y6 Uklh3bypP0gtJ3gAU2ypVFNm/4e0fY5X7Sv7HMHH4BItCh+7VeWuooIPYqPLi6xjQBKu PA0ncU30xH3JLdjVyI7+XGH4a3SZ1a5CeN62R3T5mfVNvAHw63J5YZRv5tMSd4Ly1YhI H2A0p2rWmdHB/iGUgdJbtdEgElD5P/M0SUYXBnFhyWQh0K5NBuJ5eOOkEP3ZArdv8Iap T7dA== 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=GZ2Ly4RP/Dnf5F/ZG3aJK5z5nPfqb3L8ZTetUCkAOuM=; b=Lo5SBzUr3AT9ne8j6dXKvymovxXR5FulZH9808gAuMI7S1mh3kvXdpn+x8fp8iy7vM 9YhhH68jJa0L6n2MIm7/zhR+DorQp+PIHq52pWdppMDI5vm1dWS53KLg+fzVhquuuhTN k3kBSu/gWHyMK2M/3z3TZw0IynO7PzSMV17E3L6LkcA1cH7QMkKTgoT/hiSdiI7kw7b8 O940qoZUgTShcm2/dVUF/+4WIeLE+X539XLbxyB9mboMne+EEg7G5wgeoprxF7CvKW8T VHekdRdnfY9tMdRy4/n2qclB7yz3JuUZst/oA1+2S3RNJQO6cFNOdykEhAQJN3Ihti7c cyHw== X-Gm-Message-State: APjAAAVmWxt32Akz/I5YGzXqOVJn9fo/LJNzEOWy0KCUWUNpdcuLG4B9 FvTe7Nr5M+sArVXsDDJyFFiQbUvXttGEh+FhPDLO/Q== X-Received: by 2002:ac8:2949:: with SMTP id z9mr75131010qtz.302.1555511810391; Wed, 17 Apr 2019 07:36:50 -0700 (PDT) MIME-Version: 1.0 References: <20190313211844.29416-1-ilina@codeaurora.org> <20190313211844.29416-4-ilina@codeaurora.org> In-Reply-To: <20190313211844.29416-4-ilina@codeaurora.org> From: Linus Walleij Date: Wed, 17 Apr 2019 16:36:36 +0200 Message-ID: Subject: Re: [PATCH v4 03/10] of/irq: document properties for wakeup interrupt parent To: Lina Iyer , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" Cc: Stephen Boyd , Evan Green , Marc Zyngier , "linux-kernel@vger.kernel.org" , rplsssn@codeaurora.org, linux-arm-msm@vger.kernel.org, "thierry.reding@gmail.com" , Bjorn Andersson , Doug Anderson 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 Wed, Mar 13, 2019 at 10:19 PM Lina Iyer wrote: > +Mapping the interrupt specifiers in the device tree can be done using the > +"irqdomain-map" property. The property contains interrupt specifier at the > +current interrupt controller followed by the interrupt specifier at the mapped > +interrupt controller. > + > + irqdomain-map = > + > +The optional properties "irqdomain-map-mask" and "irqdomain-map-pass-thru" may > +be provided to help interpret the valid bits of the incoming and mapped > +interrupt specifiers respectively. > + > + Example: > + irqdomain-map = <22 0 &intc 36 0>, <24 0 &intc 37 0>; > + irqdomain-map-mask = <0xff 0>; > + irqdomain-map-pass-thru = <0 0xff>; This is looking a bit familiar to the existing interrupt-map that is used for PCI interrupts and Swizzling back to a set of PCI host interrupts. I tried to document interrupt-map here: https://elinux.org/Device_Tree_Usage#Advanced_Interrupt_Mapping interrupt-map is a bit convoluted, so I don't know if it would be subject to reuse for this. I suspect that interrupt-map, despite the name, is for PCI only. Yours, Linus Walleij