summaryrefslogtreecommitdiff
path: root/colors.h
blob: ee4cd12fa37a295d3da25aa48b72e2aa467ccd58 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#ifndef COLORS_H
#define COLORS_H

#define __reset                 "0"

#define __bold                  "1"

#define __black                 "30"
#define __red                   "31"
#define __green                 "32"
#define __yellow                "33"
#define __blue                  "34"
#define __magenta               "35"
#define __cyan                  "36"
#define __white                 "37"

#define __on_black              "40"
#define __on_red                "41"
#define __on_green              "42"
#define __on_yellow             "43"
#define __on_blue               "44"
#define __on_magenta            "45"
#define __on_cyan               "46"
#define __on_white              "47"

#endif /* COLORS_H */
nux/net-next.git/commit/drivers?h=nds-private-remove&id=4e013b64c1ee3a60438caa0df6bf79664e0272bc'>4e013b64c1ee3a60438caa0df6bf79664e0272bc (patch) tree0beb3ffb4af912f0bdf40329442a946d44bf68d3 /drivers parent6a57ddc97acb2a1d37ce94a237dc0fab2e5a3f5b (diff)
greybus: power_supply: Add runtime pm support
Modify Power_supply greybus driver to support runtime PM framework. During charging state, the driver will block remote device of suspending, and then enables runtime suspend when remote device is in none chargin state. Testing Done: Compiled and verified on EVT2, EVT2 1x2 GPB test module and Device class daughter board. Signed-off-by: Philip Yang <yang_philip@projectara.com> Reviewed-by: Rui Miguel Silva <rui.silva@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'drivers')