Introduce framework for SLIMbus device drivers
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v5 Latest6 patches 19 repliesIn review
- v46 patches 10 repliesSuperseded
- v36 patches 12 repliesSuperseded
Earlier versions · 2
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v2 | 6 patches | 9 replies | Superseded | |
| v1 | 3 patches | 10 replies | Superseded |
Changes in v5 from the cover letter
* Addressed inline-code review comments from Mark Brown and Rob Herring.
* Comments to document usage of workqueue while sending device-up/down notifications to slave drivers.
* Introduced module_slimbus_driver macro for ease of registering and de-registering slimbus client driver.
* Modified framework and controller remove functionality and tested bind/unbind for slimbus controller and slimbus device drivers.
* Modified Device Tree compatible string to follow format from other discoverable buses, and clarified documentation about when node definition and compatible fields should be used.
* Clock-pause initiated by the framework when controller is being removed to make sure there are no ongoing transfers.
Patches in v5 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | SLIMbus: Device management on SLIMbusDocumentation/ drivers/ drivers/ +5 more | +1218 | 10 replies | |
| 2/6 | of/slimbus: OF helper for SLIMbusDocumentation/ drivers/ | +112 | 4 replies | |
| 3/6 | slimbus: Add messaging APIs to slimbus frameworkdrivers/ drivers/ drivers/ +1 more | +670 | 1 reply | |
| 4/6 | slim: qcom: Add Qualcomm Slimbus controller driverDocumentation/ drivers/ drivers/ +2 more | +681 | 2 replies | |
| 5/6 | slimbus: Add support for 'clock-pause' featuredrivers/ drivers/ drivers/ +2 more | +254 | 0 replies | |
| 6/6 | slim: qcom: Add runtime-pm support using clock-pause featuredrivers/ drivers/ | +125 | 0 replies |
Reviews trailers per patch
None of the 6 patches has a Reviewed-by or Acked-by.
| Patch | Naveen Kaje |
|---|---|
| 1/6 | |
| 2/6 | |
| 3/6 | T-b |
| 4/6 | |
| 5/6 | |
| 6/6 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH V5 0/6] Introduce framework for SLIMbus device drivers
SLIMbus (Serial Low Power Interchip Media Bus) is a specification developed by MIPI (Mobile Industry Processor Interface) alliance. SLIMbus is a 2-wire implementation, which is used to communicate with peripheral components like audio-codec.
SLIMbus uses Time-Division-Multiplexing to accommodate multiple data channels, and control channel. Control channel has messages to do device-enumeration, messages to send/receive control-data to/from slimbus devices, messages for port/channel management, and messages to do bandwidth allocation.
Framework is introduced to support multiple instances of the bus (1 controller per bus), and multiple slave devices per controller. SPI and I2C frameworks, and comments from last time when I submitted the patches were referred-to while working on this framework.
These patchsets introduce device-management, OF helpers, and messaging APIs, controller driver for Qualcomm's slimbus controller, and clock-pause feature for entering/exiting low-power mode for SLIMbus. Framework patches to do channel, port and bandwidth management are work-in-progress and will be sent out once these initial patches are accepted.
These patchsets were tested on Qualcomm Snapdragon processor board using the controller driver, and a test slave device.
Changes from V4 to V5:
* Addressed inline-code review comments from Mark Brown and Rob Herring.
* Comments to document usage of workqueue while sending device-up/down notifications to slave drivers.
* Introduced module_slimbus_driver macro for ease of registering and de-registering slimbus client driver.
* Modified framework and controller remove functionality and tested bind/unbind for slimbus controller and slimbus device drivers.
* Modified Device Tree compatible string to follow format from other discoverable buses, and clarified documentation about when node definition and compatible fields should be used.
* Clock-pause initiated by the framework when controller is being removed to make sure there are no ongoing transfers.
Sagar Dharia (6):
SLIMbus: Device management on SLIMbus
of/slimbus: OF helper for SLIMbus
slimbus: Add messaging APIs to slimbus framework
slim: qcom: Add Qualcomm Slimbus controller driver
slimbus: Add support for 'clock-pause' feature
slim: qcom: Add runtime-pm support using clock-pause feature
Documentation/devicetree/bindings/slimbus/bus.txt | 55 ++ .../devicetree/bindings/slimbus/slim-qcom-ctrl.txt | 45 ++ Documentation/slimbus/summary | 109 +++ drivers/Kconfig | 2 + drivers/Makefile | 1 + drivers/slimbus/Kconfig | 20 + drivers/slimbus/Makefile | 5 + drivers/slimbus/slim-core.c | 806 +++++++++++++++++++++ drivers/slimbus/slim-messaging.c | 433 +++++++++++ drivers/slimbus/slim-qcom-ctrl.c | 683 +++++++++++++++++ drivers/slimbus/slim-qcom.h | 64 ++ drivers/slimbus/slim-sched.c | 126 ++++ include/linux/mod_devicetable.h | 13 + include/linux/slimbus.h | 685 +++++++++++++++++ 14 files changed, 3047 insertions(+) create mode 100644 Documentation/devicetree/bindings/slimbus/bus.txt create mode 100644 Documentation/devicetree/bindings/slimbus/slim-qcom-ctrl.txt create mode 100644 Documentation/slimbus/summary create mode 100644 drivers/slimbus/Kconfig create mode 100644 drivers/slimbus/Makefile create mode 100644 drivers/slimbus/slim-core.c create mode 100644 drivers/slimbus/slim-messaging.c create mode 100644 drivers/slimbus/slim-qcom-ctrl.c create mode 100644 drivers/slimbus/slim-qcom.h create mode 100644 drivers/slimbus/slim-sched.c create mode 100644 include/linux/slimbus.h
Signature · 1 line
1.8.2.1