forked from torvalds/linux
Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
mikroBUS driver for add-on boards on mikrobus ports
The mikrobus driver is updated to add mikrobus ports from device-tree overlays, the debug interfaces for adding mikrobus ports through sysFS is removed, and the driver considers the extended usage of mikrobus port pins from their standard purpose, for example an SHT15 add-on board will need the I2C pins to be configured as GPIOs for the corresponding driver(drivers/hwmon/sht15.c) to work correctly to consider cases like these the mikrobus driver supports setting the pinmux states and can consider each Pin of the mikrobus port as GPIO if required. The manifests for supported 110 add-on boards are available here: https://github.com/vaishnav98/manifesto/tree/mikrobusv3 Signed-off-by: Vaishnav M A <vaishnav@beagleboard.org>
- Loading branch information
1 parent
b7bf367
commit c988bea7af28a40a4c0a835b6765a2c4fe154c04
Showing
10 changed files
with
1,550 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| menuconfig MIKROBUS | ||
| tristate "Module for instantiating devices on mikroBUS ports" | ||
| help | ||
| This option enables the mikroBUS driver. mikroBUS is an add-on | ||
| board socket standard that offers maximum expandability with | ||
| the smallest number of pins. The mikroBUS driver instantiates | ||
| devices on a mikroBUS port described by identifying data present | ||
| in an add-on board resident EEPROM, more details on the mikroBUS | ||
| driver support and discussion can be found in this eLinux wiki : | ||
| elinux.org/Mikrobus | ||
|
|
||
|
|
||
| Say Y here to enable support for this driver. | ||
|
|
||
| To compile this code as a module, chose M here: the module | ||
| will be called mikrobus.ko |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| # SPDX-License-Identifier: GPL-2.0 | ||
| # mikroBUS Core | ||
|
|
||
| mikrobus-y := mikrobus_core.o mikrobus_manifest.o | ||
| mikrobus_port-y := mikrobus_port.o | ||
| obj-$(CONFIG_MIKROBUS) += mikrobus.o | ||
| obj-$(CONFIG_MIKROBUS) += mikrobus_port.o |
Oops, something went wrong.