From patchwork Mon Jan 21 12:16:52 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 10773761 X-Patchwork-Delegate: horms@verge.net.au Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 5B6886C2 for ; Mon, 21 Jan 2019 12:16:20 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4A79329B70 for ; Mon, 21 Jan 2019 12:16:20 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3E8F929E40; Mon, 21 Jan 2019 12:16:20 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D3FD529B70 for ; Mon, 21 Jan 2019 12:16:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728273AbfAUMQT (ORCPT ); Mon, 21 Jan 2019 07:16:19 -0500 Received: from mail-pg1-f173.google.com ([209.85.215.173]:39831 "EHLO mail-pg1-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728216AbfAUMQT (ORCPT ); Mon, 21 Jan 2019 07:16:19 -0500 Received: by mail-pg1-f173.google.com with SMTP id w6so9420242pgl.6 for ; Mon, 21 Jan 2019 04:16:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:date:message-id:in-reply-to:references:subject; bh=gbGVJCSfWeOWmhjUsBz/qmJHeQFWPlFKmdPVIDFcYlA=; b=EPTYt0JYU+PHzpClwyOtoWGTOL/jbC67NR4bXmryi6W+nkDFPlX8r4BaOzryGYzL0V 7SXUAWhSkgVrwymUDqm7g+1zsj3BEycRk+xNP3hIb2INOD91Xu5mQe2OUq0ykERez3+M u9QyINWu90av79pGrd3eQ/N5UJJxJMX9wElshLn4VXTJSRkY+D6WcVKuMv8s/navYQ8k HAQr1bj/bex9wuNmXO5knPMCKEgVYrSObQcoxh8Nk1y0yzrFMFe/4ejaoqElqJFf83jk tFql8rL23sO5d1GiwyniOj0evwItd2Ofkq8Ynv0hs3kb21ylg3l9Dcs774EliatlNnt9 biuw== 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:date:message-id:in-reply-to :references:subject; bh=gbGVJCSfWeOWmhjUsBz/qmJHeQFWPlFKmdPVIDFcYlA=; b=oN8Q5D6pH8lJjRv4NUoD7j/qUhbLVIik2CVrn/6QGJOF/hLc7gB/2JsCXWkB8Ct1Xg ihHhfUrvhtZQfPTA5g5cHgBDKyms4/WMcszCdLKMVGkwo8ccSEQW/9lC/lE5Kqw/2IM5 3RzQZJ2e1DgPnI6usnn9LziZDaP9Ukccl5ygYt2ZPtSIRoxxg5PTv9Jdfh+0fxL2PMUJ /hfr/KRFnEOlbEKxK/RJ/PmOxMiOS4VTYfenzgEbZT/z2oYFl0MSVbUc8yG9qEfYCAbh d1pLi74a366TgyjqlT/DFkxKuih7rXb+/CCycgkPXEoT/2oAOsiKZqQczFUqZrZX1NFx N3Kg== X-Gm-Message-State: AJcUukcMl5M6nYPUAWoOvTcrpiz6Ha0ROqLLNGa3AWKCcHjGUsTB+Mhy oipxVVd0JPTmggeTZyuc/sWqeuhs X-Google-Smtp-Source: ALg8bN6P47WPyzm1UKwKqEsynIZ6yq44GQEfdlEp8XBuXUf9S/g7O231oUIAwDOgzYsf8xFMoOVseA== X-Received: by 2002:a63:955a:: with SMTP id t26mr28273625pgn.449.1548072973275; Mon, 21 Jan 2019 04:16:13 -0800 (PST) Received: from [127.0.0.1] (30.net042126252.t-com.ne.jp. [42.126.252.30]) by smtp.gmail.com with ESMTPSA id r4sm26528312pgn.54.2019.01.21.04.16.11 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 21 Jan 2019 04:16:12 -0800 (PST) From: Magnus Damm To: linux-renesas-soc@vger.kernel.org Cc: Magnus Damm Date: Mon, 21 Jan 2019 21:16:52 +0900 Message-Id: <154807301237.2406.6258610622802083286.sendpatchset@octo> In-Reply-To: <154807300302.2406.14245640502137089757.sendpatchset@octo> References: <154807300302.2406.14245640502137089757.sendpatchset@octo> Subject: [PATCH/RFC 01/06] Prototype code for IMP-X5 Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Magnus Damm Prototype code to read out the IMP-X5 register settings at probe() time. Not for upstream merge. Not-Yet-Signed-off-by: Magnus Damm --- drivers/soc/renesas/Makefile | 2 drivers/soc/renesas/renesas-test-imp-x5.c | 77 +++++++++++++++++++++++++++++ 2 files changed, 78 insertions(+), 1 deletion(-) --- 0001/drivers/soc/renesas/Makefile +++ work/drivers/soc/renesas/Makefile 2019-01-21 19:52:18.929754637 +0900 @@ -1,6 +1,6 @@ # SPDX-License-Identifier: GPL-2.0 # Generic, must be first because of soc_device_register() -obj-$(CONFIG_SOC_RENESAS) += renesas-soc.o +obj-$(CONFIG_SOC_RENESAS) += renesas-soc.o renesas-test-imp-x5.o # SoC obj-$(CONFIG_SYSC_R8A7743) += r8a7743-sysc.o --- /dev/null +++ work/drivers/soc/renesas/renesas-test-imp-x5.c 2019-01-21 20:21:30.895607391 +0900 @@ -0,0 +1,77 @@ +#include +#include +#include +#include +#include +#include +#include +#include + +static const struct of_device_id imp_x5_of_match[] = { + { .compatible = "renesas,imp-x5" }, + { /* sentinel */ } +}; +MODULE_DEVICE_TABLE(of, imp_x5_of_match); + +static void imp_x5_dump_line(unsigned long addr, void __iomem *base, int offs) +{ + unsigned int buf[4]; + char pfx[16]; + int i; + + for (i = 0; i < 4; i++) + buf[i] = ioread32(base + offs + i); + + snprintf(pfx, sizeof(pfx), "0x%08lx: ", addr + offs); + + print_hex_dump(KERN_DEBUG, pfx, 0, 16, 1, &buf[0], 16, true); +} + +static void imp_x5_dump(unsigned long addr, void __iomem *base, int length) +{ + int i; + + for (i = 0; i < length; i += 16) + imp_x5_dump_line(addr, base, i); +} + +static int imp_x5_probe(struct platform_device *pdev) +{ + struct device *dev = &pdev->dev; + struct resource *res; + void __iomem *base; + int i; + + res = platform_get_resource(pdev, IORESOURCE_MEM, 0); + base = devm_ioremap_resource(dev, res); + if (IS_ERR(base)) { + dev_warn(dev, "unable to map imp-x5 registers\n"); + return PTR_ERR(base); + } + + pm_runtime_enable(dev); + pm_runtime_get_sync(dev); + + printk("IMP-X5 test: dumping registers\n"); + + for (i = 0; i < resource_size(res) && i < 0x300000; i += 0x100000) + imp_x5_dump(res->start + i, base + i, 64); + + pm_runtime_put(dev); + pm_runtime_disable(dev); + + return -ENODEV; +} + +static struct platform_driver imp_x5_driver = { + .driver = { + .name = "renesas-imp-x5", + .of_match_table = of_match_ptr(imp_x5_of_match), + }, + .probe = imp_x5_probe, +}; + +module_platform_driver(imp_x5_driver); + +MODULE_DESCRIPTION("Renesas IMP-X5 test driver"); +MODULE_LICENSE("GPL v2"); From patchwork Mon Jan 21 12:17:02 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 10773763 X-Patchwork-Delegate: horms@verge.net.au Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 127BC6C2 for ; Mon, 21 Jan 2019 12:16:25 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 02B2629E37 for ; Mon, 21 Jan 2019 12:16:25 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EA84429B70; Mon, 21 Jan 2019 12:16:24 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BEA1529B70 for ; Mon, 21 Jan 2019 12:16:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728318AbfAUMQX (ORCPT ); Mon, 21 Jan 2019 07:16:23 -0500 Received: from mail-pl1-f169.google.com ([209.85.214.169]:40557 "EHLO mail-pl1-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728216AbfAUMQX (ORCPT ); Mon, 21 Jan 2019 07:16:23 -0500 Received: by mail-pl1-f169.google.com with SMTP id u18so9768186plq.7 for ; Mon, 21 Jan 2019 04:16:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:date:message-id:in-reply-to:references:subject; bh=q5w07PKUD+GXLn9Oet5Etfn7VxU5o5CZ0QOKhyqv+rs=; b=qp06ckZ4h7oqsSK9MOUHCd6JVIFg+ZCkeNrQp/0E9p3trfcDXK0NkXUFgxqnROvS7y oe6PqNDxHqsyaVKS5FxG3oDWZDPbzPuYqhxTauqlShvtBoMIlaNQKI8yJisz534S5e3S Pu1Dr4N4kZawJ0KqMXeG06jhpUD243mzsmZ4EjWKsz+eHaNCuenI27fojCd3n5bXSxrx 1PqueaodfZOI5Onjqiyatft0jnA+6vVjBj+ihyXCvu+Jk7AKA9qCkh7stelUmNQP/v8T FCOyhpq96aD15y0CNZ9C0iYIQex33J/4QH1Y71ph/isRBNDFaqS1uo14WhtIQlr3ukHL Crug== 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:date:message-id:in-reply-to :references:subject; bh=q5w07PKUD+GXLn9Oet5Etfn7VxU5o5CZ0QOKhyqv+rs=; b=D6PWeE4KVCfb21IT1DTzTdUV+5m1dAYU4gC/rZM0VCK0l8ZwN5Vv2DAo6Uf/0VMzuo N51oV+QHf5UEX4ELlye6KaEJBW6ib6PhxV/NevaLJH9Ri5Fj58B/ZE7HF+mFgOX4PCL9 at0AcDZEIci9/xwDgB71JWnq9UTNLDM3HSH/J2wQa+0nsxD6WVVSpUcqV/ElQwGWO7VX mfA1RCI3YeBK64J1nj4u9hIJ0qbfaLLeyVSx955kQZNv9PYUftF7JxvHfVzeq1KvbhIT JoHoDdBqAhrblbHE5gO/qLqxVXqUhZKdjnc8UvTH09K8OaJbu1dbhXgbtl8skcBdrgZ9 1rPg== X-Gm-Message-State: AJcUukePpaGDqlc0CWppJOIwgZO0AViNM2BicFDpaser+pGDRU3v8xnq AXXk0H/ThOUsJaOccyKulVO90Z7p X-Google-Smtp-Source: ALg8bN46j/07d9Zc1+qkzSdx89zGP2jeUIQgiFfxcp5JyMPeNYnTelRIiqk5iSGnvzyTpQglDtDd5w== X-Received: by 2002:a17:902:28c1:: with SMTP id f59mr29993966plb.37.1548072982477; Mon, 21 Jan 2019 04:16:22 -0800 (PST) Received: from [127.0.0.1] (30.net042126252.t-com.ne.jp. [42.126.252.30]) by smtp.gmail.com with ESMTPSA id q7sm14521311pgp.40.2019.01.21.04.16.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 21 Jan 2019 04:16:21 -0800 (PST) From: Magnus Damm To: linux-renesas-soc@vger.kernel.org Cc: Magnus Damm Date: Mon, 21 Jan 2019 21:17:02 +0900 Message-Id: <154807302232.2406.722617617564299820.sendpatchset@octo> In-Reply-To: <154807300302.2406.14245640502137089757.sendpatchset@octo> References: <154807300302.2406.14245640502137089757.sendpatchset@octo> Subject: [PATCH/RFC 02/06] arm64: dts: renesas: r8a7795: One IMP-X5 device for R-Car H3 Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Magnus Damm Add an IMP-X5 device node to the r8a7795 device tree source. Not for upstream merge. Not-Yet-Signed-off-by: Magnus Damm --- arch/arm64/boot/dts/renesas/r8a7795.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) --- 0002/arch/arm64/boot/dts/renesas/r8a7795.dtsi +++ work/arch/arm64/boot/dts/renesas/r8a7795.dtsi 2019-01-21 19:36:29.978002626 +0900 @@ -3047,6 +3047,15 @@ }; }; + imp-x5@ff900000 { + compatible = "renesas,imp-x5"; + reg = <0 0xff900000 0 0x300000>; + interrupts = ; + clocks = <&cpg CPG_MOD 824>; + power-domains = <&sysc R8A7795_PD_A3IR>; + resets = <&cpg 824>; + }; + prr: chipid@fff00044 { compatible = "renesas,prr"; reg = <0 0xfff00044 0 4>; From patchwork Mon Jan 21 12:17:11 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 10773765 X-Patchwork-Delegate: horms@verge.net.au Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 63C71746 for ; Mon, 21 Jan 2019 12:16:33 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5205729B70 for ; Mon, 21 Jan 2019 12:16:33 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4560D29E40; Mon, 21 Jan 2019 12:16:33 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E56A729B70 for ; Mon, 21 Jan 2019 12:16:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728272AbfAUMQc (ORCPT ); Mon, 21 Jan 2019 07:16:32 -0500 Received: from mail-pf1-f178.google.com ([209.85.210.178]:33748 "EHLO mail-pf1-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728216AbfAUMQc (ORCPT ); Mon, 21 Jan 2019 07:16:32 -0500 Received: by mail-pf1-f178.google.com with SMTP id c123so10089353pfb.0 for ; Mon, 21 Jan 2019 04:16:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:date:message-id:in-reply-to:references:subject; bh=9bMX+T58iHCJaQTXIGUE6KFc7TFlb/uhWWwVtrnMKe8=; b=KYuSwr2uBd9EYJrB8quwtk1TEpMJYZTEej2TGnkUMK9rf4L8f1whuty8MQc45Jbr0r 7GirHuwYX6qRk5v3d90j0tX/aC92k39erZvSnCsvsmDOe8UZiZVyIla0ruCr7d8z9I9Z wG+L/Lo6d3whvo7YqzhFjbVXDT4q/ARWTb2Q6KO7QLZM/Sqf1f0p+ENJgOqJ3Ne0LaIq WIE+RsY9qeE+n/ElhZ6xESsUq38vEY5m5k9PcTD/albDe5T2pZ6kuU5EIVhq6PyXl/ru OXplGYysTTqqRRIpbeh0D+epQNvbla50QdWelXk8hT3C2PheIZdBRhoQyzgChfbOUkKY hUFg== 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:date:message-id:in-reply-to :references:subject; bh=9bMX+T58iHCJaQTXIGUE6KFc7TFlb/uhWWwVtrnMKe8=; b=RJDDXhHqGvjzJJ36RV3XAL3bkIVpYNnwkJ5nphPY1ZrR0lN0vrRb98OWRHs417T3de z2FbXbUrDF1V6osQFltvD6UZcG8NGSZN9l30h3ZyUeigtOvTGvpATZsf1U6HU9RhYL4Y XI27ptQqRsqUZlbf2rLrePbbmMJ23pQfzGLCbFge44ktFo/vNndF7Sa9ES2VJF2yrlcj ZBaeqIqqd43rmMNOVtJAxDeJRRGRXUXq+sRf0OTVbiU7+OxrKWOfuBLcffBdhHC2deaJ ec+auefOMbTITmdutVxB84vGMBM5AmU2IaJln9Qe8MEhUTV5RKPl6VbPWJIYvI0Cok3i RjWg== X-Gm-Message-State: AJcUuke47PzvvhijDwp5oqSGiwX/+MGehADeeaibM1AyUoB1WRFlu8dD bHfoZqRoOFUnT25/ah27SqGY6MEJ X-Google-Smtp-Source: ALg8bN5GNZVgIOkiEk7Cy2J/RrAj0XyMsFXbDu0UMl+4wb1SXhL+OpkeQA4LkDDIeOrurzoQnvVlEw== X-Received: by 2002:a62:db41:: with SMTP id f62mr30052481pfg.123.1548072991692; Mon, 21 Jan 2019 04:16:31 -0800 (PST) Received: from [127.0.0.1] (30.net042126252.t-com.ne.jp. [42.126.252.30]) by smtp.gmail.com with ESMTPSA id d129sm27747727pfc.31.2019.01.21.04.16.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 21 Jan 2019 04:16:30 -0800 (PST) From: Magnus Damm To: linux-renesas-soc@vger.kernel.org Cc: Magnus Damm Date: Mon, 21 Jan 2019 21:17:11 +0900 Message-Id: <154807303153.2406.5961455669905578679.sendpatchset@octo> In-Reply-To: <154807300302.2406.14245640502137089757.sendpatchset@octo> References: <154807300302.2406.14245640502137089757.sendpatchset@octo> Subject: [PATCH/RFC 03/06] arm64: dts: renesas: r8a7796: One IMP-X5 device for R-Car M3-W Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Magnus Damm Add an IMP-X5 device node to the r8a7796 device tree source. Not for upstream merge. Not-Yet-Signed-off-by: Magnus Damm --- arch/arm64/boot/dts/renesas/r8a7796.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) --- 0003/arch/arm64/boot/dts/renesas/r8a7796.dtsi +++ work/arch/arm64/boot/dts/renesas/r8a7796.dtsi 2019-01-21 19:38:59.092820475 +0900 @@ -2791,6 +2791,15 @@ }; }; + imp-x5@ff900000 { + compatible = "renesas,imp-x5"; + reg = <0 0xff900000 0 0x300000>; + interrupts = ; + clocks = <&cpg CPG_MOD 824>; + power-domains = <&sysc R8A7796_PD_A3IR>; + resets = <&cpg 824>; + }; + prr: chipid@fff00044 { compatible = "renesas,prr"; reg = <0 0xfff00044 0 4>; From patchwork Mon Jan 21 12:17:20 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 10773767 X-Patchwork-Delegate: horms@verge.net.au Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 2F5AB746 for ; Mon, 21 Jan 2019 12:16:43 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1E56B29B70 for ; Mon, 21 Jan 2019 12:16:43 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0F7D129E40; Mon, 21 Jan 2019 12:16:43 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 00E4729B70 for ; Mon, 21 Jan 2019 12:16:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728281AbfAUMQl (ORCPT ); Mon, 21 Jan 2019 07:16:41 -0500 Received: from mail-pl1-f179.google.com ([209.85.214.179]:43969 "EHLO mail-pl1-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728273AbfAUMQl (ORCPT ); Mon, 21 Jan 2019 07:16:41 -0500 Received: by mail-pl1-f179.google.com with SMTP id gn14so9761361plb.10 for ; Mon, 21 Jan 2019 04:16:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:date:message-id:in-reply-to:references:subject; bh=eukN8Mk2ufFTHkODs7L/p9FzDKoUgGio3EqYQhOKQh4=; b=UDEcFWYyh9+Jrkupdh26339euvEOkaZGcdMwwaI6cIq/qYgTrtCUdipEQHrTPlueJn M5bbcFhogix29/3vMXCnwMOIevZ2a/7ZQZkOQ4xVA9yvnx+8qW2bQDj2Ujtua+YpvSx7 bxMu/edVfx6R7Ex51+9YbEZME4qC16JF/rltAlfyYiMGuqKvWQWvutp2uSrwVndLVMdB K1y5Nmj/gWWKIiFm0NDpBDt71i7C0gOXnT3aHrX7BJoJgXWnYEUjuc58PGGfTPFj7BiC hkZexFXp7mo9f9DFHcKzbWKDOrs8njPfd4L4DNVY0XPzUHK8Zv4Gxrh042JyNgmIhU29 o+Wg== 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:date:message-id:in-reply-to :references:subject; bh=eukN8Mk2ufFTHkODs7L/p9FzDKoUgGio3EqYQhOKQh4=; b=Q0/pB0wXgmOdDu8H9cwoK+HI3ARsaWIdnDJgt4uO8605twlWQHUqT2mhjLNqR/a46G I0yB+soauvadwwtKXRTPPrdnQC8ALUCPYKoLW0SmuswadOKEvIzw5Uqpj+q0+3jgUXMe 0v9NFMBDmwIP4opKScQed2vjisFEh5wr/oGAp7IkLdbEGfOjKhjufRlUPja+6m/K6d8w /YQea6vvfntqmwrCTktK8H/DWMcMSBQdBZRhMNJk1jRvnr8n/3BCPxhfPCzVmsuDSyZb KzUjikdaUSLhPWaXs1acZ+DyvLlpJGYILgYXr4uv3OlrOs20EN8TbI3NO9jCw95Afdfb 9FpQ== X-Gm-Message-State: AJcUukc2ByREeXGV/ZQW4av6cI1c3sIE8uu3bOvyk7aYRXfgamklUsb8 ywuP1CU9xU+i+nhyHaIH547dUMor X-Google-Smtp-Source: ALg8bN6zYhtZfqMS0DO7j9epoEiO6ExjzK5IG1Z149bmMUhBhGTRoIYHHzdaMVaXXBwUKBhfiDXaNA== X-Received: by 2002:a17:902:be11:: with SMTP id r17mr8103775pls.308.1548073000849; Mon, 21 Jan 2019 04:16:40 -0800 (PST) Received: from [127.0.0.1] (30.net042126252.t-com.ne.jp. [42.126.252.30]) by smtp.gmail.com with ESMTPSA id c13sm23377391pfe.93.2019.01.21.04.16.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 21 Jan 2019 04:16:39 -0800 (PST) From: Magnus Damm To: linux-renesas-soc@vger.kernel.org Cc: Magnus Damm Date: Mon, 21 Jan 2019 21:17:20 +0900 Message-Id: <154807304072.2406.16351833254213213580.sendpatchset@octo> In-Reply-To: <154807300302.2406.14245640502137089757.sendpatchset@octo> References: <154807300302.2406.14245640502137089757.sendpatchset@octo> Subject: [PATCH/RFC 04/06] arm64: dts: renesas: r8a77965: One IMP-X5 device for R-Car M3-N Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Magnus Damm Add an IMP-X5 device node to the r8a77965 device tree source. Not for upstream merge. Not-Yet-Signed-off-by: Magnus Damm --- arch/arm64/boot/dts/renesas/r8a77965.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) --- 0001/arch/arm64/boot/dts/renesas/r8a77965.dtsi +++ work/arch/arm64/boot/dts/renesas/r8a77965.dtsi 2019-01-21 19:42:00.129311931 +0900 @@ -2225,6 +2225,15 @@ }; }; + imp-x5@ff900000 { + compatible = "renesas,imp-x5"; + reg = <0 0xff900000 0 0x300000>; + interrupts = ; + clocks = <&cpg CPG_MOD 824>; + power-domains = <&sysc R8A77965_PD_A3IR>; + resets = <&cpg 824>; + }; + prr: chipid@fff00044 { compatible = "renesas,prr"; reg = <0 0xfff00044 0 4>; From patchwork Mon Jan 21 12:17:29 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 10773769 X-Patchwork-Delegate: horms@verge.net.au Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id E30F06C2 for ; Mon, 21 Jan 2019 12:16:52 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D140329B70 for ; Mon, 21 Jan 2019 12:16:52 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C5C9129E40; Mon, 21 Jan 2019 12:16:52 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BBD5B29B70 for ; Mon, 21 Jan 2019 12:16:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728268AbfAUMQv (ORCPT ); Mon, 21 Jan 2019 07:16:51 -0500 Received: from mail-pg1-f175.google.com ([209.85.215.175]:36015 "EHLO mail-pg1-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728216AbfAUMQv (ORCPT ); Mon, 21 Jan 2019 07:16:51 -0500 Received: by mail-pg1-f175.google.com with SMTP id n2so9428431pgm.3 for ; Mon, 21 Jan 2019 04:16:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:date:message-id:in-reply-to:references:subject; bh=4fkVNP8g7Sac9iTuFCkvyVlsnGjTxcVAwY3LqnOVm6g=; b=PCGpmP+gCh/Xb4PZcUpsuw+LQg/DtI+ZpKofPLKg5woPiQH8lh560uEIEt0Wc/jsxj kpZmtLmPYV/UMl1j5Lw5XIFhENdCdRIBZPakrjsDAswnm0kci/5fz6kCxnL1Wtwh2CIW gNEPAeOEdHKacjybrCDuvxCsInqJLOzytJ25IOKhMu5AAkcSqZGQaegAAXgggr4n4e52 84Z+oaHIuVcKV2Vb+46abrCzRs3lh4C1a3efVVzMaAcWO+eBxg4LeWHG/wfsdUcNu/c8 QVBkhqU00P33PZxSM/g+nzxJE/xZUCEpiTTLkOlEAboELnOQc4HqJAXLi1m/EulfNizW tVAA== 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:date:message-id:in-reply-to :references:subject; bh=4fkVNP8g7Sac9iTuFCkvyVlsnGjTxcVAwY3LqnOVm6g=; b=NyUVgt45s8KxPuVklklzNCcXHpGbYiYk7c1tqTYxEieAgHiHT2tK03uo00aA2EBTs5 b7EfTLj5YX4PVURVpt+7F+ZpU6ID6LOPJPEYpkL0/zLJCbWtcLn446FikoSBRvAKNlpT K84NzUsL/Yy1RCIb0YyON+gXX96ILQnvHY1q8aXREgRjMo0/EV01NQgVRxgLquGPml0h TvNQKi+5sPHo/PM7VAZw9S/YZHZS/4lFMlEwPHVjekhlYdashociou4VMmvhMQzXHCBD S5P+6qpbyJqjvQT999VEZbUzr1EFqDdWQzDOz1sL2mv0uEBD/NXKcCmhWVHp5mF7h3Ca DBrQ== X-Gm-Message-State: AJcUukcFnxpVb6PpGuGwwRY2J/9w12pNfopBkNws/oXRDygeTgeCY42y 8bFPo3uVi26RtMd1gId+O8Y+CI+H X-Google-Smtp-Source: ALg8bN6PdLSThSS8xH7ODBLOodrsK/GjGsPn1Pwf670E2aZEgmSuPKEXplf69OQiSVtQc8C9/iahUA== X-Received: by 2002:a63:34c3:: with SMTP id b186mr27127560pga.184.1548073010461; Mon, 21 Jan 2019 04:16:50 -0800 (PST) Received: from [127.0.0.1] (30.net042126252.t-com.ne.jp. [42.126.252.30]) by smtp.gmail.com with ESMTPSA id z191sm16408106pgd.74.2019.01.21.04.16.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 21 Jan 2019 04:16:49 -0800 (PST) From: Magnus Damm To: linux-renesas-soc@vger.kernel.org Cc: Magnus Damm Date: Mon, 21 Jan 2019 21:17:29 +0900 Message-Id: <154807304988.2406.229079645298067371.sendpatchset@octo> In-Reply-To: <154807300302.2406.14245640502137089757.sendpatchset@octo> References: <154807300302.2406.14245640502137089757.sendpatchset@octo> Subject: [PATCH/RFC 05/06] arm64: dts: renesas: r8a77970: One IMP-X5 device for R-Car V3M Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Magnus Damm Add an IMP-X5 device node to the r8a77970 device tree source. Not for upstream merge. Not-Yet-Signed-off-by: Magnus Damm --- arch/arm64/boot/dts/renesas/r8a77970.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) --- 0001/arch/arm64/boot/dts/renesas/r8a77970.dtsi +++ work/arch/arm64/boot/dts/renesas/r8a77970.dtsi 2019-01-21 19:45:39.037788940 +0900 @@ -1169,6 +1169,15 @@ }; }; + imp-x5@ff900000 { + compatible = "renesas,imp-x5"; + reg = <0 0xff900000 0 0x300000>; + interrupts = ; + clocks = <&cpg CPG_MOD 827>; + power-domains = <&sysc R8A77970_PD_A3IR>; + resets = <&cpg 827>; + }; + prr: chipid@fff00044 { compatible = "renesas,prr"; reg = <0 0xfff00044 0 4>; From patchwork Mon Jan 21 12:17:39 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 10773771 X-Patchwork-Delegate: horms@verge.net.au Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 4154A746 for ; Mon, 21 Jan 2019 12:17:02 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2EA9929B70 for ; Mon, 21 Jan 2019 12:17:02 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 205CD29E40; Mon, 21 Jan 2019 12:17:02 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CD90029B70 for ; Mon, 21 Jan 2019 12:17:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728216AbfAUMRB (ORCPT ); Mon, 21 Jan 2019 07:17:01 -0500 Received: from mail-pg1-f177.google.com ([209.85.215.177]:41603 "EHLO mail-pg1-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727971AbfAUMRB (ORCPT ); Mon, 21 Jan 2019 07:17:01 -0500 Received: by mail-pg1-f177.google.com with SMTP id m1so9417030pgq.8 for ; Mon, 21 Jan 2019 04:17:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:date:message-id:in-reply-to:references:subject; bh=rC6+4NkG9tZh0jm2omlZLzLYx1PZuCangcVLIlahvCk=; b=UroQJZ9nYAfzUJpHnnQG0WlDnWWmFYpy9pUsBw8clY0Ofejc//5J50BB88qaxDuLDu S9mhEL+8ENjU5eJhKuV+ngA6ZUhz7SRHOYYrShSTMFleiozhzckHup2BUjtCvVfQWIg8 rvN1/uU+DouJSWePfwnQC6j/KdcY30Q0p4YpBm66aO/yFIfY19IGbRlNhH6dvYoRD6yr 5b6SzJ2PRlF3PJAp/BoAygYtA/Y/VWTprMaVGRWOzYCcepgwW8S4i8tBMLAjRaILL/Ok aqWv9cNIouA9vXF2IqwFdhucNJdzGr4fcqecySXyHKH2vAssum+VPsqfYFzoqPz9VNTc Blkg== 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:date:message-id:in-reply-to :references:subject; bh=rC6+4NkG9tZh0jm2omlZLzLYx1PZuCangcVLIlahvCk=; b=mfJSSPT8o+Tue0ORwBayijXVfOeKmzVOPyIJFg2VxSafFGEPnQTDNExMkHTwAkn3DP 5FVxofsi80vEb0alFLWk0pYJ7pgzg30Cqin0DVTv0yPjl060jj0K2hk5+zMJUAQ1Jhdh F+gW5W3hBzoxv1ZQVT1IWTHWcPoxwClrTy+chpxZr3BsyVlhC94FQ1lR8TusjuLCdbbd ZQ0IueMeVn+p+Z37XKhYmy4L/qwzsHTOMwZ8g49OFMKJSmALIp6QEr7AVQv7Bgjgpj9a zVIISyMwCaruDRzWOq5hHHIbM7P3i3QVRSLT5KMDAjVrAO2k6C2hRgxmL+CAOY4Chvrf wlxQ== X-Gm-Message-State: AJcUukcK+NFr/+H1pFz76qin4HFoZHuReMbAckzzAsN6v4pQh9PL36m2 bwFj7Kf1JD0J65q4O9K1jHRvvrHw X-Google-Smtp-Source: ALg8bN45xqdM9Ej1yhg6B/stFf+nKiEdiaFuD37oaO5cg5BXRQNLX51wI151o6blCtD9YyESIu0vXg== X-Received: by 2002:a62:4181:: with SMTP id g1mr29544562pfd.45.1548073020416; Mon, 21 Jan 2019 04:17:00 -0800 (PST) Received: from [127.0.0.1] (30.net042126252.t-com.ne.jp. [42.126.252.30]) by smtp.gmail.com with ESMTPSA id h128sm28256881pgc.15.2019.01.21.04.16.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 21 Jan 2019 04:16:59 -0800 (PST) From: Magnus Damm To: linux-renesas-soc@vger.kernel.org Cc: Magnus Damm Date: Mon, 21 Jan 2019 21:17:39 +0900 Message-Id: <154807305950.2406.15821287651991499411.sendpatchset@octo> In-Reply-To: <154807300302.2406.14245640502137089757.sendpatchset@octo> References: <154807300302.2406.14245640502137089757.sendpatchset@octo> Subject: [PATCH/RFC 06/06] arm64: dts: renesas: r8a77980: One IMP-X5 device for R-Car V3H Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Magnus Damm Add an IMP-X5 device node to the r8a77980 device tree source. Not for upstream merge. Not-Yet-Signed-off-by: Magnus Damm --- arch/arm64/boot/dts/renesas/r8a77980.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) --- 0001/arch/arm64/boot/dts/renesas/r8a77980.dtsi +++ work/arch/arm64/boot/dts/renesas/r8a77980.dtsi 2019-01-21 19:48:14.223925104 +0900 @@ -1529,6 +1529,15 @@ }; }; + imp-x5@ff900000 { + compatible = "renesas,imp-x5"; + reg = <0 0xff900000 0 0x300000>; + interrupts = ; + clocks = <&cpg CPG_MOD 827>; + power-domains = <&sysc R8A77980_PD_A3IR>; + resets = <&cpg 827>; + }; + prr: chipid@fff00044 { compatible = "renesas,prr"; reg = <0 0xfff00044 0 4>;