Message ID | 20230118144747.24968-2-fabrizio.castro.jz@renesas.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp2387652wrn; Wed, 18 Jan 2023 07:07:09 -0800 (PST) X-Google-Smtp-Source: AMrXdXs7NsS23RZeZkLcG3+jbZDd+vli6KEMY/huewto2SftDKhNqpBQNtz1S0r4Tn139sAO2X7f X-Received: by 2002:aa7:cd89:0:b0:49d:14cf:5f4a with SMTP id x9-20020aa7cd89000000b0049d14cf5f4amr7476421edv.39.1674054429036; Wed, 18 Jan 2023 07:07:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674054429; cv=none; d=google.com; s=arc-20160816; b=IYxBn92RxzyBlCwrHZia4hdavP84GkSjkEq8CtanJmijMlPgbCIGyapuUTSTltQPeF RdzMc/G6WeBgZT/IpCn86g9mAaFZj0I0MJaCeFNQjCXnIAKVm8iZjb8KQF/sn3VY/lH8 QVSamzQC+/jqlVODdEREHDnFdzwwuM801ocMDNz8j7o4nsYcZhNq59/whDIk8H+xstnp bo0gZMY7wxrEbgATQ4M9uUOjN+ilxnlSR7eAdMfqbaoX5N1IzHPopksTw8YHNFdPN3Pg Kz0fRb1kEv+6GHVOQXQoLu871kFGCBOaqnJGfbjpSOB1vxWdOxNNlOcadXTQQg0q0dRc kt4w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=hGqVMOoSFtNG3bev/G5sOlGheP4RIFkCPu81IVIrc78=; b=UbejO25a8ne/z88h81Z1npxT5DiLKsz2ltaZ+yTM/LvbDzeepKXRTSXRiJeDrw9Qqf +XiouMWxONnZ85PEPpK11Xxk1A8/OQbpCLBYkoBusn2MXW3ZkAelPFPrTdUJyVblkLh9 mjtRPKPtBe1YAD5wIaRxVNRQdbf2O037uVknTEs/kVfKEEsW9Xe0yLz5RGrTNzrFXFhP en36aFqp+PTqLN9rQRCUhaz90qyu8nH3WJs4jEYfWXadz3UxuQIV8MduVwEEVhCncVWT BM+jO7ps0GPfdM3F+XAugYZP+WLVGbAmjf0h+YTsztHsk32BVk75g9ZsIN+a5u9fVPN2 6JrQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=renesas.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q16-20020a056402519000b0049e3e6aa74bsi5339759edd.352.2023.01.18.07.06.22; Wed, 18 Jan 2023 07:07:09 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=renesas.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231247AbjAROyO (ORCPT <rfc822;pfffrao@gmail.com> + 99 others); Wed, 18 Jan 2023 09:54:14 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54994 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231414AbjAROx6 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 18 Jan 2023 09:53:58 -0500 Received: from relmlie6.idc.renesas.com (relmlor2.renesas.com [210.160.252.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id CC5AB4DCEF; Wed, 18 Jan 2023 06:48:02 -0800 (PST) X-IronPort-AV: E=Sophos;i="5.97,226,1669042800"; d="scan'208";a="149830468" Received: from unknown (HELO relmlir5.idc.renesas.com) ([10.200.68.151]) by relmlie6.idc.renesas.com with ESMTP; 18 Jan 2023 23:48:02 +0900 Received: from mulinux.example.org (unknown [10.226.93.55]) by relmlir5.idc.renesas.com (Postfix) with ESMTP id ED3A44007209; Wed, 18 Jan 2023 23:47:58 +0900 (JST) From: Fabrizio Castro <fabrizio.castro.jz@renesas.com> To: Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Geert Uytterhoeven <geert+renesas@glider.be> Cc: Fabrizio Castro <fabrizio.castro.jz@renesas.com>, Magnus Damm <magnus.damm@gmail.com>, linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Chris Paterson <Chris.Paterson2@renesas.com>, Biju Das <biju.das@bp.renesas.com>, Laurent Pinchart <laurent.pinchart@ideasonboard.com>, Jacopo Mondi <jacopo@jmondi.org> Subject: [PATCH 1/3] arm64: dts: renesas: r9a09g011: Add PWC support Date: Wed, 18 Jan 2023 14:47:45 +0000 Message-Id: <20230118144747.24968-2-fabrizio.castro.jz@renesas.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230118144747.24968-1-fabrizio.castro.jz@renesas.com> References: <20230118144747.24968-1-fabrizio.castro.jz@renesas.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1755373296662966005?= X-GMAIL-MSGID: =?utf-8?q?1755373296662966005?= |
Series |
Add PWC, uSD and eMMC support to RZ/V2M EVK
|
|
Commit Message
Fabrizio Castro
Jan. 18, 2023, 2:47 p.m. UTC
The RZ/V2M SoC contains an External Power Sequence Controller (PWC)
module. This module provides an external power supply on/off
sequence, on/off signal for the LPDDR4 core power supply, General
Purpose Outputs, and key input signals.
This patch adds PWC support to the SoC specific device tree.
Signed-off-by: Fabrizio Castro <fabrizio.castro.jz@renesas.com>
---
arch/arm64/boot/dts/renesas/r9a09g011.dtsi | 8 ++++++++
1 file changed, 8 insertions(+)
Comments
On Wed, Jan 18, 2023 at 3:48 PM Fabrizio Castro <fabrizio.castro.jz@renesas.com> wrote: > The RZ/V2M SoC contains an External Power Sequence Controller (PWC) > module. This module provides an external power supply on/off > sequence, on/off signal for the LPDDR4 core power supply, General > Purpose Outputs, and key input signals. > > This patch adds PWC support to the SoC specific device tree. > > Signed-off-by: Fabrizio Castro <fabrizio.castro.jz@renesas.com> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> i.e. will queue in renesas-devel for v6.3. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds
diff --git a/arch/arm64/boot/dts/renesas/r9a09g011.dtsi b/arch/arm64/boot/dts/renesas/r9a09g011.dtsi index b0c066c5e0ba..b5d6f7701ef1 100644 --- a/arch/arm64/boot/dts/renesas/r9a09g011.dtsi +++ b/arch/arm64/boot/dts/renesas/r9a09g011.dtsi @@ -178,6 +178,14 @@ cpg: clock-controller@a3500000 { #power-domain-cells = <0>; }; + pwc: pwc@a3700000 { + compatible = "renesas,r9a09g011-pwc", "renesas,rzv2m-pwc"; + reg = <0 0xa3700000 0 0x800>; + gpio-controller; + #gpio-cells = <2>; + status = "disabled"; + }; + sys: system-controller@a3f03000 { compatible = "renesas,r9a09g011-sys"; reg = <0 0xa3f03000 0 0x400>;