Received: by 2002:ac2:464d:0:0:0:0:0 with SMTP id s13csp1998887lfo; Sat, 28 May 2022 13:16:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzox8F4lg+XxM2NgF3nUC9b/gJwkXB6icdUMRTL2pYITT+butgGfkS4N1Vt2MQ1Y0RLUxol X-Received: by 2002:a17:90b:3b46:b0:1e0:80d:ebc8 with SMTP id ot6-20020a17090b3b4600b001e0080debc8mr14994114pjb.229.1653768976055; Sat, 28 May 2022 13:16:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653768976; cv=none; d=google.com; s=arc-20160816; b=XpMJBRWn12xe5v12i1+o565x69bqkztcCPKzjxGhuY3P6tFTA/sfcbB++f+Sh+JiHn 36igs9EZElMheSC2Ce7imDZA7STU1veufjAWWtfxl7eKmWKwBHy3h5KTQeyrjFGDlIuV jgVcHuaccxmlez3uUBryXchhYgusKIoXof6R0DP+TRVBffLWBV5m11hTW5prKJAvuM7C /Ak3lqtrlFocAEeBFxxFAC71m+6C6dO3tQjT0YWJ0IZXCWZQk3h1H4PR9Bzhb7ySv3wE 6csrdydBByqmQTiHhQdpH7tk8CEVDr4cWkzg6jbc9cbfdF0Ri3c/alSyPpfpRZzW0shM iCug== 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=weRfekXLILP2lO9stplYBl5Nh9WF88pncFfI0g1b4VA=; b=FB+SQXhRNz+O1bZoRio9k48GbL1gV992xXOXt/MxkKGICmsOKv6AnMtsygL91a+r5n gnAn827v8dktVESA5v951rWkbKG4PongdCVbXiw3dOuOLMEPHeFGvNdx9TzMiUkja2E9 okxK/TlKoAOLN6T8lgs6ch+l4ZwIP04H1x/O1ZbbFk/bkxp9+8Upqjl/0Ont34GlFtZO Ilx6MrdmueUVNsoMvI45lR9DlS8QpOUEGOqDTjuqDB1wWUETJtUY7uyd9NTvs5e+GDYQ 3rzj2V7VDsIgk1SheBTdEIzJrOu29wjAlUrpYgTdf4HnHNTEtj3p6XgrOsy22GyOQBQj 6/eg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=bwOhKhGj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1: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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id q3-20020a170902bd8300b00163b1bfff0bsi3028421pls.232.2022.05.28.13.16.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 28 May 2022 13:16:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=bwOhKhGj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1: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: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id B436215BAC5; Sat, 28 May 2022 12:28:47 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1349896AbiE0IrO (ORCPT + 99 others); Fri, 27 May 2022 04:47:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45876 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1349901AbiE0IrG (ORCPT ); Fri, 27 May 2022 04:47:06 -0400 Received: from mail-pj1-x1036.google.com (mail-pj1-x1036.google.com [IPv6:2607:f8b0:4864:20::1036]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ECF4B3153E; Fri, 27 May 2022 01:47:01 -0700 (PDT) Received: by mail-pj1-x1036.google.com with SMTP id l7-20020a17090aaa8700b001dd1a5b9965so3792802pjq.2; Fri, 27 May 2022 01:47:01 -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=weRfekXLILP2lO9stplYBl5Nh9WF88pncFfI0g1b4VA=; b=bwOhKhGjb/m9lMftPARFL9G9QWdmo2ZN94jP34cX52XrrR4UlLbaqJ1zqo77jNXkfj 3i2Gc1p+tMeyCBKMyKH8uJ9hJ4s44dLuERP6u2zESv19WNVoUp5Vm1Bnl8NxM5bEl0Be LK7auQhiGtlONlt7WPJqmNDKpDn2lpMtTQp4z0jqVSH8QstNuceYMFPGaI2L8SkBHn5n q1bHWBVQAoQJqHPwjWQMrW+VgZ78JGdNNHLAJ99+JX7FWK/N6fzfULj4+F763GubBIav 9kXx9mHiny8+d5x6cQed+k+KKaE96oq7caMMX+kKz0TKHxSB4R82BYiguCQDrD++4OLI NeQQ== 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=weRfekXLILP2lO9stplYBl5Nh9WF88pncFfI0g1b4VA=; b=NQZhVhOTKZOKTHHQtFkSbzqfZ/vpP2DvcxAXtlXCsm+W65QkzM5p27BVagkHz/VC/p 4i64uzpSe0YZ4oDcyt45/Cloot16hvFV0av9xdNH21vEt8TW+nItNClR+7qOqCyL/AVh tUJfHKYpvi5BtvE/ASopNqR1H/Y/k65l3M2Az1TNW3GExzC2/BTDLEhBBq9fIK+PMFKX 0o7+4Twr2GefQGjkACzZMebQx+FjF/8T8K2mRmkreCHtSWjF5kftOKxMEdrXZwxFXVMZ atXUlefzKjzIN7kOLmfV3ZTrmkVQ8zp0GLWGuv8Es/y0hCdMHU5sqdu2xhdnWL6X+jXu J/HA== X-Gm-Message-State: AOAM532B5TQVlHH2fyXOoTVRSSdi46JOXfIJ7ZXLoJfMvCKCVyJXXZAz S8rF8Q2YrRL3if5vWS8KsQo= X-Received: by 2002:a17:90b:38c2:b0:1e0:44ca:8de6 with SMTP id nn2-20020a17090b38c200b001e044ca8de6mr7167371pjb.243.1653641221327; Fri, 27 May 2022 01:47:01 -0700 (PDT) Received: from localhost.localdomain ([116.89.143.231]) by smtp.gmail.com with ESMTPSA id k12-20020a170902d58c00b0015e8d4eb1ebsm3003254plh.53.2022.05.27.01.46.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 May 2022 01:47:00 -0700 (PDT) From: medadyoung@gmail.com X-Google-Original-From: ctcchien@nuvoton.com To: benjaminfair@google.com, yuenn@google.com, venture@google.com, tali.perry1@gmail.com, tmaimon77@gmail.com, avifishman70@gmail.com, robh+dt@kernel.org, alexandre.belloni@bootlin.com, a.zummo@towertech.it, KWLIU@nuvoton.com, YSCHU@nuvoton.com, JJLIU0@nuvoton.com, KFTING@nuvoton.com, ctcchien@nuvoton.com Cc: openbmc@lists.ozlabs.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-rtc@vger.kernel.org Subject: [PATCH v3 1/3] dt-bindings: rtc: nuvoton: add NCT3018Y Real Time Clock Date: Fri, 27 May 2022 16:46:45 +0800 Message-Id: <20220527084647.30835-2-ctcchien@nuvoton.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220527084647.30835-1-ctcchien@nuvoton.com> References: <20220527084647.30835-1-ctcchien@nuvoton.com> X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 From: Medad CChien Document devicetree bindings for the Nuvoton NCT3018Y Real Time Clock. Signed-off-by: Medad CChien --- .../bindings/rtc/nuvoton,nct3018y.yaml | 44 +++++++++++++++++++ MAINTAINERS | 1 + 2 files changed, 45 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..788d92a32a70 --- /dev/null +++ b/Documentation/devicetree/bindings/rtc/nuvoton,nct3018y.yaml @@ -0,0 +1,44 @@ +# 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 + +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 4383949ff654..5a4302e9aad2 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2367,6 +2367,7 @@ L: openbmc@lists.ozlabs.org (moderated for non-subscribers) S: Supported F: Documentation/devicetree/bindings/*/*/*npcm* F: Documentation/devicetree/bindings/*/*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