drm/bridge: adv7511: Initialize regulators
authorArchit Taneja <architt@codeaurora.org>
Wed, 11 Jan 2017 06:52:27 +0000 (12:22 +0530)
committerArchit Taneja <architt@codeaurora.org>
Tue, 17 Jan 2017 05:07:22 +0000 (10:37 +0530)
commit5b06ba2378e177fdb8f100adda6e55b205308202
tree41b4f9cf41dda0642b43dab3d91d21333d831718
parente9a7c0beb2361a44dbdb852f3cff99e08ddbe029
drm/bridge: adv7511: Initialize regulators

Maintain a table of regulator names expected by ADV7511 and ADV7533.
Use regulator_bulk_* api to configure these.

Initialize and enable the regulators during probe itself. Controlling
these dynamically is left for later.

Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Archit Taneja <architt@codeaurora.org>
Link: http://patchwork.freedesktop.org/patch/msgid/1484117547-26417-3-git-send-email-architt@codeaurora.org
drivers/gpu/drm/bridge/adv7511/adv7511.h
drivers/gpu/drm/bridge/adv7511/adv7511_drv.c