X-Received: by 2002:a17:906:58b:b0:6cf:65f5:de28 with SMTP id 11-20020a170906058b00b006cf65f5de28mr633703ejn.614.1645638367371; Wed, 23 Feb 2022 09:46:07 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1645638367; cv=pass; d=google.com; s=arc-20160816; b=CeWra9MFuVrlF3P21HT+/tetg2Smuf0bb+HzyL6PHp4NdPlwTyQJH+EMywH54IUJcQ VZ/DXOF2blk5fB9NOUCm0SK+7hgb3OA/ugW8NoSyHXODnBj1X8PIZmNBOohmv0CrjDhW d2SBzSfoRlNqnDAn9irAYFj7RNTsqI8hsnjNMu+ctQ8KAAPTqUcUJp3A5+wc5qPzhkSF 72z2l9Q0przsAbROEZvENg0cdzfxNmrvYW30EuWAdlqqraxEPAJOQTuONVTcc6Ri2RR4 QjfQ6X+2PcvS88evEiXsbYF/T+eBuq/3s3KjQlkVNhkoM2795Z485XxuO+eVOu96C90w Hfew== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :message-id:date:subject:cc:to:from:dkim-signature; bh=lmylffdE7ICLsXYq7mnD3JZBs6zEm80G7C1Ek+QXQ+4=; b=NSwCiRArVcoYl1YzvThLEMGPQkl1LZsl0Z7XFREWR9zwhZNvKSt7cJB79OBg6PKy3p GIWAHKprK4aLR6cvLjm0GYRPT7I4jg0HjglOyV0XuCmUZ51SKASDtnL4Dc0jJju+/V7A slt9eQdflfPUnlmMWTX3XlG1n2jtyUosjdjuIZG6sh1jkNL79EcVzPqxK4E+j68MJUyk lhBPdYPGBqYm213RdrjyA+FhxKwMHxet+8q7l45GA9ieq+qc3KBPtKNvbZvCaFvraJbx +OqXMFCoKuWzRZQtqDTAl+/Z+OIQGwjeb7PhwRCGTbARQTYXVNKJ/cYyuFO5VfPmY1ry O11w== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@wolfvision.net header.s=selector2 header.b=FJAbuawV; arc=pass (i=1 spf=pass spfdomain=wolfvision.net dkim=pass dkdomain=wolfvision.net dmarc=pass fromdomain=wolfvision.net); 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=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=wolfvision.net Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w12si95595edj.235.2022.02.23.09.45.44; Wed, 23 Feb 2022 09:46:07 -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; dkim=pass header.i=@wolfvision.net header.s=selector2 header.b=FJAbuawV; arc=pass (i=1 spf=pass spfdomain=wolfvision.net dkim=pass dkdomain=wolfvision.net dmarc=pass fromdomain=wolfvision.net); 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=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=wolfvision.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242759AbiBWQVv (ORCPT + 99 others); Wed, 23 Feb 2022 11:21:51 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57858 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242762AbiBWQVs (ORCPT ); Wed, 23 Feb 2022 11:21:48 -0500 Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-eopbgr60069.outbound.protection.outlook.com [40.107.6.69]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C9EF9C6206; Wed, 23 Feb 2022 08:21:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YYlcIGaeCuUDXQYnKeKccTMHSdAevX89tHtvwdSNFVgU/rgz7Yq7pEABifhurv8dNUWsfPXJyIAo30ErfByzOdZfHHp6+fx+yGW/O5rQ6mzBZfIXx+Z7YjjicSoJCZyWbK9iL8U9HtMwBYevv4JRBnqJAqlnXnfuybfr4sAfWJbhCu53How8M/yw+Yq8LhnvxubgXniw3bV5xkUpRr9QEgMvNj7RlQYxV8YD+kmFT+m5B6tkpUQh3W6ThhYJa6HVBL8XAWer9EBWuOnHb8zar5H5zj466E8V/WVVf7aIcY7t6XdGH9Q/8Fuwz8UXYAF8alsmTNaqmyoPlE+FNQe10g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=lmylffdE7ICLsXYq7mnD3JZBs6zEm80G7C1Ek+QXQ+4=; b=DuOjxv4zr58M2hZBaFHB/xaO33AmLwqdNNbIUizGTGw1G7ldhQHtpHVE7tk2pmysD+z/I4kq2nVT0UdtKZGwvtjIaHEG9asMd+NCR2+GsRBc2zBwWdclCeKRhWQrT7TqnBAudXdrnMtf8yn3FX3ohiV0v4Nabl0kKwuC8otd15KzphTHO4y40dRCCwhRR+SIBhxtGOJfBMeGGDOJ0g/H6wv8i+by0emGkAl+gRV+NWwYBTJDyMnlE/io3N8SYxR3iZK9uNZFYGmj2ZeXUkPCmLJlJZsCR2NVIRQThGOGnquxw8CVkiE8aQJfM8WXDGawf9lhawCRZyi5fOWRKjZDkw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=wolfvision.net; dmarc=pass action=none header.from=wolfvision.net; dkim=pass header.d=wolfvision.net; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wolfvision.net; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=lmylffdE7ICLsXYq7mnD3JZBs6zEm80G7C1Ek+QXQ+4=; b=FJAbuawVhIbsh5X+r58yyaBO12d8VqkWULGgsDQMbuO9Xl9yC0bZYUe4/WQkWxjT3mmeZVq+hev9FpIgjIMP8r37qwnXMYEcnS6o9jrFgjQf4Ma306ycDKLcZWfZiW8GMwDF8CjMDTOBswKWYfw+bU11NEJU2Gda6DJdMWCIkz0= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=wolfvision.net; Received: from HE1PR0802MB2426.eurprd08.prod.outlook.com (2603:10a6:3:e1::23) by PAXPR08MB7264.eurprd08.prod.outlook.com (2603:10a6:102:213::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5017.22; Wed, 23 Feb 2022 16:21:07 +0000 Received: from HE1PR0802MB2426.eurprd08.prod.outlook.com ([fe80::f9ee:a333:b115:5049]) by HE1PR0802MB2426.eurprd08.prod.outlook.com ([fe80::f9ee:a333:b115:5049%4]) with mapi id 15.20.4995.027; Wed, 23 Feb 2022 16:21:07 +0000 From: Michael Riesch To: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Rob Herring , Heiko Stuebner , Michael Riesch , Liang Chen Subject: [PATCH] arm64: dts: rockchip: add the vdd_cpu regulator to rk3568-evb1-v10 Date: Wed, 23 Feb 2022 17:20:54 +0100 Message-Id: <20220223162054.1626257-1-michael.riesch@wolfvision.net> X-Mailer: git-send-email 2.30.2 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: ZR0P278CA0175.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:45::17) To HE1PR0802MB2426.eurprd08.prod.outlook.com (2603:10a6:3:e1::23) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 6b0f871a-73ed-4d96-ddec-08d9f6e87ed2 X-MS-TrafficTypeDiagnostic: PAXPR08MB7264:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: WmU1zMw2mhLgk1L3xUADttidESynGoIjDUJIyGEQEoGUDUt7/SSpeID4EgAVVWPsig1cfMT2tEb6PdP+MjA7x1JObET/RcHCODowF2mXY17JZj2fIPWbqf1RKt7yMeo6YfVfhRjWAUyCBJ+3imOeE0IowmVsc/4T/CTPTY/gPJ6g/8AXLs42xpAJaZ4nY67hwIAPktoAfsjeV21gYvShAY+tdpIA/22gHZ1rY1HbMMoWk/0LjduZLzpR4MEWRNMMRSH+C8QlQ3tZbZhMIq1EIFoIfiPkefyUQ0xKrwXyzdrdRznOJdzA3gvPouNnkcDlcBWSDDgHqu8kiwgr/h7peTEnYSNPDk9311q4UudVvKgImmlr/iD96B4Uk/CUjTUFIG3n8JS3Ddn/QJkRvrHnce6FsBxCPA/MKG+VWclIqVciiSh4Hzp8wDnlaCendrQutUw0EAvh78B5VKZIa2J+INiBVpogfhrtx3iGK6pQYHu0b4en5O7ahK6xIxRhPY8UUjUQmPA1Xsin3x9FFSk+CY7Yy+tMrEF7/RjAOPcOGv/CFn3SGB5GRFWVncQ6/P/kIsL6vfEvATHA0oRJN1UhqZIkxHSdmh8m4VkCYNt3OTRERcJ0Bq/H+pVdhSCaX3aXjTE/ouSL2Jr2/xehxfHVwA== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:HE1PR0802MB2426.eurprd08.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230001)(4636009)(136003)(376002)(39850400004)(366004)(396003)(346002)(66476007)(66556008)(66946007)(4326008)(83380400001)(86362001)(44832011)(8936002)(316002)(36756003)(2906002)(5660300002)(8676002)(186003)(6486002)(508600001)(6506007)(2616005)(54906003)(1076003)(38100700002)(52116002)(6512007)(6666004);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?tc5tfbHgnR3N+COHHwAMUrT3kRT5OgZveMkvc1gNkhfY9XUTJAr3cgOSo8uo?= =?us-ascii?Q?MkshpzQQI+v5ckaIDU49T0/kzs3iUjtcWgGFsRtAbCbR89epYW13jsxiD/li?= =?us-ascii?Q?V/Hfcl1vZqWivadF/YmANUGptTbgQynFOzfkzt9LHUsKYcknIzBnqxUV1qY2?= =?us-ascii?Q?8ZT5BhMfsMZ84WBvX2PygagN6cV0Mu1KIyYJGazlzGwRgUiiK7PDuMOzAcjJ?= =?us-ascii?Q?qq4VPYVPeHEsLhEAGZ7ESi3rCxpCx/S2ORIascCMoNMQhMpBb+Qpooc+o+8b?= =?us-ascii?Q?PhJDRBWKrsld56I3WbsxpUjcWo5qi9zbPEVLal8rT0jDa5RQoKIuJvfEzsZ7?= =?us-ascii?Q?NMs7c4pN0HFzgeqIsPc0M7qOC5rs9lUHHefcL1FWRZOQW7AnpbRaylc/+bxy?= =?us-ascii?Q?Ad8dQAX4gHZq+We7KDISlFQk+YT49LeYPcGHVb42ak4xwP6LiuG768YXw3F3?= =?us-ascii?Q?Vi/1mWeaXFWEU4EXfCNd24WginR1rxfbEr2gLwYe3V08L2df9QTAd9p6mvVb?= =?us-ascii?Q?ZyeMeracoULtYe7st70YCQ1Ai0J9ZHF7TXrL79xgHCFCgjORE0HOZXldC74E?= =?us-ascii?Q?acIofzyCpDD9T09mIX9MBS3NQ1DRIPlllAhySkGDYUJl4AIIDslBJXOmScdU?= =?us-ascii?Q?i2IDFWk/qbHIfdYViZE0LWMXaAsaE3Uku0XPCsGKjjuvaAVxBIZcae507yKh?= =?us-ascii?Q?fAX4I81kKuVE41j0A2HFhzLn8cLOhfNHqbMd2PHxCishJBUI729xJxxUe1hv?= =?us-ascii?Q?pU5eJIiQJnogwsSaYAB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us-ascii?Q?z5L580lCmYGAct1640clD0/cUAZnhvrpRoyKBVnXkMiMMwUSMFawvvK5/jiV?= =?us-ascii?Q?sff2vLv8NFGnRRiJ6Isgb6hXcaxoi2o=3D?= X-OriginatorOrg: wolfvision.net X-MS-Exchange-CrossTenant-Network-Message-Id: 6b0f871a-73ed-4d96-ddec-08d9f6e87ed2 X-MS-Exchange-CrossTenant-AuthSource: HE1PR0802MB2426.eurprd08.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Feb 2022 16:21:07.2104 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: e94ec9da-9183-471e-83b3-51baa8eb804f X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: uEL7Jw100moVQgQwfYo0HhTanza1mGxoBcbwXVyfqoYgR72pooc70AC3tJ8o+OKotxbRXfDSIAzLtDplax/OaDLr0q4eHMikTRz8k08/RQc= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR08MB7264 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 The TCS4525 voltage regulator provides the vdd_cpu on the Rockchip RK3568 EVB1. Add the device tree node and connect it to the CPU nodes. Signed-off-by: Michael Riesch --- .../boot/dts/rockchip/rk3568-evb1-v10.dts | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3568-evb1-v10.dts b/arch/arm64/boot/dts/rockchip/rk3568-evb1-v10.dts index bb7177ff92ac..a794a0ea5c70 100644 --- a/arch/arm64/boot/dts/rockchip/rk3568-evb1-v10.dts +++ b/arch/arm64/boot/dts/rockchip/rk3568-evb1-v10.dts @@ -136,6 +136,22 @@ regulator-state-mem { }; }; +&cpu0 { + cpu-supply = <&vdd_cpu>; +}; + +&cpu1 { + cpu-supply = <&vdd_cpu>; +}; + +&cpu2 { + cpu-supply = <&vdd_cpu>; +}; + +&cpu3 { + cpu-supply = <&vdd_cpu>; +}; + &gmac0 { assigned-clocks = <&cru SCLK_GMAC0_RX_TX>, <&cru SCLK_GMAC0>; assigned-clock-parents = <&cru SCLK_GMAC0_RGMII_SPEED>; @@ -176,6 +192,23 @@ &gpu { &i2c0 { status = "okay"; + vdd_cpu: regulator@1c { + compatible = "tcs,tcs4525"; + reg = <0x1c>; + fcs,suspend-voltage-selector = <1>; + regulator-name = "vdd_cpu"; + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <800000>; + regulator-max-microvolt = <1150000>; + regulator-ramp-delay = <2300>; + vin-supply = <&vcc5v0_sys>; + + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + rk809: pmic@20 { compatible = "rockchip,rk809"; reg = <0x20>; -- 2.30.2