Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp132297imm; Tue, 31 Jul 2018 15:14:59 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcu++7zvuHU1LQ94yGQ96SAFITJcBVQmB+rDifOvmupoKrACjJFUqfyOkyn4Cbm87ZZoNgJ X-Received: by 2002:a62:3f55:: with SMTP id m82-v6mr24049063pfa.51.1533075299818; Tue, 31 Jul 2018 15:14:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533075299; cv=none; d=google.com; s=arc-20160816; b=htRtw0kt1XvzP6lO59vH/jrR/OQmDMRKZHCo6dZAQLPUqwcS9BuR5v09gjmg+RoXft nnDiRkiDaZTlyqGICV39s+LStG0HMjSXKZFarEJ1M96tP2S4KxCUBGOdVsSl4n1fbnz4 aTlp4Ziq3NjqFc1Hr5XcrlswD4EorCq5M4jLI80VvBti5wXiYuuY55x2oNep4Vx743wK Y+SOITED7JRV1dHytwWqMGaI2/akQ7UNBBK2CpMNMn2mcMoQGe8Dsc1rWGsdRoDDKSq2 tj1o2V7cANFrbqm9t26Ct59qAFJdi7jOWTqbgpARtqvMfWLAHbDdKiSxlWRIw9bfm7e6 hnzw== 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=w9p7MvX9j5Tm4hhsiYM8zUxLACaWeOiDg/jFf3yORg0=; b=vCbzoHWAfZ5D1Jb7sUCpaJ6yfpvZ2IkUwUe4gOG5Qaa28MGF66eddvpkZV8slpi038 ecPOWgn36ngI2XNzUy5KDvtS55Iy0/86tJoPRE9pWx1aWVnIO2/kTdIQaXFf+sG0ZLWI C48iGhmDUwhCGdAJiYjEpRnQ4D0fjPXyy4ZjRNE7Po2t2wMkIbLBNPOm5efuT0S0cTnW h/v06uPNXeYVMR8akIGDEcsXbqpRhQxdeQ7Yksh8DCts73G5BT4lYj4xGMb3OzMUOdSa 93OsrAVQcAQlCeBUhdR/L82MOAIULZ5Yl/hg1CvT2s3g7nzIphJMUVlfeGG/Y0OD3gYm ei5w== 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; dmarc=fail (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 p1-v6si15226528pfb.280.2018.07.31.15.14.39; Tue, 31 Jul 2018 15:14:59 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732572AbeGaX4B (ORCPT + 99 others); Tue, 31 Jul 2018 19:56:01 -0400 Received: from mail-io0-f196.google.com ([209.85.223.196]:34703 "EHLO mail-io0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731007AbeGaX4A (ORCPT ); Tue, 31 Jul 2018 19:56:00 -0400 Received: by mail-io0-f196.google.com with SMTP id l7-v6so14424030ioj.1; Tue, 31 Jul 2018 15:13:34 -0700 (PDT) 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=w9p7MvX9j5Tm4hhsiYM8zUxLACaWeOiDg/jFf3yORg0=; b=AJQcovJ9a9GK7OL7F6bHP3oDor7F/M5F0BWkzXfUjPS1RGRDvZmVCJhFbpAO76rtVQ ILSVRjxW7WmLLpcprJI61ENbQGplTkWgJBVZrWt0s+GDoOyW84ICm9yQaT8LGp/2Eks3 c3RZYnR2D9mbpEBLXoow3AqyFLKNYWuHikupQoawi6cLZK713k2L2ddvYqreMd5oAR6T AEYjFneLvOFbdGG+TsN3jlsAc+bwS08qSdtyyuwihHc7YAdqQaZnGo2DJ+Xx4CjG1YmT 5Mk0qonbtTy0XzUZokpT+BgLSb1ppYTSv+JacZFkoQhZ2BYmLzFEyzu5LU5iUT92X6iE 7MWQ== X-Gm-Message-State: AOUpUlEUzjNti2+DRPf3B9EmnlM9N4IEyhzDYaPHM5qIWFKXyIA1kh7J jjib6qUvWlp0057bUIzZlPyfF3kiNQ== X-Received: by 2002:a6b:6607:: with SMTP id a7-v6mr1374596ioc.145.1533075213834; Tue, 31 Jul 2018 15:13:33 -0700 (PDT) Received: from localhost ([24.51.61.72]) by smtp.gmail.com with ESMTPSA id u139-v6sm1728292ita.1.2018.07.31.15.13.32 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 31 Jul 2018 15:13:33 -0700 (PDT) Date: Tue, 31 Jul 2018 16:13:32 -0600 From: Rob Herring To: Parthiban Nallathambi Cc: tglx@linutronix.de, jason@lakedaemon.net, marc.zyngier@arm.com, mark.rutland@arm.com, afaerber@suse.de, catalin.marinas@arm.com, will.deacon@arm.com, manivannan.sadhasivam@linaro.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, sravanhome@gmail.com, thomas.liau@actions-semi.com, mp-cs@actions-semi.com, linux@cubietech.com, edgar.righi@lsitec.org.br, laisa.costa@lsitec.org.br, guilherme.simoes@lsitec.org.br, mkzuffo@lsi.usp.br Subject: Re: [PATCH 1/3] dt-bindings: interrupt-controller: Actions external interrupt controller Message-ID: <20180731221332.GA29883@rob-hp-laptop> References: <20180724150219.1807724-1-pn@denx.de> <20180724150219.1807724-2-pn@denx.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180724150219.1807724-2-pn@denx.de> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jul 24, 2018 at 05:02:17PM +0200, Parthiban Nallathambi wrote: > Actions Semi OWL family SoC's provides support for external interrupt > controller to be connected and controlled using SIRQ pins. S500, S700 > and S900 provides 3 SIRQ lines and works independently for 3 external > interrupt controllers. > > Signed-off-by: Parthiban Nallathambi > Signed-off-by: Saravanan Sekar > --- > .../interrupt-controller/actions,owl-sirq.txt | 34 ++++++++++++++++++++++ > 1 file changed, 34 insertions(+) > create mode 100644 Documentation/devicetree/bindings/interrupt-controller/actions,owl-sirq.txt > > diff --git a/Documentation/devicetree/bindings/interrupt-controller/actions,owl-sirq.txt b/Documentation/devicetree/bindings/interrupt-controller/actions,owl-sirq.txt > new file mode 100644 > index 000000000000..c5f8a29573c8 > --- /dev/null > +++ b/Documentation/devicetree/bindings/interrupt-controller/actions,owl-sirq.txt > @@ -0,0 +1,34 @@ > +Actions Semi Owl SoCs SIRQ interrupt controller > + > +S500, S700 and S900 SoC's from Actions provides interface, in which external > +interrupt controller can be connected. It has the following properties: > + > +- inputs three interrupt signal from external interrupt controller > + > +Required properties: > + > +- compatible: should be one of the following > + "actions,s700-sirq" > + "actions,s900-sirq" > +- reg: physical base address of the controller and length of memory mapped. > +- interrupt-controller: identifies the node as an interrupt controller > +- #interrupt-cells: specifies the number of cells needed to encode an interrupt > + source, should be 2. > +- interrupts: specifies the interrupt line in the interrupt controller and > + interrupt type (level or edge triggered) Need to state there are 3 interrupts. > +- sampling-rate-24m: this means the external controller's interrupts can be Needs a vendor prefix. > + sampled at 24MHz. Sampling can be specified for each SIRQ lines, as an array > + element. By default, all lines are sampled at 32KHz. > + > +Example: > + > +sirq: interrupt-controller@e01b0000 { > + compatible = "actions,s700-sirq"; > + reg = <0 0xe01b0000 0 0x1000>; > + interrupts = , > + , > + ; > + interrupt-controller; > + #interrupt-cells = <2>; > + sampling-rate-24m = <0 0 1>; > +}; > -- > 2.14.4 >