Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp4425134rdb; Fri, 15 Sep 2023 01:30:20 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFEkIiHSRJ4xHf+8SJ45r0PEvZWx19fHEMih2NX0R/7zBzFectcu+dviH3AmjPiBGQicCzX X-Received: by 2002:a05:6358:9f9d:b0:143:1063:d1ed with SMTP id fy29-20020a0563589f9d00b001431063d1edmr93875rwb.26.1694766620603; Fri, 15 Sep 2023 01:30:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694766620; cv=none; d=google.com; s=arc-20160816; b=OH/y1zzN9lsAsvGsHAkhE1OkpNmgT9ZbWIMRI5aNUhP79FoaTxi+m4sOoUwKv8UK9m bL/vJH3sBJKpXz0Xnch6frbII9Og/PAMRnH5K3AOYycGZXqNzUIjFdJoFhItloGyC63S WjwQedPEJmH75MzzxigeGTQQbCHCBwUtUtXdt1GjMsjKsxuFbwk8gfCM2kWOPbffv8Hs 7JlYVUeai8VRkx7/KRTl05FY+5koLP9m2C9OmNMb8W8Yr8zUTiJmI45juhD1zC32yda6 GRfiR4QpuXuWxdJwyXQT6jPCZg3wc00qOecQGF3fYwR0w3oSHgJaruS5sGoKBygtTjVE W6Dg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:reply-to:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=wu8dmyLq+yOXF5pmbWfq3+XznTtuD6+QhoeTuoJ2+uU=; fh=BGC4XMCZXlHneVgTpw+mm2stqN9a/8waB6BqXfi7j5c=; b=YhYgOzPM4/EuY/hGMhptYAt+ui87MBkKobi4u3BDibNJRGwIZaKNQu0qwZ7ghl25Ha EgSVhGV9+1s+00J+iW9WAt/sRW//ChgpUqIWNYtZG3OCJRd/T3HAQOBVhELpgBeKouU1 ETmk4yEdvCrez8DXqEE2qD9L1bvvY2n7Y9LX9ltX1VXfRCOOajGw3Kq+8+ISxwndz1LV CZBC46dUGH8rO8K1qwpwUgV4/yowXxUnjJKWXUkGWfydD021BU7E/UgO3QEPuM5OC2VF HFdd/tdprJja8vVTeniacCQ096E/+aW2mJakiOLI8jxt3Z7aecUU4qcxYenRso+6wXL1 nZKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=fvDpEwpN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id bx33-20020a056a02052100b005778dc6a841si3316803pgb.178.2023.09.15.01.30.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Sep 2023 01:30:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=fvDpEwpN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 9063B82E27F3; Fri, 15 Sep 2023 01:13:14 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233137AbjIOINE (ORCPT + 99 others); Fri, 15 Sep 2023 04:13:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57044 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232965AbjIOIMc (ORCPT ); Fri, 15 Sep 2023 04:12:32 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 17F9F2728; Fri, 15 Sep 2023 01:12:12 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPS id 23051C4AF69; Fri, 15 Sep 2023 08:12:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1694765529; bh=MJoWZHI2N2uqhqsmwexa0h2+7237tCLh0zSp3grMtww=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=fvDpEwpNNCMTiYyZXlqSN528IKTXl2Pd5yvTkdvOPDg+pHhpr3cWUmsTQplluhfiR TURS0umSQACFA9CAUdlSbp7bJOKg3I6jaeTYCbVPz+81ERXe+OAUZHYFf1TEaF8d+G 3ApaaW50DMFCFr6MiVjeC23FiXwJp5pirEHDI8jfjixvT+pjXKS2ZdapuZQjXvrw8s DeQxLpIQERc13FmOG+Cbr6I2kdiDjaUYAYuxFq6lOWD93TsIZSTiZjbmSHTEITS5cL 4g4XuBzncr4m8R9moI404eyNFEw+ExmLMwGNsKslRerBEOxFLLCLYVw0XfALPlJRKl jpRnsA4TKidjw== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0DB22EE6437; Fri, 15 Sep 2023 08:12:09 +0000 (UTC) From: Nikita Shubin via B4 Relay Date: Fri, 15 Sep 2023 11:10:59 +0300 Subject: [PATCH v4 17/42] dt-bindings: pwm: Add Cirrus EP93xx MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Message-Id: <20230915-ep93xx-v4-17-a1d779dcec10@maquefel.me> References: <20230915-ep93xx-v4-0-a1d779dcec10@maquefel.me> In-Reply-To: <20230915-ep93xx-v4-0-a1d779dcec10@maquefel.me> To: Thierry Reding , =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Alexander Sverdlin , Nikita Shubin Cc: linux-pwm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Arnd Bergmann , Alexander Sverdlin X-Mailer: b4 0.13-dev-e3e53 X-Developer-Signature: v=1; a=ed25519-sha256; t=1694765525; l=1680; i=nikita.shubin@maquefel.me; s=20230718; h=from:subject:message-id; bh=HWfGpRfLI0u3c9w/GjlqYijmDqOAH7VeVmchFBxBT10=; =?utf-8?q?b=3DfqwPMVf9im1+?= =?utf-8?q?ACb8pU7d1RD4B+HiPxO2g9wB9axtZVBX55RMDR6WU1GMXfBC0GVs4+RBUTqJ0ba1?= egdQVnyVAsjMeRT8JroESViNMhg3y63qFKdAsIYjnCM2OUY8dwPM X-Developer-Key: i=nikita.shubin@maquefel.me; a=ed25519; pk=vqf5YIUJ7BJv3EJFaNNxWZgGuMgDH6rwufTLflwU9ac= X-Endpoint-Received: by B4 Relay for nikita.shubin@maquefel.me/20230718 with auth_id=65 X-Original-From: Nikita Shubin Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Fri, 15 Sep 2023 01:13:14 -0700 (PDT) From: Nikita Shubin Add YAML bindings for ep93xx SoC PWM. Signed-off-by: Nikita Shubin Acked-by: Uwe Kleine-König --- .../devicetree/bindings/pwm/cirrus,ep9301-pwm.yaml | 46 ++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/Documentation/devicetree/bindings/pwm/cirrus,ep9301-pwm.yaml b/Documentation/devicetree/bindings/pwm/cirrus,ep9301-pwm.yaml new file mode 100644 index 000000000000..198b9a40f756 --- /dev/null +++ b/Documentation/devicetree/bindings/pwm/cirrus,ep9301-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/cirrus,ep9301-pwm.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Cirrus Logick ep93xx PWM controller + +maintainers: + - Alexander Sverdlin + - Nikita Shubin + +properties: + compatible: + oneOf: + - const: cirrus,ep9301-pwm + - items: + - enum: + - cirrus,ep9302-pwm + - cirrus,ep9307-pwm + - cirrus,ep9312-pwm + - cirrus,ep9315-pwm + - const: cirrus,ep9301-pwm + + reg: + maxItems: 1 + + clocks: + items: + - description: SoC PWM clock + +required: + - compatible + - reg + - clocks + +additionalProperties: false + +examples: + - | + #include + pwm@80910000 { + compatible = "cirrus,ep9301-pwm"; + reg = <0x80910000 0x10>; + clocks = <&syscon EP93XX_CLK_PWM>; + }; -- 2.39.2