Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp7491117ybi; Mon, 8 Jul 2019 23:02:25 -0700 (PDT) X-Google-Smtp-Source: APXvYqz15ZBAYK3BqjclzPb7WZ6Zkni+aBuaC9jJXjqpSJtRxavqZ9eCfeVKQg6IJa0/JbdYEHRz X-Received: by 2002:a63:188:: with SMTP id 130mr28000221pgb.231.1562652145049; Mon, 08 Jul 2019 23:02:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562652145; cv=none; d=google.com; s=arc-20160816; b=NKDot7pIBnbt4Un1RHbpChG5YQvJioyESP7GddLSncVcCDWrsTmisolcOSH+23iYH3 LKo84/xwhyENu6+Wy0ske08ruuezgfEp78M9yNfxJjRAfu9jyBjUTblFMmIEj8Y77B9L DWTlQBPwt4eLyyH9geIqh94GcA12XttVwcjuZmxfhhUrm2lsHB3F5uvokItJTzU+LlYd ZW01iN+b/2VCkr2RDKn4MAbi8qr5+dPk86wcRyyw4CQTaWgeg7Z/wQY2nbV0x5X6wWA+ 7wLpat+D2jesX5b5+45lWq8GYYOKYHTfiHAwp/Ae2sq7dhc0Lz5W39JUoZfsJd11RCkv pMsA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=UtkGVRmMvu6UY0P2XrYTov5ny6K/ib2hxgjTX5ntpb0=; b=1KQhbA1OG30EQ31alHdxdJjrNpVDO5you+8WzQJ9C7gFlUwV/p658yzXJfouoZw1mT OmELDDbqNg36yGz17+BmPLbt8bCmlY03l7hWgK0KrdQ/IOCDsbWMM1K5Sm++MbC0LnfN ReFSpvYGaFqW4ACsHCoZFyvjGFP6SoHRjj+aCEKRjsMwM3TjNeqHAmw/TudbdCwnxp4O MqYi14sBgpKhswBDvsWakPQR2uGaFVm9RfSvtCcd4lHIHnlhoRebcl0tZiABVo2XclMp 6V4WR8MOfoIbUzrTSQfpbP4pVosO5T+JaTfOGqs8Fb5glpdygLOj1usKcsPd2T1S8N7e BTEA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=gpIv8D6y; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 4si1339483pld.221.2019.07.08.23.02.06; Mon, 08 Jul 2019 23:02:25 -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=@amazon.com header.s=amazon201209 header.b=gpIv8D6y; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727405AbfGIGAC (ORCPT + 99 others); Tue, 9 Jul 2019 02:00:02 -0400 Received: from smtp-fw-9102.amazon.com ([207.171.184.29]:5647 "EHLO smtp-fw-9102.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725951AbfGIGAB (ORCPT ); Tue, 9 Jul 2019 02:00:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1562652000; x=1594188000; h=subject:to:cc:references:from:message-id:date: mime-version:in-reply-to:content-transfer-encoding; bh=UtkGVRmMvu6UY0P2XrYTov5ny6K/ib2hxgjTX5ntpb0=; b=gpIv8D6y0fXDBSTtpV4Ys8ITjD2EuGxAbJSi8DD14jjBkoz5hAyewge9 OLGKVXKBYfEPJEL4C0MiYNBXcrH/6SPwQVi2EHtr3g+GHrLTlcTAOw/4v ChfJkFWUFFVL5Aj3U5mCWnwW5Sc6nV8sewXB/pDHzlK38TdSr+IT4qhUH I=; X-IronPort-AV: E=Sophos;i="5.62,469,1554768000"; d="scan'208";a="684424846" Received: from sea3-co-svc-lb6-vlan2.sea.amazon.com (HELO email-inbound-relay-1d-f273de60.us-east-1.amazon.com) ([10.47.22.34]) by smtp-border-fw-out-9102.sea19.amazon.com with ESMTP; 09 Jul 2019 05:59:57 +0000 Received: from EX13MTAUEA001.ant.amazon.com (iad55-ws-svc-p15-lb9-vlan2.iad.amazon.com [10.40.159.162]) by email-inbound-relay-1d-f273de60.us-east-1.amazon.com (Postfix) with ESMTPS id 787FAA248F; Tue, 9 Jul 2019 05:59:54 +0000 (UTC) Received: from EX13D01EUB001.ant.amazon.com (10.43.166.194) by EX13MTAUEA001.ant.amazon.com (10.43.61.243) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Tue, 9 Jul 2019 05:59:53 +0000 Received: from [10.85.103.206] (10.43.161.115) by EX13D01EUB001.ant.amazon.com (10.43.166.194) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Tue, 9 Jul 2019 05:59:44 +0000 Subject: Re: [PATCH v4 1/2] dt-bindings: interrupt-controller: Amazon's Annapurna Labs FIC To: Rob Herring CC: , , , , , , , , , , , , , , , , , References: <1560155683-29584-1-git-send-email-talel@amazon.com> <1560155683-29584-2-git-send-email-talel@amazon.com> <20190709022301.GA8734@bogus> From: "Shenhar, Talel" Message-ID: Date: Tue, 9 Jul 2019 08:59:40 +0300 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.7.2 MIME-Version: 1.0 In-Reply-To: <20190709022301.GA8734@bogus> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Originating-IP: [10.43.161.115] X-ClientProxiedBy: EX13D05UWC002.ant.amazon.com (10.43.162.92) To EX13D01EUB001.ant.amazon.com (10.43.166.194) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Marc, should I publish those fixes as new patch that updates the dt-bindings or new patchset to this list? On 7/9/2019 5:23 AM, Rob Herring wrote: > On Mon, Jun 10, 2019 at 11:34:42AM +0300, Talel Shenhar wrote: >> +- #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. This device only support those two modes. This definition tries to capture the supported modes. Should I just state that those two modes are supported and then avoid the actual bits and values? > >> +- interrupt-parent: specifies the parent interrupt controller. > Drop this. It is implied and could be in the parent. ack > >> +- 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' ack