]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
drm/panel: otm8009a: Add support for the optional power-supply
authorPhilippe CORNU <philippe.cornu@st.com>
Mon, 5 Feb 2018 09:45:32 +0000 (10:45 +0100)
committerThierry Reding <treding@nvidia.com>
Mon, 12 Mar 2018 08:46:35 +0000 (09:46 +0100)
commitded8d7fe8d363d20430d38c402768056e38cc3eb
tree59ecf6d79b99fcc76153118ffcad07ba2fb405c2
parent683ad26121ed3ae47b204583eb7b220c700101fe
drm/panel: otm8009a: Add support for the optional power-supply

Add support for the optional power-supply.

Note: A "dummy regulator" is returned by devm_regulator_get()
if the optional regulator is not present in the device tree,
simplifying the source code when enabling/disabling the regulator.

Signed-off-by: Philippe Cornu <philippe.cornu@st.com>
Reviewed-by: Yannick Fertré <yannick.fertre@st.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180205094532.23547-3-philippe.cornu@st.com
drivers/gpu/drm/panel/panel-orisetech-otm8009a.c