From patchwork Sat Jun 3 20:02:39 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Varshini Rajendran X-Patchwork-Id: 13266349 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 AFA31C77B73 for ; Sat, 3 Jun 2023 20:07:19 +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=IN3xTnsE5S9+b7g5HMlK29dNZ7L7Ehalgr1nhPB0DGE=; b=oGV8SGxJjsY4B0 LBwJaLINY2YJRc6QtOTCCHzdTxrEW6a/iynsPRfoqRgiHv6V203/9Qny2eG55/orWFe2tz6jpQ/La BngmxFGNFgKTnRHmkGDAzrk7m7O8apN24eduBNEOfnCXpk3YOCumXo6PeVFcZmvcF4BEX1Yh9MTSb vApvbF6UvTYv+ZztiEx3YYZ4jtY6m4hurFmoqNSQRj2PSWbPGtrBpNT/v/BKH6T8Wkhh46H67rG70 nQ5w7aAv61oiAHiBl7mFrEFtUxOvI2Qk9sN8bxHp7JOeheUEzmMchDtVO5xwoW/UNv+CEW4g5T2Qr uxlA+TEpuPtm5LWbQzJw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1q5XWX-00AToE-0E; Sat, 03 Jun 2023 20:06:53 +0000 Received: from esa.microchip.iphmx.com ([68.232.154.123]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1q5XWU-00ATn2-01 for linux-arm-kernel@lists.infradead.org; Sat, 03 Jun 2023 20:06:51 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1685822809; x=1717358809; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=I/f1jUObFYFCHIeGN6WM/0hia6nhdguPMCI/ZjYAFVo=; b=L/JTdNYpSqoxb07Ze0pwh3DhaTC4GoLnTsx4Wmg3tXUFz9rO4OTXf0LH UhMleD2HjkuxNDtSoMz7ZsJr0HjxWsRO7XcNkASYrU1f7CxqUjmREMROJ 4Bta+zo5Yh4A9q1EJO1mF4tMwi6ZsL6X6V49rCgRpoWL+0ZuVFcH2jV4J SHeJvhDwft+luANaI3nd6AHzme8+fdptGCGQgunmyQE+/eRvWshNEo2VD H30m5mLXKUMeryT8aA4aPqm19W55FPsl3OJQwzCjq9vkb7Gy3UCKxnqql gEWN578gHvKhmQpY4iREcoYdZCb3Z76x+AokvPppu9Svb3qOv5PnPlqxt Q==; X-IronPort-AV: E=Sophos;i="6.00,216,1681196400"; d="scan'208";a="155388408" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa6.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 03 Jun 2023 13:06:48 -0700 Received: from chn-vm-ex04.mchp-main.com (10.10.85.152) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21; Sat, 3 Jun 2023 13:06:48 -0700 Received: from che-lt-i67070.amer.actel.com (10.10.115.15) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server id 15.1.2507.21 via Frontend Transport; Sat, 3 Jun 2023 13:06:36 -0700 From: Varshini Rajendran To: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , CC: , , , , , , Subject: [PATCH 17/21] power: reset: at91-poweroff: lookup for proper pmc dt node for sam9x7 Date: Sun, 4 Jun 2023 01:32:39 +0530 Message-ID: <20230603200243.243878-18-varshini.rajendran@microchip.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230603200243.243878-1-varshini.rajendran@microchip.com> References: <20230603200243.243878-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-20230603_130650_127174_A5DCB4DE X-CRM114-Status: UNSURE ( 9.54 ) 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 --- 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. */ } };