From patchwork Fri Jul 28 10:30:15 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Varshini Rajendran X-Patchwork-Id: 13331683 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 1C5D7C00528 for ; Fri, 28 Jul 2023 10:30:54 +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: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:In-Reply-To:References: List-Owner; bh=d05LmWkrXLjk82EJFqXEpOfzbbimsbOt7QmT1ULAQSE=; b=Gxu2JLgmvyUhNi V8QAEQfpmMdeoBQIKUL3vWUZO59KrgaZOVFxlYQlV+pyffSyL8oIvYcGR4BoxBv6OCkLFZHh3+V/J Ym5slEucwpyeul5XS4DNwRTMyk0AcOVXvpL+eivTKBNcI9Ygtw1MWdSdOJKvvElbfX6pPVUJ+5Gvf R2iqFrejWIilO07BCdhtu4LBhBmcXLm/QhI6Tc5iJh6XPzyK9isSCYpggkFuO4bpfIUlFRAL46m+X qk9VKLJdIsOG2NH3NoxPuyv+VNBisJLH9mGIeKqUM2Ix25DOvAfYHTuM+5b11w1S93x7agT9ynUQ9 dxDVNNSSrVvuGrWNv8Hg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qPKjw-002y0t-0V; Fri, 28 Jul 2023 10:30:32 +0000 Received: from esa.microchip.iphmx.com ([68.232.153.233]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qPKjp-002xyF-0H for linux-arm-kernel@lists.infradead.org; Fri, 28 Jul 2023 10:30:26 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1690540226; x=1722076226; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=FQaqOrc0da577LMZqP/Fi64MeTY0WzHny0EnnioIJsQ=; b=WFdwPvOjF32V08KfsGrLxTvcEOpXPv6uHc7gUov27vYsWywWgYh9riWi Liai7n+ZQQAfbZYmno+q881mFxAZIQE1h9NSBPmReZXGtwZJmjdVZaBqX 30JMXD0svwiAeQsr96gAV0TebNW+GqihI7AtspdC+//FXOGk5NfDF/utS PrR9FK7q/u4Mie71KD8+cWa2m/+FRYYdbVdHsk1g22/aQGu47NrTlwBTB U0IteiLuX8267TZVZjQhy+hPnDq1pdWs1kA+sjvjzcX0uCHZTc4hD5rKE q+sOgUp2oy7lN4/KwpCl1lOFcrM8xxqD/IEmCxRROv1XHEUfK9aTzEOKA w==; X-IronPort-AV: E=Sophos;i="6.01,237,1684825200"; d="scan'208";a="226623559" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa5.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 28 Jul 2023 03:30:25 -0700 Received: from chn-vm-ex01.mchp-main.com (10.10.85.143) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21; Fri, 28 Jul 2023 03:30:22 -0700 Received: from che-lt-i67070.amer.actel.com (10.10.115.15) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server id 15.1.2507.21 via Frontend Transport; Fri, 28 Jul 2023 03:30:19 -0700 From: Varshini Rajendran To: , , , , , , CC: Subject: [PATCH v3 43/50] power: reset: at91-poweroff: lookup for proper pmc dt node for sam9x7 Date: Fri, 28 Jul 2023 16:00:15 +0530 Message-ID: <20230728103015.267490-1-varshini.rajendran@microchip.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230728_033025_129221_99BFDEC6 X-CRM114-Status: UNSURE ( 8.99 ) X-CRM114-Notice: Please train this message. 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 sam9x7 pmc's compatible to lookup for in the SHDWC driver. Signed-off-by: Varshini Rajendran Acked-by: Sebastian Reichel --- drivers/power/reset/at91-sama5d2_shdwc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/power/reset/at91-sama5d2_shdwc.c b/drivers/power/reset/at91-sama5d2_shdwc.c index d8ecffe72f16..d0f29b99f25e 100644 --- a/drivers/power/reset/at91-sama5d2_shdwc.c +++ b/drivers/power/reset/at91-sama5d2_shdwc.c @@ -326,6 +326,7 @@ static const struct of_device_id at91_pmc_ids[] = { { .compatible = "atmel,sama5d2-pmc" }, { .compatible = "microchip,sam9x60-pmc" }, { .compatible = "microchip,sama7g5-pmc" }, + { .compatible = "microchip,sam9x7-pmc" }, { /* Sentinel. */ } };