From patchwork Wed Jan 18 14:47:46 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabrizio Castro X-Patchwork-Id: 45311 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp2387499wrn; Wed, 18 Jan 2023 07:06:55 -0800 (PST) X-Google-Smtp-Source: AMrXdXtz6s/LzS36r4014dA6BxMqKokqPMbQ8ZFUvAyXV//c3TDC5/JST3JkGq4j2ZULd8hFN3s4 X-Received: by 2002:a17:906:22da:b0:7ac:2db9:6f4d with SMTP id q26-20020a17090622da00b007ac2db96f4dmr19828774eja.8.1674054415113; Wed, 18 Jan 2023 07:06:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674054415; cv=none; d=google.com; s=arc-20160816; b=ne4TnCXFo+/pGZUsQ1GbqAJ/Df+DU/OY0qSGAi75AXA3kYaoLqJeIYoNlJeoZ5rk1i 4O2YdUnGzX7xH+7k3wNQhvTv2UsOf4ME8BiD7IP7YvgSQyU7iypmCB4rGyrak+pSGVvK wxfI8Js9BpeOJc/kS5FnjljW9dNQVeG4DCmMkg8h/wsRmhYu6C73q330PlAG4Wbb3Rk5 mkAuGM7x5iyX1welVjS95m6Lu3/CCHAx9YePQkLTIf3Y3m62bCEeGQPq0ZG5vxwnsZvA MmFQlopWjEAlh4CKmDqUX2F4djojO7kqAI+Qt3wqwIU4kHmVmL38ggrSLuH6sD0u8Iit YyUQ== 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=mfb/kvMgC8v/oHsTHrbfirYOWif/PCno2gGQt32SXrY=; b=GfCXY/ZSMxyDfC70O88CeDs2VaG8aqXgowbkigggECm21jvDv5SoHp3EolmvV0WzKA LaaA19i+32/uliCnrRzYLuFnLy+DKjchviFZlHeOS38JTzRy4CWPTQhvZRn8ngKcDENp sDtMkvoFZ85Ukzj8GNGd5Fcnh+/YAbFj5XrfWcCZlY5GXOb5J9l7GV/F6cZSDSDYPnn9 VQSfgDaTFIHsZXONUrX6hk5bp7oLNlESyuq83hvDaAKgFv7zo5Qu2jpnuw7hRFM9CRNU j14tKsxMDnsDG6HCIhm6OnDxMHCfeByx6WdWpurd0zyAA67IgURJcPvmXu8bzPohWlP/ TRTA== 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 sc18-20020a1709078a1200b00872236c2747si8230579ejc.305.2023.01.18.07.06.30; Wed, 18 Jan 2023 07:06:55 -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 S231587AbjAROyT (ORCPT + 99 others); Wed, 18 Jan 2023 09:54:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53680 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231584AbjAROyA (ORCPT ); Wed, 18 Jan 2023 09:54:00 -0500 Received: from relmlie5.idc.renesas.com (relmlor1.renesas.com [210.160.252.171]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 5F4C847ED3; Wed, 18 Jan 2023 06:48:07 -0800 (PST) X-IronPort-AV: E=Sophos;i="5.97,226,1669042800"; d="scan'208";a="146745763" Received: from unknown (HELO relmlir5.idc.renesas.com) ([10.200.68.151]) by relmlie5.idc.renesas.com with ESMTP; 18 Jan 2023 23:48:06 +0900 Received: from mulinux.example.org (unknown [10.226.93.55]) by relmlir5.idc.renesas.com (Postfix) with ESMTP id 227E1400B9E3; Wed, 18 Jan 2023 23:48:02 +0900 (JST) From: Fabrizio Castro To: Rob Herring , Krzysztof Kozlowski , Geert Uytterhoeven Cc: Fabrizio Castro , Magnus Damm , linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Chris Paterson , Biju Das , Laurent Pinchart , Jacopo Mondi Subject: [PATCH 2/3] arm64: dts: renesas: v2mevk2: Add PWC support Date: Wed, 18 Jan 2023 14:47:46 +0000 Message-Id: <20230118144747.24968-3-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 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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1755373282177658938?= X-GMAIL-MSGID: =?utf-8?q?1755373282177658938?= The RZ/V2M EVK uses the PWC IP to control external power supplies and the I/O voltage for the uSD card. This patch enables the PWC node, and it also enables the poweroff features since PWC is actually used to control the board power rails. Signed-off-by: Fabrizio Castro Reviewed-by: Geert Uytterhoeven --- arch/arm64/boot/dts/renesas/r9a09g011-v2mevk2.dts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r9a09g011-v2mevk2.dts b/arch/arm64/boot/dts/renesas/r9a09g011-v2mevk2.dts index 11e1d51c7c0e..d6737395df67 100644 --- a/arch/arm64/boot/dts/renesas/r9a09g011-v2mevk2.dts +++ b/arch/arm64/boot/dts/renesas/r9a09g011-v2mevk2.dts @@ -80,6 +80,11 @@ i2c2_pins: i2c2 { }; }; +&pwc { + renesas,rzv2m-pwc-power; + status = "okay"; +}; + &uart0 { status = "okay"; };