From patchwork Mon May 23 09:24:19 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Claudiu Beznea X-Patchwork-Id: 12858775 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 20425C433EF for ; Mon, 23 May 2022 10:33:33 +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=NUpV5S3+gFqq5gx/mtz2HAj8TCpRIDMUJlCwJYUt/J0=; b=GqnHmOrscX701w aX73M1RwYYTusMRAZq6gibLzO5C+OggJ39zHvM9epaYaL01UsWW/bev5g8JgzeEzeUv9WTEcXlfZ/ dDxOoy4Bket+Vn7OY4lB037bTaqdXmA1V7pJcA0SeZxmqTUDizwhwQBSIb4UOkOGPpDFgcjZlzby5 c41gA15stxq9DWJa2o5Ac8wg4qMpVRVvzDgouDzHTqS85ryWmkUpzyhAl2h0R3IknG4hcMzaO8bkT tmGtC9PuwUq4MSj5AVlIEpJgFucJXMLyg0Hgi82HpMtxgWyH3kbtaE6TNRNE6tPzJDr5sGW+ztQl7 g+J+Da+5LtRWnpC2JS8A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nt5M8-003H0g-5a; Mon, 23 May 2022 10:32:08 +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 1nt4If-002ocD-0y for linux-arm-kernel@lists.infradead.org; Mon, 23 May 2022 09:24:31 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1653297868; x=1684833868; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=trdQsmLNjG1jhgsfTrGbsi0l2B2wJ2HUtbA4xJyo3Jg=; b=fPd6oow0rZB9L8Oycr7MircNZ4evHUI6LcP4eb/oZE2tjT8AM2q6X3vT aEK8cJFTddGGhOr99m1De+9Z1f4H7fDl3VDzjLEOGoDj3eu0Iy5hy837x XASwIKRfqKSYSqGci3KqX6QHcvw8KXh3wYQ+yVe9Qa086pxEjanC+Qdw5 VeXCD37vGlDO7/MuKsiWmZSFYak2XD04NyIM3knSm7PGT3n+t5w/GYwli lgwV9Ueo4kyhNcbMu05c6IRfGwa/0VGgCCEqTBaaGwn7K5xvGuaUrtLBL OEEVD+4zEsilWL7/dyMye0ew/A1e9XaYMWhRGJTaVkcdin/QjRwqDb+t/ g==; X-IronPort-AV: E=Sophos;i="5.91,246,1647327600"; d="scan'208";a="160174298" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa2.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 23 May 2022 02:24:27 -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:26 -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:25 -0700 From: Claudiu Beznea To: , , CC: , , , , Claudiu Beznea Subject: [PATCH v2 1/3] ARM: at91: pm: use proper compatibles for sama5d2's rtc Date: Mon, 23 May 2022 12:24:19 +0300 Message-ID: <20220523092421.317345-2-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_022429_282174_7CBBD627 X-CRM114-Status: GOOD ( 11.68 ) 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 SAMA5D2's RTC IPs. These is necessary for configuring wakeup sources for ULP1 PM mode. Fixes: d7484f5c6b3b ("ARM: at91: pm: configure wakeup sources for ULP1 mode") Signed-off-by: Claudiu Beznea --- arch/arm/mach-at91/pm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-at91/pm.c b/arch/arm/mach-at91/pm.c index b1a43d7bc56c..4d62f686bd1e 100644 --- a/arch/arm/mach-at91/pm.c +++ b/arch/arm/mach-at91/pm.c @@ -202,7 +202,7 @@ static const struct wakeup_source_info ws_info[] = { static const struct of_device_id sama5d2_ws_ids[] = { { .compatible = "atmel,sama5d2-gem", .data = &ws_info[0] }, - { .compatible = "atmel,at91rm9200-rtc", .data = &ws_info[1] }, + { .compatible = "atmel,sama5d2-rtc", .data = &ws_info[1] }, { .compatible = "atmel,sama5d3-udc", .data = &ws_info[2] }, { .compatible = "atmel,at91rm9200-ohci", .data = &ws_info[2] }, { .compatible = "usb-ohci", .data = &ws_info[2] }, 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 */ } }; From patchwork Mon May 23 09:24:21 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Claudiu Beznea X-Patchwork-Id: 12858777 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 43316C433F5 for ; Mon, 23 May 2022 10:34:52 +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=pPsSTmvbD13+KJtjIi8mW/5Lq38WNOYjJN1oNMtgVpo=; b=Y9Bf+9kjvTOqQf Rq30rFj2zp1b/uXtnq69WJxaKDAHKh6JO1D9+s3WD75WuKP2Cn/SXaUdHw/YFZewZpUYfKJxrVb4E lK4ps4ZP4fnto64YNz7YdZ0umR22Q77+e4hlxcC93wLpxxg6Mi6nmAbfT7kWqlpou6DQyXjGMqd8P iU3pWlQ/4fVPpT84CcXM+obYFiN47Lw0xtNyBZ3O12i586K7L6Y63URpiZwP+5Aq7cpq2NYTcf9OJ yjU0o2b/KOEr1B19CeB8BksBq4hKuGCFlg7/rZZUI70MxrEQvtZ11+iHp/SpYqkOmnybeXKeJfYXD hdBe3mJtF+DZxEJIvQvg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nt5NV-003Hcw-AE; Mon, 23 May 2022 10:33:33 +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 1nt4Ii-002oeN-M2 for linux-arm-kernel@lists.infradead.org; Mon, 23 May 2022 09:24:34 +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=aRi/7a46MfYDFlhSMgqEU+HSCfWcSnsmUq9coE4Pa70=; b=JG4/UJhMwmoeuu3KHWVIvFi23mKHXW+YLTzF1BPus8o53zE0wEer6edt cG2eAPBF7Fu9Zw2Uc0KuRuTMFwUNIqbmH5kXfd1Za+ridpzMb2WJcGDUS qm5gTCrVGbVflLsMIbQnAb7tlVnH+PoQmvYUIu9FgQHUg6f0BHGppflV8 Qkj3u4KrqB0Ldhby1zCUor+fozmKzuEgD0IAbkKnSylpKjAM0PxGvJpYZ g6SW3ztpl0+0FDNI8hw2rhO8i8M+o4IStWHjq2Wer53ESPNs+n5cngyae TyoHonZ1poEm4H+WAkPb5SWjSj4K6+Ilf6qNasIr594NKcmZwHnvoNwIU A==; X-IronPort-AV: E=Sophos;i="5.91,246,1647327600"; d="scan'208";a="160174319" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa2.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 23 May 2022 02:24:31 -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:31 -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:29 -0700 From: Claudiu Beznea To: , , CC: , , , , Claudiu Beznea Subject: [PATCH v2 3/3] ARM: at91: pm: use proper compatibles for sama7g5's rtc and rtt Date: Mon, 23 May 2022 12:24:21 +0300 Message-ID: <20220523092421.317345-4-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_022432_843240_F7034D16 X-CRM114-Status: GOOD ( 12.25 ) 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 f017b2d1b11e..826fd56d2a17 100644 --- a/arch/arm/mach-at91/pm.c +++ b/arch/arm/mach-at91/pm.c @@ -224,13 +224,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 */ } };