From patchwork Sat Jun 3 20:02:39 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Varshini Rajendran X-Patchwork-Id: 102902 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp1840755vqr; Sat, 3 Jun 2023 13:55:14 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4yQmWr4HUptLN9sbbxT3Sv52fAJ3vG1FZdk7xq1VRL6to/nAaycTIYumnEMIw9YOjqzi37 X-Received: by 2002:a05:6808:185:b0:398:596d:69da with SMTP id w5-20020a056808018500b00398596d69damr3547287oic.22.1685825713822; Sat, 03 Jun 2023 13:55:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685825713; cv=none; d=google.com; s=arc-20160816; b=hyoHRsZTd59yFCjXj+jAdunm7/AiQug8zh/u8lcMJgepqOQZzXXPeuOFuKXhx+Fm4A KJLM+W9IYRFdOkePgy3WBOjTuB7CPirY9N1XyFtWrUXulEf4FNetttpZDl1VDG8qWH5P XWk3i+sZ7FxUA1wDK3v9ihwllOcQpLv/d6fQMX/IiEkdJ77irpxQq07eYiqpb8FYXoS7 68CgM2LXL2U31781owXgPMwP7BMo211MO6E2KXiRoZ2npQ3gVnNl7wDiZPL1cUu5lYxQ MKSpxei+rzzvRUowIEEwWFoDETN6i5lyvFpctnPSO5pkxCeNsrWsZDLaWz80trjmnQN2 5vyg== 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=24YhhMLHXfxx86xtm+4ZrHbzhkmTlgdDOpps2vZDAvI=; b=b1L4RJe4crJMrGUBIZduEUyjY/lsQyvQSrenPJPYc1qj3nxG6lJmBqbcFAkmBt4kUH JbTLC+IVjgPN71Jirg0yrJ+ODZoXc2DEE4M+rQfbE67jBlEe/7LbHkJ9jJvRRKg4svhi N0HUkAXlTNQKZTjKVdYjZfHfEAvPnh+HNCXe+MyrILRqwfYmCV0ApkhNKuu8ow5HBqEL yO7lr0N89bfHxzmT/wXN96bEOQKq3eaGf9ld/y6yqQLje7m0kWUpRXe7FVTHNIb91a8M +EZTs0x+KxkkprxclhHbqZc6CWxYbgTg98AINmdpehs+EubbFV2JqWTTJ4ZxUhCumzG/ ef3w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=rejHNRNu; 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 q16-20020a17090a2e1000b00258d8f6eabdsi3428373pjd.66.2023.06.03.13.55.01; Sat, 03 Jun 2023 13:55:13 -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=rejHNRNu; 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 S232019AbjFCUJO (ORCPT + 99 others); Sat, 3 Jun 2023 16:09:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52280 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231981AbjFCUIq (ORCPT ); Sat, 3 Jun 2023 16:08:46 -0400 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.154.123]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 209A5E72; Sat, 3 Jun 2023 13:07:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1685822876; x=1717358876; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=I/f1jUObFYFCHIeGN6WM/0hia6nhdguPMCI/ZjYAFVo=; b=rejHNRNuFgMzZpl1+RRg417UgHmrftDhw5UdMN6tH6xPUKXWVb5LMmhL QBTeHEGQvi74/z1qT3tVfkTg1OTrpyOQECSUKfZ0rVpY4sObOxhOp7SrA y+nMPqViIqTgwckNiEgz+oDsYhGOsrMEx9jvuP9gmt5EuqW6YRIIEycZp ILhEt1kiZpaKHGSIdUwnPFwQW+po7oXHFamNh6XNPZ8Spdc+ZJH+ZAL7H jZ6tB5Y97INhrP/mfqEzvLKNx2GiXyJKP4A+sGANdThrm5TEP16XhCrdP iqYgr9iHgU6ZgOwaoA5TKTrbGnxNiKqAwN38KqNpYbgB5K8xT5MrYJecs g==; X-IronPort-AV: E=Sophos;i="6.00,216,1681196400"; d="scan'208";a="155388408" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa6.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 03 Jun 2023 13:06:48 -0700 Received: from chn-vm-ex04.mchp-main.com (10.10.85.152) 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.21; Sat, 3 Jun 2023 13:06:48 -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; Sat, 3 Jun 2023 13:06:36 -0700 From: Varshini Rajendran To: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , CC: , , , , , , Subject: [PATCH 17/21] power: reset: at91-poweroff: lookup for proper pmc dt node for sam9x7 Date: Sun, 4 Jun 2023 01:32:39 +0530 Message-ID: <20230603200243.243878-18-varshini.rajendran@microchip.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230603200243.243878-1-varshini.rajendran@microchip.com> References: <20230603200243.243878-1-varshini.rajendran@microchip.com> MIME-Version: 1.0 X-Spam-Status: No, score=-4.6 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?1767716384015213565?= X-GMAIL-MSGID: =?utf-8?q?1767716384015213565?= 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. */ } };