Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp317883pxb; Wed, 13 Jan 2021 04:34:58 -0800 (PST) X-Google-Smtp-Source: ABdhPJwLOJ3fV2WBrzqAWkvgAYhUjfD7yFMtyVoLroaeJURfUV4wT99qHh3c88msMm8uivehmB31 X-Received: by 2002:a17:906:b0d2:: with SMTP id bk18mr1347834ejb.508.1610541298328; Wed, 13 Jan 2021 04:34:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610541298; cv=none; d=google.com; s=arc-20160816; b=nrT5IZM8Xq77hTj3cja+demrKZvI1hQZna4GvoZFENgg34yPGCIUrXG6ecxxup/j6s cJY+XOAkjW5zSNDc9H2Y0W23KRkVNYw3sm1wfTA1pgCuPYRS4mrgPM9HjP1dXa29q/FU e0dMDqtFXLEOaYhNTe5gs5XTGO6oPoKcpb5rL4fNASNNxQNoWKjRlXLd0ZgVe/s099ov qVzfwBdUTtzjUj+UXG+2v65nY2UQYv0p2nYQLGiOTqpaNmOtL3H9wtzm1q1jeM0+RmgF iqMU0NhqvH52FbYbdWBS3a+35E4KxY/XuDgiWzFrA5gaDR2RMesvzA1b7Cww7bsE7PcC y9HA== 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=6dNewR/GBxYcqHW8j6LuwWO6j2XEeY/N+ilHta5QzCk=; b=IoLTinK3aqcwTIJQS+S/czO42XFgGWtgfxt+OBhuZcYVs2ZXCk/nGwg/rOlLx8J3ux BrRZ8gaouoR0VTTuvya7SrEv5wPXB7SZenO1jADSWjdivUWroFFPaRUj3OfGnwtXpwhl pAt5yrD+gnYi/SfH3dFSNlUH2gJVfqr/DRw64qGYd2lXHQZIgh4rI5asc2KTloSzRFi1 oNmECPf55Z7UGgNsmXNU7065rT3Nnw1K+kxlkTM3TUHF3H3dLdEjHDfsUEMwZX99Hskg hDt6tNSnGbXAP+y3VUpoYRx690m/rVnlFLyeyprCZ/0MO4gE59n0g+4YvUAmkVjT/6d5 uxGA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=lcWTjOWd; 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 z27si900133edl.135.2021.01.13.04.34.35; Wed, 13 Jan 2021 04:34:58 -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=lcWTjOWd; 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 S1726853AbhAMMc2 (ORCPT + 99 others); Wed, 13 Jan 2021 07:32:28 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40022 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726593AbhAMMc2 (ORCPT ); Wed, 13 Jan 2021 07:32:28 -0500 Received: from mail-io1-xd2a.google.com (mail-io1-xd2a.google.com [IPv6:2607:f8b0:4864:20::d2a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DECCFC061575; Wed, 13 Jan 2021 04:31:47 -0800 (PST) Received: by mail-io1-xd2a.google.com with SMTP id z5so3603951iob.11; Wed, 13 Jan 2021 04:31:47 -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=6dNewR/GBxYcqHW8j6LuwWO6j2XEeY/N+ilHta5QzCk=; b=lcWTjOWdQuNqFHO9XwhlRGKL/P9lSHTuR6eETxZ2dEeh76XT++qEVAaXM1wS9xzjDe hqBQbFaTjiy3H9zXt+2ws+2+fbdAvhgkpsB8jcPL/UIiTiPO/tiT1+mNBGreOMHWjYqe gGJZgrBj1w2YA4pso727j9FplByThhA6cO0SNAbbQ3CWJYtcMimyJuHDHrPEKebOj+Mh e8ZXaRAypHPUN1WF2z9+TmEeLC4bfBoiJrvJAOK1gqTzsLK6O7yZt+72xXVCaFAHWfcB zZxODTYsHJuFKwmWWoDMOSS7qaUMakKlmAI2SBaUD0ndXAXvLWH3EUbtFnyhqHypIZ/t CprQ== 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=6dNewR/GBxYcqHW8j6LuwWO6j2XEeY/N+ilHta5QzCk=; b=tISayi3wE+8gbMqW1i8oYRysb2eZROFg5ZaJGM1UVXW/W0F17TYcnZP0uGsjCIriQX 0dK3wNt4/bB8RTan/whu2wbiXrhoQ4kZ/1HUOliKQBowr8BfJo0d1iL/EzJ2mH+6jcUn 64j/txKHoxuHH++x1hbn6KI6NkojlpeApx+KKm4cOaYQBAhjgEknXaz2B63Op4QIz5Zu HiolEbwF5jePIRJzLuUrJ6EU5ILIyK3M2MQeTAqxHVmQwPL+GvFXQ4xhLbQiV968dbLB hPtIh1Yd0BuxHcPIOnmiHLAAkbBYUlLVCw06EEsxfq6gRAQOqLpBkhveDiA48sI0gaeG Rqwg== X-Gm-Message-State: AOAM532/zPt/oQHeDEIjrjQIeF/VHtjgRFZO86aiZnQraVfw14qvgjjH PS1K0x8uQa7yRr6bg3T3032C4B7OtlyCfajBgX7Qta/ukYKQ7Q== X-Received: by 2002:a92:d64e:: with SMTP id x14mr2079672ilp.89.1610541107166; Wed, 13 Jan 2021 04:31:47 -0800 (PST) MIME-Version: 1.0 References: <20210106173900.388758-1-aford173@gmail.com> <20210113031602.GA1443816@robh.at.kernel.org> In-Reply-To: <20210113031602.GA1443816@robh.at.kernel.org> From: Adam Ford Date: Wed, 13 Jan 2021 06:31:35 -0600 Message-ID: Subject: Re: [RFC 1/2] dt-bindings: clk: versaclock5: Add load capacitance properties 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 Tue, Jan 12, 2021 at 9:16 PM Rob Herring wrote: > > On Wed, Jan 06, 2021 at 11:38:59AM -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. Update the bindings to support them. > > > > Signed-off-by: Adam Ford > > --- > > .../devicetree/bindings/clock/idt,versaclock5.yaml | 12 ++++++++++++ > > 1 file changed, 12 insertions(+) > > > > diff --git a/Documentation/devicetree/bindings/clock/idt,versaclock5.yaml b/Documentation/devicetree/bindings/clock/idt,versaclock5.yaml > > index 2ac1131fd922..e5e55ffb266e 100644 > > --- a/Documentation/devicetree/bindings/clock/idt,versaclock5.yaml > > +++ b/Documentation/devicetree/bindings/clock/idt,versaclock5.yaml > > @@ -59,6 +59,18 @@ properties: > > minItems: 1 > > maxItems: 2 > > > > + idt,xtal1-load-femtofarads: > > + $ref: /schemas/types.yaml#/definitions/uint32 > > Already has a type, so you can drop the $ref. > > > + minimum: 9000 > > + maximum: 25000 Luca, Do you want the range to the 9000 - 25000 per the datasheet, or should I use the max value based on the programmer guide? Currently, my intent was to cap the value to 11111b, so anyone who writes 23000, 24000, or 25000 will all be the same value based on the feedback I got from Renesas. adam > > + description: Optional loading capacitor for XTAL1 > > + > > + idt,xtal2-load-femtofarads: > > + $ref: /schemas/types.yaml#/definitions/uint32 > > + minimum: 9000 > > + maximum: 25000 > > + description: Optional loading capacitor for XTAL2 > > + > > patternProperties: > > "^OUT[1-4]$": > > type: object > > -- > > 2.25.1 > >