From patchwork Wed Sep 7 13:12:37 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Romain Perier X-Patchwork-Id: 12968958 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 B59E2C38145 for ; Wed, 7 Sep 2022 13:15:05 +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=GsVdvpLP4UN67CsGMeFkYtfK4ZCXSS3Hk2+Lv7Owstc=; b=Lh078LNIP4spMs CkrknTfK9mz+HwCHqum5ID/cQV+DwNz0MYqGziQQ3kSIrTWRrFD33e4CBIR1TfkLEPDl46Jzxq2FF RCo4xUjuLMgkF3j8XEJS3KnROX/tn2fkXOh9TIOo9v8D6lsKJ65GPgFkY3sWkNaLxPWUnXlKy21w2 b119s2c25YPFClWofTpYvEj1yIZVWVTPpWuFbS3RjJxz+CAd1IjNccAZuOD010B0N6v2EU7x5ftMU /AfF9Xpq3i6T7KfUwifUeT1/GQAWO+1UdBgMNHploCoDFPNEWYFKGzPpk0s+Fnw4MBPgix9ZNb+ar FP3jDmaHesh4zlojvwSg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oVusJ-006OQV-Uj; Wed, 07 Sep 2022 13:13:52 +0000 Received: from mail-wr1-x429.google.com ([2a00:1450:4864:20::429]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oVurb-006O1u-SU for linux-arm-kernel@lists.infradead.org; Wed, 07 Sep 2022 13:13:11 +0000 Received: by mail-wr1-x429.google.com with SMTP id e16so1061233wrx.7 for ; Wed, 07 Sep 2022 06:12:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=ChvOmSu5GMdmA6vtxRRGmQLc6VAohBorLSB7RCrJOu8=; b=akGKdeXu89Uh6JyTP01iqJjWtIfb1YzVaMPl6uIA8nDO4WhVwYIF6fscB6M4WFNz1V +2aMhOQX39U5l1qNJ46YHpV2aHOZ6PirFJWivmk0cWAOrKjHaRjbDT3IzQYyQG4Z66EN Aoi/JpvemWPDWu4+zJclXOqksPRIljM1zK0v2KKW61LxGbJ5EZiwjig75NU8cMhuwws5 JYKWrTLrpz9mDfoAIloVIAbNAzilMwvRewj/9oBuIdqYHRJ/hpeTK2IwZ1uRF+vZV27D lXFtYvHBg/rtTTGNpOKwwXUSb08X45mA1PlrM2OYDy4j/4NllqMx7PWpRW7o8nb3hb/D Bm/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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; bh=ChvOmSu5GMdmA6vtxRRGmQLc6VAohBorLSB7RCrJOu8=; b=1ZFg23K3Wz4N9fvOncaTMTJtt1WvkVmEyfFNG0dcrCf0e4QTdysNpLItfos4cCnjTD /DUTs5WAn9h7ug4vlfQqNOIXniF2/iAoZpMgZDDKLYOpZwDdz7n1oArhZtS5puHiQJXO V/ou9ieG87MtDFdEegwMkNWpYyUOLw02DJp2ok6Umtf8wuQXp4KoP2DWDXsvil7ER6qu XmzwKuJ5P7HcJ1KtdOFq7f6fv7odsLoYaMvOAA3rOskWT7GflR7wsAA+JQnppKUavW3a GBi0nZxPdaIyz2U/ciO9bi7u3ny3W2XVmPO/gKGeb3qus8tkpjxLSAcJzva88mnBZKy/ F/CA== X-Gm-Message-State: ACgBeo3lAzPjQtNpPcG0/tp/Xhs3tPOt4NuAI10WeLgOdylyLiqgHd8L fsKROBPKLHzvFW+KVLjEC035/e3XHLU= X-Google-Smtp-Source: AA6agR7F4oF9Ad/R2XJmtlXeddAaXEO1rNnkfG5wkXsaCDF4gY+KG0aQwBHya4Mr3b1EDa/759BhuQ== X-Received: by 2002:adf:b646:0:b0:221:76eb:b3ba with SMTP id i6-20020adfb646000000b0022176ebb3bamr2076477wre.237.1662556366956; Wed, 07 Sep 2022 06:12:46 -0700 (PDT) Received: from debby ([2a01:e0a:a6d:a8d0:7ff4:8f61:5574:9f95]) by smtp.gmail.com with ESMTPSA id m23-20020a05600c3b1700b003a5e7435190sm28667784wms.32.2022.09.07.06.12.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Sep 2022 06:12:46 -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 v2 1/5] dt-bindings: pwm: Add Mstar MSC313e PWM devicetree bindings documentation Date: Wed, 7 Sep 2022 15:12:37 +0200 Message-Id: <20220907131241.31941-2-romain.perier@gmail.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220907131241.31941-1-romain.perier@gmail.com> References: <20220907131241.31941-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-20220907_061307_943934_022553B2 X-CRM114-Status: GOOD ( 14.55 ) 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 PWM driver, it includes MSC313e SoCs and SSD20xd. Signed-off-by: Romain Perier Reviewed-by: Rob Herring --- .../bindings/pwm/mstar,msc313e-pwm.yaml | 46 +++++++++++++++++++ 1 file changed, 46 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..07f3f576f21b --- /dev/null +++ b/Documentation/devicetree/bindings/pwm/mstar,msc313e-pwm.yaml @@ -0,0 +1,46 @@ +# 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: + 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>; + };