From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.5 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id BE37AC43217 for ; Fri, 17 Sep 2021 12:07:10 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A360060187 for ; Fri, 17 Sep 2021 12:07:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243680AbhIQMIb (ORCPT ); Fri, 17 Sep 2021 08:08:31 -0400 Received: from esa.microchip.iphmx.com ([68.232.153.233]:65117 "EHLO esa.microchip.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243748AbhIQMIZ (ORCPT ); Fri, 17 Sep 2021 08:08:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1631880423; x=1663416423; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=PAlQz9ImFlO7qIwbUzAgmC9YSfeXGWfelq6OxBy//Dk=; b=uhE3vPNngvS4rl7/6HdNxSba9woRUOFkW9lyPRX6/Slrz3YSYG/qKXjQ btpUNvOGtYf4p1Thf0ZBvUlg9TXo26tjjpJCRHkofVPpLGri8L4wX184J jhYeieH+aD6Jp721acvhYqjPDLlouhGPIoPHjc+cfL4K+cg3WffZxebqd IGox02fbQ9EhMM+cwB6ECZC/yeypBgI+Di0iDLWGf3o/Von2UUBGIlxYq xCbuFOUfO4ZHiOTVK/U5BOf0TDOXgK0A11r6bxCzVDioECwWZtPdf9VuP 3GRxLqDLb+UU6j+MbNGODO2zaojAUEdu+2bslSfK29F+hSQQA91dYdSoM A==; IronPort-SDR: OfW4gaP0yYZgnYd2lbt6AVqaR39Cx2gppz92G3HhE/Vjdgpd1cPCUTXCtJQFV4iES3nu/UVnPF tJNUr9wJHofktGcYKZwDYIDyqv2Dopg4L8KRNdtppZVHZ/5m4ARyryus/lQrx0PGPoURhJY1jC Mi3rDhheMqFiWdw+tl35/azWcy4hfb2BJz7OYO/ZieoXFUBE+voD6qWj5fnrBSjk4y1YgktC43 e75D649p/Nqdc2xlhu5Gx0CpIZ4EFe4zbipCQY1fOXg/NPoHBsT+v8FWy3wAtyBNSaeEfFf1k6 t3I1vFoKiZL7Nmn3EHvQnj8m X-IronPort-AV: E=Sophos;i="5.85,301,1624345200"; d="scan'208";a="144535323" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa1.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 17 Sep 2021 05:07:02 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) 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.2176.14; Fri, 17 Sep 2021 05:07:00 -0700 Received: from rob-dk-mpu01.microchip.com (10.10.115.15) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server id 15.1.2176.14 via Frontend Transport; Fri, 17 Sep 2021 05:06:58 -0700 From: Claudiu Beznea To: , , , , CC: , , , Claudiu Beznea Subject: [PATCH v3 06/17] clk: at91: pmc: add sama7g5 to the list of available pmcs Date: Fri, 17 Sep 2021 15:06:31 +0300 Message-ID: <20210917120642.8993-7-claudiu.beznea@microchip.com> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20210917120642.8993-1-claudiu.beznea@microchip.com> References: <20210917120642.8993-1-claudiu.beznea@microchip.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add SAMA7G5 to the list of available PMCs such that the suspend/resume code for clocks to be used on backup mode. Signed-off-by: Claudiu Beznea --- drivers/clk/at91/pmc.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/clk/at91/pmc.c b/drivers/clk/at91/pmc.c index 58e9c088cb22..2a9636edfe9d 100644 --- a/drivers/clk/at91/pmc.c +++ b/drivers/clk/at91/pmc.c @@ -149,8 +149,9 @@ static struct syscore_ops pmc_syscore_ops = { .resume = at91_pmc_resume, }; -static const struct of_device_id sama5d2_pmc_dt_ids[] = { +static const struct of_device_id pmc_dt_ids[] = { { .compatible = "atmel,sama5d2-pmc" }, + { .compatible = "microchip,sama7g5-pmc", }, { /* sentinel */ } }; @@ -159,7 +160,7 @@ static int __init pmc_register_ops(void) struct platform_device *pdev; struct device_node *np; - np = of_find_matching_node(NULL, sama5d2_pmc_dt_ids); + np = of_find_matching_node(NULL, pmc_dt_ids); if (!np) return -ENODEV; -- 2.25.1 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1D799C433FE for ; Fri, 17 Sep 2021 12:10:30 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id DB56260F9C for ; Fri, 17 Sep 2021 12:10:29 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org DB56260F9C Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=microchip.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=pOWC/d3CMyvT/nS5hIuFVomJFhRHxB/aF0bmCuLlyKA=; b=w6MtAR04avMPSr sdPgKsfOQPtgNiP097Qsw9csDOIzlzOxA11AI9r8jGh70uKKXVITBBe+l17flVRMkpW7w52k9EHlZ lih0zw1M87fQg8P0PxD14lS9cMfEt0F9OSeLm0bm26Frqwe92gi9HiMTV/dBnJtPC0uvKgKL+02/8 civIi1WqyoufhoPePr9WGGUL4QP9tJE3CNc7LyuBwzJbptUHhD1yzXm2DNdDKr3LjjWy7NeUA66go mS00Mw6v9J9FFfX+MW9ascBgNGUSycRwAF8VSv3djdcfAb1IY1RrEDEDq6WaufQLgITjo9ErgBY6z Ui93zg1TAJhN3Jni5t6w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mRCfO-00DwWw-Lu; Fri, 17 Sep 2021 12:08:31 +0000 Received: from esa.microchip.iphmx.com ([68.232.153.233]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mRCdz-00Dw0y-BT for linux-arm-kernel@lists.infradead.org; Fri, 17 Sep 2021 12:07:04 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1631880423; x=1663416423; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=PAlQz9ImFlO7qIwbUzAgmC9YSfeXGWfelq6OxBy//Dk=; b=uhE3vPNngvS4rl7/6HdNxSba9woRUOFkW9lyPRX6/Slrz3YSYG/qKXjQ btpUNvOGtYf4p1Thf0ZBvUlg9TXo26tjjpJCRHkofVPpLGri8L4wX184J jhYeieH+aD6Jp721acvhYqjPDLlouhGPIoPHjc+cfL4K+cg3WffZxebqd IGox02fbQ9EhMM+cwB6ECZC/yeypBgI+Di0iDLWGf3o/Von2UUBGIlxYq xCbuFOUfO4ZHiOTVK/U5BOf0TDOXgK0A11r6bxCzVDioECwWZtPdf9VuP 3GRxLqDLb+UU6j+MbNGODO2zaojAUEdu+2bslSfK29F+hSQQA91dYdSoM A==; IronPort-SDR: OfW4gaP0yYZgnYd2lbt6AVqaR39Cx2gppz92G3HhE/Vjdgpd1cPCUTXCtJQFV4iES3nu/UVnPF tJNUr9wJHofktGcYKZwDYIDyqv2Dopg4L8KRNdtppZVHZ/5m4ARyryus/lQrx0PGPoURhJY1jC Mi3rDhheMqFiWdw+tl35/azWcy4hfb2BJz7OYO/ZieoXFUBE+voD6qWj5fnrBSjk4y1YgktC43 e75D649p/Nqdc2xlhu5Gx0CpIZ4EFe4zbipCQY1fOXg/NPoHBsT+v8FWy3wAtyBNSaeEfFf1k6 t3I1vFoKiZL7Nmn3EHvQnj8m X-IronPort-AV: E=Sophos;i="5.85,301,1624345200"; d="scan'208";a="144535323" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa1.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 17 Sep 2021 05:07:02 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) 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.2176.14; Fri, 17 Sep 2021 05:07:00 -0700 Received: from rob-dk-mpu01.microchip.com (10.10.115.15) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server id 15.1.2176.14 via Frontend Transport; Fri, 17 Sep 2021 05:06:58 -0700 From: Claudiu Beznea To: , , , , CC: , , , Claudiu Beznea Subject: [PATCH v3 06/17] clk: at91: pmc: add sama7g5 to the list of available pmcs Date: Fri, 17 Sep 2021 15:06:31 +0300 Message-ID: <20210917120642.8993-7-claudiu.beznea@microchip.com> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20210917120642.8993-1-claudiu.beznea@microchip.com> References: <20210917120642.8993-1-claudiu.beznea@microchip.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210917_050703_431154_44868317 X-CRM114-Status: GOOD ( 12.46 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add SAMA7G5 to the list of available PMCs such that the suspend/resume code for clocks to be used on backup mode. Signed-off-by: Claudiu Beznea --- drivers/clk/at91/pmc.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/clk/at91/pmc.c b/drivers/clk/at91/pmc.c index 58e9c088cb22..2a9636edfe9d 100644 --- a/drivers/clk/at91/pmc.c +++ b/drivers/clk/at91/pmc.c @@ -149,8 +149,9 @@ static struct syscore_ops pmc_syscore_ops = { .resume = at91_pmc_resume, }; -static const struct of_device_id sama5d2_pmc_dt_ids[] = { +static const struct of_device_id pmc_dt_ids[] = { { .compatible = "atmel,sama5d2-pmc" }, + { .compatible = "microchip,sama7g5-pmc", }, { /* sentinel */ } }; @@ -159,7 +160,7 @@ static int __init pmc_register_ops(void) struct platform_device *pdev; struct device_node *np; - np = of_find_matching_node(NULL, sama5d2_pmc_dt_ids); + np = of_find_matching_node(NULL, pmc_dt_ids); if (!np) return -ENODEV; -- 2.25.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel