Skip to content

Commit 9431063

Browse files
Vadim Fedorenkodavem330
authored andcommitted
dpll: core: Add DPLL framework base functions
DPLL framework is used to represent and configure DPLL devices in systems. Each device that has DPLL and can configure inputs and outputs can use this framework. Implement core framework functions for further interactions with device drivers implementing dpll subsystem, as well as for interactions of DPLL netlink framework part with the subsystem itself. Co-developed-by: Milena Olech <[email protected]> Signed-off-by: Milena Olech <[email protected]> Co-developed-by: Michal Michalik <[email protected]> Signed-off-by: Michal Michalik <[email protected]> Signed-off-by: Vadim Fedorenko <[email protected]> Co-developed-by: Arkadiusz Kubalewski <[email protected]> Signed-off-by: Arkadiusz Kubalewski <[email protected]> Signed-off-by: Jiri Pirko <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 3badff3 commit 9431063

File tree

8 files changed

+1041
-0
lines changed

8 files changed

+1041
-0
lines changed

MAINTAINERS

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6333,6 +6333,17 @@ F: Documentation/networking/device_drivers/ethernet/freescale/dpaa2/switch-drive
63336333
F: drivers/net/ethernet/freescale/dpaa2/dpaa2-switch*
63346334
F: drivers/net/ethernet/freescale/dpaa2/dpsw*
63356335

6336+
DPLL SUBSYSTEM
6337+
M: Vadim Fedorenko <[email protected]>
6338+
M: Arkadiusz Kubalewski <[email protected]>
6339+
M: Jiri Pirko <[email protected]>
6340+
6341+
S: Supported
6342+
F: Documentation/driver-api/dpll.rst
6343+
F: drivers/dpll/*
6344+
F: include/net/dpll.h
6345+
F: include/uapi/linux/dpll.h
6346+
63366347
DRBD DRIVER
63376348
M: Philipp Reisner <[email protected]>
63386349
M: Lars Ellenberg <[email protected]>

drivers/Kconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -243,4 +243,6 @@ source "drivers/hte/Kconfig"
243243

244244
source "drivers/cdx/Kconfig"
245245

246+
source "drivers/dpll/Kconfig"
247+
246248
endmenu

drivers/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,5 +197,6 @@ obj-$(CONFIG_PECI) += peci/
197197
obj-$(CONFIG_HTE) += hte/
198198
obj-$(CONFIG_DRM_ACCEL) += accel/
199199
obj-$(CONFIG_CDX_BUS) += cdx/
200+
obj-$(CONFIG_DPLL) += dpll/
200201

201202
obj-$(CONFIG_S390) += s390/

drivers/dpll/Kconfig

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# SPDX-License-Identifier: GPL-2.0-only
2+
#
3+
# Generic DPLL drivers configuration
4+
#
5+
6+
config DPLL
7+
bool

drivers/dpll/Makefile

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# SPDX-License-Identifier: GPL-2.0
2+
#
3+
# Makefile for DPLL drivers.
4+
#
5+
6+
obj-$(CONFIG_DPLL) += dpll.o
7+
dpll-y += dpll_core.o
8+
dpll-y += dpll_netlink.o
9+
dpll-y += dpll_nl.o

0 commit comments

Comments
 (0)