Linux on ARM based TI OMAP SoCs
 help / color / mirror / Atom feed
From: Keerthy <j-keerthy@ti.com>
To: Enric Balletbo Serra <eballetbo@gmail.com>
Cc: Tony Lindgren <tony@atomide.com>,
	milo.kim@ti.com, Lee Jones <lee.jones@linaro.org>,
	"linux-omap@vger.kernel.org" <linux-omap@vger.kernel.org>,
	linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH 3/5] mfd: tps65217: Add a dependency on OF
Date: Wed, 7 Jun 2017 10:15:41 +0530	[thread overview]
Message-ID: <c13efc60-d4fd-7c1a-e889-f867ebd18446@ti.com> (raw)
In-Reply-To: <CAFqH_52OncBvwCmu6JiFSdVckky9Gqzm7ZoUNxpqF-82oO2GAw@mail.gmail.com>



On Tuesday 06 June 2017 08:34 PM, Enric Balletbo Serra wrote:
> Hi Keerthy,
> 
> By change I was looking at this. Some comments below that I think can
> be applied to all patches in this series
> 
> 2017-06-06 16:45 GMT+02:00 Keerthy <j-keerthy@ti.com>:
>> Currently the driver boots only via device tree hence add a
>> dependency on OF.
>>
>> Signed-off-by: Keerthy <j-keerthy@ti.com>
>> ---
>>  drivers/mfd/Kconfig | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig
>> index 75b59f1..2d1425d 100644
>> --- a/drivers/mfd/Kconfig
>> +++ b/drivers/mfd/Kconfig
>> @@ -1297,7 +1297,7 @@ config MFD_TPS65090
>>
>>  config MFD_TPS65217
>>         tristate "TI TPS65217 Power Management / White LED chips"
>> -       depends on I2C
>> +       depends on I2C && OF
> 
> Shouldn't you add || COMPILE_TEST here ?

Sure.

> 
>>         select MFD_CORE
>>         select REGMAP_I2C
>>         select IRQ_DOMAIN
>> --
>> 1.9.1
>>
> 
> I think you can remove the of_match_device checks in some drivers too
> 
> i.e:
> 
> http://elixir.free-electrons.com/linux/latest/source/drivers/mfd/tps65217.c#L330

Yes that and removal of unused i2c_device_id. I will follow it up once
this OF dependency is in.

> 
> Regards,
>  Enric
> 

  reply	other threads:[~2017-06-07  4:45 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-06 14:45 [PATCH 0/5] mfd: Add a dependency on OF Keerthy
2017-06-06 14:45 ` [PATCH 1/5] mfd: palmas: " Keerthy
2017-06-06 14:45 ` [PATCH 2/5] mfd: tps65218: " Keerthy
2017-06-06 14:45 ` [PATCH 3/5] mfd: tps65217: " Keerthy
2017-06-06 15:04   ` Enric Balletbo Serra
2017-06-07  4:45     ` Keerthy [this message]
2017-06-07 10:37       ` Lee Jones
2017-06-07 10:38         ` Lee Jones
2017-06-07 11:24           ` Keerthy
2017-06-07 13:37             ` Enric Balletbo Serra
2017-06-07 13:45               ` Keerthy
2017-06-07 14:10                 ` Javier Martinez Canillas
2017-06-07 14:27                   ` Javier Martinez Canillas
2017-06-08  4:31                   ` Keerthy
2017-06-07 10:39         ` Keerthy
2017-06-06 14:45 ` [PATCH 4/5] mfd: lp873x: " Keerthy
2017-06-06 14:45 ` [PATCH 5/5] mfd: lp3943: " Keerthy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c13efc60-d4fd-7c1a-e889-f867ebd18446@ti.com \
    --to=j-keerthy@ti.com \
    --cc=eballetbo@gmail.com \
    --cc=lee.jones@linaro.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=milo.kim@ti.com \
    --cc=tony@atomide.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox