Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/814386/?format=api
{ "id": 814386, "url": "http://patchwork.ozlabs.org/api/patches/814386/?format=api", "web_url": "http://patchwork.ozlabs.org/project/devicetree-bindings/patch/20170915194421.403764714@cogentembedded.com/", "project": { "id": 37, "url": "http://patchwork.ozlabs.org/api/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": "", "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<20170915194421.403764714@cogentembedded.com>", "list_archive_url": null, "date": "2017-09-15T19:43:19", "name": "[v2,1/8] soc: renesas: rcar-sysc: add R8A77970 support", "commit_ref": null, "pull_url": null, "state": "not-applicable", "archived": true, "hash": "88c6f1e6df79e29579fd73a4c16b59a57ee33324", "submitter": { "id": 22564, "url": "http://patchwork.ozlabs.org/api/people/22564/?format=api", "name": "Sergei Shtylyov", "email": "sergei.shtylyov@cogentembedded.com" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/devicetree-bindings/patch/20170915194421.403764714@cogentembedded.com/mbox/", "series": [ { "id": 3372, "url": "http://patchwork.ozlabs.org/api/series/3372/?format=api", "web_url": "http://patchwork.ozlabs.org/project/devicetree-bindings/list/?series=3372", "date": "2017-09-15T19:43:18", "name": "Add Renesas R8A77970/Eagle board support", "version": 2, "mbox": "http://patchwork.ozlabs.org/series/3372/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/814386/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/814386/checks/", "tags": {}, "related": [], "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; receiver=<UNKNOWN>)", "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=cogentembedded-com.20150623.gappssmtp.com\n\theader.i=@cogentembedded-com.20150623.gappssmtp.com\n\theader.b=\"jgr/AEJB\"; dkim-atps=neutral" ], "Received": [ "from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3xv5Sr404Jz9s7g\n\tfor <incoming-dt@patchwork.ozlabs.org>;\n\tSat, 16 Sep 2017 05:44:28 +1000 (AEST)", "(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1751829AbdIOTo1 (ORCPT\n\t<rfc822;incoming-dt@patchwork.ozlabs.org>);\n\tFri, 15 Sep 2017 15:44:27 -0400", "from mail-lf0-f41.google.com ([209.85.215.41]:46805 \"EHLO\n\tmail-lf0-f41.google.com\" rhost-flags-OK-OK-OK-OK) by vger.kernel.org\n\twith ESMTP id S1751792AbdIOTo0 (ORCPT\n\t<rfc822; devicetree@vger.kernel.org>); Fri, 15 Sep 2017 15:44:26 -0400", "by mail-lf0-f41.google.com with SMTP id m199so3401968lfe.3\n\tfor <devicetree@vger.kernel.org>;\n\tFri, 15 Sep 2017 12:44:25 -0700 (PDT)", "from wasted.cogentembedded.com ([31.173.83.133])\n\tby smtp.gmail.com with ESMTPSA id\n\tr29sm337973lje.90.2017.09.15.12.44.22\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tFri, 15 Sep 2017 12:44:24 -0700 (PDT)", "by wasted.cogentembedded.com (sSMTP sendmail emulation);\n\tFri, 15 Sep 2017 22:44:21 +0300" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=cogentembedded-com.20150623.gappssmtp.com; s=20150623;\n\th=from:message-id:user-agent:date:to:cc:to:to:cc:subject:mime-version\n\t:content-disposition;\n\tbh=i5y1majjJJ2ZzKW4b0Yao20IOkjBSkfTIcCfYWHxbUY=;\n\tb=jgr/AEJBnXWZTOKP9efqKN9ZwHGmMRhAIVnHvOYnnqZ/vD+wpPVRHVlVVbN9r4mhV7\n\tLNWq8SHIWqXSw1jywUmoap7zcp1hTfmybt+QEsDbkcxW7b6J28Dk+i7R5xohV33srRhD\n\tFso5Lq97gEYmRe7Ad1GQjZF+bDOSjuHLsXyDbbvWHpe2KBigm0YV9v99x5jbSoLPd5oN\n\tyqIU3W+1NAQFtyy0fqLZAhcskBlUlXtUN9qHupTV7UfTNB64VaBXQWq9gJOy3nudeec6\n\tXh5Eg9XV8tFjDSN/IsF2BMLAtBpth+I+9yh95fpW+sKpTo3GWkWKUEQz5RrDmvFtIqBh\n\tvo9Q==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:message-id:user-agent:date:to:cc:to:to:cc\n\t:subject:mime-version:content-disposition;\n\tbh=i5y1majjJJ2ZzKW4b0Yao20IOkjBSkfTIcCfYWHxbUY=;\n\tb=GIPbnDfUxQtOSrLK2yrVWov4X5K+ykRGSjRDEP5BQNYPnw0YbaSfPmp1BeqDcX6gXR\n\tYXaO7MVnr5TlJMb77fUQLvbDyjbsI7+g4EKOUIVGy8pb009T7h1AXrOzauTnoCrnO/T4\n\tdyy+RHdmD1UHRUhdjOmCyAtaVIhQtJ8iXOXXUQibcAf19ttYranC8siL6Xy5B7DGmp9M\n\tsAL3XYpei3AXmpQDPDLgEQdbGPMEU0ACvxk3wlL0HjJCKSletTYk5NnSHbmC/0mKm3P1\n\twWuW7eUA4zt6AV8YJE4zKMaTYwJMSD3ZdMT2fJYCM/e9pwkqI6MNeC1ue0juxxmoLzK0\n\tsiIg==", "X-Gm-Message-State": "AHPjjUgYbdHqh6igN1/BKL4Ik+QIluT9M3ICNdFh1aZLOJrAn7596LyE\n\tPN4dA2v/rRFeSsKmo6tmnQ==", "X-Google-Smtp-Source": "AOwi7QAKP7nobGJH5Lz0NxYcYX52zdR09CQ1ibEch2EuFuQzF2OXomi+KNUZP7Qd1ZSyAHyODORXQg==", "X-Received": "by 10.46.64.142 with SMTP id r14mr3682131lje.192.1505504665292; \n\tFri, 15 Sep 2017 12:44:25 -0700 (PDT)", "From": "Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>", "X-Google-Original-From": "\"Sergei Shtylyov\"\n\t<headless@wasted.cogentembedded.com>", "Message-Id": "<20170915194421.403764714@cogentembedded.com>", "User-Agent": "quilt/0.64", "Date": "Fri, 15 Sep 2017 22:43:19 +0300", "To": [ "Rob Herring <robh+dt@kernel.org>,\n\tSimon Horman <horms@verge.net.au>, devicetree@vger.kernel.org,\n\tlinux-renesas-soc@vger.kernel.org", "Catalin Marinas <catalin.marinas@arm.com>", "Will Deacon <will.deacon@arm.com>" ], "Cc": [ "Mark Rutland <mark.rutland@arm.com>, Magnus Damm <magnus.damm@gmail.com>,\n\tVladimir Barinov <vladimir.barinov@cogentembedded.com>,\n\tSergei Shtylyov <sergei.shtylyov@cogentembedded.com>,\n\tGeert Uytterhoeven <geert+renesas@glider.be>", "linux-arm-kernel@lists.infradead.org" ], "Subject": "[PATCH v2 1/8] soc: renesas: rcar-sysc: add R8A77970 support", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=ISO-8859-15", "Content-Disposition": "inline;\n\tfilename=soc-renesas-rcar-sysc-add-R8A77970-support-v2.patch", "Sender": "devicetree-owner@vger.kernel.org", "Precedence": "bulk", "List-ID": "<devicetree.vger.kernel.org>", "X-Mailing-List": "devicetree@vger.kernel.org" }, "content": "Add support for R-Car V3M (R8A77970) SoC power areas to the R-Car SYSC\ndriver.\n\nBased on the original (and large) patch by Daisuke Matsushita\n<daisuke.matsushita.ns@hitachi.com>.\n\nSigned-off-by: Vladimir Barinov <vladimir.barinov@cogentembedded.com>\nSigned-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>\nReviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>\n\n---\nChanges in version 2:\n- removed #include <linux/bug.h>;\n- fixed the parents for the A2IR[0123] and A2SC[01] power domains;\n- added Geert's tag.\n\n Documentation/devicetree/bindings/power/renesas,rcar-sysc.txt | 1 \n drivers/soc/renesas/Kconfig | 5 +\n drivers/soc/renesas/Makefile | 1 \n drivers/soc/renesas/r8a77970-sysc.c | 38 ++++++++++\n drivers/soc/renesas/rcar-sysc.c | 3 \n drivers/soc/renesas/rcar-sysc.h | 1 \n 6 files changed, 49 insertions(+)\n\n\n--\nTo unsubscribe from this list: send the line \"unsubscribe devicetree\" in\nthe body of a message to majordomo@vger.kernel.org\nMore majordomo info at http://vger.kernel.org/majordomo-info.html", "diff": "Index: renesas/Documentation/devicetree/bindings/power/renesas,rcar-sysc.txt\n===================================================================\n--- renesas.orig/Documentation/devicetree/bindings/power/renesas,rcar-sysc.txt\n+++ renesas/Documentation/devicetree/bindings/power/renesas,rcar-sysc.txt\n@@ -17,6 +17,7 @@ Required properties:\n - \"renesas,r8a7794-sysc\" (R-Car E2)\n - \"renesas,r8a7795-sysc\" (R-Car H3)\n - \"renesas,r8a7796-sysc\" (R-Car M3-W)\n+ - \"renesas,r8a77970-sysc\" (R-Car V3M)\n - \"renesas,r8a77995-sysc\" (R-Car D3)\n - reg: Address start and address range for the device.\n - #power-domain-cells: Must be 1.\nIndex: renesas/drivers/soc/renesas/Kconfig\n===================================================================\n--- renesas.orig/drivers/soc/renesas/Kconfig\n+++ renesas/drivers/soc/renesas/Kconfig\n@@ -14,6 +14,7 @@ config SOC_RENESAS\n \tselect SYSC_R8A7794 if ARCH_R8A7794\n \tselect SYSC_R8A7795 if ARCH_R8A7795\n \tselect SYSC_R8A7796 if ARCH_R8A7796\n+\tselect SYSC_R8A77970 if ARCH_R8A77970\n \tselect SYSC_R8A77995 if ARCH_R8A77995\n \n if SOC_RENESAS\n@@ -55,6 +56,10 @@ config SYSC_R8A7796\n \tbool \"R-Car M3-W System Controller support\" if COMPILE_TEST\n \tselect SYSC_RCAR\n \n+config SYSC_R8A77970\n+\tbool \"R-Car V3M System Controller support\" if COMPILE_TEST\n+\tselect SYSC_RCAR\n+\n config SYSC_R8A77995\n \tbool \"R-Car D3 System Controller support\" if COMPILE_TEST\n \tselect SYSC_RCAR\nIndex: renesas/drivers/soc/renesas/Makefile\n===================================================================\n--- renesas.orig/drivers/soc/renesas/Makefile\n+++ renesas/drivers/soc/renesas/Makefile\n@@ -11,6 +11,7 @@ obj-$(CONFIG_SYSC_R8A7792)\t+= r8a7792-sy\n obj-$(CONFIG_SYSC_R8A7794)\t+= r8a7794-sysc.o\n obj-$(CONFIG_SYSC_R8A7795)\t+= r8a7795-sysc.o\n obj-$(CONFIG_SYSC_R8A7796)\t+= r8a7796-sysc.o\n+obj-$(CONFIG_SYSC_R8A77970)\t+= r8a77970-sysc.o\n obj-$(CONFIG_SYSC_R8A77995)\t+= r8a77995-sysc.o\n \n # Family\nIndex: renesas/drivers/soc/renesas/r8a77970-sysc.c\n===================================================================\n--- /dev/null\n+++ renesas/drivers/soc/renesas/r8a77970-sysc.c\n@@ -0,0 +1,38 @@\n+/*\n+ * Renesas R-Car V3M System Controller\n+ *\n+ * Copyright (C) 2017 Cogent Embedded Inc.\n+ *\n+ * This program is free software; you can redistribute it and/or modify\n+ * it under the terms of the GNU General Public License version 2 as\n+ * published by the Free Software Foundation.\n+ */\n+\n+#include <linux/kernel.h>\n+\n+#include <dt-bindings/power/r8a77970-sysc.h>\n+\n+#include \"rcar-sysc.h\"\n+\n+static const struct rcar_sysc_area r8a77970_areas[] __initconst = {\n+\t{ \"always-on\",\t 0, 0, R8A77970_PD_ALWAYS_ON, -1, PD_ALWAYS_ON },\n+\t{ \"ca53-scu\",\t0x140, 0, R8A77970_PD_CA53_SCU,\tR8A77970_PD_ALWAYS_ON,\n+\t PD_SCU },\n+\t{ \"ca53-cpu0\",\t0x200, 0, R8A77970_PD_CA53_CPU0, R8A77970_PD_CA53_SCU,\n+\t PD_CPU_NOCR },\n+\t{ \"ca53-cpu1\",\t0x200, 1, R8A77970_PD_CA53_CPU1, R8A77970_PD_CA53_SCU,\n+\t PD_CPU_NOCR },\n+\t{ \"cr7\",\t0x240, 0, R8A77970_PD_CR7,\tR8A77970_PD_ALWAYS_ON },\n+\t{ \"a3ir\",\t0x180, 0, R8A77970_PD_A3IR,\tR8A77970_PD_ALWAYS_ON },\n+\t{ \"a2ir0\",\t0x400, 0, R8A77970_PD_A2IR0,\tR8A77970_PD_A3IR },\n+\t{ \"a2ir1\",\t0x400, 1, R8A77970_PD_A2IR1,\tR8A77970_PD_A3IR },\n+\t{ \"a2ir2\",\t0x400, 2, R8A77970_PD_A2IR2,\tR8A77970_PD_A3IR },\n+\t{ \"a2ir3\",\t0x400, 3, R8A77970_PD_A2IR3,\tR8A77970_PD_A3IR },\n+\t{ \"a2sc0\",\t0x400, 4, R8A77970_PD_A2SC0,\tR8A77970_PD_A3IR },\n+\t{ \"a2sc1\",\t0x400, 5, R8A77970_PD_A2SC1,\tR8A77970_PD_A3IR },\n+};\n+\n+const struct rcar_sysc_info r8a77970_sysc_info __initconst = {\n+\t.areas = r8a77970_areas,\n+\t.num_areas = ARRAY_SIZE(r8a77970_areas),\n+};\nIndex: renesas/drivers/soc/renesas/rcar-sysc.c\n===================================================================\n--- renesas.orig/drivers/soc/renesas/rcar-sysc.c\n+++ renesas/drivers/soc/renesas/rcar-sysc.c\n@@ -284,6 +284,9 @@ static const struct of_device_id rcar_sy\n #ifdef CONFIG_SYSC_R8A7796\n \t{ .compatible = \"renesas,r8a7796-sysc\", .data = &r8a7796_sysc_info },\n #endif\n+#ifdef CONFIG_SYSC_R8A77970\n+\t{ .compatible = \"renesas,r8a77970-sysc\", .data = &r8a77970_sysc_info },\n+#endif\n #ifdef CONFIG_SYSC_R8A77995\n \t{ .compatible = \"renesas,r8a77995-sysc\", .data = &r8a77995_sysc_info },\n #endif\nIndex: renesas/drivers/soc/renesas/rcar-sysc.h\n===================================================================\n--- renesas.orig/drivers/soc/renesas/rcar-sysc.h\n+++ renesas/drivers/soc/renesas/rcar-sysc.h\n@@ -58,6 +58,7 @@ extern const struct rcar_sysc_info r8a77\n extern const struct rcar_sysc_info r8a7794_sysc_info;\n extern const struct rcar_sysc_info r8a7795_sysc_info;\n extern const struct rcar_sysc_info r8a7796_sysc_info;\n+extern const struct rcar_sysc_info r8a77970_sysc_info;\n extern const struct rcar_sysc_info r8a77995_sysc_info;\n \n \n", "prefixes": [ "v2", "1/8" ] }