From mboxrd@z Thu Jan 1 00:00:00 1970 From: broonie@opensource.wolfsonmicro.com (Mark Brown) Date: Tue, 20 Dec 2011 11:25:11 +0000 Subject: [PATCH v3 1/3] mfd: mc13xxx: add device tree probe support In-Reply-To: <20111220030347.GB2995@S2101-09.ap.freescale.net> References: <1323702958-4831-1-git-send-email-shawn.guo@linaro.org> <1323702958-4831-2-git-send-email-shawn.guo@linaro.org> <20111220005708.GM2860@opensource.wolfsonmicro.com> <20111220020101.GD5683@S2100-06.ap.freescale.net> <20111220015931.GX2860@opensource.wolfsonmicro.com> <20111220030347.GB2995@S2101-09.ap.freescale.net> Message-ID: <20111220112510.GL2866@opensource.wolfsonmicro.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Tue, Dec 20, 2011 at 11:03:48AM +0800, Shawn Guo wrote: > On Tue, Dec 20, 2011 at 01:59:32AM +0000, Mark Brown wrote: > > You're missing the point - someone reading the documentation needs to be > > able to figure out what strings they need to use for all the different > > regulators on the chip are without groveling through the driver code. ... > > That's *not* something that we should be exposing in the device tree > > bindings. This is an implementation detail of the Linux driver which > > might well change in future. > Any suggestion on a better binding for mc13892 regulator device? Well, removing the random extra _s would be a big start (though I'd just drop the chip name entirely from the name of the regulators since by the time we're looking at the regulator we've already identified the chip) and as I keep saying you need to document what the names mean - what are the possible names and how do they map onto the hardware?