[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1501620926-22669-2-git-send-email-marek.belisko@open-nandra.com>
Date: Tue, 1 Aug 2017 22:55:22 +0200
From: Marek Belisko <marek.belisko@...n-nandra.com>
To: sre@...nel.org
Cc: robh+dt@...nel.org, linux-pm@...r.kernel.org,
linux-kernel@...r.kernel.org, hns@...delico.com, pavel@....cz,
Marek Belisko <marek.belisko@...il.com>
Subject: [RFC PATCH 1/5] dt-bindings: power: Add battery types
From: Marek Belisko <marek.belisko@...il.com>
Signed-off-by: Marek Belisko <marek.belisko@...il.com>
---
include/dt-bindings/power/power.h | 11 +++++++++++
1 file changed, 11 insertions(+)
create mode 100644 include/dt-bindings/power/power.h
diff --git a/include/dt-bindings/power/power.h b/include/dt-bindings/power/power.h
new file mode 100644
index 0000000..ea36d7f
--- /dev/null
+++ b/include/dt-bindings/power/power.h
@@ -0,0 +1,11 @@
+#ifndef _DT_BINDINGS_POWER_H
+#define _DT_BINDINGS_POWER_H
+
+#define POWER_SUPPLY_TECHNOLOGY_NiMH 1
+#define POWER_SUPPLY_TECHNOLOGY_LION 2
+#define POWER_SUPPLY_TECHNOLOGY_LIPO 3
+#define POWER_SUPPLY_TECHNOLOGY_LiFe 4
+#define POWER_SUPPLY_TECHNOLOGY_NiCd 5
+#define POWER_SUPPLY_TECHNOLOGY_LiMn 6
+
+#endif /* _DT_BINDINGS_POWER_H */
--
2.7.4
Powered by blists - more mailing lists