From patchwork Thu May 19 10:37:23 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Claudiu Beznea X-Patchwork-Id: 12854776 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 9E244C433F5 for ; Thu, 19 May 2022 10:36:23 +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=stuuuC2Zc7pFTSiVZMhj2uJtosa3OFkdGKyf1BwqUME=; b=3tojGKlfJdpew6 58mUM5VY1v14fy1aSNht+zJLan04xTEbg8On2sVEQsQBzOX56yQFbuMupjCEOLvkt0XqI0SD1nLss plvZTegNYnnPM+mTHUgFuJZfc2qJBwv4+8XUeKOtSzSv2vOir8grIMKCgHyECS7v35ze55DcDYIwF fpbrQEF2T+vuXmj/X5hh3fnBo81rR/2J+8X5c8ZFbLmykRuToaLnhkRkIfiNca6ZfcIeGxV2U2bv7 vIsvaMhwl9BDq2ubTj1EEKSnbGix65D7aO6GQrRWPbIa4GhKQSWP7Z2/yPygfSFD6GTXZ0xL9hUvC SiqHAv+SU0FHJKdhzVSg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nrdV2-006JYK-CB; Thu, 19 May 2022 10:35:20 +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 1nrdUk-006JSk-6T for linux-arm-kernel@lists.infradead.org; Thu, 19 May 2022 10:35:03 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1652956502; x=1684492502; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=p57Ut2L6u01tCEbQ/RaTpm78IalnjISpk6Qt19rYuZg=; b=Qck/Wd1kHvQMcowO95YZGPS8C8DBvs5399t067H8ew2e9H0j+5EAQ6qk Hp+vahk0l+m4pClEL3avOZK/ZPgXdR38owgHcOEot/gz3v/4KtUeBBrEl UjFzIqPL9tZDDqEJDm2hf2EQbRcEisYGibHbXHJcukxXNhvAWPmDyMS4/ uEphx6NSMhybNSBZibbGyKpNvivdmcjj1QB0yLW5c4zUx948pj84EEeAX GyvPuKyPmhS0D6icLJ+7Eutl85nppP6eo8Uue59Ucr/FybXZWEtFNO8Yb MnPmaTdc/KBENsVabyH7o6LXSNH4qW782HkLZ/H/A94DNfkJwzM0iFmNj g==; X-IronPort-AV: E=Sophos;i="5.91,237,1647327600"; d="scan'208";a="96447182" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa6.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 19 May 2022 03:34:58 -0700 Received: from chn-vm-ex04.mchp-main.com (10.10.85.152) 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; Thu, 19 May 2022 03:34:58 -0700 Received: from localhost.localdomain (10.10.115.15) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server id 15.1.2375.17 via Frontend Transport; Thu, 19 May 2022 03:34:56 -0700 From: Claudiu Beznea To: , , , , CC: , , Claudiu Beznea Subject: [PATCH 2/2] ARM: at91: pm: use proper compatibles for sama7g5's rtc and rtt Date: Thu, 19 May 2022 13:37:23 +0300 Message-ID: <20220519103723.925800-3-claudiu.beznea@microchip.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20220519103723.925800-1-claudiu.beznea@microchip.com> References: <20220519103723.925800-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-20220519_033502_340408_7B6B34DA X-CRM114-Status: GOOD ( 12.45 ) 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 SAMA7G5's RTC and RTT IPs. These are necessary for configuring wakeup sources for ULP1 PM mode. Fixes: 6501330f9f5e ("ARM: at91: pm: add pm support for SAMA7G5") 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 3161e4467081..ef21701c0876 100644 --- a/arch/arm/mach-at91/pm.c +++ b/arch/arm/mach-at91/pm.c @@ -222,13 +222,13 @@ static const struct of_device_id sam9x60_ws_ids[] = { }; static const struct of_device_id sama7g5_ws_ids[] = { - { .compatible = "atmel,at91sam9x5-rtc", .data = &ws_info[1] }, + { .compatible = "microchip,sama7g5-rtc", .data = &ws_info[1] }, { .compatible = "microchip,sama7g5-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 = "microchip,sama7g5-sdhci", .data = &ws_info[3] }, - { .compatible = "atmel,at91sam9260-rtt", .data = &ws_info[4] }, + { .compatible = "microchip,sama7g5-rtt", .data = &ws_info[4] }, { /* sentinel */ } };