Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp26374imm; Wed, 5 Sep 2018 17:47:24 -0700 (PDT) X-Google-Smtp-Source: ANB0Vda2FHrak75q1IGPYXFu7bszuQacAldaGsXiD0UB6CgmXmJ5lG3X0BlgNniZPCVXWBNH0m3J X-Received: by 2002:a63:1f55:: with SMTP id q21-v6mr330545pgm.88.1536194843974; Wed, 05 Sep 2018 17:47:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536194843; cv=none; d=google.com; s=arc-20160816; b=xLruLyW4JHJ1fgh6VoPzz6kyDpP2BxQefy75BN7U+kyt8aohUIf3de65GRLy0GmoNs XsfpkEi+OhPiYGjvRo8LRxS0HtVSfk/6iycdQkXLI5q9lOtl9UXWWYsmpFoDLv//iaZV KDhSRS2wf2zU9l1DXeCQYB+2Z91/WJzJxJOkkUARSfpzJsPNdw4D9nprrwRkxI68EWIy +I3lw9Pnsyg9wN+eo0Y4UOUBjwmSbjXeHgxTakkwTxvflG04B/H3U0qxP3GFmx7VICeU Cv8hrMpgNcyZvVCG0//G8VHUD4hSVnM0IaldkClX2sm7L5/FU6MhhpQZw+HAvyyC8TV/ Pf4A== 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=MQ/o6miYSqq/M9k4kPRq7Su/slKzM0tir8p0/0AZnro=; b=zXCNJaRJjIobmA1x9jmgushgR4EkVp1l9hbIFZfl5PHFUK+IKBFYAim+jvuWNTLqiQ D6+hyf/TXZB8OgY6J/r+kkI1dFt3lbO8ipV1/RDDqZlq2WM3Gc8zfrZ2UjPDEufuT9o2 SvWUfeq/JXliZStRnAnw3Gp7r+TgZnb/1lZ3oHAzIXMCodEjfj/H2ghTHnJI8jXJCzxG p09ybfxSXFU4O7ATO4FsgWEmShn+O2QpJk+pNcUV7S818NK0tfC1glUHB1OWuB1AHjE1 gdOsUpgBzyb5Pqo2beJr4ELNCTTLJmcPUVJHXSM3UbEJZcYaJ0oHDR049/5a+Q/tX/mE /n3w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=lPtf+iGI; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d11-v6si3635608plo.91.2018.09.05.17.47.08; Wed, 05 Sep 2018 17:47:23 -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=@kernel.org header.s=default header.b=lPtf+iGI; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727530AbeIFFSI (ORCPT + 99 others); Thu, 6 Sep 2018 01:18:08 -0400 Received: from mail.kernel.org ([198.145.29.99]:35742 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725929AbeIFFSI (ORCPT ); Thu, 6 Sep 2018 01:18:08 -0400 Received: from mail-wr1-f41.google.com (mail-wr1-f41.google.com [209.85.221.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 105EF20869 for ; Thu, 6 Sep 2018 00:45:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1536194725; bh=tmi7tUwbTuglFSDc+paxPWYyLHwVb72GNy9bUempHn4=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=lPtf+iGIY3l7jwMbdZ9yO6RCSyq7ECccUWUTPR7yIbR2g7mNfo9se1Xejyx/1dnMa T4Gmb/0bC/F+bCAkREs720E2YUDHRAnn2xL4IY5f13WP9A9iAeEkGVV0EV6GyV+oN+ 9bfbYzMhja28nS1ChOfSNX2a49HvK7t/MNycK3BI= Received: by mail-wr1-f41.google.com with SMTP id n2-v6so9470039wrw.7 for ; Wed, 05 Sep 2018 17:45:24 -0700 (PDT) X-Gm-Message-State: APzg51C1eLDgNdYrPh2M6vDVqMZDtihy5frmLRa9/oRE/s+is2yMa0eS VWXGIIoE3LhfduFFSJkMZlNn0oU7LG7kH3+oBLM3vg== X-Received: by 2002:a5d:6550:: with SMTP id z16-v6mr183743wrv.194.1536194723562; Wed, 05 Sep 2018 17:45:23 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Rob Herring Date: Wed, 5 Sep 2018 19:45:12 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH V3 22/26] dt-bindings: interrupt-controller: C-SKY SMP intc To: ren_guo@c-sky.com Cc: linux-arch@vger.kernel.org, Linux Kernel Mailing List , Thomas Gleixner , Daniel Lezcano , Jason Cooper , Arnd Bergmann , c-sky_gcc_upstream@c-sky.com, gnu-csky@mentor.com, thomas.petazzoni@bootlin.com, wbx@uclibc-ng.org, Greentime Hu 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, Sep 5, 2018 at 7:09 AM Guo Ren wrote: > > Signed-off-by: Guo Ren > --- > .../bindings/interrupt-controller/csky,mpintc.txt | 40 ++++++++++++++++++++++ > 1 file changed, 40 insertions(+) > create mode 100644 Documentation/devicetree/bindings/interrupt-controller/csky,mpintc.txt > > diff --git a/Documentation/devicetree/bindings/interrupt-controller/csky,mpintc.txt b/Documentation/devicetree/bindings/interrupt-controller/csky,mpintc.txt > new file mode 100644 > index 0000000..49d1658 > --- /dev/null > +++ b/Documentation/devicetree/bindings/interrupt-controller/csky,mpintc.txt > @@ -0,0 +1,40 @@ > +=========================================== > +C-SKY Multi-processors Interrupt Controller > +=========================================== > + > +C-SKY Multi-processors Interrupt Controller is designed for ck807/ck810/ck860 > +SMP soc, and it also could be used in non-SMP system. How is it accessed? No mmio registers? > + > +Interrupt number definition: > + > + 0-15 : software irq, and we use 15 as our IPI_IRQ. > + 16-31 : private irq, and we use 16 as the co-processor timer. > + 31-1024: common irq for soc ip. > + > +============================= > +intc node bindings definition > +============================= > + > + Description: Describes SMP interrupt controller > + > + PROPERTIES > + > + - compatible > + Usage: required > + Value type: > + Definition: must be "csky,mpintc" > + - interrupt-cells > + Usage: required > + Value type: > + Definition: must be <1> > + - interrupt-controller: > + Usage: required > + > +Examples: > +--------- > + > + intc: interrupt-controller { > + compatible = "csky,mpintc"; > + #interrupt-cells = <1>; > + interrupt-controller; > + }; > -- > 2.7.4 >