[PATCH v4 2/7] units: Add HZ_PER_GHZ definition
From: Rodrigo Alencar via B4 Relay
Date: Fri Jan 16 2026 - 09:32:38 EST
From: Rodrigo Alencar <rodrigo.alencar@xxxxxxxxxx>
New PLL IIO driver supports output frequency of several GHz.
The new define helps to constraint DT properties and frequency
calculation parameters.
Signed-off-by: Rodrigo Alencar <rodrigo.alencar@xxxxxxxxxx>
---
include/linux/units.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/linux/units.h b/include/linux/units.h
index 00e15de33eca..06870e9e90b8 100644
--- a/include/linux/units.h
+++ b/include/linux/units.h
@@ -27,6 +27,7 @@
#define HZ_PER_KHZ 1000UL
#define HZ_PER_MHZ 1000000UL
+#define HZ_PER_GHZ 1000000000UL
#define KHZ_PER_MHZ 1000UL
#define KHZ_PER_GHZ 1000000UL
--
2.43.0