From patchwork Wed Sep 11 14:27:23 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ayush Singh X-Patchwork-Id: 13800703 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id BAD20EE49BD for ; Wed, 11 Sep 2024 14:40:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References :Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=OTZXIs4uk1Xc7bmq3sRcTypL0+dX/QazKSXr67dxE0M=; b=r9JhHVCkMrzfotohlievhCDooF Ne5hliQICCsmP6almvGRi7/5y/n67eMX6pei4atVGKTRXye0+CwB341QjDpQT70ll2wextXFZ28gk KVuiLd8Nm+K0lrrEJY4C7QvBaVvJCQinYXtGGQ5QaTBnT+qqw6ST0wH21vZI8lY6TvCXBH0BdVZkG WQFqo0x7C7y8MhGIezTBpolNp/XW3fj2Qx9oRtiU5aRnLleGYQrUSnBzsidMZc3rLVLsnNZ/sPZsi BiQ6+VmTJcodkXK5iExdJ1rdUMOO5y1wh6b/tX7EhBAMI+0MnCULb5N70M1Ki1aGJPP40WLqXN09c 3/6ffzAg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1soOW1-00000009yQv-2jmw; Wed, 11 Sep 2024 14:40:17 +0000 Received: from mail-pj1-x1041.google.com ([2607:f8b0:4864:20::1041]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1soOKp-00000009u90-2iiv for linux-arm-kernel@lists.infradead.org; Wed, 11 Sep 2024 14:28:44 +0000 Received: by mail-pj1-x1041.google.com with SMTP id 98e67ed59e1d1-2da4ea973bdso1550445a91.1 for ; Wed, 11 Sep 2024 07:28:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=beagleboard-org.20230601.gappssmtp.com; s=20230601; t=1726064923; x=1726669723; darn=lists.infradead.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=OTZXIs4uk1Xc7bmq3sRcTypL0+dX/QazKSXr67dxE0M=; b=JHppsCF/NNLJdtJJoSjDKBg8AspE8v71SO09L6Doce+6Mj7K1kE+5aQAsBq4EBeuav YNmRBALOvNKtzV2NPGLNLvTgJfYddRx5cmUcpsHT69Gat5a9wBKPmsERTwmn51J+QGEN uQhSBROFVQKrL8bW5RjqV/VPyMNBjo9cgGcZfCGQG0kUmDhq3qdchBeX+pRDl3XivgQW Ylw8KhYzJvVDkqLJ61Qu0+bgQxuWYdd6ykBDlputvBHF/5kssn5mrWmbiEXngi1h/PFU r+yufwWQGHzIt8ZPsYNzCXl/bDzrG4Ie2Eo/bnBYhBkxnOmiZp7UfkyFrKHXanCD9UBI A78Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726064923; x=1726669723; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=OTZXIs4uk1Xc7bmq3sRcTypL0+dX/QazKSXr67dxE0M=; b=ltP9Nyl1z5JYC1kbGfwCU6XLIBmDxnYlSYVr4sh+qpG+7u+iQZ7tkJd7lSzgR5jrM0 h5mzEUT2r1ylG1KvUmBEDdQVR/nBThN8+KCeLNsm1ewWPRzSHGmSY4FuFTl+h/PKiWvq f9W5mCJ9vcvLGOyGO50YKmFVdgxn9SskcMzNL4C01SDbwbjXUFoBQV9z0+PzoZT78sMA 4c79C78jqi8vyiGwT55c5NTmEbMov83PBGV7RnHqIZ6dIVODCiSjAzdyhmGBiZCVNX/0 VD+RbnodaVefm3EO/PbKIzlXe6SL8ywVuHtch9iTu2Wy06rll0iJAPd7QOkq7UKrsp/E 7ZiA== X-Forwarded-Encrypted: i=1; AJvYcCXEm3SnFU6CiYn2wHL3xFqhIQLXWHaB5UMwwMVrhK19BxMSWJKj60djYT7Fj/F/uGT+wjh6N0gZLJyK/3d6+UKs@lists.infradead.org X-Gm-Message-State: AOJu0YysWLdItnrYDzdtIXcHYbZGiVJbSLIHNwCpoVbouYAYRr5iHAyD GbbGKDU1LdHQdwPpGcn9EfDFaQRHMAdnT/rkb4o7962+/bcLR9MdGk8M/kxy3Q== X-Google-Smtp-Source: AGHT+IF++BogjcP4oyy+DBrKCYr5bb8gz+HUGRerT0bhZx+7Lc/6JJaHgIpOtNWMJNsPpzmw/R8LWA== X-Received: by 2002:a17:90b:1e4c:b0:2d8:d098:4f31 with SMTP id 98e67ed59e1d1-2db82fe9fd4mr3821301a91.17.1726064922953; Wed, 11 Sep 2024 07:28:42 -0700 (PDT) Received: from [172.16.118.100] ([103.15.228.94]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2dadbfe46c9sm10639116a91.11.2024.09.11.07.28.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Sep 2024 07:28:42 -0700 (PDT) From: Ayush Singh Date: Wed, 11 Sep 2024 19:57:23 +0530 Subject: [PATCH 6/8] addon_boards: Add addon_boards plumbing MIME-Version: 1.0 Message-Id: <20240911-mikrobus-dt-v1-6-3ded4dc879e7@beagleboard.org> References: <20240911-mikrobus-dt-v1-0-3ded4dc879e7@beagleboard.org> In-Reply-To: <20240911-mikrobus-dt-v1-0-3ded4dc879e7@beagleboard.org> To: fabien.parent@linaro.org, d-gole@ti.com, lorforlinux@beagleboard.org, jkridner@beagleboard.org, robertcnelson@beagleboard.org, Andrew Davis , Miguel Ojeda , Alex Gaynor , Boqun Feng , Gary Guo , =?utf-8?q?Bj=C3=B6rn_Roy_Baron?= , Benno Lossin , Andreas Hindborg , Alice Ryhl , Trevor Gross , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Derek Kiernan , Dragan Cvetic , Arnd Bergmann , Greg Kroah-Hartman , Nishanth Menon , Vignesh Raghavendra , Tero Kristo Cc: linux-kernel@vger.kernel.org, rust-for-linux@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Ayush Singh X-Mailer: b4 0.14.1 X-Developer-Signature: v=1; a=openpgp-sha256; l=2645; i=ayush@beagleboard.org; h=from:subject:message-id; bh=fvn5dpE2XyvTj0U03uUcIoDMSvkgRzCWJgdVKHBGt+M=; b=owEBbQKS/ZANAwAIAQXO9ceJ5Vp0AcsmYgBm4ajW3lj4TagmQ2l11Yz9eXm8I+My2lBntIytD qsFIZFBHp+JAjMEAAEIAB0WIQTfzBMe8k8tZW+lBNYFzvXHieVadAUCZuGo1gAKCRAFzvXHieVa dD7hD/9Dh5cX/zgWb0ImhB3R//a2DVBC9/xamAtVS4AbOSg5czQb4pQ71uEpoYwkMLI/76nQAwo IznhuYiB1NivpVD/r6xayr9afiar7AoVfMGwXxOL4qdxx1UvWeuhMu7RE1rW8su3VtxVqN162fS c0em/ySb2wnxpKh0Ku7yyDfZwk7tuQ0XIBA0ysPbyEuKZxXxcCmdVdITr5WPXhsuUmY88ISzjkX CZejxuAMldlcHCYX2MBKgHPJhsjMX5CCAYKjANMIhsRyYCC1FQRva3ZkzKJmt7Eo050MW7DEfgP 21m/nGriy3Ps0ru8+AQlcx+zcfytxjVyPRcS5Fn4Tk+6h94CdDEHG4ug6+enMWWYe4t7fCuZeqA 2NodmWtzcivV1QShnpfXjXUL8YgEvUjiDEm9qHRwar0hno3NQp2GjTZYha96Q2uFJPeRbOwnLv7 ze5KWxyoWD6kN9+kKnNWbrIQusdm1f8moFEEt7NGLd6VjqytwYf4yQgCuEcMiQqX33zxgfB54Ve YX4UelJTyCRCLp2C5uNWDyermCLf4HN0GgJgZayTIedZjWsqEBfYd8qg4SynbR+G8JkKasqS0N7 Cuf09oC6oJNSL/HoG0XHANtLJfpu24X2RxKwgIccIhYtel+ME1FZO1/mB5L3iKh/W32xgVXm96V I1eRlTEYdHwR6RA== X-Developer-Key: i=ayush@beagleboard.org; a=openpgp; fpr=DFCC131EF24F2D656FA504D605CEF5C789E55A74 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240911_072843_727404_971A5C84 X-CRM114-Status: GOOD ( 15.56 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 --- Kbuild | 1 + Kconfig | 2 ++ MAINTAINERS | 1 + addon_boards/Kconfig | 16 ++++++++++++++++ addon_boards/Makefile | 3 +++ addon_boards/mikrobus/Makefile | 1 + 6 files changed, 24 insertions(+) diff --git a/Kbuild b/Kbuild index 464b34a08f51..9c897397f55f 100644 --- a/Kbuild +++ b/Kbuild @@ -97,3 +97,4 @@ obj-$(CONFIG_SAMPLES) += samples/ obj-$(CONFIG_NET) += net/ obj-y += virt/ obj-y += $(ARCH_DRIVERS) +obj-y += addon_boards/ diff --git a/Kconfig b/Kconfig index 745bc773f567..49880d4e91e9 100644 --- a/Kconfig +++ b/Kconfig @@ -30,3 +30,5 @@ source "lib/Kconfig" source "lib/Kconfig.debug" source "Documentation/Kconfig" + +source "addon_boards/Kconfig" diff --git a/MAINTAINERS b/MAINTAINERS index 95f228c85a40..8e2e0f8d16be 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -15432,6 +15432,7 @@ F: drivers/usb/image/microtek.* MIKROBUS CONNECTOR M: Ayush Singh S: Maintained +F: addon_boards/mikrobus/*.dtso F: arch/arm64/boot/dts/ti/k3-am625-beagleplay-mikrobus-connector0.dtso F: Documentation/devicetree/bindings/connector/mikrobus-connector.yaml F: drivers/misc/mikrobus.rs diff --git a/addon_boards/Kconfig b/addon_boards/Kconfig new file mode 100644 index 000000000000..01766ab28848 --- /dev/null +++ b/addon_boards/Kconfig @@ -0,0 +1,16 @@ +# SPDX-License-Identifier: GPL-2.0 + +menu "Addon Board Overlays" + +config MIKROBUS_BOARD_OVERLAYS + bool "mikroBUS board overlays" + depends on OF_OVERLAY + depends on MIKROBUS + help + This option enables the mikroBUS addon board overlays. mikroBUS is an + add-on board socket standard that offers maximum expandability with + the smallest number of pins. + + Say Y here to enable overlays for MikroBUS addon boards. + +endmenu diff --git a/addon_boards/Makefile b/addon_boards/Makefile new file mode 100644 index 000000000000..38275c3ff4c1 --- /dev/null +++ b/addon_boards/Makefile @@ -0,0 +1,3 @@ +# SPDX-License-Identifier: GPL-2.0 + +subdir-$(CONFIG_MIKROBUS_BOARD_OVERLAYS) += mikrobus diff --git a/addon_boards/mikrobus/Makefile b/addon_boards/mikrobus/Makefile new file mode 100644 index 000000000000..f66554cd5c45 --- /dev/null +++ b/addon_boards/mikrobus/Makefile @@ -0,0 +1 @@ +# SPDX-License-Identifier: GPL-2.0