From patchwork Wed Jul 3 10:28:34 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Varshini Rajendran X-Patchwork-Id: 809636 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.154.123]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E72561741F0; Wed, 3 Jul 2024 10:29:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=68.232.154.123 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720002577; cv=none; b=Fsi55pmko+nR/CuMinPg8U3hshn2fLLwt3afX1PUa1Iup4AQ3Zk9EtF2f7Tww2Vj5hgRNOup9gBAZtcgdIQWar1qeLFX8WjNJVsG5xqLntmSf6HFew9Eq1QyQsQZ9lt5RcQwZKpsnW07+Andm41IgrK2LwEBaHO2lpAq7Bzrdn8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720002577; c=relaxed/simple; bh=2rxZwmpesmt4gYw7ZgNbsdv6cjopR4CadPApkuByy7M=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=oP1KpNPCArmZVfDvPM6cR9PFGdEwhbbusdPCVh1DAXhazntoN580HUvnaZObtuExrq0lhqUIG3pj+ElXkidxhuIlk8BCzPWdHmN1Q5FyqHqL054QiQG7Ibv+KKy62pxZAtBlFI6ytyD2nBINaXIYoDUGYrtTIP3bEIsYFJdw0s0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=microchip.com; spf=fail smtp.mailfrom=microchip.com; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b=rRHx6x6L; arc=none smtp.client-ip=68.232.154.123 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=microchip.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=microchip.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="rRHx6x6L" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1720002576; x=1751538576; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=2rxZwmpesmt4gYw7ZgNbsdv6cjopR4CadPApkuByy7M=; b=rRHx6x6Lp4PHaqckxBUUZOW98cKUltBvGi3fF2X8DyyZxvd8eEprvpyT MSCDTPvwFjjw8bsJWVP9axtv/RvCRAKxXT3wV0hIl/GE+w/Ob+w4+7bpt WMpLahmNmbP6Xbd587lv+O4OtGCCHX8fQ+t0FEPKf1jth/R3mZvjba3Ea 2FzAbRwihX0z2wUktJFAeFs2M0qGKODI6uifrds9I2YoYjYnK83js2iQD 1WIOee6DdFvV+zIhVDTPaX/mk83P2+wBExR6rgF6RIKFwLnZTBy3DTVXn VxiOTQCBVOBin3XGx0oE69H2uKiACU2R4n8b1fDLYfnKEIyjBWamvrWXK g==; X-CSE-ConnectionGUID: JwvaHmRMTXaAt14ps6TIkA== X-CSE-MsgGUID: /JArwzt0QaSX4MdAWneEAA== X-IronPort-AV: E=Sophos;i="6.09,181,1716274800"; d="scan'208";a="29441553" 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; 03 Jul 2024 03:29:35 -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; Wed, 3 Jul 2024 03:28:43 -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; Wed, 3 Jul 2024 03:28:38 -0700 From: Varshini Rajendran To: , , , , , , CC: , Sebastian Reichel Subject: [PATCH v5 18/27] power: reset: at91-poweroff: lookup for proper pmc dt node for sam9x7 Date: Wed, 3 Jul 2024 15:58:34 +0530 Message-ID: <20240703102834.196209-1-varshini.rajendran@microchip.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240703102011.193343-1-varshini.rajendran@microchip.com> References: <20240703102011.193343-1-varshini.rajendran@microchip.com> Precedence: bulk X-Mailing-List: linux-pm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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. */ } };