Re: [PATCH 6/8] addon_boards: Add addon_boards plumbing

From: Ayush Singh
Date: Wed Sep 11 2024 - 12:10:13 EST


On 9/11/24 20:30, Greg Kroah-Hartman wrote:

On Wed, Sep 11, 2024 at 07:57:23PM +0530, Ayush Singh wrote:
A directory to store and build addon_board overlays like mikroBUS,
Groove, etc. The overlays present here should be completely independent
of the underlying connector.

Signed-off-by: Ayush Singh <ayush@xxxxxxxxxxxxxxx>
---
Kbuild | 1 +
Kconfig | 2 ++
MAINTAINERS | 1 +
addon_boards/Kconfig | 16 ++++++++++++++++
addon_boards/Makefile | 3 +++
addon_boards/mikrobus/Makefile | 1 +
6 files changed, 24 insertions(+)
Ah, here's where you add this.

It should be below drivers/ right? But what's wrong with drivers/soc/?
Why is this so special? Why not just under
drivers/microbus/addon_boards/ ? Why is this tiny bus/device so
different from everything else out there?

thanks,

greg k-h


Well, it can go under drivers for mikrobus, but there will be other addon board connectors which will not need any kind of driver. In fact, the original patch series this is based on [0] did not have any driver for the connector.


As for bus, see my reply to the other patch in the series [1]. Basically, while the name of the standard itself is "mikroBUS", it is not really a "bus" in Linux sense.


[0]: https://lore.kernel.org/linux-arm-kernel/20240702164403.29067-1-afd@xxxxxx/

[1]: https://lore.kernel.org/all/ecd1fff8-9c15-496a-982f-36e6c58e906a@xxxxxxxxx/