Message ID | 20250609-bbg-v2-2-5278026b7498@bootlin.com |
---|---|
State | New |
Headers | show |
Series | Add support for BeagleBone Green Eco board | expand |
Am Mon, 9 Jun 2025 18:03:05 +0100 schrieb Conor Dooley <conor@kernel.org>: > > + - 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. > we have an enum below it listing all those variants. So "variants" makes sense here, but better "TI Beaglebone variants" > > + items: > > + - enum: > > + - ti,am335x-bone-black > > + - ti,am335x-bone-green > > + - ti,am335x-pocketbeagle > > + - const: ti,am335x-bone > > + - const: ti,am33xx > > + Regards, Andreas
On 6/9/25 10:43 AM, Kory Maincent wrote: > 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 > - ti,am335x-evm > + - ti,am335x-evmsk > + - ti,am335x-pocketbeagle > + - ti,am335x-shc > - ti,am3359-icev2 > + - vscom,onrisc > + - const: ti,am33xx > + > + - description: TI bone variants based on TI AM335 Do we really need these "bone variants" split out from the above list of TI AM33 based boards? We don't do that for any of the other boards, you get a SoC and a Board compatible, every classification in-between is just unneeded. Andrew > + items: > + - enum: > + - ti,am335x-bone-black > + - ti,am335x-bone-green > + - ti,am335x-pocketbeagle > + - const: ti,am335x-bone > + - const: ti,am33xx > + > + - description: TI bone black variants based on TI AM335 > + items: > + - enum: > + - sancloud,am335x-boneenhanced > + - ti,am335x-bone-black-wireless > + - 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 > + - const: ti,am335x-bone-green > + - const: ti,am335x-bone > - const: ti,am33xx > > - description: Compulab board variants based on TI AM33 >
On Mon, Jun 9, 2025 at 1:03 PM Conor Dooley <conor@kernel.org> wrote: > > On Mon, Jun 09, 2025 at 05:43:52PM +0200, Kory Maincent wrote: > > 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. > > - ti,am335x-evm > > + - ti,am335x-evmsk > > + - ti,am335x-pocketbeagle This one is also "beagle", not "ti". > > + - 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? > > > + items: > > + - enum: > > + - ti,am335x-bone-black "beagle" > > + - 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". > > + - 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. > > + - 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. > > + items: > > + - enum: > > + - sancloud,am335x-boneenhanced Note that this one is correct to be "sancloud", who licenses the BeagleBone brand from the BeagleBoard.org Foundation. > > + - ti,am335x-bone-black-wireless "beagle" > > + - 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" > > + - const: ti,am335x-bone-green > > + - const: ti,am335x-bone > > - const: ti,am33xx > > > > - description: Compulab board variants based on TI AM33 > > > > -- > > 2.43.0 > >
On Mon, Jun 09, 2025 at 09:50:44PM +0200, Andreas Kemnade wrote: > Am Mon, 9 Jun 2025 18:03:05 +0100 > schrieb Conor Dooley <conor@kernel.org>: > > > > + - 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. > > > we have an enum below it listing all those variants. So "variants" > makes sense here, but better "TI Beaglebone variants" Yes, this was a comment on calling it a "bone", when that's not what the boards are called in their marketing material etc, not objecting to the word variant.
On Mon, Jun 09, 2025 at 05:43:52PM GMT, Kory Maincent wrote: > 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> Subject prefix is: dt-bindings. https://www.kernel.org/doc/html/latest/devicetree/bindings/submitting-patches.html#i-for-patch-submitters Best regards, Krzysztof
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 - ti,am335x-evm + - ti,am335x-evmsk + - ti,am335x-pocketbeagle + - ti,am335x-shc - ti,am3359-icev2 + - vscom,onrisc + - const: ti,am33xx + + - description: TI bone variants based on TI AM335 + items: + - enum: + - ti,am335x-bone-black + - ti,am335x-bone-green + - ti,am335x-pocketbeagle + - const: ti,am335x-bone + - const: ti,am33xx + + - description: TI bone black variants based on TI AM335 + items: + - enum: + - sancloud,am335x-boneenhanced + - ti,am335x-bone-black-wireless + - 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 + - const: ti,am335x-bone-green + - const: ti,am335x-bone - const: ti,am33xx - description: Compulab board variants based on TI AM33
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(+)