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 B79461D1F73; Wed, 2 Oct 2024 13:59:58 +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=1727877598; cv=none; b=BAljGv1+2VQo3MpPlNJLyTMmJwIe/nN0tKMeDSZJfMhAKdgZHfz7vfRupLe5SY4eKgAVNH9pxl8iC7avdZ2T/EBN5wzMvcipa/u1Z6xZTeWWMxCoyzKwx3QcTjL5c+nideTc6DTw11ff6V4+J0ccTJjlY/8PYB8FCbKwfnT3w10= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727877598; c=relaxed/simple; bh=MdH7eOEr5GfK8aeLwvX0Ae6a9D+b/NC/O63V5tjqCJk=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=JCrJjs6sd2tH9r1XiXObqsKgjW9K8W3QhBdQ1T8zRZfJKiQJx5E4+QfOrbCIWQaUxHR7F+PyOeV0AYBKvrxXV4boklI2ZRopOCwG8fcmK1Yi+CWKwOO2WZhQWg58Wi2ISx6lyhaGrkkvJg63YuH1jqhPgWXcNu0+dNJFBeNsFWE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=oPD+kjgF; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="oPD+kjgF" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3AF29C4CEC5; Wed, 2 Oct 2024 13:59:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1727877598; bh=MdH7eOEr5GfK8aeLwvX0Ae6a9D+b/NC/O63V5tjqCJk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=oPD+kjgFsRDqcPlxkuU4QyqJLXcJJkeyqOF/hXCEt/AE3GKJunIh2hQ2EGRjga4bE VcCdmLdxzAixpZGzjzIvLeyetTS5s8Mfo34aROsvucVhlVKUSVWnkAe9CH+rJ5DUrj KtBYLKiaRMbo1zZsxgCuu/fi044Njpi+Jn29Gqtg= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Alexander Dahl , Claudiu Beznea , Sasha Levin Subject: [PATCH 6.10 128/634] ARM: dts: microchip: sam9x60: Fix rtc/rtt clocks Date: Wed, 2 Oct 2024 14:53:48 +0200 Message-ID: <20241002125816.163973055@linuxfoundation.org> X-Mailer: git-send-email 2.46.2 In-Reply-To: <20241002125811.070689334@linuxfoundation.org> References: <20241002125811.070689334@linuxfoundation.org> User-Agent: quilt/0.67 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.10-stable review patch. If anyone has any objections, please let me know. ------------------ From: Alexander Dahl [ Upstream commit d355c895fa4ddd8bec15569eee540baeed7df8c5 ] The RTC and RTT peripherals use the timing domain slow clock (TD_SLCK), sourced from the 32.768 kHz crystal oscillator or slow rc oscillator. The previously used Monitoring domain slow clock (MD_SLCK) is sourced from an internal RC oscillator which is most probably not precise enough for real time clock purposes. Fixes: 1e5f532c2737 ("ARM: dts: at91: sam9x60: add device tree for soc and board") Fixes: 5f6b33f46346 ("ARM: dts: sam9x60: add rtt") Signed-off-by: Alexander Dahl Link: https://lore.kernel.org/r/20240821055136.6858-1-ada@thorsis.com [claudiu.beznea: removed () around the last commit description paragraph, removed " in front of "timing domain slow clock", described that TD_SLCK can also be sourced from slow rc oscillator] Signed-off-by: Claudiu Beznea Signed-off-by: Sasha Levin --- arch/arm/boot/dts/microchip/sam9x60.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/microchip/sam9x60.dtsi b/arch/arm/boot/dts/microchip/sam9x60.dtsi index 291540e5d81e7..d077afd5024db 100644 --- a/arch/arm/boot/dts/microchip/sam9x60.dtsi +++ b/arch/arm/boot/dts/microchip/sam9x60.dtsi @@ -1312,7 +1312,7 @@ compatible = "microchip,sam9x60-rtt", "atmel,at91sam9260-rtt"; reg = <0xfffffe20 0x20>; interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>; - clocks = <&clk32k 0>; + clocks = <&clk32k 1>; }; pit: timer@fffffe40 { @@ -1338,7 +1338,7 @@ compatible = "microchip,sam9x60-rtc", "atmel,at91sam9x5-rtc"; reg = <0xfffffea8 0x100>; interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>; - clocks = <&clk32k 0>; + clocks = <&clk32k 1>; }; watchdog: watchdog@ffffff80 { -- 2.43.0