From patchwork Mon May 23 09:24:20 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Claudiu Beznea X-Patchwork-Id: 12858776 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 3A1F2C433F5 for ; Mon, 23 May 2022 10:34:08 +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=gOoJtotyMGUhe2z0sh0dWT+DnUl+hZaCbLxctv0WqPg=; b=GUI4Ht6VzRGBCj F263OVKTfceyD/Q6daVMsJhfzFHitZ2kHD2S8Y3IojT+GsQp4ykupY1M5Ej2t37o3yWF58X/haG5I A1IVxh8KiaWL2hYtMchWcGFt7BaGP0aaBxx0smtbbuBxiyfIjusGJ/YOq2VpUuyaNBtgCopxIApSO cFu7wuAk1wxvE4GrAhVF9FAcrF2P3UbP7puXseDlVgP26toxlnLsASKcvPAG5uSZEJQrZIeGRRr3m Ejcg5d+dxHm4ek0cuh5TchGUIk6D5IGyQtgu1OMUJtykjPLwjIaAu9fCarc+2lABAZLztkslj/z2n c51zGghPH9K7Agr2NUfA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nt5Mp-003HJN-7m; Mon, 23 May 2022 10:32:52 +0000 Received: from esa.microchip.iphmx.com ([68.232.154.123]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nt4Ih-002odU-6K for linux-arm-kernel@lists.infradead.org; Mon, 23 May 2022 09:24:32 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1653297872; x=1684833872; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=VUkgBLrhkA+iDcDS2zwNjexorwYKlm6xKrE/btaTkGg=; b=l9mMLq6Ef2xnxuh3UGoZZYzZ8zpBqW5XB/I3BZNma7NFcGpaxiYXRjJf uPK5gmfbWlQ5dp9B95k9QWh+hpidTkDwU1XsT5gpgM3LmM+iHpMLCBc/s So1m195r7Bq35pXyFgpbj+vYGlwcEOV8lalExB6IN1yoCFzGGJ2AW1yKK 0a6UHRvDj5h6TYpsPU6hVoRFEYXcLxte3IrIK73E/2lR2EEAfG2I0bds7 reKveSRKCWtjeaK691iSRsQ7L/Yn0sbxt9q/qNBSbp88UCagI+djQ7qcL Vt6/8nyF94Ees1biX2RpURlUMGcnyx3yFG0PhFe1ijRak+EQj/ZWQ6apr w==; X-IronPort-AV: E=Sophos;i="5.91,246,1647327600"; d="scan'208";a="157148561" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa4.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 23 May 2022 02:24:30 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) 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.2375.17; Mon, 23 May 2022 02:24:29 -0700 Received: from ROB-ULT-M18063.microchip.com (10.10.115.15) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server id 15.1.2375.17 via Frontend Transport; Mon, 23 May 2022 02:24:27 -0700 From: Claudiu Beznea To: , , CC: , , , , Claudiu Beznea Subject: [PATCH v2 2/3] ARM: at91: pm: use proper compatibles for sam9x60's rtc and rtt Date: Mon, 23 May 2022 12:24:20 +0300 Message-ID: <20220523092421.317345-3-claudiu.beznea@microchip.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220523092421.317345-1-claudiu.beznea@microchip.com> References: <20220523092421.317345-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-20220523_022431_357079_5D85C46F X-CRM114-Status: GOOD ( 11.87 ) 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 Use proper compatible strings for SAM9X60's RTC and RTT IPs. These are necessary for configuring wakeup sources for ULP1 PM mode. Fixes: eaedc0d379da ("ARM: at91: pm: add ULP1 support for SAM9X60") Signed-off-by: Claudiu Beznea --- arch/arm/mach-at91/pm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-at91/pm.c b/arch/arm/mach-at91/pm.c index 4d62f686bd1e..f017b2d1b11e 100644 --- a/arch/arm/mach-at91/pm.c +++ b/arch/arm/mach-at91/pm.c @@ -213,12 +213,12 @@ static const struct of_device_id sama5d2_ws_ids[] = { }; static const struct of_device_id sam9x60_ws_ids[] = { - { .compatible = "atmel,at91sam9x5-rtc", .data = &ws_info[1] }, + { .compatible = "microchip,sam9x60-rtc", .data = &ws_info[1] }, { .compatible = "atmel,at91rm9200-ohci", .data = &ws_info[2] }, { .compatible = "usb-ohci", .data = &ws_info[2] }, { .compatible = "atmel,at91sam9g45-ehci", .data = &ws_info[2] }, { .compatible = "usb-ehci", .data = &ws_info[2] }, - { .compatible = "atmel,at91sam9260-rtt", .data = &ws_info[4] }, + { .compatible = "microchip,sam9x60-rtt", .data = &ws_info[4] }, { .compatible = "cdns,sam9x60-macb", .data = &ws_info[5] }, { /* sentinel */ } };