From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f46.google.com ([74.125.82.46]:36986 "EHLO mail-wm0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752378AbcFOIPh (ORCPT ); Wed, 15 Jun 2016 04:15:37 -0400 Date: Wed, 15 Jun 2016 10:15:32 +0200 From: Ingo Molnar To: Andy Shevchenko Cc: Thomas Gleixner , Ingo Molnar , "H . Peter Anvin" , x86@kernel.org, Bjorn Helgaas , linux-pci@vger.kernel.org, Mika Westerberg , linux-kernel@vger.kernel.org, David Cohen Subject: Re: [PATCH v2 1/1] x86/platform/intel-mid: Add Power Management Unit driver Message-ID: <20160615081532.GB16023@gmail.com> References: <1465928985-12113-1-git-send-email-andriy.shevchenko@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <1465928985-12113-1-git-send-email-andriy.shevchenko@linux.intel.com> Sender: linux-pci-owner@vger.kernel.org List-ID: * Andy Shevchenko wrote: > Add Power Management Unit driver to handle power states of South Complex > devices on Intel Tangier. In the future it might be expanded to cover North > Complex devices as well. > > With this driver the power state of the host controllers such as SPI, I2C, > UART, eMMC, and DMA would be managed. > > Signed-off-by: Andy Shevchenko > --- > In v2: > - rename *pmu* to *pwr* > - fix indentation to be consistent for definitions > - add comments to explain what driver does > - refactor quirks in intel_mid_pci.c > > arch/x86/include/asm/intel-mid.h | 8 + > arch/x86/pci/intel_mid_pci.c | 40 +++- > arch/x86/platform/intel-mid/Makefile | 2 +- > arch/x86/platform/intel-mid/pwr.c | 416 +++++++++++++++++++++++++++++++++++ > drivers/pci/Makefile | 3 + > drivers/pci/pci-mid.c | 77 +++++++ > 6 files changed, 540 insertions(+), 6 deletions(-) > create mode 100644 arch/x86/platform/intel-mid/pwr.c > create mode 100644 drivers/pci/pci-mid.c I've applied this to tip:x86/platform. I changed references to 'PMU' to 'PWRMU' - let me know if you'd like to use some other abbreviation. Please send the clean-up patch on top of this. (Feel free to squash the one I sent into yours.) Thanks, Ingo