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: 707871 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 D8E38C0015E for ; Fri, 28 Jul 2023 10:32:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235895AbjG1Kck (ORCPT ); Fri, 28 Jul 2023 06:32:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58554 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234370AbjG1Kc2 (ORCPT ); Fri, 28 Jul 2023 06:32:28 -0400 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0C6343A85; Fri, 28 Jul 2023 03:30:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1690540237; x=1722076237; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=FQaqOrc0da577LMZqP/Fi64MeTY0WzHny0EnnioIJsQ=; b=C2SizrP5ad1fPkX36xU4ACt+NclV9/YB4vO93HfrFhrSRO0hbVuqcfwH FLs4PIWnWOIbBDSk6wB37tetLG4nU1yc2ozCDkmvBXCPcroxI/j2yLzIg bPhS8F1oFs5FX6YpeW1ITI0sHrdiOH7+UZS6IifEAcoQzpF4+HXeLMbof EbZHlk0MVRoG5XuZhfntMVjmi/FVyxLt1NAqLz35XsyYJQ/XG6GQjemeO Plfik30Z7tMSQItBdzPitf8OR2zY29Bm2lEtw0DTVt2zGhYcL9Huo0vFV IBet4G9fPxL+UXxC+WwOZNIbq22K7Hjp7BXnTv+b55tSL6qUJuimTBKSf A==; 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 Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.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. */ } };