From patchwork Fri Dec 17 19:57:25 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Romain Perier X-Patchwork-Id: 12696726 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 9FC13C433EF for ; Fri, 17 Dec 2021 19:59:48 +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=5d6q2OuK+hYLZM/YRJm/HfyjZ8/18PoatvT12olSwmw=; b=pNulCsp+hB9qCX IKZQdW6NZALRjv103TbaLqMo78GC2YrqvBjPcppkTZYq1OqFzdt1r+2O0uXPxxdG92zTlO9Xs2Rju JM2ZUfrjTuHBOpTbP2dGF7xyuQxSJbO+eIL9G7kRxO5/b1zVBFChLLqs1N7QfLtVgD0Loxi+4kh6U 9baQy7lW4/i5FxaNrPGiXky/RbS9HTAt95ob/9d3ioNiu+bH5D1J0d4B6sIBXGHF4r0mfux0Nxaaw EZZYN9K+8pb1fa+QYn5mieHu2laD9NWtlAruFzcJsao3ddOVbD9UECDytLZi2ec01iJpViuvi3Fop OCk8YvJz52h7ymZnD49w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1myJN2-00CBre-5b; Fri, 17 Dec 2021 19:58:24 +0000 Received: from mail-wr1-x42f.google.com ([2a00:1450:4864:20::42f]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1myJMO-00CBgH-ET for linux-arm-kernel@lists.infradead.org; Fri, 17 Dec 2021 19:57:45 +0000 Received: by mail-wr1-x42f.google.com with SMTP id v11so6041754wrw.10 for ; Fri, 17 Dec 2021 11:57:44 -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=w4WnYopJ+MjFxrLG5jbdWepbHL1AIT2pQAOmcq4aOS0=; b=KWgq/hjsNb7oTDTvs0OdRsT1MMm3cRHX9ZlorpSz6CWiWlJhmuWYu+HfmZw7Wbwfsm SND6nOH8vhG/evtVi2C+9ODuEUTkkDLvQxVOF+pSWFqJinZxJbcdcZ6GTIhcs8yCh1Tl Ihv0HxEKKn0fYYR60AOZwJhlhzqIWMNGsG+7ODKbTPyxpqVWncE4j/u9Xs48aWw4sp1d lCpL6mv/Ghx3deihQtpMBYynOiPZmdTYBMlb/1pI8RH6qnRUGVTjuehm8nzGZ8RZM4TY Z1kVewZjowp0GM6NE+92Ddqfdp5elSZebHb0jdSkZNV9BItfxh/jQf5pDSRg4cBpjFM9 tivA== 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=w4WnYopJ+MjFxrLG5jbdWepbHL1AIT2pQAOmcq4aOS0=; b=0XYAYACdMtLKOyz1+i49Efg3qh/dICqEowdC0gdQ6kQZbTLF24el9GLzwDtSt+m0jZ zn8FzHRTVKkzYFiKppTm8b4z1TlP/DydTA2RyCyrw+K+k4GioKAU5mQR9Fu92RdVhDmz rlxJxkHF1ntGyb3diigwkhppBYD4sUPo7QWGQ5MlQKZY2KIhmX9YsJBART3xRpTWQRDj GaIlXWrKmQjnHrYNEtBzuSnqz0PnciHmyAqC3LgQwC08hJc9bdoLuGM5YbNhivbiQGUf eyXJ7luP8ultSevqidWy6dkw0fOq8/6n0NOkqAHiRMhy/TKXslWwnJen0STQtN64FsTi X1CQ== X-Gm-Message-State: AOAM530o4Nm+GFXNcdjMVX4VaI3J55lCeEPkFkbzmhQdh90Yxjp79iAk 1s2lZM9WoXSZccH6RjTirUY= X-Google-Smtp-Source: ABdhPJz40c2vF2seBwepqXHI4jkPlyJ6XkF5fWJBc0opI3YJhOFcBgsN1oqCPu+GQPFH59KHQWxjtQ== X-Received: by 2002:a05:6000:1a41:: with SMTP id t1mr3829849wry.261.1639771063324; Fri, 17 Dec 2021 11:57:43 -0800 (PST) Received: from debby ([2a01:e0a:a6d:a8d0:7ff4:8f61:5574:9f95]) by smtp.gmail.com with ESMTPSA id y7sm7828848wrw.55.2021.12.17.11.57.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Dec 2021 11:57:42 -0800 (PST) From: Romain Perier To: Daniel Lezcano , Thomas Gleixner , Daniel Palmer , Romain Perier , Rob Herring , Russell King Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Rob Herring Subject: [PATCH v3 4/6] dt-bindings: timer: Add Mstar MSC313e timer devicetree bindings documentation Date: Fri, 17 Dec 2021 20:57:25 +0100 Message-Id: <20211217195727.8955-5-romain.perier@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20211217195727.8955-1-romain.perier@gmail.com> References: <20211217195727.8955-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-20211217_115744_536194_9904A361 X-CRM114-Status: GOOD ( 13.35 ) 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 Reviewed-by: Rob Herring --- .../bindings/timer/mstar,msc313e-timer.yaml | 46 +++++++++++++++++++ 1 file changed, 46 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..03d5dba5d5b3 --- /dev/null +++ b/Documentation/devicetree/bindings/timer/mstar,msc313e-timer.yaml @@ -0,0 +1,46 @@ +# 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 + - sstar,ssd20xd-timer + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + 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>; + }; +...