From patchwork Mon Jun 17 03:05:37 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacobe Zang X-Patchwork-Id: 13699926 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 1EEE8C27C53 for ; Mon, 17 Jun 2024 03:06:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:MIME-Version:Content-Type: Content-Transfer-Encoding:References:In-Reply-To:Message-Id:Date:Subject:Cc: To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=qPkpeSh/EdH3GIoVfq3PVuAd+950f8uiuR/32KMh2J0=; b=SND9zGOEnPMplfyb+TCQr8vAp4 1hIcL8DXZpMnm/x4hgru3VjwTbBeCoBvhI8L5mlLoIqbCo2+sETrMh1PKdWkakmowloRobz8rCfvX 2ROvuW42+W1SjpyrDPFQtfe3S9+/9SZspGRtTvqjuYvDRL1upbD5B4F4d8UXk1fU7eHk5Hqgs316B wY5hoUBH1AUVm4L5YU/ol6UAR19sDaZy3GHmH/1ckRlkK6fCcW2EkhOKBWweNdOCp3p4wsjDURtiO L9os+bLpUXMghHztTLaIqNpnj5satodCCCmGpgSGeaLfmb4vlxuIP5YB91FLltJz9eJMb3m1oqJwU RtHTo5SA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sJ2hk-00000008xZg-0Lc5; Mon, 17 Jun 2024 03:06:48 +0000 Received: from mail-sgaapc01on20703.outbound.protection.outlook.com ([2a01:111:f400:feab::703] helo=APC01-SG2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sJ2hW-00000008xKg-3L2g; Mon, 17 Jun 2024 03:06:36 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YWoiiIalKEimLDA5VjUuoyeG5QV+1aYt3OQoF6K10Vd9y1jZWG8aSDAURIlVzoADENtBuCiEq9bvyKUg/1TWQOn6v8bO5kmtLTYGkgDKepowKhTnp+F4un9hN/3NB4pRFyrvYauf/P2g84hrrc7yybYeE1bgR/FWqoj5EVI4+21XqLuyWQlvbiekFcPIqnl4WAuf/xFpbAujro07lO2jXAGwLhVz6dIE2iiukrofhacpt2K40MIzPnT7yWmMC7xyscn+s2kbw7Z9yTM3g1URNmpXk2ZPtlFitvYWaL3aAn1TiCcWH1e4nEauxJTYQcbfIWxygnmLqi6zVwLK2MrIqA== 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=qPkpeSh/EdH3GIoVfq3PVuAd+950f8uiuR/32KMh2J0=; b=bdlhV2VlgcNyNPjM7rvsX8NexnXDubNUUooHLkrqqeI931r4mygcRHI62OVEN6W3JfKF4ZN2e2izLd+nE1CST4L+SsvoaMznCoPZUxPS8EB/Cvql8yLSt2pUOlQSNBG6lTG9uqMKxwM448hx2GLZ5jj34uw3xNLnixVskkoGZFV4pUBmx6JyP/tSNZek5hkE8hkDKTbuxInwvViZBcmePx7YGjZbqyKiwAdsqnQ8nC97PZ7HM/rSlrcr0AXF7YYrNbwNqs2S3IqCbowdvGK3nCve/kyoYCGKQa1rb1lc0bp1Dv3WGSxfXLi95UMsahHBbLDWTYBhakuzBRUqAH+9BA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=wesion.com; dmarc=pass action=none header.from=wesion.com; dkim=pass header.d=wesion.com; arc=none Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=wesion.com; Received: from TYZPR03MB7001.apcprd03.prod.outlook.com (2603:1096:400:26a::14) by KL1PR03MB8001.apcprd03.prod.outlook.com (2603:1096:820:fc::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7677.30; Mon, 17 Jun 2024 03:06:33 +0000 Received: from TYZPR03MB7001.apcprd03.prod.outlook.com ([fe80::78dd:5e68:1a9c:36c0]) by TYZPR03MB7001.apcprd03.prod.outlook.com ([fe80::78dd:5e68:1a9c:36c0%6]) with mapi id 15.20.7677.029; Mon, 17 Jun 2024 03:06:33 +0000 From: Jacobe Zang To: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, heiko@sntech.de Cc: nick@khadas.com, efectn@protonmail.com, jagan@edgeble.ai, dsimic@manjaro.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, Jacobe Zang Subject: [PATCH v1 5/5] arm64: dts: rockchip: Add cpufreq support to Khadas Edge2 Date: Mon, 17 Jun 2024 11:05:37 +0800 Message-Id: <20240617030537.3112356-6-jacobe.zang@wesion.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240617030537.3112356-1-jacobe.zang@wesion.com> References: <20240617030537.3112356-1-jacobe.zang@wesion.com> X-ClientProxiedBy: SG2PR02CA0038.apcprd02.prod.outlook.com (2603:1096:3:18::26) To TYZPR03MB7001.apcprd03.prod.outlook.com (2603:1096:400:26a::14) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYZPR03MB7001:EE_|KL1PR03MB8001:EE_ X-MS-Office365-Filtering-Correlation-Id: e2080625-729b-41da-6c7c-08dc8e7a7ddd X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230037|366013|7416011|376011|52116011|1800799021|38350700011; X-Microsoft-Antispam-Message-Info: UTBTw3DLA9FpSjSmIWIV3aC/mp+WBqv3xriuiWe5+G2RAEMRH//HdjFiaW4cuJjoZ1Tj4bnmqe/IPQvMdG2dFyE8tOyqw134ByG3HyNnekkbm3H9rxtyqeqdRbZmc9AgBJh9O0qRLPtXrnbf/tiAUs9YII5oHUa93fQdcQUhGbt1ehUROdZetIOGEqL42NWDRoQ0SixlzVW+8u74dZJ/PecPXIS8SIg10A1XpIj5TS/Q0LCmQnbBvWgtXyE9tO1WV6MalwmwCciVqQoUgV0ljdmbrqUWSTCuNg7td5ejygt8Oh5ERLwKcHUmp2LdtlsdtQAZoTIE6eQaoRah80zljKyj8FyZhcwWqUUzqlxQWub/LoPimPYk+Cjl6SDRrFIlyES9QF9PvRlJEukN/UUZbbgiZbsq2I2HI0zJwQhYy92sUIjnlvevCVR10yxuqQRWlPFkZynWfw2zOowlL55YdQXSbJiFQLO9qJFExt/VgMveCb2ooJwPgcxxnRZvUPhTNCE/Vh9lTmBf+gJ3yAmQrcgVv7qWPXNRVoXwgIWItIqhwv4z8j8XiYMGdT9uWEIi4Af+//tIbtkxq/jXs6/m0xZ4XuMJ6dEAkqMHmdKEmj/W1FbMo/K+lZYl4tJj4ctR0/qAL/iwqcuAxMWO/HD3ZkfCFcQeYjV2GlOAsTGu7sgawoWQQ7RKOW0yJcahBA3wiZ/ONOKd1j+Y5wgLv7cFvjl+TCOOftgvfdqrdObrsQUyvowJy3d4Ttii4EV5CoDHdi3QbKpx590zjP98h9GkZTNWHwRE1V1S1Wizg+w/feRWNPyQ7COCaZND1Z9t0hlNt4s/AlGhVeGlzJ6ZmluUjT0PB3HpkY38QbNK8MIY066I22eZ+c4z9PC4HLH2czDgRuta3nKhojHGSv5aydgTAK+nX2yY/5wkfR3zd7rDjLXWtOlFcKH8/5GL2dXiEamF/Vhc/41KpoM/LqRzB1hEFG09EvoDGmrnuoLdkiO243Jf+S4yGJgpCngdSatl4RAt9AM/rLGKoHLWRrqtKJwqaAITAHNnKRsIRhszEmIH4AcV8YDJY6H9nzfmjPMJq14HgrG9+zRMKhCBq8dKNdUoPLN/thBPItDXIt3XOemlbSv6glezBZGuvVA1uPHwkf3tnQxvJXPqtiOKym1hdRwRntds58ntrBHfNZT1vkih4R3s3bgV0c1FzVR1w9ZUXxgxPOGk0OF1K1w+/CvmLki1PhPIl1+0HWSbQXoyWoY6G3z25c6/Vz3c+JNKEar6UTpCAsRK1k5v+A4gbOoiaGK6apR+leHATUxydcRePEe2wVtxaeEQ2CVKCNkEDb5kUDHvKtZNla3wDenuppq6XQbiGVLUYaAP9nh2iMNCBF8swOc= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:TYZPR03MB7001.apcprd03.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230037)(366013)(7416011)(376011)(52116011)(1800799021)(38350700011);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: XUpksFkEZI0lnaivtwRlCOsRXYCS5cquNDzGa3GP3lfF/1beCID2qLXq2iWmu7T78w+Q30ZSmH7sOZYdPjFjOsPzVEo5tvd+2VdqUbAEcAAuO2AhmOi5QBXNkFKC9ZMYNJ0MiLESEIcvElIKYxy/Yr0fzppd80941UKUpre9Cygl+2nx0LZa+jk+H16vJnbqzNg5PDAUGWKDICqMrH4ogQDsDY+tOlwtI3c39Q/vnZLF0epEMRq7mspBuvoVoRqf+0inUitYO+gdssAM/T8z6r23jVhm3dmhBo5+3/EnhS7utmaetD3d7ydFi8bGhuE/4/+cLuk366Lg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jYtwT2S22wigZNh6SFElCvkN20UQYnidJ+1YY6QEBiclXISZke4Mu/pDD4ZRK/4+zCZbaXLhuM+FJOv4btd9MHVWF+xSV0GjxeSUUo3vTmBqHRBPT/pAJ/nlA6F6Qoqs0pxrJ870oXSTl9WzrCPtwvTCD94gDU1vflhNniAF4Lpq0n4xvTYRvgkoA/Wjx3PlGTPaKzEHY5GiYg9A== X-OriginatorOrg: wesion.com X-MS-Exchange-CrossTenant-Network-Message-Id: e2080625-729b-41da-6c7c-08dc8e7a7ddd X-MS-Exchange-CrossTenant-AuthSource: TYZPR03MB7001.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Jun 2024 03:06:33.0018 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 2dc3bd76-7ac2-4780-a5b7-6c6cc6b5af9b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: g2GSoVlfs7oTdmRFwhBda4qD+iibGiFuM33hE7gVwHbsfBZMMk9mNQaQbhhl0wygC3lCkW10/sB5VcUAlfW+Dw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: KL1PR03MB8001 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240616_200634_902197_10F24308 X-CRM114-Status: UNSURE ( 8.37 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This adjust CPU nodes on Khadas Edge2. Signed-off-by: Jacobe Zang --- .../arm64/boot/dts/rockchip/rk3588s-khadas-edge2.dts | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3588s-khadas-edge2.dts b/arch/arm64/boot/dts/rockchip/rk3588s-khadas-edge2.dts index cdd5f124e3069..04796265f4b7e 100644 --- a/arch/arm64/boot/dts/rockchip/rk3588s-khadas-edge2.dts +++ b/arch/arm64/boot/dts/rockchip/rk3588s-khadas-edge2.dts @@ -160,34 +160,42 @@ vdd_3v3_sd: vdd-3v3-sd-regulator { &cpu_b0 { cpu-supply = <&vdd_cpu_big0_s0>; + mem-supply = <&vdd_cpu_big0_mem_s0>; }; &cpu_b1 { cpu-supply = <&vdd_cpu_big0_s0>; + mem-supply = <&vdd_cpu_big0_mem_s0>; }; &cpu_b2 { cpu-supply = <&vdd_cpu_big1_s0>; + mem-supply = <&vdd_cpu_big1_mem_s0>; }; &cpu_b3 { cpu-supply = <&vdd_cpu_big1_s0>; + mem-supply = <&vdd_cpu_big1_mem_s0>; }; &cpu_l0 { cpu-supply = <&vdd_cpu_lit_s0>; + mem-supply = <&vdd_cpu_lit_mem_s0>; }; &cpu_l1 { cpu-supply = <&vdd_cpu_lit_s0>; + mem-supply = <&vdd_cpu_lit_mem_s0>; }; &cpu_l2 { cpu-supply = <&vdd_cpu_lit_s0>; + mem-supply = <&vdd_cpu_lit_mem_s0>; }; &cpu_l3 { cpu-supply = <&vdd_cpu_lit_s0>; + mem-supply = <&vdd_cpu_lit_mem_s0>; }; &combphy0_ps { @@ -208,7 +216,7 @@ &i2c0 { pinctrl-0 = <&i2c0m2_xfer>; status = "okay"; - vdd_cpu_big0_s0: regulator@42 { + vdd_cpu_big0_s0: vdd_cpu_big0_mem_s0: regulator@42 { compatible = "rockchip,rk8602"; reg = <0x42>; fcs,suspend-voltage-selector = <1>; @@ -225,7 +233,7 @@ regulator-state-mem { }; }; - vdd_cpu_big1_s0: regulator@43 { + vdd_cpu_big1_s0: vdd_cpu_big1_mem_s0: regulator@43 { compatible = "rockchip,rk8603", "rockchip,rk8602"; reg = <0x43>; fcs,suspend-voltage-selector = <1>;