lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Sat, 16 Mar 2024 00:18:58 +0530
From: Ayush Singh <ayushdevel1325@...il.com>
To: linux-kernel@...r.kernel.org
Cc: Ayush Singh <ayushdevel1325@...il.com>,
	jkridner@...gleboard.org,
	robertcnelson@...gleboard.org,
	Vaishnav M A <vaishnav@...gleboard.org>,
	Rob Herring <robh@...nel.org>,
	Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
	Conor Dooley <conor+dt@...nel.org>,
	Nishanth Menon <nm@...com>,
	Vignesh Raghavendra <vigneshr@...com>,
	Tero Kristo <kristo@...nel.org>,
	Derek Kiernan <derek.kiernan@....com>,
	Dragan Cvetic <dragan.cvetic@....com>,
	Arnd Bergmann <arnd@...db.de>,
	Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
	Liam Girdwood <lgirdwood@...il.com>,
	Mark Brown <broonie@...nel.org>,
	Jiri Slaby <jirislaby@...nel.org>,
	Johan Hovold <johan@...nel.org>,
	Alex Elder <elder@...nel.org>,
	devicetree@...r.kernel.org,
	linux-arm-kernel@...ts.infradead.org,
	linux-spi@...r.kernel.org,
	linux-serial@...r.kernel.org,
	greybus-dev@...ts.linaro.org
Subject: [PATCH v3 0/8] misc: Add mikroBUS driver

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@beagleboard.org/ 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


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ