Received: by 2002:ac8:71d8:0:b0:40f:fb00:664b with SMTP id i24csp201220qtp; Fri, 4 Aug 2023 08:27:10 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFXfXhulNLkF3qS2I2sv8Uel88HblBKvp0tdyrZYNrWV5pSy1VwJYpl+DAoZaF94igXOPE0 X-Received: by 2002:a05:6402:514:b0:522:1fd2:ca7a with SMTP id m20-20020a056402051400b005221fd2ca7amr1756015edv.29.1691162830527; Fri, 04 Aug 2023 08:27:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691162830; cv=none; d=google.com; s=arc-20160816; b=SQRazgjCxGiVvxjnhNYfMvNYCyu0giwhUqaLvjJvjFU+GJjtnYmjmqYb281Eu8HIRU OdGRVH7Cziz2ecVNMzL7yTOFC1S+R5uYikgMYbhhfSVRQGK5e+2CHGZifbauF5f6wbB1 I4j7KVa1onUNo20VK/TlW+hKHZPSar6Ia5YQ+PJ9uPcM69HMGoZbFqxGV+oDTGF4uKwL 2CTWMzZ9yTNAPQC56jU7F1qXM0gWlDStSWw7jvdRJ/DPV0n5r2ln4ICvpl1VKFPMbCFS Wt35UZkUXWocNtOeB83phdVPKDPsVyD52xS5FVgBaCg4OG9h9hswF1GmI4JVqwK5SGvA UZAw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:in-reply-to:subject :cc:to:from:user-agent:references:dkim-signature; bh=ZtJ3bXPIlnWx6DFOh5ulkUULF7Fw7PR66If1RP7R/hg=; fh=d/CsmJG+oWgiz/3UAqC6vRtbuu7k3zl/7SZa8Wa53EA=; b=HiA90yejVzM8I5RaeGtp/UqgSiUE1iEfeBO10bkgZm+LPynfDNw4/FYC+0D25kREzs 0VFXO9swdZaq0enUFgIVeIQjGe7oOL4QuLdn9h5gF86VCF7DTM03cjKDtbmZqp+C8fMK 2PC1FfZIVAyxx9WWohV2DYkuhQ/zvXOR6p5QvIwblI6l3RHJHkiBQfnZdXq51LXr3Apz JF9ju89Omw7nIYXTJVo+toOUc71MV9EuR22N6yx7Fm2PaBHYtrE4ZcSIgo1D2Od3GdCe ygoO+KvfI4v47DNRHFbqR2isux7QS/fol2zGmN++h/FqPNJ24dU48C3IvJ7F5a4Gog7f gTzA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@axis.com header.s=axis-central1 header.b=CfrGpCHC; 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=NONE dis=NONE) header.from=axis.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bf3-20020a0564021a4300b005222c7ab4d9si662912edb.351.2023.08.04.08.26.18; Fri, 04 Aug 2023 08:27:10 -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 (test mode) header.i=@axis.com header.s=axis-central1 header.b=CfrGpCHC; 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=NONE dis=NONE) header.from=axis.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231698AbjHDOWP (ORCPT + 99 others); Fri, 4 Aug 2023 10:22:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49446 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231330AbjHDOWM (ORCPT ); Fri, 4 Aug 2023 10:22:12 -0400 Received: from smtp2.axis.com (smtp2.axis.com [195.60.68.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 78FC811B; Fri, 4 Aug 2023 07:22:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=axis.com; q=dns/txt; s=axis-central1; t=1691158932; x=1722694932; h=references:from:to:cc:subject:in-reply-to:date: message-id:mime-version; bh=ZtJ3bXPIlnWx6DFOh5ulkUULF7Fw7PR66If1RP7R/hg=; b=CfrGpCHCJpc8pAY+rLwxgb+uUW0JUKfpreMO/OW6QuR8P0oY3Fh+mzH/ AZt7mEiXbiHA7a7+mmhOL0RidGxfPaLW6Pf8zrhS9q6JVfB2lC8L3mXeB H8zYpfJd2bY8zAadXzL+Mak0JCzSfsuXB1A9TuTlU56XXC+JGAg80ztrL ljkEvttcKQIamiaZ2d8r5ibCCaHnLErU0OIEo2sdCCUrxhJNFTiNMh6Dw ZCbTLJtNuFDgFsW/Wd/X0aC69QCt/xLkxItFno+ZENSX6HMY2BHIijeix Mt7mScJxHL2puErzZkJW5OEl9d2jMhfVKYzDGNw+1QsCYQR1wAj4Aarek w==; References: User-agent: a.out From: Waqar Hameed To: Alessandro Zummo , Alexandre Belloni , Rob Herring , Krzysztof Kozlowski , Conor Dooley CC: , , , Subject: [PATCH 1/2] dt-bindings: rtc: Add Epson RX8111 In-Reply-To: Date: Fri, 4 Aug 2023 16:19:34 +0200 Message-ID: <864b398918e99773f6cbd5ffe5b1f0dc33e4d6d1.1691158774.git.waqar.hameed@axis.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.0.5.60] X-ClientProxiedBy: se-mail01w.axis.com (10.20.40.7) To se-mail01w.axis.com (10.20.40.7) X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_PASS,SPF_PASS,URIBL_BLOCKED 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 Epson RX8111 is an RTC with timestamp functionality. Add devicetree bindings requiring the compatible string and I2C slave address (reg). Signed-off-by: Waqar Hameed --- .../devicetree/bindings/rtc/epson,rx8111.yaml | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 Documentation/devicetree/bindings/rtc/epson,rx8111.yaml diff --git a/Documentation/devicetree/bindings/rtc/epson,rx8111.yaml b/Documentation/devicetree/bindings/rtc/epson,rx8111.yaml new file mode 100644 index 000000000000..e6f077a32582 --- /dev/null +++ b/Documentation/devicetree/bindings/rtc/epson,rx8111.yaml @@ -0,0 +1,41 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/rtc/epson,rx8111.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Epson RX8111 Real-Time Clock + +maintainers: + - Waqar Hameed + +description: | + RTC with timestamp functionality. + + https://support.epson.biz/td/api/doc_check.php?dl=app_RX8111CE&lang=en + +properties: + compatible: + const: epson,rx8111 + + reg: + const: 0x32 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + rtc@32 { + compatible = "epson,rx8111"; + reg = <0x32>; + }; + }; +... -- 2.30.2