From: NeilBrown Date: Tue, 8 May 2012 19:44:00 +0000 (+1000) Subject: regulator: twl-regulator: make TWL4030_ALLOW_UNSUPPORTED more configurable. X-Git-Tag: v3.5-rc1~177^2~57^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=411a2df5090ccb88f4c3726e4951ebed579fec11;p=pandora-kernel.git regulator: twl-regulator: make TWL4030_ALLOW_UNSUPPORTED more configurable. The regulators in the twl4030 can provide some voltage settings that are not offically supported. These settings are disabled by default, but can be enabled with CONFIG_TWL4030_ALLOW_UNSUPPORTED=y However - that config variable is not mentioned in any Kconfig so cannot be used, and - a global setting is clumsy - a per regulator setting would be better. So define a new 'feature' flag that a board file can set to enable these unsupported volatages for boards which need them. This flag cannot (yet) be set using device-tree. Signed-off-by: NeilBrown Signed-off-by: Mark Brown --- Reading git-diff-tree failed