Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752885AbdL1Iua (ORCPT ); Thu, 28 Dec 2017 03:50:30 -0500 Received: from mga14.intel.com ([192.55.52.115]:57182 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751258AbdL1Iu3 (ORCPT ); Thu, 28 Dec 2017 03:50:29 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.45,470,1508828400"; d="scan'208";a="5424109" Message-ID: <1514450844.7000.305.camel@linux.intel.com> Subject: Re: [RFC PATCH v12 4/5] PCI / PM: Add support for the PCIe WAKE# signal for OF From: Andy Shevchenko To: Rob Herring , JeffyChen Cc: "linux-kernel@vger.kernel.org" , Bjorn Helgaas , linux-pm@vger.kernel.org, Tony Lindgren , Shawn Lin , Brian Norris , "Rafael J. Wysocki" , Doug Anderson , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , linux-pci@vger.kernel.org, Frank Rowand Date: Thu, 28 Dec 2017 10:47:24 +0200 In-Reply-To: References: <20171226023646.17722-1-jeffy.chen@rock-chips.com> <20171226023646.17722-5-jeffy.chen@rock-chips.com> <20171226235607.4rgp4ebrrktt6d56@rob-hp-laptop> <5A42F847.5060305@rock-chips.com> Organization: Intel Finland Oy Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.26.3-1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 973 Lines: 30 On Wed, 2017-12-27 at 09:30 -0600, Rob Herring wrote: > On Tue, Dec 26, 2017 at 7:32 PM, JeffyChen > wrote: > this new file does something similar to the pci-acpi.c and pci-mid.c.. > pci-acpi.c has similar things to pci/of.c. The naming is just not > consistent. > > and i am agree the naming is not clear, maybe we can rename both of > > those > > files to something like pci-pm-***.c? > > At least pci-acpi.c is more than just PM functions, so that doesn't > make sense. Given that all the ACPI related functions are in 1 file, > we should do the same for DT. > > but i have no idea about pci-mid.c or would it possible to have more > > platform pm ops in the future...maybe we should add some dependency > > in the > > Kconfig? You may consider pci-mid.c as pci-sfi.c to some extend. So, in that sense it more looks like pci-of.c would be the name for DT case. -- Andy Shevchenko Intel Finland Oy