From patchwork Wed Nov 21 10:30:56 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 10692347 X-Patchwork-Delegate: geert@linux-m68k.org 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 4902515A7 for ; Wed, 21 Nov 2018 10:30:44 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3582D2B71C for ; Wed, 21 Nov 2018 10:30:44 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2A1C82B742; Wed, 21 Nov 2018 10:30:44 +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 92DBE2B71C for ; Wed, 21 Nov 2018 10:30:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729488AbeKUVEc (ORCPT ); Wed, 21 Nov 2018 16:04:32 -0500 Received: from mail-pl1-f195.google.com ([209.85.214.195]:44069 "EHLO mail-pl1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729485AbeKUVEb (ORCPT ); Wed, 21 Nov 2018 16:04:31 -0500 Received: by mail-pl1-f195.google.com with SMTP id s5-v6so4920590plq.11 for ; Wed, 21 Nov 2018 02:30:38 -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=IURu9l24ujb2TvG0nr00MdBk/UojR7FyXY78KzKms8M=; b=qKXmi2n+Z7KFUWo3xUy73At7dthqWGO99CNPCw7jlz5jCcnqTFcUopADVYBo80Bw4y mlBgt5UvWuBiJ/sL8J+i+hNvq67U/YnFsIqi+wV2YfypJQTah0oLcQK6rd3E6JOk35ly TVAAf6yCmGxIa+2VFhfe8N8DQKSmD+2/PLqVuFGTT5tRO8/9qxFuxyghT6l5p9j6iKIC 1DNjpfRU7FQnAYo0xPujeuAgSRxLQVdo3veUjz7Z8S/8Eih+UWRPkm/1yNSGOOfgQbPs mWHI0K80b87L6Re4C/DkyODFxIrcfeGg75/eH3MjuxS0t5xo0WdybpuvQKfxw13rPLGk pPJQ== 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=IURu9l24ujb2TvG0nr00MdBk/UojR7FyXY78KzKms8M=; b=kEuF3RrCTO56oHW8IntOUT2T9uTx6gCWqWRos/myHuokuY/0Ykia/JUVDQ+M+ncMjg V26q0v86ANuJecNaesGgGgWBqK/dg1ISXyKGdKQOwxnPwxKbNar5aavSmXlEpwJ56DF3 QSwX2N14Ivrc2uwwx8eahuEVEkj8z/HZzzbZBV4WDNAoOb8kFOj6SNOynKyPR44TN/3Y RrNVALcCqfZeDiZejBO3ALtY9LudqYCuY/toT2Aeq5b3kjMMmPGvA58LP1B3PsanC2x7 LgHkttJR2P9mlgrppvzbeCajM5Yce5nbWSCMvIiBL4eQe2GYO2NQkMNiGvRpqpJWk5W0 JhnQ== X-Gm-Message-State: AGRZ1gK3Og7ViFXg3AnXoB8gy7ID2p/EkjohC/DUHZ6lmrRHOluuUXM+ mw1EFvVurtfrf0lNKwQ4uH1phkXG X-Google-Smtp-Source: AJdET5eJOT3/e9Zmm/aXzi6AS/9oEnw+NWdShdf656JB5csQTE5H4ngwhvCpqepWaBnpV+bowEqgPg== X-Received: by 2002:a62:2545:: with SMTP id l66-v6mr6208991pfl.207.1542796237703; Wed, 21 Nov 2018 02:30:37 -0800 (PST) Received: from [127.0.0.1] (l193216.ppp.asahi-net.or.jp. [218.219.193.216]) by smtp.gmail.com with ESMTPSA id n186sm12847308pfn.137.2018.11.21.02.30.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 21 Nov 2018 02:30:36 -0800 (PST) From: Magnus Damm To: linux-renesas-soc@vger.kernel.org Cc: Magnus Damm Date: Wed, 21 Nov 2018 19:30:56 +0900 Message-Id: <154279625682.29528.16840605699274594629.sendpatchset@octo> In-Reply-To: <154279624819.29528.954090919447072739.sendpatchset@octo> References: <154279624819.29528.954090919447072739.sendpatchset@octo> Subject: [PATCH 01/05] Hack FCP driver to poke at FCPCS and VDPB during probe 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 Hack up the FCP driver to test the power domains and dump registers. This prototype level code is not intended for upstream merge. Not-Signed-off-by: Magnus Damm --- drivers/media/platform/rcar-fcp.c | 42 ++++++++++++++++++++++++++++++++++++- drivers/soc/renesas/rcar-sysc.c | 1 2 files changed, 42 insertions(+), 1 deletion(-) --- 0002/drivers/media/platform/rcar-fcp.c +++ work/drivers/media/platform/rcar-fcp.c 2018-11-21 18:32:58.792603934 +0900 @@ -8,10 +8,12 @@ */ #include +#include #include #include #include #include +#include #include #include #include @@ -26,6 +28,8 @@ struct rcar_fcp_device { static LIST_HEAD(fcp_devices); static DEFINE_MUTEX(fcp_lock); +#define FCP_VCR 0 /* Version register at offset 0 */ + /* ----------------------------------------------------------------------------- * Public API */ @@ -118,7 +122,7 @@ EXPORT_SYMBOL_GPL(rcar_fcp_enable); void rcar_fcp_disable(struct rcar_fcp_device *fcp) { if (fcp) - pm_runtime_put(fcp->dev); + pm_runtime_put_sync(fcp->dev); } EXPORT_SYMBOL_GPL(rcar_fcp_disable); @@ -144,6 +148,41 @@ static int rcar_fcp_probe(struct platfor platform_set_drvdata(pdev, fcp); + /* self-test VCPCS on ->probe() */ + if (of_device_get_match_data(&pdev->dev)) { + struct resource *io; + void __iomem *mmio, *mmio2; + + printk("Enabling FCPCS device (Runtime PM on)\n"); + rcar_fcp_enable(fcp); + + io = platform_get_resource(pdev, IORESOURCE_MEM, 0); + mmio = devm_ioremap_resource(&pdev->dev, io); + if (!IS_ERR(mmio)) + printk("Power-on FCPCS version is 0x%08lx\n", + (unsigned long) ioread32(mmio + FCP_VCR)); + + io = platform_get_resource(pdev, IORESOURCE_MEM, 1); + mmio2 = devm_ioremap_resource(&pdev->dev, io); + + if (!IS_ERR(mmio2)) + printk("Power-on VDPB read at offset 0x200 is 0x%08lx\n", + (unsigned long) ioread32(mmio2 + 0x200)); + + printk("Disabling FCPCS device (Runtime PM off)\n"); + rcar_fcp_disable(fcp); + +#ifdef IOREAD_POWER_OFF_TEST + if (!IS_ERR(mmio)) + printk("Power-off FCPCS version is 0x%08lx\n", + (unsigned long) ioread32(mmio + FCP_VCR)); + + if (!IS_ERR(mmio2)) + printk("Power-off VDPB read at offset 0x200 is 0x%08lx\n", + (unsigned long) ioread32(mmio2 + 0x200)); +#endif + } + return 0; } @@ -163,6 +202,7 @@ static int rcar_fcp_remove(struct platfo static const struct of_device_id rcar_fcp_of_match[] = { { .compatible = "renesas,fcpf" }, { .compatible = "renesas,fcpv" }, + { .compatible = "renesas,fcpc", .data = &rcar_fcp_of_match[0] }, { }, }; MODULE_DEVICE_TABLE(of, rcar_fcp_of_match); --- 0002/drivers/soc/renesas/rcar-sysc.c +++ work/drivers/soc/renesas/rcar-sysc.c 2018-11-21 17:16:50.411091041 +0900 @@ -6,6 +6,7 @@ * Copyright (C) 2015-2017 Glider bvba */ +#define DEBUG #include #include #include From patchwork Wed Nov 21 10:31:05 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 10692349 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 1914F1751 for ; Wed, 21 Nov 2018 10:30:48 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 074922B742 for ; Wed, 21 Nov 2018 10:30:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id F04EC2B751; Wed, 21 Nov 2018 10:30:47 +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 9A6652B742 for ; Wed, 21 Nov 2018 10:30:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729485AbeKUVEi (ORCPT ); Wed, 21 Nov 2018 16:04:38 -0500 Received: from mail-pl1-f196.google.com ([209.85.214.196]:38127 "EHLO mail-pl1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726001AbeKUVEi (ORCPT ); Wed, 21 Nov 2018 16:04:38 -0500 Received: by mail-pl1-f196.google.com with SMTP id e5so4927127plb.5 for ; Wed, 21 Nov 2018 02:30:46 -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=/B1g5NyA8EJiC7szWCuOh4o6U4+Wq2qVoQ7wNUhSfL8=; b=a+u3uv6QxI04QMwH8/vcI2Da261Is/rD1nHljQf8LfE54wbPBhlupUF0O+PurVGz8D 5VUr37Oi2U7h6MCx4etKZunLgPkC+1tw2cgFZp31d64mkPXfi9o1RXY4t5UkyB4imMJl mlZEmGYbbBYqHsZe7U9sGBgak3OE+usAoHUyCAHcDt3M12JXjGJPcM8qw6qqMoGMLn7e 5vrt7OvOyKAwF3/+tpCK6hF4hPnlcoJrLjCnsqIUyz3dvQLxpB5sT1jwpA7RZzYiP33L BeRIlW23hjqnasduXx20qbXZytHVnHFchmKhnTWzHu4h2g4yJppe6uPCTFRu8249h77t 2Mxw== 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=/B1g5NyA8EJiC7szWCuOh4o6U4+Wq2qVoQ7wNUhSfL8=; b=Cw5vU6xlvmAqa9t2dig3sutf0qJKKcBx8dr5QOhM+JJMER0z2A+VFMyYU0k15NyG4q ++5NboLICjso0kK+F82GtWwOZIXV+uitmNpP43K1tvjswf8rOPTbyzUdu5+q6hbptKwx Wr5TEG7drDnxGTIcByil3G2caQT8iaPbQRCcnJiJhC3hq0Nu7pIJdbpHJJsWyBhsF5q5 RCJSsJ6kzN77j7DKwDgtYS/zaPk8yF1BeSKDx71fNmRNIw7seC727WUeJt9I2KJKMqbw VyYAFFcmfhckT/WtQF4FG3fOfS9almNOLqFRNo7fy4CSz1OEMur/hgJ5AQk6cuhESukt RpXA== X-Gm-Message-State: AA+aEWaIDM0jGwIvea/Rr/woOlzmt7uIOyB6WGTduugUFQsL/YBLUOn9 cgwJzRJv6UFE6MlJ9eZGJy9LgID7 X-Google-Smtp-Source: AFSGD/UWDD/ficzqtfpPVx4HalawYe0p3zrR3O6UGzynw/TbrUH3X+ELdSsFL68hKu7BycS1hh5g7g== X-Received: by 2002:a17:902:aa4c:: with SMTP id c12mr3512721plr.48.1542796246222; Wed, 21 Nov 2018 02:30:46 -0800 (PST) Received: from [127.0.0.1] (l193216.ppp.asahi-net.or.jp. [218.219.193.216]) by smtp.gmail.com with ESMTPSA id d2-v6sm52866965pfn.118.2018.11.21.02.30.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 21 Nov 2018 02:30:45 -0800 (PST) From: Magnus Damm To: linux-renesas-soc@vger.kernel.org Cc: Magnus Damm Date: Wed, 21 Nov 2018 19:31:05 +0900 Message-Id: <154279626537.29528.16284240304226935084.sendpatchset@octo> In-Reply-To: <154279624819.29528.954090919447072739.sendpatchset@octo> References: <154279624819.29528.954090919447072739.sendpatchset@octo> Subject: [PATCH 02/05] arm64: dts: renesas: r8a7795: Add FCPCS+VDPB node 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 a temporary FCPCS device that also includes VDPB for testing purpose. This prototype level code is not intended for upstream merge. Not-Signed-off-by: Magnus Damm --- arch/arm64/boot/dts/renesas/r8a7795.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) --- 0001/arch/arm64/boot/dts/renesas/r8a7795.dtsi +++ work/arch/arm64/boot/dts/renesas/r8a7795.dtsi 2018-11-21 18:34:31.469462826 +0900 @@ -2647,6 +2647,15 @@ resets = <&cpg 820>; }; + fcpcs: fcp@fe90f000 { + compatible = "renesas,fcpc"; + reg = <0 0xfe90f000 0 0x200>, + <0 0xfe900000 0 0x400>; /* Hack to test VDPB */ + clocks = <&cpg CPG_MOD 619>; + power-domains = <&sysc R8A7795_PD_A2VC1>; + resets = <&cpg 619>; + }; + fdp1@fe940000 { compatible = "renesas,fdp1"; reg = <0 0xfe940000 0 0x2400>; From patchwork Wed Nov 21 10:31:13 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 10692351 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 817B915A7 for ; Wed, 21 Nov 2018 10:30:56 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6C2E12B742 for ; Wed, 21 Nov 2018 10:30:56 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 603CA2B751; Wed, 21 Nov 2018 10:30:56 +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 086162B742 for ; Wed, 21 Nov 2018 10:30:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728474AbeKUVEr (ORCPT ); Wed, 21 Nov 2018 16:04:47 -0500 Received: from mail-pl1-f194.google.com ([209.85.214.194]:35783 "EHLO mail-pl1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726001AbeKUVEr (ORCPT ); Wed, 21 Nov 2018 16:04:47 -0500 Received: by mail-pl1-f194.google.com with SMTP id v1-v6so4936896plo.2 for ; Wed, 21 Nov 2018 02:30:55 -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=1x5SnGU2c7sx1GKTjDlaDr3qBQOdt5MyOvz19KT98K0=; b=kU48oj6dRVNSpaOcBu3RdYYZwi6US8xHVCTkubEe/Qsc/QrIMViVygRHh9eKEOHR16 Wk86L7VznTZ2MBnO8PbrS25W3B9x7mSN2hDnmzPLpTSSiOfuXGBNeJcPHj0z9aSFK+up 8PvhBoC5/Pir6TInBqA8hwGiac+p2xOtbPPpFwn6RZ4+sw0ytWIsv9++P6sxMYCHZJJj K0yqwfAiPLLUPbJV0J/icRXpDSbHWz4fjm72OerPaKdj8dqt4b1C8HvDj1lIDj30t8OO AUfDyq8TGFKKVsaElFXqFa+Ni5rYfp6saXwQqLUee2EtHI9DUDRKyY8IvsC+mJPAc2ap VXJQ== 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=1x5SnGU2c7sx1GKTjDlaDr3qBQOdt5MyOvz19KT98K0=; b=Jjel5vCMweczUM2XFd0PlhxVY9yoblwqpASduUNF5gNH4NI9uqB8n8dzZY9nBigwz8 EVP2tW4RzQmn80EuEXjGXop9TNiuTH99MfmpLuJFIk47wqZ/kxmL/1BkLkqm9K+xih+p sgKqik/AR+210G2d8FQ2Kdcq9IOP+TEf8o2y4vMoIFd0PaIk3ZhCUkiAt9mnTZMBdHoq /IsA+3nhiSmiUaoBeYDOIn3OtG4AIPN8V1RPCz+/XUQMBVCzio2nOsoUZYUIcNwrjPlT mIjvSDihsRSKsbCg6/VYo6S7oQplnG/03nb0FdZFhtWqPJS94X09/g7EBtbqIMJotUZA 1Afw== X-Gm-Message-State: AA+aEWbofFYfUmmUpYu95C0p3cSap+YLTVU0+SGTIf1/LFBM2WJBsrSf ncyhbUpfdlSvFnQt8hiCzJoeYKE9 X-Google-Smtp-Source: AFSGD/Xp/wp1BECbklC3+D5JSxJ0Tai3oWxfcv2yB0x5SeSmh4NXl/kktgrrA9pBp3nwfJTHFpaHGQ== X-Received: by 2002:a63:3c44:: with SMTP id i4mr5349753pgn.286.1542796254623; Wed, 21 Nov 2018 02:30:54 -0800 (PST) Received: from [127.0.0.1] (l193216.ppp.asahi-net.or.jp. [218.219.193.216]) by smtp.gmail.com with ESMTPSA id y66-v6sm60562363pfy.24.2018.11.21.02.30.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 21 Nov 2018 02:30:53 -0800 (PST) From: Magnus Damm To: linux-renesas-soc@vger.kernel.org Cc: Magnus Damm Date: Wed, 21 Nov 2018 19:31:13 +0900 Message-Id: <154279627389.29528.9572412886288904639.sendpatchset@octo> In-Reply-To: <154279624819.29528.954090919447072739.sendpatchset@octo> References: <154279624819.29528.954090919447072739.sendpatchset@octo> Subject: [PATCH 03/05] arm64: dts: renesas: r8a7796: Add FCPCS+VDPB node 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 a temporary FCPCS device that also includes VDPB for testing purpose. This prototype level code is not intended for upstream merge. Not-Signed-off-by: Magnus Damm --- arch/arm64/boot/dts/renesas/r8a7796.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) --- 0001/arch/arm64/boot/dts/renesas/r8a7796.dtsi +++ work/arch/arm64/boot/dts/renesas/r8a7796.dtsi 2018-11-21 18:36:53.552912032 +0900 @@ -2209,6 +2209,15 @@ resets = <&cpg 822>; }; + fcpcs: fcp@fe90f000 { + compatible = "renesas,fcpc"; + reg = <0 0xfe90f000 0 0x200>, + <0 0xfe900000 0 0x400>; /* Hack to test VDPB */ + clocks = <&cpg CPG_MOD 619>; + power-domains = <&sysc R8A7796_PD_A2VC0>; + resets = <&cpg 619>; + }; + fdp1@fe940000 { compatible = "renesas,fdp1"; reg = <0 0xfe940000 0 0x2400>; From patchwork Wed Nov 21 10:31:22 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 10692353 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 ADA6615A7 for ; Wed, 21 Nov 2018 10:31:04 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9AC8F2B742 for ; Wed, 21 Nov 2018 10:31:04 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8EB982B751; Wed, 21 Nov 2018 10:31:04 +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 444672B742 for ; Wed, 21 Nov 2018 10:31:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728177AbeKUVEz (ORCPT ); Wed, 21 Nov 2018 16:04:55 -0500 Received: from mail-pl1-f181.google.com ([209.85.214.181]:43087 "EHLO mail-pl1-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726001AbeKUVEz (ORCPT ); Wed, 21 Nov 2018 16:04:55 -0500 Received: by mail-pl1-f181.google.com with SMTP id gn14so4931277plb.10 for ; Wed, 21 Nov 2018 02:31: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=29Mrie0+x+FR3JuY1wSA8p3ddQS1BaFr2MRCoEZBULE=; b=ZmA8kmW7e6YY0/L8w6WvgEvzmccvbl4wl/E3XKTT2JKu2qcqzQJszFuLwkmaAo4OS8 6iWuAD05tKpRj334iRwMgzjCdROjgzJqLK14Ey/s5YIvSG9+DsnAEKKYMsZ4PHJIHBg9 ZPWPmHmlgKAbSjMH2wz9WUo4y4/rsTx0YEbgRhCOLvoqIO1mgeoQAdzhl61+nO6dQ+94 IdrnQyEsVbFl3hkgeOtttbQCETl5vr6hA38gRBW+lRx5q78SiPR/6UlTzwTdXO0OJ2Hd V+vmvxiuDGSAaM2ySyOwoQqGbzB6JgpZ8wzwXQwXY7n0/8ER5vPL3AXp+7TG4zuowvgo GRew== 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=29Mrie0+x+FR3JuY1wSA8p3ddQS1BaFr2MRCoEZBULE=; b=P0AUdIZj2/7YgUhgfJLlTwiqSIgUEY3zwJ03iouVdqIkSeqopEvrmgLvaNYA4vlZu7 bvTcI9W1mYjNGomEaOnaGh7b65iUCpvDfv7CP5rw9j47NrLKAYfgCB3EEAe1DVBLLY4Z bvmt57NgSB+Kt47S4Rp/MVwxYDK1uMz0NQOWgYg9Bxa24ckHlAl9qXYsk65ppsB9tM1S 0ASns5IycGQ9Y3ncQyWf8lw91Um+YqBh9vhbECsuKQ3RFG4zqjf14C+E0N7fqDimVPV+ OCNC0IhiOUB9EbkeuBKp70QZ9J3FegxaKlicD5MPQBSKELFEAbzz01NRsTgy49UayY9U Qesg== X-Gm-Message-State: AA+aEWZc0mMpu0MK66J2PaBfgELShGFTXwcDlzGnF91Fce7b6t85emC5 MrOWNDCc60MnANbvW1DIMzKGzPI6 X-Google-Smtp-Source: AFSGD/X3eCQ/7q2kGc5vdoLxpRrzuH7gWtBgfAO3EZrwinzk2VVKQI3scAF4g/29qpafJgbr5x1Xiw== X-Received: by 2002:a17:902:bf49:: with SMTP id u9mr6159541pls.4.1542796262949; Wed, 21 Nov 2018 02:31:02 -0800 (PST) Received: from [127.0.0.1] (l193216.ppp.asahi-net.or.jp. [218.219.193.216]) by smtp.gmail.com with ESMTPSA id r26-v6sm18506018pfk.157.2018.11.21.02.31.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 21 Nov 2018 02:31:01 -0800 (PST) From: Magnus Damm To: linux-renesas-soc@vger.kernel.org Cc: Magnus Damm Date: Wed, 21 Nov 2018 19:31:22 +0900 Message-Id: <154279628230.29528.4406846561982098560.sendpatchset@octo> In-Reply-To: <154279624819.29528.954090919447072739.sendpatchset@octo> References: <154279624819.29528.954090919447072739.sendpatchset@octo> Subject: [PATCH 04/05] arm64: dts: renesas: r8a77965: Add FCPCS+VDPB node 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 a temporary FCPCS device that also includes VDPB for testing purpose. This prototype level code is not intended for upstream merge. Not-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 2018-11-21 18:43:24.355401176 +0900 @@ -1890,6 +1890,15 @@ status = "disabled"; }; + fcpcs: fcp@fe90f000 { + compatible = "renesas,fcpc"; + reg = <0 0xfe90f000 0 0x200>, + <0 0xfe900000 0 0x400>; /* Hack to test VDPB */ + clocks = <&cpg CPG_MOD 619>; + power-domains = <&sysc R8A77965_PD_A2VC1>; + resets = <&cpg 619>; + }; + fdp1@fe940000 { compatible = "renesas,fdp1"; reg = <0 0xfe940000 0 0x2400>; From patchwork Wed Nov 21 10:31: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: 10692355 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 2996115A7 for ; Wed, 21 Nov 2018 10:31:13 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 16F622B742 for ; Wed, 21 Nov 2018 10:31:13 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0B1F62B751; Wed, 21 Nov 2018 10:31:13 +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 A074C2B742 for ; Wed, 21 Nov 2018 10:31:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726967AbeKUVFE (ORCPT ); Wed, 21 Nov 2018 16:05:04 -0500 Received: from mail-pl1-f195.google.com ([209.85.214.195]:38271 "EHLO mail-pl1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726001AbeKUVFD (ORCPT ); Wed, 21 Nov 2018 16:05:03 -0500 Received: by mail-pl1-f195.google.com with SMTP id e5so4928895plb.5 for ; Wed, 21 Nov 2018 02:31:12 -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=QfZB8MS3qKs7WEK4f+bNnecpsWBDjsVBdotWVXMjf1M=; b=luS3x+VD1szPlizHdgV9SeFLfoHrdKPgIRntMDZlIAmee1mNj1GGZMAbWfu4TO8CJQ 938qudpMfrFq/kY+7Ruawd77Erd04pRJR/Z7G1kG/HeS6bFK3bPQX8alUlQ3eYhf3ss5 m4crQi+dQ9VZdJllihLVgkyLXQwSSITYqOGsXHwEMDazhjevWCRyQTH1abs9gApkYLIT tU648ODTb2Ws4Y8HlI764JLWDLHLPnq4IHGo0ez9i1gG5rIthp9M5gmDl/zu0aU+LF8b QWuPPQuDwrr9QLRAgF/GhbX/ekMivPlejxfC3S+toINuRiiN6YULP8t7mNORvLz8X5sO CtWg== 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=QfZB8MS3qKs7WEK4f+bNnecpsWBDjsVBdotWVXMjf1M=; b=Jg8JP4Wxb+vMc7PKhSIgPm4CB5mQOeE6HqcXjDLUwWzQMOxyz6rUQEMi5TevNcgz0a KAYtcWeX1gOR60jKw/7YRe0wl7fYSp0IXvHBUETRyl1fusyNpuAnxu/AyAuEkGe2cW0F mS/rz974RvZr4IXulCDz2bu21jz0z8nK5MfSVhfpnKnyJNo+vFth+jHtVdbgBHAFAnWy RClL9p423vibaadaGqUeNtGuIVEoxzm1htHs/MSbDZVv+JxuzAFJcYuFABuA4/P5luSd eqp6v6BT45ynXseYD/qbXBkv1JEVxCFY2woVuP0Y+QYo3uSu6HD8UkMtlHLhwLxEtA2L zWHA== X-Gm-Message-State: AGRZ1gJd73Xi0f5QXt8I955DX0m3HTqHOLdZLHX5AFX5aD3W71bwSIz6 nwKVe4/FxI56USFdrCIOcMxaV65C X-Google-Smtp-Source: AJdET5ctKLsj3vzY6bhouSBzVTmYpmkCtli2d2gwl8mn0d2TPW5SFEkrNuDwA62M6PB026FZOh/KxA== X-Received: by 2002:a62:2bd4:: with SMTP id r203-v6mr6204219pfr.105.1542796271505; Wed, 21 Nov 2018 02:31:11 -0800 (PST) Received: from [127.0.0.1] (l193216.ppp.asahi-net.or.jp. [218.219.193.216]) by smtp.gmail.com with ESMTPSA id f22-v6sm58113063pff.29.2018.11.21.02.31.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 21 Nov 2018 02:31:10 -0800 (PST) From: Magnus Damm To: linux-renesas-soc@vger.kernel.org Cc: Magnus Damm Date: Wed, 21 Nov 2018 19:31:30 +0900 Message-Id: <154279629062.29528.16838446106465412292.sendpatchset@octo> In-Reply-To: <154279624819.29528.954090919447072739.sendpatchset@octo> References: <154279624819.29528.954090919447072739.sendpatchset@octo> Subject: [PATCH 05/05] arm64: dts: renesas: r8a77990: Add FCPCS+VDPB node 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 Add a temporary FCPCS device that also includes VDPB for testing purpose. This prototype level code is not intended for upstream merge. Not-Signed-off-by: Magnus Damm --- arch/arm64/boot/dts/renesas/r8a77990.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) --- 0001/arch/arm64/boot/dts/renesas/r8a77990.dtsi +++ work/arch/arm64/boot/dts/renesas/r8a77990.dtsi 2018-11-21 18:48:07.085224248 +0900 @@ -1419,6 +1419,15 @@ resets = <&cpg 408>; }; + fcpcs: fcp@fe90f000 { + compatible = "renesas,fcpc"; + reg = <0 0xfe90f000 0 0x200>, + <0 0xfe900000 0 0x400>; /* Hack to test VDPB */ + clocks = <&cpg CPG_MOD 619>; + power-domains = <&sysc R8A77990_PD_A2VC1>; + resets = <&cpg 619>; + }; + vspb0: vsp@fe960000 { compatible = "renesas,vsp2"; reg = <0 0xfe960000 0 0x8000>;