Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754612AbbKXUBG (ORCPT ); Tue, 24 Nov 2015 15:01:06 -0500 Received: from mout.kundenserver.de ([212.227.126.130]:52437 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751518AbbKXUBA (ORCPT ); Tue, 24 Nov 2015 15:01:00 -0500 From: Arnd Bergmann To: Andy Shevchenko Cc: "Rafael J. Wysocki" , Greg Kroah-Hartman , Jarkko Nikula , linux-i2c@vger.kernel.org, linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, Lee Jones , Mika Westerberg , Kevin Fenzi , Wolfram Sang Subject: Re: [PATCH v1 00/13] intel-lpss: support non-ACPI platforms Date: Tue, 24 Nov 2015 21:00:45 +0100 Message-ID: <2529008.Qej2ZWi12S@wuerfel> User-Agent: KMail/4.11.5 (Linux/3.16.0-10-generic; KDE/4.11.5; x86_64; ; ) In-Reply-To: <1448360579-79260-1-git-send-email-andriy.shevchenko@linux.intel.com> References: <1448360579-79260-1-git-send-email-andriy.shevchenko@linux.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Provags-ID: V03:K0:Mq0ulikBF9FLubllhZlEH1WwXeVjh1D3g83aSzh+WWT4Xt0M9az SOe0KLJEhVoGn2yLiqJvVn4Xa3CzhSHjIjr4a+otYMOI9R0a3lQuf3jYK1TGt+EMrzrtaGU w0h11k4ElwWGF8Oh8mcvJb9zy+fA3CXlYSk5xZT5IxRjisFHUVsWOeWZOhoPWTGobcYVudp gptzY6/B69H/UIEKUO6Og== X-UI-Out-Filterresults: notjunk:1;V01:K0:E1SkjtrTAHI=:exaXL5a0Ft9kjq4Qd5z9ZQ g6UX2T1wPwCl6iv/yuB8NYOMhLXZ9dkCW0LdtVWXnmKaO5mWqBHDI9UrGAnDcbg08BoxlvZZl B3M2K8KUr25/2ocHSDamsNX2twUrS4ewwUE3hQzxEh1bb30KMGMYTpPzQA2qczYu82treY5Og No1lY+arTlXewlx3G6hj0mhEK9U+WIgepKReQFzbuo8EHZprhn58CqcrlfIcUN56g1hrD0snZ JD4TCISb3pKB5mXmLN6KZybfNcHTWFTBLMSfJbnZMgcUMrNFuh1CNb/5tpJ0GmaS6RiReh/d0 agVRYBORbO06LMKoNuaXwLGNp2OxR7FAuIBprGCCwfnsokbbS5C20OULF6r+gHt5+2z40glfY n3/UFb1AD1js+JhzCFaI58IxyDXKN3qY0N0+yDoxu2Cfr5GuP2P1pacBHT3jwFqHUQ34jn46C Jz1A2k3hnAhjenn8b/19JpsMtR1KF4vBrOyxzdKpYTbyoCREpy7IZTBWr78TrIAUSFLnrLZJ9 JdP3BL+4nQBA2OCy6E5AwYC6yZak7go4VWCgrfiP0NTMkSvYAJMgriNQePiLRV0laqNciYyAm zppuM4GDQhogTf2GiacC5IQTRfYXPLzQ8DXXOJEtpBSJtjHZx0s8oxfZdjM2ka1aUqgcGYSSR ioFXegSdANPDHqw4vtlPt9tMhog93w72yVCB2T9hF6UyneCRvsmDbYEuouquX77wkc0qTd4Ui gMtFNPWWORA6NVoh Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2044 Lines: 45 On Tuesday 24 November 2015 12:22:46 Andy Shevchenko wrote: > This series includes few logical sets that bring a support of non-ACPI > platforms for Intel Skylake. > > First part is a refactoring of built-in device properties support: > - keep single value inside the structure > - provide helper macros to define built-in properties > - fall back to secondary fwnode if primary has no asked property > > Second one is modifications to MFD code and intel-lpss.c driver in particular > to define and pass built-in properties to the individual drivers. > > Last part is a fix for I2C bug found on Lenovo Yoga hardware and a first > converted user. > > Built-in device properties is an alternative to platform data. It provides a > unified API that drivers can use to cover all cases at once: DT, ACPI, and > built-in properties. > > With this series applied platform data can be considered obsolete. Moreover, > built-in device properties allows to adjust existing configuration, for > example, in cases when ACPI values are wrong on some platforms. > > The series has been tested on available hardware and doesn't break current > behaviour. But we ask you, Kevin, to apply the series on your side and check > with Lenovo hardware. I agree with Rafael, this looks really nice. I found one small thing that could be improved, see the comment on patch 11. Aside from that, I think we should have a nicer way to pass a property list through platform_device_info when calling platform_device_register_full(). You don't do that here because the drivers you change are based on MFD cells rather than direct platform devices, but it would fit in the series and should be easy enough to do. I don't know why Rafael didn't do that for the initial series already, maybe he had a good reason. Arnd -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/