From patchwork Mon Mar 22 17:29:18 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kieran Bingham X-Patchwork-Id: 12155685 X-Patchwork-Delegate: geert@linux-m68k.org Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1E441C433DB for ; Mon, 22 Mar 2021 17:30:28 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id C934C6199F for ; Mon, 22 Mar 2021 17:30:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231435AbhCVR3z (ORCPT ); Mon, 22 Mar 2021 13:29:55 -0400 Received: from perceval.ideasonboard.com ([213.167.242.64]:46238 "EHLO perceval.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231708AbhCVR3Z (ORCPT ); Mon, 22 Mar 2021 13:29:25 -0400 Received: from Q.local (cpc89244-aztw30-2-0-cust3082.18-1.cable.virginm.net [86.31.172.11]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 01045FC8; Mon, 22 Mar 2021 18:29:23 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1616434164; bh=S7Yh3ZUgZA9bYyp+ND90ZSmYY0371zFYNMEWxMphkko=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=S4oBiABoXKvtIIsByqFksDqLoTODksVVhJtGzGID1FDNt/LXA9KC7p6W5MW4CjubD l71y+x4nqiAvlk0gcvC67kYPdb3yeem0xyGp5Ne+EQi5crQmzoqPJndk9YgCoi8PdK d6il4NTeUWPB9gv7iZnVF1pkLmZwXAS5iZTkpQKE= From: Kieran Bingham To: Laurent Pinchart , Geert Uytterhoeven , linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org Cc: Rob Herring , Kieran Bingham Subject: [PATCH v2 1/2] arm64: dts: renesas: r8a779a0: Add FCPVD support Date: Mon, 22 Mar 2021 17:29:18 +0000 Message-Id: <20210322172919.1154686-2-kieran.bingham+renesas@ideasonboard.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210322172919.1154686-1-kieran.bingham+renesas@ideasonboard.com> References: <20210322172919.1154686-1-kieran.bingham+renesas@ideasonboard.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org Provide FCPVD support for the V3U. Reviewed-by: Laurent Pinchart Signed-off-by: Kieran Bingham Reviewed-by: Geert Uytterhoeven --- v2: - use the correct address for the register mappings. --- arch/arm64/boot/dts/renesas/r8a779a0.dtsi | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r8a779a0.dtsi b/arch/arm64/boot/dts/renesas/r8a779a0.dtsi index 6f3eba4653a3..73036a5b8312 100644 --- a/arch/arm64/boot/dts/renesas/r8a779a0.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a779a0.dtsi @@ -1102,6 +1102,22 @@ gic: interrupt-controller@f1000000 { power-domains = <&sysc R8A779A0_PD_ALWAYS_ON>; }; + fcpvd0: fcp@fea10000 { + compatible = "renesas,fcpv"; + reg = <0 0xfea10000 0 0x200>; + clocks = <&cpg CPG_MOD 508>; + power-domains = <&sysc R8A779A0_PD_ALWAYS_ON>; + resets = <&cpg 508>; + }; + + fcpvd1: fcp@fea11000 { + compatible = "renesas,fcpv"; + reg = <0 0xfea11000 0 0x200>; + clocks = <&cpg CPG_MOD 509>; + power-domains = <&sysc R8A779A0_PD_ALWAYS_ON>; + resets = <&cpg 509>; + }; + prr: chipid@fff00044 { compatible = "renesas,prr"; reg = <0 0xfff00044 0 4>; From patchwork Mon Mar 22 17:29:19 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kieran Bingham X-Patchwork-Id: 12155687 X-Patchwork-Delegate: geert@linux-m68k.org Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 54303C433E0 for ; Mon, 22 Mar 2021 17:30:28 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 17C1A61994 for ; Mon, 22 Mar 2021 17:30:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231186AbhCVR34 (ORCPT ); Mon, 22 Mar 2021 13:29:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60298 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231520AbhCVR3a (ORCPT ); Mon, 22 Mar 2021 13:29:30 -0400 Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0D8FBC061756; Mon, 22 Mar 2021 10:29:30 -0700 (PDT) Received: from Q.local (cpc89244-aztw30-2-0-cust3082.18-1.cable.virginm.net [86.31.172.11]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 76469FDE; Mon, 22 Mar 2021 18:29:24 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1616434164; bh=2aHAHsed1JL/1YYWcDFybXP98BGBlvB9o+XjgIRFShg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=SiUFYl2ECpEarUZO4Yje9JLFddrlIJ8ViBy2juubZde5+0hhqZdHN8tFo8hOqvBTG dpVqkJXV+nL6mwep9ZJh55zIeA/vvmViUI/hk16tp362wUQgUbLDgce4qNEYb1tCDb Jw5gIsl5fZKVP39gYsORfOVMeUeZmuBLNFhV+Qbw= From: Kieran Bingham To: Laurent Pinchart , Geert Uytterhoeven , linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org Cc: Rob Herring , Kieran Bingham Subject: [PATCH v2 2/2] arm64: dts: renesas: r8a779a0: Add VSPD support Date: Mon, 22 Mar 2021 17:29:19 +0000 Message-Id: <20210322172919.1154686-3-kieran.bingham+renesas@ideasonboard.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210322172919.1154686-1-kieran.bingham+renesas@ideasonboard.com> References: <20210322172919.1154686-1-kieran.bingham+renesas@ideasonboard.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org Provide VSPD support on the V3U. Reviewed-by: Laurent Pinchart Signed-off-by: Kieran Bingham Reviewed-by: Geert Uytterhoeven --- arch/arm64/boot/dts/renesas/r8a779a0.dtsi | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r8a779a0.dtsi b/arch/arm64/boot/dts/renesas/r8a779a0.dtsi index 73036a5b8312..52a48e8d5814 100644 --- a/arch/arm64/boot/dts/renesas/r8a779a0.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a779a0.dtsi @@ -1118,6 +1118,28 @@ fcpvd1: fcp@fea11000 { resets = <&cpg 509>; }; + vspd0: vsp@fea20000 { + compatible = "renesas,vsp2"; + reg = <0 0xfea20000 0 0x5000>; + interrupts = ; + clocks = <&cpg CPG_MOD 830>; + power-domains = <&sysc R8A779A0_PD_ALWAYS_ON>; + resets = <&cpg 830>; + + renesas,fcp = <&fcpvd0>; + }; + + vspd1: vsp@fea28000 { + compatible = "renesas,vsp2"; + reg = <0 0xfea28000 0 0x5000>; + interrupts = ; + clocks = <&cpg CPG_MOD 831>; + power-domains = <&sysc R8A779A0_PD_ALWAYS_ON>; + resets = <&cpg 831>; + + renesas,fcp = <&fcpvd1>; + }; + prr: chipid@fff00044 { compatible = "renesas,prr"; reg = <0 0xfff00044 0 4>;