From patchwork Fri Jun 23 20:30:49 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Varshini Rajendran X-Patchwork-Id: 112292 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp6039508vqr; Fri, 23 Jun 2023 14:04:47 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5TnUfQcM+uboCY6x/uUYoLVPo/41BS17OqF85q+E5wGdXX+inKjl8q1ZvARe8kt00ijSZk X-Received: by 2002:a05:6a20:4299:b0:121:d74e:8b46 with SMTP id o25-20020a056a20429900b00121d74e8b46mr13196048pzj.55.1687554287397; Fri, 23 Jun 2023 14:04:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687554287; cv=none; d=google.com; s=arc-20160816; b=Xm6MD1Nf1wkGazJFUCXk9xg+HaZNvIi1I/iS2GLnJBhpr7iS9taRiq0mTMKx2zlmFS 0Ub+YLm7yfLedN3duJh/KHku9r2EW+0i1ROKpz4thI8uiSH50elwhwXus+wl8+bR17No yDynL+PdnBLGlIVlPdKVEE9ebbqRv6DYN6lcoy1EfANLaID2JgcMqKB6E4tTMYxSWEWX miHS7HD9QPWf7geXH8DUdgKoS8O43PxZ5i9Su6S1ZbmmhDW7ZvLqzQ4f9X1dqvxuUTt/ incq+cp/IYk08pvT9L6EAGBvNnjhd4pnUMz6qGyy1DoQp9q7DwqhSh52mtSGIDn9CdZs 6LFw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=xs/iqBBEHUNhN8oykbtnYWMaHPlfLJfOSBaLVA+C47w=; b=P76WtSZPkevn52bhcSgLkwQ2zAhgnx0M3/PgoeIpLeJRxoizxKDOcoTI44ZxYSDOsO 7OH7EIdCCrV1eoGat9Phqfh8pzTKFi4UAETuGlR9Q2JI3ZBhRUp6iJxCWXn7aDBQXL89 paI9436Nt7GVuppoLrh5fgrEUyNf1jHgshcexsXZxdpAWGeWa6RhtEadssiYvZxxmg4V kv9R4BnMtvShxpPgUYlKNuJnx8s32tYL5CMCsaEK/k9Ba8BvKocist19K8vA5Op4MTFv 9B2FJWN84A/Cb6Wm6SUMr8eI7onnxEucs6iE3e19SgjFOwUgv+tIdcz7Uz9h5KuNQMSI YPHQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=kCeYn25t; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p2-20020aa79e82000000b006667a4ebfa8si9687669pfq.336.2023.06.23.14.04.34; Fri, 23 Jun 2023 14:04:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=kCeYn25t; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232775AbjFWUxA (ORCPT + 99 others); Fri, 23 Jun 2023 16:53:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36790 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231547AbjFWUwk (ORCPT ); Fri, 23 Jun 2023 16:52:40 -0400 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 777CD46B9; Fri, 23 Jun 2023 13:50:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1687553454; x=1719089454; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=FQaqOrc0da577LMZqP/Fi64MeTY0WzHny0EnnioIJsQ=; b=kCeYn25tXoEN0+0UJA1WPcKQNDXCLQg4CJO3eNxx1qdP7n9T2QbXgnUG Aczs+C4ZdZPBygDqfynpwDCnQjRVEPIW5zIAiPBaVSB71YOwZMvKlmELR 8GP0WVn89G7/Nd3sXcV/MxVCx/CfvQ0mJg9F+qisT+vW20ZBa3Tb+LZhl Mxz2LPzWXEIWR+NJAhIA/zFBmRMhmT/ZUW/7o19PQbzmcTdYLBoPYTFsO fe7zrk2LzI8pbAhvsMKYcmpWiDncWxuuhJ4r5o8u+UCl+XkjSIIIfyLNQ 6EX4wJg+pyeHSdmRfhFRghfS9dP3gSQSMV0LhrfghPsXvOGQ8b4MWh90P Q==; X-IronPort-AV: E=Sophos;i="6.01,153,1684825200"; d="scan'208";a="231891639" 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/AES256-SHA256; 23 Jun 2023 13:50:16 -0700 Received: from chn-vm-ex04.mchp-main.com (10.10.85.152) 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.21; Fri, 23 Jun 2023 13:49:59 -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; Fri, 23 Jun 2023 13:49:30 -0700 From: Varshini Rajendran To: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , CC: , , , , , , Subject: [PATCH v2 38/45] power: reset: at91-poweroff: lookup for proper pmc dt node for sam9x7 Date: Sat, 24 Jun 2023 02:00:49 +0530 Message-ID: <20230623203056.689705-39-varshini.rajendran@microchip.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230623203056.689705-1-varshini.rajendran@microchip.com> References: <20230623203056.689705-1-varshini.rajendran@microchip.com> MIME-Version: 1.0 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_PASS,SPF_NONE,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1769528924547884721?= X-GMAIL-MSGID: =?utf-8?q?1769528924547884721?= 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. */ } };