From patchwork Tue Sep 3 06:42:59 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Varshini Rajendran X-Patchwork-Id: 13788108 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 278F8CD342C for ; Tue, 3 Sep 2024 06:47:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Type: Content-Transfer-Encoding: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=+kH353pO3ESWIoKs/ILVM/MTG1KBTWb6lhNOLioCjII=; b=qEaxDGug2AZIKpWN1StjcfRblx zt8TpPKZ3adP4BUVu9aiZJgtKggPtsb8ZloL+EdH8g+Mc6I/ma1yTSGOrz0cViOvT7JlCNLBJY1Vk GvP3k0wQ9ANFQ8cNpoQzhgrBve0E8gut05m4PBf2By9bqAD0tvwiYZrSzln+iYiU4ucJI7MnUkH4r H6Fdsjl3b8g8LJGt7P3f61WI+rHy5FaLUy3Tu25VBthv1GcEhNpRnWrYKRN+GmSanVNjAPK2dTtgb Ad8CzTT1+pHtWhLlOoGUjABwLtzscjuDUhKJL6GNY9obvWKO/moQxEqQRDdiTsJsQlbybJyHtvy1K PhPidt9g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1slNKA-0000000GWVQ-1Zfl; Tue, 03 Sep 2024 06:47:34 +0000 Received: from esa.microchip.iphmx.com ([68.232.154.123]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1slNGH-0000000GVUx-1nJg for linux-arm-kernel@lists.infradead.org; Tue, 03 Sep 2024 06:43:34 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1725345813; x=1756881813; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=yUcQ0ZEyongp+UxISXeLzvhZd4sbwkjQc1piPm4hlnw=; b=PHSb5u7AvH3gSpoiekjTnNOqjrp6fv0YwbJINADWC3/hcSoyjFXADTm+ TitxWcgRYtVdg3ciKs94f4OecFzHyP4aXYGSTFH8Doe6dq82nGNH0wtrx fnPRy7w3kSGKlp/bX0QL+Xp6K4Y3xGMXXLNaX9S25FW9bm5akTmvPmJnh lwkMaNINtGRiCW3vSYx6xUTIi5vW6PdHcyYuwURlagAldJ66Q1+qTh9n2 7jbDoKdeS3PGD636+fq9zGqTBls/i1LTZiepV7aHbJTUxAiSf4lK0+J9c RLcoSSvzCegP2ciYRn74JupLHloXb2FK+dcqVvSkMy2XT7r3aWBIMVlDf w==; X-CSE-ConnectionGUID: lHuJBXFVRKq7Mozyeyt1yw== X-CSE-MsgGUID: /VwWH80ATamRRbsNGBBXvw== X-IronPort-AV: E=Sophos;i="6.10,197,1719903600"; d="scan'208";a="31877377" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa2.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 02 Sep 2024 23:43:32 -0700 Received: from chn-vm-ex01.mchp-main.com (10.10.85.143) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Mon, 2 Sep 2024 23:43:03 -0700 Received: from che-lt-i67070.microchip.com (10.10.85.11) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server id 15.1.2507.35 via Frontend Transport; Mon, 2 Sep 2024 23:43:00 -0700 From: Varshini Rajendran To: , , , , , , CC: , Sebastian Reichel Subject: [PATCH v7 05/12] power: reset: at91-poweroff: lookup for proper pmc dt node for sam9x7 Date: Tue, 3 Sep 2024 12:12:59 +0530 Message-ID: <20240903064259.49580-1-varshini.rajendran@microchip.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240903063913.48307-1-varshini.rajendran@microchip.com> References: <20240903063913.48307-1-varshini.rajendran@microchip.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240902_234333_555187_D3F13471 X-CRM114-Status: GOOD ( 10.19 ) 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 Reviewed-by: Claudiu Beznea --- 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 959ce0dbe91d..2121d7e74e12 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. */ } };