From patchwork Thu May 19 10:37:22 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Claudiu Beznea X-Patchwork-Id: 12854777 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 E333EC433FE 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=eVCGMVmsW4m8R1BKa1LXmLAJvpaDc/nlbQBOJIu8sCU=; b=QRcICbIV2mUSwO BzqmarWR/w2eSOthZZCCRlHVO49YqT3pDcWvdl/R57q71BUeuReQrBFoKt9ZW+S6a83VxxnrgXGlw 6t8gxHPHbaUWmNYL6dYWgYRgK4VD7i6TKksnE6h0NT2fMjcMR3roMLhewN+zKD1Iv8ZcZzk1LKxYK m8/CuALcGkiwlnD5p0TsQj+tQmj0V7ltt2ZjA8gtBvFDtFEdLJdA5RCBQDL13G83Gr/1OoMDE8RyG OA+O5hQ7d+sMMaZcXOk/lfwcJqDp554lGGL5r1X4DjF+wrMxWGp5xnMyWt9h6ESeatD0wc7P9jyNg HbA8sM1526aG09+Kf+Aw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nrdUt-006JWI-VS; Thu, 19 May 2022 10:35:12 +0000 Received: from esa.microchip.iphmx.com ([68.232.153.233]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nrdUh-006JSg-P6 for linux-arm-kernel@lists.infradead.org; Thu, 19 May 2022 10:35:01 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1652956500; x=1684492500; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=XTGttujMcUg+0VmQSASdxmBA6ZgRvaya7ou+Hajd/cE=; b=Bdqx0CFXL2SDVBVnedLd3ElhBbfP+CIV2DlPfAEcK+AQI9P7ZSy/Poyy TQUuMDaff8vGwwd9osjEPIPCJPcvWnaYAaYemCk7GObEwhT0fwKhuKyXv BIZda+F9nu61QT8RjKn91C6Rg30s0qmcX+v0N6v/pGGB8eBq7aGay5NSe PA0/vQX6GPgG7BNOlRFxO2LBJ4nzZNH55Gl65WBzSioxeKj9XGJ2z+OHa tozzc05mrMBGVBuxaM0aR++XOuM3r2oOtvNLNmhSkFvcgvl9qWcD35z6r le0nFB1T/tjI9Yofw0LlRhQvDdx76C5Hde+fcaXJoXOIz1CIbidmBi9KX w==; X-IronPort-AV: E=Sophos;i="5.91,237,1647327600"; d="scan'208";a="164401320" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa5.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 19 May 2022 03:34:57 -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:56 -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:54 -0700 From: Claudiu Beznea To: , , , , CC: , , Claudiu Beznea Subject: [PATCH 1/2] ARM: at91: pm: use proper compatibles for sam9x60's rtc and rtt Date: Thu, 19 May 2022 13:37:22 +0300 Message-ID: <20220519103723.925800-2-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_033459_855049_BE5422BD X-CRM114-Status: GOOD ( 12.46 ) 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 8556c81a3b96..3161e4467081 100644 --- a/arch/arm/mach-at91/pm.c +++ b/arch/arm/mach-at91/pm.c @@ -211,12 +211,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 */ } };