Add software bezel control 31/225831/1 accepted/tizen/5.5/unified/20200227.121139 submit/tizen_5.5/20200226.105102
authorYoungjae Cho <y0.cho@samsung.com>
Mon, 24 Feb 2020 04:10:54 +0000 (13:10 +0900)
committerHyotaek Shim <hyotaek.shim@samsung.com>
Tue, 25 Feb 2020 02:11:35 +0000 (02:11 +0000)
Change-Id: I6eb441abc0ea10e96d14bb3b4d7f114e0689efe3
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
(cherry picked from commit f66ad5ff8275412eab4c0bc4279764033ee81ad8)

hw/bezel.h

index a908702..93a2ba6 100644 (file)
@@ -37,9 +37,16 @@ enum bezel_state {
 struct bezel_device {
        struct hw_common common;
 
-       /* Control display state */
+       /* Control hardware bezel or software bezel.
+        * They are mutually exclusive. If a pair of get/set function exists,
+        * the other pair must not. */
+
+       /* Control hardware bezel state */
        int (*get_state)(enum bezel_state *state);
        int (*set_state)(enum bezel_state state);
+       /* Control software bezel state */
+       int (*get_sw_state)(enum bezel_state *state);
+       int (*set_sw_state)(enum bezel_state state);
 };
 
 #endif