Messages in this thread | | | Date | Thu, 14 Mar 2013 23:19:17 -0600 | From | Stephen Warren <> | Subject | Re: [PATCH 1/1] mfd: palmas: Add power off control |
| |
On 03/14/2013 04:58 AM, Bill Huang wrote: > Hook up "pm_power_off" to palmas power off routine if there is DT > property "ti,system-power-controller" defined, so platform which is > powered by this regulator can be powered off properly.
> diff --git a/drivers/mfd/palmas.c b/drivers/mfd/palmas.c
> + pdata->pm_off = of_property_read_bool(node, > + "ti,system-power-controller");
You would need to add that property to the DT binding documentation for this device.
| |