Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp3479635pxb; Sun, 7 Feb 2021 10:53:31 -0800 (PST) X-Google-Smtp-Source: ABdhPJxtuWCqZtLVUZgsT8TAMCEjz4PGMYf1nOdz52WO/v5ZE1Yey8ifUwOTOkXZSvHhKeVbymls X-Received: by 2002:a05:6402:1152:: with SMTP id g18mr13960708edw.18.1612724010773; Sun, 07 Feb 2021 10:53:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612724010; cv=none; d=google.com; s=arc-20160816; b=Lecz0Rm3KR2fp6ELWacs3pAsKm1+HGMPoHqdIY82p+8l2x8HjOEasZF6Z6lSnJLAaE tOW0Sc4MSKY75QorXMX0vSyumClIh2NBvxrKFoskn4XrJIK7LVsBy9sYeBRnsoj4CJ43 /kvqMCO9mEcbCegHZBX7Z4U4of1XjqfJ+pZ7UpqN9U9HXHvbdlRJCQWr5bYhn5Ur/noM iXrOm8afbomhXTH0He7Zc+vVzP1b2fMIlwg8yGrNlBFmQZ11mW/BeQUNJORsF4fKwE6R OLpgjDE1qa8IJsVR1W/MwK4LWEF4UHRwrO/4AXgfCwlHO/wa5bFAZO6W9XOaoQSEoPXx FGhQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=C1b2/ijDZ9H0sKDfYhenHE6daVwDApyvYHnzhcgt0pg=; b=j3t7yd6rhMlvDdTvqODmWMaXmbQGzIO26v3SdlZj9YrX2uzH6IrlksrQTMWszuN4za 3QuCmPWzNy+SNxF4070LoPpa5ZY/q0P/F6P2s1e7siHLoZsUl31E603WM5UPM2UALi+g K9EZrlPovLpJlZOAfQJpTRSUlNYXh4mXcGSpnZCQiMmP43vsjQVvzV5AwZO6PsrXfFCK E7A02TbQvbqD84RekR9FwwJKHAJ9YjqOXcAqd/tJtZw3w2x9bVvVeiB0kV34pOZPuOyg 7jSLofS0H8DHQJoYvL/s8BMxkxKWDVjgbu4GJQp1BM6H2suWh8zs71KujmlFw8aYoOrN GnLA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=MFQXikcj; 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 s7si10080086ejz.5.2021.02.07.10.53.07; Sun, 07 Feb 2021 10:53:30 -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=MFQXikcj; 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 S229651AbhBGSwh (ORCPT + 99 others); Sun, 7 Feb 2021 13:52:37 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45214 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229491AbhBGSwf (ORCPT ); Sun, 7 Feb 2021 13:52:35 -0500 Received: from mail-io1-xd32.google.com (mail-io1-xd32.google.com [IPv6:2607:f8b0:4864:20::d32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 725D6C061756; Sun, 7 Feb 2021 10:51:55 -0800 (PST) Received: by mail-io1-xd32.google.com with SMTP id j5so12734485iog.11; Sun, 07 Feb 2021 10:51:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=C1b2/ijDZ9H0sKDfYhenHE6daVwDApyvYHnzhcgt0pg=; b=MFQXikcjPXIAShI40vHiklo9q+lVC0Iwi/7VO/SRnnaj+2RgNifeW95GGqO9S/masX 7nzjkGK0+i2IxWpTimWX40wehq8pZygPGf/YslAQprZLjcRnUDsR4CmYS+xvG3AJA27R KfNqGIreA9oSHup0+GVNc86I5fbHZZfnWMJFEmPVInYl/5Mijtwf+fBMdxa1IW+yNTQ5 wleXjsGXdDp6STCIlab1VTKOXA6fRoGjEvkWcD+GObgatttllLX1d9gv/Oe30WIvxNcq NXJlSyHpxPiPoDKn7zTE5oYJOqFa6dVSRrUE82E8M4iMuxTiA6Us+A1vXQSrZU5cimw2 zkPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=C1b2/ijDZ9H0sKDfYhenHE6daVwDApyvYHnzhcgt0pg=; b=rpb2tz3b4N6jYz3kyFMysy6DCGfmVxyHLD+xeD/id2ABHI8dTk1koRiS9RHdmcZXh1 uq7iA6cvgnjJ6ahtYaIeGA5QuYJfQpjGfoji3OZsLFyrbeiIaB5QrcuhfWohuwyzucay cCl0q5A2zGJPwn26ePuyBP6sdRqYCtXRrhGkWD5t5fn7HbsJ9GOu4xm4ZwT2ajPhSAwY MB3Bub3ZVgxVKNHU/Xt0OQ0CJAsJy1fhT27W1CRcMQqYRtWKiIlaT1hlLn9WFgd4vmMP sHyYxSYSbuun2nM5YpKc5zn0OVQjs3GCe7lIhPhU/eQeBRA25thbJUQYFLe0Qy1I2t0N LXOA== X-Gm-Message-State: AOAM5329dIKi5Xdgg5a+DkrdWiH8BtjtU0irVRLbVuIl3WsUp+OLGBAK UJv5vHP2eZx9JJOdFH9KhPSrJi9z+9CseA== X-Received: by 2002:a02:cd25:: with SMTP id h5mr14124991jaq.31.1612723914694; Sun, 07 Feb 2021 10:51:54 -0800 (PST) Received: from aford-IdeaCentre-A730.lan ([2601:448:8400:9e8:a6b4:a5d5:60b9:fff0]) by smtp.gmail.com with ESMTPSA id e1sm7942738iol.31.2021.02.07.10.51.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 07 Feb 2021 10:51:54 -0800 (PST) From: Adam Ford To: linux-clk@vger.kernel.org Cc: aford@beaconembedded.com, Adam Ford , Luca Ceresoli , Michael Turquette , Stephen Boyd , Rob Herring , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH V3 1/2] dt-bindings: clk: versaclock5: Add optional load capacitance property Date: Sun, 7 Feb 2021 12:51:38 -0600 Message-Id: <20210207185140.3653350-1-aford173@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 + minimum: 9000 + maximum: 22760 + description: Optional load capacitor for XTAL1 and XTAL2 + patternProperties: "^OUT[1-4]$": type: object -- 2.25.1