Re: [PATCH v2 2/5] binding: omap: Add lots of missing omap AM33 compatibles
From: Jason Kridner <hidden>
Date: 2025-06-10 12:48:29
Also in:
linux-arm-kernel, linux-omap, lkml
On Mon, Jun 9, 2025 at 1:03 PM Conor Dooley [off-list ref] wrote:
On Mon, Jun 09, 2025 at 05:43:52PM +0200, Kory Maincent wrote:quoted
Add several compatible strings that were missing from the binding documentation. Add description for Bone, BoneBlack and BoneGreen variants. Add several compatible that were missing from the binding. Signed-off-by: Kory Maincent <kory.maincent@bootlin.com> --- Change in v2: - New patch --- Documentation/devicetree/bindings/arm/ti/omap.yaml | 38 ++++++++++++++++++++++ 1 file changed, 38 insertions(+)diff --git a/Documentation/devicetree/bindings/arm/ti/omap.yaml b/Documentation/devicetree/bindings/arm/ti/omap.yaml index 3603edd7361d..c43fa4f4af81 100644 --- a/Documentation/devicetree/bindings/arm/ti/omap.yaml +++ b/Documentation/devicetree/bindings/arm/ti/omap.yaml@@ -104,12 +104,50 @@ properties: - description: TI AM33 based platform items: - enum: + - bosch,am335x-guardian - compulab,cm-t335 + - grinn,am335x-chilisom + - gumstix,am335x-pepper + - moxa,uc-2101 - moxa,uc-8100-me-t + - myir,myc-am335x + - myir,myd-am335x - novatech,am335x-lxm + - oct,osd3358-sm-refdesign + - tcl,am335x-sl50 - ti,am335x-bone
What is the convention here? "beagle" is a vendor, so not sure why this continues to be "ti". The owner of the brand for this board is "The BeagleBoard.org Foundation". Not sure if it is reasonable to fix this.
quoted
- ti,am335x-evm + - ti,am335x-evmsk + - ti,am335x-pocketbeagle
This one is also "beagle", not "ti".
quoted
+ - ti,am335x-shc - ti,am3359-icev2 + - vscom,onrisc + - const: ti,am33xx + + - description: TI bone variants based on TI AM335"bone variant" sounds like some shortand or nickname. Are the boards not called "beaglebone green" and "beaglebone black"? Whatever about the compatible, the description should use the full name I think.
I'm not sure this is really needed. There is some desire to fall-back to a building block level of functionality around these derivatives of "BeagleBoard.org BeagleBone", including compatibility with the expansion headers, but I don't think that will happen at this level. In u-boot, it is possible to make the determination to utilize a less-complete devicetree, but it seems impractical here. What are the objections to just listing these all as TI AM33 based platforms?
quoted
+ items: + - enum: + - ti,am335x-bone-black
"beagle"
quoted
+ - ti,am335x-bone-green
This is a Seeed Technology Co., Ltd. board that licenses the BeagleBone brand from the BeagleBoard.org Foundation, so "seeed", not "ti".
quoted
+ - ti,am335x-pocketbeagle
Not sure why this one is repeated. Also, it very much begs the definition of being a BeagleBone derivative outside of usage of the PMIC.
quoted
+ - const: ti,am335x-bone + - const: ti,am33xx + + - description: TI bone black variants based on TI AM335
There are lots of derivatives of BeagleBoard.org BeagleBone Black and falling back to a compatible makes some sense, but I don't think it is of practical benefit here the way things have worked out. The smarts have to be in the bootloader based off of the board IDs and the kernel is just going to do what it is told. Now, if we had some practical overlays performed by the kernel, this would all make some sense as patches between these variants provide useful fallback operation, but this is otherwise confusing. I appreciate the credit given to BeagleBoard.org for them being variants, but this really isn't the place.
quoted
+ items: + - enum: + - sancloud,am335x-boneenhanced
Note that this one is correct to be "sancloud", who licenses the BeagleBone brand from the BeagleBoard.org Foundation.
quoted
+ - ti,am335x-bone-black-wireless
"beagle"
quoted
+ - const: ti,am335x-bone-black + - const: ti,am335x-bone + - const: ti,am33xx + + - description: TI bone green variants based on TI AM335 + items: + - enum: + - ti,am335x-bone-green-wireless
"seeed"
quoted
+ - const: ti,am335x-bone-green + - const: ti,am335x-bone - const: ti,am33xx - description: Compulab board variants based on TI AM33 -- 2.43.0
-- Learn about me and setup a meeting at https://beagleboard.org/about/jkridner - a 501c3 non-profit educating around open hardware computing