From nobody Sat Nov 30 06:27:32 2024 Received: from mail-pj1-f68.google.com (mail-pj1-f68.google.com [209.85.216.68]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 985D019E965 for ; Wed, 11 Sep 2024 14:28:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.68 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726064925; cv=none; b=cp1qSmOseovkym8JNrbSxFRlYWI6eVz+RByws6Sxf99sH0zOfX+Ap76Yg1/eWFo5VAMrxDa7XOgCbO69huHDQ2rTEpnejnLNs5rvvFV6sa7ht7b42CwPuNiVvzaPGazE0b0csYhpibz/Z42A6CHrw4Anq/D2KXQqCWDV2tLohgM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726064925; c=relaxed/simple; bh=fvn5dpE2XyvTj0U03uUcIoDMSvkgRzCWJgdVKHBGt+M=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=ChyOxQDyGtRbpj8IX5LkNxkwaqjp7lF7UxP7B9tyaeBXMm8s6Z5dV8ugoh10QEOLEUStXKobdbY/rkQx7wFkHQNn7NGso8w0guvoXdcFVkynR8lyZK+YMPseH7y4phUPDrGtNAIJxbrSrVZxKCIDtJ47IeQJw2JjlD6rMGi6DJE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=beagleboard.org; spf=fail smtp.mailfrom=beagleboard.org; dkim=pass (2048-bit key) header.d=beagleboard-org.20230601.gappssmtp.com header.i=@beagleboard-org.20230601.gappssmtp.com header.b=XDETgUYE; arc=none smtp.client-ip=209.85.216.68 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=beagleboard.org Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=beagleboard.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=beagleboard-org.20230601.gappssmtp.com header.i=@beagleboard-org.20230601.gappssmtp.com header.b="XDETgUYE" Received: by mail-pj1-f68.google.com with SMTP id 98e67ed59e1d1-2d8815ef6d2so1556115a91.0 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=vger.kernel.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=XDETgUYEHXcYpoWVkeummhH3hmtGzz/b5qNY1y62RnPqzHCTQhHQGelTLOT7zgXNN5 gyVdfkcoa+A11xpfX8rSHmzpOhusFrsBZ2FHBhW0Ib1FkH4pkjwjyoyZ7QwwpNUzmgcC XKAJ2Uvm60WbBHC8lc1B7HyImskkZ1e+056kQbprQjMzlV7VCVEcELVWOS7ROQLofJi+ 9qO6+m2q5MIQy5XfSvlXl3zKEi3bpFfYExWPNocx+eOHiuoh6D4t2SmnVDfaEGrIGXMW 7DZ29BVEd/YqCJx/FPR7uaKCDRxfC5mly6mMQBu5AvSiW1UjO3Vg/KF8cfDygrUFNML8 2RPg== 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=H4KXJ6bnAtjq2yVbrreQnLwtyStP7aQZuhmrYuNjqpWIAwTcpkBLNPmX+fdNdkbBaV aJHTK6UIUJLFiB+qrSxeSu3XwJGQUQGOi+wQGn65GP6QUTK9YT3x8+gkZzA3kuJ08y/n CfPo7QdTlT70eHWajTMjaxRnphl8NinGt8Ypk5205/wM7MYsIAevezf7iTF38IPRoe4V lc2Aur3DQAEsz/QEi6U2uaGjKO8g0EAT1F+sdRqC3UfrI4LS6574wZLmkovESMv8l8my PqMbiM5kAqzUqqiOu1xsS6YJ+DrXd9QZUQ3oE0atT5cc4F0jQglZ10F8YvbTOpyITnHr xSjA== X-Gm-Message-State: AOJu0YzmLXl69BtLmssaAZXurG6rbAtzjG8eaRloLt6m0ELZEQ8/kygr Wjr7Fh8JMB1wCKrf7kjROfFmZiJB22IiLVFbnRpVeyS/tAlbxHl0jblsIE4Jx3YaCHs3j6eHDyr 4zELu 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 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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 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) +=3D samples/ obj-$(CONFIG_NET) +=3D net/ obj-y +=3D virt/ obj-y +=3D $(ARCH_DRIVERS) +obj-y +=3D 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" =20 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) +=3D 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 --=20 2.46.0