Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp5653124rwn; Mon, 12 Sep 2022 12:14:12 -0700 (PDT) X-Google-Smtp-Source: AA6agR76747/nJcGwtcpmUoiinyLzflhmdlG2rtQy7hs26gQQkxSbKeHMU7uzBOHreyJAF5R63O3 X-Received: by 2002:aa7:d8d7:0:b0:44f:241d:7d81 with SMTP id k23-20020aa7d8d7000000b0044f241d7d81mr21168743eds.201.1663010052336; Mon, 12 Sep 2022 12:14:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663010052; cv=none; d=google.com; s=arc-20160816; b=dXVqvi0wH06ZBAdRSPQccyq5/JfiWfF4l9JYsu3NRUmA7BhS4SIKfa7KVPIMoxglhi aPv+099WFQqNZnpWFFF6wyyxvT3du/0T4GFBsZngeuUnsShhmOGQA4Xcg9EejD1CWYob TIxT/ok1jaLQfbFH3+3uSG+hWi5ZR/Cw8YNgG8dNRYtU67IDweXvQgDTcniWGSQcDta4 zFMTU4ZZRET1nHauIoOv2YpfjUs5tHVOlLU6DhUsZpc++h4cb5Bf4bSdQIjL2SgEBjxB hdQwMBAJGyxEaod/EGPPDsg29D1UGMRHzB5VXHkBdvBeFwo6tOD7cJO4NYpDVkNOEZfc pSFw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from:dkim-signature; bh=ZMDXrfVZs/FU6NF5M/gBqbkEPLHG1eBQo8h/hDTaUCg=; b=Jo1RUB8+UhXfBV5q6OvNykdeDbt2a6XMhr1IFHj6UKI1zCkyPXBIFckWfKUyZGkjaw 6bHcho+mpZltSDxGBjX/Ghm63P3j8X8opn8bQ2kfYsdBa4ZwvgBBd56z0q70LbF5bffk SQPUiEuCR5BAvEzXiLTcIm1KeWB7K+jEahuMvH0GpFiAEQALZYANeE1jAiGTf9H7PG+S Uy5fr9Z/QvtIBVJFid70GwGAQrxv/ok77FM6JuCK9anVosnt3GWyN8sLnH6axVICuyhD s0jS4ejsYSiYqse+/5gIayryGUtqE1/G+4RLbFwp29PUWb1cm1ysIKHSLBDSSbLdn08V GmYA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="X+P6BlT/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id cx25-20020a05640222b900b00448a3d713ffsi6892345edb.292.2022.09.12.12.13.47; Mon, 12 Sep 2022 12:14:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="X+P6BlT/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S230232AbiILTIF (ORCPT + 99 others); Mon, 12 Sep 2022 15:08:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56702 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229916AbiILTID (ORCPT ); Mon, 12 Sep 2022 15:08:03 -0400 Received: from mail-pf1-x42c.google.com (mail-pf1-x42c.google.com [IPv6:2607:f8b0:4864:20::42c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3517342AEF; Mon, 12 Sep 2022 12:08:03 -0700 (PDT) Received: by mail-pf1-x42c.google.com with SMTP id j12so9519050pfi.11; Mon, 12 Sep 2022 12:08:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=references:in-reply-to:message-id:date:subject:cc:to:from:from:to :cc:subject:date; bh=ZMDXrfVZs/FU6NF5M/gBqbkEPLHG1eBQo8h/hDTaUCg=; b=X+P6BlT/TgB+VgH4TuMHIRPPPLlu9hFPNmvGQbx25k/DL0wJT6dThcKawGEizioFpJ Xt3desz9OjLRcHYn5ONBMRZcZ2EDdceqrasVC1d94noPmls9MW9Jp9NddnLI/EQM4TFj uzjAqXKNB4Ya+rLP44TGEogUCDLEBFlcoFAZOkQvCy2VtyTZUnw7NlsXjTH2RrPoIh8O aevgPeUoFLeEeylTJoD9Jb3rYkaiXMxfgR6lHhX+E5IKoILkD2VJH40uHYFxk3FQlamx WekZZnUArJCqTPjPsedPxXu0689R2o1rqIFSkiyzsmQw+kol+vBsSQkCmliZYwZzFEzk e3vw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=references:in-reply-to:message-id:date:subject:cc:to:from :x-gm-message-state:from:to:cc:subject:date; bh=ZMDXrfVZs/FU6NF5M/gBqbkEPLHG1eBQo8h/hDTaUCg=; b=kPhcMuec841JKgXnBIg1C/fG/GYhxhKHqd/5lHn53LaIICC5B6sFQbfYYZUKOfF1FJ TgOBTVLurN9Ljqd7WcTQq8o/GlTLubY6zGcqMeqZ3JN/EBWXawQ/ipiN5ihEYdDGuTsh esJw+nxZzVmwEvOKssVzsIiaDgdNhOzfV0h1t+ka7sYMyadkCV46tu3AOicH+VKpviqG XLWjl+TOCSugopqP+mppqPOEqL98zLvjGoE63eDsStCeBsjC1iZaFou7aLbYj63RCZt/ DAE4xKqszaKQ2K56tlh5L0OEECn0xBvmHVS0v0gHrMe2M6gYMfKC5N9ITWIroF6Uel7q sZXg== X-Gm-Message-State: ACgBeo023XOsjOxl/4Nw58ay7J6d1pPC24t9l70z7JZdH3yKWFTGmOpv /eO+0nT7WeSiYxPOf42kRLumbikCev8= X-Received: by 2002:a63:d80f:0:b0:438:69c7:7df7 with SMTP id b15-20020a63d80f000000b0043869c77df7mr17769857pgh.261.1663009682475; Mon, 12 Sep 2022 12:08:02 -0700 (PDT) Received: from localhost.localdomain ([116.73.241.66]) by smtp.gmail.com with ESMTPSA id 68-20020a630547000000b00434272fe870sm1091889pgf.88.2022.09.12.12.07.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Sep 2022 12:08:01 -0700 (PDT) From: Jagath Jog J To: alexandre.belloni@bootlin.com, a.zummo@towertech.it, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org Cc: linux-rtc@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, jagathjog1996@gmail.com Subject: [PATCH v2 1/2] dt-bindings: rtc: add Maxim max31329 rtc device tree bindings Date: Tue, 13 Sep 2022 00:37:52 +0530 Message-Id: <20220912190753.10158-2-jagathjog1996@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220912190753.10158-1-jagathjog1996@gmail.com> References: <20220912190753.10158-1-jagathjog1996@gmail.com> X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Document devicetree bindings for the Maxim max31329 real time clock. Signed-off-by: Jagath Jog J Reviewed-by: Krzysztof Kozlowski --- .../bindings/rtc/maxim,max31329.yaml | 61 +++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 Documentation/devicetree/bindings/rtc/maxim,max31329.yaml diff --git a/Documentation/devicetree/bindings/rtc/maxim,max31329.yaml b/Documentation/devicetree/bindings/rtc/maxim,max31329.yaml new file mode 100644 index 000000000000..fc99f1854847 --- /dev/null +++ b/Documentation/devicetree/bindings/rtc/maxim,max31329.yaml @@ -0,0 +1,61 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/rtc/maxim,max31329.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Maxim MAX31329 Real Time Clock + +maintainers: + - Jagath Jog J + +allOf: + - $ref: rtc.yaml# + +properties: + compatible: + const: maxim,max31329 + + reg: + maxItems: 1 + + "#clock-cells": + const: 0 + + clock-output-names: + maxItems: 1 + + interrupts: + maxItems: 1 + + trickle-resistor-ohms: + enum: + - 3000 + - 6000 + - 11000 + + wakeup-source: true + + start-year: true + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + #include + i2c { + #address-cells = <1>; + #size-cells = <0>; + + rtc@68 { + compatible = "maxim,max31329"; + reg = <0x68>; + trickle-resistor-ohms = <6000>; + #clock-cells = <0>; + }; + }; +... -- 2.17.1