summaryrefslogtreecommitdiffstats
path: root/include/linux/platform_data/ina2xx.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/platform_data/ina2xx.h')
-rw-r--r--include/linux/platform_data/ina2xx.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/include/linux/platform_data/ina2xx.h b/include/linux/platform_data/ina2xx.h
new file mode 100644
index 000000000..2aa5ee9a9
--- /dev/null
+++ b/include/linux/platform_data/ina2xx.h
@@ -0,0 +1,16 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+/*
+ * Driver for Texas Instruments INA219, INA226 power monitor chips
+ *
+ * Copyright (C) 2012 Lothar Felten <lothar.felten@gmail.com>
+ *
+ * For further information, see the Documentation/hwmon/ina2xx.rst file.
+ */
+
+/**
+ * struct ina2xx_platform_data - ina2xx info
+ * @shunt_uohms shunt resistance in microohms
+ */
+struct ina2xx_platform_data {
+ long shunt_uohms;
+};