]> git.baikalelectronics.ru Git - kernel.git/commit
regulator: max8973: initial DT support
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Mon, 24 Jun 2013 10:50:16 +0000 (12:50 +0200)
committerMark Brown <broonie@linaro.org>
Mon, 24 Jun 2013 14:22:26 +0000 (15:22 +0100)
commitfc936a8bbaf438d479d11748b24392fbe86db14e
treef908d61307859878cc5d2e926c10cf08da2e3c61
parentdfaf99e089c213d2fff4e401e878e2dab9289d0e
regulator: max8973: initial DT support

This patch adds primitive DT support to the max8973 regulator driver. None
of the configuration parameters, supported in the platform data are yet
available in DT, therefore no configuration is performed if booting with
no platform data. This means, that DT instantiation can only be used on
boards, where no run-time configuration of the chip is required. In such
cases the driver can be used to scale its output voltage. In the future
support for configuration parameters should be added.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski+renesas@gmail.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Documentation/devicetree/bindings/regulator/max8973-regulator.txt [new file with mode: 0644]
drivers/regulator/max8973-regulator.c