From patchwork Wed Jun 15 07:08:09 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Romain Perier X-Patchwork-Id: 12881874 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 23B74C433EF for ; Wed, 15 Jun 2022 07:09:44 +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=T67ggrO/oCoAcJnI6HpaTyqCMNd/nVFj3Pu1Zk7kYSI=; b=1+4xQExt8wbkVa eUNfAxyoGqGBjDdx6/NeKLc+xllAWPlgmyqHjYy+G+oLnuOufx7EaHOJQjt9tZFC2dy45otWo/uJA f1i0Uns639iCZIAv0G+ALVc6W50RY6rsHXhCoTbR4/pG534/iTyjI86v+hOZUksflcsYlCkJQknBg 8NTXSJCEDooNPO1RK+JQP6L5LHH1ooWILJ9hHqQL+1FhAZrCJrEKUK2Bf05AM9qzduuOtFT8s34FF EJKVanaPAp/xHBBXRemfZ2R1n/pVC0aILWevRaKWmjfTHA6A8Dpcsv2oaZjfIBsN+XQ0mg5wpH+3e fcTGU+g52bITgfjFVB7Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o1N8u-00CzKk-OP; Wed, 15 Jun 2022 07:08:44 +0000 Received: from mail-wr1-x435.google.com ([2a00:1450:4864:20::435]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1o1N8j-00CzIB-9A for linux-arm-kernel@lists.infradead.org; Wed, 15 Jun 2022 07:08:35 +0000 Received: by mail-wr1-x435.google.com with SMTP id s1so14029605wra.9 for ; Wed, 15 Jun 2022 00:08:32 -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 :mime-version:content-transfer-encoding; bh=2KF9TQbXAQaO0+lCyq0Pm6oIczmP+NGAwWhS+H2ag0I=; b=nxWF6vfTvRMvqC2OXTc3S/F+H+7Bp4aNqsHfCWFGbhvnC89Nsh4G1mSULS0/5MQzhg Y4gYcTjH23l/4iioN81St/KfV2pKDfU2dChXQa8ne8Ju02ic0Bm0pb9DyM6QoGlSwugH C016lNxcQmDW+Uq1yBA+1QBVY9R1cLptRhLP3RaRu7ioPf/Wvl7fbsRDz4Ah4XRajARo ogU5SI4Fh1D/SrNhvlKAlgJJqDYVMIIZYxU4+UjQ0OI542E624niyk/e0b6svEnHLKc5 EnpBTsa6H381WNxwnRuHe8oc8nLYsm2eBCKd27ZyXg5pmZKgCjZPOFQZYpTeCG5yTL5O 3HLQ== 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=2KF9TQbXAQaO0+lCyq0Pm6oIczmP+NGAwWhS+H2ag0I=; b=W+xYtkqWrHGTbIk0Fr3gX29Dol0YqYpZGuVp8b1B4HgfwcvABbY78cSppC84pnD6eX eWO3AC1X/Xl/y/yizC+YT3JRMsPN6scKzosPDxL7NrTQ2KkR0CVke+UG/QGGwMfKw5lb SmKyoPL/5f8Ob4Emu3PAKcnNL/cbkdeivl2aadnN7HtS6Ksoo76jz2e+CjO6tzmJDx0/ VEFkT9Zdyn9yT18pubAo3mMO4YZOfAv22tHkJbCqUiDvsVZuhqAsuCg3bsA7CtrZSYCw CfaeH3oMj5QgbrvGFSB14lK/sWRSTR45r+RooRbnXX6TQRctWLhNSrW/hTPT+epA7vl8 HpAw== X-Gm-Message-State: AJIora+KbaFgKzIAv9eGFZKMZvL3nnO3fBURw1xO0WrA5F2sjaHXAeBd /Y2DghkRaiA2aNfSe9AozMY= X-Google-Smtp-Source: AGRyM1tmEsuVgCBD/+wsO6NoYwOMQq6OCjFfmW6ttsay5izsZH2En83dJmD0ZLslZ5fHuRWzOobvwg== X-Received: by 2002:a05:6000:1445:b0:219:f383:40bc with SMTP id v5-20020a056000144500b00219f38340bcmr8447579wrx.53.1655276911312; Wed, 15 Jun 2022 00:08:31 -0700 (PDT) Received: from debby ([2a01:e0a:a6d:a8d0:7ff4:8f61:5574:9f95]) by smtp.gmail.com with ESMTPSA id i8-20020adffc08000000b0020c5253d8d0sm13562708wrr.28.2022.06.15.00.08.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Jun 2022 00:08:31 -0700 (PDT) From: Romain Perier To: Thierry Reding , Lee Jones , Daniel Palmer , Romain Perier , Rob Herring Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-pwm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/5] dt-bindings: pwm: Add Mstar MSC313e PWM devicetree bindings documentation Date: Wed, 15 Jun 2022 09:08:09 +0200 Message-Id: <20220615070813.7720-2-romain.perier@gmail.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220615070813.7720-1-romain.perier@gmail.com> References: <20220615070813.7720-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-20220615_000833_365623_FD232B8A X-CRM114-Status: GOOD ( 14.45 ) 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, it includes MSC313e SoCs and SSD20xd. Signed-off-by: Romain Perier --- .../bindings/pwm/mstar,msc313e-pwm.yaml | 47 +++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 Documentation/devicetree/bindings/pwm/mstar,msc313e-pwm.yaml diff --git a/Documentation/devicetree/bindings/pwm/mstar,msc313e-pwm.yaml b/Documentation/devicetree/bindings/pwm/mstar,msc313e-pwm.yaml new file mode 100644 index 000000000000..82f2357db085 --- /dev/null +++ b/Documentation/devicetree/bindings/pwm/mstar,msc313e-pwm.yaml @@ -0,0 +1,47 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/pwm/mstar,msc313e-pwm.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Mstar MSC313e PWM controller + +allOf: + - $ref: "pwm.yaml#" + +maintainers: + - Daniel Palmer + - Romain Perier + +properties: + compatible: + oneOf: + - items: + - enum: + - mstar,msc313e-pwm + - mstar,ssd20xd-pwm + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + + "#pwm-cells": + const: 2 + +required: + - compatible + - reg + - clocks + +additionalProperties: false + +examples: + - | + pwm: pwm@3400 { + compatible = "mstar,msc313e-pwm"; + reg = <0x3400 0x400>; + #pwm-cells = <2>; + clocks = <&xtal_div2>; + };