From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932328AbbJULSm (ORCPT ); Wed, 21 Oct 2015 07:18:42 -0400 Received: from mail-wi0-f171.google.com ([209.85.212.171]:36596 "EHLO mail-wi0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752334AbbJULSk (ORCPT ); Wed, 21 Oct 2015 07:18:40 -0400 Date: Wed, 21 Oct 2015 12:18:32 +0100 From: Lee Jones To: Mark Brown Cc: "Andrew F. Davis" , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Alexandre Courbot , Grygorii Strashko , linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/4] Documentation: tps65086: Add DT bindings for the TPS65086 PMIC Message-ID: <20151021111832.GC3270@x1> References: <1445014753-15450-1-git-send-email-afd@ti.com> <1445014753-15450-2-git-send-email-afd@ti.com> <20151019091311.GH31804@x1> <5625095F.5080204@ti.com> <20151019152100.GK31804@x1> <56250AF9.3030907@ti.com> <20151020113128.GN31804@x1> <56264990.8050501@ti.com> <20151021084633.GB3270@x1> <20151021102952.GJ32054@sirena.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20151021102952.GJ32054@sirena.org.uk> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 21 Oct 2015, Mark Brown wrote: > On Wed, Oct 21, 2015 at 09:46:33AM +0100, Lee Jones wrote: > > On Tue, 20 Oct 2015, Andrew F. Davis wrote: > > > > I could change the core to be "tps65086-pmic", then call the regulator > > > driver "tps65086-regulator" if this works for you, this seems to be the > > > way new drivers name the regulator driver (max77843.c). > > > Yes, this is what I was thinking of. > > > ti,tps65086 is uninformative/undescriptive and tells me nothing. > > It is however the normal way we write compatible strings - the class > information would normaly go in the node name (ie, i2c@7000c000 or > whatever). I didn't say it hasn't been done before, just that I didn't like it for the aforementioned reasons. I can also find 1000's of compatible strings which do append "-", so it's not exactly an unheard of practice. -- Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog