From patchwork Thu Jun 7 20:20:47 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 10453491 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 960516053F for ; Thu, 7 Jun 2018 20:21:12 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 82BB829481 for ; Thu, 7 Jun 2018 20:21:12 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7737628E47; Thu, 7 Jun 2018 20:21:12 +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=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 0629628E47 for ; Thu, 7 Jun 2018 20:21:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date: Message-ID:References:To:From:Subject:Reply-To:Content-ID:Content-Description :Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Mx2h94k37xJIs9dNE8u3MZgip+RqojZRJmnNd8SPSNQ=; b=Mh91aPLKrMU09u RGA+yph3+KwGP0BQ+/3750ZvpUuB3Y4140NTcRXgaB7Kqdx6DN8inY4ceN0O8SsVHqEqlwFOWVrYW p+zQ2R6Rng2AfEAuVcmhQ5zwDLyT8NG3TXu2HbgMMAKyDMppvvkRSqlGkaO86DgTI68E9PpgCShLf pD4p6ezknup++yREdh7/8uuz2hk55aBLeOGT6C1bzpR31mJwOxOQ2QaWkwXYk0NQSj3uxPuxZEn04 0XFHKxZ6zNl9mWAUJlHrrG9nY1NwtvvlrI0YM/C5xIBhVl6VcmKI+8D/YgaFLYd1WBc5fI8rEQysE fOzBSJl9AaJPXUkuBOOw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fR1P5-0008Kk-Vo; Thu, 07 Jun 2018 20:21:04 +0000 Received: from mail-lf0-x244.google.com ([2a00:1450:4010:c07::244]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fR1P3-0008Js-Kv for linux-arm-kernel@lists.infradead.org; Thu, 07 Jun 2018 20:21:02 +0000 Received: by mail-lf0-x244.google.com with SMTP id n15-v6so16606828lfn.10 for ; Thu, 07 Jun 2018 13:20:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cogentembedded-com.20150623.gappssmtp.com; s=20150623; h=subject:from:to:cc:references:organization:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=5EY0cAdvphSDNQOqBSU4yPTAp+8Swe+Zez+npXFKvo4=; b=EEelkEj9Mu1CfrjkP5JZ3e0LkX4tiM4ZMaG/emEliL0Aec7p76uC+0UxxodJ36OmHR y1M6DQEKV+x/27cjh0hvy7F5VGI5GPbnvU4OvBaFEnsiMYErP2dzFq3vHhT44DCzesS5 RSY1Gd1EbJsOX9fgKLnDsr/3R5TV5zDnCObeXZ3rELkeyDMa1KS0Op5cfDdQBkOoZpQN DYIW/6ShtOMetYEax/vqyEUuusqvHboJmzV1X/zBMFqmtZqlzUARy1FBigj9TFvAVGRs sGu5LGfB5wWcR2lxhhFhXXb2ze8gKjqbkFaL5CDgh5Wo6MZYjCSpGG/pk0ZLS5fYSpO2 FEUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:from:to:cc:references:organization :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=5EY0cAdvphSDNQOqBSU4yPTAp+8Swe+Zez+npXFKvo4=; b=sEvrAObDJq0SjHoaTUwET8ez+6cTgCbZc8+e6gt1YYNJQQgZqe4HaSmlrA8pGRIrnH 2PvkvPerKm7/oHXwBEnHksOxBTk8JgqYbO4k/B2arJPSUTmegAZW9HvVshGpuZ3q6qSj W8EK0wnmmFuXNuTk59/S06398FfnjyWSlg0wpvcpHbCWBlXh4BL1xF4ltZWw/E22WK4D viarJapCa0+v0zipARNiHusRPNtt1J3RPSc2IHjiQaOUay3gA8T0BCeGMPeqGB4AN4N4 KXS+QoaEsCD3QK4qyk7dcTVpKXEu1/nZr/A+CbdBHBAfXMA5bv91nM/y8u2iJdLKEUhe wgqQ== X-Gm-Message-State: APt69E1OvnbWtJO95NPhfkQvNkTgDI6uMuxmJoc9pbZMIj8k8S+P8az7 En7qtMm1LidZ2ZMTtHGOeIR8EAnFtuw= X-Google-Smtp-Source: ADUXVKLaiIFMaATrnkLK9xeVl+p4LUjDkhJAZDQ75GMhAlKtAG3VJ9KNUYPzvCBHlxgom9Vbirxn9Q== X-Received: by 2002:a2e:81a:: with SMTP id 26-v6mr2588298lji.46.1528402849227; Thu, 07 Jun 2018 13:20:49 -0700 (PDT) Received: from wasted.cogentembedded.com ([31.173.86.118]) by smtp.gmail.com with ESMTPSA id b16-v6sm4055549lfa.72.2018.06.07.13.20.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 07 Jun 2018 13:20:48 -0700 (PDT) Subject: [PATCH v2 2/5] arm64: dts: renesas: r8a77980: add VSPD support From: Sergei Shtylyov To: Simon Horman , Rob Herring , Catalin Marinas , Will Deacon , linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org References: <390fabf0-4caf-1600-3780-1893207d94f7@cogentembedded.com> Organization: Cogent Embedded Message-ID: <5f151ec5-bec7-ed06-cb94-4f0cfe8e43dc@cogentembedded.com> Date: Thu, 7 Jun 2018 23:20:47 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <390fabf0-4caf-1600-3780-1893207d94f7@cogentembedded.com> Content-Language: en-MW X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180607_132101_693231_2E86A9E6 X-CRM114-Status: GOOD ( 17.15 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , Magnus Damm , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Describe VSPD0 in the R8A77980 device tree; it will be used by DU in the next patch... Based on the original (and large) patch by Vladimir Barinov. Signed-off-by: Vladimir Barinov Signed-off-by: Sergei Shtylyov --- arch/arm64/boot/dts/renesas/r8a77980.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) Index: renesas/arch/arm64/boot/dts/renesas/r8a77980.dtsi =================================================================== --- renesas.orig/arch/arm64/boot/dts/renesas/r8a77980.dtsi +++ renesas/arch/arm64/boot/dts/renesas/r8a77980.dtsi @@ -653,6 +653,16 @@ resets = <&cpg 408>; }; + vspd0: vsp@fea20000 { + compatible = "renesas,vsp2"; + reg = <0 0xfea20000 0 0x4000>; + interrupts = ; + clocks = <&cpg CPG_MOD 623>; + power-domains = <&sysc R8A77980_PD_ALWAYS_ON>; + resets = <&cpg 623>; + renesas,fcp = <&fcpvd0>; + }; + fcpvd0: fcp@fea27000 { compatible = "renesas,fcpv"; reg = <0 0xfea27000 0 0x200>;