Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
93 commits
Select commit Hold shift + click to select a range
ad3b989
dpll: spec: Add Netlink spec in YAML
kubalewski Feb 1, 2023
5609d17
dpll: Add DPLL framework base functions
vvfedorenko Mar 12, 2023
08a38a1
dpll: documentation on DPLL subsystem interface
vvfedorenko Mar 12, 2023
0c1cdd2
ice: add admin commands to access cgu configuration
kubalewski Jul 11, 2022
49a7b54
ice: implement dpll interface to control cgu
kubalewski Aug 3, 2022
cc85fd1
ptp_ocp: implement DPLL ops
vvfedorenko Mar 12, 2023
864502d
netdev: expose DPLL pin handle for netdevice
vvfedorenko Mar 28, 2023
5ba1b50
mlx5: Implement SyncE support using DPLL infrastructure
Mar 28, 2023
ebd7964
dpll: spec: remove unspec attributes
kubalewski May 8, 2023
bd674f0
dpll: core: remove unspec attributes
kubalewski May 8, 2023
7d37938
ice: dpll: remove unspec attributes
kubalewski May 8, 2023
7037519
ice: dpll: remove unspec attributes
kubalewski May 8, 2023
58e19cb
dpll: spec: add 10 KHZ and 77,5 KHZ frequencies
kubalewski May 8, 2023
ae82ad6
dpll: spec: fix documentation
kubalewski May 8, 2023
78e4bd9
ice: dpll: do not store set flags
kubalewski May 10, 2023
134ad31
ice: dpll: fix use pin state
kubalewski May 10, 2023
a8996c9
dpll: spec: remove values from subset attributes
kubalewski May 10, 2023
8e20d7f
dpll: spec: reorder dpll attributes
kubalewski May 10, 2023
30d8513
dpll: spec: fix device nested attribute
kubalewski May 10, 2023
41ba43f
dpll: docs: fix DPLL_MODE_MANUAL docs
kubalewski May 10, 2023
06965d3
dpll: spec: temperature with 3 digit float precision
kubalewski May 10, 2023
13ace3c
dpll: spec: remove enum from subset definition
kubalewski May 10, 2023
54b0787
dpll: spec: move pin-direction to pin-dpll tuple
kubalewski May 11, 2023
d3278b5
dpll: core: move pin-direction to pin-dpll tuple
kubalewski May 11, 2023
702f3f4
ice: remove include of uapi header
kubalewski May 12, 2023
4bc2ca0
ice: remove redundant check against null arguments
kubalewski May 12, 2023
d7a707a
ice: propagate lock function return value to the caller
kubalewski May 12, 2023
b26f9ff
ice: fix use switch case instead of if
kubalewski May 12, 2023
323c0e8
ice: fix dev_dbg to dev_err for error cases
kubalewski May 12, 2023
63ab2eb
ice: fix dpll/pin lookup on dpll subsytem callbacks
kubalewski May 14, 2023
49157fe
ice: fix extack of dpll subsystem callbacks
kubalewski May 14, 2023
5246a2e
ice: remove double negation and variable cast
kubalewski May 14, 2023
9331b24
ice: simplify ice_dpll_pin_state_set function
kubalewski May 14, 2023
df6b9e3
dpll: core: pass parent_priv on state_on_pin_<get/set>
kubalewski May 15, 2023
f95bb92
ice: pass parent_priv on state_on_pin_<get/set>
kubalewski May 15, 2023
08ef510
ice: remove parent hw_idx lookup
kubalewski May 15, 2023
6e9d401
ice: fix use const qualifier for dpll/dpll_pin ops
kubalewski May 15, 2023
53ce702
ice: fix IS_ERR macros usage in ice_dpll
kubalewski May 15, 2023
d8cd3e2
ice: add notify previous source state change
kubalewski May 15, 2023
ed4d877
ice: fix mutex locking on releasing pins
kubalewski May 15, 2023
6ebe6b9
ice: use '|=' instead of '+=' when modifing capabilities field
kubalewski May 15, 2023
14d6987
ice: rename ice_dpll_register_pins function
kubalewski May 15, 2023
9265a6f
ice: simplify clock_id generation
kubalewski May 15, 2023
c7f8312
dpll: spec: remove DPLL_MODE_NCO
kubalewski May 16, 2023
b2bf6cc
dpll: docs: remove DPLL_MODE_NCO
kubalewski May 16, 2023
17fc436
dpll: spec: remove DPLL_LOCK_STATUS_CALIBRATING
kubalewski May 16, 2023
17dcd15
dpll: docs: remove DPLL_LOCK_STATUS_CALIBRATING
kubalewski May 16, 2023
28f0c73
ice: remove DPLL_LOCK_STATUS_CALIBRATING
kubalewski May 16, 2023
1861176
ice: propagate and use dpll_priv
kubalewski May 16, 2023
b6d0c19
ice: remove null check for pf pointer
kubalewski May 16, 2023
a3f3893
dpll: spec: fix notification definition
kubalewski May 16, 2023
64a71d3
dpll: core: fix notification definition
kubalewski May 16, 2023
950e24f
dpll: fix notification scheme
kubalewski May 18, 2023
a93cc8e
ice: fix notification scheme
kubalewski May 18, 2023
bfc80f7
mlx5: fix notification scheme
kubalewski May 18, 2023
8c42841
ice: expose pf related pin to corresponding netdevice
kubalewski May 17, 2023
9f5c7ac
dpll: docs: add grepability
kubalewski May 17, 2023
5ce5a75
dpll: spec: fix enum names
kubalewski May 19, 2023
8e02344
dpll: core: fix enum names
kubalewski May 19, 2023
1547d09
ice: fix dpll init error path
kubalewski May 24, 2023
12eb61f
ice: fix dpll pins naming scheme
kubalewski May 24, 2023
5579f1c
dpll: spec: rename pin-idx to pin-id, remove pin-parent-idx, device
kubalewski May 30, 2023
c62054c
dpll: core: rename pin-idx to pin-id, remove pin-parent-idx, device
kubalewski May 30, 2023
256471a
dpll: spec: replace bus-name, dev-name with module-name
kubalewski May 30, 2023
ab77d28
dpll: core: replace bus-name, dev-name with module-name
kubalewski May 30, 2023
a91590f
dpll: spec: replace pin-label with 3 new attributes
kubalewski Jun 1, 2023
7cd05cd
dpll: core: replace pin-label with 3 new attributes
kubalewski Jun 1, 2023
5cd2221
ice: replace pin-label with pin-board-label
kubalewski Jun 1, 2023
6cd2307
ptp_ocp: replace pin-label with pin-board-label
kubalewski Jun 1, 2023
9da80a7
mlx5: remove pin-label
kubalewski Jun 1, 2023
c8d7971
dpll: spec: add device-id-get and pin-id-get commands
kubalewski Jun 1, 2023
561a92f
dpll: core: add device-id-get and pin-id-get commands
kubalewski Jun 1, 2023
32f3aee
dpll: core: rename dpll_xa_lock to dpll_lock
kubalewski Jun 5, 2023
7eb4323
dpll: core: improve doxygen in dpll_core.c
kubalewski Jun 5, 2023
87a0f52
dpll: core: remove parent and dev fields from dpll_device
kubalewski Jun 6, 2023
374e2d0
ice: dpll remove parent and dev fields from dpll_device
kubalewski Jun 6, 2023
0844a90
ptp_ocp: dpll remove parent and dev fields from dpll_device
kubalewski Jun 6, 2023
f8e6e58
mlx5: dpll remove parent and dev fields from dpll_device
kubalewski Jun 6, 2023
71fb5c5
dpll: core: use u32 for pin_idx in dpll_pin_alloc
kubalewski Jun 6, 2023
1e6ee38
dpll: core: use driver provided pin properties
kubalewski Jun 6, 2023
bcd8745
dpll: core: verify pin/dpll owner on registering pin
kubalewski Jun 6, 2023
8315be8
dpll: core: remove const arg modifier for helper _priv functions
kubalewski Jun 6, 2023
6a65b04
dpll: core: remove function declaration _get_by_name()
kubalewski Jun 6, 2023
9e81cef
dpll:core: update SPDX headers
kubalewski Jun 6, 2023
7ecf49b
dpll: core: parse netlink set attributes with nlattr array
kubalewski Jun 6, 2023
329efc7
dpll: spec: remove rclk-dev-name aatribute
kubalewski Jun 6, 2023
233db77
dpll: core: remove rclk-dev-name aatribute
kubalewski Jun 6, 2023
674a79e
ice: dpll: remove rclk-dev-name attribute
kubalewski Jun 6, 2023
6c1b138
mlx5: dpll: remove rclk-dev-name attribute
kubalewski Jun 6, 2023
56744b3
ptp_ocp: dpll: remove rclk-dev-name attribute
kubalewski Jun 6, 2023
8eee5e3
dpll: core: remove redundant doxygen from dpll header
kubalewski Jun 6, 2023
dce7633
dpll: core: use module_name() to get name of module
kubalewski Jun 6, 2023
d3124fa
dpll: core: fix kdocs
kubalewski Jun 6, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
400 changes: 400 additions & 0 deletions Documentation/dpll.rst

Large diffs are not rendered by default.

466 changes: 466 additions & 0 deletions Documentation/netlink/specs/dpll.yaml

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions Documentation/networking/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ Contents:
dsa/index
devlink/index
caif/index
dpll
ethtool-netlink
ieee802154
j1939
Expand Down
8 changes: 8 additions & 0 deletions MAINTAINERS
Original file line number Diff line number Diff line change
Expand Up @@ -6306,6 +6306,14 @@ F: Documentation/networking/device_drivers/ethernet/freescale/dpaa2/switch-drive
F: drivers/net/ethernet/freescale/dpaa2/dpaa2-switch*
F: drivers/net/ethernet/freescale/dpaa2/dpsw*

DPLL CLOCK SUBSYSTEM
M: Vadim Fedorenko <vadfed@fb.com>
L: netdev@vger.kernel.org
S: Maintained
F: drivers/dpll/*
F: include/net/dpll.h
F: include/uapi/linux/dpll.h

DRBD DRIVER
M: Philipp Reisner <philipp.reisner@linbit.com>
M: Lars Ellenberg <lars.ellenberg@linbit.com>
Expand Down
2 changes: 2 additions & 0 deletions drivers/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -243,4 +243,6 @@ source "drivers/hte/Kconfig"

source "drivers/cdx/Kconfig"

source "drivers/dpll/Kconfig"

endmenu
1 change: 1 addition & 0 deletions drivers/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -195,3 +195,4 @@ obj-$(CONFIG_PECI) += peci/
obj-$(CONFIG_HTE) += hte/
obj-$(CONFIG_DRM_ACCEL) += accel/
obj-$(CONFIG_CDX_BUS) += cdx/
obj-$(CONFIG_DPLL) += dpll/
7 changes: 7 additions & 0 deletions drivers/dpll/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# SPDX-License-Identifier: GPL-2.0-only
#
# Generic DPLL drivers configuration
#

config DPLL
bool
10 changes: 10 additions & 0 deletions drivers/dpll/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# SPDX-License-Identifier: GPL-2.0
#
# Makefile for DPLL drivers.
#

obj-$(CONFIG_DPLL) += dpll.o
dpll-y += dpll_core.o
dpll-y += dpll_netlink.o
dpll-y += dpll_nl.o

Loading