From patchwork Thu Jan 20 05:15:59 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nikita Yushchenko X-Patchwork-Id: 12718251 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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 01C5BC433F5 for ; Thu, 20 Jan 2022 05:16:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1358480AbiATFQ3 (ORCPT ); Thu, 20 Jan 2022 00:16:29 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47112 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234464AbiATFQ3 (ORCPT ); Thu, 20 Jan 2022 00:16:29 -0500 Received: from mail-lf1-x133.google.com (mail-lf1-x133.google.com [IPv6:2a00:1450:4864:20::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C0332C06173F for ; Wed, 19 Jan 2022 21:16:28 -0800 (PST) Received: by mail-lf1-x133.google.com with SMTP id h26so2454648lfv.11 for ; Wed, 19 Jan 2022 21:16:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cogentembedded-com.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=dIfZNDPfDKqkYcN4EVrMCTxIOzhlZwaXVhl3QVcx8G0=; b=af6o9+A/c0IMnAu2aYltxQJPfWUl5Z/dWratF1h9NAfNuRQi4PKp7jImvfCgtfmM3d JTyp9JCBQnPOWI58bbc2kJ6mvH/dCV3d5hJxqyOn9VUYWacIGV3NjOWYzwhNEx6oc5zh KkfZSurp99JX+jHYXF+vmWeFrm9y/xfG1FNew9kHZ+5VBcnJzFl4hWaTFPqMJiyfgl5j kBBz9jq1sw3Z+TD6XPcz+PPHjHhzRUGU9tZxDdc1DhwOEpam2HuHvRzSvUw86YWnj23S ZNt3aBtvQ9uCtuv7c801zQpNVDt9B4/TMYX4aTipQ8X4+8v1d2/XIx1b0oQELsnpkrYS hccA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=dIfZNDPfDKqkYcN4EVrMCTxIOzhlZwaXVhl3QVcx8G0=; b=Kv5k0OpRuDGdgP2uYWg0oieQnOUa/mLXL/tlbRwdcYvuX2XQ1D01gHzq8XVQ4dQXW3 PUZv/2SkJ20xX8wgeK8JsjesX3Uq59CsULwnPEtt7Uler48ZY2KRtWOlTkAsy4bhcw4b 20PG3T579R+T0XvkEhdpik3Bzu4/UYa5xwIAJHbGxkafdilAFBxfQsv6beste311s4kb ra/MP+gbtX9DNiMaTFBqqH99zy8ZL/c+vhPi4xcfbwR8vaWVrCNPyO6Bnu9FlGIU7nMP aVHsFs+YD0bz9g4EXxiT3O3d0zGAXuItrlrOFRQnCHy8w85SKjGqQF0Jpsgjpgyo7dDg uoFA== X-Gm-Message-State: AOAM53240/8y9AKjL/I0RrTHAc4NwlhwSmsEz/Y8FFBkkdXcmpqhmQyL lJyLzSbY7rOW2FIFaIUjmBuaIQ== X-Google-Smtp-Source: ABdhPJzCW27YgEuEp9c0NqtsFJsFA8BwBAU9C8dFth98HZpCAcFc/IpT73EFUXpXoOLnSbBG9jelTg== X-Received: by 2002:a19:f202:: with SMTP id q2mr23455504lfh.650.1642655787034; Wed, 19 Jan 2022 21:16:27 -0800 (PST) Received: from cobook.home (nikaet.starlink.ru. [94.141.168.29]) by smtp.gmail.com with ESMTPSA id s14sm213516lfp.79.2022.01.19.21.16.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 Jan 2022 21:16:26 -0800 (PST) From: Nikita Yushchenko To: Geert Uytterhoeven , Magnus Damm , Rob Herring Cc: linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Nikita Yushchenko Subject: [PATCH v3] arm64: dts: renesas: add MOST device Date: Thu, 20 Jan 2022 08:15:59 +0300 Message-Id: <20220120051559.746322-1-nikita.yoush@cogentembedded.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org This patch adds mlp device to dtsi files for R-Car Gen3 SoCs that have it. Signed-off-by: Nikita Yushchenko Reviewed-by: Geert Uytterhoeven --- v2: https://lore.kernel.org/lkml/20211226153349.2296024-1-nikita.yoush@cogentembedded.com/ Changes from v2: - no longer part of patchset - other parts already merged - add per-SoC compatible strings - add resets - keep only two interrupts - those used by the driver v1: https://lore.kernel.org/lkml/20211226082530.2245198-4-nikita.yoush@cogentembedded.com/ Changes from v1: - fix power domain ids so all dtbs build properly arch/arm64/boot/dts/renesas/r8a77951.dtsi | 12 ++++++++++++ arch/arm64/boot/dts/renesas/r8a77960.dtsi | 12 ++++++++++++ arch/arm64/boot/dts/renesas/r8a77961.dtsi | 12 ++++++++++++ arch/arm64/boot/dts/renesas/r8a77965.dtsi | 12 ++++++++++++ arch/arm64/boot/dts/renesas/r8a77990.dtsi | 12 ++++++++++++ arch/arm64/boot/dts/renesas/r8a77995.dtsi | 12 ++++++++++++ 6 files changed, 72 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r8a77951.dtsi b/arch/arm64/boot/dts/renesas/r8a77951.dtsi index 1768a3e6bb8d..d09f725a33f3 100644 --- a/arch/arm64/boot/dts/renesas/r8a77951.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a77951.dtsi @@ -2412,6 +2412,18 @@ ssi9: ssi-9 { }; }; + mlp: mlp@ec520000 { + compatible = "renesas,r8a7795-mlp", + "renesas,rcar-gen3-mlp"; + reg = <0 0xec520000 0 0x800>; + interrupts = , + ; + clocks = <&cpg CPG_MOD 802>; + power-domains = <&sysc R8A7795_PD_ALWAYS_ON>; + resets = <&cpg 802>; + status = "disabled"; + }; + audma0: dma-controller@ec700000 { compatible = "renesas,dmac-r8a7795", "renesas,rcar-dmac"; diff --git a/arch/arm64/boot/dts/renesas/r8a77960.dtsi b/arch/arm64/boot/dts/renesas/r8a77960.dtsi index 2bd8169735d3..280ed4249dad 100644 --- a/arch/arm64/boot/dts/renesas/r8a77960.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a77960.dtsi @@ -2284,6 +2284,18 @@ ssiu97: ssiu-51 { }; }; + mlp: mlp@ec520000 { + compatible = "renesas,r8a7796-mlp", + "renesas,rcar-gen3-mlp"; + reg = <0 0xec520000 0 0x800>; + interrupts = , + ; + clocks = <&cpg CPG_MOD 802>; + power-domains = <&sysc R8A7796_PD_ALWAYS_ON>; + resets = <&cpg 802>; + status = "disabled"; + }; + audma0: dma-controller@ec700000 { compatible = "renesas,dmac-r8a7796", "renesas,rcar-dmac"; diff --git a/arch/arm64/boot/dts/renesas/r8a77961.dtsi b/arch/arm64/boot/dts/renesas/r8a77961.dtsi index a34d5b1d6431..cd212628a910 100644 --- a/arch/arm64/boot/dts/renesas/r8a77961.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a77961.dtsi @@ -2128,6 +2128,18 @@ ssiu97: ssiu-51 { }; }; + mlp: mlp@ec520000 { + compatible = "renesas,r8a77961-mlp", + "renesas,rcar-gen3-mlp"; + reg = <0 0xec520000 0 0x800>; + interrupts = , + ; + clocks = <&cpg CPG_MOD 802>; + power-domains = <&sysc R8A77961_PD_ALWAYS_ON>; + resets = <&cpg 802>; + status = "disabled"; + }; + audma0: dma-controller@ec700000 { compatible = "renesas,dmac-r8a77961", "renesas,rcar-dmac"; diff --git a/arch/arm64/boot/dts/renesas/r8a77965.dtsi b/arch/arm64/boot/dts/renesas/r8a77965.dtsi index 08df75606430..c7e3ed0e0814 100644 --- a/arch/arm64/boot/dts/renesas/r8a77965.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a77965.dtsi @@ -2147,6 +2147,18 @@ ssi9: ssi-9 { }; }; + mlp: mlp@ec520000 { + compatible = "renesas,r8a77965-mlp", + "renesas,rcar-gen3-mlp"; + reg = <0 0xec520000 0 0x800>; + interrupts = , + ; + clocks = <&cpg CPG_MOD 802>; + power-domains = <&sysc R8A77965_PD_ALWAYS_ON>; + resets = <&cpg 802>; + status = "disabled"; + }; + audma0: dma-controller@ec700000 { compatible = "renesas,dmac-r8a77965", "renesas,rcar-dmac"; diff --git a/arch/arm64/boot/dts/renesas/r8a77990.dtsi b/arch/arm64/boot/dts/renesas/r8a77990.dtsi index 0ea300a8147d..f3ac5f087ba7 100644 --- a/arch/arm64/boot/dts/renesas/r8a77990.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a77990.dtsi @@ -1682,6 +1682,18 @@ ssi9: ssi-9 { }; }; + mlp: mlp@ec520000 { + compatible = "renesas,r8a77990-mlp", + "renesas,rcar-gen3-mlp"; + reg = <0 0xec520000 0 0x800>; + interrupts = , + ; + clocks = <&cpg CPG_MOD 802>; + power-domains = <&sysc R8A77990_PD_ALWAYS_ON>; + resets = <&cpg 802>; + status = "disabled"; + }; + audma0: dma-controller@ec700000 { compatible = "renesas,dmac-r8a77990", "renesas,rcar-dmac"; diff --git a/arch/arm64/boot/dts/renesas/r8a77995.dtsi b/arch/arm64/boot/dts/renesas/r8a77995.dtsi index 16ad5fc23a67..27b1b5e32175 100644 --- a/arch/arm64/boot/dts/renesas/r8a77995.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a77995.dtsi @@ -1132,6 +1132,18 @@ ssi4: ssi-4 { }; }; + mlp: mlp@ec520000 { + compatible = "renesas,r8a77995-mlp", + "renesas,rcar-gen3-mlp"; + reg = <0 0xec520000 0 0x800>; + interrupts = , + ; + clocks = <&cpg CPG_MOD 802>; + power-domains = <&sysc R8A77995_PD_ALWAYS_ON>; + resets = <&cpg 802>; + status = "disabled"; + }; + audma0: dma-controller@ec700000 { compatible = "renesas,dmac-r8a77995", "renesas,rcar-dmac";