Received: by 10.223.164.202 with SMTP id h10csp1507043wrb; Wed, 8 Nov 2017 05:26:39 -0800 (PST) X-Google-Smtp-Source: ABhQp+R6vAV/0hvWv0DnkXOS0QPK4OAclmGhYHZE6dLCCtebhjKHmUcCafXy/Q/req5pjAtgYODH X-Received: by 10.98.18.79 with SMTP id a76mr550670pfj.204.1510147599541; Wed, 08 Nov 2017 05:26:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510147599; cv=none; d=google.com; s=arc-20160816; b=NUMXxk7GXJODTdDOknS/0MHhcAjaJy97w2bbxr9j1jgYhUFVn6iIcc+fw8ei64mfLn biBg+t6DTQ4aVxObLRAuk7I+/H69ZKa6zjHNjYowPmWGrjFxgQxBw4IqHniQtPJJlkLL dSe0ypf9YF29ciKtyrD+jED5qoKz4RDBYSIMiQcWRsZbWsdfuWWIOoJORxoSAO3T6bf8 AOTQzA7OkqWrfMszVC67ONKIc2vYJNc6VLhDe4JyVjURV82Lu0/i791G8qaY6oQAPYVZ ED3NOWXzYO1NFQYSUlSYbRsoeOjgFAcemSvX5CLVJLiZjW/s68F4B679hLiY3L7IKL54 PF6Q== 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 :references:in-reply-to:mime-version:dmarc-filter :arc-authentication-results; bh=6piS/96pQVc0W6lqr/YhOnQcXRDHAipNOU3GMeBfrMQ=; b=TugxCrEm9tJJtrjIX3M45lYmN5dz/vkgY8kbY4IN6n2xiSdGJ8xGi2eVFumTukhn1e N8bywEfnVxolRZM0q5Yi6Dr3IPlWi/CNnJik1CdO+no6880+V+1HkFQldK3xmmB16TLu vSMnbq/wqClJtG87WZOBoiyrM/IqaOgCXlqTKOJeuAhp3zw0zOBufUdzbqhm4OZZEa4d YVahhRGoxhTDITiAKje9kNidH8HQy6dOgJv1S/RetiLYypwxu2zIDRhIojx4zVOsnFic SQKnXSpWqJpG/SkD67rIySic2xxq9mrMIHUqQPF1l5TKDFQ373OyCKau8M10LLQwUbQI 5R5A== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z23si4081461pll.426.2017.11.08.05.26.21; Wed, 08 Nov 2017 05:26:39 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752591AbdKHNZg (ORCPT + 82 others); Wed, 8 Nov 2017 08:25:36 -0500 Received: from mail.kernel.org ([198.145.29.99]:41106 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751598AbdKHNZc (ORCPT ); Wed, 8 Nov 2017 08:25:32 -0500 Received: from mail-qt0-f170.google.com (mail-qt0-f170.google.com [209.85.216.170]) (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 9D31C21921; Wed, 8 Nov 2017 13:25:31 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9D31C21921 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=robh+dt@kernel.org Received: by mail-qt0-f170.google.com with SMTP id z28so3208733qtz.13; Wed, 08 Nov 2017 05:25:31 -0800 (PST) X-Gm-Message-State: AJaThX6b2ysEjamdpUNy1gpuXfJutQKbbZ+ji4nwc8KRJ3UeaAmluIUC DcpYP7zXGI4PxFVYTCb2dmr/QahHgKSmUQhPvQ== X-Received: by 10.200.8.239 with SMTP id y44mr743495qth.341.1510147530773; Wed, 08 Nov 2017 05:25:30 -0800 (PST) MIME-Version: 1.0 Received: by 10.12.130.134 with HTTP; Wed, 8 Nov 2017 05:25:10 -0800 (PST) In-Reply-To: References: From: Rob Herring Date: Wed, 8 Nov 2017 07:25:10 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 27/31] dt-bindings: interrupt-controller: Andestech Internal Vector Interrupt Controller To: Greentime Hu Cc: greentime@andestech.com, "linux-kernel@vger.kernel.org" , Arnd Bergmann , "linux-arch@vger.kernel.org" , Thomas Gleixner , Jason Cooper , Marc Zyngier , netdev , Rick Chen , "devicetree@vger.kernel.org" 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 +DT list On Tue, Nov 7, 2017 at 11:55 PM, Greentime Hu wrote: > From: Greentime Hu Commit msg needed. > Signed-off-by: Rick Chen > Signed-off-by: Greentime Hu > --- > .../interrupt-controller/andestech,ativic32.txt | 27 ++++++++++++++++++++ > 1 file changed, 27 insertions(+) > create mode 100644 Documentation/devicetree/bindings/interrupt-controller/andestech,ativic32.txt > > diff --git a/Documentation/devicetree/bindings/interrupt-controller/andestech,ativic32.txt b/Documentation/devicetree/bindings/interrupt-controller/andestech,ativic32.txt > new file mode 100644 > index 0000000..6bac908 > --- /dev/null > +++ b/Documentation/devicetree/bindings/interrupt-controller/andestech,ativic32.txt > @@ -0,0 +1,27 @@ > +* Andestech Internal Vector Interrupt Controller > + > +The Internal Vector Interrupt Controller (IVIC) is a basic interrupt controller > +suitable for a simpler SoC platform not requiring a more sophisticated and > +bigger External Vector Interrupt Controller. > + > + > +Main node required properties: > + > +- compatible : should at least contain "andestech,ativic32". > +- interrupt-parent: Empty for the interrupt controller itself Drop this. > +- interrupt-controller : Identifies the node as an interrupt controller > +- #interrupt-cells: The number of cells to define the interrupts. Should be 2. > + The first cell is the IRQ number > + The second cell is used to specify mode: > + 1 = low-to-high edge triggered > + 2 = high-to-low edge triggered > + 4 = active high level-sensitive > + 8 = active low level-sensitive Just state 2 cells and refer to interrupt-controller/interrupts.txt. > + Default for internal sources should be set to 4 (active high). > + > +Examples: > + intc: interrupt-controller { > + compatible = "andestech,ativic32"; > + #interrupt-cells = <2>; > + interrupt-controller; > + }; > -- > 1.7.9.5 > From 1583483451461525087@xxx Wed Nov 08 07:51:38 +0000 2017 X-GM-THRID: 1583483451461525087 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread