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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3F33FC636D7 for ; Thu, 16 Feb 2023 16:20:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229787AbjBPQUH (ORCPT ); Thu, 16 Feb 2023 11:20:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47694 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229478AbjBPQUF (ORCPT ); Thu, 16 Feb 2023 11:20:05 -0500 Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 01C37A5DD; Thu, 16 Feb 2023 08:20:02 -0800 (PST) Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 31GGJZPO002572; Thu, 16 Feb 2023 10:19:35 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1676564375; bh=4pkkc8jMyv8DH3gHPUcxL9LwJCNvYl5NvzKWjQLp4u0=; h=Date:Subject:To:CC:References:From:In-Reply-To; b=TjeQ1indw4p4hg32npAaEQr7CkRgyXnOzsOfnHfsbtywF5TpVNM604ZZcnbnPn8Hu 6eh7sLr2H6Tip76w4OlF9ZiT1mREMcao5eZxBPs2wraku/UbAwbmTr4J8ssVDrnbhr 3pgtUAFKbijPJ+Ywu4e5328+7rMAHrGu57VJtPPY= Received: from DFLE100.ent.ti.com (dfle100.ent.ti.com [10.64.6.21]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 31GGJZRJ123436 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 16 Feb 2023 10:19:35 -0600 Received: from DFLE112.ent.ti.com (10.64.6.33) by DFLE100.ent.ti.com (10.64.6.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16; Thu, 16 Feb 2023 10:19:35 -0600 Received: from fllv0040.itg.ti.com (10.64.41.20) by DFLE112.ent.ti.com (10.64.6.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16 via Frontend Transport; Thu, 16 Feb 2023 10:19:35 -0600 Received: from [10.249.37.35] (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 31GGJY4M000490; Thu, 16 Feb 2023 10:19:34 -0600 Message-ID: <814cd5f3-b46d-13f3-1d05-f26a29914c9b@ti.com> Date: Thu, 16 Feb 2023 10:19:34 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Subject: Re: [RFC 2/2] WIP: dt-bindings: omap: Convert omap.txt to yaml Content-Language: en-US To: "H. Nikolaus Schaller" CC: Rob Herring , Krzysztof Kozlowski , =?UTF-8?Q?Beno=c3=aet_Cousson?= , Tony Lindgren , Colin Foster , Olof Johansson , Arnd Bergmann , OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS , linux Kernel Mailing List , Linux-OMAP , Linux ARM , Discussions about the Letux Kernel References: <20230216153339.19987-1-afd@ti.com> <20230216153339.19987-3-afd@ti.com> From: Andrew Davis In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2/16/23 10:08 AM, H. Nikolaus Schaller wrote: > Hi, > >> Am 16.02.2023 um 16:33 schrieb Andrew Davis : >> >> Signed-off-by: Andrew Davis >> --- >> .../devicetree/bindings/arm/omap/omap.yaml | 174 ++++++++++++++++++ >> 1 file changed, 174 insertions(+) >> create mode 100644 Documentation/devicetree/bindings/arm/omap/omap.yaml >> >> diff --git a/Documentation/devicetree/bindings/arm/omap/omap.yaml b/Documentation/devicetree/bindings/arm/omap/omap.yaml >> new file mode 100644 >> index 0000000000000..cf07a7a7df279 >> --- /dev/null >> +++ b/Documentation/devicetree/bindings/arm/omap/omap.yaml >> @@ -0,0 +1,174 @@ >> +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) >> +%YAML 1.2 >> +--- >> +$id: http://devicetree.org/schemas/arm/omap/omap.yaml# >> +$schema: http://devicetree.org/meta-schemas/core.yaml# >> + >> +title: Texas Instruments OMAP SoC architecture device tree bindings >> + >> +maintainers: >> + - Tony Lindgren >> + >> +description: | >> + Platforms based on Texas Instruments OMAP SoC architecture. >> + >> +properties: >> + $nodename: >> + const: '/' >> + compatible: >> + oneOf: >> + >> + - description: TI OMAP2420 SoC based platforms >> + items: >> + - enum: >> + - ti,omap2420-h4 # TI OMAP2420 H4 board >> + - nokia,n800 # Nokia N800 >> + - nokia,n810 # Nokia N810 >> + - nokia,n810-wimax # Nokia N810 WiMax >> + - const: ti,omap2420 >> + - const: ti,omap2 >> + >> + - description: TI OMAP2430 SoC based platforms >> + items: >> + - enum: >> + - ti,omap2430-sdp # TI OMAP2430 SDP >> + - const: ti,omap2430 >> + - const: ti,omap2 >> + >> + - description: TI OMAP3430 SoC based platforms >> + items: >> + - enum: >> + - logicpd,dm3730-som-lv-devkit # LogicPD Zoom OMAP35xx SOM-LV Development Kit >> + - logicpd,dm3730-torpedo-devkit # LogicPD Zoom OMAP35xx Torpedo Development Kit >> + - ti,omap3430-sdp # TI OMAP3430 SDP >> + - ti,omap3-beagle # TI OMAP3 BeagleBoard >> + - compulab,omap3-cm-t3530 # CompuLab CM-T3530 >> + - timll,omap3-devkit8000 # TimLL OMAP3 Devkit8000 >> + - ti,omap3-evm # TI OMAP35XX EVM (TMDSEVM3530) >> + - ti,omap3-ldp # TI OMAP3430 LDP (Zoom1 Labrador) >> + - nokia,omap3-n900 # Nokia N900 >> + - const: ti,omap3430 >> + - const: ti,omap3 >> + >> + - description: TI OMAP3630 SoC based platforms >> + items: >> + - enum: >> + - logicpd,dm3730-som-lv-devkit # LogicPD Zoom DM3730 SOM-LV Development Kit >> + - logicpd,dm3730-torpedo-devkit # LogicPD Zoom DM3730 Torpedo + Wireless Development Kit >> + - ti,omap3-beagle-xm # TI OMAP3 BeagleBoard xM >> + - compulab,omap3-cm-t3730 # CompuLab CM-T3730 >> + - amazon,omap3-echo # Amazon Echo (first generation) >> + - ti,omap3-evm-37xx # TI OMAP37XX EVM (TMDSEVM3730) >> + - ti,omap3-gta04 # OMAP3 GTA04 > > precisely the GTA04 was not a TI product, but from Golden Delicious Computers. > It got this compatible because it originally shared a lot of device tree with the ti,omap3-beagle-xm. > Well, we could add a vendor prefix ("goldelico") and update the device trees to "goldelico,gta04". > > Generally, there is also the OpenPandora with both OMAP3 variants (3430 and 3630): > > compatible = "openpandora,omap3-pandora-600mhz", "ti,omap3430", "ti,omap3"; > compatible = "openpandora,omap3-pandora-1ghz", "ti,omap3630", "ti,omap36xx", "ti,omap3"; > > But it is also missing a vendor prefix. Should I send a patch for both topics? > Before the scheme is merged or afterwards? > I'd suggest we get as many fixes into the actual DT files before the schemas are solidified. Doing it after would mean changes in two places vs one. >> + - nokia,omap3-n9 # Nokia N9 >> + - nokia,omap3-n950 # Nokia N950 >> + - lg,omap3-sniper # LG Optimus Black >> + - ti,omap3-zoom3 # TI Zoom3 >> + - const: ti,omap3630 >> + - const: ti,omap3 >> + >> + - description: TI AM35 SoC based platforms >> + items: >> + - enum: >> + - teejet,mt_ventoux # TeeJet Mt.Ventoux >> + - ti,am3517-craneboard # TI AM3517 CraneBoard (TMDSEVM3517) >> + - ti,am3517-evm # TI AM3517 EVM (AM3517/05 TMDSEVM3517) >> + - compulab,omap3-sbc-t3517 # CompuLab SBC-T3517 with CM-T3517 >> + - const: ti,am3517 >> + - const: ti,omap3 >> + >> + - description: TI OMAP4430 SoC based platforms >> + items: >> + - enum: >> + - motorola,droid4 # Motorola Droid 4 XT894 >> + - motorola,droid-bionic # Motorola Droid Bionic XT875 >> + - amazon,omap4-kc1 # Amazon Kindle Fire (first generation) >> + - ti,omap4-panda # TI OMAP4 PandaBoard >> + - ti,omap4-sdp # TI OMAP4 SDP board >> + - const: ti,omap4430 >> + - const: ti,omap4 >> + >> + - description: TI OMAP4460 SoC based platforms >> + items: >> + - enum: >> + - ti,omap4-panda-es # TI OMAP4 PandaBoard-ES >> + - const: ti,omap4460 >> + - const: ti,omap4 >> + >> + - description: TI OMAP543 SoC based platforms > > s/TI OMAP543 SoC/TI OMAP5 SoC/ > ACK Andrew >> + items: >> + - enum: >> + - compulab,omap5-cm-t54 # CompuLab CM-T54 >> + - isee,omap5-igep0050 # IGEPv5 >> + - ti,omap5-uevm # TI OMAP5 uEVM board >> + - const: ti,omap5 >> + >> + - description: TI AM33 SoC based platforms >> + items: >> + - enum: >> + - ti,am335x-bone # TI AM335x BeagleBone >> + - compulab,cm-t335 # CompuLab CM-T335 >> + - ti,am335x-evm # TI AM335x EVM >> + - ti,am335x-evmsk # TI AM335x EVM-SK >> + - bosch,am335x-guardian # Bosch AM335x Guardian >> + - ti,am3359-icev2 # TI AM3359 ICE-V2 >> + - novatech,am335x-lxm # NovaTech OrionLXm >> + - moxa,uc-2101 # Moxa UC-2101 >> + - moxa,uc-8100-me-t # Moxa UC-8100-ME-T >> + - gumstix,am335x-pepper # Gumstix Pepper >> + - tcl,am335x-sl50 # Toby Churchill SL50 Series >> + - pattern: '^ti,am33(5[1246789]|xx)$' # ti,am33xx is legacy please use full SoC name >> + >> + - description: TI AM43 SoC based platforms >> + items: >> + - enum: >> + - compulab,am437x-cm-t43 # CompuLab CM-T43 >> + - ti,am437x-gp-evm # TI AM437x GP EVM >> + - ti,am437x-idk-evm # TI AM437x Industrial Development Kit >> + - ti,am437x-sk-evm # TI AM437x SK EVM >> + - pattern: '^ti,am4372[26789]$' >> + - const: ti,am43 >> + >> + - description: TI AM57 SoC based platforms >> + items: >> + - enum: >> + - beagle,am5729-beagleboneai # BeagleBoard.org BeagleBone AI >> + - compulab,cl-som-am57x # CompuLab CL-SOM-AM57x >> + - ti,am5718-idk # TI AM5718 IDK >> + - ti,am5728-idk # TI AM5728 IDK >> + - ti,am5748-idk # TI AM5748 IDK >> + - pattern: '^ti,am57[0124][689]$' >> + - const: ti,am57 >> + >> + - description: TI DRA7 SoC based platforms >> + items: >> + - enum: >> + - ti,dra718-evm # TI DRA718 EVM >> + - ti,dra722-evm # TI DRA722 EVM >> + - ti,dra742-evm # TI DRA742 EVM >> + - ti,dra762-evm # TI DRA762 EVM >> + - pattern: '^ti,dra7[12456][024568p]$' >> + - const: ti,dra7 >> + >> +additionalProperties: true >> + >> +examples: >> + - | >> + / { >> + model = "TI OMAP2430 SDP (Software Development Board)"; >> + compatible = "ti,omap2430-sdp", "ti,omap2430", "ti,omap2"; >> + >> + #address-cells = <1>; >> + #size-cells = <1>; >> + }; >> + >> + - | >> + / { >> + model = "TI DRA762 EVM"; >> + compatible = "ti,dra762-evm", "ti,dra762", "ti,dra7"; >> + >> + #address-cells = <1>; >> + #size-cells = <1>; >> + }; >> + >> +... >> -- >> 2.39.1 >> > > BR, > Nikolaus >