Received: by 10.223.176.46 with SMTP id f43csp17862wra; Fri, 19 Jan 2018 13:05:54 -0800 (PST) X-Google-Smtp-Source: ACJfBouybc/Ag5uFo29ym0qlK/7AYPSDHCTwmdHi2zNwPpgJxIGzYwe4YKJ28HunYItfFbvqscFZ X-Received: by 10.99.190.76 with SMTP id g12mr28018435pgo.235.1516395954497; Fri, 19 Jan 2018 13:05:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516395954; cv=none; d=google.com; s=arc-20160816; b=gVLF5WA5r2DyZN674aAY2c8UWaiwD//Q1+n9xg4Z1OG+CIT3clIEgLJRS8tiyZausg NPrVG9hsESZw9gA4I2/bpX7vV3JNhUDOYZyhkwMvV599AYTsxaartZJUWiO7Uu/04ty9 1m2X/JOKP54IAHqNxE1USu68YzCxRMxP5SPYyL9Tpz1KgG0mT7PVEqoejsklT22ly7q8 ZadieGckEnZqpJain8+fLiLOai1LmIgX7tkJD/d4eL6Grcv0XXajOX+O/ZAmqlH90zCI jnQqGmeKVPih+kGWSTMeKF5xM1SsR0l7CaZ1D6M8kU5Vjv+9E5FCQWJqD1H3BPgF6j/7 uqPg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=nHIV0/xmL7P+UEpSyQwvPz6SCItCH1K1vOwNvWAWnFU=; b=GEVGwMtTmIykajd/Gh78aGgRppfFGNCEGJ3IuH/F5PBDvu9J2ia2ioaodkEDwdj9GW tm45J+r9zwCU8V0RmfjiIKsdXj1flH3RqsLzVpKA5pkqC0iV8Jg3uv5hqrPzg7fU7hXn +54YDUC5KTyQfm8Ddy+oFMWDG9hB4yYqWcc67JohWXF91L9ZqEL0Lhzt8LsoSH0Amyao VEagPmS52AnzwN+rn/BzkIM13Yppgm29ZESncmqCf6XujLOBay7znWtlF59bLEpvRxi5 D9DhM/xL9p1gevjcXl44MwqR6fJRlDaLCeRe7KpfWhc28M4rej0xH3cpzgC+6X/jOCgE 99uA== 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 s4si9829722pfh.242.2018.01.19.13.05.40; Fri, 19 Jan 2018 13:05:54 -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 S1756513AbeASVFK (ORCPT + 99 others); Fri, 19 Jan 2018 16:05:10 -0500 Received: from mail-ot0-f196.google.com ([74.125.82.196]:43027 "EHLO mail-ot0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754118AbeASVFD (ORCPT ); Fri, 19 Jan 2018 16:05:03 -0500 Received: by mail-ot0-f196.google.com with SMTP id p36so2533649otd.10; Fri, 19 Jan 2018 13:05:03 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=nHIV0/xmL7P+UEpSyQwvPz6SCItCH1K1vOwNvWAWnFU=; b=dhb/0L1ReGD5fNHhw6y3IsEAnjdU/XnLYSGzTwIG/qCfWB8uNbN86Fww11d6iwc+R+ IqNfIff3B39pW8k10LEJwoLWavo+/KCQl/dW2F14LMcO6MYFIe/wZX+h0QHtN6to0ZKX CpTsV4IiZd8yvmvf3T0qUwD7jUc6XPGL1OA20wLuVqkG+xIlgtXoBrZn70goEhSX74fk mc/ULq2Ns2Dt6CPKJ+TFCuz5CyBXLa4yjR5dKN4hA3AH2NITGOzef7u4t+3GcRQkKa2h eJ7baBwEozKt/FqrTRHTgYFDc3kLpd3bZvhUAjIGYsa+Fa+2Dau9TTzzTH5O7WcCOw7R Cy2w== X-Gm-Message-State: AKwxytcGj23DUsQf//MR+Ebz0lG3OYLsXAWSwrCrKq03YwyGQ+9imG8b OYiOTc1lKd14E6qovOPxmg== X-Received: by 10.157.60.204 with SMTP id t12mr6185543otf.135.1516395902934; Fri, 19 Jan 2018 13:05:02 -0800 (PST) Received: from localhost (216-188-254-6.dyn.grandenetworks.net. [216.188.254.6]) by smtp.gmail.com with ESMTPSA id k192sm4314825oib.53.2018.01.19.13.05.01 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 19 Jan 2018 13:05:01 -0800 (PST) Date: Fri, 19 Jan 2018 15:05:01 -0600 From: Rob Herring To: Paul Cercueil Cc: Michael Turquette , Stephen Boyd , Mark Rutland , Thomas Gleixner , Jason Cooper , Marc Zyngier , Daniel Lezcano , Lee Jones , linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 3/9] doc: dt-bindings: Add doc for Ingenic TCU IRQ driver Message-ID: <20180119210501.q2chp3pt4dpzvf4l@rob-hp-laptop> References: <20180101143344.2099-1-paul@crapouillou.net> <20180110224838.16711-1-paul@crapouillou.net> <20180110224838.16711-3-paul@crapouillou.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180110224838.16711-3-paul@crapouillou.net> User-Agent: NeoMutt/20170609 (1.8.3) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jan 10, 2018 at 11:48:32PM +0100, Paul Cercueil wrote: > Add documentation about how to properly use the Ingenic TCU > (Timer/Counter Unit) IRQ driver from devicetree. Drop "doc: " from the subject in this and others. > Signed-off-by: Paul Cercueil > --- > .../bindings/interrupt-controller/ingenic,tcu.txt | 33 ++++++++++++++++++++++ > 1 file changed, 33 insertions(+) > create mode 100644 Documentation/devicetree/bindings/interrupt-controller/ingenic,tcu.txt > > v3: New patch in this series > > diff --git a/Documentation/devicetree/bindings/interrupt-controller/ingenic,tcu.txt b/Documentation/devicetree/bindings/interrupt-controller/ingenic,tcu.txt > new file mode 100644 > index 000000000000..e3a7d2354172 > --- /dev/null > +++ b/Documentation/devicetree/bindings/interrupt-controller/ingenic,tcu.txt > @@ -0,0 +1,33 @@ > +Ingenic SoCs Timer/Counter Unit Interrupt Controller > + > +Required properties: > + > +- compatible : should be "ingenic,-tcu-intc". Valid strings are: > + * ingenic,jz4740-tcu-intc > + * ingenic,jz4770-tcu-intc > + * ingenic,jz4780-tcu-intc > +- interrupt-controller : Identifies the node as an interrupt controller > +- #interrupt-cells : Specifies the number of cells needed to encode an > + interrupt source. The value shall be 1. > +- interrupt-parent : phandle of the interrupt controller. > +- interrupts : Specifies the interrupt the controller is connected to. > + > +Example: > + > +/ { > + mfd@10002000 { > + compatible = "ingenic,tcu", "simple-mfd", "syscon"; > + reg = <0x10002000 0x1000>; Need a "ranges;" here. Better yet make ranges translate child address 0 to 0x10002000 base. > + > + tcu_irq: interrupt-controller { Need a unit-address. Building with W=1 will tell you this (assuming this is cut-n-paste from your dts). interrupt-controlleer@10002020 (or @20 with a ranges translation) > + compatible = "ingenic,jz4740-tcu-intc"; > + reg = <0x10002020 0x20>; > + > + interrupt-controller; > + #interrupt-cells = <1>; > + > + interrupt-parent = <&intc>; > + interrupts = <15>; > + }; > + }; > +}; > -- > 2.11.0 >