From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751712AbdFFLBq (ORCPT ); Tue, 6 Jun 2017 07:01:46 -0400 Received: from lelnx193.ext.ti.com ([198.47.27.77]:45589 "EHLO lelnx193.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751608AbdFFLBo (ORCPT ); Tue, 6 Jun 2017 07:01:44 -0400 Subject: Re: [PATCH 0/9] mfd: Remove redundant i2c_device_id To: Tony Lindgren References: <1496567924-4278-1-git-send-email-j-keerthy@ti.com> <20170605103740.g4t3veigzpdzfkxi@dell> <20170606071703.o6dnzu4vjeywpoxn@dell> <9017b16c-e9f3-ea05-4e71-d7920841ce57@ti.com> <918f5112-b200-b5ae-c4d2-c75e5e227e9a@ti.com> <20170606104437.GY3730@atomide.com> CC: Lee Jones , , , From: Keerthy Message-ID: Date: Tue, 6 Jun 2017 16:31:33 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 MIME-Version: 1.0 In-Reply-To: <20170606104437.GY3730@atomide.com> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tuesday 06 June 2017 04:14 PM, Tony Lindgren wrote: > * Keerthy [170606 00:52]: >> On Tuesday 06 June 2017 01:00 PM, Keerthy wrote: >>> On Tuesday 06 June 2017 12:47 PM, Lee Jones wrote: >>>>>> Are all of these drivers DT only? >>>>> >>>>> At least i did not find any platform code calling on to these drivers. >>>>> No dependency on OF as such. Hence sent these 9. >>>> >>>> I can't accept these changes on any drivers which does not depend on >>>> OF as a hard requirement. >>> >>> Okay. So that is a per-requisite. At least palmas, tps65218, lp873x, >>> tps65217 imho can have the OF dependency. I will post patches for that >>> and then will resurrect this series. >>> >>> Thanks for your feedback. >> >> Tony, >> >> I do not see any platform specific code for tps65218, tps65217 and >> palmas. I believe they are all completely Device Tree based. Can i make >> them depend on OF? It helps me clear up some unused data from their mfd >> drivers. > > Yes all of arch/arm/mach-omap2 is device tree only nowadays. > There may be other SoCs or architectures using these too, > but grepping for platform_data should reveal that. Yes Tony. I did that for all the above mentioned devices. I did not find any references apart from device tree folder under arch/ folder. Apart from device tree folder and drivers/ folder i do not see any instances of palmas, tps65218, tps65917, lp873x. Shall i go ahead and introduce dependency on OF? > > Regards, > > Tony >