From patchwork Mon Jul 29 07:08:37 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Varshini Rajendran X-Patchwork-Id: 13744465 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 C9B32C3DA61 for ; Mon, 29 Jul 2024 07:14:12 +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=kF7y0r5FS8/j84wBv9nMcd7eCaU1AemIYvQvzMo3bbc=; b=kzTmGj5TMO9iMbX6dN6N49xjSw 0DCGE86xdvKv8hzlT+ZTAPea9HQBFW8qWbnw++qrbp8I7pSAM6x/1ODfJgy4k21tXll+kgQvrpej4 /hdhMC3ccq/uzNUap2dNy3Tir0TLID+OO6mQEekVePMaG44v9O7AV2uS5yeBycFxHXSoEN06Q6OYh qY0GExtY3zvxXf4Ilw9Y0kxfko/T2mYaEep7+7HMC4Ry7fakg0UjsxsHiwnEiF8LwjpnyDfQ44d1T xecflhId60Rt1gsXCAuzSji45yRBbUT54RTW2VsxUlTr3sPw2bp/BBYAVLBVM7XPHDENCI1sxhken jxjcrqOQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sYKa1-0000000AIgQ-3P6h; Mon, 29 Jul 2024 07:14:01 +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 1sYKVG-0000000AGrY-2hk4 for linux-arm-kernel@lists.infradead.org; Mon, 29 Jul 2024 07:09:08 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1722236946; x=1753772946; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=BzTEA3Dxexi8rFU4MfxSYMVtXqlXc7ZjRgdonvqmmtc=; b=n+JKt2WPLoZfZW1+CZi988vc9nvMfGYCgAdMID5lPoyU7tx/RgHuOd6E OfWEnMo9zEmyTNkAQGJtSPH+w9BVs2/8dxPc6g4sAGNlYK3rYpKPy//x3 l2mz5v6SpzWwgKRhkKDb6m8q/b8ykvlviG+aAiqlUUJe5Yuk+nbctyVDT ueSlnXepkPEwByaMxptqIUo9jGzFESj2u+2/dWcs6jXUVTsM8izz28BWO cCWNsidZA4cnRnELRemnmudqRvE9X1e2v2x6U/OqVMOm+c1Bouj4z9+KI TS3Cql/m8zT8GJfY9GWeGuhn7Pdwpd8Me+4bjv93c5R9q1Hx1ASLsQCan Q==; X-CSE-ConnectionGUID: /xcbkqlfTo+UjYKU1jzHkw== X-CSE-MsgGUID: UkTiYLO8SHGFs+FxkMGR9Q== X-IronPort-AV: E=Sophos;i="6.09,245,1716274800"; d="scan'208";a="30454161" 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; 29 Jul 2024 00:09:04 -0700 Received: from chn-vm-ex01.mchp-main.com (10.10.85.143) 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.35; Mon, 29 Jul 2024 00:08:42 -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, 29 Jul 2024 00:08:39 -0700 From: Varshini Rajendran To: , , , , , , CC: , Sebastian Reichel Subject: [PATCH v6 18/27] power: reset: at91-poweroff: lookup for proper pmc dt node for sam9x7 Date: Mon, 29 Jul 2024 12:38:37 +0530 Message-ID: <20240729070837.1991113-1-varshini.rajendran@microchip.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240729065603.1986074-1-varshini.rajendran@microchip.com> References: <20240729065603.1986074-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-20240729_000906_777246_D2116F2E X-CRM114-Status: GOOD ( 10.04 ) 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 --- Changes in v6: - Updated Reviewed-by tag --- 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. */ } };