From nobody Sun Feb 8 04:12:47 2026 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) (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 B16152E6CC4; Mon, 2 Feb 2026 10:44:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=68.232.153.233 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770029063; cv=none; b=hWjONkKIhHVNOTlQ2AzgLKHBR5ESSfKqO1S4vW03oJz5tD9enkyyiNk0tZDUux7SrDcnupUoPH2AXWL5Xug1WhM3b80ZKGhMD8Rw1v/x66VsukoMcatXrwywgI44MVzIiI8broBb3oo3HmaI8pSDxVpdPFTHJ32ZOofq2LzdmWU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770029063; c=relaxed/simple; bh=AaVe1pjaER66BSebJZWxUmfJ2o8xzxozlDgG45+LDuk=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=C86IgwmmJO1TBK9FLmVNQpF5Pa7K7JGJfpBPbjwRceiLTg0C0OdNT2F9s0fJZf2asVT29ZcAy7V5FgCNqhAlE9iD2NiRfdhrQvOE2dgA0Ap4tZAojMeJoWvSmiB+ZHJ0HYWgfC9+r3JfVcYkQGJtfVbIpNdyAfUaw8vpzpc0cWw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=microchip.com; spf=pass smtp.mailfrom=microchip.com; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b=oUtk7MDf; arc=none smtp.client-ip=68.232.153.233 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=microchip.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=microchip.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="oUtk7MDf" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1770029062; x=1801565062; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=AaVe1pjaER66BSebJZWxUmfJ2o8xzxozlDgG45+LDuk=; b=oUtk7MDfMcOMLyzsO/C68sStIabWO9wIAHGsNMr7YEs2UlSLbE/UfTxj a2fT8q+H+c0Z3sZFvpXIbAtxLEUbpslrH0Z12cTKPS75DPRxTbGxkctpj HyaNVeBBNHHUdcyT+gP2Z1NTt6rVgEEFS0ZuAeAfs4mhUAqXuhH/OkUHs TNiQ884f40DfR9aMfAzE+/87GdzAvhnSXE3xFxp9yTOlG82GGytRZhV3K ifrRw5LXD8OBBpTgeMJMm9LeSC7hcQgLmOmW6ortQQeoJ/AJ88wS8sKuE neucrylJxcLm+/IW3LKBSH4s4qIUP6tSGAwLoJo0Rf4Sr7NO2M69ny328 g==; X-CSE-ConnectionGUID: DSQwcYL0TyCoxPqC95EJag== X-CSE-MsgGUID: xxR6AZGYSNq5/76nmJyAdA== X-IronPort-AV: E=Sophos;i="6.21,268,1763449200"; d="scan'208";a="52769520" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa3.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 02 Feb 2026 03:41:12 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.58; Mon, 2 Feb 2026 03:40:41 -0700 Received: from archlinux.mchp-main.com (10.10.85.11) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server id 15.1.2507.58 via Frontend Transport; Mon, 2 Feb 2026 03:40:38 -0700 From: Mihai Sain To: , , , , , , , , , , CC: , , , , , Mihai Sain Subject: [PATCH 1/5] clk: at91: sam9x7: Remove gmac peripheral and generic clock entries with ID 67 Date: Mon, 2 Feb 2026 12:40:21 +0200 Message-ID: <20260202104025.3781-2-mihai.sain@microchip.com> X-Mailer: git-send-email 2.52.0 In-Reply-To: <20260202104025.3781-1-mihai.sain@microchip.com> References: <20260202104025.3781-1-mihai.sain@microchip.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" According with datasheet table 12.1 the instance ID 67 is reserved. This change drops the gmactsu_clk and gmac_gclk entries from the SAM9X7 clock description tables. Signed-off-by: Mihai Sain --- drivers/clk/at91/sam9x7.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/drivers/clk/at91/sam9x7.c b/drivers/clk/at91/sam9x7.c index 89868a0aeaba..d9603f1124d0 100644 --- a/drivers/clk/at91/sam9x7.c +++ b/drivers/clk/at91/sam9x7.c @@ -420,7 +420,6 @@ static const struct { { .n =3D "lvdsc_clk", .id =3D 56, }, { .n =3D "pit64b1_clk", .id =3D 58, }, { .n =3D "puf_clk", .id =3D 59, }, - { .n =3D "gmactsu_clk", .id =3D 67, }, }; =20 /* @@ -702,15 +701,6 @@ static const struct { .pp_count =3D 1, .pp_chg_id =3D INT_MIN, }, - - { - .n =3D "gmac_gclk", - .id =3D 67, - .pp =3D { "audiopll_divpmcck", "plla_div2pmcck", }, - .pp_mux_table =3D { 6, 8, }, - .pp_count =3D 2, - .pp_chg_id =3D INT_MIN, - }, }; =20 static void __init sam9x7_pmc_setup(struct device_node *np) --=20 2.52.0 From nobody Sun Feb 8 04:12:47 2026 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) (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 5AC50156F45; Mon, 2 Feb 2026 10:44:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=68.232.153.233 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770029069; cv=none; b=kGJJbNlwqJYuILgbZIMHteYA/jg6xb3cxhH60Zeal2K8Tg1jygqyrosqNvSkPog7h6IwOtGgex9gP0eyGf+sBR7PnxylnCHy/Pgj9JACZSBmGpllnZmZXM8PjFxWowzikfIXs8fFFKhBWucbxNeCNJcQWWcXLyg2izO8jN2g0Cw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770029069; c=relaxed/simple; bh=Th2Pyfo6YtFvOWalzENkMGywH6Y1rzwFvxcMHuDq2AA=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=F3inhYa8oKcf4VyjSA2JJY3xy55okYUGmqi/nM3GpohcC4dGssEO9SNagLGZ0v2E50/90QwtK2uWshE5d/HXwOgqGb7nWM9ZElowhU5Uc1paCWW2B7207wbZNa2jDwew72WIrngtLFSzlNhn7uiCNd+OI6XcQJOgZTq4yUZDFts= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=microchip.com; spf=pass smtp.mailfrom=microchip.com; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b=EGUYWVh1; arc=none smtp.client-ip=68.232.153.233 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=microchip.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=microchip.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="EGUYWVh1" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1770029068; x=1801565068; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=Th2Pyfo6YtFvOWalzENkMGywH6Y1rzwFvxcMHuDq2AA=; b=EGUYWVh1ob30pu21j41jzAHNPaabKfIncU8AEoceHxDwwyMVGRfknRFu OTW29247kwVD8kuPjbKap4j+bEghjHSukBz+aR4SMhtc9caCelrXdlK87 QLyyHZAHjUBqK1JBbVAgthqI4EU7LHtE2Oa9jGGjlLWE8i48IygjXhokY Noq0Z+f6Oup3fx6dnDbC5PkmG+nigafITe/e88DsPQ9PY1MPCanDuHHTd M8DgkRwXqWMB7d+7+Lqy06LCXGuxMpWeLOq5+j3I2B2S+zH/1BU3dDvPI JfFrID8+29cEfdSh+ZWSBOMESp1aBT5VzboPZEYAvuf12E5WKJ63faJnW w==; X-CSE-ConnectionGUID: 7oiJFARpQRyJAEDPNcfsaA== X-CSE-MsgGUID: tqWdLbeJSXGwzwxOpnDMTA== X-IronPort-AV: E=Sophos;i="6.21,268,1763449200"; d="scan'208";a="59959604" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa1.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Feb 2026 03:41:21 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.87.152) by chn-vm-ex4.mchp-main.com (10.10.87.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.2.2562.35; Mon, 2 Feb 2026 03:40:47 -0700 Received: from archlinux.mchp-main.com (10.10.85.11) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server id 15.1.2507.58 via Frontend Transport; Mon, 2 Feb 2026 03:40:41 -0700 From: Mihai Sain To: , , , , , , , , , , CC: , , , , , Mihai Sain Subject: [PATCH 2/5] clk: at91: sam9x7: Rename macb0_clk to gmac_clk Date: Mon, 2 Feb 2026 12:40:22 +0200 Message-ID: <20260202104025.3781-3-mihai.sain@microchip.com> X-Mailer: git-send-email 2.52.0 In-Reply-To: <20260202104025.3781-1-mihai.sain@microchip.com> References: <20260202104025.3781-1-mihai.sain@microchip.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Update the peripheral clock name for ID 24 from macb0_clk to gmac_clk to match the actual GMAC hardware block present on SAM9X7 SoCs. This aligns the clock naming with the device tree and avoids confusion with legacy MACB controllers. Signed-off-by: Mihai Sain --- drivers/clk/at91/sam9x7.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/at91/sam9x7.c b/drivers/clk/at91/sam9x7.c index d9603f1124d0..68e569bd70f5 100644 --- a/drivers/clk/at91/sam9x7.c +++ b/drivers/clk/at91/sam9x7.c @@ -387,7 +387,7 @@ static const struct { { .n =3D "dma0_clk", .id =3D 20, }, { .n =3D "uhphs_clk", .id =3D 22, }, { .n =3D "udphs_clk", .id =3D 23, }, - { .n =3D "macb0_clk", .id =3D 24, }, + { .n =3D "gmac_clk", .id =3D 24, }, { .n =3D "lcd_clk", .id =3D 25, }, { .n =3D "sdmmc1_clk", .id =3D 26, }, { .n =3D "ssc_clk", .id =3D 28, }, --=20 2.52.0 From nobody Sun Feb 8 04:12:47 2026 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) (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 5DF0C35BDD5; Mon, 2 Feb 2026 10:44:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=68.232.153.233 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770029067; cv=none; b=JF4i0PlykmbqRJbDqJvfi32ArBHWGnJ1kVGNrsIaD6i3SuDyG935GBM3PJHoxHjP7qve9Vowz/rXMVOBCjUDDpeve/gV57aM8lU0qpKM1M5tKE24tg7ebIcNgzbXptSUeYIROsq66Py4R0+kLyZ05Y30srZhpzqRrS53Uim/Ufg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770029067; c=relaxed/simple; bh=CQDItOjg4vFi2oY4AFpL1SrpyEnw1EaJxRuwwh3G9ls=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=V4YCYWG3DS9OW/MOV7QHVcmdJLIpWQscd+82JqgXtwKxeIUf9VieX2OPbVUv6dcH4FvEbpXWnbJWLSdhCqYU0AHqVnRHrelQFP1usWxI6SS6q8ocBFY5C4mu0Nyd4epD0dzOKedpl2etkEwXxHS5BibOZlNEf6cIAfoafEHHNUI= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=microchip.com; spf=pass smtp.mailfrom=microchip.com; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b=xXZmWv8a; arc=none smtp.client-ip=68.232.153.233 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=microchip.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=microchip.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="xXZmWv8a" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1770029066; x=1801565066; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=CQDItOjg4vFi2oY4AFpL1SrpyEnw1EaJxRuwwh3G9ls=; b=xXZmWv8aIU/+GIsRowmsgGKCc9yXHFz+qmbVTxlB0wsZMkTF4ytzbQTu HmATZu76fGcVvNHAf0kpJ2+goxFSRoP2VPMZLmLFC5h/XhQLz3qnaQZ4n mmhkBDeqvxAsfo4QcAG1PXnE8LYjTStLuM0zf/1oRDs3++ZsRDW+Ch9Wj QhUWtz8qNY+eSl4tr4YTZCWCQiqy4ibFvOacxVn1LNXsA5H6vlnWidFDt GJaWp0zdKqEq1tgDeb/C5Km1MJjK73RqFWZYeXprEAYmOWa5bRCDNJTAM iwiYXwxG1iQepaKcVETLfABvuiQ5sbDcmT0GW6B10slk5fZ6s3t8SfuGx Q==; X-CSE-ConnectionGUID: 4Ir6ehGOSMSwNcM0kpvUsg== X-CSE-MsgGUID: PjNnYzkfTRWbnRr57rBzvw== X-IronPort-AV: E=Sophos;i="6.21,268,1763449200"; d="scan'208";a="59959599" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa1.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 02 Feb 2026 03:41:15 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.58; Mon, 2 Feb 2026 03:40:49 -0700 Received: from archlinux.mchp-main.com (10.10.85.11) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server id 15.1.2507.58 via Frontend Transport; Mon, 2 Feb 2026 03:40:45 -0700 From: Mihai Sain To: , , , , , , , , , , CC: , , , , , Mihai Sain Subject: [PATCH 3/5] clk: at91: sam9x7: Add gmac generic clock entry with ID 24 Date: Mon, 2 Feb 2026 12:40:23 +0200 Message-ID: <20260202104025.3781-4-mihai.sain@microchip.com> X-Mailer: git-send-email 2.52.0 In-Reply-To: <20260202104025.3781-1-mihai.sain@microchip.com> References: <20260202104025.3781-1-mihai.sain@microchip.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" According with datasheet table 12.1 the instance ID 24 is used for gmac generic clock. This change adds the gmac_gclk entry in SAM9X7 clock description table. Signed-off-by: Mihai Sain --- drivers/clk/at91/sam9x7.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/drivers/clk/at91/sam9x7.c b/drivers/clk/at91/sam9x7.c index 68e569bd70f5..8b52da194849 100644 --- a/drivers/clk/at91/sam9x7.c +++ b/drivers/clk/at91/sam9x7.c @@ -568,6 +568,15 @@ static const struct { .pp_chg_id =3D INT_MIN, }, =20 + { + .n =3D "gmac_gclk", + .id =3D 24, + .pp =3D { "audiopll_divpmcck", "plla_div2pmcck", }, + .pp_mux_table =3D { 6, 8, }, + .pp_count =3D 2, + .pp_chg_id =3D INT_MIN, + }, + { .n =3D "lcd_gclk", .id =3D 25, --=20 2.52.0 From nobody Sun Feb 8 04:12:47 2026 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) (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 DA40735B138; Mon, 2 Feb 2026 10:44:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=68.232.153.233 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770029069; cv=none; b=uf2+NlofpnjIrOx0LN00C7V+tq86lV/j8hK6PUXVKQ4ag6IXbRfX9CGbs9zWBn3To66KzjbJLi3R/SqjXqhRj2Umg7mozuCIULKkSgvLbUuCXRtjacZF6bsR5rIGk41cy0D4wq4LXUah1X3/zfxppBY6h8LpNynviapPCW9ckHY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770029069; c=relaxed/simple; bh=9g5CCiQU1ItiH0FskuKxbTunuhIDJpCKXVV65BaI9V0=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=bhUBxc/T6luGyBXGdJ5s4+0Na5UGs8Ob0z/zGCKGPRxEGu+sfx3jF7PB5X+jpT3rhaGtTdPao5AMxn+LfwwMjaOngWr/KjsArqmWW9KL7BBw060EJtSmtyw5pVfHoG1wP2xAvB2QF+FDYjybZoNgwZl15RbPbTbd5vJZNUdQ1Jk= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=microchip.com; spf=pass smtp.mailfrom=microchip.com; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b=LZaQoaXd; arc=none smtp.client-ip=68.232.153.233 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=microchip.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=microchip.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="LZaQoaXd" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1770029067; x=1801565067; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=9g5CCiQU1ItiH0FskuKxbTunuhIDJpCKXVV65BaI9V0=; b=LZaQoaXdkbIsy2AOiBxknLOqd7DEKFYKttxQCSznE9UnqTRH8LjBtNsm SPUL9E9ponC9wqprmMNo82nqN8BjRmJUOFGq5IqzvYspp9KBZNzYZBys9 pienLLNlSKTs2nnchdZgG4WFu42PzLm8wxsrdsPQktOkoTYbVWO3FmuK0 BENLK48rbzBDTQRunJwVBNPuIEGHle84/6vdPoBFBVVuL3z+5G44HFZOl 4gQkfQ4THHOPc9zF8Sx2JXHcAO/0Rg8CxNf2I4Bax/qFHGj+8Aad+rXXM iGyb3MFQOVzCBdIp/KKPU80a0WyPQi4GaU3eI71tJoi7o97KSIGuAv4Sc g==; X-CSE-ConnectionGUID: 4Ir6ehGOSMSwNcM0kpvUsg== X-CSE-MsgGUID: hIZX4jERQv6ymGlGZoEvMA== X-IronPort-AV: E=Sophos;i="6.21,268,1763449200"; d="scan'208";a="59959601" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa1.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 02 Feb 2026 03:41:15 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.58; Mon, 2 Feb 2026 03:40:52 -0700 Received: from archlinux.mchp-main.com (10.10.85.11) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server id 15.1.2507.58 via Frontend Transport; Mon, 2 Feb 2026 03:40:49 -0700 From: Mihai Sain To: , , , , , , , , , , CC: , , , , , Mihai Sain Subject: [PATCH 4/5] ARM: dts: microchip: sam9x7: Remove the tx_clk from gmac node Date: Mon, 2 Feb 2026 12:40:24 +0200 Message-ID: <20260202104025.3781-5-mihai.sain@microchip.com> X-Mailer: git-send-email 2.52.0 In-Reply-To: <20260202104025.3781-1-mihai.sain@microchip.com> References: <20260202104025.3781-1-mihai.sain@microchip.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" The gmac controller on sam9x7 has no internal pll to generate the 125MHz clock source for rgmii mode. This clock is generated on external board by eth-phy or clock oscillator. This change drops the tx_clk entry from gmac node. Signed-off-by: Mihai Sain --- arch/arm/boot/dts/microchip/sam9x7.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/microchip/sam9x7.dtsi b/arch/arm/boot/dts/mi= crochip/sam9x7.dtsi index 46dacbbd201d..da94865c57e9 100644 --- a/arch/arm/boot/dts/microchip/sam9x7.dtsi +++ b/arch/arm/boot/dts/microchip/sam9x7.dtsi @@ -991,7 +991,7 @@ gmac: ethernet@f802c000 { <63 IRQ_TYPE_LEVEL_HIGH 3>, /* Queue 4 */ <64 IRQ_TYPE_LEVEL_HIGH 3>; /* Queue 5 */ clocks =3D <&pmc PMC_TYPE_PERIPHERAL 24>, <&pmc PMC_TYPE_PERIPHERAL 24>= , <&pmc PMC_TYPE_GCK 24>, <&pmc PMC_TYPE_GCK 67>; - clock-names =3D "hclk", "pclk", "tx_clk", "tsu_clk"; + clock-names =3D "hclk", "pclk", "tsu_clk"; assigned-clocks =3D <&pmc PMC_TYPE_GCK 67>; assigned-clock-rates =3D <266666666>; status =3D "disabled"; --=20 2.52.0 From nobody Sun Feb 8 04:12:47 2026 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) (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 14F4E2DEA95; Mon, 2 Feb 2026 10:42:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=68.232.153.233 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770028946; cv=none; b=MgtctdKgLOPZKoCgQrzo4oLhan5rCv6zULrIrrtlmLWPTwNzdARBWn3eeZcOvDs9SsvEDUlFKlorhEbJCe2pzfTqyHctzFrDi3WaD/3uBJ2q44wVNbHoVNGYzH5TmegZ6VzwIr5ZkEKV+/EV4nNhcvWzlEum+o3fUmqU2BDdyBY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770028946; c=relaxed/simple; bh=2uvh5GR04a5ws4bAhWTfW3RAkctWft0/DaS7gLhvCZI=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=RZ+MB3/79ZljFPPFNJmqD/TyVcA9+GQA+P0wjIgrPcatKR5Y6o0XIwYM1wS8WCWv34D9jSt8nsYPTBFrzas9lXMlvOZkGBsyRwJ6cLlNOlg/4CApzdbeVQR5mFL7lUh7i3Er9xLh7ONMB19zCphwLUeUNGiC1KjI2a1F4s7pDQo= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=microchip.com; spf=pass smtp.mailfrom=microchip.com; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b=G/tbO6Lx; arc=none smtp.client-ip=68.232.153.233 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=microchip.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=microchip.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="G/tbO6Lx" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1770028944; x=1801564944; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=2uvh5GR04a5ws4bAhWTfW3RAkctWft0/DaS7gLhvCZI=; b=G/tbO6Lxk3JY2Eb3oQ4M3N3f6v5MSXcZpBZh6swuH/IXprzvDGduhQbH BEMW6M2Ny4BBT38UqpMu30HYChhdbrsnMUbDWMSkM71bHmkdvkVW2Uzu3 KIzkwK5vL9LzJZJVk+DF05/PpHWM0h6cgT+i+MuAZEkg7E/iTm7OwHJfN YJd2SlPIRKlZcPaQj0qkCUOGBe65IKU2bxBV4Mz9yAiwA39hmBEcK9Pk+ vpomJwBTUsBsOh7QIOZRN9Mg9FmTQHpF+3WVKyqu6T6FCDthDv0hmnQPH S5jhr3IN9ALAmuafBmgUIQ3funz6zDD7/ICZ3x5+O8avHgzUxDGz2WJGQ Q==; X-CSE-ConnectionGUID: 7oiJFARpQRyJAEDPNcfsaA== X-CSE-MsgGUID: 53i4fbhYR6CsWbCdFGpabw== X-IronPort-AV: E=Sophos;i="6.21,268,1763449200"; d="scan'208";a="59959608" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa1.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Feb 2026 03:41:22 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.87.152) by chn-vm-ex4.mchp-main.com (10.10.87.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.2.2562.35; Mon, 2 Feb 2026 03:40:58 -0700 Received: from archlinux.mchp-main.com (10.10.85.11) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server id 15.1.2507.58 via Frontend Transport; Mon, 2 Feb 2026 03:40:53 -0700 From: Mihai Sain To: , , , , , , , , , , CC: , , , , , Mihai Sain Subject: [PATCH 5/5] ARM: dts: microchip: sam9x7: Update the tsu_clk to use the generic clock with ID 24 Date: Mon, 2 Feb 2026 12:40:25 +0200 Message-ID: <20260202104025.3781-6-mihai.sain@microchip.com> X-Mailer: git-send-email 2.52.0 In-Reply-To: <20260202104025.3781-1-mihai.sain@microchip.com> References: <20260202104025.3781-1-mihai.sain@microchip.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Update the tsu_clk to use the generic clock with ID 24 instead of ID 67. [root@SAM9X75 ~]$ cat /sys/kernel/debug/clk/clk_summary | grep gmac gmac_gclk 1 1 1 266666666 0 0 50000= Y f802c000.ethernet tsu_clk = f802c000.ethernet tsu_clk gmac_clk 2 2 0 266666666 0 0 50000= Y f802c000.ethernet hclk = f802c000.ethernet pclk Signed-off-by: Mihai Sain --- arch/arm/boot/dts/microchip/sam9x7.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/microchip/sam9x7.dtsi b/arch/arm/boot/dts/mi= crochip/sam9x7.dtsi index da94865c57e9..a42716e18da3 100644 --- a/arch/arm/boot/dts/microchip/sam9x7.dtsi +++ b/arch/arm/boot/dts/microchip/sam9x7.dtsi @@ -990,9 +990,9 @@ gmac: ethernet@f802c000 { <62 IRQ_TYPE_LEVEL_HIGH 3>, /* Queue 3 */ <63 IRQ_TYPE_LEVEL_HIGH 3>, /* Queue 4 */ <64 IRQ_TYPE_LEVEL_HIGH 3>; /* Queue 5 */ - clocks =3D <&pmc PMC_TYPE_PERIPHERAL 24>, <&pmc PMC_TYPE_PERIPHERAL 24>= , <&pmc PMC_TYPE_GCK 24>, <&pmc PMC_TYPE_GCK 67>; + clocks =3D <&pmc PMC_TYPE_PERIPHERAL 24>, <&pmc PMC_TYPE_PERIPHERAL 24>= , <&pmc PMC_TYPE_GCK 24>; clock-names =3D "hclk", "pclk", "tsu_clk"; - assigned-clocks =3D <&pmc PMC_TYPE_GCK 67>; + assigned-clocks =3D <&pmc PMC_TYPE_GCK 24>; assigned-clock-rates =3D <266666666>; status =3D "disabled"; }; --=20 2.52.0