From patchwork Thu Oct 10 12:04:04 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Varshini Rajendran X-Patchwork-Id: 834435 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) (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 C56F71C32E1; Thu, 10 Oct 2024 12:04:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=68.232.153.233 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728561892; cv=none; b=aCsNTGV8VamME0zgKr9sZI1PmEvdWfKo39tRpkFc0gQlW7plyvh1mNCT0M5y6uzL/yDSpl1aDla2/DgVp7tOwzOVoG/ae7/Yfwkp2U8LpnzPfTxaQI7frT2xs5ig9ppqj+N5zkCOBvK/dOT35EmBzqp68v4WwRKsPMPZrMZ1vTs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728561892; c=relaxed/simple; bh=yUcQ0ZEyongp+UxISXeLzvhZd4sbwkjQc1piPm4hlnw=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=GVCegw9OGAjb9XoerkceXXesVJh/1GRm04SKtzdO74Dsvg1zEptW/aCRcgOdaECLGudYgsfsL28FHpGPrNb+ql4/bq6T9DaWv3CThN2u+LzRJJreOsnxwFYtCMZUxYYUxUnp02d/S0e5K80wRlyDMkApyMVynq3otUpfkgqZ2Ko= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject 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=GkEh6PcB; arc=none smtp.client-ip=68.232.153.233 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=microchip.com Authentication-Results: smtp.subspace.kernel.org; spf=pass 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="GkEh6PcB" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1728561890; x=1760097890; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=yUcQ0ZEyongp+UxISXeLzvhZd4sbwkjQc1piPm4hlnw=; b=GkEh6PcBi9x71wFUIkTlB5ONOzpguZ5FzvwxEBj3jBEFcc0DsEyIYZA9 RFJtRsFIXdqQxh2446zO/xlgrgcIO83kCMESQ/e7mmadqoRusU8oaOlhD D0djJ4/4irRHtWQ6m1y90fYgQ8kIiAylct9xLgFA5UEg9MVjuG9rAv9xW Ct/VefemdqeOrhBhfy08oPnd4J1LkgN6ItVJr+13UAyfQOfnHE1pF8JEo DEwEwMurmoJlGYnFplQScWH5gzbGnsLRHbi7wy6udzak9Ao64Yj0cm1i3 ybDAUxsD3zjcAivzWh/yKwC1HYQdOz3qZ4t22sR0vDBTB++BlbrVtg1wN w==; X-CSE-ConnectionGUID: ZxWAeWSCQ2SoQSSTOPbs1w== X-CSE-MsgGUID: WomuFcCBQmyriIPh3L7eiQ== X-IronPort-AV: E=Sophos;i="6.11,192,1725346800"; d="scan'208";a="36169761" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa1.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 10 Oct 2024 05:04:49 -0700 Received: from chn-vm-ex02.mchp-main.com (10.10.85.144) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Thu, 10 Oct 2024 05:04:09 -0700 Received: from che-lt-i67070.microchip.com (10.10.85.11) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server id 15.1.2507.35 via Frontend Transport; Thu, 10 Oct 2024 05:04:06 -0700 From: Varshini Rajendran To: , , , , , , CC: , Sebastian Reichel Subject: [PATCH v8 2/9] power: reset: at91-poweroff: lookup for proper pmc dt node for sam9x7 Date: Thu, 10 Oct 2024 17:34:04 +0530 Message-ID: <20241010120404.92893-1-varshini.rajendran@microchip.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20241010120142.92057-1-varshini.rajendran@microchip.com> References: <20241010120142.92057-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. */ } }; From patchwork Thu Oct 10 12:04:25 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Varshini Rajendran X-Patchwork-Id: 834434 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) (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 B63451C6F7A; Thu, 10 Oct 2024 12:05:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=68.232.153.233 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728561912; cv=none; b=YJeTHQA2COMFFoyuI2eErEdZRbYfzXqeL1AXv6yoaovn0fw27sMmxqi3fTqj7bAtBSuL0iuCZJKtxv++dnCHXViPTaYzerEPJUdf7yFJFlS80SI2pmA9FYu8joEV3hmt0w2/js340x1KLs9qbmCrhRZL+S4Jg64gl9AQUb7haD4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728561912; c=relaxed/simple; bh=flQEluk5hLljQfPymWhZA5C4pdYlqlYSYYtSaCbnjQ8=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=ftembV5LG80FQCfosmN5Tb2Bp5dvg1wwcA9tHv0ifxSn/gSa6NrUBFQGukXdvzsXrGnMec5+gwzVR92utTHAyzTlIilNImfY88U7E5dWzmBcu1BoRi4rdq0JMeolBx+/O+1GFrjXylSqu+yjAyLeTl29t4n5SrlcW7FiYVDZnEQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject 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=t2uBbRyy; arc=none smtp.client-ip=68.232.153.233 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=microchip.com Authentication-Results: smtp.subspace.kernel.org; spf=pass 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="t2uBbRyy" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1728561910; x=1760097910; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=flQEluk5hLljQfPymWhZA5C4pdYlqlYSYYtSaCbnjQ8=; b=t2uBbRyyRLePpoVF8WTd4itS2En3N+sBvWzgevUrrq/71Swm2IY1VJ9B Z//lBpBZX/0tfaq45REGOfEfHo5wIWjz1jMvhs++Q4NpCCpD51dXRQXKY 1epFAOfQqdYF/GPfCZ84BZxAZmFoO5TMxSMMTwO2fyMmX+lecEXdeO7zb eqLh/dxOvL/bC0R34DKo3oc1udj6iozRlqDcWAaK3M+g/Dvvfrkb7hoEh KtEFek+Pa2BcgL/PBizfgRQRncNLWOjWmv57BUq42utyfXbpvOei50Cpt wFXqtSoWQGraM/LC5jzKlWVFrwnPGqPJ1d2yoHsxhqKyuF6o8yyE+gpej g==; X-CSE-ConnectionGUID: 6vPdQ8NYTmWaYmDn0yd8Nw== X-CSE-MsgGUID: 1WdRkE9yRD6MFDyWMKXKuw== X-IronPort-AV: E=Sophos;i="6.11,192,1725346800"; d="scan'208";a="263902615" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa5.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 10 Oct 2024 05:05:10 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Thu, 10 Oct 2024 05:04:31 -0700 Received: from che-lt-i67070.microchip.com (10.10.85.11) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server id 15.1.2507.35 via Frontend Transport; Thu, 10 Oct 2024 05:04:27 -0700 From: Varshini Rajendran To: , , , , , , , , , , CC: , Krzysztof Kozlowski , Sebastian Reichel Subject: [PATCH v8 6/9] dt-bindings: power: reset: atmel,sama5d2-shdwc: add sam9x7 Date: Thu, 10 Oct 2024 17:34:25 +0530 Message-ID: <20241010120425.93102-1-varshini.rajendran@microchip.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20241010120142.92057-1-varshini.rajendran@microchip.com> References: <20241010120142.92057-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 Add shutdown controller DT bindings. Signed-off-by: Varshini Rajendran Reviewed-by: Krzysztof Kozlowski Acked-by: Sebastian Reichel --- .../devicetree/bindings/power/reset/atmel,sama5d2-shdwc.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/power/reset/atmel,sama5d2-shdwc.yaml b/Documentation/devicetree/bindings/power/reset/atmel,sama5d2-shdwc.yaml index 8c58e12cdb60..0735ceb7c103 100644 --- a/Documentation/devicetree/bindings/power/reset/atmel,sama5d2-shdwc.yaml +++ b/Documentation/devicetree/bindings/power/reset/atmel,sama5d2-shdwc.yaml @@ -22,6 +22,9 @@ properties: - enum: - atmel,sama5d2-shdwc - microchip,sam9x60-shdwc + - items: + - const: microchip,sam9x7-shdwc + - const: microchip,sam9x60-shdwc reg: maxItems: 1