From patchwork Sun Aug 1 16:09:19 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Romain Perier X-Patchwork-Id: 12413055 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.7 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1EF3BC4338F for ; Sun, 1 Aug 2021 16:11:53 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D975260F9D for ; Sun, 1 Aug 2021 16:11:52 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org D975260F9D Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=hB5RkMx5i//JU2DaHjIFSY1z/+y65Q5mNUWYH8PJTxE=; b=myQA09K4+3pD1E N9qAceLdkbU4oSJLqJkMTnk9GMjPzUEMYIuEF4gpKSgniLhP/HhhC0xc8jE3ZVIQ/+4jwL7o2uiMx sSOJtBFhyE3Biit+thWrUdVHgnmtUO+R+qPcXSgzoXb02iLPbEgnvYl7QRYvSuR5TKl2BF9L/qgTr FhSoIYK13J6B+1pE2+LEDWHjt7X6l+IFQ3TQjBMPHTPLmInafJ/MToam5HFkPU173sXpOFQImp7J0 QV7pvmcuoNnyn6yM/JOUBuNY0mujjUoUnKA1MgoRJLM+L2B48zSLxLXThcOZS1XW1aSoyIfAwPWHo oHyLtcOMqs5m5O7W0SrA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mAE2G-00DpgS-Ld; Sun, 01 Aug 2021 16:09:56 +0000 Received: from mail-wm1-x332.google.com ([2a00:1450:4864:20::332]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mAE22-00DpeK-0r for linux-arm-kernel@lists.infradead.org; Sun, 01 Aug 2021 16:09:43 +0000 Received: by mail-wm1-x332.google.com with SMTP id x17so2692734wmc.5 for ; Sun, 01 Aug 2021 09:09:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=bqypCuA/5g372Rx9Rz05biiSxWQ4PkE/P3VoSjAxRvc=; b=Gy9JQj0S8bg+qmfQ/z8v2Y5prbjs1vmzda6meVzzFdaNvzrvQkmkDsbqkiwDRKwHNB pddECND3rP0dqkJ+igNP7rBGG0VHV9oPOtNZ9j/12rj6yA0m4PHDZgFzCDZs/2gnk/fk D+uez6OKnZsQkS7dg1G/JRTbxvw4wfA8vb1p1iOuc9sEj48I1XvWa70qywJ2z0SGeTxn IItxq9Fyj53hizDmXNwsw1cyXcnsegTBs6lCb/vS+CfKfgdmnA3CfVv0/e2ADZoNUYy+ iKXujZueB1SYADh7ww4vUGpY09BZRcpOHjkDfc7869GGf0Fj/CCANLiZyQO6ouJJVrAs 20XQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=bqypCuA/5g372Rx9Rz05biiSxWQ4PkE/P3VoSjAxRvc=; b=SInMWJDRV3ga33slnsf4GqBQOXDGkz19Q0JjDHXIdHDQ0sUtJdGj847PRlPwdKh8RL GU8EIOSoQJZN4TO0LFnKuDxkguGxm5qG/kUtgTEmOTROgxwHviQC1Te+U5FgRfsarzua ih6QNNuwIPukW72ficJ76ovPQLy9nGVdwSq5FlMlM2rScK81Y6saPh7mTW/nokL/a6YS AAnDX3gdKx3WdXuW+0FGbKN2EF1YRDOKgE8Pq/vWBQvuv1APUh8BwT+TMal7eHDI6zdN W4d81oitkmfV8EVCMKrY1P+ih56CAppW9LQVdYEfERA0+k6iPNprR0Vfs3IxOkMhPA92 T/xA== X-Gm-Message-State: AOAM5304MLej+WsUQn54AaxCz+B0lGQPG9NzZRUBiPsP6FTT/vPBd6zL eaVX8zjhgRg3lU4C9SLVKcR+jFQIWA8= X-Google-Smtp-Source: ABdhPJyoVBtIiHnph6y0UGHgQn6ZbHEJ/GKNqzttSyAUew+Fs0YjGm7Q0Nd6EbnGTB5SSQVUzgPo6Q== X-Received: by 2002:a1c:1dcf:: with SMTP id d198mr12789173wmd.103.1627834179951; Sun, 01 Aug 2021 09:09:39 -0700 (PDT) Received: from debby (176-141-241-253.abo.bbox.fr. [176.141.241.253]) by smtp.gmail.com with ESMTPSA id j1sm7466090wmo.4.2021.08.01.09.09.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 01 Aug 2021 09:09:39 -0700 (PDT) From: Romain Perier To: Alessandro Zummo , Alexandre Belloni , Daniel Palmer , Rob Herring Cc: linux-rtc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 1/3] dt-bindings: rtc: Add Mstar MSC313e RTC devicetree bindings documentation Date: Sun, 1 Aug 2021 18:09:19 +0200 Message-Id: <20210801160921.233081-2-romain.perier@gmail.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210801160921.233081-1-romain.perier@gmail.com> References: <20210801160921.233081-1-romain.perier@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210801_090942_106961_92A788E8 X-CRM114-Status: GOOD ( 15.21 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This adds the documentation for the devicetree bindings of the Mstar MSC313e RTC driver, found from MSC313e SoCs and newer. Signed-off-by: Romain Perier --- .../bindings/rtc/mstar,msc313-rtc.yaml | 49 +++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 Documentation/devicetree/bindings/rtc/mstar,msc313-rtc.yaml diff --git a/Documentation/devicetree/bindings/rtc/mstar,msc313-rtc.yaml b/Documentation/devicetree/bindings/rtc/mstar,msc313-rtc.yaml new file mode 100644 index 000000000000..62bc12b1feb6 --- /dev/null +++ b/Documentation/devicetree/bindings/rtc/mstar,msc313-rtc.yaml @@ -0,0 +1,49 @@ +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/rtc/mstar,msc313-rtc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Mstar MSC313e RTC Device Tree Bindings + +allOf: + - $ref: "rtc.yaml#" + +maintainers: + - Daniel Palmer + - Romain Perier + +properties: + compatible: + enum: + - mstar,msc313-rtc + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + start-year: true + + clocks: + maxItems: 1 + +required: + - compatible + - reg + - interrupts + - clocks + +additionalProperties: false + +examples: + - | + #include + rtc@2400 { + compatible = "mstar,msc313-rtc"; + reg = <0x2400 0x40>; + clocks = <&xtal_div2>; + interrupts-extended = <&intc_irq GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>; + }; +...