From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bartosz Golaszewski Subject: Re: [RESEND PATCH v6 06/11] mfd: max77650: new core mfd driver Date: Tue, 26 Mar 2019 14:49:24 +0100 Message-ID: References: <20190318174228.18194-1-brgl@bgdev.pl> <20190318174228.18194-7-brgl@bgdev.pl> <20190322091223.GI27015@amd> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <20190322091223.GI27015@amd> Sender: linux-kernel-owner@vger.kernel.org To: Pavel Machek Cc: Rob Herring , Mark Rutland , Linus Walleij , Dmitry Torokhov , Jacek Anaszewski , Lee Jones , Sebastian Reichel , Liam Girdwood , Greg Kroah-Hartman , Linux Kernel Mailing List , "open list:GPIO SUBSYSTEM" , devicetree , Linux Input , Linux LED Subsystem , Linux PM list , Bartosz Golaszewski List-Id: linux-leds@vger.kernel.org pt., 22 mar 2019 o 10:12 Pavel Machek napisa=C5=82(a): > > On Mon 2019-03-18 18:42:23, Bartosz Golaszewski wrote: > > From: Bartosz Golaszewski > > > > Add the core mfd driver for max77650 PMIC. We define five sub-devices > > for which the drivers will be added in subsequent patches. > > > > Signed-off-by: Bartosz Golaszewski > > --- > > drivers/mfd/Kconfig | 14 +++ > > drivers/mfd/Makefile | 1 + > > drivers/mfd/max77650.c | 234 +++++++++++++++++++++++++++++++++++ > > include/linux/mfd/max77650.h | 59 +++++++++ > > 4 files changed, 308 insertions(+) > > create mode 100644 drivers/mfd/max77650.c > > create mode 100644 include/linux/mfd/max77650.h > > > > diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig > > index 0ce2d8dfc5f1..ade04e124aa0 100644 > > --- a/drivers/mfd/Kconfig > > +++ b/drivers/mfd/Kconfig > > @@ -733,6 +733,20 @@ config MFD_MAX77620 > > provides common support for accessing the device; additional dr= ivers > > must be enabled in order to use the functionality of the device= . > > > > +config MFD_MAX77650 > > + tristate "Maxim MAX77650/77651 PMIC Support" > > + depends on I2C > > + depends on OF || COMPILE_TEST > > This says it will compile ok in !OF case. Will it? > It will compile because the stubs for OF functions will be provided - it just won't work, because they won't be implemented. Bart > -- > (english) http://www.livejournal.com/~pavelmachek > (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/b= log.html