Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2225345pxb; Thu, 11 Feb 2021 07:23:54 -0800 (PST) X-Google-Smtp-Source: ABdhPJzBFe8Md1sn6Pj7M5r/d1E0W2C1y2GNPpg9XotZP/M5Iss1EivD/hl4pANjkUyffC9ibXs8 X-Received: by 2002:aa7:cd8c:: with SMTP id x12mr9010449edv.355.1613057034626; Thu, 11 Feb 2021 07:23:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613057034; cv=none; d=google.com; s=arc-20160816; b=S4s3FWxdoDiDXjGR8CeoleVpr1Tv1ctZzUy7TnYl2b5rzABgClG6yiknPmdQBqZ3lA 7wath68wzYDm7Dq9QcGgx3bb0hje+DoAeunWxBM4rkx8NMi0Ye5ynEot+HmZNejaNypW 11O7rLXlB3k9Qksd8QZFZF7zVTAyE/AHxdzMlF7v/MqEb3hUDD7swVNlRXmVMmHbRC3+ uVMBnZGSebmBXkFBg8K/EyxUSvo2R9oJAAI/ySNw1GDX+XJ6W0hhcDWj5elNvxB9jddR LxCBGPobOjanj8L0d32H/5uSaWAJvnj2mAb8wr2uY0KsMCpdHf+dkQsg3412amMyit6F hNjg== 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=dn75WSTG641vyGhJxBCc8bj1CmK9ISYbScx0h7bcLa0=; b=sdCOQUPOPTUhlpvQwwQ0XA8ZClu6DDZ//KfmYq523LQYKRIUSph2DOsPTJ3b1xB0xg rp7NoZfQPSn8NyOYSovUPWk1FojHtjUuJlprsBCYeo7YjjXV4N0ddQbZf/63Kn+AAzqM jHjtYMXlYId7bcFhJ22UqnHhXxNBnNs1xlhdMYsoTXk6ZsTrAV088LOBA5L8GKORVFQy XySG9pq2a6ZeRPEGwcQ+KceJqX0zWgwfjf6mlFrpme9J1TjaobFARlbeXKedd9k46bXN GZ9vXnIv7nZsbp8GlEXzQOMDzlpeymhpm8Sn08uk6ICji9vVpJAXq6kZEsZmlgt0y66g 6OVg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=E1IqgqsO; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id rp11si3996749ejb.724.2021.02.11.07.23.30; Thu, 11 Feb 2021 07:23:54 -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=@kernel.org header.s=k20201202 header.b=E1IqgqsO; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230134AbhBKPVL (ORCPT + 99 others); Thu, 11 Feb 2021 10:21:11 -0500 Received: from mail.kernel.org ([198.145.29.99]:47752 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231341AbhBKOxj (ORCPT ); Thu, 11 Feb 2021 09:53:39 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 9463864E7E; Thu, 11 Feb 2021 14:52:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1613055171; bh=y9W1QoA11D/YlFhp7AxmUd3UQsfGyTGGB4b+xoKvpDw=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=E1IqgqsO4b5AXFtD7WsZkQRJS1/AHZL2t36GzJjggnGdE22TKkvR+jmIibh4A1xZ0 4lSnt50ezkumgvmdhcFspKes6vONqmnQQT4dn9jrzexA/b94OAh/TWuzYGh0Ebx2h/ XRZkZHdmwGsDpykWFwbquiIEv6WoC1R/G5bWoC48U9Nw6VA8psLepDHwIm49ibD4ZG GQIQuf5RUQtnEeP6HG1OtoqS2tUyZu2tW9qRiCXVbGGT516p/0Znc3Fa77Hri6rZns P65jHZl5iPs1UEY5Vohiq3NX97au7ubTFmPPWvuMYVjt4veXp8IITN1V2UncoKXdqa /ms+UZgNQFG8A== Received: by mail-ej1-f42.google.com with SMTP id a9so10485807ejr.2; Thu, 11 Feb 2021 06:52:51 -0800 (PST) X-Gm-Message-State: AOAM530QS+omPy3z+IUHCjFrBc5TcD1Q+URxbWTp1sNGW6DuZmrS6mlM QOh7pUIH/X+tnnGBXpA3FYKyKSrypwuQnWrSXw== X-Received: by 2002:a17:906:f85:: with SMTP id q5mr8757682ejj.108.1613055170111; Thu, 11 Feb 2021 06:52:50 -0800 (PST) MIME-Version: 1.0 References: <20210207185140.3653350-1-aford173@gmail.com> <20210210201841.GA2688439@robh.at.kernel.org> In-Reply-To: From: Rob Herring Date: Thu, 11 Feb 2021 08:52:37 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH V3 1/2] dt-bindings: clk: versaclock5: Add optional load capacitance property To: Adam Ford 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:40 PM Adam Ford wrote: > > 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. Ah, looks like femtofarads got added to property-units.txt but not the schemas. I'll add it, but fine to leave this as-is for now. Reviewed-by: Rob Herring Rob