Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1626099pxb; Wed, 10 Feb 2021 12:44:50 -0800 (PST) X-Google-Smtp-Source: ABdhPJxPla75MeG7OICBeZSBN+JjMILQIUkLklYf38ChZ08vMFh6jGVJUkMlaI/KWY0AeI815i0E X-Received: by 2002:aa7:cc98:: with SMTP id p24mr5148850edt.126.1612989889983; Wed, 10 Feb 2021 12:44:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612989889; cv=none; d=google.com; s=arc-20160816; b=KJ0wccLgr8qukmeNO+LNOs/kW3cxxVuA7aqUNcv1Dcv+IUA2u1y+mqikM+r95mKFlV 7etfGMvrKq+UMI8JiRWqkKcuA3rgw67SdX3uga5JCaF8QQKwakFZs4Eck+tlYu2fm4Ch U4lybLZvXMO6SZkBt2D+A28E2cP41ICDrG2Lt0w9bmSZmzAGd2GbZ37XuSt8cj/EkgiF yyqgv/KW4us8K02OY6m5mX4iyi3BPBHgvRgTm/gTOaQd9YqHljbAjFHPKyk2PtqMgz86 8b5UpfujTusFwkwFmhczgnIJ9PewZPB0FLBbPFQ4BKzvXG5fx0dA0RDLRMBjzzQ0ooN9 25tQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=2yhiCvUyqwB+Gy0G+54/j5J/bjxh290iesA/97iqEAo=; b=BwrguNqGVgJ9RzT+y5NrIujGPOQKGbS8U/yE/gxQwTV60YFSc7Z1M7vsQqpnOGCNqZ ehgnxbc2jViKgsXEkEZ5RWN/egI2mPe3iyvg28OQu128RsbA7Ss6h+boZPznfb0kT8x6 7yHE/Jqea+0T+Kzu0WwEHSuj52653BzaowYvfSBX59qVP84QWnOJsZ74pTDrAfGQYNQA /MZvz+N5WjyQYyrAZjfsfCgfO5jSk39aQLNx0kHR2BSVLspCGGDngmwNxxlYRG+eEcn1 xQjN+kHEMA9k8GksfFbkIIZ3S2AFFaHIfjJchZak8xRA1Ksoa9cy3LZpqXFxfn1LL/0Q y9EQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=OdRNp4c7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x2si1875277ejn.747.2021.02.10.12.44.25; Wed, 10 Feb 2021 12:44:49 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=OdRNp4c7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232149AbhBJUlh (ORCPT + 99 others); Wed, 10 Feb 2021 15:41:37 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37002 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231642AbhBJUlb (ORCPT ); Wed, 10 Feb 2021 15:41:31 -0500 Received: from mail-pf1-x42a.google.com (mail-pf1-x42a.google.com [IPv6:2607:f8b0:4864:20::42a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 329F4C06174A; Wed, 10 Feb 2021 12:40:50 -0800 (PST) Received: by mail-pf1-x42a.google.com with SMTP id j12so2047779pfj.12; Wed, 10 Feb 2021 12:40:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=2yhiCvUyqwB+Gy0G+54/j5J/bjxh290iesA/97iqEAo=; b=OdRNp4c7kpkYf5N4fUld+qsh3IV2vC1G+QZuGpVTAIxPMLrAd8Hsj+s6MUe1ZYVZzk R4oR6A6qNRygdg3bZpb2kc2OBo3vsC2esX4uI3AN8GEAw4o35hw9v+NtI8fLZ8xGEs5F FC2XcervKdOtyOpAF2qmgrPJHUWUzX3zSao0sArifhlRa8BsBXtiPbFGJgv6S+ztsgwy iJXU2aRC4wy0pRIAU0KCIK7TXKyBDx2FhkzT0Z8pbEgfpad8zEtGOOwHtjxFKydQ9i/p 2BM+IGJjNy/MssZ5XZXciuIWIWzRVHzl4S15mW/ZCPtlij1ifmIeEKo2ynDB2hEQd3jn 4xGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=2yhiCvUyqwB+Gy0G+54/j5J/bjxh290iesA/97iqEAo=; b=XOZRcc2rPTO1bGr2YHdHaKa8bnj9wMK2PnKqDEYD3s93eBzOQosb3PizoZ5gTmR88b GtZ3CHU40ywSQgAMKPIxcGcbUs0N9nQspovZNS0HSrkqk8YLxgR/duHU5cpUepZJBKup lEIhVBgMW8bhg4c22B32zBGvG/TCvfpGuxOjhvxm3Pc4bb6GiuUf6tEj+rA+evAFCluC eonz4IuzBhe47+SHTmjTo7ANhhhsg1KnullfjmjbhYWvYcmaqgv662wuThW89EeArdi4 vH1zCgieO7jR8kuZLPi5XVCIb/dNvOOc9kR30wwAl6+11BY5CQI2JzqBiElNw67++aPf zWSQ== X-Gm-Message-State: AOAM530UE/y+K0YQMu04T89c8FpfJj67ldPkjM5UggHSSqnW34e0x2dZ KrWazsid97a+ND6XSVw7Fa6lz6NApDt0ZI4pVjLL92vq X-Received: by 2002:a63:2d3:: with SMTP id 202mr4670857pgc.438.1612989649405; Wed, 10 Feb 2021 12:40:49 -0800 (PST) MIME-Version: 1.0 References: <20210207185140.3653350-1-aford173@gmail.com> <20210210201841.GA2688439@robh.at.kernel.org> In-Reply-To: <20210210201841.GA2688439@robh.at.kernel.org> From: Adam Ford Date: Wed, 10 Feb 2021 14:40:38 -0600 Message-ID: Subject: Re: [PATCH V3 1/2] dt-bindings: clk: versaclock5: Add optional load capacitance property To: Rob Herring Cc: linux-clk , Adam Ford-BE , Luca Ceresoli , Michael Turquette , Stephen Boyd , devicetree , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Feb 10, 2021 at 2:18 PM Rob Herring wrote: > > On Sun, Feb 07, 2021 at 12:51:38PM -0600, Adam Ford wrote: > > There are two registers which can set the load capacitance for > > XTAL1 and XTAL2. These are optional registers when using an > > external crystal. Since XTAL1 and XTAL2 will set to the same value, > > update the binding to support a single property called > > xtal-load-femtofarads. > > > > Signed-off-by: Adam Ford > > --- > > V3: No Change > > V2: No Change > > > > A couple people suggested that I not use the $ref, but without it, > > the bindings check failed with errors. > > > > diff --git a/Documentation/devicetree/bindings/clock/idt,versaclock5.yaml b/Documentation/devicetree/bindings/clock/idt,versaclock5.yaml > > index 2ac1131fd922..c268debe5b8d 100644 > > --- a/Documentation/devicetree/bindings/clock/idt,versaclock5.yaml > > +++ b/Documentation/devicetree/bindings/clock/idt,versaclock5.yaml > > @@ -59,6 +59,12 @@ properties: > > minItems: 1 > > maxItems: 2 > > > > + idt,xtal-load-femtofarads: > > + $ref: /schemas/types.yaml#/definitions/uint32 > > Don't need a type with standard unit suffix. If I remove that line, the binding check fails. adam > > > + minimum: 9000 > > + maximum: 22760 > > + description: Optional load capacitor for XTAL1 and XTAL2 > > + > > patternProperties: > > "^OUT[1-4]$": > > type: object > > -- > > 2.25.1 > >