Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp5382165rwr; Mon, 24 Apr 2023 03:23:14 -0700 (PDT) X-Google-Smtp-Source: AKy350bka1RW1UYAHt5Ees6r0Sr1nCquHNHWFnINCERCTfUlLAT8J/u7b8dtUzCwTINSsZoW3L+w X-Received: by 2002:a05:6a20:3d1d:b0:db:b7:fe3f with SMTP id y29-20020a056a203d1d00b000db00b7fe3fmr17887138pzi.10.1682331793691; Mon, 24 Apr 2023 03:23:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682331793; cv=none; d=google.com; s=arc-20160816; b=PbeqHKf2j4wuaeqkQ2MkvyZxK79zDKBkjFuGSBrflas0dTakJPkjGXz96MBah271cV c80ouKx8sU87uJKLc3J9PLnXmHkP/wBb9UZQy+SMJUKmHAgUOVC/dg7IF2HvLqwv7Afj SLdFXA3DZzZf0LLE2UVFvqNmG7aRzDYWSvzrBkdmNht+FCJjOvlJeHO3XA8bIlrxQQyn eDF+PcRbPu1u4hXFueCa7esWi8NCR45ik3C9ZiiGJA5HSR06qHtgArEQvH4+CLfyKh7I sc/CTT6FgWcQ0IE6PPC130BNY239gxScxdCMox3Cti/vkczQdCmbjoYxIkZUZ3KPPOGy iKlw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:from :dkim-signature; bh=55tZgmJXA8qbnRPP2qpobAYIKju7ySH3raZBDLq41Vw=; b=bT7GUZQV3rdxWm4n/ZkWMqkbvZzUEldyR8vKKCCgxbBuB7L6SbS9N8NQBd1v9lzpHB WdTfFRxo4vpK1Bs8zf/eT7qo9BAv+LcQ88YN2KaXjZ43J2sUzEyk0clvhmFg6hqq1BJP kXIGXOh3VXBLGnynmyHS9VpvQTWuMJz/Xhhfy314WWrdvug/61h7EaRcnpaxTwL2Plwr KZj4TQXSaWqRxBdQU6REmDTl3h7Ih6UH2pVyinehjXaQ2MBfsRPHBPNqhAH9aMt9MZII KVQ2V/BmAgKVo1kNZQmRuy73khuHGlQYji3Dn7t3KYpgRhsb9rIZI1r+B8bBpZDL+QvH UvvQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@maquefel.me header.s=mail header.b=JKotEwuQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a28-20020aa78e9c000000b0063b7c4435bcsi11183155pfr.50.2023.04.24.03.23.02; Mon, 24 Apr 2023 03:23:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=fail header.i=@maquefel.me header.s=mail header.b=JKotEwuQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231751AbjDXKVZ (ORCPT + 99 others); Mon, 24 Apr 2023 06:21:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44286 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231660AbjDXKUp (ORCPT ); Mon, 24 Apr 2023 06:20:45 -0400 Received: from forward501c.mail.yandex.net (forward501c.mail.yandex.net [178.154.239.209]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A4D7EB7; Mon, 24 Apr 2023 03:20:44 -0700 (PDT) Received: from mail-nwsmtp-smtp-production-main-39.myt.yp-c.yandex.net (mail-nwsmtp-smtp-production-main-39.myt.yp-c.yandex.net [IPv6:2a02:6b8:c12:261e:0:640:2e3d:0]) by forward501c.mail.yandex.net (Yandex) with ESMTP id D30BD5EEAB; Mon, 24 Apr 2023 12:35:48 +0300 (MSK) Received: by mail-nwsmtp-smtp-production-main-39.myt.yp-c.yandex.net (smtp/Yandex) with ESMTPSA id JZBb1pbWwKo0-PtXC2aiQ; Mon, 24 Apr 2023 12:35:48 +0300 X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=maquefel.me; s=mail; t=1682328948; bh=55tZgmJXA8qbnRPP2qpobAYIKju7ySH3raZBDLq41Vw=; h=Message-Id:Date:In-Reply-To:Cc:Subject:References:To:From; b=JKotEwuQesXgy6k7oJ/OF1r0lrxaWeEWpyRRRPhv7r1r5udgnHnY7a1EN6op9r8ch 7y/BMGZuhb/mWsTdGU6W/jNRVBUcRzJLRC2wQ9+cdwGOlQ8UBgNBtWK0zo1OlXc7fw T7fvloDW0v7zzerjKB2uywWJYgEJit5A87Yv7kMg= Authentication-Results: mail-nwsmtp-smtp-production-main-39.myt.yp-c.yandex.net; dkim=pass header.i=@maquefel.me From: Nikita Shubin Cc: Arnd Bergmann , Linus Walleij , Alexander Sverdlin , Thierry Reding , =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= , Rob Herring , Krzysztof Kozlowski , linux-pwm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 14/43] dt-bindings: pwm: Add DT bindings ep93xx PWM Date: Mon, 24 Apr 2023 15:34:30 +0300 Message-Id: <20230424123522.18302-15-nikita.shubin@maquefel.me> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230424123522.18302-1-nikita.shubin@maquefel.me> References: <20230424123522.18302-1-nikita.shubin@maquefel.me> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net To: unlisted-recipients:; (no To-header on input) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add YAML bindings for ep93xx SoC. Signed-off-by: Nikita Shubin --- .../bindings/pwm/cirrus,ep93xx-pwm.yaml | 45 +++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 Documentation/devicetree/bindings/pwm/cirrus,ep93xx-pwm.yaml diff --git a/Documentation/devicetree/bindings/pwm/cirrus,ep93xx-pwm.yaml b/Documentation/devicetree/bindings/pwm/cirrus,ep93xx-pwm.yaml new file mode 100644 index 000000000000..8f67eb152f8b --- /dev/null +++ b/Documentation/devicetree/bindings/pwm/cirrus,ep93xx-pwm.yaml @@ -0,0 +1,45 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/pwm/cirrus,ep93xx-pwm.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Cirrus Logick ep93xx PWM controller + +maintainers: + - Thierry Reding + +properties: + compatible: + enum: + - cirrus,ep9301-pwm + reg: + maxItems: 1 + + clocks: + items: + - description: SoC PWM clock + + clock-names: + items: + - const: pwm_clk + +required: + - compatible + - reg + - clocks + - clock-names + +additionalProperties: false + +examples: + - | + #include + pwm0: pwm@80910000 { + compatible = "cirrus,ep9301-pwm"; + reg = <0x80910000 0x10>; + clocks = <&syscon EP93XX_CLK_PWM>; + clock-names = "pwm_clk"; + }; + +... -- 2.39.2