lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220217135140.5658-2-ciprian.hegbeli@analog.com>
Date:   Thu, 17 Feb 2022 15:51:38 +0200
From:   chegbeli <ciprian.hegbeli@...log.com>
To:     <jic23@...nel.org>, <robh+dt@...nel.org>,
        <linux-iio@...r.kernel.org>, <devicetree@...r.kernel.org>,
        <linux-kernel@...r.kernel.org>
CC:     chegbeli <ciprian.hegbeli@...log.com>
Subject: [PATCH 1/3] iio: add meter subdirectory

For IIO devices which are designed to measure and process power
readings.

Signed-off-by: chegbeli <ciprian.hegbeli@...log.com>
---
 drivers/iio/Kconfig        | 1 +
 drivers/iio/Makefile       | 1 +
 drivers/iio/meter/Kconfig  | 9 +++++++++
 drivers/iio/meter/Makefile | 5 +++++
 4 files changed, 16 insertions(+)
 create mode 100644 drivers/iio/meter/Kconfig
 create mode 100644 drivers/iio/meter/Makefile

diff --git a/drivers/iio/Kconfig b/drivers/iio/Kconfig
index b190846c3dc2..892c7f575416 100644
--- a/drivers/iio/Kconfig
+++ b/drivers/iio/Kconfig
@@ -86,6 +86,7 @@ source "drivers/iio/humidity/Kconfig"
 source "drivers/iio/imu/Kconfig"
 source "drivers/iio/light/Kconfig"
 source "drivers/iio/magnetometer/Kconfig"
+source "drivers/iio/meter/Kconfig"
 source "drivers/iio/multiplexer/Kconfig"
 source "drivers/iio/orientation/Kconfig"
 source "drivers/iio/test/Kconfig"
diff --git a/drivers/iio/Makefile b/drivers/iio/Makefile
index 3be08cdadd7e..c8afc053fccf 100644
--- a/drivers/iio/Makefile
+++ b/drivers/iio/Makefile
@@ -32,6 +32,7 @@ obj-y += humidity/
 obj-y += imu/
 obj-y += light/
 obj-y += magnetometer/
+obj-y += meter/
 obj-y += multiplexer/
 obj-y += orientation/
 obj-y += position/
diff --git a/drivers/iio/meter/Kconfig b/drivers/iio/meter/Kconfig
new file mode 100644
index 000000000000..d1c91eed5283
--- /dev/null
+++ b/drivers/iio/meter/Kconfig
@@ -0,0 +1,9 @@
+# SPDX-License-Identifier: GPL-2.0
+#
+# Energy meter drivers
+#
+# When adding new entries keep the list in alphabetical order
+
+menu "Active energy metering"
+
+endmenu
diff --git a/drivers/iio/meter/Makefile b/drivers/iio/meter/Makefile
new file mode 100644
index 000000000000..c27cba44fc0b
--- /dev/null
+++ b/drivers/iio/meter/Makefile
@@ -0,0 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0
+#
+# Makefile for enrgy metering drivers
+#
+# When adding new entries keep the list in alphabetical order
-- 
2.34.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ