From patchwork Fri Nov 26 20:21:42 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Romain Perier X-Patchwork-Id: 12693778 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id E062EC433F5 for ; Fri, 26 Nov 2021 20:24:18 +0000 (UTC) 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=9iFECQ7quJNaK8GIBbEQ7MI3sF5Vvbs581JJsaXkb4M=; b=f8BMYlgTyyZiuL mNtMpqFeYcqIMOBImQ6y364AnzmSprAkgr3o5gjzsQSBChQK99HryXUUj9UOYxs88HfFH2O0pw/nV WAYFJyH/7vKaUx78wPoN09/dUPtSqgiWl3BbStsSNq94bomuU1VSuafJXw78F06cZnvGyKJnr4D04 GCwVUMkvT3ZoH2BExWxFLoevqR236FUor75TmIM4m5SlYlPplJcRAhM7r8trZwDs4/PlpNYE9Cvlv gwGJdpyrDnFlkrBWmqerWuHM5UhTzzOOHFuWde7y7Q3OYDggorS5cuRRevFUgqmsSUBkuyuAFoVn6 UwrrC8+hYYBcPHZAabMg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mqhk8-00BhIZ-N7; Fri, 26 Nov 2021 20:22:48 +0000 Received: from mail-wm1-x32d.google.com ([2a00:1450:4864:20::32d]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mqhjR-00BhDw-Vf for linux-arm-kernel@lists.infradead.org; Fri, 26 Nov 2021 20:22:07 +0000 Received: by mail-wm1-x32d.google.com with SMTP id az34-20020a05600c602200b0033bf8662572so7539957wmb.0 for ; Fri, 26 Nov 2021 12:22:05 -0800 (PST) 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 :mime-version:content-transfer-encoding; bh=qq+/EDGbVO3mNT4nMhuGS7PpCY5cRArGWC5WLtDNkBk=; b=mkXwO8YUv0rvLYlDvbai45/oql7QB/Jl4vwIpxGY53LNifdr62W9JVHqV3+W8CaKcT fP1Os7ZW+6IavaKlwZodUaSaeeZrTf5ZW856mYhqIUGJ0XGchJLb6kPuPXzE0nnyHmZh g+lLZ4myjee77IQmJM0MuZZc8UZxCr8NgChRsK/0YHqtXb1w/3trpC1gUkGDhb1bUosq XodawD5kIj+8h4ONbecP8hktlf3HtyVazlppmdRcJLPJ/I7ZEWcMLC8bHmu+AoYTvRUd oodiFtassVrS9fG60XLKyAMN2+wzvYuamtp3yMiw1KNVVBLbZrp6RXvj0K+oWjtC4E9B nAmQ== 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:mime-version:content-transfer-encoding; bh=qq+/EDGbVO3mNT4nMhuGS7PpCY5cRArGWC5WLtDNkBk=; b=v2+DM3I7UkedtcCi21bF6vBtWsaQuFtmPG8m2nCFzDfpCwbA1HD/EDboZbRyLLRBoh 8RmPVRTCj3NGFmPl6KMhE7ca2Y175drPIFDG47G7b8JBjGorWNaniUYyxtd/sYw3uAX+ Cd95QZ7K3cvLYZ4rJwWDsOGWlN4XCm5wkYGZVTSyJkVtcxZ2VUCf38dcRhHXPHWndVAQ K8XdQ88ZH983zhARwBtFCsBJWjQi8zjGCs+/FQ2aiK8Hu4rQxJvcDyu0kGTJdO02Y0aJ B/kKHJ3d/dE4/Cj6oKkeBaDTc31V/0WCX35hwsA+caoYhQK+QgekncC+nDDJ9fLl5Y5w BjcA== X-Gm-Message-State: AOAM531i0KPzm0BcrPS+sS9yyeCECdIhLuM0jT44UrClmH+qMhOJ8WwP k4ES0w+7Xpxm/p9/tUxJ+0qCWkraZcQ= X-Google-Smtp-Source: ABdhPJwMfpbgXrYtTy/dOfMsrG9kgfAzQdDWEJvt2KMJik3XelFxCHre8Bb1A9CoVH3nu9uWE/C1Zw== X-Received: by 2002:a1c:4d8:: with SMTP id 207mr18243845wme.23.1637958124560; Fri, 26 Nov 2021 12:22:04 -0800 (PST) Received: from debby ([2a01:e0a:a6d:a8d0:7ff4:8f61:5574:9f95]) by smtp.gmail.com with ESMTPSA id f18sm6358827wre.7.2021.11.26.12.22.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Nov 2021 12:22:04 -0800 (PST) From: Romain Perier To: Daniel Lezcano , Thomas Gleixner , Daniel Palmer , Romain Perier , Rob Herring Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 3/5] dt-bindings: timer: Add Mstar MSC313e timer devicetree bindings documentation Date: Fri, 26 Nov 2021 21:21:42 +0100 Message-Id: <20211126202144.72936-5-romain.perier@gmail.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20211126202144.72936-1-romain.perier@gmail.com> References: <20211126202144.72936-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-20211126_122206_083673_725DDF14 X-CRM114-Status: GOOD ( 14.39 ) 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 timer driver, found from MSC313e SoCs and newer. Signed-off-by: Romain Perier --- .../bindings/timer/mstar,msc313e-timer.yaml | 48 +++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 Documentation/devicetree/bindings/timer/mstar,msc313e-timer.yaml diff --git a/Documentation/devicetree/bindings/timer/mstar,msc313e-timer.yaml b/Documentation/devicetree/bindings/timer/mstar,msc313e-timer.yaml new file mode 100644 index 000000000000..f4d43e141dd0 --- /dev/null +++ b/Documentation/devicetree/bindings/timer/mstar,msc313e-timer.yaml @@ -0,0 +1,48 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/timer/mstar,msc313e-timer.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Mstar MSC313e Timer Device Tree Bindings + +maintainers: + - Daniel Palmer + - Romain Perier + +properties: + compatible: + enum: + - mstar,msc313e-timer + - mstar,ssd20xd-timer + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + start-year: true + + clocks: + maxItems: 1 + +required: + - compatible + - reg + - interrupts + - clocks + +additionalProperties: false + +examples: + - | + #include + + timer@6040 { + compatible = "mstar,msc313e-timer"; + reg = <0x6040 0x40>; + clocks = <&xtal_div2>; + interrupts-extended = <&intc_fiq GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>; + }; +...