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
192 192
193#define DPLL_PHASE_OFFSET_DIVIDER 1000193#define DPLL_PHASE_OFFSET_DIVIDER 1000
194 194
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 */
201enum dpll_feature_state {
202 DPLL_FEATURE_STATE_DISABLE,
203 DPLL_FEATURE_STATE_ENABLE,
204};
205
195enum dpll_a {206enum dpll_a {
196 DPLL_A_ID = 1,207 DPLL_A_ID = 1,
197 DPLL_A_MODULE_NAME,208 DPLL_A_MODULE_NAME,
@@ -204,6 +215,7 @@ enum dpll_a { · 6 unmodified lines
204 DPLL_A_TYPE,215 DPLL_A_TYPE,
205 DPLL_A_LOCK_STATUS_ERROR,216 DPLL_A_LOCK_STATUS_ERROR,
206 DPLL_A_CLOCK_QUALITY_LEVEL,217 DPLL_A_CLOCK_QUALITY_LEVEL,
218 DPLL_A_PHASE_OFFSET_MONITOR,
207 219
208 __DPLL_A_MAX,220 __DPLL_A_MAX,
209 DPLL_A_MAX = (__DPLL_A_MAX - 1)221 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