History

dpll: add phase-offset-monitor feature to netlink spec

Add enum dpll_feature_state for control over features. Add dpll device level attribute: DPLL_A_PHASE_OFFSET_MONITOR - to allow control over a phase offset monitor feature. Attribute is present and shall return current state of a feature (enum dpll_feature_state), if the device driver provides such capability, otherwie attribute shall not be present.

Arkadiusz Kubalewski committed 1 year ago

Commit c035e731 parent bd1d76a4 files · +57 −2Browse files

Showing the changes to include/uapi (1 of 4 files). Show all

Unified · Split

include/uapi/linux/dpll.h+12−0
@@ -192,6 +192,17 @@ enum dpll_pin_capabilities { · 191 unmodified lines
192192
193193 #define DPLL_PHASE_OFFSET_DIVIDER 1000
194194
195+/**
196+ * enum dpll_feature_state - Allow control (enable/disable) and status checking
197+ * over features.
198+ * @DPLL_FEATURE_STATE_DISABLE: feature shall be disabled
199+ * @DPLL_FEATURE_STATE_ENABLE: feature shall be enabled
200+ */
201+enum dpll_feature_state {
202+ DPLL_FEATURE_STATE_DISABLE,
203+ DPLL_FEATURE_STATE_ENABLE,
204+};
205+
195206 enum dpll_a {
196207 DPLL_A_ID = 1,
197208 DPLL_A_MODULE_NAME,
@@ -204,6 +215,7 @@ enum dpll_a { · 6 unmodified lines
204215 DPLL_A_TYPE,
205216 DPLL_A_LOCK_STATUS_ERROR,
206217 DPLL_A_CLOCK_QUALITY_LEVEL,
218+ DPLL_A_PHASE_OFFSET_MONITOR,
207219
208220 __DPLL_A_MAX,
209221 DPLL_A_MAX = (__DPLL_A_MAX - 1)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t