[RFC PATCH v4 0/4] Create common DPLL/clock configuration API

Vadim Fedorenko
2022-11-29T21:46:19Z

Implement common API for clock/DPLL configuration and status reporting.
The API utilises netlink interface as transport for commands and event
notifications. This API aim to extend current pin configuration and
make it flexible and easy to cover special configurations.

v3 -> v4:
* redesign framework to make pins dynamically allocated (Arkadiusz)
* implement shared pins (Arkadiusz)
v2 -> v3:
* implement source select mode (Arkadiusz)
* add documentation
* implementation improvements (Jakub)
v1 -> v2:
* implement returning supported input/output types
* ptp_ocp: follow suggestions from Jonathan
* add linux-clk mailing list
v0 -> v1:
* fix code style and errors
* add linux-arm mailing list

Arkadiusz Kubalewski (1):
dpll: add dpll_attr/dpll_pin_attr helper classes

Vadim Fedorenko (3):
dpll: Add DPLL framework base functions
dpll: documentation on DPLL subsystem interface
ptp_ocp: implement DPLL ops

Documentation/networking/dpll.rst | 271 ++++++++
Documentation/networking/index.rst | 1 +
MAINTAINERS | 8 +
drivers/Kconfig | 2 +
drivers/Makefile | 1 +
drivers/dpll/Kconfig | 7 +
drivers/dpll/Makefile | 11 +
drivers/dpll/dpll_attr.c | 278 +++++++++
drivers/dpll/dpll_core.c | 760 +++++++++++++++++++++++
drivers/dpll/dpll_core.h | 176 ++++++
drivers/dpll/dpll_netlink.c | 963 +++++++++++++++++++++++++++++
drivers/dpll/dpll_netlink.h | 24 +
drivers/dpll/dpll_pin_attr.c | 456 ++++++++++++++
drivers/ptp/Kconfig | 1 +
drivers/ptp/ptp_ocp.c | 123 ++--
include/linux/dpll.h | 261 ++++++++
include/linux/dpll_attr.h | 433 +++++++++++++
include/uapi/linux/dpll.h | 263 ++++++++
18 files changed, 4002 insertions(+), 37 deletions(-)
create mode 100644 Documentation/networking/dpll.rst
create mode 100644 drivers/dpll/Kconfig
create mode 100644 drivers/dpll/Makefile
create mode 100644 drivers/dpll/dpll_attr.c
create mode 100644 drivers/dpll/dpll_core.c
create mode 100644 drivers/dpll/dpll_core.h
create mode 100644 drivers/dpll/dpll_netlink.c
create mode 100644 drivers/dpll/dpll_netlink.h
create mode 100644 drivers/dpll/dpll_pin_attr.c
create mode 100644 include/linux/dpll.h
create mode 100644 include/linux/dpll_attr.h
create mode 100644 include/uapi/linux/dpll.h

--
2.27.0