Re: [PATCH V1] regulator: DA9211 : support device tree

From: Mark Brown
Date: Tue Aug 26 2014 - 05:13:43 EST


On Mon, Aug 25, 2014 at 06:16:56PM +0900, James Ban wrote:

> +* Dialog Semiconductor DA9211/DA9213 Voltage Regulator
> +
> +Required properties:
> +
> +- compatible: It should be "dlg,da9211" or "dlg,da9213".
> +- reg: the i2c slave address of the regulator. It should be 0x68.
> +
> +Any standard regulator properties can be used to configure the
> +da9211/da9213 DCDC.
> +
> +Example 1) DA9211
> +
> + pmic: da9211@68 {
> + compatible = "dlg,da9211";
> + reg = <0x68>;
> + interrupts = <3 27>;
> +
> + regulators {

You need to define what the valid regulators for the device are and
where their configuration should be specified in the device tree.

Attachment: signature.asc
Description: Digital signature