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 A0700C433F5 for ; Wed, 13 Apr 2022 08:09:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229982AbiDMILw (ORCPT ); Wed, 13 Apr 2022 04:11:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33902 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230089AbiDMILv (ORCPT ); Wed, 13 Apr 2022 04:11:51 -0400 Received: from muru.com (muru.com [72.249.23.125]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 533C16384; Wed, 13 Apr 2022 01:09:28 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id D96CF80F5; Wed, 13 Apr 2022 08:06:52 +0000 (UTC) Date: Wed, 13 Apr 2022 11:09:26 +0300 From: Tony Lindgren To: Krzysztof Kozlowski Cc: Rob Herring , Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-omap@vger.kernel.org, Daniel Lezcano , Keerthy , Nishanth Menon , Vignesh Raghavendra Subject: Re: [PATCH 1/2] dt-bindings: timer: Update TI timer to yaml Message-ID: References: <20220412131644.59195-1-tony@atomide.com> <20220412131644.59195-2-tony@atomide.com> <1c455b6e-0009-6f8b-15c8-2a352479c5f2@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org * Tony Lindgren [220413 06:08]: > * Krzysztof Kozlowski [220412 17:04]: > > Hmmm, in your previous version I had impression that first clock is not > > the same on every flavor. Now it looks the same, so clocks you could > > simplify even more: > > 1. Define full list in main properties (not in allOf) with minItems:1 > > 2. Use maxItems:1, for this "else:" case. > > > > This could greatly reduce amount of code you need and keep the actual > > definition of clocks in main properties (not in allOf; allOf are only to > > constrain it). > > OK thanks I'll check. I think we can assume the first clock is "fck" if > it is configured at all. Yup, this works nicely :) Will send out v4 set. Thanks, Tony