From patchwork Thu May 4 06:07:27 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Claudiu Beznea X-Patchwork-Id: 13230791 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 5E616C7EE23 for ; Thu, 4 May 2023 06:08:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=fogaa3ZmMu2g4xbRRKhABAzWzMs/s9n9xdMZkRG8u9A=; b=asMdFuw7OqFJwI wxWPacqdAj2L1wAVqxDlwUsD4HGP9QPauFDvzcK7GSsRlOrzTVq/EdNynn0vCbE2y1QNGT1T8JhoS oW5OqRtCG3b4obSFwu6VmBWm63pN95+MkHW1Y8yoEL8DYiI0E3HdVnCuBgGo4d64DqXzceGpjYl3m ylARDdhFHX3gwoOE+cxL1csc04LoMKUGHjaq17NpxM3vzIDFf8LiS9XcpLIRx8rI2EYrkc0laweHz HfMbMcJ6GbKP8TMHBqgjLU8lJ93gd0x0PgrS1lEOn8R6MJWcHnS6vKAPdSWpugB4+rEwpe/6vQw6/ czHzfITRPumDq7V5ncWg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1puS8A-006hjU-2e; Thu, 04 May 2023 06:07:54 +0000 Received: from esa.microchip.iphmx.com ([68.232.154.123]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1puS88-006hgC-1n for linux-arm-kernel@lists.infradead.org; Thu, 04 May 2023 06:07:53 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1683180472; x=1714716472; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=+uWE9bBrEsxXvxosuC1tPMiUqN2hS3oJSFdol+Ua8Fk=; b=R2t1REzkkkhlfBb6ThQURmX0N/ifbyD5//nvuy+POw3XWk1aPrKBEk1y XY6LA1xewl5MHVghy0rd63KfhH6Krc9/JgRaENvyljQwsCt9VUeSUdJZk cAMrAzfGluJlySL3hEMBXmkh3u5kYDZSvdMhAdgfX5TDrL3X9olLn6M5H hKDf6UistxQnOq3HMJ3VwZ9+qhAyE+1ZITqGzrkxen9/iMrXTXhtishT/ dUeq8mqm+pjJmxi04aujiI4q5ks8nbRwe1PmIKYLmfjXiaBinvASfPQzy VQWJcroYSqc16gZAS5atTozAiqpAnHpMur/hjM/1ZDTiE/xjY7aYHhrJS A==; X-IronPort-AV: E=Sophos;i="5.99,249,1677567600"; d="scan'208";a="213610345" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa2.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 03 May 2023 23:07:51 -0700 Received: from chn-vm-ex02.mchp-main.com (10.10.85.144) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21; Wed, 3 May 2023 23:07:50 -0700 Received: from m18063-ThinkPad-T460p.mchp-main.com (10.10.115.15) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server id 15.1.2507.21 via Frontend Transport; Wed, 3 May 2023 23:07:46 -0700 From: Claudiu Beznea To: , , , , , CC: , , , , Claudiu Beznea Subject: [PATCH 3/5] ARM: dts: at91: at91sam9n12: witch sckc to new clock bindings Date: Thu, 4 May 2023 09:07:27 +0300 Message-ID: <20230504060729.689579-4-claudiu.beznea@microchip.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230504060729.689579-1-claudiu.beznea@microchip.com> References: <20230504060729.689579-1-claudiu.beznea@microchip.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230503_230752_651960_670E7871 X-CRM114-Status: UNSURE ( 9.79 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Switch slow clock controller to new clock bindings. Signed-off-by: Claudiu Beznea --- arch/arm/boot/dts/at91sam9n12.dtsi | 23 +++-------------------- 1 file changed, 3 insertions(+), 20 deletions(-) diff --git a/arch/arm/boot/dts/at91sam9n12.dtsi b/arch/arm/boot/dts/at91sam9n12.dtsi index c2e7460fb7ff..0e28101b26bf 100644 --- a/arch/arm/boot/dts/at91sam9n12.dtsi +++ b/arch/arm/boot/dts/at91sam9n12.dtsi @@ -146,28 +146,11 @@ shdwc@fffffe10 { clocks = <&clk32k>; }; - sckc@fffffe50 { + clk32k: clock-controller@fffffe50 { compatible = "atmel,at91sam9x5-sckc"; reg = <0xfffffe50 0x4>; - - slow_osc: slow_osc { - compatible = "atmel,at91sam9x5-clk-slow-osc"; - #clock-cells = <0>; - clocks = <&slow_xtal>; - }; - - slow_rc_osc: slow_rc_osc { - compatible = "atmel,at91sam9x5-clk-slow-rc-osc"; - #clock-cells = <0>; - clock-frequency = <32768>; - clock-accuracy = <50000000>; - }; - - clk32k: slck { - compatible = "atmel,at91sam9x5-clk-slow"; - #clock-cells = <0>; - clocks = <&slow_rc_osc>, <&slow_osc>; - }; + clocks = <&slow_xtal>; + #clock-cells = <0>; }; mmc0: mmc@f0008000 {