From patchwork Wed Sep 25 10:57:47 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fei Shao X-Patchwork-Id: 13811896 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 7B987C369CC for ; Wed, 25 Sep 2024 11:06:21 +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:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=PLqdDDy4JfS9QGhHfm83WJGLQ+zasSrsBp9fJHTMisc=; b=Qll+pvlc5NdiNCB53frfVIE62R iIWo+RNTaUxjF84LQlk7nN1kqCVL+rI5udypF8l5JH75tWvrZmcLXtIR9rk6zdpDsfqU2P41KAXh6 irte7haMU7l6q5h5FVbG+IOr4Q2KVrl3POIpzUcB99cfOU/3Ig2sR0yL7hHHcn9+5d2bAViABRhjX 4R5CyvHkUX73NUtG1PNE+np8xQYpM4uY1JHte/l+XMqfuT4XKd2FiEpds+FDyuRwIY/OMS6gUwPOq HpXw92jFf6lphaMX9USJHUQDjT9P9PdTrF4SScbprkueeGVke728nDtiYQOyU4N3x0w5KalYz5PAt z/oOESkg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1stPqT-00000004pMX-0kAQ; Wed, 25 Sep 2024 11:06:09 +0000 Received: from mail-pf1-x434.google.com ([2607:f8b0:4864:20::434]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1stPm1-00000004oNX-3v8x for linux-arm-kernel@lists.infradead.org; Wed, 25 Sep 2024 11:01:35 +0000 Received: by mail-pf1-x434.google.com with SMTP id d2e1a72fcca58-7179802b8fcso4656732b3a.1 for ; Wed, 25 Sep 2024 04:01:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1727262093; x=1727866893; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=PLqdDDy4JfS9QGhHfm83WJGLQ+zasSrsBp9fJHTMisc=; b=HnGV7AKxW4aqz4iGeUBt36SO0MSlzcc1u56Kxll2d18piIZvfFKVlgsy16kqXjeptR bDvL/ooy4u7imPC8mloNXxrKDaijYEI/yDcgD5nOJaAID/Mdc800DmYXpcxW37cdQSXJ C8yTepsqVpfxmHSTi7g9w//Nb1ARgcNk0mZIY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727262093; x=1727866893; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=PLqdDDy4JfS9QGhHfm83WJGLQ+zasSrsBp9fJHTMisc=; b=YHkZZf44OHq9tZ7W4fb1mRayrkJQJF7Cj/O0Y8zwTnRB2W/YwOf3aXS3kymLkazx2o ffkP69i9fRZJ9NeWROGUqaK5hk83eyBJxy3rHJgDc7X7kaA3MfbV67VKuls5jgF2Po5q kd1MCMiYOT7odnaV6lCivKX4ii5OEsT4CI46Zm/WZil4Xoemk+Jd9ngRsODJfRMnoqwO /OMtTr0Uzagj7VXaLV3lOflnqMYolPF949nQBa8GUNBWlCYjuJfqau2R3KiERSM6FUQl +pdmZo04pN0WPX0B6WrWs3wGaUseicT0KBrvjKPYrM8ML3bx5nJUvi5W5dQ7ZcPifMXJ uXLg== X-Forwarded-Encrypted: i=1; AJvYcCWV6yUdFIRy1RCBHLIdODwBaBksmUy+/Y/lOXBIyvL6vJ811h8JrlYy3nAaZOBS58R+cX3zNl68BvZPp+MzlKVt@lists.infradead.org X-Gm-Message-State: AOJu0Yxn6KeGFPtpkiy3yRDZ1S6FGq+D4DG6o2WWuV0+jhiAhssVkxV/ yUPP2gPGzz2UBpB/Qwla+Mj6LZD1Cefpy1VFzM2W5FhWgPDcHJTnWCre3uLv+g== X-Google-Smtp-Source: AGHT+IENDwuswAJbiEaRG30wahCIU1K1GFedjK/Q2vnSIcuGe0nQVExkQCiGetyyP40F5XzuOozohQ== X-Received: by 2002:a05:6a00:1496:b0:714:17b5:c1d9 with SMTP id d2e1a72fcca58-71b0aaa2289mr2816985b3a.1.1727262092682; Wed, 25 Sep 2024 04:01:32 -0700 (PDT) Received: from fshao-p620.tpe.corp.google.com ([2401:fa00:1:10:2b86:78b6:8ebc:e17a]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-7e6b7c73085sm2570298a12.59.2024.09.25.04.01.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Sep 2024 04:01:30 -0700 (PDT) From: Fei Shao To: AngeloGioacchino Del Regno Cc: Fei Shao , Conor Dooley , Krzysztof Kozlowski , Matthias Brugger , Rob Herring , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org Subject: [PATCH 3/6] arm64: dts: mediatek: mt8188: Define CPU big core cluster Date: Wed, 25 Sep 2024 18:57:47 +0800 Message-ID: <20240925110044.3678055-4-fshao@chromium.org> X-Mailer: git-send-email 2.46.0.792.g87dc391469-goog In-Reply-To: <20240925110044.3678055-1-fshao@chromium.org> References: <20240925110044.3678055-1-fshao@chromium.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240925_040134_000866_F167DB8B X-CRM114-Status: GOOD ( 12.23 ) 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 The MT8188 SoC features two CPU clusters: one with 6 little Cortex-A55 cores, and the other with 2 big Cortex-A78 cores. Update the CPU topology to reflect the actual hardware configurations. Signed-off-by: Fei Shao --- arch/arm64/boot/dts/mediatek/mt8188.dtsi | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/mediatek/mt8188.dtsi b/arch/arm64/boot/dts/mediatek/mt8188.dtsi index cd27966d2e3c..51bf08b2ff9b 100644 --- a/arch/arm64/boot/dts/mediatek/mt8188.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8188.dtsi @@ -195,12 +195,14 @@ core4 { core5 { cpu = <&cpu5>; }; + }; - core6 { + cluster1 { + core0 { cpu = <&cpu6>; }; - core7 { + core1 { cpu = <&cpu7>; }; };