Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp3390991imw; Thu, 7 Jul 2022 00:33:02 -0700 (PDT) X-Google-Smtp-Source: AGRyM1s5Zhh+ZGgRp47Td9fk7UwTn+Tlq4kiU+feE+XMuEIRgLVEn+oUwM9q7YagODnPLbT3tVxf X-Received: by 2002:a05:6a00:1954:b0:525:7db8:ee28 with SMTP id s20-20020a056a00195400b005257db8ee28mr50380324pfk.29.1657179182553; Thu, 07 Jul 2022 00:33:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657179182; cv=none; d=google.com; s=arc-20160816; b=HlJAm0Tok7m1RYs+Y8/o+nCcxV8M5NVoWBgl8anqkR9ixd5g46O1neJwxBuPpUlnvG oKNsdUDI3RMEWjYPhFC+j2vyGeeZJmpsHWd5itkghau6fCRCjkfk3tg/Jmj3utKsKr4O OIWpPFP7oCBL6LriPf3x1FKxEAmBX7+QOMuDzbhIQqNVu6pXco3TpGK+TTd9usaQZSyW kC2IZNRMtTyrA8lWAFHuvTGKs2gRMb7w2AZLBFu1hWxHdDuxpDdJJgXs3UyrexlChc9N 8S8H7ihPmAMAHDy8f267ZMl90RTb1RKNEv2LrN71PIrULmyY0+FFEzRU4vvLLyQD+/r4 D0mg== 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=4lS8+zJE8FkMh+rcBQMyeBKxWljY5Kknqq/+RkB5aPM=; b=elBqPYghZpdhGDKRSb0C6Pd+OWqdGLo+iYsyzv+8tPzCYmNafTx8j9Xnlv2vwCDA1n Z2kL6jSOJL2wgaz19mOHloItomKTTbct4+MtbD9i78XNu5tzfqWH29iLoHYl7CwruDmd 4dCpf+LtcQ7WCMNzrqZi2rN62sdxRfiWUwPgSwOHtJ+lZZNmErzix2POsHSoJUKXesKC G4VqRfcEMg1iEeCcsBH78EeCnnXQM6LcQtzQ8DaJhjy++b4PbM/sPje7pk6mMAP4uWWD az0IrN/z4ZGx7nnvFf8vfsCn2ux41R6HEWZfUjBdRWL3w1IYiidCk/ppVcQIfZyGJxVP SS1A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=ibSY4GUT; 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 pv12-20020a17090b3c8c00b001ef9166e61csi12409422pjb.32.2022.07.07.00.32.50; Thu, 07 Jul 2022 00:33:02 -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=ibSY4GUT; 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 S234091AbiGGHbI (ORCPT + 99 others); Thu, 7 Jul 2022 03:31:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47350 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229697AbiGGHbF (ORCPT ); Thu, 7 Jul 2022 03:31:05 -0400 Received: from mail-pf1-x431.google.com (mail-pf1-x431.google.com [IPv6:2607:f8b0:4864:20::431]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 81DC129CAC; Thu, 7 Jul 2022 00:31:04 -0700 (PDT) Received: by mail-pf1-x431.google.com with SMTP id e16so4913856pfm.11; Thu, 07 Jul 2022 00:31:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=4lS8+zJE8FkMh+rcBQMyeBKxWljY5Kknqq/+RkB5aPM=; b=ibSY4GUT3RolxgA1sC9O1GddLeEziQwzoUcb2agxdIJRbtH7st2PSY9nlLwicYIdB0 /mUJhPQlnJ8/GN6OcnlCP6sr0/VRnnjHTlecOUR/C3mw5+aAMVv1l7Z8KIn7W0ZUWodm tEOrH37drWoP0V/na+Unfk/kK2cciF8OpNPyYyCSgDgRdBehQvuyAEZUvlcTAoOm8zDY GO3dYJTFAkLPoSDKyOO4DVna+xWp4UJ1peO2KHuJelf8q8cvcg3UsvRepD1/hpALUAO1 v1wbXw11Kld226/HB8ZLnmJqRtguAxXrpI1noJZtUZKKltu+Nc5aA08s6vIkKjBUWaLA mCpA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=4lS8+zJE8FkMh+rcBQMyeBKxWljY5Kknqq/+RkB5aPM=; b=fwX7CcKrNZ8D6Y8Ms5QLtouQ0JcoczFBMUctvLij3Kme0F/TnKnjj/zkQWOMk2+sUm ABxJf2S20RIcYmIsbXh8+BJin/t3AXLztehI2YJLF06YjkivCGiK5fAjoTPddIKmUafo 2Z8x6AKEs9H5RLuc9VcX7+VF43PtMaFmRmcrzMeeGH3ZjuaiTjdZ263GqkzHmQycJKi6 z/p57RCBR3Q059V0uBZzJVHzpMj6zlfx3h/SZ5pYAz1e9lrEmyVqB5eFRfcupQC+FhcR pJHOOiIZbxzI4eNm0c7FMa46S20pcMA0GXlqypSnTQaFSar06y7vEmvSMZp5PAe07SRl 4ncw== X-Gm-Message-State: AJIora+f4uHYAvEYHT3YMW9gAUU5TREvHBcXeVdKA38te6mTY1t/bFII w7cathg7P9mb/mKz52oBiIA= X-Received: by 2002:a63:31d3:0:b0:412:a9d9:d407 with SMTP id x202-20020a6331d3000000b00412a9d9d407mr4828312pgx.479.1657179064058; Thu, 07 Jul 2022 00:31:04 -0700 (PDT) Received: from localhost.localdomain (60-250-192-107.hinet-ip.hinet.net. [60.250.192.107]) by smtp.gmail.com with ESMTPSA id s1-20020aa78bc1000000b00528c70c34c2sm928481pfd.115.2022.07.07.00.31.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Jul 2022 00:31:03 -0700 (PDT) From: Mia Lin To: avifishman70@gmail.com, tmaimon77@gmail.com, tali.perry1@gmail.com, venture@google.com, yuenn@google.com, benjaminfair@google.com, a.zummo@towertech.it, alexandre.belloni@bootlin.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, ctcchien@nuvoton.com, mimi05633@gmail.com, KWLIU@nuvoton.com, YSCHU@nuvoton.com, KFTING@nuvoton.com, JJLIU0@nuvoton.com, mylin1@nuvoton.com Cc: openbmc@lists.ozlabs.org, linux-rtc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v4 1/3] dt-bindings: rtc: nuvoton: add NCT3018Y Real Time Clock Date: Thu, 7 Jul 2022 15:30:52 +0800 Message-Id: <20220707073054.3954-2-mimi05633@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220707073054.3954-1-mimi05633@gmail.com> References: <20220707073054.3954-1-mimi05633@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 Nuvoton NCT3018Y Real Time Clock. Signed-off-by: Mia Lin --- .../bindings/rtc/nuvoton,nct3018y.yaml | 45 +++++++++++++++++++ MAINTAINERS | 1 + 2 files changed, 46 insertions(+) create mode 100644 Documentation/devicetree/bindings/rtc/nuvoton,nct3018y.yaml diff --git a/Documentation/devicetree/bindings/rtc/nuvoton,nct3018y.yaml b/Documentation/devicetree/bindings/rtc/nuvoton,nct3018y.yaml new file mode 100644 index 000000000000..7a1857f5caa8 --- /dev/null +++ b/Documentation/devicetree/bindings/rtc/nuvoton,nct3018y.yaml @@ -0,0 +1,45 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/rtc/nuvoton,nct3018y.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: NUVOTON NCT3018Y Real Time Clock + +allOf: + - $ref: "rtc.yaml#" + +maintainers: + - Medad CChien + - Mia Lin + +properties: + compatible: + const: nuvoton,nct3018y + + reg: + maxItems: 1 + + start-year: true + + reset-source: true + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + rtc@6f { + compatible = "nuvoton,nct3018y"; + reg = <0x6f>; + }; + }; + +... diff --git a/MAINTAINERS b/MAINTAINERS index fe5daf141501..eca54b275559 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2448,6 +2448,7 @@ S: Supported F: Documentation/devicetree/bindings/*/*/*npcm* F: Documentation/devicetree/bindings/*/*npcm* F: Documentation/devicetree/bindings/arm/npcm/* +F: Documentation/devicetree/bindings/rtc/nuvoton,nct3018y.yaml F: arch/arm/boot/dts/nuvoton-npcm* F: arch/arm/mach-npcm/ F: drivers/*/*npcm* -- 2.17.1