diff options
author | Simon Glass <sjg@chromium.org> | 2015-04-15 03:03:26 (GMT) |
---|---|---|
committer | Tom Warren <twarren@nvidia.com> | 2015-05-13 16:24:07 (GMT) |
commit | d55b7d4c53c78d4a4fbe28b65e8d50f184b53ce9 (patch) | |
tree | 58fcbe45288e7a9e346783f613488c79177f4881 /include | |
parent | ec7466443432966db95ed2324732ee810bfa8229 (diff) | |
download | u-boot-fsl-qoriq-d55b7d4c53c78d4a4fbe28b65e8d50f184b53ce9.tar.xz |
power: Export register access functions from as3722
With the full PMIC framework we may be able to avoid this. But for now
we need access to the PMIC.
Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Tom Warren <twarren@nvidia.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/power/as3722.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/power/as3722.h b/include/power/as3722.h index aa966d2..0f22482 100644 --- a/include/power/as3722.h +++ b/include/power/as3722.h @@ -23,5 +23,8 @@ int as3722_gpio_configure(struct udevice *pmic, unsigned int gpio, unsigned long flags); int as3722_gpio_direction_output(struct udevice *pmic, unsigned int gpio, unsigned int level); +int as3722_read(struct udevice *pmic, u8 reg, u8 *value); +int as3722_write(struct udevice *pmic, u8 reg, u8 value); +int as3722_get(struct udevice **devp); #endif /* __POWER_AS3722_H__ */ |