Messages in this thread | | | From | Bartosz Golaszewski <> | Date | Tue, 29 Nov 2016 16:35:00 +0100 | Subject | Re: [PATCH] iio: misc: add a generic regulator driver |
| |
2016-11-29 16:30 GMT+01:00 Lars-Peter Clausen <lars@metafoo.de>: > On 11/29/2016 04:22 PM, Bartosz Golaszewski wrote: > [...] >> diff --git a/Documentation/devicetree/bindings/iio/misc/iio-regulator.txt b/Documentation/devicetree/bindings/iio/misc/iio-regulator.txt >> new file mode 100644 >> index 0000000..147458f >> --- /dev/null >> +++ b/Documentation/devicetree/bindings/iio/misc/iio-regulator.txt >> @@ -0,0 +1,18 @@ >> +Industrial IO regulator device driver >> +------------------------------------- >> + >> +This document describes the bindings for the iio-regulator - a dummy device >> +driver representing a physical regulator within the iio framework. > > No bindings for drivers, only for hardware. So this wont work. >
What about exporting regulator attributes analogous to the one in this patch from the iio-core when a *-supply property is specified for a node?
Thanks, Bartosz
| |