From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DEFD723A9BE; Fri, 15 Aug 2025 08:37:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755247062; cv=none; b=jI1IqGr9no4/T5sW+Bpg9YHFFGqXuDYfsYe5oQ6rmcpSsiYudQaMSMTlbzTNxH/hNhgOh5yJvHohYHezVqAxtvMoszaNM0kmplr5ZgRrqVdb2BHVcBFtF31znlvYyRr6uCU4N00nxlUwinQpwFoNvC2hqqo+rfxDbgD6+iY3tCQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755247062; c=relaxed/simple; bh=qCUEoMcSiv4EArKcB1FLhUfsB2WEWl13SCaUpaPkLZI=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=hoZuFcfkbkrV9Ih/y9AZ1adWObqHBMllJscH5NBt9TkxRS2OFhjhECqe4v5g28sfyleNB5TKreGDQrm5JVhkrWKf7IZL2vTbMIPRi4r9M1j6Kc62uZ11WAWbRfXUimY/M4/w+/8FteAsgVS+BAvC4PEOqVDobmWj7MwXBcvrAfY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=IpWuSp5S; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="IpWuSp5S" Received: by smtp.kernel.org (Postfix) with ESMTPS id 75ED5C4CEFE; Fri, 15 Aug 2025 08:37:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1755247061; bh=qCUEoMcSiv4EArKcB1FLhUfsB2WEWl13SCaUpaPkLZI=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=IpWuSp5SoLQJe/9tIsFQHf0gmPvzBJRZL4k8Em73ETJV3LVsFPpr5m2/5O91ngKmX QHZpmjsNQyFlsHQGTPzhRubSg9sUVuB1DxUNebOZlyjU4+t5NpmFkDVes7+HF7fZG1 ohvl00r9NRaobfsbXDSi0HGm4XVkaa7Ed8W+vWJD5K2eEEr/ufNqxTy+aQZvVVAAuk 8OzBgj0xFIuNGzQ0DQacQMubpnNVI2UJp0rQdBm2KFRRrhyRZvqnPxfZjVk50txNgK n8qyF8AuDcKJfbEqhKsJPoSic3Fc7p6/tdhReHAKerVrwc77FukyFcpGzSuELa9rNx k/dFZre/MYyoA== 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 6F2C7CA0EE4; Fri, 15 Aug 2025 08:37:41 +0000 (UTC) From: Chuan Liu via B4 Relay Date: Fri, 15 Aug 2025 16:37:32 +0800 Subject: [PATCH 06/13] soc: amlogic: clk-measure: Unify the compatible property Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20250815-add-more-socs-to-support-clk_measure-v1-6-59f04ba67457@amlogic.com> References: <20250815-add-more-socs-to-support-clk_measure-v1-0-59f04ba67457@amlogic.com> In-Reply-To: <20250815-add-more-socs-to-support-clk_measure-v1-0-59f04ba67457@amlogic.com> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Neil Armstrong , Kevin Hilman , Jerome Brunet , Martin Blumenstingl Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org, Chuan Liu X-Mailer: b4 0.14.1 X-Developer-Signature: v=1; a=ed25519-sha256; t=1755247057; l=1243; i=chuan.liu@amlogic.com; s=20240902; h=from:subject:message-id; bh=0eEPVOYjuBKHP/v29Jhs15ySgwAKkYRM0UAoAkVVptI=; b=w5p2xKfbh6z56WSYU5ZafMzFPC+EGumxKh+Ixvc4DqIg3NuGpxaEkMcSlMCGGj8XeqMlAmup6 tvRqqTQbYEjD0o6iaUTAx+p1HW8LJoy1QBm9o9TPulukjmKQ89dnunU X-Developer-Key: i=chuan.liu@amlogic.com; a=ed25519; pk=fnKDB+81SoWGKW2GJNFkKy/ULvsDmJZRGBE7pR5Xcpo= X-Endpoint-Received: by B4 Relay for chuan.liu@amlogic.com/20240902 with auth_id=203 X-Original-From: Chuan Liu Reply-To: chuan.liu@amlogic.com From: Chuan Liu The clk-measure IPs across Amlogic SoCs have minimal differences, so they can be managed with a unified compatible property. Signed-off-by: Chuan Liu --- drivers/soc/amlogic/meson-clk-measure.c | 23 +---------------------- 1 file changed, 1 insertion(+), 22 deletions(-) diff --git a/drivers/soc/amlogic/meson-clk-measure.c b/drivers/soc/amlogic/meson-clk-measure.c index 4d91d463d2a5..6927f87b99cc 100644 --- a/drivers/soc/amlogic/meson-clk-measure.c +++ b/drivers/soc/amlogic/meson-clk-measure.c @@ -292,28 +292,7 @@ static int meson_msr_probe(struct platform_device *pdev) static const struct of_device_id meson_msr_match_table[] = { { - .compatible = "amlogic,meson-gx-clk-measure", - }, - { - .compatible = "amlogic,meson8-clk-measure", - }, - { - .compatible = "amlogic,meson8b-clk-measure", - }, - { - .compatible = "amlogic,meson-axg-clk-measure", - }, - { - .compatible = "amlogic,meson-g12a-clk-measure", - }, - { - .compatible = "amlogic,meson-sm1-clk-measure", - }, - { - .compatible = "amlogic,c3-clk-measure", - }, - { - .compatible = "amlogic,s4-clk-measure", + .compatible = "amlogic,clk-measure", }, { /* sentinel */ } }; -- 2.42.0