sphinx.addnodesdocument)}( rawsourcechildren]( translations LanguagesNode)}(hhh](h pending_xref)}(hhh]docutils.nodesTextChinese (Simplified)}parenthsba attributes}(ids]classes]names]dupnames]backrefs] refdomainstdreftypedoc reftarget#/translations/zh_CN/driver-api/dpllmodnameN classnameN refexplicitutagnamehhh ubh)}(hhh]hChinese (Traditional)}hh2sbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget#/translations/zh_TW/driver-api/dpllmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hItalian}hhFsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget#/translations/it_IT/driver-api/dpllmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hJapanese}hhZsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget#/translations/ja_JP/driver-api/dpllmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hKorean}hhnsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget#/translations/ko_KR/driver-api/dpllmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hSpanish}hhsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget#/translations/sp_SP/driver-api/dpllmodnameN classnameN refexplicituh1hhh ubeh}(h]h ]h"]h$]h&]current_languageEnglishuh1h hh _documenthsourceNlineNubhcomment)}(h SPDX-License-Identifier: GPL-2.0h]h SPDX-License-Identifier: GPL-2.0}hhsbah}(h]h ]h"]h$]h&] xml:spacepreserveuh1hhhhhh=/var/lib/git/docbuild/linux/Documentation/driver-api/dpll.rsthKubhsection)}(hhh](htitle)}(hThe Linux kernel dpll subsystemh]hThe Linux kernel dpll subsystem}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhhhhhKubh)}(hhh](h)}(hDPLLh]hDPLL}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhhhhhKubh paragraph)}(hPLL - Phase Locked Loop is an electronic circuit which syntonizes clock signal of a device with an external clock signal. Effectively enabling device to run on the same clock signal beat as provided on a PLL input.h]hPLL - Phase Locked Loop is an electronic circuit which syntonizes clock signal of a device with an external clock signal. Effectively enabling device to run on the same clock signal beat as provided on a PLL input.}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK hhhhubh)}(hDPLL - Digital Phase Locked Loop is an integrated circuit which in addition to plain PLL behavior incorporates a digital phase detector and may have digital divider in the loop. As a result, the frequency on DPLL's input and output may be configurable.h]hDPLL - Digital Phase Locked Loop is an integrated circuit which in addition to plain PLL behavior incorporates a digital phase detector and may have digital divider in the loop. As a result, the frequency on DPLL’s input and output may be configurable.}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhhhhubeh}(h]dpllah ]h"]dpllah$]h&]uh1hhhhhhhhKubh)}(hhh](h)}(h Subsystemh]h Subsystem}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhKubh)}(hXIThe main purpose of dpll subsystem is to provide general interface to configure devices that use any kind of Digital PLL and could use different sources of input signal to synchronize to, as well as different types of outputs. The main interface is NETLINK_GENERIC based protocol with an event monitoring multicast group defined.h]hXIThe main purpose of dpll subsystem is to provide general interface to configure devices that use any kind of Digital PLL and could use different sources of input signal to synchronize to, as well as different types of outputs. The main interface is NETLINK_GENERIC based protocol with an event monitoring multicast group defined.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjhhubeh}(h] subsystemah ]h"] subsystemah$]h&]uh1hhhhhhhhKubh)}(hhh](h)}(h Device objecth]h Device object}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj'hhhhhKubh)}(hXSingle dpll device object means single Digital PLL circuit and bunch of connected pins. It reports the supported modes of operation and current status to the user in response to the `do` request of netlink command ``DPLL_CMD_DEVICE_GET`` and list of dplls registered in the subsystem with `dump` netlink request of the same command. Changing the configuration of dpll device is done with `do` request of netlink ``DPLL_CMD_DEVICE_SET`` command. A device handle is ``DPLL_A_ID``, it shall be provided to get or set configuration of particular device in the system. It can be obtained with a ``DPLL_CMD_DEVICE_GET`` `dump` request or a ``DPLL_CMD_DEVICE_ID_GET`` `do` request, where the one must provide attributes that result in single device match.h](hSingle dpll device object means single Digital PLL circuit and bunch of connected pins. It reports the supported modes of operation and current status to the user in response to the }(hj8hhhNhNubhtitle_reference)}(h`do`h]hdo}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1j@hj8ubh request of netlink command }(hj8hhhNhNubhliteral)}(h``DPLL_CMD_DEVICE_GET``h]hDPLL_CMD_DEVICE_GET}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jThj8ubh4 and list of dplls registered in the subsystem with }(hj8hhhNhNubjA)}(h`dump`h]hdump}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1j@hj8ubh] netlink request of the same command. Changing the configuration of dpll device is done with }(hj8hhhNhNubjA)}(h`do`h]hdo}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1j@hj8ubh request of netlink }(hj8hhhNhNubjU)}(h``DPLL_CMD_DEVICE_SET``h]hDPLL_CMD_DEVICE_SET}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jThj8ubh command. A device handle is }(hj8hhhNhNubjU)}(h ``DPLL_A_ID``h]h DPLL_A_ID}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jThj8ubhq, it shall be provided to get or set configuration of particular device in the system. It can be obtained with a }(hj8hhhNhNubjU)}(h``DPLL_CMD_DEVICE_GET``h]hDPLL_CMD_DEVICE_GET}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jThj8ubh }(hj8hhhNhNubjA)}(h`dump`h]hdump}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j@hj8ubh request or a }(hj8hhhNhNubjU)}(h``DPLL_CMD_DEVICE_ID_GET``h]hDPLL_CMD_DEVICE_ID_GET}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jThj8ubh }hj8sbjA)}(h`do`h]hdo}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j@hj8ubhS request, where the one must provide attributes that result in single device match.}(hj8hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhK hj'hhubeh}(h] device-objectah ]h"] device objectah$]h&]uh1hhhhhhhhKubh)}(hhh](h)}(h Pin objecth]h Pin object}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhK/ubh)}(hXyA pin is amorphic object which represents either input or output, it could be internal component of the device, as well as externally connected. The number of pins per dpll vary, but usually multiple pins shall be provided for a single dpll device. Pin's properties, capabilities and status is provided to the user in response to `do` request of netlink ``DPLL_CMD_PIN_GET`` command. It is also possible to list all the pins that were registered in the system with `dump` request of ``DPLL_CMD_PIN_GET`` command. Configuration of a pin can be changed by `do` request of netlink ``DPLL_CMD_PIN_SET`` command. Pin handle is a ``DPLL_A_PIN_ID``, it shall be provided to get or set configuration of particular pin in the system. It can be obtained with ``DPLL_CMD_PIN_GET`` `dump` request or ``DPLL_CMD_PIN_ID_GET`` `do` request, where user provides attributes that result in single pin match.h](hXLA pin is amorphic object which represents either input or output, it could be internal component of the device, as well as externally connected. The number of pins per dpll vary, but usually multiple pins shall be provided for a single dpll device. Pin’s properties, capabilities and status is provided to the user in response to }(hjhhhNhNubjA)}(h`do`h]hdo}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j@hjubh request of netlink }(hjhhhNhNubjU)}(h``DPLL_CMD_PIN_GET``h]hDPLL_CMD_PIN_GET}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jThjubh[ command. It is also possible to list all the pins that were registered in the system with }(hjhhhNhNubjA)}(h`dump`h]hdump}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1j@hjubh request of }(hjhhhNhNubjU)}(h``DPLL_CMD_PIN_GET``h]hDPLL_CMD_PIN_GET}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jThjubh3 command. Configuration of a pin can be changed by }(hjhhhNhNubjA)}(h`do`h]hdo}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1j@hjubh request of netlink }(hjhhhNhNubjU)}(h``DPLL_CMD_PIN_SET``h]hDPLL_CMD_PIN_SET}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jThjubh command. Pin handle is a }(hjhhhNhNubjU)}(h``DPLL_A_PIN_ID``h]h DPLL_A_PIN_ID}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jThjubhl, it shall be provided to get or set configuration of particular pin in the system. It can be obtained with }(hjhhhNhNubjU)}(h``DPLL_CMD_PIN_GET``h]hDPLL_CMD_PIN_GET}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jThjubh }(hjhhhNhNubjA)}(h`dump`h]hdump}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j@hjubh request or }(hjhhhNhNubjU)}(h``DPLL_CMD_PIN_ID_GET``h]hDPLL_CMD_PIN_ID_GET}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jThjubh }hjsbjA)}(h`do`h]hdo}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j@hjubhI request, where user provides attributes that result in single pin match.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhK1hjhhubeh}(h] pin-objectah ]h"] pin objectah$]h&]uh1hhhhhhhhK/ubh)}(hhh](h)}(h Pin selectionh]h Pin selection}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhKBubh)}(hIn general, selected pin (the one which signal is driving the dpll device) can be obtained from ``DPLL_A_PIN_STATE`` attribute, and only one pin shall be in ``DPLL_PIN_STATE_CONNECTED`` state for any dpll device.h](h`In general, selected pin (the one which signal is driving the dpll device) can be obtained from }(hjhhhNhNubjU)}(h``DPLL_A_PIN_STATE``h]hDPLL_A_PIN_STATE}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jThjubh) attribute, and only one pin shall be in }(hjhhhNhNubjU)}(h``DPLL_PIN_STATE_CONNECTED``h]hDPLL_PIN_STATE_CONNECTED}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jThjubh state for any dpll device.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKDhjhhubh)}(hX<Pin selection can be done either manually or automatically, depending on hardware capabilities and active dpll device work mode (``DPLL_A_MODE`` attribute). The consequence is that there are differences for each mode in terms of available pin states, as well as for the states the user can request for a dpll device.h](hPin selection can be done either manually or automatically, depending on hardware capabilities and active dpll device work mode (}(hj6hhhNhNubjU)}(h``DPLL_A_MODE``h]h DPLL_A_MODE}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jThj6ubh attribute). The consequence is that there are differences for each mode in terms of available pin states, as well as for the states the user can request for a dpll device.}(hj6hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKIhjhhubh)}(hbIn manual mode (``DPLL_MODE_MANUAL``) the user can request or receive one of following pin states:h](hIn manual mode (}(hjVhhhNhNubjU)}(h``DPLL_MODE_MANUAL``h]hDPLL_MODE_MANUAL}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jThjVubh>) the user can request or receive one of following pin states:}(hjVhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKOhjhhubh bullet_list)}(hhh](h list_item)}(hC``DPLL_PIN_STATE_CONNECTED`` - the pin is used to drive dpll deviceh]h)}(hjh](jU)}(h``DPLL_PIN_STATE_CONNECTED``h]hDPLL_PIN_STATE_CONNECTED}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jThjubh' - the pin is used to drive dpll device}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKRhj}ubah}(h]h ]h"]h$]h&]uh1j{hjxhhhhhNubj|)}(hK``DPLL_PIN_STATE_DISCONNECTED`` - the pin is not used to drive dpll device h]h)}(hJ``DPLL_PIN_STATE_DISCONNECTED`` - the pin is not used to drive dpll deviceh](jU)}(h``DPLL_PIN_STATE_DISCONNECTED``h]hDPLL_PIN_STATE_DISCONNECTED}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jThjubh+ - the pin is not used to drive dpll device}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKShjubah}(h]h ]h"]h$]h&]uh1j{hjxhhhhhNubeh}(h]h ]h"]h$]h&]bullet-uh1jvhhhKRhjhhubh)}(hhIn automatic mode (``DPLL_MODE_AUTOMATIC``) the user can request or receive one of following pin states:h](hIn automatic mode (}(hjhhhNhNubjU)}(h``DPLL_MODE_AUTOMATIC``h]hDPLL_MODE_AUTOMATIC}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jThjubh>) the user can request or receive one of following pin states:}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKVhjhhubjw)}(hhh](j|)}(hl``DPLL_PIN_STATE_SELECTABLE`` - the pin shall be considered as valid input for automatic selection algorithmh]h)}(hl``DPLL_PIN_STATE_SELECTABLE`` - the pin shall be considered as valid input for automatic selection algorithmh](jU)}(h``DPLL_PIN_STATE_SELECTABLE``h]hDPLL_PIN_STATE_SELECTABLE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jThjubhO - the pin shall be considered as valid input for automatic selection algorithm}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKYhjubah}(h]h ]h"]h$]h&]uh1j{hjhhhhhNubj|)}(hu``DPLL_PIN_STATE_DISCONNECTED`` - the pin shall be not considered as a valid input for automatic selection algorithm h]h)}(ht``DPLL_PIN_STATE_DISCONNECTED`` - the pin shall be not considered as a valid input for automatic selection algorithmh](jU)}(h``DPLL_PIN_STATE_DISCONNECTED``h]hDPLL_PIN_STATE_DISCONNECTED}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jThjubhU - the pin shall be not considered as a valid input for automatic selection algorithm}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhK[hjubah}(h]h ]h"]h$]h&]uh1j{hjhhhhhNubeh}(h]h ]h"]h$]h&]jjuh1jvhhhKYhjhhubh)}(hIn automatic mode (``DPLL_MODE_AUTOMATIC``) the user can only receive pin state ``DPLL_PIN_STATE_CONNECTED`` once automatic selection algorithm locks a dpll device with one of the inputs.h](hIn automatic mode (}(hjEhhhNhNubjU)}(h``DPLL_MODE_AUTOMATIC``h]hDPLL_MODE_AUTOMATIC}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jThjEubh&) the user can only receive pin state }(hjEhhhNhNubjU)}(h``DPLL_PIN_STATE_CONNECTED``h]hDPLL_PIN_STATE_CONNECTED}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jThjEubhO once automatic selection algorithm locks a dpll device with one of the inputs.}(hjEhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhK^hjhhubeh}(h] pin-selectionah ]h"] pin selectionah$]h&]uh1hhhhhhhhKBubh)}(hhh](h)}(h Shared pinsh]h Shared pins}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhKcubh)}(hoA single pin object can be attached to multiple dpll devices. Then there are two groups of configuration knobs:h]hoA single pin object can be attached to multiple dpll devices. Then there are two groups of configuration knobs:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKehjhhubhenumerated_list)}(hhh](j|)}(hpSet on a pin - the configuration affects all dpll devices pin is registered to (i.e., ``DPLL_A_PIN_FREQUENCY``),h]h)}(hpSet on a pin - the configuration affects all dpll devices pin is registered to (i.e., ``DPLL_A_PIN_FREQUENCY``),h](hVSet on a pin - the configuration affects all dpll devices pin is registered to (i.e., }(hjhhhNhNubjU)}(h``DPLL_A_PIN_FREQUENCY``h]hDPLL_A_PIN_FREQUENCY}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jThjubh),}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhhjubah}(h]h ]h"]h$]h&]uh1j{hjhhhhhNubj|)}(hSet on a pin-dpll tuple - the configuration affects only selected dpll device (i.e., ``DPLL_A_PIN_PRIO``, ``DPLL_A_PIN_STATE``, ``DPLL_A_PIN_DIRECTION``). h]h)}(hSet on a pin-dpll tuple - the configuration affects only selected dpll device (i.e., ``DPLL_A_PIN_PRIO``, ``DPLL_A_PIN_STATE``, ``DPLL_A_PIN_DIRECTION``).h](hUSet on a pin-dpll tuple - the configuration affects only selected dpll device (i.e., }(hjhhhNhNubjU)}(h``DPLL_A_PIN_PRIO``h]hDPLL_A_PIN_PRIO}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jThjubh, }(hjhhhNhNubjU)}(h``DPLL_A_PIN_STATE``h]hDPLL_A_PIN_STATE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jThjubh, }(hjhhhNhNubjU)}(h``DPLL_A_PIN_DIRECTION``h]hDPLL_A_PIN_DIRECTION}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jThjubh).}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKjhjubah}(h]h ]h"]h$]h&]uh1j{hjhhhhhNubeh}(h]h ]h"]h$]h&]enumtypearabicprefixhsuffix)uh1jhjhhhhhKhubeh}(h] shared-pinsah ]h"] shared pinsah$]h&]uh1hhhhhhhhKcubh)}(hhh](h)}(h MUX-type pinsh]h MUX-type pins}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj.hhhhhKoubh)}(hXCA pin can be MUX-type, it aggregates child pins and serves as a pin multiplexer. One or more pins are registered with MUX-type instead of being directly registered to a dpll device. Pins registered with a MUX-type pin provide user with additional nested attribute ``DPLL_A_PIN_PARENT_PIN`` for each parent they were registered with. If a pin was registered with multiple parent pins, they behave like a multiple output multiplexer. In this case output of a ``DPLL_CMD_PIN_GET`` would contain multiple pin-parent nested attributes with current state related to each parent, like::h](hXA pin can be MUX-type, it aggregates child pins and serves as a pin multiplexer. One or more pins are registered with MUX-type instead of being directly registered to a dpll device. Pins registered with a MUX-type pin provide user with additional nested attribute }(hj?hhhNhNubjU)}(h``DPLL_A_PIN_PARENT_PIN``h]hDPLL_A_PIN_PARENT_PIN}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jThj?ubh for each parent they were registered with. If a pin was registered with multiple parent pins, they behave like a multiple output multiplexer. In this case output of a }(hj?hhhNhNubjU)}(h``DPLL_CMD_PIN_GET``h]hDPLL_CMD_PIN_GET}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jThj?ubhe would contain multiple pin-parent nested attributes with current state related to each parent, like:}(hj?hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKqhj.hhubh literal_block)}(h'pin': [{{ 'clock-id': 282574471561216, 'module-name': 'ice', 'capabilities': 4, 'id': 13, 'parent-pin': [ {'parent-id': 2, 'state': 'connected'}, {'parent-id': 3, 'state': 'disconnected'} ], 'type': 'synce-eth-port' }}]h]h'pin': [{{ 'clock-id': 282574471561216, 'module-name': 'ice', 'capabilities': 4, 'id': 13, 'parent-pin': [ {'parent-id': 2, 'state': 'connected'}, {'parent-id': 3, 'state': 'disconnected'} ], 'type': 'synce-eth-port' }}]}hjssbah}(h]h ]h"]h$]h&]hhuh1jqhhhK|hj.hhubh)}(hXOnly one child pin can provide its signal to the parent MUX-type pin at a time, the selection is done by requesting change of a child pin state on desired parent, with the use of ``DPLL_A_PIN_PARENT`` nested attribute. Example of netlink `set state on parent pin` message format:h](hOnly one child pin can provide its signal to the parent MUX-type pin at a time, the selection is done by requesting change of a child pin state on desired parent, with the use of }(hjhhhNhNubjU)}(h``DPLL_A_PIN_PARENT``h]hDPLL_A_PIN_PARENT}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jThjubh& nested attribute. Example of netlink }(hjhhhNhNubjA)}(h`set state on parent pin`h]hset state on parent pin}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j@hjubh message format:}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhj.hhubh block_quote)}(hX========================== ============================================= ``DPLL_A_PIN_ID`` child pin id ``DPLL_A_PIN_PARENT_PIN`` nested attribute for requesting configuration related to parent pin ``DPLL_A_PIN_PARENT_ID`` parent pin id ``DPLL_A_PIN_STATE`` requested pin state on parent ========================== ============================================= h]htable)}(hhh]htgroup)}(hhh](hcolspec)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jhjubj)}(hhh]h}(h]h ]h"]h$]h&]colwidthK-uh1jhjubhtbody)}(hhh](hrow)}(hhh](hentry)}(hhh]h)}(h``DPLL_A_PIN_ID``h]jU)}(hjh]h DPLL_A_PIN_ID}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jThjubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h child pin idh]h child pin id}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(h``DPLL_A_PIN_PARENT_PIN``h]jU)}(hj*h]hDPLL_A_PIN_PARENT_PIN}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jThj(ubah}(h]h ]h"]h$]h&]uh1hhhhKhj%ubah}(h]h ]h"]h$]h&]uh1jhj"ubj)}(hhh]h)}(hCnested attribute for requesting configuration related to parent pinh]hCnested attribute for requesting configuration related to parent pin}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjEubah}(h]h ]h"]h$]h&]uh1jhj"ubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(h``DPLL_A_PIN_PARENT_ID``h]jU)}(hjjh]hDPLL_A_PIN_PARENT_ID}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jThjhubah}(h]h ]h"]h$]h&]uh1hhhhKhjeubah}(h]h ]h"]h$]h&]uh1jhjbubj)}(hhh]h)}(h parent pin idh]h parent pin id}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(h``DPLL_A_PIN_STATE``h]jU)}(hjh]hDPLL_A_PIN_STATE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jThjubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(hrequested pin state on parenth]hrequested pin state on parent}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]colsKuh1jhjubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhhhKhj.hhubeh}(h] mux-type-pinsah ]h"] mux-type pinsah$]h&]uh1hhhhhhhhKoubh)}(hhh](h)}(h Pin priorityh]h Pin priority}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhKubh)}(hXSome devices might offer a capability of automatic pin selection mode (enum value ``DPLL_MODE_AUTOMATIC`` of ``DPLL_A_MODE`` attribute). Usually, automatic selection is performed on the hardware level, which means only pins directly connected to the dpll can be used for automatic input pin selection. In automatic selection mode, the user cannot manually select a input pin for the device, instead the user shall provide all directly connected pins with a priority ``DPLL_A_PIN_PRIO``, the device would pick a highest priority valid signal and use it to control the DPLL device. Example of netlink `set priority on parent pin` message format:h](hRSome devices might offer a capability of automatic pin selection mode (enum value }(hjhhhNhNubjU)}(h``DPLL_MODE_AUTOMATIC``h]hDPLL_MODE_AUTOMATIC}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jThjubh of }(hjhhhNhNubjU)}(h``DPLL_A_MODE``h]h DPLL_A_MODE}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jThjubhXV attribute). Usually, automatic selection is performed on the hardware level, which means only pins directly connected to the dpll can be used for automatic input pin selection. In automatic selection mode, the user cannot manually select a input pin for the device, instead the user shall provide all directly connected pins with a priority }(hjhhhNhNubjU)}(h``DPLL_A_PIN_PRIO``h]hDPLL_A_PIN_PRIO}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jThjubhr, the device would pick a highest priority valid signal and use it to control the DPLL device. Example of netlink }(hjhhhNhNubjA)}(h`set priority on parent pin`h]hset priority on parent pin}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1j@hjubh message format:}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhjhhubj)}(hX============================ ============================================= ``DPLL_A_PIN_ID`` configured pin id ``DPLL_A_PIN_PARENT_DEVICE`` nested attribute for requesting configuration related to parent dpll device ``DPLL_A_PIN_PARENT_ID`` parent dpll device id ``DPLL_A_PIN_PRIO`` requested pin prio on parent dpll ============================ ============================================= h]j)}(hhh]j)}(hhh](j)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jhjqubj)}(hhh]h}(h]h ]h"]h$]h&]colwidthK-uh1jhjqubj)}(hhh](j)}(hhh](j)}(hhh]h)}(h``DPLL_A_PIN_ID``h]jU)}(hjh]h DPLL_A_PIN_ID}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jThjubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(hconfigured pin idh]hconfigured pin id}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(h``DPLL_A_PIN_PARENT_DEVICE``h]jU)}(hjh]hDPLL_A_PIN_PARENT_DEVICE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jThjubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(hKnested attribute for requesting configuration related to parent dpll deviceh]hKnested attribute for requesting configuration related to parent dpll device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(h``DPLL_A_PIN_PARENT_ID``h]jU)}(hjh]hDPLL_A_PIN_PARENT_ID}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jThjubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh]h)}(hparent dpll device idh]hparent dpll device id}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj.ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(h``DPLL_A_PIN_PRIO``h]jU)}(hjSh]hDPLL_A_PIN_PRIO}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jThjQubah}(h]h ]h"]h$]h&]uh1hhhhKhjNubah}(h]h ]h"]h$]h&]uh1jhjKubj)}(hhh]h)}(h!requested pin prio on parent dpllh]h!requested pin prio on parent dpll}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjnubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]colsKuh1jhjnubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1jhhhKhjhhubh)}(hChild pin of MUX-type pin is not capable of automatic input pin selection, in order to configure active input of a MUX-type pin, the user needs to request desired pin state of the child pin on the parent pin, as described in the ``MUX-type pins`` chapter.h](hChild pin of MUX-type pin is not capable of automatic input pin selection, in order to configure active input of a MUX-type pin, the user needs to request desired pin state of the child pin on the parent pin, as described in the }(hjhhhNhNubjU)}(h``MUX-type pins``h]h MUX-type pins}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jThjubh chapter.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhjhhubeh}(h] pin-priorityah ]h"] pin priorityah$]h&]uh1hhhhhhhhKubh)}(hhh](h)}(h'Phase offset measurement and adjustmenth]h'Phase offset measurement and adjustment}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhKubh)}(hDevice may provide ability to measure a phase difference between signals on a pin and its parent dpll device. If pin-dpll phase offset measurement is supported, it shall be provided with ``DPLL_A_PIN_PHASE_OFFSET`` attribute for each parent dpll device.h](hDevice may provide ability to measure a phase difference between signals on a pin and its parent dpll device. If pin-dpll phase offset measurement is supported, it shall be provided with }(hjhhhNhNubjU)}(h``DPLL_A_PIN_PHASE_OFFSET``h]hDPLL_A_PIN_PHASE_OFFSET}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jThjubh' attribute for each parent dpll device.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhjhhubh)}(hXDevice may also provide ability to adjust a signal phase on a pin. If pin phase adjustment is supported, minimal and maximal values that pin handle shall be provide to the user on ``DPLL_CMD_PIN_GET`` respond with ``DPLL_A_PIN_PHASE_ADJUST_MIN`` and ``DPLL_A_PIN_PHASE_ADJUST_MAX`` attributes. Configured phase adjust value is provided with ``DPLL_A_PIN_PHASE_ADJUST`` attribute of a pin, and value change can be requested with the same attribute with ``DPLL_CMD_PIN_SET`` command.h](hDevice may also provide ability to adjust a signal phase on a pin. If pin phase adjustment is supported, minimal and maximal values that pin handle shall be provide to the user on }(hjhhhNhNubjU)}(h``DPLL_CMD_PIN_GET``h]hDPLL_CMD_PIN_GET}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jThjubh respond with }(hjhhhNhNubjU)}(h``DPLL_A_PIN_PHASE_ADJUST_MIN``h]hDPLL_A_PIN_PHASE_ADJUST_MIN}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jThjubh and }(hjhhhNhNubjU)}(h``DPLL_A_PIN_PHASE_ADJUST_MAX``h]hDPLL_A_PIN_PHASE_ADJUST_MAX}(hj) hhhNhNubah}(h]h ]h"]h$]h&]uh1jThjubh< attributes. Configured phase adjust value is provided with }(hjhhhNhNubjU)}(h``DPLL_A_PIN_PHASE_ADJUST``h]hDPLL_A_PIN_PHASE_ADJUST}(hj; hhhNhNubah}(h]h ]h"]h$]h&]uh1jThjubhT attribute of a pin, and value change can be requested with the same attribute with }(hjhhhNhNubjU)}(h``DPLL_CMD_PIN_SET``h]hDPLL_CMD_PIN_SET}(hjM hhhNhNubah}(h]h ]h"]h$]h&]uh1jThjubh command.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhjhhubj)}(hX2=============================== ====================================== ``DPLL_A_PIN_ID`` configured pin id ``DPLL_A_PIN_PHASE_ADJUST_MIN`` attr minimum value of phase adjustment ``DPLL_A_PIN_PHASE_ADJUST_MAX`` attr maximum value of phase adjustment ``DPLL_A_PIN_PHASE_ADJUST`` attr configured value of phase adjustment on parent dpll device ``DPLL_A_PIN_PARENT_DEVICE`` nested attribute for requesting configuration on given parent dpll device ``DPLL_A_PIN_PARENT_ID`` parent dpll device id ``DPLL_A_PIN_PHASE_OFFSET`` attr measured phase difference between a pin and parent dpll device =============================== ====================================== h]j)}(hhh]j)}(hhh](j)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jhjl ubj)}(hhh]h}(h]h ]h"]h$]h&]colwidthK&uh1jhjl ubj)}(hhh](j)}(hhh](j)}(hhh]h)}(h``DPLL_A_PIN_ID``h]jU)}(hj h]h DPLL_A_PIN_ID}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jThj ubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh]h)}(hconfigured pin idh]hconfigured pin id}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh](j)}(hhh]h)}(h``DPLL_A_PIN_PHASE_ADJUST_MIN``h]jU)}(hj h]hDPLL_A_PIN_PHASE_ADJUST_MIN}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jThj ubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh]h)}(h&attr minimum value of phase adjustmenth]h&attr minimum value of phase adjustment}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh](j)}(hhh]h)}(h``DPLL_A_PIN_PHASE_ADJUST_MAX``h]jU)}(hj h]hDPLL_A_PIN_PHASE_ADJUST_MAX}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jThj ubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh]h)}(h&attr maximum value of phase adjustmenth]h&attr maximum value of phase adjustment}(hj, hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj) ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh](j)}(hhh]h)}(h``DPLL_A_PIN_PHASE_ADJUST``h]jU)}(hjN h]hDPLL_A_PIN_PHASE_ADJUST}(hjP hhhNhNubah}(h]h ]h"]h$]h&]uh1jThjL ubah}(h]h ]h"]h$]h&]uh1hhhhKhjI ubah}(h]h ]h"]h$]h&]uh1jhjF ubj)}(hhh]h)}(h?attr configured value of phase adjustment on parent dpll deviceh]h?attr configured value of phase adjustment on parent dpll device}(hjl hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhji ubah}(h]h ]h"]h$]h&]uh1jhjF ubeh}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh](j)}(hhh]h)}(h``DPLL_A_PIN_PARENT_DEVICE``h]jU)}(hj h]hDPLL_A_PIN_PARENT_DEVICE}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jThj ubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh]h)}(hInested attribute for requesting configuration on given parent dpll deviceh]hInested attribute for requesting configuration on given parent dpll device}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh](j)}(hhh]h)}(h``DPLL_A_PIN_PARENT_ID``h]jU)}(hj h]hDPLL_A_PIN_PARENT_ID}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jThj ubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh]h)}(hparent dpll device idh]hparent dpll device id}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh](j)}(hhh]h)}(h``DPLL_A_PIN_PHASE_OFFSET``h]jU)}(hj h]hDPLL_A_PIN_PHASE_OFFSET}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jThj ubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh]h)}(hCattr measured phase difference between a pin and parent dpll deviceh]hCattr measured phase difference between a pin and parent dpll device}(hj, hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj) ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhjl ubeh}(h]h ]h"]h$]h&]colsKuh1jhji ubah}(h]h ]h"]h$]h&]uh1jhje ubah}(h]h ]h"]h$]h&]uh1jhhhKhjhhubh)}(hX#All phase related values are provided in pico seconds, which represents time difference between signals phase. The negative value means that phase of signal on pin is earlier in time than dpll's signal. Positive value means that phase of signal on pin is later in time than signal of a dpll.h]hX%All phase related values are provided in pico seconds, which represents time difference between signals phase. The negative value means that phase of signal on pin is earlier in time than dpll’s signal. Positive value means that phase of signal on pin is later in time than signal of a dpll.}(hj_ hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjhhubh)}(hPhase adjust (also min and max) values are integers, but measured phase offset values are fractional with 3-digit decimal places and shell be divided with ``DPLL_PIN_PHASE_OFFSET_DIVIDER`` to get integer part and modulo divided to get fractional part.h](hPhase adjust (also min and max) values are integers, but measured phase offset values are fractional with 3-digit decimal places and shell be divided with }(hjm hhhNhNubjU)}(h!``DPLL_PIN_PHASE_OFFSET_DIVIDER``h]hDPLL_PIN_PHASE_OFFSET_DIVIDER}(hju hhhNhNubah}(h]h ]h"]h$]h&]uh1jThjm ubh? to get integer part and modulo divided to get fractional part.}(hjm hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhjhhubeh}(h]'phase-offset-measurement-and-adjustmentah ]h"]'phase offset measurement and adjustmentah$]h&]uh1hhhhhhhhKubh)}(hhh](h)}(hPhase offset monitorh]hPhase offset monitor}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hhhhhKubh)}(hXPhase offset measurement is typically performed against the current active source. However, some DPLL (Digital Phase-Locked Loop) devices may offer the capability to monitor phase offsets across all available inputs. The attribute and current feature state shall be included in the response message of the ``DPLL_CMD_DEVICE_GET`` command for supported DPLL devices. In such cases, users can also control the feature using the ``DPLL_CMD_DEVICE_SET`` command by setting the ``enum dpll_feature_state`` values for the attribute. Once enabled the phase offset measurements for the input shall be returned in the ``DPLL_A_PIN_PHASE_OFFSET`` attribute.h](hX2Phase offset measurement is typically performed against the current active source. However, some DPLL (Digital Phase-Locked Loop) devices may offer the capability to monitor phase offsets across all available inputs. The attribute and current feature state shall be included in the response message of the }(hj hhhNhNubjU)}(h``DPLL_CMD_DEVICE_GET``h]hDPLL_CMD_DEVICE_GET}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jThj ubha command for supported DPLL devices. In such cases, users can also control the feature using the }(hj hhhNhNubjU)}(h``DPLL_CMD_DEVICE_SET``h]hDPLL_CMD_DEVICE_SET}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jThj ubh command by setting the }(hj hhhNhNubjU)}(h``enum dpll_feature_state``h]henum dpll_feature_state}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jThj ubhm values for the attribute. Once enabled the phase offset measurements for the input shall be returned in the }(hj hhhNhNubjU)}(h``DPLL_A_PIN_PHASE_OFFSET``h]hDPLL_A_PIN_PHASE_OFFSET}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jThj ubh attribute.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhj hhubj)}(h=============================== ======================== ``DPLL_A_PHASE_OFFSET_MONITOR`` attr state of a feature =============================== ======================== h]j)}(hhh]j)}(hhh](j)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jhj ubj)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jhj ubj)}(hhh]j)}(hhh](j)}(hhh]h)}(h``DPLL_A_PHASE_OFFSET_MONITOR``h]jU)}(hj% h]hDPLL_A_PHASE_OFFSET_MONITOR}(hj' hhhNhNubah}(h]h ]h"]h$]h&]uh1jThj# ubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh]h)}(hattr state of a featureh]hattr state of a feature}(hjC hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj@ ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]colsKuh1jhj ubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhhhKhj hhubeh}(h]phase-offset-monitorah ]h"]phase offset monitorah$]h&]uh1hhhhhhhhKubh)}(hhh](h)}(h Embedded SYNCh]h Embedded SYNC}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj~ hhhhhKubh)}(hXDevice may provide ability to use Embedded SYNC feature. It allows to embed additional SYNC signal into the base frequency of a pin - a one special pulse of base frequency signal every time SYNC signal pulse happens. The user can configure the frequency of Embedded SYNC. The Embedded SYNC capability is always related to a given base frequency and HW capabilities. The user is provided a range of Embedded SYNC frequencies supported, depending on current base frequency configured for the pin.h]hXDevice may provide ability to use Embedded SYNC feature. It allows to embed additional SYNC signal into the base frequency of a pin - a one special pulse of base frequency signal every time SYNC signal pulse happens. The user can configure the frequency of Embedded SYNC. The Embedded SYNC capability is always related to a given base frequency and HW capabilities. The user is provided a range of Embedded SYNC frequencies supported, depending on current base frequency configured for the pin.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj~ hhubj)}(hX>========================================= ================================= ``DPLL_A_PIN_ESYNC_FREQUENCY`` current Embedded SYNC frequency ``DPLL_A_PIN_ESYNC_FREQUENCY_SUPPORTED`` nest available Embedded SYNC frequency ranges ``DPLL_A_PIN_FREQUENCY_MIN`` attr minimum value of frequency ``DPLL_A_PIN_FREQUENCY_MAX`` attr maximum value of frequency ``DPLL_A_PIN_ESYNC_PULSE`` pulse type of Embedded SYNC ========================================= ================================= h]j)}(hhh]j)}(hhh](j)}(hhh]h}(h]h ]h"]h$]h&]colwidthK)uh1jhj ubj)}(hhh]h}(h]h ]h"]h$]h&]colwidthK!uh1jhj ubj)}(hhh](j)}(hhh](j)}(hhh]h)}(h``DPLL_A_PIN_ESYNC_FREQUENCY``h]jU)}(hj h]hDPLL_A_PIN_ESYNC_FREQUENCY}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jThj ubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh]h)}(hcurrent Embedded SYNC frequencyh]hcurrent Embedded SYNC frequency}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh](j)}(hhh]h)}(h(``DPLL_A_PIN_ESYNC_FREQUENCY_SUPPORTED``h]jU)}(hj h]h$DPLL_A_PIN_ESYNC_FREQUENCY_SUPPORTED}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jThj ubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh]h)}(h-nest available Embedded SYNC frequency rangesh]h-nest available Embedded SYNC frequency ranges}(hj$ hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj! ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh](j)}(hhh]h)}(h``DPLL_A_PIN_FREQUENCY_MIN``h]jU)}(hjF h]hDPLL_A_PIN_FREQUENCY_MIN}(hjH hhhNhNubah}(h]h ]h"]h$]h&]uh1jThjD ubah}(h]h ]h"]h$]h&]uh1hhhhKhjA ubah}(h]h ]h"]h$]h&]uh1jhj> ubj)}(hhh]h)}(hattr minimum value of frequencyh]hattr minimum value of frequency}(hjd hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhja ubah}(h]h ]h"]h$]h&]uh1jhj> ubeh}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh](j)}(hhh]h)}(h``DPLL_A_PIN_FREQUENCY_MAX``h]jU)}(hj h]hDPLL_A_PIN_FREQUENCY_MAX}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jThj ubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jhj~ ubj)}(hhh]h)}(hattr maximum value of frequencyh]hattr maximum value of frequency}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jhj~ ubeh}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh](j)}(hhh]h)}(h``DPLL_A_PIN_ESYNC_PULSE``h]jU)}(hj h]hDPLL_A_PIN_ESYNC_PULSE}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jThj ubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh]h)}(hpulse type of Embedded SYNCh]hpulse type of Embedded SYNC}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]colsKuh1jhj ubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhhhKhj~ hhubeh}(h] embedded-syncah ]h"] embedded syncah$]h&]uh1hhhhhhhhKubh)}(hhh](h)}(hReference SYNCh]hReference SYNC}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhMubh)}(hXThe device may support the Reference SYNC feature, which allows the combination of two inputs into a input pair. In this configuration, clock signals from both inputs are used to synchronize the DPLL device. The higher frequency signal is utilized for the loop bandwidth of the DPLL, while the lower frequency signal is used to syntonize the output signal of the DPLL device. This feature enables the provision of a high-quality loop bandwidth signal from an external source.h]hXThe device may support the Reference SYNC feature, which allows the combination of two inputs into a input pair. In this configuration, clock signals from both inputs are used to synchronize the DPLL device. The higher frequency signal is utilized for the loop bandwidth of the DPLL, while the lower frequency signal is used to syntonize the output signal of the DPLL device. This feature enables the provision of a high-quality loop bandwidth signal from an external source.}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjhhubh)}(hXTA capable input provides a list of inputs that can be bound with to create Reference SYNC. To control this feature, the user must request a desired state for a target pin: use ``DPLL_PIN_STATE_CONNECTED`` to enable or ``DPLL_PIN_STATE_DISCONNECTED`` to disable the feature. An input pin can be bound to only one other pin at any given time.h](hA capable input provides a list of inputs that can be bound with to create Reference SYNC. To control this feature, the user must request a desired state for a target pin: use }(hj>hhhNhNubjU)}(h``DPLL_PIN_STATE_CONNECTED``h]hDPLL_PIN_STATE_CONNECTED}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jThj>ubh to enable or }(hj>hhhNhNubjU)}(h``DPLL_PIN_STATE_DISCONNECTED``h]hDPLL_PIN_STATE_DISCONNECTED}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jThj>ubh[ to disable the feature. An input pin can be bound to only one other pin at any given time.}(hj>hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhM hjhhubj)}(hX============================== ========================================== ``DPLL_A_PIN_REFERENCE_SYNC`` nested attribute for providing info or requesting configuration of the Reference SYNC feature ``DPLL_A_PIN_ID`` target pin id for Reference SYNC feature ``DPLL_A_PIN_STATE`` state of Reference SYNC connection ============================== ========================================== h]j)}(hhh]j)}(hhh](j)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jhjwubj)}(hhh]h}(h]h ]h"]h$]h&]colwidthK*uh1jhjwubj)}(hhh](j)}(hhh](j)}(hhh]h)}(h``DPLL_A_PIN_REFERENCE_SYNC``h]jU)}(hjh]hDPLL_A_PIN_REFERENCE_SYNC}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jThjubah}(h]h ]h"]h$]h&]uh1hhhhMhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h]nested attribute for providing info or requesting configuration of the Reference SYNC featureh]h]nested attribute for providing info or requesting configuration of the Reference SYNC feature}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(h``DPLL_A_PIN_ID``h]jU)}(hjh]h DPLL_A_PIN_ID}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jThjubah}(h]h ]h"]h$]h&]uh1hhhhMhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h(target pin id for Reference SYNC featureh]h(target pin id for Reference SYNC feature}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(h``DPLL_A_PIN_STATE``h]jU)}(hjh]hDPLL_A_PIN_STATE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jThjubah}(h]h ]h"]h$]h&]uh1hhhhMhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h"state of Reference SYNC connectionh]h"state of Reference SYNC connection}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhj4ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]colsKuh1jhjtubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jhhhMhjhhubeh}(h]reference-syncah ]h"]reference syncah$]h&]uh1hhhhhhhhMubh)}(hhh](h)}(hConfiguration commands grouph]hConfiguration commands group}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjrhhhhhMubh)}(hXAConfiguration commands are used to get information about registered dpll devices (and pins), as well as set configuration of device or pins. As dpll devices must be abstracted and reflect real hardware, there is no way to add new dpll device via netlink from user space and each device should be registered by its driver.h]hXAConfiguration commands are used to get information about registered dpll devices (and pins), as well as set configuration of device or pins. As dpll devices must be abstracted and reflect real hardware, there is no way to add new dpll device via netlink from user space and each device should be registered by its driver.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjrhhubh)}(hAll netlink commands require ``GENL_ADMIN_PERM``. This is to prevent any spamming/DoS from unauthorized userspace applications.h](hAll netlink commands require }(hjhhhNhNubjU)}(h``GENL_ADMIN_PERM``h]hGENL_ADMIN_PERM}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jThjubhO. This is to prevent any spamming/DoS from unauthorized userspace applications.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhM"hjrhhubeh}(h]configuration-commands-groupah ]h"]configuration commands groupah$]h&]uh1hhhhhhhhMubh)}(hhh](h)}(h1List of netlink commands with possible attributesh]h1List of netlink commands with possible attributes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhM&ubh)}(hConstants identifying command types for dpll device uses a ``DPLL_CMD_`` prefix and suffix according to command purpose. The dpll device related attributes use a ``DPLL_A_`` prefix and suffix according to attribute purpose.h](h;Constants identifying command types for dpll device uses a }(hjhhhNhNubjU)}(h ``DPLL_CMD_``h]h DPLL_CMD_}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jThjubhZ prefix and suffix according to command purpose. The dpll device related attributes use a }(hjhhhNhNubjU)}(h ``DPLL_A_``h]hDPLL_A_}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jThjubh2 prefix and suffix according to attribute purpose.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhM(hjhhubj)}(hX==================================== ================================= ``DPLL_CMD_DEVICE_ID_GET`` command to get device ID ``DPLL_A_MODULE_NAME`` attr module name of registerer ``DPLL_A_CLOCK_ID`` attr Unique Clock Identifier (EUI-64), as defined by the IEEE 1588 standard ``DPLL_A_TYPE`` attr type of dpll device ==================================== ================================= ==================================== ================================= ``DPLL_CMD_DEVICE_GET`` command to get device info or dump list of available devices ``DPLL_A_ID`` attr unique dpll device ID ``DPLL_A_MODULE_NAME`` attr module name of registerer ``DPLL_A_CLOCK_ID`` attr Unique Clock Identifier (EUI-64), as defined by the IEEE 1588 standard ``DPLL_A_MODE`` attr selection mode ``DPLL_A_MODE_SUPPORTED`` attr available selection modes ``DPLL_A_LOCK_STATUS`` attr dpll device lock status ``DPLL_A_TEMP`` attr device temperature info ``DPLL_A_TYPE`` attr type of dpll device ==================================== ================================= ==================================== ================================= ``DPLL_CMD_DEVICE_SET`` command to set dpll device config ``DPLL_A_ID`` attr internal dpll device index ``DPLL_A_MODE`` attr selection mode to configure ==================================== ================================= h](j)}(hhh]j)}(hhh](j)}(hhh]h}(h]h ]h"]h$]h&]colwidthK$uh1jhjubj)}(hhh]h}(h]h ]h"]h$]h&]colwidthK!uh1jhjubj)}(hhh](j)}(hhh](j)}(hhh]h)}(h``DPLL_CMD_DEVICE_ID_GET``h]jU)}(hj%h]hDPLL_CMD_DEVICE_ID_GET}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jThj#ubah}(h]h ]h"]h$]h&]uh1hhhhM.hj ubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(hcommand to get device IDh]hcommand to get device ID}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM.hj@ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(h``DPLL_A_MODULE_NAME``h]jU)}(hjeh]hDPLL_A_MODULE_NAME}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jThjcubah}(h]h ]h"]h$]h&]uh1hhhhM/hj`ubah}(h]h ]h"]h$]h&]uh1jhj]ubj)}(hhh]h)}(hattr module name of registererh]hattr module name of registerer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM/hjubah}(h]h ]h"]h$]h&]uh1jhj]ubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(h``DPLL_A_CLOCK_ID``h]jU)}(hjh]hDPLL_A_CLOCK_ID}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jThjubah}(h]h ]h"]h$]h&]uh1hhhhM0hjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(hKattr Unique Clock Identifier (EUI-64), as defined by the IEEE 1588 standardh]hKattr Unique Clock Identifier (EUI-64), as defined by the IEEE 1588 standard}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM0hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(h``DPLL_A_TYPE``h]jU)}(hjh]h DPLL_A_TYPE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jThjubah}(h]h ]h"]h$]h&]uh1hhhhM3hjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(hattr type of dpll deviceh]hattr type of dpll device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM3hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]colsKuh1jhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]j)}(hhh](j)}(hhh]h}(h]h ]h"]h$]h&]colwidthK$uh1jhj3ubj)}(hhh]h}(h]h ]h"]h$]h&]colwidthK!uh1jhj3ubj)}(hhh](j)}(hhh](j)}(hhh]h)}(h``DPLL_CMD_DEVICE_GET``h]jU)}(hjUh]hDPLL_CMD_DEVICE_GET}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jThjSubah}(h]h ]h"]h$]h&]uh1hhhhM7hjPubah}(h]h ]h"]h$]h&]uh1jhjMubj)}(hhh]h)}(hhjPubah}(h]h ]h"]h$]h&]uh1jhjMubj)}(hhh]h)}(hattr selection modeh]hattr selection mode}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM>hjpubah}(h]h ]h"]h$]h&]uh1jhjMubeh}(h]h ]h"]h$]h&]uh1jhjJubj)}(hhh](j)}(hhh]h)}(h``DPLL_A_MODE_SUPPORTED``h]jU)}(hjh]hDPLL_A_MODE_SUPPORTED}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jThjubah}(h]h ]h"]h$]h&]uh1hhhhM?hjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(hattr available selection modesh]hattr available selection modes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM?hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjJubj)}(hhh](j)}(hhh]h)}(h``DPLL_A_LOCK_STATUS``h]jU)}(hjh]hDPLL_A_LOCK_STATUS}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jThjubah}(h]h ]h"]h$]h&]uh1hhhhM@hjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(hattr dpll device lock statush]hattr dpll device lock status}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM@hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjJubj)}(hhh](j)}(hhh]h)}(h``DPLL_A_TEMP``h]jU)}(hjh]h DPLL_A_TEMP}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jThjubah}(h]h ]h"]h$]h&]uh1hhhhMAhjubah}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh]h)}(hattr device temperature infoh]hattr device temperature info}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMAhj0ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhjJubj)}(hhh](j)}(hhh]h)}(h``DPLL_A_TYPE``h]jU)}(hjUh]h DPLL_A_TYPE}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jThjSubah}(h]h ]h"]h$]h&]uh1hhhhMBhjPubah}(h]h ]h"]h$]h&]uh1jhjMubj)}(hhh]h)}(hattr type of dpll deviceh]hattr type of dpll device}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMBhjpubah}(h]h ]h"]h$]h&]uh1jhjMubeh}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]colsKuh1jhj0ubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]j)}(hhh](j)}(hhh]h}(h]h ]h"]h$]h&]colwidthK$uh1jhjubj)}(hhh]h}(h]h ]h"]h$]h&]colwidthK!uh1jhjubj)}(hhh](j)}(hhh](j)}(hhh]h)}(h``DPLL_CMD_DEVICE_SET``h]jU)}(hjh]hDPLL_CMD_DEVICE_SET}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jThjubah}(h]h ]h"]h$]h&]uh1hhhhMFhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h!command to set dpll device configh]h!command to set dpll device config}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMFhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(h ``DPLL_A_ID``h]jU)}(hjh]h DPLL_A_ID}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jThjubah}(h]h ]h"]h$]h&]uh1hhhhMGhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(hattr internal dpll device indexh]hattr internal dpll device index}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMGhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(h``DPLL_A_MODE``h]jU)}(hjEh]h DPLL_A_MODE}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jThjCubah}(h]h ]h"]h$]h&]uh1hhhhMHhj@ubah}(h]h ]h"]h$]h&]uh1jhj=ubj)}(hhh]h)}(h attr selection mode to configureh]h attr selection mode to configure}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMHhj`ubah}(h]h ]h"]h$]h&]uh1jhj=ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]colsKuh1jhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhhhM-hjhhubh)}(hConstants identifying command types for pins uses a ``DPLL_CMD_PIN_`` prefix and suffix according to command purpose. The pin related attributes use a ``DPLL_A_PIN_`` prefix and suffix according to attribute purpose.h](h4Constants identifying command types for pins uses a }(hjhhhNhNubjU)}(h``DPLL_CMD_PIN_``h]h DPLL_CMD_PIN_}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jThjubhR prefix and suffix according to command purpose. The pin related attributes use a }(hjhhhNhNubjU)}(h``DPLL_A_PIN_``h]h DPLL_A_PIN_}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jThjubh2 prefix and suffix according to attribute purpose.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMKhjhhubj)}(hX#==================================== ================================= ``DPLL_CMD_PIN_ID_GET`` command to get pin ID ``DPLL_A_PIN_MODULE_NAME`` attr module name of registerer ``DPLL_A_PIN_CLOCK_ID`` attr Unique Clock Identifier (EUI-64), as defined by the IEEE 1588 standard ``DPLL_A_PIN_BOARD_LABEL`` attr pin board label provided by registerer ``DPLL_A_PIN_PANEL_LABEL`` attr pin panel label provided by registerer ``DPLL_A_PIN_PACKAGE_LABEL`` attr pin package label provided by registerer ``DPLL_A_PIN_TYPE`` attr type of a pin ==================================== ================================= ==================================== ================================== ``DPLL_CMD_PIN_GET`` command to get pin info or dump list of available pins ``DPLL_A_PIN_ID`` attr unique a pin ID ``DPLL_A_PIN_MODULE_NAME`` attr module name of registerer ``DPLL_A_PIN_CLOCK_ID`` attr Unique Clock Identifier (EUI-64), as defined by the IEEE 1588 standard ``DPLL_A_PIN_BOARD_LABEL`` attr pin board label provided by registerer ``DPLL_A_PIN_PANEL_LABEL`` attr pin panel label provided by registerer ``DPLL_A_PIN_PACKAGE_LABEL`` attr pin package label provided by registerer ``DPLL_A_PIN_TYPE`` attr type of a pin ``DPLL_A_PIN_FREQUENCY`` attr current frequency of a pin ``DPLL_A_PIN_FREQUENCY_SUPPORTED`` nested attr provides supported frequencies ``DPLL_A_PIN_ANY_FREQUENCY_MIN`` attr minimum value of frequency ``DPLL_A_PIN_ANY_FREQUENCY_MAX`` attr maximum value of frequency ``DPLL_A_PIN_PHASE_ADJUST_MIN`` attr minimum value of phase adjustment ``DPLL_A_PIN_PHASE_ADJUST_MAX`` attr maximum value of phase adjustment ``DPLL_A_PIN_PHASE_ADJUST`` attr configured value of phase adjustment on parent device ``DPLL_A_PIN_PARENT_DEVICE`` nested attr for each parent device the pin is connected with ``DPLL_A_PIN_PARENT_ID`` attr parent dpll device id ``DPLL_A_PIN_PRIO`` attr priority of pin on the dpll device ``DPLL_A_PIN_STATE`` attr state of pin on the parent dpll device ``DPLL_A_PIN_DIRECTION`` attr direction of a pin on the parent dpll device ``DPLL_A_PIN_PHASE_OFFSET`` attr measured phase difference between a pin and parent dpll ``DPLL_A_PIN_PARENT_PIN`` nested attr for each parent pin the pin is connected with ``DPLL_A_PIN_PARENT_ID`` attr parent pin id ``DPLL_A_PIN_STATE`` attr state of pin on the parent pin ``DPLL_A_PIN_CAPABILITIES`` attr bitmask of pin capabilities ==================================== ================================== ==================================== ================================= ``DPLL_CMD_PIN_SET`` command to set pins configuration ``DPLL_A_PIN_ID`` attr unique a pin ID ``DPLL_A_PIN_FREQUENCY`` attr requested frequency of a pin ``DPLL_A_PIN_PHASE_ADJUST`` attr requested value of phase adjustment on parent device ``DPLL_A_PIN_PARENT_DEVICE`` nested attr for each parent dpll device configuration request ``DPLL_A_PIN_PARENT_ID`` attr parent dpll device id ``DPLL_A_PIN_DIRECTION`` attr requested direction of a pin ``DPLL_A_PIN_PRIO`` attr requested priority of pin on the dpll device ``DPLL_A_PIN_STATE`` attr requested state of pin on the dpll device ``DPLL_A_PIN_PARENT_PIN`` nested attr for each parent pin configuration request ``DPLL_A_PIN_PARENT_ID`` attr parent pin id ``DPLL_A_PIN_STATE`` attr requested state of pin on parent pin ==================================== ================================= h](j)}(hhh]j)}(hhh](j)}(hhh]h}(h]h ]h"]h$]h&]colwidthK$uh1jhjubj)}(hhh]h}(h]h ]h"]h$]h&]colwidthK!uh1jhjubj)}(hhh](j)}(hhh](j)}(hhh]h)}(h``DPLL_CMD_PIN_ID_GET``h]jU)}(hjh]hDPLL_CMD_PIN_ID_GET}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jThjubah}(h]h ]h"]h$]h&]uh1hhhhMQhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(hcommand to get pin IDh]hcommand to get pin ID}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMQhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(h``DPLL_A_PIN_MODULE_NAME``h]jU)}(hj1h]hDPLL_A_PIN_MODULE_NAME}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jThj/ubah}(h]h ]h"]h$]h&]uh1hhhhMRhj,ubah}(h]h ]h"]h$]h&]uh1jhj)ubj)}(hhh]h)}(hattr module name of registererh]hattr module name of registerer}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMRhjLubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(h``DPLL_A_PIN_CLOCK_ID``h]jU)}(hjqh]hDPLL_A_PIN_CLOCK_ID}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jThjoubah}(h]h ]h"]h$]h&]uh1hhhhMShjlubah}(h]h ]h"]h$]h&]uh1jhjiubj)}(hhh]h)}(hKattr Unique Clock Identifier (EUI-64), as defined by the IEEE 1588 standardh]hKattr Unique Clock Identifier (EUI-64), as defined by the IEEE 1588 standard}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMShjubah}(h]h ]h"]h$]h&]uh1jhjiubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(h``DPLL_A_PIN_BOARD_LABEL``h]jU)}(hjh]hDPLL_A_PIN_BOARD_LABEL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jThjubah}(h]h ]h"]h$]h&]uh1hhhhMVhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h+attr pin board label provided by registererh]h+attr pin board label provided by registerer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMVhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(h``DPLL_A_PIN_PANEL_LABEL``h]jU)}(hjh]hDPLL_A_PIN_PANEL_LABEL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jThjubah}(h]h ]h"]h$]h&]uh1hhhhMXhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h+attr pin panel label provided by registererh]h+attr pin panel label provided by registerer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMXhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(h``DPLL_A_PIN_PACKAGE_LABEL``h]jU)}(hj1h]hDPLL_A_PIN_PACKAGE_LABEL}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jThj/ubah}(h]h ]h"]h$]h&]uh1hhhhMZhj,ubah}(h]h ]h"]h$]h&]uh1jhj)ubj)}(hhh]h)}(h-attr pin package label provided by registererh]h-attr pin package label provided by registerer}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMZhjLubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(h``DPLL_A_PIN_TYPE``h]jU)}(hjqh]hDPLL_A_PIN_TYPE}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jThjoubah}(h]h ]h"]h$]h&]uh1hhhhM\hjlubah}(h]h ]h"]h$]h&]uh1jhjiubj)}(hhh]h)}(hattr type of a pinh]hattr type of a pin}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM\hjubah}(h]h ]h"]h$]h&]uh1jhjiubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]colsKuh1jhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]j)}(hhh](j)}(hhh]h}(h]h ]h"]h$]h&]colwidthK$uh1jhjubj)}(hhh]h}(h]h ]h"]h$]h&]colwidthK"uh1jhjubj)}(hhh](j)}(hhh](j)}(hhh]h)}(h``DPLL_CMD_PIN_GET``h]jU)}(hjh]hDPLL_CMD_PIN_GET}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jThjubah}(h]h ]h"]h$]h&]uh1hhhhM`hjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h6command to get pin info or dump list of available pinsh]h6command to get pin info or dump list of available pins}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM`hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(h``DPLL_A_PIN_ID``h]jU)}(hj!h]h DPLL_A_PIN_ID}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jThjubah}(h]h ]h"]h$]h&]uh1hhhhMbhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(hattr unique a pin IDh]hattr unique a pin ID}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMbhj<ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(h``DPLL_A_PIN_MODULE_NAME``h]jU)}(hjah]hDPLL_A_PIN_MODULE_NAME}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jThj_ubah}(h]h ]h"]h$]h&]uh1hhhhMchj\ubah}(h]h ]h"]h$]h&]uh1jhjYubj)}(hhh]h)}(hattr module name of registererh]hattr module name of registerer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMchj|ubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(h``DPLL_A_PIN_CLOCK_ID``h]jU)}(hjh]hDPLL_A_PIN_CLOCK_ID}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jThjubah}(h]h ]h"]h$]h&]uh1hhhhMdhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(hKattr Unique Clock Identifier (EUI-64), as defined by the IEEE 1588 standardh]hKattr Unique Clock Identifier (EUI-64), as defined by the IEEE 1588 standard}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMdhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(h``DPLL_A_PIN_BOARD_LABEL``h]jU)}(hjh]hDPLL_A_PIN_BOARD_LABEL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jThjubah}(h]h ]h"]h$]h&]uh1hhhhMghjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h+attr pin board label provided by registererh]h+attr pin board label provided by registerer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMghjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(h``DPLL_A_PIN_PANEL_LABEL``h]jU)}(hj!h]hDPLL_A_PIN_PANEL_LABEL}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jThjubah}(h]h ]h"]h$]h&]uh1hhhhMihjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h+attr pin panel label provided by registererh]h+attr pin panel label provided by registerer}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMihj<ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(h``DPLL_A_PIN_PACKAGE_LABEL``h]jU)}(hjah]hDPLL_A_PIN_PACKAGE_LABEL}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jThj_ubah}(h]h ]h"]h$]h&]uh1hhhhMkhj\ubah}(h]h ]h"]h$]h&]uh1jhjYubj)}(hhh]h)}(h-attr pin package label provided by registererh]h-attr pin package label provided by registerer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMkhj|ubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(h``DPLL_A_PIN_TYPE``h]jU)}(hjh]hDPLL_A_PIN_TYPE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jThjubah}(h]h ]h"]h$]h&]uh1hhhhMmhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(hattr type of a pinh]hattr type of a pin}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMmhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(h``DPLL_A_PIN_FREQUENCY``h]jU)}(hjh]hDPLL_A_PIN_FREQUENCY}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jThjubah}(h]h ]h"]h$]h&]uh1hhhhMnhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(hattr current frequency of a pinh]hattr current frequency of a pin}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMnhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(h"``DPLL_A_PIN_FREQUENCY_SUPPORTED``h]jU)}(hj!h]hDPLL_A_PIN_FREQUENCY_SUPPORTED}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jThjubah}(h]h ]h"]h$]h&]uh1hhhhMohjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h*nested attr provides supported frequenciesh]h*nested attr provides supported frequencies}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMohj<ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(h ``DPLL_A_PIN_ANY_FREQUENCY_MIN``h]jU)}(hjah]hDPLL_A_PIN_ANY_FREQUENCY_MIN}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jThj_ubah}(h]h ]h"]h$]h&]uh1hhhhMqhj\ubah}(h]h ]h"]h$]h&]uh1jhjYubj)}(hhh]h)}(hattr minimum value of frequencyh]hattr minimum value of frequency}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMqhj|ubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(h ``DPLL_A_PIN_ANY_FREQUENCY_MAX``h]jU)}(hjh]hDPLL_A_PIN_ANY_FREQUENCY_MAX}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jThjubah}(h]h ]h"]h$]h&]uh1hhhhMrhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(hattr maximum value of frequencyh]hattr maximum value of frequency}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMrhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(h``DPLL_A_PIN_PHASE_ADJUST_MIN``h]jU)}(hjh]hDPLL_A_PIN_PHASE_ADJUST_MIN}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jThjubah}(h]h ]h"]h$]h&]uh1hhhhMshjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h&attr minimum value of phase adjustmenth]h&attr minimum value of phase adjustment}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMshjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(h``DPLL_A_PIN_PHASE_ADJUST_MAX``h]jU)}(hj!h]hDPLL_A_PIN_PHASE_ADJUST_MAX}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jThjubah}(h]h ]h"]h$]h&]uh1hhhhMuhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h&attr maximum value of phase adjustmenth]h&attr maximum value of phase adjustment}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMuhj<ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(h``DPLL_A_PIN_PHASE_ADJUST``h]jU)}(hjah]hDPLL_A_PIN_PHASE_ADJUST}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jThj_ubah}(h]h ]h"]h$]h&]uh1hhhhMwhj\ubah}(h]h ]h"]h$]h&]uh1jhjYubj)}(hhh]h)}(h:attr configured value of phase adjustment on parent deviceh]h:attr configured value of phase adjustment on parent device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMwhj|ubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(h``DPLL_A_PIN_PARENT_DEVICE``h]jU)}(hjh]hDPLL_A_PIN_PARENT_DEVICE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jThjubah}(h]h ]h"]h$]h&]uh1hhhhMyhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h")}(henum dpll_lock_statush](jD")}(hjG"h]henum}(hj#hhhNhNubah}(h]h ]jP"ah"]h$]h&]uh1jC"hj#hhhZ/var/lib/git/docbuild/linux/Documentation/driver-api/dpll:454: ./include/uapi/linux/dpll.hhKubjV")}(h h]h }(hj#hhhNhNubah}(h]h ]jb"ah"]h$]h&]uh1jU"hj#hhhj#hKubjg")}(hdpll_lock_statush]jm")}(hj~#h]hdpll_lock_status}(hj#hhhNhNubah}(h]h ]jx"ah"]h$]h&]uh1jl"hj#ubah}(h]h ](j"j"eh"]h$]h&]hhuh1jf"hj#hhhj#hKubeh}(h]h ]h"]h$]h&]hhj"uh1j="j"j"hj|#hhhj#hKubah}(h]jw#ah ](j"j"eh"]h$]h&]j"j")j"huh1j7"hj#hKhjy#hhubj")}(hhh]h)}(h^provides information of dpll device lock status, valid values for DPLL_A_LOCK_STATUS attributeh]h^provides information of dpll device lock status, valid values for DPLL_A_LOCK_STATUS attribute}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/dpll:454: ./include/uapi/linux/dpll.hhKhj#hhubah}(h]h ]h"]h$]h&]uh1j"hjy#hhhj#hKubeh}(h]h ](j"enumeh"]h$]h&]j"j"j"j#j"j#j"j"j"uh1j2"hhhj"hNhNubj")}(hX**Constants** ``DPLL_LOCK_STATUS_UNLOCKED`` dpll was not yet locked to any valid input (or forced by setting DPLL_A_MODE to DPLL_MODE_DETACHED) ``DPLL_LOCK_STATUS_LOCKED`` dpll is locked to a valid signal, but no holdover available ``DPLL_LOCK_STATUS_LOCKED_HO_ACQ`` dpll is locked and holdover acquired ``DPLL_LOCK_STATUS_HOLDOVER`` dpll is in holdover state - lost a valid lock or was forced by disconnecting all the pins (latter possible only when dpll lock-state was already DPLL_LOCK_STATUS_LOCKED_HO_ACQ, if dpll lock-state was not DPLL_LOCK_STATUS_LOCKED_HO_ACQ, the dpll's lock-state shall remain DPLL_LOCK_STATUS_UNLOCKED)h](h)}(h **Constants**h]j")}(hj#h]h Constants}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1j"hj#ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/dpll:454: ./include/uapi/linux/dpll.hhK!hj#ubj")}(hhh](j")}(h``DPLL_LOCK_STATUS_UNLOCKED`` dpll was not yet locked to any valid input (or forced by setting DPLL_A_MODE to DPLL_MODE_DETACHED) h](j")}(h``DPLL_LOCK_STATUS_UNLOCKED``h]jU)}(hj$h]hDPLL_LOCK_STATUS_UNLOCKED}(hj $hhhNhNubah}(h]h ]h"]h$]h&]uh1jThj$ubah}(h]h ]h"]h$]h&]uh1j"hZ/var/lib/git/docbuild/linux/Documentation/driver-api/dpll:454: ./include/uapi/linux/dpll.hhK%hj$ubj#)}(hhh]h)}(hcdpll was not yet locked to any valid input (or forced by setting DPLL_A_MODE to DPLL_MODE_DETACHED)h]hcdpll was not yet locked to any valid input (or forced by setting DPLL_A_MODE to DPLL_MODE_DETACHED)}(hj $hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/dpll:454: ./include/uapi/linux/dpll.hhK$hj$ubah}(h]h ]h"]h$]h&]uh1j#hj$ubeh}(h]h ]h"]h$]h&]uh1j"hj$hK%hj#ubj")}(hX``DPLL_LOCK_STATUS_LOCKED`` dpll is locked to a valid signal, but no holdover available h](j")}(h``DPLL_LOCK_STATUS_LOCKED``h]jU)}(hjA$h]hDPLL_LOCK_STATUS_LOCKED}(hjC$hhhNhNubah}(h]h ]h"]h$]h&]uh1jThj?$ubah}(h]h ]h"]h$]h&]uh1j"hZ/var/lib/git/docbuild/linux/Documentation/driver-api/dpll:454: ./include/uapi/linux/dpll.hhK)hj;$ubj#)}(hhh]h)}(h;dpll is locked to a valid signal, but no holdover availableh]h;dpll is locked to a valid signal, but no holdover available}(hjZ$hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/dpll:454: ./include/uapi/linux/dpll.hhK(hjW$ubah}(h]h ]h"]h$]h&]uh1j#hj;$ubeh}(h]h ]h"]h$]h&]uh1j"hjV$hK)hj#ubj")}(hH``DPLL_LOCK_STATUS_LOCKED_HO_ACQ`` dpll is locked and holdover acquired h](j")}(h"``DPLL_LOCK_STATUS_LOCKED_HO_ACQ``h]jU)}(hj{$h]hDPLL_LOCK_STATUS_LOCKED_HO_ACQ}(hj}$hhhNhNubah}(h]h ]h"]h$]h&]uh1jThjy$ubah}(h]h ]h"]h$]h&]uh1j"hZ/var/lib/git/docbuild/linux/Documentation/driver-api/dpll:454: ./include/uapi/linux/dpll.hhK,hju$ubj#)}(hhh]h)}(h$dpll is locked and holdover acquiredh]h$dpll is locked and holdover acquired}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj$hK,hj$ubah}(h]h ]h"]h$]h&]uh1j#hju$ubeh}(h]h ]h"]h$]h&]uh1j"hj$hK,hj#ubj")}(hXG``DPLL_LOCK_STATUS_HOLDOVER`` dpll is in holdover state - lost a valid lock or was forced by disconnecting all the pins (latter possible only when dpll lock-state was already DPLL_LOCK_STATUS_LOCKED_HO_ACQ, if dpll lock-state was not DPLL_LOCK_STATUS_LOCKED_HO_ACQ, the dpll's lock-state shall remain DPLL_LOCK_STATUS_UNLOCKED)h](j")}(h``DPLL_LOCK_STATUS_HOLDOVER``h]jU)}(hj$h]hDPLL_LOCK_STATUS_HOLDOVER}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jThj$ubah}(h]h ]h"]h$]h&]uh1j"hZ/var/lib/git/docbuild/linux/Documentation/driver-api/dpll:454: ./include/uapi/linux/dpll.hhK2hj$ubj#)}(hhh]h)}(hX)dpll is in holdover state - lost a valid lock or was forced by disconnecting all the pins (latter possible only when dpll lock-state was already DPLL_LOCK_STATUS_LOCKED_HO_ACQ, if dpll lock-state was not DPLL_LOCK_STATUS_LOCKED_HO_ACQ, the dpll's lock-state shall remain DPLL_LOCK_STATUS_UNLOCKED)h]hX+dpll is in holdover state - lost a valid lock or was forced by disconnecting all the pins (latter possible only when dpll lock-state was already DPLL_LOCK_STATUS_LOCKED_HO_ACQ, if dpll lock-state was not DPLL_LOCK_STATUS_LOCKED_HO_ACQ, the dpll’s lock-state shall remain DPLL_LOCK_STATUS_UNLOCKED)}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/dpll:454: ./include/uapi/linux/dpll.hhK/hj$ubah}(h]h ]h"]h$]h&]uh1j#hj$ubeh}(h]h ]h"]h$]h&]uh1j"hj$hK2hj#ubeh}(h]h ]h"]h$]h&]uh1j"hj#ubeh}(h]h ] kernelindentah"]h$]h&]uh1j"hj"hhhNhNubj"")}(hhh]h}(h]h ]h"]h$]h&]entries](j."dpll_lock_status_error (C enum)c.dpll_lock_status_errorhNtauh1j!"hj"hhhNhNubj3")}(hhh](j8")}(hdpll_lock_status_errorh]j>")}(henum dpll_lock_status_errorh](jD")}(hjG"h]henum}(hj%hhhNhNubah}(h]h ]jP"ah"]h$]h&]uh1jC"hj %hhhZ/var/lib/git/docbuild/linux/Documentation/driver-api/dpll:454: ./include/uapi/linux/dpll.hhK8ubjV")}(h h]h }(hj%hhhNhNubah}(h]h ]jb"ah"]h$]h&]uh1jU"hj %hhhj%hK8ubjg")}(hdpll_lock_status_errorh]jm")}(hj%h]hdpll_lock_status_error}(hj.%hhhNhNubah}(h]h ]jx"ah"]h$]h&]uh1jl"hj*%ubah}(h]h ](j"j"eh"]h$]h&]hhuh1jf"hj %hhhj%hK8ubeh}(h]h ]h"]h$]h&]hhj"uh1j="j"j"hj%hhhj%hK8ubah}(h]j%ah ](j"j"eh"]h$]h&]j"j")j"huh1j7"hj%hK8hj%hhubj")}(hhh]h)}(hif previous status change was done due to a failure, this provides information of dpll device lock status error. Valid values for DPLL_A_LOCK_STATUS_ERROR attributeh]hif previous status change was done due to a failure, this provides information of dpll device lock status error. Valid values for DPLL_A_LOCK_STATUS_ERROR attribute}(hjP%hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/dpll:454: ./include/uapi/linux/dpll.hhK6hjM%hhubah}(h]h ]h"]h$]h&]uh1j"hj%hhhj%hK8ubeh}(h]h ](j"enumeh"]h$]h&]j"j"j"jh%j"jh%j"j"j"uh1j2"hhhj"hNhNubj")}(hX0**Constants** ``DPLL_LOCK_STATUS_ERROR_NONE`` dpll device lock status was changed without any error ``DPLL_LOCK_STATUS_ERROR_UNDEFINED`` dpll device lock status was changed due to undefined error. Driver fills this value up in case it is not able to obtain suitable exact error type. ``DPLL_LOCK_STATUS_ERROR_MEDIA_DOWN`` dpll device lock status was changed because of associated media got down. This may happen for example if dpll device was previously locked on an input pin of type PIN_TYPE_SYNCE_ETH_PORT. ``DPLL_LOCK_STATUS_ERROR_FRACTIONAL_FREQUENCY_OFFSET_TOO_HIGH`` the FFO (Fractional Frequency Offset) between the RX and TX symbol rate on the media got too high. This may happen for example if dpll device was previously locked on an input pin of type PIN_TYPE_SYNCE_ETH_PORT.h](h)}(h **Constants**h]j")}(hjr%h]h Constants}(hjt%hhhNhNubah}(h]h ]h"]h$]h&]uh1j"hjp%ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/dpll:454: ./include/uapi/linux/dpll.hhK:hjl%ubj")}(hhh](j")}(hV``DPLL_LOCK_STATUS_ERROR_NONE`` dpll device lock status was changed without any error h](j")}(h``DPLL_LOCK_STATUS_ERROR_NONE``h]jU)}(hj%h]hDPLL_LOCK_STATUS_ERROR_NONE}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jThj%ubah}(h]h ]h"]h$]h&]uh1j"hZ/var/lib/git/docbuild/linux/Documentation/driver-api/dpll:454: ./include/uapi/linux/dpll.hhK>hj%ubj#)}(hhh]h)}(h5dpll device lock status was changed without any errorh]h5dpll device lock status was changed without any error}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/dpll:454: ./include/uapi/linux/dpll.hhK=hj%ubah}(h]h ]h"]h$]h&]uh1j#hj%ubeh}(h]h ]h"]h$]h&]uh1j"hj%hK>hj%ubj")}(h``DPLL_LOCK_STATUS_ERROR_UNDEFINED`` dpll device lock status was changed due to undefined error. Driver fills this value up in case it is not able to obtain suitable exact error type. h](j")}(h$``DPLL_LOCK_STATUS_ERROR_UNDEFINED``h]jU)}(hj%h]h DPLL_LOCK_STATUS_ERROR_UNDEFINED}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jThj%ubah}(h]h ]h"]h$]h&]uh1j"hZ/var/lib/git/docbuild/linux/Documentation/driver-api/dpll:454: ./include/uapi/linux/dpll.hhKChj%ubj#)}(hhh]h)}(hdpll device lock status was changed due to undefined error. Driver fills this value up in case it is not able to obtain suitable exact error type.h]hdpll device lock status was changed due to undefined error. Driver fills this value up in case it is not able to obtain suitable exact error type.}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/dpll:454: ./include/uapi/linux/dpll.hhKAhj%ubah}(h]h ]h"]h$]h&]uh1j#hj%ubeh}(h]h ]h"]h$]h&]uh1j"hj%hKChj%ubj")}(h``DPLL_LOCK_STATUS_ERROR_MEDIA_DOWN`` dpll device lock status was changed because of associated media got down. This may happen for example if dpll device was previously locked on an input pin of type PIN_TYPE_SYNCE_ETH_PORT. h](j")}(h%``DPLL_LOCK_STATUS_ERROR_MEDIA_DOWN``h]jU)}(hj&h]h!DPLL_LOCK_STATUS_ERROR_MEDIA_DOWN}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jThj&ubah}(h]h ]h"]h$]h&]uh1j"hZ/var/lib/git/docbuild/linux/Documentation/driver-api/dpll:454: ./include/uapi/linux/dpll.hhKIhj%ubj#)}(hhh]h)}(hdpll device lock status was changed because of associated media got down. This may happen for example if dpll device was previously locked on an input pin of type PIN_TYPE_SYNCE_ETH_PORT.h]hdpll device lock status was changed because of associated media got down. This may happen for example if dpll device was previously locked on an input pin of type PIN_TYPE_SYNCE_ETH_PORT.}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/dpll:454: ./include/uapi/linux/dpll.hhKFhj&ubah}(h]h ]h"]h$]h&]uh1j#hj%ubeh}(h]h ]h"]h$]h&]uh1j"hj&hKIhj%ubj")}(hX``DPLL_LOCK_STATUS_ERROR_FRACTIONAL_FREQUENCY_OFFSET_TOO_HIGH`` the FFO (Fractional Frequency Offset) between the RX and TX symbol rate on the media got too high. This may happen for example if dpll device was previously locked on an input pin of type PIN_TYPE_SYNCE_ETH_PORT.h](j")}(h?``DPLL_LOCK_STATUS_ERROR_FRACTIONAL_FREQUENCY_OFFSET_TOO_HIGH``h]jU)}(hj?&h]h;DPLL_LOCK_STATUS_ERROR_FRACTIONAL_FREQUENCY_OFFSET_TOO_HIGH}(hjA&hhhNhNubah}(h]h ]h"]h$]h&]uh1jThj=&ubah}(h]h ]h"]h$]h&]uh1j"hZ/var/lib/git/docbuild/linux/Documentation/driver-api/dpll:454: ./include/uapi/linux/dpll.hhKNhj9&ubj#)}(hhh]h)}(hthe FFO (Fractional Frequency Offset) between the RX and TX symbol rate on the media got too high. This may happen for example if dpll device was previously locked on an input pin of type PIN_TYPE_SYNCE_ETH_PORT.h]hthe FFO (Fractional Frequency Offset) between the RX and TX symbol rate on the media got too high. This may happen for example if dpll device was previously locked on an input pin of type PIN_TYPE_SYNCE_ETH_PORT.}(hjX&hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/dpll:454: ./include/uapi/linux/dpll.hhKLhjU&ubah}(h]h ]h"]h$]h&]uh1j#hj9&ubeh}(h]h ]h"]h$]h&]uh1j"hjT&hKNhj%ubeh}(h]h ]h"]h$]h&]uh1j"hjl%ubeh}(h]h ] kernelindentah"]h$]h&]uh1j"hj"hhhNhNubj"")}(hhh]h}(h]h ]h"]h$]h&]entries](j."dpll_type (C enum) c.dpll_typehNtauh1j!"hj"hhhNhNubj3")}(hhh](j8")}(h dpll_typeh]j>")}(henum dpll_typeh](jD")}(hjG"h]henum}(hj&hhhNhNubah}(h]h ]jP"ah"]h$]h&]uh1jC"hj&hhhZ/var/lib/git/docbuild/linux/Documentation/driver-api/dpll:454: ./include/uapi/linux/dpll.hhKTubjV")}(h h]h }(hj&hhhNhNubah}(h]h ]jb"ah"]h$]h&]uh1jU"hj&hhhj&hKTubjg")}(h dpll_typeh]jm")}(hj&h]h dpll_type}(hj&hhhNhNubah}(h]h ]jx"ah"]h$]h&]uh1jl"hj&ubah}(h]h ](j"j"eh"]h$]h&]hhuh1jf"hj&hhhj&hKTubeh}(h]h ]h"]h$]h&]hhj"uh1j="j"j"hj&hhhj&hKTubah}(h]j&ah ](j"j"eh"]h$]h&]j"j")j"huh1j7"hj&hKThj&hhubj")}(hhh]h)}(h4type of dpll, valid values for DPLL_A_TYPE attributeh]h4type of dpll, valid values for DPLL_A_TYPE attribute}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/dpll:454: ./include/uapi/linux/dpll.hhKlhj&hhubah}(h]h ]h"]h$]h&]uh1j"hj&hhhj&hKTubeh}(h]h ](j"enumeh"]h$]h&]j"j"j"j&j"j&j"j"j"uh1j2"hhhj"hNhNubj")}(h**Constants** ``DPLL_TYPE_PPS`` dpll produces Pulse-Per-Second signal ``DPLL_TYPE_EEC`` dpll drives the Ethernet Equipment Clockh](h)}(h **Constants**h]j")}(hj&h]h Constants}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1j"hj&ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/dpll:454: ./include/uapi/linux/dpll.hhKphj&ubj")}(hhh](j")}(h8``DPLL_TYPE_PPS`` dpll produces Pulse-Per-Second signal h](j")}(h``DPLL_TYPE_PPS``h]jU)}(hj'h]h DPLL_TYPE_PPS}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jThj'ubah}(h]h ]h"]h$]h&]uh1j"hZ/var/lib/git/docbuild/linux/Documentation/driver-api/dpll:454: ./include/uapi/linux/dpll.hhKshj'ubj#)}(hhh]h)}(h%dpll produces Pulse-Per-Second signalh]h%dpll produces Pulse-Per-Second signal}(hj5'hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj1'hKshj2'ubah}(h]h ]h"]h$]h&]uh1j#hj'ubeh}(h]h ]h"]h$]h&]uh1j"hj1'hKshj'ubj")}(h:``DPLL_TYPE_EEC`` dpll drives the Ethernet Equipment Clockh](j")}(h``DPLL_TYPE_EEC``h]jU)}(hjU'h]h DPLL_TYPE_EEC}(hjW'hhhNhNubah}(h]h ]h"]h$]h&]uh1jThjS'ubah}(h]h ]h"]h$]h&]uh1j"hZ/var/lib/git/docbuild/linux/Documentation/driver-api/dpll:454: ./include/uapi/linux/dpll.hhKuhjO'ubj#)}(hhh]h)}(h(dpll drives the Ethernet Equipment Clockh]h(dpll drives the Ethernet Equipment Clock}(hjn'hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/dpll:454: ./include/uapi/linux/dpll.hhKvhjk'ubah}(h]h ]h"]h$]h&]uh1j#hjO'ubeh}(h]h ]h"]h$]h&]uh1j"hjj'hKuhj'ubeh}(h]h ]h"]h$]h&]uh1j"hj&ubeh}(h]h ] kernelindentah"]h$]h&]uh1j"hj"hhhNhNubj"")}(hhh]h}(h]h ]h"]h$]h&]entries](j."dpll_pin_type (C enum)c.dpll_pin_typehNtauh1j!"hj"hhhNhNubj3")}(hhh](j8")}(h dpll_pin_typeh]j>")}(henum dpll_pin_typeh](jD")}(hjG"h]henum}(hj'hhhNhNubah}(h]h ]jP"ah"]h$]h&]uh1jC"hj'hhhZ/var/lib/git/docbuild/linux/Documentation/driver-api/dpll:454: ./include/uapi/linux/dpll.hhK{ubjV")}(h h]h }(hj'hhhNhNubah}(h]h ]jb"ah"]h$]h&]uh1jU"hj'hhhj'hK{ubjg")}(h dpll_pin_typeh]jm")}(hj'h]h dpll_pin_type}(hj'hhhNhNubah}(h]h ]jx"ah"]h$]h&]uh1jl"hj'ubah}(h]h ](j"j"eh"]h$]h&]hhuh1jf"hj'hhhj'hK{ubeh}(h]h ]h"]h$]h&]hhj"uh1j="j"j"hj'hhhj'hK{ubah}(h]j'ah ](j"j"eh"]h$]h&]j"j")j"huh1j7"hj'hK{hj'hhubj")}(hhh]h)}(hKdefines possible types of a pin, valid values for DPLL_A_PIN_TYPE attributeh]hKdefines possible types of a pin, valid values for DPLL_A_PIN_TYPE attribute}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/dpll:454: ./include/uapi/linux/dpll.hhKzhj'hhubah}(h]h ]h"]h$]h&]uh1j"hj'hhhj'hK{ubeh}(h]h ](j"enumeh"]h$]h&]j"j"j"j (j"j (j"j"j"uh1j2"hhhj"hNhNubj")}(hX0**Constants** ``DPLL_PIN_TYPE_MUX`` aggregates another layer of selectable pins ``DPLL_PIN_TYPE_EXT`` external input ``DPLL_PIN_TYPE_SYNCE_ETH_PORT`` ethernet port PHY's recovered clock ``DPLL_PIN_TYPE_INT_OSCILLATOR`` device internal oscillator ``DPLL_PIN_TYPE_GNSS`` GNSS recovered clockh](h)}(h **Constants**h]j")}(hj(h]h Constants}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1j"hj(ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/dpll:454: ./include/uapi/linux/dpll.hhK~hj (ubj")}(hhh](j")}(hB``DPLL_PIN_TYPE_MUX`` aggregates another layer of selectable pins h](j")}(h``DPLL_PIN_TYPE_MUX``h]jU)}(hj2(h]hDPLL_PIN_TYPE_MUX}(hj4(hhhNhNubah}(h]h ]h"]h$]h&]uh1jThj0(ubah}(h]h ]h"]h$]h&]uh1j"hZ/var/lib/git/docbuild/linux/Documentation/driver-api/dpll:454: ./include/uapi/linux/dpll.hhKhj,(ubj#)}(hhh]h)}(h+aggregates another layer of selectable pinsh]h+aggregates another layer of selectable pins}(hjK(hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjG(hKhjH(ubah}(h]h ]h"]h$]h&]uh1j#hj,(ubeh}(h]h ]h"]h$]h&]uh1j"hjG(hKhj)(ubj")}(h%``DPLL_PIN_TYPE_EXT`` external input h](j")}(h``DPLL_PIN_TYPE_EXT``h]jU)}(hjk(h]hDPLL_PIN_TYPE_EXT}(hjm(hhhNhNubah}(h]h ]h"]h$]h&]uh1jThji(ubah}(h]h ]h"]h$]h&]uh1j"hZ/var/lib/git/docbuild/linux/Documentation/driver-api/dpll:454: ./include/uapi/linux/dpll.hhKhje(ubj#)}(hhh]h)}(hexternal inputh]hexternal input}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj(hKhj(ubah}(h]h ]h"]h$]h&]uh1j#hje(ubeh}(h]h ]h"]h$]h&]uh1j"hj(hKhj)(ubj")}(hE``DPLL_PIN_TYPE_SYNCE_ETH_PORT`` ethernet port PHY's recovered clock h](j")}(h ``DPLL_PIN_TYPE_SYNCE_ETH_PORT``h]jU)}(hj(h]hDPLL_PIN_TYPE_SYNCE_ETH_PORT}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jThj(ubah}(h]h ]h"]h$]h&]uh1j"hZ/var/lib/git/docbuild/linux/Documentation/driver-api/dpll:454: ./include/uapi/linux/dpll.hhKhj(ubj#)}(hhh]h)}(h#ethernet port PHY's recovered clockh]h%ethernet port PHY’s recovered clock}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj(hKhj(ubah}(h]h ]h"]h$]h&]uh1j#hj(ubeh}(h]h ]h"]h$]h&]uh1j"hj(hKhj)(ubj")}(h<``DPLL_PIN_TYPE_INT_OSCILLATOR`` device internal oscillator h](j")}(h ``DPLL_PIN_TYPE_INT_OSCILLATOR``h]jU)}(hj(h]hDPLL_PIN_TYPE_INT_OSCILLATOR}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jThj(ubah}(h]h ]h"]h$]h&]uh1j"hZ/var/lib/git/docbuild/linux/Documentation/driver-api/dpll:454: ./include/uapi/linux/dpll.hhKhj(ubj#)}(hhh]h)}(hdevice internal oscillatorh]hdevice internal oscillator}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj(hKhj(ubah}(h]h ]h"]h$]h&]uh1j#hj(ubeh}(h]h ]h"]h$]h&]uh1j"hj(hKhj)(ubj")}(h+``DPLL_PIN_TYPE_GNSS`` GNSS recovered clockh](j")}(h``DPLL_PIN_TYPE_GNSS``h]jU)}(hj)h]hDPLL_PIN_TYPE_GNSS}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jThj)ubah}(h]h ]h"]h$]h&]uh1j"hZ/var/lib/git/docbuild/linux/Documentation/driver-api/dpll:454: ./include/uapi/linux/dpll.hhKhj)ubj#)}(hhh]h)}(hGNSS recovered clockh]hGNSS recovered clock}(hj/)hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/dpll:454: ./include/uapi/linux/dpll.hhKhj,)ubah}(h]h ]h"]h$]h&]uh1j#hj)ubeh}(h]h ]h"]h$]h&]uh1j"hj+)hKhj)(ubeh}(h]h ]h"]h$]h&]uh1j"hj (ubeh}(h]h ] kernelindentah"]h$]h&]uh1j"hj"hhhNhNubj"")}(hhh]h}(h]h ]h"]h$]h&]entries](j."dpll_pin_direction (C enum)c.dpll_pin_directionhNtauh1j!"hj"hhhNhNubj3")}(hhh](j8")}(hdpll_pin_directionh]j>")}(henum dpll_pin_directionh](jD")}(hjG"h]henum}(hjp)hhhNhNubah}(h]h ]jP"ah"]h$]h&]uh1jC"hjl)hhhZ/var/lib/git/docbuild/linux/Documentation/driver-api/dpll:454: ./include/uapi/linux/dpll.hhKubjV")}(h h]h }(hj~)hhhNhNubah}(h]h ]jb"ah"]h$]h&]uh1jU"hjl)hhhj})hKubjg")}(hdpll_pin_directionh]jm")}(hjj)h]hdpll_pin_direction}(hj)hhhNhNubah}(h]h ]jx"ah"]h$]h&]uh1jl"hj)ubah}(h]h ](j"j"eh"]h$]h&]hhuh1jf"hjl)hhhj})hKubeh}(h]h ]h"]h$]h&]hhj"uh1j="j"j"hjh)hhhj})hKubah}(h]jc)ah ](j"j"eh"]h$]h&]j"j")j"huh1j7"hj})hKhje)hhubj")}(hhh]h)}(hTdefines possible direction of a pin, valid values for DPLL_A_PIN_DIRECTION attributeh]hTdefines possible direction of a pin, valid values for DPLL_A_PIN_DIRECTION attribute}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/dpll:454: ./include/uapi/linux/dpll.hhKhj)hhubah}(h]h ]h"]h$]h&]uh1j"hje)hhhj})hKubeh}(h]h ](j"enumeh"]h$]h&]j"j"j"j)j"j)j"j"j"uh1j2"hhhj"hNhNubj")}(h**Constants** ``DPLL_PIN_DIRECTION_INPUT`` pin used as a input of a signal ``DPLL_PIN_DIRECTION_OUTPUT`` pin used to output the signalh](h)}(h **Constants**h]j")}(hj)h]h Constants}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1j"hj)ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/dpll:454: ./include/uapi/linux/dpll.hhKhj)ubj")}(hhh](j")}(h=``DPLL_PIN_DIRECTION_INPUT`` pin used as a input of a signal h](j")}(h``DPLL_PIN_DIRECTION_INPUT``h]jU)}(hj)h]hDPLL_PIN_DIRECTION_INPUT}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jThj)ubah}(h]h ]h"]h$]h&]uh1j"hZ/var/lib/git/docbuild/linux/Documentation/driver-api/dpll:454: ./include/uapi/linux/dpll.hhKhj)ubj#)}(hhh]h)}(hpin used as a input of a signalh]hpin used as a input of a signal}(hj *hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj*hKhj *ubah}(h]h ]h"]h$]h&]uh1j#hj)ubeh}(h]h ]h"]h$]h&]uh1j"hj*hKhj)ubj")}(h;``DPLL_PIN_DIRECTION_OUTPUT`` pin used to output the signalh](j")}(h``DPLL_PIN_DIRECTION_OUTPUT``h]jU)}(hj,*h]hDPLL_PIN_DIRECTION_OUTPUT}(hj.*hhhNhNubah}(h]h ]h"]h$]h&]uh1jThj**ubah}(h]h ]h"]h$]h&]uh1j"hZ/var/lib/git/docbuild/linux/Documentation/driver-api/dpll:454: ./include/uapi/linux/dpll.hhKhj&*ubj#)}(hhh]h)}(hpin used to output the signalh]hpin used to output the signal}(hjE*hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/dpll:454: ./include/uapi/linux/dpll.hhKhjB*ubah}(h]h ]h"]h$]h&]uh1j#hj&*ubeh}(h]h ]h"]h$]h&]uh1j"hjA*hKhj)ubeh}(h]h ]h"]h$]h&]uh1j"hj)ubeh}(h]h ] kernelindentah"]h$]h&]uh1j"hj"hhhNhNubj"")}(hhh]h}(h]h ]h"]h$]h&]entries](j."dpll_pin_state (C enum)c.dpll_pin_statehNtauh1j!"hj"hhhNhNubj3")}(hhh](j8")}(hdpll_pin_stateh]j>")}(henum dpll_pin_stateh](jD")}(hjG"h]henum}(hj*hhhNhNubah}(h]h ]jP"ah"]h$]h&]uh1jC"hj*hhhZ/var/lib/git/docbuild/linux/Documentation/driver-api/dpll:454: ./include/uapi/linux/dpll.hhKubjV")}(h h]h }(hj*hhhNhNubah}(h]h ]jb"ah"]h$]h&]uh1jU"hj*hhhj*hKubjg")}(hdpll_pin_stateh]jm")}(hj*h]hdpll_pin_state}(hj*hhhNhNubah}(h]h ]jx"ah"]h$]h&]uh1jl"hj*ubah}(h]h ](j"j"eh"]h$]h&]hhuh1jf"hj*hhhj*hKubeh}(h]h ]h"]h$]h&]hhj"uh1j="j"j"hj~*hhhj*hKubah}(h]jy*ah ](j"j"eh"]h$]h&]j"j")j"huh1j7"hj*hKhj{*hhubj")}(hhh]h)}(hMdefines possible states of a pin, valid values for DPLL_A_PIN_STATE attributeh]hMdefines possible states of a pin, valid values for DPLL_A_PIN_STATE attribute}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/dpll:454: ./include/uapi/linux/dpll.hhKhj*hhubah}(h]h ]h"]h$]h&]uh1j"hj{*hhhj*hKubeh}(h]h ](j"enumeh"]h$]h&]j"j"j"j*j"j*j"j"j"uh1j2"hhhj"hNhNubj")}(hX**Constants** ``DPLL_PIN_STATE_CONNECTED`` pin connected, active input of phase locked loop ``DPLL_PIN_STATE_DISCONNECTED`` pin disconnected, not considered as a valid input ``DPLL_PIN_STATE_SELECTABLE`` pin enabled for automatic input selectionh](h)}(h **Constants**h]j")}(hj*h]h Constants}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1j"hj*ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/dpll:454: ./include/uapi/linux/dpll.hhKhj*ubj")}(hhh](j")}(hN``DPLL_PIN_STATE_CONNECTED`` pin connected, active input of phase locked loop h](j")}(h``DPLL_PIN_STATE_CONNECTED``h]jU)}(hj +h]hDPLL_PIN_STATE_CONNECTED}(hj +hhhNhNubah}(h]h ]h"]h$]h&]uh1jThj+ubah}(h]h ]h"]h$]h&]uh1j"hZ/var/lib/git/docbuild/linux/Documentation/driver-api/dpll:454: ./include/uapi/linux/dpll.hhKhj+ubj#)}(hhh]h)}(h0pin connected, active input of phase locked looph]h0pin connected, active input of phase locked loop}(hj"+hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj+hKhj+ubah}(h]h ]h"]h$]h&]uh1j#hj+ubeh}(h]h ]h"]h$]h&]uh1j"hj+hKhj+ubj")}(hR``DPLL_PIN_STATE_DISCONNECTED`` pin disconnected, not considered as a valid input h](j")}(h``DPLL_PIN_STATE_DISCONNECTED``h]jU)}(hjB+h]hDPLL_PIN_STATE_DISCONNECTED}(hjD+hhhNhNubah}(h]h ]h"]h$]h&]uh1jThj@+ubah}(h]h ]h"]h$]h&]uh1j"hZ/var/lib/git/docbuild/linux/Documentation/driver-api/dpll:454: ./include/uapi/linux/dpll.hhKhj<+ubj#)}(hhh]h)}(h1pin disconnected, not considered as a valid inputh]h1pin disconnected, not considered as a valid input}(hj[+hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/dpll:454: ./include/uapi/linux/dpll.hhKhjX+ubah}(h]h ]h"]h$]h&]uh1j#hj<+ubeh}(h]h ]h"]h$]h&]uh1j"hjW+hKhj+ubj")}(hG``DPLL_PIN_STATE_SELECTABLE`` pin enabled for automatic input selectionh](j")}(h``DPLL_PIN_STATE_SELECTABLE``h]jU)}(hj|+h]hDPLL_PIN_STATE_SELECTABLE}(hj~+hhhNhNubah}(h]h ]h"]h$]h&]uh1jThjz+ubah}(h]h ]h"]h$]h&]uh1j"hZ/var/lib/git/docbuild/linux/Documentation/driver-api/dpll:454: ./include/uapi/linux/dpll.hhKhjv+ubj#)}(hhh]h)}(h)pin enabled for automatic input selectionh]h)pin enabled for automatic input selection}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/dpll:454: ./include/uapi/linux/dpll.hhKhj+ubah}(h]h ]h"]h$]h&]uh1j#hjv+ubeh}(h]h ]h"]h$]h&]uh1j"hj+hKhj+ubeh}(h]h ]h"]h$]h&]uh1j"hj*ubeh}(h]h ] kernelindentah"]h$]h&]uh1j"hj"hhhNhNubj"")}(hhh]h}(h]h ]h"]h$]h&]entries](j."dpll_pin_capabilities (C enum)c.dpll_pin_capabilitieshNtauh1j!"hj"hhhNhNubj3")}(hhh](j8")}(hdpll_pin_capabilitiesh]j>")}(henum dpll_pin_capabilitiesh](jD")}(hjG"h]henum}(hj+hhhNhNubah}(h]h ]jP"ah"]h$]h&]uh1jC"hj+hhhZ/var/lib/git/docbuild/linux/Documentation/driver-api/dpll:454: ./include/uapi/linux/dpll.hhKubjV")}(h h]h }(hj+hhhNhNubah}(h]h ]jb"ah"]h$]h&]uh1jU"hj+hhhj+hKubjg")}(hdpll_pin_capabilitiesh]jm")}(hj+h]hdpll_pin_capabilities}(hj+hhhNhNubah}(h]h ]jx"ah"]h$]h&]uh1jl"hj+ubah}(h]h ](j"j"eh"]h$]h&]hhuh1jf"hj+hhhj+hKubeh}(h]h ]h"]h$]h&]hhj"uh1j="j"j"hj+hhhj+hKubah}(h]j+ah ](j"j"eh"]h$]h&]j"j")j"huh1j7"hj+hKhj+hhubj")}(hhh]h)}(hXdefines possible capabilities of a pin, valid flags on DPLL_A_PIN_CAPABILITIES attributeh]hXdefines possible capabilities of a pin, valid flags on DPLL_A_PIN_CAPABILITIES attribute}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/dpll:454: ./include/uapi/linux/dpll.hhKhj,hhubah}(h]h ]h"]h$]h&]uh1j"hj+hhhj+hKubeh}(h]h ](j"enumeh"]h$]h&]j"j"j"j0,j"j0,j"j"j"uh1j2"hhhj"hNhNubj")}(h**Constants** ``DPLL_PIN_CAPABILITIES_DIRECTION_CAN_CHANGE`` pin direction can be changed ``DPLL_PIN_CAPABILITIES_PRIORITY_CAN_CHANGE`` pin priority can be changed ``DPLL_PIN_CAPABILITIES_STATE_CAN_CHANGE`` pin state can be changedh](h)}(h **Constants**h]j")}(hj:,h]h Constants}(hj<,hhhNhNubah}(h]h ]h"]h$]h&]uh1j"hj8,ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/dpll:454: ./include/uapi/linux/dpll.hhKhj4,ubj")}(hhh](j")}(hL``DPLL_PIN_CAPABILITIES_DIRECTION_CAN_CHANGE`` pin direction can be changed h](j")}(h.``DPLL_PIN_CAPABILITIES_DIRECTION_CAN_CHANGE``h]jU)}(hjY,h]h*DPLL_PIN_CAPABILITIES_DIRECTION_CAN_CHANGE}(hj[,hhhNhNubah}(h]h ]h"]h$]h&]uh1jThjW,ubah}(h]h ]h"]h$]h&]uh1j"hZ/var/lib/git/docbuild/linux/Documentation/driver-api/dpll:454: ./include/uapi/linux/dpll.hhKhjS,ubj#)}(hhh]h)}(hpin direction can be changedh]hpin direction can be changed}(hjr,hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjn,hKhjo,ubah}(h]h ]h"]h$]h&]uh1j#hjS,ubeh}(h]h ]h"]h$]h&]uh1j"hjn,hKhjP,ubj")}(hJ``DPLL_PIN_CAPABILITIES_PRIORITY_CAN_CHANGE`` pin priority can be changed h](j")}(h-``DPLL_PIN_CAPABILITIES_PRIORITY_CAN_CHANGE``h]jU)}(hj,h]h)DPLL_PIN_CAPABILITIES_PRIORITY_CAN_CHANGE}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jThj,ubah}(h]h ]h"]h$]h&]uh1j"hZ/var/lib/git/docbuild/linux/Documentation/driver-api/dpll:454: ./include/uapi/linux/dpll.hhKhj,ubj#)}(hhh]h)}(hpin priority can be changedh]hpin priority can be changed}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj,hKhj,ubah}(h]h ]h"]h$]h&]uh1j#hj,ubeh}(h]h ]h"]h$]h&]uh1j"hj,hKhjP,ubj")}(hC``DPLL_PIN_CAPABILITIES_STATE_CAN_CHANGE`` pin state can be changedh](j")}(h*``DPLL_PIN_CAPABILITIES_STATE_CAN_CHANGE``h]jU)}(hj,h]h&DPLL_PIN_CAPABILITIES_STATE_CAN_CHANGE}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jThj,ubah}(h]h ]h"]h$]h&]uh1j"hZ/var/lib/git/docbuild/linux/Documentation/driver-api/dpll:454: ./include/uapi/linux/dpll.hhKhj,ubj#)}(hhh]h)}(hpin state can be changedh]hpin state can be changed}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/dpll:454: ./include/uapi/linux/dpll.hhKhj,ubah}(h]h ]h"]h$]h&]uh1j#hj,ubeh}(h]h ]h"]h$]h&]uh1j"hj,hKhjP,ubeh}(h]h ]h"]h$]h&]uh1j"hj4,ubeh}(h]h ] kernelindentah"]h$]h&]uh1j"hj"hhhNhNubj"")}(hhh]h}(h]h ]h"]h$]h&]entries](j."dpll_feature_state (C enum)c.dpll_feature_statehNtauh1j!"hj"hhhNhNubj3")}(hhh](j8")}(hdpll_feature_stateh]j>")}(henum dpll_feature_stateh](jD")}(hjG"h]henum}(hj%-hhhNhNubah}(h]h ]jP"ah"]h$]h&]uh1jC"hj!-hhhZ/var/lib/git/docbuild/linux/Documentation/driver-api/dpll:454: ./include/uapi/linux/dpll.hhKubjV")}(h h]h }(hj3-hhhNhNubah}(h]h ]jb"ah"]h$]h&]uh1jU"hj!-hhhj2-hKubjg")}(hdpll_feature_stateh]jm")}(hj-h]hdpll_feature_state}(hjE-hhhNhNubah}(h]h ]jx"ah"]h$]h&]uh1jl"hjA-ubah}(h]h ](j"j"eh"]h$]h&]hhuh1jf"hj!-hhhj2-hKubeh}(h]h ]h"]h$]h&]hhj"uh1j="j"j"hj-hhhj2-hKubah}(h]j-ah ](j"j"eh"]h$]h&]j"j")j"huh1j7"hj2-hKhj-hhubj")}(hhh]h)}(hAAllow control (enable/disable) and status checking over features.h]hAAllow control (enable/disable) and status checking over features.}(hjg-hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/dpll:454: ./include/uapi/linux/dpll.hhKhjd-hhubah}(h]h ]h"]h$]h&]uh1j"hj-hhhj2-hKubeh}(h]h ](j"enumeh"]h$]h&]j"j"j"j-j"j-j"j"j"uh1j2"hhhj"hNhNubj")}(h**Constants** ``DPLL_FEATURE_STATE_DISABLE`` feature shall be disabled ``DPLL_FEATURE_STATE_ENABLE`` feature shall be enabledh](h)}(h **Constants**h]j")}(hj-h]h Constants}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1j"hj-ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/dpll:454: ./include/uapi/linux/dpll.hhKhj-ubj")}(hhh](j")}(h9``DPLL_FEATURE_STATE_DISABLE`` feature shall be disabled h](j")}(h``DPLL_FEATURE_STATE_DISABLE``h]jU)}(hj-h]hDPLL_FEATURE_STATE_DISABLE}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jThj-ubah}(h]h ]h"]h$]h&]uh1j"hZ/var/lib/git/docbuild/linux/Documentation/driver-api/dpll:454: ./include/uapi/linux/dpll.hhKhj-ubj#)}(hhh]h)}(hfeature shall be disabledh]hfeature shall be disabled}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj-hKhj-ubah}(h]h ]h"]h$]h&]uh1j#hj-ubeh}(h]h ]h"]h$]h&]uh1j"hj-hKhj-ubj")}(h6``DPLL_FEATURE_STATE_ENABLE`` feature shall be enabledh](j")}(h``DPLL_FEATURE_STATE_ENABLE``h]jU)}(hj-h]hDPLL_FEATURE_STATE_ENABLE}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jThj-ubah}(h]h ]h"]h$]h&]uh1j"hZ/var/lib/git/docbuild/linux/Documentation/driver-api/dpll:454: ./include/uapi/linux/dpll.hhKhj-ubj#)}(hhh]h)}(hfeature shall be enabledh]hfeature shall be enabled}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/dpll:454: ./include/uapi/linux/dpll.hhKhj-ubah}(h]h ]h"]h$]h&]uh1j#hj-ubeh}(h]h ]h"]h$]h&]uh1j"hj-hKhj-ubeh}(h]h ]h"]h$]h&]uh1j"hj-ubeh}(h]h ] kernelindentah"]h$]h&]uh1j"hj"hhhNhNubeh}(h]configuration-pre-defined-enumsah ]h"]configuration pre-defined enumsah$]h&]uh1hhhhhhhhMubh)}(hhh](h)}(h Notificationsh]h Notifications}(hj-.hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj*.hhhhhMubh)}(hdpll device can provide notifications regarding status changes of the device, i.e. lock status changes, input/output changes or other alarms. There is one multicast group that is used to notify user-space apps via netlink socket: ``DPLL_MCGRP_MONITOR``h](hdpll device can provide notifications regarding status changes of the device, i.e. lock status changes, input/output changes or other alarms. There is one multicast group that is used to notify user-space apps via netlink socket: }(hj;.hhhNhNubjU)}(h``DPLL_MCGRP_MONITOR``h]hDPLL_MCGRP_MONITOR}(hjC.hhhNhNubah}(h]h ]h"]h$]h&]uh1jThj;.ubeh}(h]h ]h"]h$]h&]uh1hhhhMhj*.hhubh)}(hNotifications messages:h]hNotifications messages:}(hjW.hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhj*.hhubj)}(hX============================== ===================================== ``DPLL_CMD_DEVICE_CREATE_NTF`` dpll device was created ``DPLL_CMD_DEVICE_DELETE_NTF`` dpll device was deleted ``DPLL_CMD_DEVICE_CHANGE_NTF`` dpll device has changed ``DPLL_CMD_PIN_CREATE_NTF`` dpll pin was created ``DPLL_CMD_PIN_DELETE_NTF`` dpll pin was deleted ``DPLL_CMD_PIN_CHANGE_NTF`` dpll pin has changed ============================== ===================================== h]j)}(hhh]j)}(hhh](j)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jhjl.ubj)}(hhh]h}(h]h ]h"]h$]h&]colwidthK%uh1jhjl.ubj)}(hhh](j)}(hhh](j)}(hhh]h)}(h``DPLL_CMD_DEVICE_CREATE_NTF``h]jU)}(hj.h]hDPLL_CMD_DEVICE_CREATE_NTF}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jThj.ubah}(h]h ]h"]h$]h&]uh1hhhhMhj.ubah}(h]h ]h"]h$]h&]uh1jhj.ubj)}(hhh]h)}(hdpll device was createdh]hdpll device was created}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhj.ubah}(h]h ]h"]h$]h&]uh1jhj.ubeh}(h]h ]h"]h$]h&]uh1jhj.ubj)}(hhh](j)}(hhh]h)}(h``DPLL_CMD_DEVICE_DELETE_NTF``h]jU)}(hj.h]hDPLL_CMD_DEVICE_DELETE_NTF}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jThj.ubah}(h]h ]h"]h$]h&]uh1hhhhMhj.ubah}(h]h ]h"]h$]h&]uh1jhj.ubj)}(hhh]h)}(hdpll device was deletedh]hdpll device was deleted}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhj.ubah}(h]h ]h"]h$]h&]uh1jhj.ubeh}(h]h ]h"]h$]h&]uh1jhj.ubj)}(hhh](j)}(hhh]h)}(h``DPLL_CMD_DEVICE_CHANGE_NTF``h]jU)}(hj/h]hDPLL_CMD_DEVICE_CHANGE_NTF}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jThj /ubah}(h]h ]h"]h$]h&]uh1hhhhMhj /ubah}(h]h ]h"]h$]h&]uh1jhj/ubj)}(hhh]h)}(hdpll device has changedh]hdpll device has changed}(hj,/hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhj)/ubah}(h]h ]h"]h$]h&]uh1jhj/ubeh}(h]h ]h"]h$]h&]uh1jhj.ubj)}(hhh](j)}(hhh]h)}(h``DPLL_CMD_PIN_CREATE_NTF``h]jU)}(hjN/h]hDPLL_CMD_PIN_CREATE_NTF}(hjP/hhhNhNubah}(h]h ]h"]h$]h&]uh1jThjL/ubah}(h]h ]h"]h$]h&]uh1hhhhMhjI/ubah}(h]h ]h"]h$]h&]uh1jhjF/ubj)}(hhh]h)}(hdpll pin was createdh]hdpll pin was created}(hjl/hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhji/ubah}(h]h ]h"]h$]h&]uh1jhjF/ubeh}(h]h ]h"]h$]h&]uh1jhj.ubj)}(hhh](j)}(hhh]h)}(h``DPLL_CMD_PIN_DELETE_NTF``h]jU)}(hj/h]hDPLL_CMD_PIN_DELETE_NTF}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jThj/ubah}(h]h ]h"]h$]h&]uh1hhhhMhj/ubah}(h]h ]h"]h$]h&]uh1jhj/ubj)}(hhh]h)}(hdpll pin was deletedh]hdpll pin was deleted}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhj/ubah}(h]h ]h"]h$]h&]uh1jhj/ubeh}(h]h ]h"]h$]h&]uh1jhj.ubj)}(hhh](j)}(hhh]h)}(h``DPLL_CMD_PIN_CHANGE_NTF``h]jU)}(hj/h]hDPLL_CMD_PIN_CHANGE_NTF}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jThj/ubah}(h]h ]h"]h$]h&]uh1hhhhMhj/ubah}(h]h ]h"]h$]h&]uh1jhj/ubj)}(hhh]h)}(hdpll pin has changedh]hdpll pin has changed}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhj/ubah}(h]h ]h"]h$]h&]uh1jhj/ubeh}(h]h ]h"]h$]h&]uh1jhj.ubeh}(h]h ]h"]h$]h&]uh1jhjl.ubeh}(h]h ]h"]h$]h&]colsKuh1jhji.ubah}(h]h ]h"]h$]h&]uh1jhje.ubah}(h]h ]h"]h$]h&]uh1jhhhMhj*.hhubh)}(hEvents format is the same as for the corresponding get command. Format of ``DPLL_CMD_DEVICE_`` events is the same as response of ``DPLL_CMD_DEVICE_GET``. Format of ``DPLL_CMD_PIN_`` events is same as response of ``DPLL_CMD_PIN_GET``.h](hJEvents format is the same as for the corresponding get command. Format of }(hj0hhhNhNubjU)}(h``DPLL_CMD_DEVICE_``h]hDPLL_CMD_DEVICE_}(hj'0hhhNhNubah}(h]h ]h"]h$]h&]uh1jThj0ubh# events is the same as response of }(hj0hhhNhNubjU)}(h``DPLL_CMD_DEVICE_GET``h]hDPLL_CMD_DEVICE_GET}(hj90hhhNhNubah}(h]h ]h"]h$]h&]uh1jThj0ubh . Format of }(hj0hhhNhNubjU)}(h``DPLL_CMD_PIN_``h]h DPLL_CMD_PIN_}(hjK0hhhNhNubah}(h]h ]h"]h$]h&]uh1jThj0ubh events is same as response of }(hj0hhhNhNubjU)}(h``DPLL_CMD_PIN_GET``h]hDPLL_CMD_PIN_GET}(hj]0hhhNhNubah}(h]h ]h"]h$]h&]uh1jThj0ubh.}(hj0hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhj*.hhubeh}(h] notificationsah ]h"] notificationsah$]h&]uh1hhhhhhhhMubh)}(hhh](h)}(hDevice driver implementationh]hDevice driver implementation}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj}0hhhhhMubh)}(hXfDevice is allocated by dpll_device_get() call. Second call with the same arguments will not create new object but provides pointer to previously created device for given arguments, it also increases refcount of that object. Device is deallocated by dpll_device_put() call, which first decreases the refcount, once refcount is cleared the object is destroyed.h]hXfDevice is allocated by dpll_device_get() call. Second call with the same arguments will not create new object but provides pointer to previously created device for given arguments, it also increases refcount of that object. Device is deallocated by dpll_device_put() call, which first decreases the refcount, once refcount is cleared the object is destroyed.}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhj}0hhubh)}(hXDevice should implement set of operations and register device via dpll_device_register() at which point it becomes available to the users. Multiple driver instances can obtain reference to it with dpll_device_get(), as well as register dpll device with their own ops and priv.h]hXDevice should implement set of operations and register device via dpll_device_register() at which point it becomes available to the users. Multiple driver instances can obtain reference to it with dpll_device_get(), as well as register dpll device with their own ops and priv.}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhj}0hhubh)}(hX The pins are allocated separately with dpll_pin_get(), it works similarly to dpll_device_get(). Function first creates object and then for each call with the same arguments only the object refcount increases. Also dpll_pin_put() works similarly to dpll_device_put().h]hX The pins are allocated separately with dpll_pin_get(), it works similarly to dpll_device_get(). Function first creates object and then for each call with the same arguments only the object refcount increases. Also dpll_pin_put() works similarly to dpll_device_put().}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhj}0hhubh)}(hA pin can be registered with parent dpll device or parent pin, depending on hardware needs. Each registration requires registerer to provide set of pin callbacks, and private data pointer for calling them:h]hA pin can be registered with parent dpll device or parent pin, depending on hardware needs. Each registration requires registerer to provide set of pin callbacks, and private data pointer for calling them:}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhj}0hhubjw)}(hhh](j|)}(h6dpll_pin_register() - register pin with a dpll device,h]h)}(hj0h]h6dpll_pin_register() - register pin with a dpll device,}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhj0ubah}(h]h ]h"]h$]h&]uh1j{hj0hhhhhNubj|)}(hEdpll_pin_on_pin_register() - register pin with another MUX type pin. h]h)}(hDdpll_pin_on_pin_register() - register pin with another MUX type pin.h]hDdpll_pin_on_pin_register() - register pin with another MUX type pin.}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhj0ubah}(h]h ]h"]h$]h&]uh1j{hj0hhhhhNubeh}(h]h ]h"]h$]h&]jjuh1jvhhhMhj}0hhubh)}(hXNotifications of adding or removing dpll devices are created within subsystem itself. Notifications about registering/deregistering pins are also invoked by the subsystem. Notifications about status changes either of dpll device or a pin are invoked in two ways:h]hXNotifications of adding or removing dpll devices are created within subsystem itself. Notifications about registering/deregistering pins are also invoked by the subsystem. Notifications about status changes either of dpll device or a pin are invoked in two ways:}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhj}0hhubjw)}(hhh](j|)}(hhafter successful change was requested on dpll subsystem, the subsystem calls corresponding notification,h]h)}(hhafter successful change was requested on dpll subsystem, the subsystem calls corresponding notification,h]hhafter successful change was requested on dpll subsystem, the subsystem calls corresponding notification,}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhj1ubah}(h]h ]h"]h$]h&]uh1j{hj 1hhhhhNubj|)}(hrequested by device driver with dpll_device_change_ntf() or dpll_pin_change_ntf() when driver informs about the status change. h]h)}(h~requested by device driver with dpll_device_change_ntf() or dpll_pin_change_ntf() when driver informs about the status change.h]h~requested by device driver with dpll_device_change_ntf() or dpll_pin_change_ntf() when driver informs about the status change.}(hj+1hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhj'1ubah}(h]h ]h"]h$]h&]uh1j{hj 1hhhhhNubeh}(h]h ]h"]h$]h&]jjuh1jvhhhMhj}0hhubh)}(hThe device driver using dpll interface is not required to implement all the callback operation. Nevertheless, there are few required to be implemented. Required dpll device level callback operations:h]hThe device driver using dpll interface is not required to implement all the callback operation. Nevertheless, there are few required to be implemented. Required dpll device level callback operations:}(hjE1hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM hj}0hhubjw)}(hhh](j|)}(h``.mode_get``,h]h)}(hjX1h](jU)}(h ``.mode_get``h]h .mode_get}(hj]1hhhNhNubah}(h]h ]h"]h$]h&]uh1jThjZ1ubh,}(hjZ1hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhjV1ubah}(h]h ]h"]h$]h&]uh1j{hjS1hhhhhNubj|)}(h``.lock_status_get``. h]h)}(h``.lock_status_get``.h](jU)}(h``.lock_status_get``h]h.lock_status_get}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jThj1ubh.}(hj1hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhj{1ubah}(h]h ]h"]h$]h&]uh1j{hjS1hhhhhNubeh}(h]h ]h"]h$]h&]jjuh1jvhhhMhj}0hhubh)}(h'Required pin level callback operations:h]h'Required pin level callback operations:}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhj}0hhubjw)}(hhh](j|)}(h:``.state_on_dpll_get`` (pins registered with dpll device),h]h)}(hj1h](jU)}(h``.state_on_dpll_get``h]h.state_on_dpll_get}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jThj1ubh$ (pins registered with dpll device),}(hj1hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhj1ubah}(h]h ]h"]h$]h&]uh1j{hj1hhhhhNubj|)}(h8``.state_on_pin_get`` (pins registered with parent pin),h]h)}(hj1h](jU)}(h``.state_on_pin_get``h]h.state_on_pin_get}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jThj1ubh# (pins registered with parent pin),}(hj1hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhj1ubah}(h]h ]h"]h$]h&]uh1j{hj1hhhhhNubj|)}(h``.direction_get``. h]h)}(h``.direction_get``.h](jU)}(h``.direction_get``h]h.direction_get}(hj 2hhhNhNubah}(h]h ]h"]h$]h&]uh1jThj2ubh.}(hj2hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhj2ubah}(h]h ]h"]h$]h&]uh1j{hj1hhhhhNubeh}(h]h ]h"]h$]h&]jjuh1jvhhhMhj}0hhubh)}(h~Every other operation handler is checked for existence and ``-EOPNOTSUPP`` is returned in case of absence of specific handler.h](h;Every other operation handler is checked for existence and }(hj.2hhhNhNubjU)}(h``-EOPNOTSUPP``h]h -EOPNOTSUPP}(hj62hhhNhNubah}(h]h ]h"]h$]h&]uh1jThj.2ubh4 is returned in case of absence of specific handler.}(hj.2hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhj}0hhubh)}(hdThe simplest implementation is in the OCP TimeCard driver. The ops structures are defined like this:h]hdThe simplest implementation is in the OCP TimeCard driver. The ops structures are defined like this:}(hjN2hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhj}0hhubjr)}(hXstatic const struct dpll_device_ops dpll_ops = { .lock_status_get = ptp_ocp_dpll_lock_status_get, .mode_get = ptp_ocp_dpll_mode_get, .mode_supported = ptp_ocp_dpll_mode_supported, }; static const struct dpll_pin_ops dpll_pins_ops = { .frequency_get = ptp_ocp_dpll_frequency_get, .frequency_set = ptp_ocp_dpll_frequency_set, .direction_get = ptp_ocp_dpll_direction_get, .direction_set = ptp_ocp_dpll_direction_set, .state_on_dpll_get = ptp_ocp_dpll_state_get, };h]hXstatic const struct dpll_device_ops dpll_ops = { .lock_status_get = ptp_ocp_dpll_lock_status_get, .mode_get = ptp_ocp_dpll_mode_get, .mode_supported = ptp_ocp_dpll_mode_supported, }; static const struct dpll_pin_ops dpll_pins_ops = { .frequency_get = ptp_ocp_dpll_frequency_get, .frequency_set = ptp_ocp_dpll_frequency_set, .direction_get = ptp_ocp_dpll_direction_get, .direction_set = ptp_ocp_dpll_direction_set, .state_on_dpll_get = ptp_ocp_dpll_state_get, };}hj\2sbah}(h]h ]h"]h$]h&]hhforcelanguagej"highlight_args}uh1jqhhhMhj}0hhubh)}(h3The registration part is then looks like this part:h]h3The registration part is then looks like this part:}(hjn2hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM.hj}0hhubjr)}(hX clkid = pci_get_dsn(pdev); bp->dpll = dpll_device_get(clkid, 0, THIS_MODULE); if (IS_ERR(bp->dpll)) { err = PTR_ERR(bp->dpll); dev_err(&pdev->dev, "dpll_device_alloc failed\n"); goto out; } err = dpll_device_register(bp->dpll, DPLL_TYPE_PPS, &dpll_ops, bp); if (err) goto out; for (i = 0; i < OCP_SMA_NUM; i++) { bp->sma[i].dpll_pin = dpll_pin_get(clkid, i, THIS_MODULE, &bp->sma[i].dpll_prop); if (IS_ERR(bp->sma[i].dpll_pin)) { err = PTR_ERR(bp->dpll); goto out_dpll; } err = dpll_pin_register(bp->dpll, bp->sma[i].dpll_pin, &dpll_pins_ops, &bp->sma[i]); if (err) { dpll_pin_put(bp->sma[i].dpll_pin); goto out_dpll; } }h]hX clkid = pci_get_dsn(pdev); bp->dpll = dpll_device_get(clkid, 0, THIS_MODULE); if (IS_ERR(bp->dpll)) { err = PTR_ERR(bp->dpll); dev_err(&pdev->dev, "dpll_device_alloc failed\n"); goto out; } err = dpll_device_register(bp->dpll, DPLL_TYPE_PPS, &dpll_ops, bp); if (err) goto out; for (i = 0; i < OCP_SMA_NUM; i++) { bp->sma[i].dpll_pin = dpll_pin_get(clkid, i, THIS_MODULE, &bp->sma[i].dpll_prop); if (IS_ERR(bp->sma[i].dpll_pin)) { err = PTR_ERR(bp->dpll); goto out_dpll; } err = dpll_pin_register(bp->dpll, bp->sma[i].dpll_pin, &dpll_pins_ops, &bp->sma[i]); if (err) { dpll_pin_put(bp->sma[i].dpll_pin); goto out_dpll; } }}hj|2sbah}(h]h ]h"]h$]h&]hhjj2jk2j"jl2}uh1jqhhhM0hj}0hhubh)}(hJIn the error path we have to rewind every allocation in the reverse order:h]hJIn the error path we have to rewind every allocation in the reverse order:}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMMhj}0hhubjr)}(hwhile (i) { --i; dpll_pin_unregister(bp->dpll, bp->sma[i].dpll_pin, &dpll_pins_ops, &bp->sma[i]); dpll_pin_put(bp->sma[i].dpll_pin); } dpll_device_put(bp->dpll);h]hwhile (i) { --i; dpll_pin_unregister(bp->dpll, bp->sma[i].dpll_pin, &dpll_pins_ops, &bp->sma[i]); dpll_pin_put(bp->sma[i].dpll_pin); } dpll_device_put(bp->dpll);}hj2sbah}(h]h ]h"]h$]h&]hhjj2jk2j"jl2}uh1jqhhhMOhj}0hhubh)}(hPMore complex example can be found in Intel's ICE driver or nVidia's mlx5 driver.h]hTMore complex example can be found in Intel’s ICE driver or nVidia’s mlx5 driver.}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMXhj}0hhubeh}(h]device-driver-implementationah ]h"]device driver implementationah$]h&]uh1hhhhhhhhMubh)}(hhh](h)}(hSyncE enablementh]hSyncE enablement}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj2hhhhhM[ubh)}(hXFor SyncE enablement it is required to allow control over dpll device for a software application which monitors and configures the inputs of dpll device in response to current state of a dpll device and its inputs. In such scenario, dpll device input signal shall be also configurable to drive dpll with signal recovered from the PHY netdevice. This is done by exposing a pin to the netdevice - attaching pin to the netdevice itself with ``dpll_netdev_pin_set(struct net_device *dev, struct dpll_pin *dpll_pin)``. Exposed pin id handle ``DPLL_A_PIN_ID`` is then identifiable by the user as it is attached to rtnetlink respond to get ``RTM_NEWLINK`` command in nested attribute ``IFLA_DPLL_PIN``.h](hXFor SyncE enablement it is required to allow control over dpll device for a software application which monitors and configures the inputs of dpll device in response to current state of a dpll device and its inputs. In such scenario, dpll device input signal shall be also configurable to drive dpll with signal recovered from the PHY netdevice. This is done by exposing a pin to the netdevice - attaching pin to the netdevice itself with }(hj2hhhNhNubjU)}(hJ``dpll_netdev_pin_set(struct net_device *dev, struct dpll_pin *dpll_pin)``h]hFdpll_netdev_pin_set(struct net_device *dev, struct dpll_pin *dpll_pin)}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jThj2ubh. Exposed pin id handle }(hj2hhhNhNubjU)}(h``DPLL_A_PIN_ID``h]h DPLL_A_PIN_ID}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jThj2ubhP is then identifiable by the user as it is attached to rtnetlink respond to get }(hj2hhhNhNubjU)}(h``RTM_NEWLINK``h]h RTM_NEWLINK}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jThj2ubh command in nested attribute }(hj2hhhNhNubjU)}(h``IFLA_DPLL_PIN``h]h IFLA_DPLL_PIN}(hj 3hhhNhNubah}(h]h ]h"]h$]h&]uh1jThj2ubh.}(hj2hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhM\hj2hhubeh}(h]synce-enablementah ]h"]synce enablementah$]h&]uh1hhhhhhhhM[ubeh}(h]the-linux-kernel-dpll-subsystemah ]h"]the linux kernel dpll subsystemah$]h&]uh1hhhhhhhhKubeh}(h]h ]h"]h$]h&]sourcehuh1hcurrent_sourceN current_lineNsettingsdocutils.frontendValues)}(hN generatorN datestampN source_linkN source_urlN toc_backlinksjfootnote_backlinksK sectnum_xformKstrip_commentsNstrip_elements_with_classesN strip_classesN report_levelK halt_levelKexit_status_levelKdebugNwarning_streamN tracebackinput_encoding utf-8-siginput_encoding_error_handlerstrictoutput_encodingutf-8output_encoding_error_handlerjW3error_encodingutf-8error_encoding_error_handlerbackslashreplace language_codeenrecord_dependenciesNconfigN id_prefixhauto_id_prefixid dump_settingsNdump_internalsNdump_transformsNdump_pseudo_xmlNexpose_internalsNstrict_visitorN_disable_configN_sourceh _destinationN _config_files]7/var/lib/git/docbuild/linux/Documentation/docutils.confafile_insertion_enabled raw_enabledKline_length_limitM'pep_referencesN pep_base_urlhttps://peps.python.org/pep_file_url_templatepep-%04drfc_referencesN rfc_base_url&https://datatracker.ietf.org/doc/html/ tab_widthKtrim_footnote_reference_spacesyntax_highlightlong smart_quotessmartquotes_locales]character_level_inline_markupdoctitle_xform docinfo_xformKsectsubtitle_xform image_loadinglinkembed_stylesheetcloak_email_addressessection_self_linkenvNubreporterNindirect_targets]substitution_defs}substitution_names}refnames}refids}nameids}(j23j/3hhj$j!jjjjj|jyj+j(jjjjj j j{ jx jjjojljjjg jd j j j "j "j'.j$.jz0jw0j2j2j*3j'3u nametypes}(j23hj$jjj|j+jjj j{ jjojjg j j "j'.jz0j2j*3uh}(j/3hhhj!jjj'jjjyjj(jjj.jjj jjx j jj~ jljjjrjd jj jj j "j j$.j"j0"j9"jw#j|#j%j%j&j&j'j'jc)jh)jy*j~*j+j+j-j-jw0j*.j2j}0j'3j2u footnote_refs} citation_refs} autofootnotes]autofootnote_refs]symbol_footnotes]symbol_footnote_refs] footnotes] citations]autofootnote_startKsymbol_footnote_startK id_counter collectionsCounter}Rparse_messages]transform_messages] transformerN include_log] decorationNhhub.