Message ID | 20240223172920.673110-1-varshini.rajendran@microchip.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-78865-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp736198dyb; Fri, 23 Feb 2024 09:36:00 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXkdwe8uM5XX6SQg2utv3+3e6mbH8XnU4K0Uk4k3riUx3rhrbFLgBItam3ETxyZQxF5VaX9UzaYm4o1/Ca/CGW4lktP9A== X-Google-Smtp-Source: AGHT+IEBV9jtROSHi/+IMntN7jiWdV5YrcDF+QDM9oOdG4COWzOaTG1BRGbLRO4fPMGO4rK2IJW9 X-Received: by 2002:a17:906:3650:b0:a3e:ed41:1403 with SMTP id r16-20020a170906365000b00a3eed411403mr349648ejb.27.1708709760664; Fri, 23 Feb 2024 09:36:00 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708709760; cv=pass; d=google.com; s=arc-20160816; b=GV7Q85D6MBkbl1Efm1Wb1XKhv9ZsKHbCOEcyyur4tBggD44dG8vYi40kOvadUNpxyB N3OcXZ1Y+FjKE/ls3GJiWbR2sOtQDe/DP3oq4FNbDNYDBliK07MZCunsW1QPj6b9Mkhq 0Fx+JpQbNkJu6hZ7OW0OFLpsZImZhnATQb26M8lIgsJJtxNBG5nAxVNe3YirS8JRrCp6 3IRr8W0qDSElpPTdNLi4g26BBRothd8r57pneE8oTlsHHNpuf6BcmE/IsmV7Lkuo+Q9M SZz/ihCBGUK5tWPCNy21+7JHICWdI/vnAv+gWqjCkzJuZqfvdPU1+KmKvI2KWKFLJVrF knJA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=ebsFWgfT1OMApYmiQUXHKAJ0OrGXV42opW0VkhDw+5Y=; fh=0r6hSRHkTcZ4BXBEp4sf3IW0gp9NSb+2y2SneyHkghI=; b=zA7kzt0KihVxUvlQ8WhUAoFLKsMspp/B8PP10zolKLupC6aKz7MGnah6FCvEig6Gj7 VuRMZOhxRnlJOaw2s6RgDNikBRCjki+WZukeQJf9nUYALLSX7V/PlrXWyvT/gap2R2ru sa13yelwGMy24Avs4mPxhHxpaOHYD6hYuZf+MYfMNR3BSRGSlicDf5lhWznsNz0qJKD3 d9UveJ1IdVYqNVdB+DD2pHhqBI9AAhfAHgfMqebQ90Q65XVNyhfveOt5gqIVuFEUvkcK v1L9lWCQqBjqedqhsipOofS8IoooEwY6W20mRHs4xhkVOekkPgEOl7OTZ6im5IdBYt2O 1+Tg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=kCGe1aSY; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-78865-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78865-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id gs34-20020a1709072d2200b00a3ec9d2cdf6si4553569ejc.897.2024.02.23.09.36.00 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Feb 2024 09:36:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-78865-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=kCGe1aSY; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-78865-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78865-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 48A011F2706A for <ouuuleilei@gmail.com>; Fri, 23 Feb 2024 17:36:00 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E9B36142645; Fri, 23 Feb 2024 17:29:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="kCGe1aSY" 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 0CF0E13A27A; Fri, 23 Feb 2024 17:29:46 +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=1708709388; cv=none; b=UVC1M4AXR6bKcEBJBSTyGr9WIjkBI7WY+tDrxs4F+UhFys29woRREV2cnhhB0+wn3WjdBlz1nOIVGCcHSDVQ4o9e4n9Q6KOGVKF4bMhuWe7pt8ddd1i1WogC9/dMaMCOJIu+u5LNUCMKRT8PqDXo4z8Our1rE48zzJHAYb1oYAc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708709388; c=relaxed/simple; bh=BOHqG0GWcKQryXK68I6exwoU2y91ziB8iSjql748Vds=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=LKJPUjPwnWndMSFm2tVp2nULWsihH8N0BEtoDfTnBtD5qn8ROb/pAx+Zh1ajjT/QzmS5e8cbKE1H7t4/1Di2kmdNcrqnCzjDWwgt7fct+ehfSQVbF5XxzKRsZl5SDS1KdXtV2JWZ5bS/+Aiexj4kqy+PO5HuQgVEteudGa0bkNI= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=microchip.com; spf=pass smtp.mailfrom=microchip.com; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b=kCGe1aSY; arc=none smtp.client-ip=68.232.154.123 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=microchip.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=microchip.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1708709386; x=1740245386; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=BOHqG0GWcKQryXK68I6exwoU2y91ziB8iSjql748Vds=; b=kCGe1aSYCJg9FELiOpvdG+VObr2AAICf2hYkiXtitsFSC+NrcL+O8qvK aWfrsMqxcq72t4OM9OhzDa2vMAPVrCZdzWHlrk7XqF4YrTE0GEWEGh+le CV2Xgc++X5z9ixH8PWgJbyHxL7G37MCBYpM1fjfczB8eVAYPkVMFFmX48 rB9veNeMKRrMWs9H2j6OvctAN2Ypd9BohLYFcyEjgP64oUNQTd41d+GX/ 5NNldxW720up8Xw6kN88scEDWY2VlAGi+37NQ9fsQo0TUT+Gky2BtMpoB QSxWGJo0+XPky4WK2K6R+kveOnFjzImKAyrFbvD8bF5JvKcbKD1jw+lh5 g==; X-CSE-ConnectionGUID: 1v1xXS/WQem3kNt4sZEp+Q== X-CSE-MsgGUID: iCWeUo6GQzaApSGLQsrYDQ== X-IronPort-AV: E=Sophos;i="6.06,180,1705388400"; d="scan'208";a="16736102" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa4.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 23 Feb 2024 10:29:45 -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; Fri, 23 Feb 2024 10:29:36 -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; Fri, 23 Feb 2024 10:29:32 -0700 From: Varshini Rajendran <varshini.rajendran@microchip.com> To: <claudiu.beznea@tuxon.dev>, <sre@kernel.org>, <nicolas.ferre@microchip.com>, <alexandre.belloni@bootlin.com>, <linux-pm@vger.kernel.org>, <linux-arm-kernel@lists.infradead.org>, <linux-kernel@vger.kernel.org> CC: <varshini.rajendran@microchip.com>, Sebastian Reichel <sebastian.reichel@collabora.com> Subject: [PATCH v4 30/39] power: reset: at91-poweroff: lookup for proper pmc dt node for sam9x7 Date: Fri, 23 Feb 2024 22:59:20 +0530 Message-ID: <20240223172920.673110-1-varshini.rajendran@microchip.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240223171342.669133-1-varshini.rajendran@microchip.com> References: <20240223171342.669133-1-varshini.rajendran@microchip.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791712046017894754 X-GMAIL-MSGID: 1791712046017894754 |
Series |
Add support for sam9x7 SoC family
|
|
Commit Message
Varshini Rajendran
Feb. 23, 2024, 5:29 p.m. UTC
Use sam9x7 pmc's compatible to lookup for in the SHDWC driver. Signed-off-by: Varshini Rajendran <varshini.rajendran@microchip.com> Acked-by: Sebastian Reichel <sebastian.reichel@collabora.com> --- Changes in v4: - Updated Acked-by tag --- drivers/power/reset/at91-sama5d2_shdwc.c | 1 + 1 file changed, 1 insertion(+)
Comments
On 23.02.2024 19:29, Varshini Rajendran wrote: > Use sam9x7 pmc's compatible to lookup for in the SHDWC driver. > > Signed-off-by: Varshini Rajendran <varshini.rajendran@microchip.com> > Acked-by: Sebastian Reichel <sebastian.reichel@collabora.com> > --- > Changes in v4: > - Updated Acked-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" }, Maybe would be better to add a phandle in DT instead of continuing populating this array. But then the backward compatibility should be preserved. I leave this to Sebastian. > { /* Sentinel. */ } > }; >
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. */ } };