Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp4686336yba; Mon, 20 May 2019 01:49:13 -0700 (PDT) X-Google-Smtp-Source: APXvYqxjF8e3+RZL/kVRtFM/KIzCO76s6bhTfbirONP+QdCGcnU4A38cJ6jXI+69Q2CyNrZKbYpX X-Received: by 2002:a63:e358:: with SMTP id o24mr30175637pgj.78.1558342153636; Mon, 20 May 2019 01:49:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558342153; cv=none; d=google.com; s=arc-20160816; b=S/W4YTZ4PMgcFF9dJu4c6eEzy/9VGa0cStEhNyN+SR6BmT/ZBftglmMbbYSMOvwTGe nvzvHWn33x7zEwkWe4Jo4J4JkfZsh94fXIJUW/nE5l2gFxNNpwO/Ep1E/JzntK+rtIEE GZfS3DDHHCd/bC+Ftyvxwn5XNcDsv7ej4R8iJh9K6fPGgIDeziJD64dGijNa2uzlYfhN AmW8N1c/USv5q4G82GvuBO2LRVb6ERcgUpA30pPYil+q3eP6fl5tzQ4ARD2A3J4bbqGs H9Ip+p1i/A2zQMb9VAx489wB/Jk4ymUCcLKe+Tk76I7B9B9kXyJb0D9cTRSrTFPdYaLP RfjQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=g49F7IQswNXGBSYiFMZoq1e/VcQJqVPAU5I9BExa21I=; b=Fa6deEk8UOymwPz10d+yCRdFI/hIrT0mhqu+mF7ieeNSy48+Vv5Oul+Q+xRBiH/jYI kvjtTNf0QxaKvW0yXo8fhXCBUK60T+uf3yJTUmU8TQKzcE1V741vYlKVrU6ZaOBpXpY6 aEaTApR/xV2EN5DjND9jKX1pvv31i6QJpvoPPfhAhoquYiOC5v286cxijV2R22L9qlOJ 7ZHJ4sntLODQvUaL6Jo3YHVUbtHtaKvm8oZ3VpF30xopBkIoT+7yP1+4/kqLHVG9ZAdz r24/HsoflkFRaMURWfOg4e3Z2tyCUDXE2KeocTcbpo6I32kUIFhPXnfwM8eOs1OQ5b0I fEQg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v70si13561989pgd.317.2019.05.20.01.48.56; Mon, 20 May 2019 01:49:13 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730662AbfETH0d (ORCPT + 99 others); Mon, 20 May 2019 03:26:33 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:45133 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725983AbfETH0d (ORCPT ); Mon, 20 May 2019 03:26:33 -0400 Received: by atrey.karlin.mff.cuni.cz (Postfix, from userid 512) id 6E3138033F; Mon, 20 May 2019 09:26:21 +0200 (CEST) Date: Mon, 20 May 2019 09:26:30 +0200 From: Pavel Machek To: Ran Wang Cc: Li Yang , Rob Herring , Mark Rutland , "Rafael J . Wysocki" , Len Brown , Greg Kroah-Hartman , linuxppc-dev@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org Subject: Re: [PATCH v3 3/3] soc: fsl: add RCPM driver Message-ID: <20190520072630.GA3674@amd> References: <20190520065816.32360-1-ran.wang_1@nxp.com> <20190520065816.32360-3-ran.wang_1@nxp.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="2oS5YaxWCcQjTEyO" Content-Disposition: inline In-Reply-To: <20190520065816.32360-3-ran.wang_1@nxp.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --2oS5YaxWCcQjTEyO Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > The NXP's QorIQ Processors based on ARM Core have RCPM module > (Run Control and Power Management), which performs all device-level > tasks associated with power management such as wakeup source control. >=20 > This driver depends on PM wakeup source framework which help to > collect wake information. >=20 > Signed-off-by: Ran Wang > +// Copyright 2019 NXP > +// > +// Author: Ran Wang , extra , > + rcpm =3D dev_get_drvdata(dev); > + if (!rcpm) > + return -EINVAL; > + > + /* Begin with first registered wakeup source */ > + ws =3D wakeup_source_get_next(NULL); > + while (ws) { while (ws =3D wakeup_source_get_next(NULL)) ? Pavel =09 --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --2oS5YaxWCcQjTEyO Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlziVqYACgkQMOfwapXb+vJYYgCfeELdsln2HAPCMPJgO2RvIdz1 T5EAn0hVPEYV4vYlN3zVpYR6YBxZjFlI =Gqqe -----END PGP SIGNATURE----- --2oS5YaxWCcQjTEyO--