From mboxrd@z Thu Jan 1 00:00:00 1970 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 42F17C433EF for ; Tue, 29 Mar 2022 17:05:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239420AbiC2RHR (ORCPT ); Tue, 29 Mar 2022 13:07:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43296 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238507AbiC2RHR (ORCPT ); Tue, 29 Mar 2022 13:07:17 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D4B271403DE for ; Tue, 29 Mar 2022 10:05:30 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 6FAE0B81857 for ; Tue, 29 Mar 2022 17:05:29 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 987BEC340ED; Tue, 29 Mar 2022 17:05:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1648573528; bh=btnIAVCv9QrTXVbd0X5l88dYSHCYB2PlSI+Hh2kFE3I=; h=Date:To:Cc:From:Subject:From; b=hfBEUrepDoM6WBQjdSnXhKcCQiQBe2f3XSvo3rIuYEs4oNAaqx4tiXFgk1pLwnGxv 2cyOHt6pLTum7FiA1DZLt4GNEQN+a5ROw77cxeVmpCW26PTZEyOewVTH8nDcRPN0PP SICBZjmNpkLGx9mD8hfuU8R99VYqhIFsaW0FHk92Vsu7u62PxGVJx2ljROHkR2foW6 N7uWGD/E7f/rSir1I23DsEgUuOROJx6rGLxSP/4SGiEf5BlixdxtDwRInfXe4OE66C 3MzIAiQ+6EIA1EAzv8qeaRV2Wiokx/N94mm+IZtNAf0lbYkPvzC6NuxYRnRhMYpLUm FB6yaj31GYHHA== Message-ID: Date: Tue, 29 Mar 2022 19:05:24 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 X-Mozilla-News-Host: news://nntp.lore.kernel.org:119 Content-Language: en-US To: Heiko Stuebner Cc: "devicetree@vger.kernel.org" , Rob Herring , linux-rockchip@lists.infradead.org From: Krzysztof Kozlowski Subject: arm/rockchip.yaml - many separate entries instead of enums Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Hi Heiko, I found that Documentation/devicetree/bindings/arm/rockchip.yaml uses pattern of one board per item in oneOf. This leads to quite big file, with many entries, although gives nice description for each board. I find enum-based pattern, like FSL [1], much more readable and compact. What do you think? I could re-organize the arm/rockchip.yaml, but I don't want to mess with your preference. [1] https://elixir.bootlin.com/linux/latest/source/Documentation/devicetree/bindings/arm/fsl.yaml#L191 Best regards, Krzysztof