Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/1.0/patches/1150685/?format=api
{ "id": 1150685, "url": "http://patchwork.ozlabs.org/api/1.0/patches/1150685/?format=api", "project": { "id": 37, "url": "http://patchwork.ozlabs.org/api/1.0/projects/37/?format=api", "name": "Devicetree Bindings", "link_name": "devicetree-bindings", "list_id": "devicetree.vger.kernel.org", "list_email": "devicetree@vger.kernel.org", "web_url": "", "scm_url": "", "webscm_url": "" }, "msgid": "<20190821082138.11049-2-mripard@kernel.org>", "date": "2019-08-21T08:21:38", "name": "[v2,2/2] dt-bindings: irq: Convert Allwinner NMI Controller to a schema", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "0b53f71ab32eb35565e34ac6740a4c5adcf1fad6", "submitter": { "id": 77141, "url": "http://patchwork.ozlabs.org/api/1.0/people/77141/?format=api", "name": "Maxime Ripard", "email": "mripard@kernel.org" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/devicetree-bindings/patch/20190821082138.11049-2-mripard@kernel.org/mbox/", "series": [ { "id": 126407, "url": "http://patchwork.ozlabs.org/api/1.0/series/126407/?format=api", "date": "2019-08-21T08:21:37", "name": "[v2,1/2] dt-bindings: irq: Convert Allwinner IRQ Controller to a schema", "version": 2, "mbox": "http://patchwork.ozlabs.org/series/126407/mbox/" } ], "check": "fail", "checks": "http://patchwork.ozlabs.org/api/patches/1150685/checks/", "tags": {}, "headers": { "Return-Path": "<devicetree-owner@vger.kernel.org>", "X-Original-To": "incoming-dt@patchwork.ozlabs.org", "Delivered-To": "patchwork-incoming-dt@bilbo.ozlabs.org", "Authentication-Results": [ "ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=vger.kernel.org\n\t(client-ip=209.132.180.67; helo=vger.kernel.org;\n\tenvelope-from=devicetree-owner@vger.kernel.org;\n\treceiver=<UNKNOWN>)", "ozlabs.org;\n\tdmarc=pass (p=none dis=none) header.from=kernel.org", "ozlabs.org; dkim=pass (1024-bit key;\n\tunprotected) header.d=kernel.org header.i=@kernel.org\n\theader.b=\"NYQThxDg\"; dkim-atps=neutral" ], "Received": [ "from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 46D0xm1n9sz9sBp\n\tfor <incoming-dt@patchwork.ozlabs.org>;\n\tWed, 21 Aug 2019 18:21:48 +1000 (AEST)", "(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1726962AbfHUIVr (ORCPT\n\t<rfc822;incoming-dt@patchwork.ozlabs.org>);\n\tWed, 21 Aug 2019 04:21:47 -0400", "from mail.kernel.org ([198.145.29.99]:44190 \"EHLO mail.kernel.org\"\n\trhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP\n\tid S1726960AbfHUIVr (ORCPT <rfc822;devicetree@vger.kernel.org>);\n\tWed, 21 Aug 2019 04:21:47 -0400", "from localhost (lfbn-1-17395-211.w86-250.abo.wanadoo.fr\n\t[86.250.200.211])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby mail.kernel.org (Postfix) with ESMTPSA id 0FCE72332A;\n\tWed, 21 Aug 2019 08:21:45 +0000 (UTC)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org;\n\ts=default; t=1566375706;\n\tbh=s6khMTMNTud2ZUJcSd/QD0CjoKrkbB6sXe6+ENqMLpQ=;\n\th=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n\tb=NYQThxDg3Xw5qjeOKJ99D5Y7m/pLFASeQyI4wOaAm/7U5FGVRbdm2vhKvIJZfbcoq\n\tYkAvBDljPrTv+cK1bBBNoOhrkm9CrNATLoacKnVVvGB3Gep+2Nkvb1FHCadRzVVupc\n\tPQILgKVL9i30Qz3Di3+BSziqHtg9GUZdlxcyKpxs=", "From": "Maxime Ripard <mripard@kernel.org>", "To": "Mark Rutland <mark.rutland@arm.com>, Rob Herring <robh+dt@kernel.org>,\n\tFrank Rowand <frowand.list@gmail.com>, tglx@linutronix.de,\n\tjason@lakedaemon.net, maz@kernel.org", "Cc": "devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,\n\tChen-Yu Tsai <wens@csie.org>, Maxime Ripard <mripard@kernel.org>,\n\tMaxime Ripard <maxime.ripard@bootlin.com>", "Subject": "[PATCH v2 2/2] dt-bindings: irq: Convert Allwinner NMI Controller\n\tto a schema", "Date": "Wed, 21 Aug 2019 10:21:38 +0200", "Message-Id": "<20190821082138.11049-2-mripard@kernel.org>", "X-Mailer": "git-send-email 2.21.0", "In-Reply-To": "<20190821082138.11049-1-mripard@kernel.org>", "References": "<20190821082138.11049-1-mripard@kernel.org>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Sender": "devicetree-owner@vger.kernel.org", "Precedence": "bulk", "List-ID": "<devicetree.vger.kernel.org>", "X-Mailing-List": "devicetree@vger.kernel.org" }, "content": "From: Maxime Ripard <maxime.ripard@bootlin.com>\n\nThe Allwinner SoCs have an interrupt controller called NMI supported in\nLinux, with a matching Device Tree binding.\n\nNow that we have the DT validation in place, let's convert the device tree\nbindings for that controller over to a YAML schemas.\n\nSigned-off-by: Maxime Ripard <maxime.ripard@bootlin.com>\n\n---\n\nChanges from v1:\n - Remove the custom select and rely on the deprecated property instead\n---\n .../allwinner,sun7i-a20-sc-nmi.yaml | 70 +++++++++++++++++++\n .../allwinner,sunxi-nmi.txt | 29 --------\n 2 files changed, 70 insertions(+), 29 deletions(-)\n create mode 100644 Documentation/devicetree/bindings/interrupt-controller/allwinner,sun7i-a20-sc-nmi.yaml\n delete mode 100644 Documentation/devicetree/bindings/interrupt-controller/allwinner,sunxi-nmi.txt", "diff": "diff --git a/Documentation/devicetree/bindings/interrupt-controller/allwinner,sun7i-a20-sc-nmi.yaml b/Documentation/devicetree/bindings/interrupt-controller/allwinner,sun7i-a20-sc-nmi.yaml\nnew file mode 100644\nindex 000000000000..0eccf5551786\n--- /dev/null\n+++ b/Documentation/devicetree/bindings/interrupt-controller/allwinner,sun7i-a20-sc-nmi.yaml\n@@ -0,0 +1,70 @@\n+# SPDX-License-Identifier: GPL-2.0\n+%YAML 1.2\n+---\n+$id: http://devicetree.org/schemas/interrupt-controller/allwinner,sun7i-a20-sc-nmi.yaml#\n+$schema: http://devicetree.org/meta-schemas/core.yaml#\n+\n+title: Allwinner A20 Non-Maskable Interrupt Controller Device Tree Bindings\n+\n+maintainers:\n+ - Chen-Yu Tsai <wens@csie.org>\n+ - Maxime Ripard <maxime.ripard@bootlin.com>\n+\n+allOf:\n+ - $ref: /schemas/interrupt-controller.yaml#\n+\n+properties:\n+ \"#interrupt-cells\":\n+ const: 2\n+ description:\n+ The first cell is the IRQ number, the second cell the trigger\n+ type as defined in interrupt.txt in this directory.\n+\n+ compatible:\n+ oneOf:\n+ - const: allwinner,sun6i-a31-r-intc\n+ - const: allwinner,sun6i-a31-sc-nmi\n+ deprecated: true\n+ - const: allwinner,sun7i-a20-sc-nmi\n+ - items:\n+ - const: allwinner,sun8i-a83t-r-intc\n+ - const: allwinner,sun6i-a31-r-intc\n+ - const: allwinner,sun9i-a80-sc-nmi\n+ - items:\n+ - const: allwinner,sun50i-a64-r-intc\n+ - const: allwinner,sun6i-a31-r-intc\n+ - items:\n+ - const: allwinner,sun50i-h6-r-intc\n+ - const: allwinner,sun6i-a31-r-intc\n+\n+ reg:\n+ maxItems: 1\n+\n+ interrupts:\n+ maxItems: 1\n+\n+ interrupt-controller: true\n+\n+required:\n+ - \"#interrupt-cells\"\n+ - compatible\n+ - reg\n+ - interrupts\n+ - interrupt-controller\n+\n+# FIXME: We should set it, but it would report all the generic\n+# properties as additional properties.\n+# additionalProperties: false\n+\n+examples:\n+ - |\n+ interrupt-controller@1c00030 {\n+ compatible = \"allwinner,sun7i-a20-sc-nmi\";\n+ interrupt-controller;\n+ #interrupt-cells = <2>;\n+ reg = <0x01c00030 0x0c>;\n+ interrupt-parent = <&gic>;\n+ interrupts = <0 0 4>;\n+ };\n+\n+...\ndiff --git a/Documentation/devicetree/bindings/interrupt-controller/allwinner,sunxi-nmi.txt b/Documentation/devicetree/bindings/interrupt-controller/allwinner,sunxi-nmi.txt\ndeleted file mode 100644\nindex 24beadf7ba83..000000000000\n--- a/Documentation/devicetree/bindings/interrupt-controller/allwinner,sunxi-nmi.txt\n+++ /dev/null\n@@ -1,29 +0,0 @@\n-Allwinner Sunxi NMI Controller\n-==============================\n-\n-Required properties:\n-\n-- compatible : should be one of the following:\n- - \"allwinner,sun7i-a20-sc-nmi\"\n- - \"allwinner,sun6i-a31-sc-nmi\" (deprecated)\n- - \"allwinner,sun6i-a31-r-intc\"\n- - \"allwinner,sun9i-a80-nmi\"\n-- reg : Specifies base physical address and size of the registers.\n-- interrupt-controller : Identifies the node as an interrupt controller\n-- #interrupt-cells : Specifies the number of cells needed to encode an\n- interrupt source. The value shall be 2. The first cell is the IRQ number, the\n- second cell the trigger type as defined in interrupt.txt in this directory.\n-- interrupts: Specifies the interrupt line (NMI) which is handled by\n- the interrupt controller in the parent controller's notation. This value\n- shall be the NMI.\n-\n-Example:\n-\n-sc-nmi-intc@1c00030 {\n-\tcompatible = \"allwinner,sun7i-a20-sc-nmi\";\n-\tinterrupt-controller;\n-\t#interrupt-cells = <2>;\n-\treg = <0x01c00030 0x0c>;\n-\tinterrupt-parent = <&gic>;\n-\tinterrupts = <0 0 4>;\n-};\n", "prefixes": [ "v2", "2/2" ] }