From patchwork Fri Jul 19 08:08:10 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xianwei Zhao via B4 Relay X-Patchwork-Id: 13736965 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 80774C3DA59 for ; Fri, 19 Jul 2024 08:10:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Reply-To:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To: References:Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version: Subject:Date:From:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=BWUQBzBEGJDugkIFaG8/n6oKoc/+8l+SSxp1FOES3no=; b=3zJZOscoLQ4FNmBPhZcatgQTTB izj4dModoe8YzDjeJmi2DUBhPbev5DeqDkt9Z9lpWza6jhkVCYKzk8TffU0A2ArdffFdJM6ZZ0fM7 9IeH9naSIMHKHzzfwdw/3z7hoa+n+wW6lj8wpLyoTfg5oKI++A7TGeAvvUNpX6/XSJU3PWkUnCB/r OOOLs6L6JB/Y7o5D2hrLUpfCk+BNBnwrnYGb4kNZa1JPNwT8XKL2MRwtbsc9gnpd1nFu0SvJhFFXR NtVziRHkjkO24IS8nqCZlpXzqkN11WiujiepIsGDnjfFNziGblSzvtgub3fA1xrjAusOgTL7zro7C r0NxtkGQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sUihR-000000021HI-0kdh; Fri, 19 Jul 2024 08:10:45 +0000 Received: from sin.source.kernel.org ([145.40.73.55]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sUif0-0000000209a-44fE; Fri, 19 Jul 2024 08:08:20 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sin.source.kernel.org (Postfix) with ESMTP id 3CC56CE1B20; Fri, 19 Jul 2024 08:08:13 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id 3467CC4AF0A; Fri, 19 Jul 2024 08:08:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1721376492; bh=/O2nGpJcr16vRLvgrd+SZjmwJdnjJPrOC4NvECf8nUM=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=bdIEBzLGNTJ0ytCVXwZIjbOF9+JFMb90xZW98gbCg17YINisWbMFQa3pfHIJTHleT LPOqUIkOGWPoJtZvBxbvHGFuge7AAyIj12BeUvaLQ0YbI2aDF9rvlGtIJtRsCqe/IA Arkd+iQO13Zfzfx/kCHKHoxM2oYHVa9UIZW6rB+IWsgmYK90HxRwroxVSc8QwLZISK dJJeIvcka5dZWZXIhK12Bvl8UUhqkqZKKvt7pzV3LGR5zFuCTBFIlERt90yBkpN3cH IQlmo1Gcf/HrT20sJJCm9/KHfk2WgcB949G7ApG3RcjqM6ayN9YzGxBSnq7aO9446K lsFgrW3CBTWDA== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1B059C3DA5D; Fri, 19 Jul 2024 08:08:12 +0000 (UTC) From: Xianwei Zhao via B4 Relay Date: Fri, 19 Jul 2024 16:08:10 +0800 Subject: [PATCH v3 2/6] soc: amlogic: meson-gx-socinfo: add new SoCs id MIME-Version: 1.0 Message-Id: <20240719-soc_info-v3-2-020a3b687c0c@amlogic.com> References: <20240719-soc_info-v3-0-020a3b687c0c@amlogic.com> In-Reply-To: <20240719-soc_info-v3-0-020a3b687c0c@amlogic.com> To: Neil Armstrong , Kevin Hilman , Jerome Brunet , Martin Blumenstingl , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Xianwei Zhao X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=ed25519-sha256; t=1721376490; l=1182; i=xianwei.zhao@amlogic.com; s=20231208; h=from:subject:message-id; bh=zRWWsMnyYjBcl83+I2nHF9NZDOoGs2C4FOAOFivyI1k=; b=2N3VqoSg90YHKRwkRLAuCyMLMMD4AtkI2P8zYR5Mxi8W0Kbw8U+ctTMenOiDH9TOh2XHWlVH/ 0EzzzrNYT0zD1VOsz+8/XcyUI0Qwn9riN54CXGVaOuKayNLqu1/hbEi X-Developer-Key: i=xianwei.zhao@amlogic.com; a=ed25519; pk=o4fDH8ZXL6xQg5h17eNzRljf6pwZHWWjqcOSsj3dW24= X-Endpoint-Received: by B4 Relay for xianwei.zhao@amlogic.com/20231208 with auth_id=107 X-Original-From: Xianwei Zhao X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240719_010815_212876_1A2C6210 X-CRM114-Status: UNSURE ( 7.92 ) 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: , Reply-To: xianwei.zhao@amlogic.com Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Xianwei Zhao Add new definition for Amlogi SoCs, include S4, C3, T7, A4, A5. Reviewed-by: Neil Armstrong Signed-off-by: Xianwei Zhao --- drivers/soc/amlogic/meson-gx-socinfo.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/drivers/soc/amlogic/meson-gx-socinfo.c b/drivers/soc/amlogic/meson-gx-socinfo.c index 8809a948201a..7549f1644e5e 100644 --- a/drivers/soc/amlogic/meson-gx-socinfo.c +++ b/drivers/soc/amlogic/meson-gx-socinfo.c @@ -41,6 +41,11 @@ static const struct meson_gx_soc_id { { "G12B", 0x29 }, { "SM1", 0x2b }, { "A1", 0x2c }, + { "T7", 0x36 }, + { "S4", 0x37 }, + { "A5", 0x3c }, + { "C3", 0x3d }, + { "A4", 0x40 }, }; static const struct meson_gx_package_id { @@ -76,6 +81,11 @@ static const struct meson_gx_package_id { { "S905X3", 0x2b, 0x10, 0x3f }, { "S905D3", 0x2b, 0x30, 0x3f }, { "A113L", 0x2c, 0x0, 0xf8 }, + { "S805X2", 0x37, 0x2, 0xf }, + { "C308L", 0x3d, 0x1, 0xf }, + { "A311D2", 0x36, 0x1, 0xf }, + { "A113X2", 0x3c, 0x1, 0xf }, + { "A113L2", 0x40, 0x1, 0xf }, }; static inline unsigned int socinfo_to_major(u32 socinfo)