From patchwork Wed Dec 19 10:26:16 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 10737037 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 22713924 for ; Wed, 19 Dec 2018 10:25:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 117FB28179 for ; Wed, 19 Dec 2018 10:25:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 05E2C2AF6F; Wed, 19 Dec 2018 10:25:51 +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 971C228179 for ; Wed, 19 Dec 2018 10:25:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727155AbeLSKZu (ORCPT ); Wed, 19 Dec 2018 05:25:50 -0500 Received: from mail-pg1-f173.google.com ([209.85.215.173]:37550 "EHLO mail-pg1-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726812AbeLSKZu (ORCPT ); Wed, 19 Dec 2018 05:25:50 -0500 Received: by mail-pg1-f173.google.com with SMTP id c25so7752540pgb.4 for ; Wed, 19 Dec 2018 02:25:49 -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=m3WtkpzKxkBm7AQQAD02lowu9mCAqOUTFLjulX5q2LQ=; b=GShw9VAYowSDj2YIgyjL12dvK41BM9KrbrTjf0y+U2PA6UxT7/0D7vTOBx0LAp0olQ WNflqpp25b9G9qqoNY+4p+UfwUP1GjRpv/XeAYP3lG6egujMm/dYNjuImdXTWxAqVJe+ DCHcbLBa7svCzI0uqkjKC5iMpmVksc4HpzSVP+CqUnO950JeKDZ3dZnxPO70t8eWzaDY FqMFdRkmICn5Y7VaLDtDcJHyUj4u4o/X+DVbLvOzsj0yiz8Q6+zIk/zRVtEE51M4n1PB ZT5uuStSxHaxzKkNnIN6xtP/SwfeRHK1dh4MB9nwdPa13tx2MgkXo6UXznlnVqYagd3V HdRA== 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=m3WtkpzKxkBm7AQQAD02lowu9mCAqOUTFLjulX5q2LQ=; b=eOJS/q+sCmSoknnJRS9geprdfUYN8Vii92+1XG7Bfx/31rMq3da1VUydyPBS+r6A0f jwoMaasIFLtBXjxVHAoWFMxqf0iuhtBEA7q9HinoIP4kN7zmy4MtIVnacgTZn95zRdgV rHB/et+KcTpLCtawY05X53I8ObYKJeZKTRRz2zbnXny0SxAZSbh7cC5qEsvB/7nv4lNC kTLkXXjdXOiEZLgJNoIUS7mR4wdjcWvKuq2/UxkBCIlCA1czeoLIkMi/6RPXkkALYcwq x3efgvgMkDfv5vZk6jbr3SWulqwp3FfggQkZdBOXEVDXSXe/9TWGpKFJtIUZ7oYBGm5v 45gQ== X-Gm-Message-State: AA+aEWY9fRZW0Sfc8FfzHJioBlBd/sy4fiS7TcId7MxR0N1cZb1JXswc sQ+ReJ6wMrJocb/v2oOA37a+skgZ X-Google-Smtp-Source: AFSGD/U0YpBSQV/VNYMEtrByyoUfcUOfHX54wGoWfpTs+Uyw94nXnI1UsOAmiU4m/MyOqKaScnV9dg== X-Received: by 2002:a63:e711:: with SMTP id b17mr18417602pgi.363.1545215148786; Wed, 19 Dec 2018 02:25:48 -0800 (PST) Received: from [127.0.0.1] (s214090.ppp.asahi-net.or.jp. [220.157.214.90]) by smtp.gmail.com with ESMTPSA id w136sm26032878pfd.169.2018.12.19.02.25.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 19 Dec 2018 02:25:47 -0800 (PST) From: Magnus Damm To: linux-renesas-soc@vger.kernel.org Cc: Magnus Damm Date: Wed, 19 Dec 2018 19:26:16 +0900 Message-Id: <154521517624.7290.16869907830594641606.sendpatchset@octo> In-Reply-To: <154521516632.7290.5245227863765109428.sendpatchset@octo> References: <154521516632.7290.5245227863765109428.sendpatchset@octo> Subject: [PATCH 01/09] Prototype code for basic IMR-LX4 test 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 Introduce some basic test code for the IMR-LX4 device included in R-Car Gen3 SoCs. At this point the code only controls clocks and power domains using Runtime PM and resets the device. Obviously a proper driver would be much more useful. This code is however useful to test clocks and power domains and may in the future be extended for IPMMU and further power management testing. Not for upstream merge. Not-Signed-off-by: Magnus Damm --- drivers/soc/renesas/Makefile | 2 drivers/soc/renesas/renesas-test-imr-lx4.c | 71 ++++++++++++++++++++++++++++ 2 files changed, 72 insertions(+), 1 deletion(-) --- 0001/drivers/soc/renesas/Makefile +++ work/drivers/soc/renesas/Makefile 2018-12-19 17:58:52.476078897 +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-imr-lx4.o # SoC obj-$(CONFIG_SYSC_R8A7743) += r8a7743-sysc.o --- /dev/null +++ work/drivers/soc/renesas/renesas-test-imr-lx4.c 2018-12-19 18:41:47.436079896 +0900 @@ -0,0 +1,71 @@ +#include +#include +#include +#include +#include +#include +#include +#include + +#define REG_CR 0x0008 +#define REG_ICR 0x0014 +#define REG_DLSAR 0x0030 + +static const struct of_device_id imr_lx4_of_match[] = { + { .compatible = "renesas,imr-lx4" }, + { /* sentinel */ } +}; +MODULE_DEVICE_TABLE(of, imr_lx4_of_match); + +static int imr_lx4_probe(struct platform_device *pdev) +{ + struct device *dev = &pdev->dev; + struct resource *res; + void __iomem *base; + + res = platform_get_resource(pdev, IORESOURCE_MEM, 0); + base = devm_ioremap_resource(dev, res); + if (IS_ERR(base)) { + dev_warn(dev, "unable to map imr-lx4 registers\n"); + return PTR_ERR(base); + } + + pm_runtime_enable(dev); + pm_runtime_get_sync(dev); + + printk("IMR-LX4 test: DLSAR, ICR registers should change when reset\n"); + printk("configuring DLSAR and ICR registers\n"); + iowrite32(0xdeadbee8, base + REG_DLSAR); + iowrite32(0x18, base + REG_ICR); + + printk("DLSAR register 0x%08x\n", ioread32(base + REG_DLSAR)); + printk("ICR register 0x%08x\n", ioread32(base + REG_ICR)); + printk("CR register 0x%08x\n", ioread32(base + REG_CR)); + + printk("performing reset via CR register\n"); + iowrite32(0x8000, base + REG_CR); + + mdelay(1000); + + printk("DLSAR register 0x%08x\n", ioread32(base + REG_DLSAR)); + printk("ICR register 0x%08x\n", ioread32(base + REG_ICR)); + printk("CR register 0x%08x\n", ioread32(base + REG_CR)); + + pm_runtime_put(dev); + pm_runtime_disable(dev); + + return -ENODEV; +} + +static struct platform_driver imr_lx4_driver = { + .driver = { + .name = "renesas-imr-lx4", + .of_match_table = of_match_ptr(imr_lx4_of_match), + }, + .probe = imr_lx4_probe, +}; + +module_platform_driver(imr_lx4_driver); + +MODULE_DESCRIPTION("Renesas IMR-LX4 test driver"); +MODULE_LICENSE("GPL v2"); From patchwork Wed Dec 19 10:26:25 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 10737039 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 B0A20924 for ; Wed, 19 Dec 2018 10:26:00 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A0EFF28179 for ; Wed, 19 Dec 2018 10:26:00 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 957192AF6F; Wed, 19 Dec 2018 10:26:00 +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 95C2A28179 for ; Wed, 19 Dec 2018 10:25:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727310AbeLSKZ7 (ORCPT ); Wed, 19 Dec 2018 05:25:59 -0500 Received: from mail-pl1-f181.google.com ([209.85.214.181]:34273 "EHLO mail-pl1-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726812AbeLSKZ7 (ORCPT ); Wed, 19 Dec 2018 05:25:59 -0500 Received: by mail-pl1-f181.google.com with SMTP id w4so9277984plz.1 for ; Wed, 19 Dec 2018 02:25:58 -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=aHEvWlY8bbJ1nojT1LHwUbw3XThuWtLKkXvUoM9V22k=; b=qv+5A0+SLrdXLItin5MBtdZ2ekhlCGzHqZzJNfA1ipMXxGoS+sTm+rP9w/DdqyEqcq BBpOyL2KJYVTfosVZd/tsoPXMzYfq0rFtqYO1PvWntwhPl5SghkXgwPzA101uEyGk7f3 uwLs5lehvxKEWsOHGLvRBC4v7zchl+0202F+xp6zm+PQFzVsL7PXqa1QwybTh3lEtCp+ XNtNWr5pz6PcFMQTAR7qF0aIGOtsC4EplFgwb/Ec8CQjSUqsopiopp2XohRUBJCVTI48 Uinho4E/sQw/xvJkS8GOaOqFHYI4J4CUf1YLfBrtR3ybSoaKrhsC9Cgr3jX9EquvvwXO lXSg== 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=aHEvWlY8bbJ1nojT1LHwUbw3XThuWtLKkXvUoM9V22k=; b=OyLjHzUa3xYh9nqPH5NVjcqAQYrYIdo/ARm9AduO77Nr7lhyTEGQnhq1yUARSiOwdQ gREuASJ8T7dcDNJehnG4Vpp7T8boSWowZZrAcJcYI7nz55W4bAH8qQ4qAAxsQecNhSd0 3/jsnT4UBRFfu7SBabvnutjZYIr+K6e6ZiEOkSTfhcuipQPyhfJGV/aoNH4k1tTf3sLT aq1BvKYJBqbl6bgE2kihOtcZiACqFivQvsoiMjK0FtTnL45AIlrTkHC1WwVZnWjA3zpM OZDGnHN7VfQSy1Ir4pu81D9RMkhnjvi0KD3gp9U9w2per5NELfDltOSdmldaNuxDd0s6 XPag== X-Gm-Message-State: AA+aEWaNTUMephTrzgRfq+HndVxOcUsPFKsBVcNvfLVtaoFz/S11BU09 Dsy1YpdopHXlezzoskZNLWK2Hkv1 X-Google-Smtp-Source: AFSGD/U4AbsKyfTBgVTA2MpD8xxNZ+Z3ri/ct7Dpe5SrRM7IwPBuMG21Th21WhV0/tDJ/I09KI4alQ== X-Received: by 2002:a17:902:27e6:: with SMTP id i35mr19343128plg.222.1545215158232; Wed, 19 Dec 2018 02:25:58 -0800 (PST) Received: from [127.0.0.1] (s214090.ppp.asahi-net.or.jp. [220.157.214.90]) by smtp.gmail.com with ESMTPSA id r76sm28412744pfb.69.2018.12.19.02.25.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 19 Dec 2018 02:25:57 -0800 (PST) From: Magnus Damm To: linux-renesas-soc@vger.kernel.org Cc: Magnus Damm Date: Wed, 19 Dec 2018 19:26:25 +0900 Message-Id: <154521518586.7290.4665877423335154021.sendpatchset@octo> In-Reply-To: <154521516632.7290.5245227863765109428.sendpatchset@octo> References: <154521516632.7290.5245227863765109428.sendpatchset@octo> Subject: [PATCH 02/09] arm64: dts: renesas: r8a7795: One IMR-LX4 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 We will only test a single IMR-LX4 device, so get rid of the other channels in the r8a7795 dtsi file. Not for upstream merge. Not-Signed-off-by: Magnus Damm --- arch/arm64/boot/dts/renesas/r8a7795.dtsi | 30 ------------------------------ 1 file changed, 30 deletions(-) --- 0001/arch/arm64/boot/dts/renesas/r8a7795.dtsi +++ work/arch/arm64/boot/dts/renesas/r8a7795.dtsi 2018-12-19 13:07:02.342050765 +0900 @@ -2617,36 +2617,6 @@ resets = <&cpg 823>; }; - imr-lx4@fe870000 { - compatible = "renesas,r8a7795-imr-lx4", - "renesas,imr-lx4"; - reg = <0 0xfe870000 0 0x2000>; - interrupts = ; - clocks = <&cpg CPG_MOD 822>; - power-domains = <&sysc R8A7795_PD_A3VC>; - resets = <&cpg 822>; - }; - - imr-lx4@fe880000 { - compatible = "renesas,r8a7795-imr-lx4", - "renesas,imr-lx4"; - reg = <0 0xfe880000 0 0x2000>; - interrupts = ; - clocks = <&cpg CPG_MOD 821>; - power-domains = <&sysc R8A7795_PD_A3VC>; - resets = <&cpg 821>; - }; - - imr-lx4@fe890000 { - compatible = "renesas,r8a7795-imr-lx4", - "renesas,imr-lx4"; - reg = <0 0xfe890000 0 0x2000>; - interrupts = ; - clocks = <&cpg CPG_MOD 820>; - power-domains = <&sysc R8A7795_PD_A3VC>; - resets = <&cpg 820>; - }; - fdp1@fe940000 { compatible = "renesas,fdp1"; reg = <0 0xfe940000 0 0x2400>; From patchwork Wed Dec 19 10:26:35 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 10737041 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 BC1A914E2 for ; Wed, 19 Dec 2018 10:26:09 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AB6AB28179 for ; Wed, 19 Dec 2018 10:26:09 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9FB882AF6F; Wed, 19 Dec 2018 10:26:09 +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 4F2DB28179 for ; Wed, 19 Dec 2018 10:26:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727071AbeLSK0J (ORCPT ); Wed, 19 Dec 2018 05:26:09 -0500 Received: from mail-pg1-f193.google.com ([209.85.215.193]:42382 "EHLO mail-pg1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726812AbeLSK0I (ORCPT ); Wed, 19 Dec 2018 05:26:08 -0500 Received: by mail-pg1-f193.google.com with SMTP id d72so9249235pga.9 for ; Wed, 19 Dec 2018 02:26:08 -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=B2Lfg0D/Jn91tuXT3XwJs/hp7DFChj1kTEFFvaAffHg=; b=i2D0rUGkxsq/UEfhFJ6FgKlLeEVxlqAKf7MZsvqZYk6RQXKZo9/zFbkRPRjEWeP/cq azxdg7eF9mruI1wERyKzKc1hhPsHDtmgDhzcfj9938m3Rl4hb4TLLk5566PgU7hVEDIi jVMHrknlMQiPA3VorP7+sJMl4FL2FIWC0aVcdm/SjzBdkWAHDrXeoeh1MLg4lyW1Loyc pSguMDcKUY8Ce3MXvGDN6IVPwVw9rM6bqE3c6bMZykhTGo74VJM4jtjdGrr1xwyiZOgi xLgWQ1HsnVvQlL+Rm/6ONgbzgz/lAmO0fDtkqpSk+UJ14an1B5bcopgL0gUkU/f9WRpE xnEA== 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=B2Lfg0D/Jn91tuXT3XwJs/hp7DFChj1kTEFFvaAffHg=; b=DU2YbDgT46WYIT+H++VfxkI3rfb6kgMzqfJdERatuWsTS1fXbdjLGhoVWtPUXplmfB 4QM7vox9MDSnjR5CwqNfkcM1w+dEeNkjaOoBsUE/uJ1Ie9xXABBarXRLFqtLZCwGkDfV iIMvUZH02mnoGfWtGsDi5SAKwuxrvqNMFZwcq9GGdH3gMcDxXPiNjSqqUi2lb9WLZpZQ GGmVHAQ1rtRGp9DGEiE9QpdARSQyy6QE9JXG4HcQGUMDjW1zrsNf2s+hHzRIU8CGCeoo abM5tCL7mG4Tk4prfMEwcXBoRDWZH/NKWr9oRaREH07+F+54ansVjiIdvoUdyZG/HJXc LPnw== X-Gm-Message-State: AA+aEWZNW4NGpeWIrIXF6sIX25HViLrVsFw9NQz7Cv9e1xgTuyGnZqEb /zem1rmHxVEfAb8MSCgZDJ/tpdan X-Google-Smtp-Source: AFSGD/X7Q0Dp8vT788PYlqbAgGeJWL6U1+nGLdb8HVwicDZvf83Ok2uPnSAhazVYebJ2Bf4Vri9zIw== X-Received: by 2002:a63:7219:: with SMTP id n25mr19105564pgc.324.1545215168044; Wed, 19 Dec 2018 02:26:08 -0800 (PST) Received: from [127.0.0.1] (s214090.ppp.asahi-net.or.jp. [220.157.214.90]) by smtp.gmail.com with ESMTPSA id f64sm52463459pfh.0.2018.12.19.02.26.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 19 Dec 2018 02:26:06 -0800 (PST) From: Magnus Damm To: linux-renesas-soc@vger.kernel.org Cc: Magnus Damm Date: Wed, 19 Dec 2018 19:26:35 +0900 Message-Id: <154521519519.7290.11586460280206503681.sendpatchset@octo> In-Reply-To: <154521516632.7290.5245227863765109428.sendpatchset@octo> References: <154521516632.7290.5245227863765109428.sendpatchset@octo> Subject: [PATCH 03/09] arm64: dts: renesas: r8a7796: One IMR-LX4 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 We will only test a single IMR-LX4 device, so get rid of the other channels in the r8a7796 dtsi file. Not for upstream merge. Not-Signed-off-by: Magnus Damm --- arch/arm64/boot/dts/renesas/r8a7796.dtsi | 10 ---------- 1 file changed, 10 deletions(-) --- 0001/arch/arm64/boot/dts/renesas/r8a7796.dtsi +++ work/arch/arm64/boot/dts/renesas/r8a7796.dtsi 2018-12-19 13:09:17.327127816 +0900 @@ -2480,16 +2480,6 @@ resets = <&cpg 823>; }; - imr-lx4@fe870000 { - compatible = "renesas,r8a7796-imr-lx4", - "renesas,imr-lx4"; - reg = <0 0xfe870000 0 0x2000>; - interrupts = ; - clocks = <&cpg CPG_MOD 822>; - power-domains = <&sysc R8A7796_PD_A3VC>; - resets = <&cpg 822>; - }; - fdp1@fe940000 { compatible = "renesas,fdp1"; reg = <0 0xfe940000 0 0x2400>; From patchwork Wed Dec 19 10:26:45 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 10737043 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 6BE7814E2 for ; Wed, 19 Dec 2018 10:26:23 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5A3DD2AF6F for ; Wed, 19 Dec 2018 10:26:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4C34B2AF53; Wed, 19 Dec 2018 10:26:23 +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 04C872AF53 for ; Wed, 19 Dec 2018 10:26:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727611AbeLSK0W (ORCPT ); Wed, 19 Dec 2018 05:26:22 -0500 Received: from mail-pl1-f172.google.com ([209.85.214.172]:42733 "EHLO mail-pl1-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726812AbeLSK0W (ORCPT ); Wed, 19 Dec 2018 05:26:22 -0500 Received: by mail-pl1-f172.google.com with SMTP id y1so9259465plp.9 for ; Wed, 19 Dec 2018 02:26:22 -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=LG5nk5wlnsvmt2Z1T3qoPtZ+B8EYU2KfSbnuMbmu+Jg=; b=mQAQ0HBPMIdpALrStdSYkkWRVJb/3tmQ7enUSi3My+Kwl+KEwCcVodvAiTc5qIxMU3 ibwl0DmDD5ncQRr2651JXfhkw0kKXrlLkaPkeE/TM2aKqbYeQBUssefVPSrqCINCAUBo 9LxK7v6eT0QK8OiI0xVZEq1k47UAKdFleYENpV7AIiwrCkA+7iZ6stgOHzXP+80p6xdD zEgA2deryKhjar/yvs7DeX8cMgwX0hphvhuZK4tW4uKy1ZFuAsNW9sKWcNj0LH5EnEu0 ZklIznWlS40dILSHqJlpI8/Ak6IoM9fHQZ7n+T5WCTUSgj1xJ2KOA8pHEMLk/rQ0kyUu waXw== 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=LG5nk5wlnsvmt2Z1T3qoPtZ+B8EYU2KfSbnuMbmu+Jg=; b=JKJ2jiUJQnrGSvIM4EdXiyHaNrZ72+qPL3Otq7CCh0pcZGaoeDLJQKHDgb2m+4+QUW oAb51/vdarqdaNjPhd1IXgn8GOjE7V5Ir+ej65qXThHnErZ4wNBFAbmcYEysRjCXAbGs c1j7+EaOIte9PbTn4j3htX5rugjypqH0ZEPILIbBHDt8Ssf1dhawh3oCVL4DBX82SVH5 TQtYhr8k95bF/giYRP38iiazT5yvhqj7HHuc0VD+Q7sw7Oh9K0px5Z8iwuLE3eO1iioS VxVZwfhnTg9KGfsooQW6xJ9n/YIEDPrSfswb/R7XX5pJemMOuY/Mm6JpmEazff4RQbqI R76A== X-Gm-Message-State: AA+aEWajhFErUajWA1/EkH39sKu9FEbXCNRFkh8vvCYOim4v4RsPf2+u wOVKZuSrwj69N2lv8idVl68KT1FZ X-Google-Smtp-Source: AFSGD/UHlduN1XYkwMI0T3QcF/LRM0tUoiKzYVyijr2G5Rivepymg0UK0I4fotGqsIf/Q1I6kkAItQ== X-Received: by 2002:a17:902:e012:: with SMTP id ca18mr19761958plb.218.1545215176987; Wed, 19 Dec 2018 02:26:16 -0800 (PST) Received: from [127.0.0.1] (s214090.ppp.asahi-net.or.jp. [220.157.214.90]) by smtp.gmail.com with ESMTPSA id l11sm22626638pff.65.2018.12.19.02.26.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 19 Dec 2018 02:26:15 -0800 (PST) From: Magnus Damm To: linux-renesas-soc@vger.kernel.org Cc: Magnus Damm Date: Wed, 19 Dec 2018 19:26:45 +0900 Message-Id: <154521520498.7290.8024893514334504383.sendpatchset@octo> In-Reply-To: <154521516632.7290.5245227863765109428.sendpatchset@octo> References: <154521516632.7290.5245227863765109428.sendpatchset@octo> Subject: [PATCH 04/09] arm64: dts: renesas: r8a77965: One IMR-LX4 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 Introduce a single IMR-LX4 device to the r8a77965 dtsi file. Not for upstream merge. Not-Signed-off-by: Magnus Damm --- arch/arm64/boot/dts/renesas/r8a77965.dtsi | 11 +++++++++++ 1 file changed, 11 insertions(+) --- 0001/arch/arm64/boot/dts/renesas/r8a77965.dtsi +++ work/arch/arm64/boot/dts/renesas/r8a77965.dtsi 2018-12-19 14:50:28.657437885 +0900 @@ -1929,6 +1929,17 @@ status = "disabled"; }; + + imr-lx4@fe860000 { + compatible = "renesas,r8a77965-imr-lx4", + "renesas,imr-lx4"; + reg = <0 0xfe860000 0 0x2000>; + interrupts = ; + clocks = <&cpg CPG_MOD 823>; + power-domains = <&sysc R8A77965_PD_A3VC>; + resets = <&cpg 823>; + }; + fdp1@fe940000 { compatible = "renesas,fdp1"; reg = <0 0xfe940000 0 0x2400>; From patchwork Wed Dec 19 10:26:54 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 10737045 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 7372C14E2 for ; Wed, 19 Dec 2018 10:26:29 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 60B7428179 for ; Wed, 19 Dec 2018 10:26:29 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 554DF2AF6F; Wed, 19 Dec 2018 10:26:29 +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 2F2E528179 for ; Wed, 19 Dec 2018 10:26:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727705AbeLSK01 (ORCPT ); Wed, 19 Dec 2018 05:26:27 -0500 Received: from mail-pl1-f194.google.com ([209.85.214.194]:43999 "EHLO mail-pl1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726812AbeLSK01 (ORCPT ); Wed, 19 Dec 2018 05:26:27 -0500 Received: by mail-pl1-f194.google.com with SMTP id gn14so9269501plb.10 for ; Wed, 19 Dec 2018 02:26:26 -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=xp0FTTtTS2ZyR8tVgSj7mt3GWSoy64lJYOGe+TszXTk=; b=Ghfk18/6EsiN0Leih4H1DeJOAcUDTAPR1Hu27iOJV9NlbI2c5qy7zA8PBNSSlIapW8 GdeS7bkKxzOglSMa2fsg5u499Pa5z22psFU0mkjlLeP6AmaLoIE5HFyv6CgwKCjBSCSo 4nIBEBBetlPuWkAs28OgN/8/YKTjqTgrfACMyD8Zmvl2dIotTeUaybuozwzDC5oX05TE xAjLZSpz6685hRujtU2hmFgw4GK1RExnQlt2uQfHKdPYTtD1BkhBuZDEBN3R94aggIs4 ERBqjHStakA7QBPC9jUXMU/wXEuTaZGC2E0UZ8mQ5ko2Nmj3+LT6vn2gj0eO6zlJLg8T GZdQ== 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=xp0FTTtTS2ZyR8tVgSj7mt3GWSoy64lJYOGe+TszXTk=; b=qb2cC6qHOkW47fEEmx7ZZxB+i9Zv3PYxzQuivy81tTjP4sFvCJWwimUKDKTBPjJ59u vundqaArLKBHvkLNNfJj4QGcTPsZ4qBR1WbVZyR8AkaYF4kdmN83htsPe6IZJV2lJdA1 noqBsbsNBvYqNOaOiB29GDUaPJgvNPgSIfjaZ18pB1ujaTtXv5CT7B+nopI/7NkuA715 kaWGLnGrIPxRCm8OC0hmBpRMDjbKdjSZgMXlytI7z2Ep24ccGP9WJL7FKiYnvh/0AOsz M/toFKPQeBqrTz1U/KT/R/TfzyDIu1h77mjvkCHZNa5c3GuCmqNGxRtZZU0QrcZoW4H8 b4Dg== X-Gm-Message-State: AA+aEWZoBAu4xvaRCtIKx9R85VBqWWpSQabbNNKcKxVS8rRXhQoUKWkX NJ1oTeftsMFORlNiDIxeUjGHog3d X-Google-Smtp-Source: AFSGD/Uzgm/z+2VAZbGkvzFIlN0E6cuS8Ps9cF572AbTkZ8G5PNvm1oGHLyhEUzwFpkecGVmlMjUzQ== X-Received: by 2002:a17:902:47aa:: with SMTP id r39mr19636735pld.219.1545215185934; Wed, 19 Dec 2018 02:26:25 -0800 (PST) Received: from [127.0.0.1] (s214090.ppp.asahi-net.or.jp. [220.157.214.90]) by smtp.gmail.com with ESMTPSA id t21sm25021422pgg.24.2018.12.19.02.26.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 19 Dec 2018 02:26:24 -0800 (PST) From: Magnus Damm To: linux-renesas-soc@vger.kernel.org Cc: Magnus Damm Date: Wed, 19 Dec 2018 19:26:54 +0900 Message-Id: <154521521391.7290.4647429463617796402.sendpatchset@octo> In-Reply-To: <154521516632.7290.5245227863765109428.sendpatchset@octo> References: <154521516632.7290.5245227863765109428.sendpatchset@octo> Subject: [PATCH 05/09] arm64: dts: renesas: r8a77970: One IMR-LX4 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 Introduce a single IMR-LX4 device to the r8a77970 dtsi file. Not for upstream merge. Not-Signed-off-by: Magnus Damm --- arch/arm64/boot/dts/renesas/r8a77970.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) --- 0001/arch/arm64/boot/dts/renesas/r8a77970.dtsi +++ work/arch/arm64/boot/dts/renesas/r8a77970.dtsi 2018-12-19 15:38:53.655742270 +0900 @@ -1055,6 +1055,16 @@ resets = <&cpg 408>; }; + imr-lx4@fe860000 { + compatible = "renesas,r8a77970-imr-lx4", + "renesas,imr-lx4"; + reg = <0 0xfe860000 0 0x2000>; + interrupts = ; + clocks = <&cpg CPG_MOD 823>; + power-domains = <&sysc R8A77970_PD_ALWAYS_ON>; + resets = <&cpg 823>; + }; + vspd0: vsp@fea20000 { compatible = "renesas,vsp2"; reg = <0 0xfea20000 0 0x5000>; From patchwork Wed Dec 19 10:27:03 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 10737047 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 D2DBF14E2 for ; Wed, 19 Dec 2018 10:26:36 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C21B328179 for ; Wed, 19 Dec 2018 10:26:36 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B51022AF6F; Wed, 19 Dec 2018 10:26:36 +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 54A7128179 for ; Wed, 19 Dec 2018 10:26:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727155AbeLSK0f (ORCPT ); Wed, 19 Dec 2018 05:26:35 -0500 Received: from mail-pl1-f195.google.com ([209.85.214.195]:45340 "EHLO mail-pl1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727310AbeLSK0f (ORCPT ); Wed, 19 Dec 2018 05:26:35 -0500 Received: by mail-pl1-f195.google.com with SMTP id a14so9262368plm.12 for ; Wed, 19 Dec 2018 02:26:35 -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=c7ByWXlRCBnstgTzAORPNHN48EgsuzydndRkBhFPw1o=; b=N5B1wnipb7OoZ0b58kKpER49mSqGMquR/GJloC4KqhdTLntfNXiYPkdE7P4kiYaBYX sGvmhQw+fD1+NyZo2FsTHZjjPdBTem7LZ24+xpG7ttaWZkd3L1U3dCGrYKIprZJpOLLe zEWGQ8iTfO9VrsVDXAzPcoTdfUo0eMAwTl70SSFHTXsJy2j10xBejyW0N9N0SHvzLd71 JH/oqXy/havWJcAlz/w8SFfpIzCKdswTpz6H4qgxvZOpOcU/6bcqibFxGTfk/S8g9NmD Drf1CBKReZe7VrB1AyrBcrWM1ZaRXNeHKo3GSSsWTED+XEz7C9ekxXNitDdWwMAOQTNl y7Pw== 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=c7ByWXlRCBnstgTzAORPNHN48EgsuzydndRkBhFPw1o=; b=WbDTa8hISV+T4mBBZeuibae2IMXm8nsGoY3Ovdl7Idz5HcruGl7lBvZ+BinQ7XC4Dg 80eVWEFk8PtLrtNxF+TlkrnHdgD0wX8QobTPUFGzOzAM4FcWOja6KIDPbf5lL/sC1npL fE0GYdGZIrA1sQ3g4IWaCB9nU7iQbuVAWsL2qpgEH06NqdOn//1VNvQagqWLTNyUTCak d4xqxLUeJHTLI1AqC7gx5/t/DGMHy3GVa3tEjd0RhfqtleZgEVI+Ie5J29D374NUDKQz hefgZOAq1URiI+Qn7A6SAUAHQO4J7/RqT0jo0gtGZX8/rIeAReZn+7CLSP3UmCi2OpBf t75g== X-Gm-Message-State: AA+aEWbgPrqSOgq7gWgL/z5ayYQ08gAbRtHPr78jAdJahuxH+q4sgtkS pNrD6V2eDcf1erZeW56Eg5oxxC2O X-Google-Smtp-Source: AFSGD/WJw1qhr1OkqiCY67eUWtOJsLSEBhG7d05PfKI6psACpTyVgK43I54+uLGQ2qIO54zVlMAyDg== X-Received: by 2002:a17:902:2ac3:: with SMTP id j61mr19767722plb.185.1545215194854; Wed, 19 Dec 2018 02:26:34 -0800 (PST) Received: from [127.0.0.1] (s214090.ppp.asahi-net.or.jp. [220.157.214.90]) by smtp.gmail.com with ESMTPSA id p7sm25727605pfa.22.2018.12.19.02.26.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 19 Dec 2018 02:26:33 -0800 (PST) From: Magnus Damm To: linux-renesas-soc@vger.kernel.org Cc: Magnus Damm Date: Wed, 19 Dec 2018 19:27:03 +0900 Message-Id: <154521522293.7290.7741255645751986991.sendpatchset@octo> In-Reply-To: <154521516632.7290.5245227863765109428.sendpatchset@octo> References: <154521516632.7290.5245227863765109428.sendpatchset@octo> Subject: [PATCH 06/09] arm64: dts: renesas: r8a77980: One IMR-LX4 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 Introduce a single IMR-LX4 device to the r8a77980 dtsi file. Not for upstream merge. Not-Signed-off-by: Magnus Damm --- arch/arm64/boot/dts/renesas/r8a77980.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) --- 0001/arch/arm64/boot/dts/renesas/r8a77980.dtsi +++ work/arch/arm64/boot/dts/renesas/r8a77980.dtsi 2018-12-19 15:59:32.314683163 +0900 @@ -1374,6 +1374,16 @@ status = "disabled"; }; + imr-lx4@fe860000 { + compatible = "renesas,r8a77980-imr-lx4", + "renesas,imr-lx4"; + reg = <0 0xfe860000 0 0x2000>; + interrupts = ; + clocks = <&cpg CPG_MOD 823>; + power-domains = <&sysc R8A77980_PD_ALWAYS_ON>; + resets = <&cpg 823>; + }; + vspd0: vsp@fea20000 { compatible = "renesas,vsp2"; reg = <0 0xfea20000 0 0x5000>; From patchwork Wed Dec 19 10:27:12 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 10737049 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 91275924 for ; Wed, 19 Dec 2018 10:26:45 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8161D28179 for ; Wed, 19 Dec 2018 10:26:45 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 758372AF6F; Wed, 19 Dec 2018 10:26:45 +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 2104828179 for ; Wed, 19 Dec 2018 10:26:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727201AbeLSK0o (ORCPT ); Wed, 19 Dec 2018 05:26:44 -0500 Received: from mail-pf1-f194.google.com ([209.85.210.194]:41226 "EHLO mail-pf1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727071AbeLSK0o (ORCPT ); Wed, 19 Dec 2018 05:26:44 -0500 Received: by mail-pf1-f194.google.com with SMTP id b7so9617715pfi.8 for ; Wed, 19 Dec 2018 02:26:44 -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=jkxmeQnprt+P1KYbd7yJ3ZgZz4TwoiKhodGXbnoz9S0=; b=qK26ydMBQQwklUR5EgjQIHbuBQ1abXRYgTVteRiC34RyWdTp7/eTNatG+6+JNzUSu6 hCAtzQkx2gSON1yoJV3cNoJiRA1w6DTsBBXZFQlmpyM1s2aC7NiqdDb6Ob2MopZ6A/oT Tbqect8LbWVw4Rz2cGr6PsGfAUQhtJnMV3i98GLPzj/8v7CPO/tT+mxSHMQdG0dbuS7K W/BzrzgZodAp7QssCjn/GOsILPgIdzlQWRH/CH6xu3aXWBApxlOO5WKCWXTb4k8HkuYN gRZ+hQe7gIND85daWYsPRv/UtomuBqyfIgh7IeIiVct59YZRIdV8vFLAs7nbbAIrYP56 Aggw== 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=jkxmeQnprt+P1KYbd7yJ3ZgZz4TwoiKhodGXbnoz9S0=; b=e12gAGqR54qujn/x/mjAIeWUhlt4AHtnWjzd6jcIy3jLwv1sTdz6rcCaRnChXMsQD4 eWVqJG5jAB6mW6A7IfucjSo4feC0HItIqEPVoMFj5QTsXRvn3ia5rsvJ5iguPnHp9eVP +O6oU4lKIjXANrjRDnoaKiEVdFaOuAqHcH01HL8jvJOWuUN0MUn3VnoGWIUTY7P1PQHJ hru7tUlhnYGVOHAjlWIwzzXkqwuBDtzW+O+VsZ14ikaZZrF8WOi+0C//MIVjzlODHWCs bQMu7BBlLgkgnyyl6Ypvc6vAMqcw8hzLGHNPX+8oxhZ46mo12Sy/+9c3ULnq8RepluId pWKg== X-Gm-Message-State: AA+aEWYoeGcBGK7PBCpa+fXIHMlec0y9PKZxj/M16tThYkga02PWejI7 RNXfrcoMaj+yqOZcfjGsk+xu1HYc X-Google-Smtp-Source: AFSGD/Vh15z2DThSZ8Pnyd7IfK7WA+QpNTR9nK6DjxDYH0vESw+S492jAxGJ5aVqo1xLyh98ex8+IQ== X-Received: by 2002:a62:6503:: with SMTP id z3mr19344086pfb.169.1545215203862; Wed, 19 Dec 2018 02:26:43 -0800 (PST) Received: from [127.0.0.1] (s214090.ppp.asahi-net.or.jp. [220.157.214.90]) by smtp.gmail.com with ESMTPSA id y5sm24937244pge.49.2018.12.19.02.26.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 19 Dec 2018 02:26:43 -0800 (PST) From: Magnus Damm To: linux-renesas-soc@vger.kernel.org Cc: Magnus Damm Date: Wed, 19 Dec 2018 19:27:12 +0900 Message-Id: <154521523194.7290.580982639208646713.sendpatchset@octo> In-Reply-To: <154521516632.7290.5245227863765109428.sendpatchset@octo> References: <154521516632.7290.5245227863765109428.sendpatchset@octo> Subject: [PATCH 07/09] arm64: dts: renesas: r8a77995: One IMR-LX4 device for R-Car D3 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 Introduce a single IMR-LX4 device to the r8a77990 dtsi file. Not for upstream merge. Not-Signed-off-by: Magnus Damm --- arch/arm64/boot/dts/renesas/r8a77990.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) --- 0001/arch/arm64/boot/dts/renesas/r8a77990.dtsi +++ work/arch/arm64/boot/dts/renesas/r8a77990.dtsi 2018-12-19 16:07:34.000937189 +0900 @@ -1526,6 +1526,16 @@ resets = <&cpg 408>; }; + imr-lx4@fe860000 { + compatible = "renesas,r8a77990-imr-lx4", + "renesas,imr-lx4"; + reg = <0 0xfe860000 0 0x2000>; + interrupts = ; + clocks = <&cpg CPG_MOD 823>; + power-domains = <&sysc R8A77990_PD_A3VC>; + resets = <&cpg 823>; + }; + vspb0: vsp@fe960000 { compatible = "renesas,vsp2"; reg = <0 0xfe960000 0 0x8000>; From patchwork Wed Dec 19 10:27:21 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 10737051 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 D7666924 for ; Wed, 19 Dec 2018 10:26:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C7BB028179 for ; Wed, 19 Dec 2018 10:26:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BC1A82AF6F; Wed, 19 Dec 2018 10:26:54 +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 728FA28179 for ; Wed, 19 Dec 2018 10:26:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727155AbeLSK0y (ORCPT ); Wed, 19 Dec 2018 05:26:54 -0500 Received: from mail-pl1-f193.google.com ([209.85.214.193]:45366 "EHLO mail-pl1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727071AbeLSK0y (ORCPT ); Wed, 19 Dec 2018 05:26:54 -0500 Received: by mail-pl1-f193.google.com with SMTP id a14so9262693plm.12 for ; Wed, 19 Dec 2018 02:26:53 -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=7wiTZ9DFRLQXNvZ4Jd38Cuuqw5WvDYklxXNND5g6/h8=; b=hUwe20JwlqMSalno94oUCaqgV5gdh4WW/MJOCnDks8tXKI4DX+w8LUvGBTv1fpPeDM z4MmaQJmQ9pL0eV6vqxWOVZEJuEsG5kJy1PWr4S60qdESquHQNnGqQ5Iza4oiSUXoycl XQDzabW3QMp+/xYj978rxmaIFr/rKRD3CipynjeoBCXaiu6JKCR311aZbmk5B3/K05YI IyQTvOQ8ZmSKi4mG536JZiIcA6ZA1DGuYj4A5nhcozBGyxb6TNnuqyoXfjhNdsdXszc/ BZdL8vhNpiiloFvrLhXmCDS/Vms/QL08cp7pj/fcIDLHHMOBx6UTop7DxYzWSyaxyJfa 6zkw== 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=7wiTZ9DFRLQXNvZ4Jd38Cuuqw5WvDYklxXNND5g6/h8=; b=pVy3o2ehQj+CX9eZfQuDtGKOvGgEmTV1LkvJMitgUTkYWvFs8EfF/M/607KY7aQyMk buarel6ayLBI1PYSd2SJtl9nSV7aJVVONunZJoS5rodryTzmSulWnuBhiF/sdl5E/LX/ /QVh2L2SyD1JFwMSdc8BU9rUmQDRxvrbmCMK/RnU767kimI02nmiGzGs51uq0rOKC0IV 3zga62Au9UXgSGZkujXR6UWWrPMV9UsBFzu3jUihZdud/PVwsWHU5xa+cwCVI7PkLuck TXwSuIqa+IohhbXYIfeyREzyQllSNo1lfCSQs6XcG5ZbjfR0rtFcQ4CmayMD5rnTfZvR b6wA== X-Gm-Message-State: AA+aEWaIBi5OFXCN2M1pfN3uWQBYMo+xt1XgXWSbg3g236CjMzLXO0IO KuS6PnXmTm71zelC+mHGx58oqr2D X-Google-Smtp-Source: AFSGD/XYn2d+8bJwywcowibMw6ELLvK30+kh60+SQbCuIKT53tAKor8/z0DT/QVzU8+A6BL1ZboNoA== X-Received: by 2002:a17:902:9897:: with SMTP id s23mr18855853plp.69.1545215213275; Wed, 19 Dec 2018 02:26:53 -0800 (PST) Received: from [127.0.0.1] (s214090.ppp.asahi-net.or.jp. [220.157.214.90]) by smtp.gmail.com with ESMTPSA id f67sm39655027pff.29.2018.12.19.02.26.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 19 Dec 2018 02:26:52 -0800 (PST) From: Magnus Damm To: linux-renesas-soc@vger.kernel.org Cc: Magnus Damm Date: Wed, 19 Dec 2018 19:27:21 +0900 Message-Id: <154521524096.7290.12256850104758543154.sendpatchset@octo> In-Reply-To: <154521516632.7290.5245227863765109428.sendpatchset@octo> References: <154521516632.7290.5245227863765109428.sendpatchset@octo> Subject: [PATCH 08/09] arm64: dts: renesas: r8a77990: One IMR-LX4 device for R-Car E3 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 Introduce a single IMR-LX4 device to the r8a77995 dtsi file. Not for upstream merge. Not-Signed-off-by: Magnus Damm --- arch/arm64/boot/dts/renesas/r8a77995.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) --- 0001/arch/arm64/boot/dts/renesas/r8a77995.dtsi +++ work/arch/arm64/boot/dts/renesas/r8a77995.dtsi 2018-12-19 16:02:21.065530497 +0900 @@ -936,6 +936,16 @@ resets = <&cpg 408>; }; + imr-lx4@fe860000 { + compatible = "renesas,r8a77995-imr-lx4", + "renesas,imr-lx4"; + reg = <0 0xfe860000 0 0x2000>; + interrupts = ; + clocks = <&cpg CPG_MOD 823>; + power-domains = <&sysc R8A77995_PD_ALWAYS_ON>; + resets = <&cpg 823>; + }; + vspbs: vsp@fe960000 { compatible = "renesas,vsp2"; reg = <0 0xfe960000 0 0x8000>; From patchwork Wed Dec 19 10:27:30 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 10737053 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 92EC014E2 for ; Wed, 19 Dec 2018 10:27:06 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 802E328179 for ; Wed, 19 Dec 2018 10:27:06 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6EEA52AFE6; Wed, 19 Dec 2018 10:27:06 +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 06D2F28179 for ; Wed, 19 Dec 2018 10:27:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727093AbeLSK1F (ORCPT ); Wed, 19 Dec 2018 05:27:05 -0500 Received: from mail-pg1-f193.google.com ([209.85.215.193]:40897 "EHLO mail-pg1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727071AbeLSK1F (ORCPT ); Wed, 19 Dec 2018 05:27:05 -0500 Received: by mail-pg1-f193.google.com with SMTP id z10so9254882pgp.7 for ; Wed, 19 Dec 2018 02:27:03 -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=wP7yk7EfxcoQNaOKneO+tsw+vFTI71A/k123dOAEeFI=; b=rP1KqQaOn5u/WtVy0AlbDTjuljfy9HsQfMjG1cjF1Pgiw5HGplziVEQlTRDTtQmnvh n/d1NUjBHs7iJjXQSAm++YuoQISGqYGuoXl7pwsUfs8AtSJ+RPlJ0MvzWY9DDdKBdDkM 4gMnRI9DfJkrX7uOSZhr7QanNkDtrj0QCQUuwGE8ZAmau7iTM2kEt8AE+prEt9rCFapb ltW3QtfSTrkklQcc0AwC+e9zvp2i9wMkNkMuW1NZZFMkW3xuHPva/6HLIjMz1VKd1vlV r1J+QA1U4gRNwTIaXXUKqr+ReUdmpEDWvjdVxhh3OXV97lpvyr5lG5/pWduO1Do+Bqjn bE8Q== 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=wP7yk7EfxcoQNaOKneO+tsw+vFTI71A/k123dOAEeFI=; b=BdvvjAkMXnEN0nEE8uFG/FlHyqkNxH/PdZwQY6t72q8secMrsljWb5Z3C3Gesb0UsS 06QhUk1JI8shcb+No3iJr6euYnDSPTtDFPR9nUdKJmdtijis83MQpoyuHq8XGP0DaRso 1TI19JiLgo3GhnJMuu7zzcsFquIw5nB5anJyJAzH9jEi0epmurHiURQohsE4nt+tgugo CneS0a/yJID7z9GPS7jORDduundODMWuUSg1/ytEVHjp8PrAruriHVieNXx5gGerq3ov QO1p4cIqmwbZe4w3IbTrVNjP3LUdvMc6m/y6Ls9EKkImIucICu7Qm/R/Wf9dJMPG84ar XMmg== X-Gm-Message-State: AA+aEWaBPv691whg+TGYaqdQjI+Cphrjuq4StmjIc+iAV9JzdmpYQ/Rc l/+mfqfssYeIMxTLTKaUXeQ3wDO9 X-Google-Smtp-Source: AFSGD/UWsnLos44CgmSlbnzHq51FXOy1gr8e9caV016/jXdWnHo0A4gKlQswT7fbW2Wuhol9sBUpeA== X-Received: by 2002:a62:11c7:: with SMTP id 68mr19833743pfr.21.1545215223226; Wed, 19 Dec 2018 02:27:03 -0800 (PST) Received: from [127.0.0.1] (s214090.ppp.asahi-net.or.jp. [220.157.214.90]) by smtp.gmail.com with ESMTPSA id u87sm40446572pfi.2.2018.12.19.02.27.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 19 Dec 2018 02:27:02 -0800 (PST) From: Magnus Damm To: linux-renesas-soc@vger.kernel.org Cc: Magnus Damm Date: Wed, 19 Dec 2018 19:27:30 +0900 Message-Id: <154521525038.7290.12170153110718373437.sendpatchset@octo> In-Reply-To: <154521516632.7290.5245227863765109428.sendpatchset@octo> References: <154521516632.7290.5245227863765109428.sendpatchset@octo> Subject: [PATCH 09/09] Random build workarounds for renesas-drivers 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 The latest renesas-drivers release does not build for me with the arm64 defconfig. Probably related to my old toolchain. Take the easy way out and work around the build issues locally. Not for upstream merge. Not-Signed-off-by: Magnus Damm --- Applies on top of renesas-drivers-2018-12-18-v4.20-rc7 arch/arm64/include/asm/smp.h | 2 +- drivers/gpu/drm/rockchip/dw-mipi-dsi-rockchip.c | 2 +- drivers/tty/serial/sh-sci.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) --- 0001/arch/arm64/include/asm/smp.h +++ work/arch/arm64/include/asm/smp.h 2018-12-19 13:51:47.246815997 +0900 @@ -30,7 +30,7 @@ #define CPU_PANIC_KERNEL (3) #define CPU_STUCK_REASON_52_BIT_VA (1U << CPU_STUCK_REASON_SHIFT) -#define CPU_STUCK_REASON_NO_GRAN (2U << CPU_STUCK_REASON_SHIFT) +#define CPU_STUCK_REASON_NO_GRAN (2 << CPU_STUCK_REASON_SHIFT) #ifndef __ASSEMBLY__ --- 0001/drivers/gpu/drm/rockchip/dw-mipi-dsi-rockchip.c +++ work/drivers/gpu/drm/rockchip/dw-mipi-dsi-rockchip.c 2018-12-19 14:06:48.699077685 +0900 @@ -560,7 +560,7 @@ dw_mipi_dsi_get_lane_mbps(void *priv_dat static const struct dw_mipi_dsi_phy_ops dw_mipi_dsi_rockchip_phy_ops = { .init = dw_mipi_dsi_phy_init, - .get_lane_mbps = dw_mipi_dsi_get_lane_mbps, + //.get_lane_mbps = dw_mipi_dsi_get_lane_mbps, }; static void dw_mipi_dsi_rockchip_config(struct dw_mipi_dsi_rockchip *dsi, --- 0001/drivers/tty/serial/sh-sci.c +++ work/drivers/tty/serial/sh-sci.c 2018-12-19 13:42:38.328037070 +0900 @@ -1347,7 +1347,7 @@ static int sci_submit_rx(struct sci_port { struct dma_chan *chan = s->chan_rx; struct uart_port *port = &s->port; - unsigned long flags; + unsigned long flags = 0; int i; for (i = 0; i < 2; i++) {