[PATCH v3 0/8] misc: Add mikroBUS driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



MikroBUS is an open standard  developed by MikroElektronika for connecting
add-on boards to microcontrollers or microprocessors. It essentially
allows you to easily expand the functionality of your main boards using
these add-on boards.

This patchset adds mikroBUS as a Linux bus type and provides a driver to
parse, and flash mikroBUS manifest and register the mikroBUS board.

The v1 and v2 of this patchset was submitted by Vaishnav M A back in
2020. This patchset also includes changes made over the years as part of
BeagleBoards kernel.

Link: https://www.mikroe.com/mikrobus
Link: https://docs.beagleboard.org/latest/boards/beagleplay/
Link: https://lore.kernel.org/lkml/20200818124815.11029-1-vaishnav@xxxxxxxxxxxxxxx/ Patch v2

Changes in v3:
- Use phandle instead of busname for spi
- Use spi board info for registering new device
- Convert dt bindings to yaml
- Add support for clickID
- Code cleanup and style changes
- Additions required to spi, serdev, w1 and regulator subsystems

Changes in v2:
- support for adding mikroBUS ports from DT overlays,
- remove debug sysFS interface for adding mikrobus ports,
- consider extended pin usage/deviations from mikrobus standard
  specifications
- use greybus CPort protocol enum instead of new protocol enums
- Fix cases of wrong indentation, ignoring return values, freeing allocated
  resources in case of errors and other style suggestions in v1 review.

Ayush Singh (7):
  dt-bindings: misc: Add mikrobus-connector
  w1: Add w1_find_master_device
  spi: Make of_find_spi_controller_by_node() available
  regulator: fixed-helper: export regulator_register_always_on
  greybus: Add mikroBUS manifest types
  mikrobus: Add mikrobus driver
  dts: ti: k3-am625-beagleplay: Add mikroBUS

Vaishnav M A (1):
  serdev: add of_ helper to get serdev controller

 .../bindings/misc/mikrobus-connector.yaml     | 110 ++
 MAINTAINERS                                   |   7 +
 .../arm64/boot/dts/ti/k3-am625-beagleplay.dts |  76 +-
 drivers/misc/Kconfig                          |   1 +
 drivers/misc/Makefile                         |   1 +
 drivers/misc/mikrobus/Kconfig                 |  19 +
 drivers/misc/mikrobus/Makefile                |   6 +
 drivers/misc/mikrobus/mikrobus_core.c         | 942 ++++++++++++++++++
 drivers/misc/mikrobus/mikrobus_core.h         | 201 ++++
 drivers/misc/mikrobus/mikrobus_id.c           | 229 +++++
 drivers/misc/mikrobus/mikrobus_manifest.c     | 502 ++++++++++
 drivers/misc/mikrobus/mikrobus_manifest.h     |  20 +
 drivers/regulator/fixed-helper.c              |   1 +
 drivers/spi/spi.c                             | 206 ++--
 drivers/tty/serdev/core.c                     |  19 +
 drivers/w1/w1.c                               |   6 +-
 drivers/w1/w1_int.c                           |  27 +
 include/linux/greybus/greybus_manifest.h      |  49 +
 include/linux/serdev.h                        |   4 +
 include/linux/spi/spi.h                       |   4 +
 include/linux/w1.h                            |   1 +
 21 files changed, 2318 insertions(+), 113 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/misc/mikrobus-connector.yaml
 create mode 100644 drivers/misc/mikrobus/Kconfig
 create mode 100644 drivers/misc/mikrobus/Makefile
 create mode 100644 drivers/misc/mikrobus/mikrobus_core.c
 create mode 100644 drivers/misc/mikrobus/mikrobus_core.h
 create mode 100644 drivers/misc/mikrobus/mikrobus_id.c
 create mode 100644 drivers/misc/mikrobus/mikrobus_manifest.c
 create mode 100644 drivers/misc/mikrobus/mikrobus_manifest.h


base-commit: 61996c073c9b070922ad3a36c981ca6ddbea19a5
-- 
2.44.0

_______________________________________________
greybus-dev mailing list -- greybus-dev@xxxxxxxxxxxxxxxx
To unsubscribe send an email to greybus-dev-leave@xxxxxxxxxxxxxxxx



[Index of Archives]     [Asterisk App Development]     [PJ SIP]     [Gnu Gatekeeper]     [IETF Sipping]     [Info Cyrus]     [ALSA User]     [Fedora Linux Users]     [Linux SCTP]     [DCCP]     [Gimp]     [Yosemite News]     [Deep Creek Hot Springs]     [Yosemite Campsites]     [ISDN Cause Codes]     [Asterisk Books]

  Powered by Linux