From patchwork Fri Aug 4 14:19:34 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Waqar Hameed X-Patchwork-Id: 131208 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:44a:b0:3f2:4152:657d with SMTP id ez10csp316667vqb; Fri, 4 Aug 2023 07:54:59 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGZOMjztAgoE0hF6t6fggjsYZ4cvCgRiBJ2VLSktOgIFMs7ImTTxmkl5abKm28f1hzl8dOi X-Received: by 2002:a05:6a00:1415:b0:682:5a68:9846 with SMTP id l21-20020a056a00141500b006825a689846mr2524927pfu.16.1691160898878; Fri, 04 Aug 2023 07:54:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691160898; cv=none; d=google.com; s=arc-20160816; b=Oy4V/FHO1n7kuQDP+cIgCqbjR9d0AJOnqtGyX38Xh7xqPye9ET2hC8zP/zNAAKsKu3 o9VfIjtCK1BNn0qg8j8J3/5aDyIqUIMwVYVlduOGf08tL4WmJfBtOlstRSjA/HennJSa yGDpTKhSu7TlPRPo16IGDGrGaLxRFDexxboWJ1Tn8JytVCm0389p3l2+jJp4bcyiqghy k+60uizrBrPv5P2PyVhkIPQiyynka5seUhDNI23pALqfzuPjh/eCSgZuGkJLAlfaeSa2 jbdXTvxH7joebHC3UNbpoeNGXbgh8ziHYYfOKwoZr/4Ar89o9STBbgqZnRncskvQQoVy H9vQ== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t32-20020a056a0013a000b006871d29bc66si1877287pfg.318.2023.08.04.07.54.21; Fri, 04 Aug 2023 07:54:58 -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 S231699AbjHDOWP (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 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 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1773310730801471767 X-GMAIL-MSGID: 1773310730801471767 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>; + }; + }; +...