Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp259490pxa; Tue, 18 Aug 2020 23:52:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz++Gm/XSKFRjlENKGIZ9rYVBXeBpKD5Vb86uy8KqUdW9S6uLsgBo+H2dBId/cbV5J4Ckck X-Received: by 2002:a17:906:c7d4:: with SMTP id dc20mr25108980ejb.283.1597819939823; Tue, 18 Aug 2020 23:52:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597819939; cv=none; d=google.com; s=arc-20160816; b=AidWUpkVv0UflUFuhWNV93fjcp43RjItpR0OL7grJsAGdjnSrdekQe760z4IbUcAya 3z4+OYq5W5Rq2b2caNAn5EExtk66xdaJQO0xQ5sEvSjeZnQjUU9/vKZ66D5EMNupAvCK BjA9BKZMRHQevjMQEQQiqS37JceTm+3ANg+TaAxgS+GI/L9IRuBQq6NSaffwIct/3OtE InaT12qMKopsak8Y7LI/n4mxYCft+xp2/F5MCEqiTmZiQOe+WvxYFAnABE0dP8cmmmG1 ZiT4WQlJzD/vZZhMC4sRyICdUMrE54foy6f5UkszXdV32MjvX71fbtFPS2KSoJ1G10kI SUSQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=yPolzdIERrTrTMVi3CURG3gqmuy7bDuNJQgni7QrJ1Q=; b=BHwhy+eJWP00NaJ08bz2DYNknhg/hBErBoJj1a4R4zZR8dWDfnYAXqwyNx++s182JE n4BVML7CBSjW/5VF6h9VXNzy7KI+daV2UIUozKsb5nC2z/Q/7iimyZpegcNqaoj8WDpS z4fg+TIJjIfMo47cVayV2fspjvoTmFWTE6UTx1EkpgBso9QiWYtQDplJLmGKUNpPXpGS s7OopDnZpgKhzjbVKppjJ+rkNU/bB9Lxipf+XaSiijxvI5rNAjg57JptJDwfxGnkfR0Q XitKxaDAmKdjjv212EVklrzIU+D5AdgWU3D8BhZr7JvPaXHt43k3igUdbxIx1GA5H3ld Fqjw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i23si14548592edb.556.2020.08.18.23.51.56; Tue, 18 Aug 2020 23:52:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727829AbgHSGsa (ORCPT + 99 others); Wed, 19 Aug 2020 02:48:30 -0400 Received: from pegase1.c-s.fr ([93.17.236.30]:6791 "EHLO pegase1.c-s.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727807AbgHSGsS (ORCPT ); Wed, 19 Aug 2020 02:48:18 -0400 Received: from localhost (mailhub1-int [192.168.12.234]) by localhost (Postfix) with ESMTP id 4BWddn6Dxpz9tx2t; Wed, 19 Aug 2020 08:48:13 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at c-s.fr Received: from pegase1.c-s.fr ([192.168.12.234]) by localhost (pegase1.c-s.fr [192.168.12.234]) (amavisd-new, port 10024) with ESMTP id sLh0Bt0UnGdV; Wed, 19 Aug 2020 08:48:13 +0200 (CEST) Received: from messagerie.si.c-s.fr (messagerie.si.c-s.fr [192.168.25.192]) by pegase1.c-s.fr (Postfix) with ESMTP id 4BWddn5CFsz9tx2s; Wed, 19 Aug 2020 08:48:13 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by messagerie.si.c-s.fr (Postfix) with ESMTP id B40318B7F3; Wed, 19 Aug 2020 08:48:14 +0200 (CEST) X-Virus-Scanned: amavisd-new at c-s.fr Received: from messagerie.si.c-s.fr ([127.0.0.1]) by localhost (messagerie.si.c-s.fr [127.0.0.1]) (amavisd-new, port 10023) with ESMTP id qM2bDxTqw8S9; Wed, 19 Aug 2020 08:48:14 +0200 (CEST) Received: from [172.25.230.104] (po15451.idsi0.si.c-s.fr [172.25.230.104]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 86F238B767; Wed, 19 Aug 2020 08:48:14 +0200 (CEST) Subject: Re: [PATCH v3] soc: fsl: enable acpi support To: Ran Wang , Li Yang Cc: Peng Ma , linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org References: <20200819040031.40204-1-ran.wang_1@nxp.com> From: Christophe Leroy Message-ID: <02fa05ad-6d39-e16d-ad02-7472d28b6627@csgroup.eu> Date: Wed, 19 Aug 2020 08:48:06 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 MIME-Version: 1.0 In-Reply-To: <20200819040031.40204-1-ran.wang_1@nxp.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: fr Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Le 19/08/2020 à 06:00, Ran Wang a écrit : > From: Peng Ma > > This patch enables ACPI support in RCPM driver. Can you change the subject to "soc: fsl: enable acpi support in RCPM driver" ? > > Signed-off-by: Peng Ma > Signed-off-by: Ran Wang > --- > Change in v3: > - Add #ifdef CONFIG_ACPI for acpi_device_id > - Rename rcpm_acpi_imx_ids to rcpm_acpi_ids > > Change in v2: > - Update acpi_device_id to fix conflict with other driver > > drivers/soc/fsl/rcpm.c | 13 ++++++++++++- > 1 file changed, 12 insertions(+), 1 deletion(-) > > diff --git a/drivers/soc/fsl/rcpm.c b/drivers/soc/fsl/rcpm.c > index a093dbe..55d1d73 100644 > --- a/drivers/soc/fsl/rcpm.c > +++ b/drivers/soc/fsl/rcpm.c > @@ -2,7 +2,7 @@ > // > // rcpm.c - Freescale QorIQ RCPM driver > // > -// Copyright 2019 NXP > +// Copyright 2019-2020 NXP > // > // Author: Ran Wang > > @@ -13,6 +13,7 @@ > #include > #include > #include > +#include > > #define RCPM_WAKEUP_CELL_MAX_SIZE 7 > > @@ -125,6 +126,7 @@ static int rcpm_probe(struct platform_device *pdev) > > ret = device_property_read_u32(&pdev->dev, > "#fsl,rcpm-wakeup-cells", &rcpm->wakeup_cells); > + This blank line addition is unrelated to the patch and shouldn't be there. Christophe > if (ret) > return ret; > > @@ -139,10 +141,19 @@ static const struct of_device_id rcpm_of_match[] = { > }; > MODULE_DEVICE_TABLE(of, rcpm_of_match); > > +#ifdef CONFIG_ACPI > +static const struct acpi_device_id rcpm_acpi_ids[] = { > + {"NXP0015",}, > + { } > +}; > +MODULE_DEVICE_TABLE(acpi, rcpm_acpi_ids); > +#endif > + > static struct platform_driver rcpm_driver = { > .driver = { > .name = "rcpm", > .of_match_table = rcpm_of_match, > + .acpi_match_table = ACPI_PTR(rcpm_acpi_ids), > .pm = &rcpm_pm_ops, > }, > .probe = rcpm_probe, >