Message ID | 20210409111345.294472-4-claudiu.beznea@microchip.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <SRS0=+Itf=JG=lists.infradead.org=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@kernel.org> 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.8 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 A1469C433B4 for <linux-arm-kernel@archiver.kernel.org>; Fri, 9 Apr 2021 11:17:01 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (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 E40936100A for <linux-arm-kernel@archiver.kernel.org>; Fri, 9 Apr 2021 11:17:00 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E40936100A Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=microchip.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; 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=20/z02Rc5uETnlZWy+kFbiIyLJ7P0h1pwj7EJzAAji8=; b=ncAHyRSbyiogknqzBS3OfVIj8 zGSGGpc72Sn3bSjlF/umPLgE2Flvaf1FLNcs8kf5kKqtoUoqyFa8PcS6LoCQMFxq4S/fc/AbrpZJL uy4XA+C0xnWapFYZ0hgdmEeelkkzyaYStWbSqz3WqJoDIHeFKDRaVDa0kWGwP4MBWMOTI6OxPng7B xDIRlRMYNelmSMCuzCc48GQjyjTZ+ePIXUPgLtzvq6BrJ/4URI1tmKnu+J+hQIVChSRrOBrmfH3ok fXqMmX2l8PhNYHUvBX9q7aU6s7N/bYNWVMr0+LLj2D/q9c90sACSfWamVN9r/DegHoW4k+hj+SS// 4rD2IWAFA==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lUp6W-000XOZ-S0; Fri, 09 Apr 2021 11:15:13 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lUp6G-000XML-1A for linux-arm-kernel@desiato.infradead.org; Fri, 09 Apr 2021 11:14:56 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Type: Content-Transfer-Encoding:MIME-Version:References:In-Reply-To:Message-ID:Date :Subject:CC:To:From:Sender:Reply-To:Content-ID:Content-Description; bh=PV8i0rmEjx/8WM5PuzOn30xFQOgZ1wUjn/divJ7f2UY=; b=4tT9EiY0L9P5vKMfUWdpu/s3/h BhZWmwz1wJr6ioKwAUhsPxIbT5lhD0XXgJoKnMHXmxnWqNoNqxS5ILJdNUo8EjLCMVm1KxqvG1Tgo MTHnnKY5D4Zv/n/B1nqZo4lq9KWOS1hoSYhdBWnn4WOhPasfAFLycNr28pvR3GjdPXklLcrRaQ5Yg 0m7tzg9lgRcKDRfl00zDyjKlwjf6JLLBiRgDLqqraV4M8jROQhi4r1/ZXbu12WRW0UwOY6HRKIIvW zz//PC3DdLrt5V6/b4Pa6lSKHDQAh3tbSHxnH8R2M86P+0XTZR1UdzQf7TW6YIwRrOCYA+x2amFt8 1IUMC0TQ==; Received: from esa.microchip.iphmx.com ([68.232.154.123]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lUp6D-004R5I-ET for linux-arm-kernel@lists.infradead.org; Fri, 09 Apr 2021 11:14:54 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1617966893; x=1649502893; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=OekT/yOqa/XDBMBTQSpkviI/blzoLGSPwS38au5y5kw=; b=Shy8Q6En5z7zYGt50A5lrWx9G8WP+J9zBzrT74ZZC0A27myQnV4nLOpu SyQbi26IKQisMWGc65uzLzuQEfkbwNpJBjYO7mrtZtdF4h0N3Hq1aH4Mn lmNhlK8YNiCSozs2bYTSIdh6zWW0Ari1WsFZH+zn2+ZPXkbQ6aft/7pQQ zlfoSX88YliBJCLMikpwIvKyVfNWwD/YJlkHqug6/se0uE3Ime8Ex02NL TKZYl2fv3Nyvw1e44Y5b76zlVE4PEkIdWhCCy9rqU33XpdbHpIH5VZsA1 xnLVLLqtSVXVfxRCheoxMwtd8fGC5FW/d6T2ikg8r8EpYIsVffS8tXH8K w==; IronPort-SDR: tZkR/CoUqlo/qc0GXFLPzMhIvjwNP1/+Eh8dneyC/WlWoCxzSa4/X7vjwuLgee8cfOijDYlFfa 9tS74mTjzlKPJ18pNPRqIJ04UqNogpOyOh+Ix/PSvj4DuxMZrHf4RoU6eGFYp/sk1cQ4OekPHr zDUmRiKPDlexvsdq2CgFlGoTh1nWrJdrTebvTH3ryjgS3rmjjGuKXKw20wCrV+OYr7oe8fXWIJ R8yu/t9sY0nyELrvfwKrVRTZPBZzluuhqqmNc4Q5MeO/O2o0QRrVhzcZJmkB5okLR9AzGqCb9S DPg= X-IronPort-AV: E=Sophos;i="5.82,209,1613458800"; d="scan'208";a="113022324" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa2.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 09 Apr 2021 04:14:50 -0700 Received: from chn-vm-ex04.mchp-main.com (10.10.85.152) 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.2; Fri, 9 Apr 2021 04:14:49 -0700 Received: from m18063-ThinkPad-T460p.mchp-main.com (10.10.115.15) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server id 15.1.2176.2 via Frontend Transport; Fri, 9 Apr 2021 04:14:41 -0700 From: Claudiu Beznea <claudiu.beznea@microchip.com> To: <nicolas.ferre@microchip.com>, <alexandre.belloni@bootlin.com>, <ludovic.desroches@microchip.com>, <robh+dt@kernel.org>, <linux@armlinux.org.uk> CC: <linux-arm-kernel@lists.infradead.org>, <devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>, Claudiu Beznea <claudiu.beznea@microchip.com> Subject: [PATCH v2 03/24] ARM: at91: pm: document at91_soc_pm structure Date: Fri, 9 Apr 2021 14:13:24 +0300 Message-ID: <20210409111345.294472-4-claudiu.beznea@microchip.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210409111345.294472-1-claudiu.beznea@microchip.com> References: <20210409111345.294472-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-20210409_041453_581929_68C6F300 X-CRM114-Status: UNSURE ( 8.57 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
Series |
ARM: at91: pm: add support for sama7g5
|
expand
|
diff --git a/arch/arm/mach-at91/pm.c b/arch/arm/mach-at91/pm.c index 3742a1fb76db..3029351ec78e 100644 --- a/arch/arm/mach-at91/pm.c +++ b/arch/arm/mach-at91/pm.c @@ -41,6 +41,14 @@ struct at91_pm_bu { phys_addr_t resume; }; +/** + * struct at91_soc_pm - AT91 SoC power management data structure + * @config_shdwc_ws: wakeup sources configuration function for SHDWC + * @config_pmc_ws: wakeup srouces configuration function for PMC + * @ws_ids: wakup sources of_device_id array + * @data: PM data to be used on last phase of suspend + * @bu: backup unit mapped data (for backup mode) + */ struct at91_soc_pm { int (*config_shdwc_ws)(void __iomem *shdwc, u32 *mode, u32 *polarity); int (*config_pmc_ws)(void __iomem *pmc, u32 mode, u32 polarity);
Document at91_soc_pm structure. Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com> --- arch/arm/mach-at91/pm.c | 8 ++++++++ 1 file changed, 8 insertions(+)