From: Youngjae Cho Date: Mon, 24 Feb 2020 04:10:54 +0000 (+0900) Subject: Add software bezel control X-Git-Tag: submit/tizen/20200225.024742^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F90%2F225690%2F3;p=platform%2Fcore%2Fsystem%2Flibdevice-node.git Add software bezel control Change-Id: I6eb441abc0ea10e96d14bb3b4d7f114e0689efe3 Signed-off-by: Youngjae Cho --- diff --git a/hw/bezel.h b/hw/bezel.h index a908702..93a2ba6 100644 --- a/hw/bezel.h +++ b/hw/bezel.h @@ -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