]> git.baikalelectronics.ru Git - 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)
commit7ed39cae724579b5aac4143d4b0c7daa0cd73ad8
tree59ecf6d79b99fcc76153118ffcad07ba2fb405c2
parent8e8ebbe04700983f12922bcf948d09e747b8c9c0
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