From nobody Thu May 7 20:07:31 2026 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 42B5FC433F5 for ; Thu, 19 May 2022 10:35:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235510AbiESKfB (ORCPT ); Thu, 19 May 2022 06:35:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57882 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229773AbiESKe6 (ORCPT ); Thu, 19 May 2022 06:34:58 -0400 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E3E55579A4 for ; Thu, 19 May 2022 03:34:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1652956498; x=1684492498; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=XTGttujMcUg+0VmQSASdxmBA6ZgRvaya7ou+Hajd/cE=; b=P/fF2g1rZbnpct2l/Iv5/Mkchff80PaSCYSGLD2CebxRZnmiy+uq8ziC bTtdeFCmPyWoNp6hemLTN6DDtsp542lk8lMyR7IXe293SrihfMJ7i8FPl XoUbg7uOtAo2FSSXTe0qxcOghJkUNn2VlLGKhH6HwVf3sLVSoj8hnFK4H qIrzHTinnoDcZyBEmsClXfP8EDkaGle6+cCAuVTgIQMFBq78FVW23Fol2 AIJUcMxjTHy1VxipblMYY5Bt3xz8zZa7PRUQ6SROE7BZk6ac1janhIyNC VXYhV7XLro9Q5kGg4lK4HyGafF6LyAcvWePeLBH6uJbyHvKPYKEk5CUMg 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 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" 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[] =3D= { }; =20 static const struct of_device_id sam9x60_ws_ids[] =3D { - { .compatible =3D "atmel,at91sam9x5-rtc", .data =3D &ws_info[1] }, + { .compatible =3D "microchip,sam9x60-rtc", .data =3D &ws_info[1] }, { .compatible =3D "atmel,at91rm9200-ohci", .data =3D &ws_info[2] }, { .compatible =3D "usb-ohci", .data =3D &ws_info[2] }, { .compatible =3D "atmel,at91sam9g45-ehci", .data =3D &ws_info[2] }, { .compatible =3D "usb-ehci", .data =3D &ws_info[2] }, - { .compatible =3D "atmel,at91sam9260-rtt", .data =3D &ws_info[4] }, + { .compatible =3D "microchip,sam9x60-rtt", .data =3D &ws_info[4] }, { .compatible =3D "cdns,sam9x60-macb", .data =3D &ws_info[5] }, { /* sentinel */ } }; --=20 2.34.1 From nobody Thu May 7 20:07:31 2026 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 24BFDC433F5 for ; Thu, 19 May 2022 10:35:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236692AbiESKfI (ORCPT ); Thu, 19 May 2022 06:35:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57898 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235082AbiESKfA (ORCPT ); Thu, 19 May 2022 06:35:00 -0400 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.154.123]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 98AAE56C0C for ; Thu, 19 May 2022 03:34:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1652956499; x=1684492499; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=p57Ut2L6u01tCEbQ/RaTpm78IalnjISpk6Qt19rYuZg=; b=fwQp90I8rk34XVmjQ0hnhtrcj9Ho1T8EqD9PKKNy0yoe7saDreHP/Rm3 hc9kr0qEWZKmTt5uh5yvVhcKk3QpSoz4wa++yuYHVtMV1nYLt2zb2rUlP /3W6o6ow4wcbj/pGEA9FfmpUlDJWuLuii1rLulCVFjvwyJlR683vRk1VS +hsH6oMLiSepiyHeb/F+Caw2gf1q6g7B1nfyXpNgZvyi2IbMlWAhoUbKI zAhBxWREg1D77ZvonwLmDNEJYUpQpd5Q/khhcqeRR0HuV7wr4esS1Ihl3 L6y2ct3i7zRj3n4/68RHn77uKGB+KUzGrClzVD3XF21p6RtsJWpUaM1+B Q==; 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 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" 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[] =3D= { }; =20 static const struct of_device_id sama7g5_ws_ids[] =3D { - { .compatible =3D "atmel,at91sam9x5-rtc", .data =3D &ws_info[1] }, + { .compatible =3D "microchip,sama7g5-rtc", .data =3D &ws_info[1] }, { .compatible =3D "microchip,sama7g5-ohci", .data =3D &ws_info[2] }, { .compatible =3D "usb-ohci", .data =3D &ws_info[2] }, { .compatible =3D "atmel,at91sam9g45-ehci", .data =3D &ws_info[2] }, { .compatible =3D "usb-ehci", .data =3D &ws_info[2] }, { .compatible =3D "microchip,sama7g5-sdhci", .data =3D &ws_info[3] }, - { .compatible =3D "atmel,at91sam9260-rtt", .data =3D &ws_info[4] }, + { .compatible =3D "microchip,sama7g5-rtt", .data =3D &ws_info[4] }, { /* sentinel */ } }; =20 --=20 2.34.1