Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3756652pxk; Tue, 8 Sep 2020 01:22:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw3SZmq2EIyEsgSQs4wuIy34AgdhaRu20dgFI6V7ZCinTToml3qY8qu6cy6eaG9QNF/mx/r X-Received: by 2002:a50:9b5e:: with SMTP id a30mr25380061edj.49.1599553320683; Tue, 08 Sep 2020 01:22:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599553320; cv=none; d=google.com; s=arc-20160816; b=OWg5U8+0Kmew4JwfERm6lJvu4LF253zl5KaXll4yUfBJlBWavwtNc1pez4054rSyIP CNMbxILtJF1SQVmUxqIl+IaM+6m4inzzn0dvJH2WYwPxAwH4tPAbhajVvcD68G3myfke NCevSle6R+78H7AToPqOIZvS4OAUuKSUMyQ3xke+ZqCQYpoNGzZAZUXqKu5tQ1Vx3jXK wUEtraKZa3pNv2SJn56U+PkjCaE0rPSSeyCM+/zdYPs6Lz9cROO6Dt19Px0uWDwqxhCT xfssULLO72iNVuf83JQqZZ1tCs09jJkETiphXkEe62Tu8VkdRRcwVS5phJ5oi9lXMAnX nhNA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=ps6oy10ORdikw70XKA0O8bVm8SaRqDQHF3zytkb03qM=; b=rsv5CEemuZ4od1ROycKsU+5aepWSRqn0lD6rHQhTqzmnwRPTNgqUmbfK0jGpv5WUsF eMjrcCSJXtfrR1r4jRgI0oq+cwbXMXjoD9dJNOfH36IEuFIuWEgO+z/loCO0bHPWOVbm cYhab+xvlL2RaNQzMS4zOC4tpp8kg4AYVIhX52lLYbAkbHoJtQtf7OQetYAQSDVJa6hB qowE5WybvEzqq9qxF1yrXgJ+/rZCE0vMxeFDSV1bnsp8YX9FnvFfFI+mmJPEoIi+mEoo TpNO1uSGzywO8idlRZA9Ziy7Z7mXTgKOl9Ug19QR7m/1UQhEXYvj4W/mt5IHKgRYTRKL Nkww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=HrHdOgQB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cw21si1194092ejb.392.2020.09.08.01.21.38; Tue, 08 Sep 2020 01:22:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=HrHdOgQB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729912AbgIHIU6 (ORCPT + 99 others); Tue, 8 Sep 2020 04:20:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39962 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729257AbgIHIU4 (ORCPT ); Tue, 8 Sep 2020 04:20:56 -0400 Received: from mail-ej1-x644.google.com (mail-ej1-x644.google.com [IPv6:2a00:1450:4864:20::644]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A1990C061573; Tue, 8 Sep 2020 01:20:55 -0700 (PDT) Received: by mail-ej1-x644.google.com with SMTP id z23so21184043ejr.13; Tue, 08 Sep 2020 01:20:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ps6oy10ORdikw70XKA0O8bVm8SaRqDQHF3zytkb03qM=; b=HrHdOgQBo+a4rq90+PO/XkrIM65WRoaZk5aVcCGXI6szdjicSPLMTOMjq/ed62Z78H tI3p9FdIdlpqAwQhpKnw4eERJqQTRSxIsaVnsgnjpHMmAEYw5/6832Z0ITrzo7E/z0hN KxmAMyNN9tKOZDJ1zMhOm7839nkrT6N4n/eIc88luuXvXLkcvWnojC1iFeS4MRxJnfLz zajEboGaFstjthaPn5cLuqAzbavhUaMdHzgCt/ig90H6ISNK+rY+WXk5uPgHtPolj0cw RWvfdhoEcYtXyfgUkZX7Rfxdp+WkSgkPFH7R8uc3b80QAh/RrkdwrsD5NhxSqLJCSo2a xWaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ps6oy10ORdikw70XKA0O8bVm8SaRqDQHF3zytkb03qM=; b=OGuxl6Wb3nu4IVOpZwsQEvLXbz681wg/ahNC5/2l0b2hqI3j+oIvvfY5QrVG1EUADi e/ReyRBhyqjxHbstAnh3h1oigtM5ib90aXEGE2ouKIrL8Lh8ZUTMqYlOxWbkysdVSwGn 8nzWLK9CynjGnaC3LqAKG5bEh/olKfTOJJTMf/TWYPIHK9YXr2Yd69p6ERkw+Lf5p6mF rnUNB9fSxctQyda844p5gZ/DZgLm+t1NswJ0mT7RTsa96ii8WAQswH9vBmU3F/P86aWw r0sdiEgPyNtQI2i/bA//qGSa3EiEl715jWo0nNRHR3s5UgbODGiPxdFkZsoWnWgBbcSh OhGA== X-Gm-Message-State: AOAM530LiLJxqOToTIfwP+mZnYmkEY0j5FoyYRrzzu+Lip30s7u3ICIy QzB61OA1vZtVlzoS79jex00= X-Received: by 2002:a17:906:c289:: with SMTP id r9mr20901895ejz.402.1599553254323; Tue, 08 Sep 2020 01:20:54 -0700 (PDT) Received: from localhost.localdomain ([188.24.159.61]) by smtp.gmail.com with ESMTPSA id g24sm13172326edy.51.2020.09.08.01.20.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Sep 2020 01:20:53 -0700 (PDT) From: Cristian Ciocaltea To: Marc Zyngier , Rob Herring , Manivannan Sadhasivam , Thomas Gleixner , Jason Cooper , =?UTF-8?q?Andreas=20F=C3=A4rber?= Cc: parthiban@linumiz.com, Saravanan Sekar , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-actions@lists.infradead.org Subject: [PATCH v6 1/3] dt-bindings: interrupt-controller: Add Actions SIRQ controller binding Date: Tue, 8 Sep 2020 11:20:48 +0300 Message-Id: X-Mailer: git-send-email 2.28.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Actions Semi Owl SoCs SIRQ interrupt controller is found in S500, S700 and S900 SoCs and provides support for handling up to 3 external interrupt lines. Signed-off-by: Cristian Ciocaltea --- Changes in v6: - Got rid of the 'actions,owl-sirq' compatible, per Robs's feedback - Replaced 'actions,ext-interrupts' with 'interrupts', as agreed with Rob and Marc Changes in v5: - Updated controller description statements both in the commit message and the binding doc .../actions,owl-sirq.yaml | 65 +++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 Documentation/devicetree/bindings/interrupt-controller/actions,owl-sirq.yaml diff --git a/Documentation/devicetree/bindings/interrupt-controller/actions,owl-sirq.yaml b/Documentation/devicetree/bindings/interrupt-controller/actions,owl-sirq.yaml new file mode 100644 index 000000000000..5da333c644c9 --- /dev/null +++ b/Documentation/devicetree/bindings/interrupt-controller/actions,owl-sirq.yaml @@ -0,0 +1,65 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/interrupt-controller/actions,owl-sirq.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Actions Semi Owl SoCs SIRQ interrupt controller + +maintainers: + - Manivannan Sadhasivam + - Cristian Ciocaltea + +description: | + This interrupt controller is found in the Actions Semi Owl SoCs (S500, S700 + and S900) and provides support for handling up to 3 external interrupt lines. + +properties: + compatible: + enum: + - actions,s500-sirq + - actions,s700-sirq + - actions,s900-sirq + + reg: + maxItems: 1 + + interrupt-controller: true + + '#interrupt-cells': + const: 2 + description: + The first cell is the input IRQ number, between 0 and 2, while the second + cell is the trigger type as defined in interrupt.txt in this directory. + + 'interrupts': + description: | + Contains the GIC SPI IRQs mapped to the external interrupt lines. + They shall be specified sequentially from output 0 to 2. + minItems: 3 + maxItems: 3 + +required: + - compatible + - reg + - interrupt-controller + - '#interrupt-cells' + - 'interrupts' + +additionalProperties: false + +examples: + - | + #include + + sirq: interrupt-controller@b01b0200 { + compatible = "actions,s500-sirq"; + reg = <0xb01b0200 0x4>; + interrupt-controller; + #interrupt-cells = <2>; + interrupts = , /* SIRQ0 */ + , /* SIRQ1 */ + ; /* SIRQ2 */ + }; + +... -- 2.28.0