All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v6 00/11] drivers: Introduce firmware dnd clock river for ZynqMP core
@ 2018-04-10 19:38 ` Jolly Shah
  0 siblings, 0 replies; 74+ messages in thread
From: Jolly Shah @ 2018-04-10 19:38 UTC (permalink / raw)
  To: ard.biesheuvel, mingo, gregkh, matt, sudeep.holla, hkallweit1,
	keescook, dmitry.torokhov, mturquette, sboyd, michal.simek,
	robh+dt, mark.rutland, linux-clk
  Cc: rajanv, linux-arm-kernel, linux-kernel, devicetree, Jolly Shah

This patchset is adding communication layer with firmware and clock driver who uses 
those APIs to communicate with PMU.
Firmware driver provides an interface to firmware APIs.Interface APIs can be used by any driver to communicate to
PMUFW(Platform Management Unit). All requests go through ATF.
This patchset adds CCF compliant clock driver for ZynqMP.Clock driver queries supported clock information from 
firmware and regiters pll and output clocks with CCF.

v6:
 - Broke patch series to have base FW driver and Clock driver user
 - Incorporated code review comments from last FW and Clock driver patch series. Discussed below:
	https://patchwork.kernel.org/patch/10230759/
	https://patchwork.kernel.org/patch/10250047/

v5:
 - Added ATF version check support
 - Updated some functions to be static 
 - Minor function name corrections

v4:
 - Changed clock setrate/getrate API prototype to support 64 bit rate
 - Defined macros for get_node_status return values
 - Moved DT node as a child of firmware
 - Changed debugfs APIs to return data to debugfs buffer instead of dumping to kernel log
 - Minor changes to incorporate other review comments from v3 patch series

v3:
 - added some fixes to firmware-ggs.c
 - updated pinmux get/set function argument names to specify function id instead of node id
 - added new pinctrl query macros
 - incorporated review comments from v2 patch series

v2:
 - change SPDX-License-Identifier license text style
 - split patch into multiple patches
 - Updated copyrights
 - Added ABI documentation
 - incorporated logical review comments from previuos patch. Discussed below:
	https://patchwork.kernel.org/patch/10150665/

Jolly Shah (1):
  drivers: clk: Add ZynqMP clock driver

Rajan Vaja (10):
  dt-bindings: firmware: Add bindings for ZynqMP firmware
  firmware: xilinx: Add Zynqmp firmware driver
  firmware: xilinx: Add zynqmp IOCTL API for device control
  firmware: xilinx: Add query data API
  firmware: xilinx: Add clock APIs
  firmware: xilinx: Add debugfs interface
  firmware: xilinx: Add debugfs for IOCTL API
  firmware: xilinx: Add debugfs for query data API
  firmware: xilinx: Add debugfs for clock control APIs
  dt-bindings: clock: Add bindings for ZynqMP clock driver

 .../firmware/xilinx/xlnx,zynqmp-firmware.txt       |  82 +++
 arch/arm64/Kconfig.platforms                       |   1 +
 drivers/clk/Kconfig                                |   1 +
 drivers/clk/Makefile                               |   1 +
 drivers/clk/zynqmp/Kconfig                         |  11 +
 drivers/clk/zynqmp/Makefile                        |   4 +
 drivers/clk/zynqmp/clk-gate-zynqmp.c               | 146 ++++
 drivers/clk/zynqmp/clk-mux-zynqmp.c                | 150 +++++
 drivers/clk/zynqmp/clk-zynqmp.h                    |  53 ++
 drivers/clk/zynqmp/clkc.c                          | 737 +++++++++++++++++++++
 drivers/clk/zynqmp/divider.c                       | 219 ++++++
 drivers/clk/zynqmp/pll.c                           | 345 ++++++++++
 drivers/firmware/Kconfig                           |   1 +
 drivers/firmware/Makefile                          |   1 +
 drivers/firmware/xilinx/Kconfig                    |  23 +
 drivers/firmware/xilinx/Makefile                   |   5 +
 drivers/firmware/xilinx/zynqmp-debug.c             | 297 +++++++++
 drivers/firmware/xilinx/zynqmp-debug.h             |  22 +
 drivers/firmware/xilinx/zynqmp.c                   | 538 +++++++++++++++
 include/dt-bindings/clock/xlnx,zynqmp-clk.h        | 116 ++++
 include/linux/firmware/xlnx-zynqmp.h               | 115 ++++
 21 files changed, 2868 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/firmware/xilinx/xlnx,zynqmp-firmware.txt
 create mode 100644 drivers/clk/zynqmp/Kconfig
 create mode 100644 drivers/clk/zynqmp/Makefile
 create mode 100644 drivers/clk/zynqmp/clk-gate-zynqmp.c
 create mode 100644 drivers/clk/zynqmp/clk-mux-zynqmp.c
 create mode 100644 drivers/clk/zynqmp/clk-zynqmp.h
 create mode 100644 drivers/clk/zynqmp/clkc.c
 create mode 100644 drivers/clk/zynqmp/divider.c
 create mode 100644 drivers/clk/zynqmp/pll.c
 create mode 100644 drivers/firmware/xilinx/Kconfig
 create mode 100644 drivers/firmware/xilinx/Makefile
 create mode 100644 drivers/firmware/xilinx/zynqmp-debug.c
 create mode 100644 drivers/firmware/xilinx/zynqmp-debug.h
 create mode 100644 drivers/firmware/xilinx/zynqmp.c
 create mode 100644 include/dt-bindings/clock/xlnx,zynqmp-clk.h
 create mode 100644 include/linux/firmware/xlnx-zynqmp.h

-- 
2.7.4

^ permalink raw reply	[flat|nested] 74+ messages in thread

end of thread, other threads:[~2018-05-25 19:24 UTC | newest]

Thread overview: 74+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-10 19:38 [PATCH v6 00/11] drivers: Introduce firmware dnd clock river for ZynqMP core Jolly Shah
2018-04-10 19:38 ` Jolly Shah
2018-04-10 19:38 ` Jolly Shah
2018-04-10 19:38 ` [PATCH v6 01/11] dt-bindings: firmware: Add bindings for ZynqMP firmware Jolly Shah
2018-04-10 19:38   ` Jolly Shah
2018-04-10 19:38   ` Jolly Shah
2018-04-13 15:15   ` Rob Herring
2018-04-13 15:15     ` Rob Herring
2018-04-23 11:56     ` Greg KH
2018-04-23 11:56       ` Greg KH
2018-04-10 19:38 ` [PATCH v6 02/11] firmware: xilinx: Add Zynqmp firmware driver Jolly Shah
2018-04-10 19:38   ` Jolly Shah
2018-04-10 19:38   ` Jolly Shah
2018-05-10 14:04   ` Sudeep Holla
2018-05-10 14:04     ` Sudeep Holla
2018-05-14 19:06     ` Jolly Shah
2018-05-14 19:06       ` Jolly Shah
2018-05-14 19:06       ` Jolly Shah
2018-04-10 19:38 ` [PATCH v6 03/11] firmware: xilinx: Add zynqmp IOCTL API for device control Jolly Shah
2018-04-10 19:38   ` Jolly Shah
2018-04-10 19:38   ` Jolly Shah
2018-05-10 14:09   ` Sudeep Holla
2018-05-10 14:09     ` Sudeep Holla
2018-05-14 19:11     ` Jolly Shah
2018-05-14 19:11       ` Jolly Shah
2018-05-14 19:11       ` Jolly Shah
2018-04-10 19:38 ` [PATCH v6 04/11] firmware: xilinx: Add query data API Jolly Shah
2018-04-10 19:38   ` Jolly Shah
2018-04-10 19:38   ` Jolly Shah
2018-05-10 14:12   ` Sudeep Holla
2018-05-10 14:12     ` Sudeep Holla
2018-05-14 19:16     ` Jolly Shah
2018-05-14 19:16       ` Jolly Shah
2018-05-14 19:16       ` Jolly Shah
2018-05-15  9:34       ` Sudeep Holla
2018-05-15  9:34         ` Sudeep Holla
2018-05-15 20:29         ` Jolly Shah
2018-05-15 20:29           ` Jolly Shah
2018-05-15 20:29           ` Jolly Shah
2018-04-10 19:38 ` [PATCH v6 05/11] firmware: xilinx: Add clock APIs Jolly Shah
2018-04-10 19:38   ` Jolly Shah
2018-04-10 19:38   ` Jolly Shah
2018-04-10 19:38 ` [PATCH v6 06/11] firmware: xilinx: Add debugfs interface Jolly Shah
2018-04-10 19:38   ` Jolly Shah
2018-04-10 19:38   ` Jolly Shah
2018-05-10 14:26   ` Sudeep Holla
2018-05-10 14:26     ` Sudeep Holla
2018-04-10 19:38 ` [PATCH v6 07/11] firmware: xilinx: Add debugfs for IOCTL API Jolly Shah
2018-04-10 19:38   ` Jolly Shah
2018-04-10 19:38   ` Jolly Shah
2018-04-10 19:38 ` [PATCH v6 08/11] firmware: xilinx: Add debugfs for query data API Jolly Shah
2018-04-10 19:38   ` Jolly Shah
2018-04-10 19:38   ` Jolly Shah
2018-04-10 19:38 ` [PATCH v6 09/11] firmware: xilinx: Add debugfs for clock control APIs Jolly Shah
2018-04-10 19:38   ` Jolly Shah
2018-04-10 19:38   ` Jolly Shah
2018-05-10 14:31   ` Sudeep Holla
2018-05-10 14:31     ` Sudeep Holla
2018-05-14 19:18     ` Jolly Shah
2018-05-14 19:18       ` Jolly Shah
2018-05-14 19:18       ` Jolly Shah
2018-05-15  8:57       ` Sudeep Holla
2018-05-15  8:57         ` Sudeep Holla
2018-05-25 19:23         ` Jolly Shah
2018-05-25 19:23           ` Jolly Shah
2018-05-25 19:23           ` Jolly Shah
2018-04-10 19:38 ` [PATCH v6 10/11] dt-bindings: clock: Add bindings for ZynqMP clock driver Jolly Shah
2018-04-10 19:38   ` Jolly Shah
2018-04-10 19:38   ` Jolly Shah
2018-04-16 21:28   ` Rob Herring
2018-04-16 21:28     ` Rob Herring
2018-04-10 19:38 ` [PATCH v6 11/11] drivers: clk: Add " Jolly Shah
2018-04-10 19:38   ` Jolly Shah
2018-04-10 19:38   ` Jolly Shah

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.