From patchwork Wed Sep 13 15:16:05 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Romain Perier X-Patchwork-Id: 139025 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:a8d:b0:3f2:4152:657d with SMTP id gr13csp7583vqb; Wed, 13 Sep 2023 11:36:35 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEwwEBzI6M106L1uH/k1hB9vS9P2HwGhW26xX5kytDOw/zIsNvDW1R3Vya9fsTFp+YjS+fB X-Received: by 2002:a05:6358:63a5:b0:134:e631:fd2b with SMTP id k37-20020a05635863a500b00134e631fd2bmr4414342rwh.0.1694630195215; Wed, 13 Sep 2023 11:36:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694630195; cv=none; d=google.com; s=arc-20160816; b=yi7vWdbqg2uombe0u0LPryAOuFFaFI9wGkA5+48mGJJafK1317MnwdU+f98nvoHHm7 LWHWXzH9wh4TztPhG3g72AA6cOqaHTtOAu9+lZxabtxV+ou/dn9TvT+MtjYROI5Tk8/k sm5NCbNZfUfQmSAaLA6Q+GaiYCiP6dc20FyZ/KfYxS5NIOV0Tj2yowf0wi1Ce9eTvMkL OihmO0xIkpnDmFe87FdM2f3Ejl4pyxhTfcYYS89HJnxN2cRj0ZGCVi1tFjosDL9s1q+R bZ1GX0xDWTVUohjAHCrDe6rPTRlPi0XT3ha3ZsUK1DAZfIvo+2NAPhQghOMLBhvI+jES ftrw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=pNvYjKW7PomV76gyvQhLurgIb+vmLHOwQJgyz6Ao3Z4=; fh=9MoheE0NAb45q+jah/qcGpTE04FXDc2965AiLxmpSAs=; b=TMYAPIMi7zQo0FLSK7J6FmpA035C8gU62baMbIS7Pz0VcXtnySnxxfpDeFNpam3icG lnDkqQAGbwGSwxY3nn/TT7Fusa3AuA7+zKIvjnhbwgtQcgR9/ayhANbbHIDyJMNnf/t4 3aH9v6QkQV4iTmnwWp+JUIJUkC/GWZA6nOX36rIcbuPpvjqyCwZKaAn+rAM/sabfoqvt duSSvYhfyF9qEQCbJfDKWs3iRhge+TXFi38ctuaZ38I64CFzkUvqOmXJvXepnXl5eB6r Nur3jhUhw+thVOVKmzWtIIotVwdNnmb4pSa08KFSYz/Ewora8RV2BwkVdSZWAYCZbgYS ompQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b="OL9M/v+I"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 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 fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id z11-20020a6552cb000000b00565336a3cf5si10627847pgp.491.2023.09.13.11.36.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Sep 2023 11:36:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b="OL9M/v+I"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 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 out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id AB91B801F95F; Wed, 13 Sep 2023 08:17:09 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241164AbjIMPQy (ORCPT + 36 others); Wed, 13 Sep 2023 11:16:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39190 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241308AbjIMPQa (ORCPT ); Wed, 13 Sep 2023 11:16:30 -0400 Received: from mail-wr1-x42a.google.com (mail-wr1-x42a.google.com [IPv6:2a00:1450:4864:20::42a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 464F5FB; Wed, 13 Sep 2023 08:16:25 -0700 (PDT) Received: by mail-wr1-x42a.google.com with SMTP id ffacd0b85a97d-31c73c21113so6557356f8f.1; Wed, 13 Sep 2023 08:16:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694618183; x=1695222983; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=pNvYjKW7PomV76gyvQhLurgIb+vmLHOwQJgyz6Ao3Z4=; b=OL9M/v+IrWEyqtJVXYgNJz6UIYWSWHXbmmupqxWOPk7TrDIM8VJm8bsieebdB/bpuB iTrHLsRRnymiGJiE8XPaY00fPuHzZATzNBUoRuLAptEmaDuI38/RVKsoMVXG9yHf6tAV BPcMDi6n2woOGQjwD4TF3AI8Gg7/ov7yl8EeqcqNa9BU0TVWGfgIjz49POuTsVtTV4G7 wYg2+qjM4bEaJliUGBMsRm6JP+C6t0rlbbIBC+Jj6tAk5VlBh8DsAqU+fdJRnuTgvldm 1glVAih1bdtPk7CP+BPKtiZWuXL1HH34y5MZZpIgQqkBl40lE3w51id+h7UZ7FKlb5jq Invg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694618183; x=1695222983; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=pNvYjKW7PomV76gyvQhLurgIb+vmLHOwQJgyz6Ao3Z4=; b=nK1P1lsdoh9X6av+rb2TWeB9dnUIbCqul9Qu1KSmDNwoPgYMMP6GX+W6iSkgE7m+0Z EzFZI2J9judrSHAYhbkMWLoWxT7NbtmVjTxRY18XeMOt0arPFrbzqPpLRewZmZGO52IR 6bVf5O9UsR45UxBanefkahUUsoMUuaXZxzZhHTrHlXm5CfldsFFvjxBMYEoEl3e92j0W GNOthzsN3LGYVPfabMz4zAsR/BYyke+8qT2KP/Xl8n+qOfIhMAt3kL8PeUGj/1CgtCTw dZp+20KsUra3OraqQKYPE1Qg3MBoLQVglfEAW+jOk2NHgoBgNq2jahn6CsuX7zf5XlhI ffeg== X-Gm-Message-State: AOJu0YxdQbmjEusPc1t5Hwd2WWH4Yv1Ekpg/P6igGi09psyFYYtEiAoh axDOWzUlXv/h9gZ2T3nqB7Q= X-Received: by 2002:a05:6000:1006:b0:319:7472:f0b6 with SMTP id a6-20020a056000100600b003197472f0b6mr2171418wrx.15.1694618183348; Wed, 13 Sep 2023 08:16:23 -0700 (PDT) Received: from debby ([2a01:e0a:a6d:a8d0:7ff4:8f61:5574:9f95]) by smtp.gmail.com with ESMTPSA id h5-20020adfe985000000b0031ae8d86af4sm15664490wrm.103.2023.09.13.08.16.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Sep 2023 08:16:23 -0700 (PDT) From: Romain Perier To: Alessandro Zummo , Alexandre Belloni , Daniel Palmer , Romain Perier , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-rtc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 2/3] dt-bindings: rtc: Add Mstar SSD202D RTC Date: Wed, 13 Sep 2023 17:16:05 +0200 Message-Id: <20230913151606.69494-3-romain.perier@gmail.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230913151606.69494-1-romain.perier@gmail.com> References: <20230913151606.69494-1-romain.perier@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Wed, 13 Sep 2023 08:17:09 -0700 (PDT) X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1776948551258922570 X-GMAIL-MSGID: 1776948551258922570 Add YAML bindings for Mstar SSD202D RTC. Signed-off-by: Romain Perier --- .../bindings/rtc/mstar,ssd202d-rtc.yaml | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 Documentation/devicetree/bindings/rtc/mstar,ssd202d-rtc.yaml diff --git a/Documentation/devicetree/bindings/rtc/mstar,ssd202d-rtc.yaml b/Documentation/devicetree/bindings/rtc/mstar,ssd202d-rtc.yaml new file mode 100644 index 000000000000..4c1f22ef5a2c --- /dev/null +++ b/Documentation/devicetree/bindings/rtc/mstar,ssd202d-rtc.yaml @@ -0,0 +1,35 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/rtc/mstar,ssd202d-rtc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Mstar SSD202D Real Time Clock + +maintainers: + - Daniel Palmer + - Romain Perier + +allOf: + - $ref: rtc.yaml# + +properties: + compatible: + enum: + - mstar,ssd202d-rtc + reg: + maxItems: 1 + +required: + - compatible + - reg + +unevaluatedProperties: false + +examples: + - | + rtc@6800 { + compatible = "mstar,ssd202d-rtc"; + reg = <0x6800 0x200>; + }; +...