Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp7319834ybi; Mon, 8 Jul 2019 19:23:41 -0700 (PDT) X-Google-Smtp-Source: APXvYqy3EDiq3Nvwpr8GS/CdZEVtCWkcnEN4YvlZod5734nOHnAJQu1495HF8w9oG1vtVNhyYMQP X-Received: by 2002:a17:902:20ec:: with SMTP id v41mr27252611plg.142.1562639021531; Mon, 08 Jul 2019 19:23:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562639021; cv=none; d=google.com; s=arc-20160816; b=OLJNG8Y25jRNyrQKnJNEr6+XSrWgN7HESdh0FfCGcFRuabavxrnfNeEPC7y3gWUlsw NrcIMpm7p3JR0ar9KPPff82V/qWapqT5BBLqJqt45VEV5LvfJTocU24GKVkm6e/Ty1LQ c7IyJBC9G7G0lc0wviEocL+8NbFEMrB6hKL06+YqZ0NLVmqKGVdN2KjvCMQMqddDTLwD AxATwT6pJRj7Qzobc7tlKmf218TeQi1nA72Cc9QwayIXdnPqR4LIpzX/GtvksRXWDPrW x1FYiluuMIBwM4Kta/XwbKJTrYCNlP49lUc2IiPrskCNnk393em0LSvWCiSutbqncBWU Qlrg== 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; bh=R3JPnhBHfFb9OzH6lZUtQSvRm4JihrB2GE869N3xz5E=; b=BpSRTKmrOdV4S6nqfzv4lmdkr/HP+7EgTCBc0nTMD9PORVI/mRXa6CZvbakWKPlCJT B5p6W9GxtsLfDi2Gm9xyW17t4BCYgTipSJKkWRXJZefi+D00A0kGKRnbIShYw5kOoCKx 63zqV+7dfIGkUs/GsXFjrJix8XGjA2qlof19kdASqHcPxVocy0rvGChtODFOlcqHacKT rzCVgT4fUwkMACAnI0wovc/wLyXEWvsJQaEoOEQP0PE9uEKPw+UEd/js9UH4tOXVN2mM lgVvfGvhjzeWordaYqbJLZz9bV9qcJGc7gBF2EhGNl0OuOFys3Ws18940C1ef/WL6Qcb cNFg== 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 az12si16774430plb.5.2019.07.08.19.23.26; Mon, 08 Jul 2019 19:23:41 -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 S1726803AbfGICXE (ORCPT + 99 others); Mon, 8 Jul 2019 22:23:04 -0400 Received: from mail-io1-f65.google.com ([209.85.166.65]:39022 "EHLO mail-io1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726358AbfGICXD (ORCPT ); Mon, 8 Jul 2019 22:23:03 -0400 Received: by mail-io1-f65.google.com with SMTP id f4so24329429ioh.6; Mon, 08 Jul 2019 19:23:03 -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=R3JPnhBHfFb9OzH6lZUtQSvRm4JihrB2GE869N3xz5E=; b=oi96BbFpsiOUnyL+wVC4Y6roxpY3TysWrAwnv04fBPnBS1yXfvUZN6rWjiSIKkCHUl OkuxBit4tQlDG3N94Tl8Z1TVFkyP2D1ynec1uwXCCNi0cR2v0sMBs4l0YOSylpyLfS1V 4gmS76MLvERWL/Cq1lT9fD+hOA7p1iw44NJFftAky+GFyJody4gmj9ORBaHqmdlrYqa9 wdDy7iU2FkZn/Iz7uUq7iAsGw+e119J9X3rJYLSwBUWKV9F7e57aoJ8dfrAIBzlhUgQB mY6VZ00N65zCfMQbZr3FXdfZ5sNolChgBT3IXx6TWGN3GyJCJjIupZogds+75GxdP1GQ ktdA== X-Gm-Message-State: APjAAAVrT1hKRlX9a0nYSYwTTNjTskkNRGpIgyl99tguNt9QHzj1U2GO APr/JOY/NKYz/ZVlhx3SCQ== X-Received: by 2002:a02:3b62:: with SMTP id i34mr25538320jaf.91.1562638982759; Mon, 08 Jul 2019 19:23:02 -0700 (PDT) Received: from localhost ([64.188.179.252]) by smtp.gmail.com with ESMTPSA id b3sm15095394iot.23.2019.07.08.19.23.01 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 08 Jul 2019 19:23:02 -0700 (PDT) Date: Mon, 8 Jul 2019 20:23:01 -0600 From: Rob Herring To: Talel Shenhar Cc: nicolas.ferre@microchip.com, jason@lakedaemon.net, marc.zyngier@arm.com, mark.rutland@arm.com, mchehab+samsung@kernel.org, davem@davemloft.net, shawn.lin@rock-chips.com, tglx@linutronix.de, devicetree@vger.kernel.org, gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org, dwmw@amazon.co.uk, benh@kernel.crashing.org, jonnyc@amazon.com, hhhawa@amazon.com, ronenk@amazon.com, hanochu@amazon.com, barakw@amazon.com Subject: Re: [PATCH v4 1/2] dt-bindings: interrupt-controller: Amazon's Annapurna Labs FIC Message-ID: <20190709022301.GA8734@bogus> References: <1560155683-29584-1-git-send-email-talel@amazon.com> <1560155683-29584-2-git-send-email-talel@amazon.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1560155683-29584-2-git-send-email-talel@amazon.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jun 10, 2019 at 11:34:42AM +0300, Talel Shenhar wrote: > Document Amazon's Annapurna Labs Fabric Interrupt Controller SoC binding. > > Signed-off-by: Talel Shenhar > --- > .../interrupt-controller/amazon,al-fic.txt | 29 ++++++++++++++++++++++ > 1 file changed, 29 insertions(+) > create mode 100644 Documentation/devicetree/bindings/interrupt-controller/amazon,al-fic.txt > > diff --git a/Documentation/devicetree/bindings/interrupt-controller/amazon,al-fic.txt b/Documentation/devicetree/bindings/interrupt-controller/amazon,al-fic.txt > new file mode 100644 > index 0000000..4e82fd5 > --- /dev/null > +++ b/Documentation/devicetree/bindings/interrupt-controller/amazon,al-fic.txt > @@ -0,0 +1,29 @@ > +Amazon's Annapurna Labs Fabric Interrupt Controller > + > +Required properties: > + > +- compatible: should be "amazon,al-fic" > +- reg: physical base address and size of the registers > +- interrupt-controller: identifies the node as an interrupt controller > +- #interrupt-cells: must be 2. > + First cell defines the index of the interrupt within the controller. > + Second cell is used to specify the trigger type and must be one of the > + following: > + - bits[3:0] trigger type and level flags > + 1 = low-to-high edge triggered > + 4 = active high level-sensitive No need to define this here. Reference the standard definition. > +- interrupt-parent: specifies the parent interrupt controller. Drop this. It is implied and could be in the parent. > +- interrupts: describes which input line in the interrupt parent, this > + fic's output is connected to. This field property depends on the parent's > + binding > + > +Example: > + > +amazon_fic: interrupt-controller@0xfd8a8500 { Drop the '0x' > + compatible = "amazon,al-fic"; > + interrupt-controller; > + #interrupt-cells = <2>; > + reg = <0x0 0xfd8a8500 0x0 0x1000>; > + interrupt-parent = <&gic>; > + interrupts = ; > +}; > -- > 2.7.4 >