Add software bezel control 90/225690/3 accepted/tizen/unified/20200225.224442 submit/tizen/20200225.024742
authorYoungjae Cho <y0.cho@samsung.com>
Mon, 24 Feb 2020 04:10:54 +0000 (13:10 +0900)
committerYoungjae Cho <y0.cho@samsung.com>
Mon, 24 Feb 2020 08:34:08 +0000 (17:34 +0900)
Change-Id: I6eb441abc0ea10e96d14bb3b4d7f114e0689efe3
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
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