From patchwork Mon Apr 24 12:34:30 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nikita Shubin X-Patchwork-Id: 86972 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp2641744vqo; Mon, 24 Apr 2023 03:31:53 -0700 (PDT) X-Google-Smtp-Source: AKy350ZgxORFK+jmlOU42b7d2/vFQrGSHD8fAb2tr2i8xqnOm0oD5sZ8jzzVzh4sv91EY0acXr/5 X-Received: by 2002:a05:6a20:a11b:b0:f5:83f:9b88 with SMTP id q27-20020a056a20a11b00b000f5083f9b88mr4545621pzk.9.1682332313360; Mon, 24 Apr 2023 03:31:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682332313; cv=none; d=google.com; s=arc-20160816; b=gNoO+Ci0uQ7on58wPeC+tDeEV0zjdIfcJIgUlO87zscm5MZb5MzIOdMs+7+51FFKUw O6uMYVBjFxYDlpYtCjhF/Zt47qslBANWY6N3jVVHA6+HocmJk1uWNAtTdtN5h5i/VK1O Ehc4rWNPWLi4o0Tliq9if3doPWhH0Zjb6xVHds2mEtqNzYLpk4WWqHPbM5pqGNjwBafj xoGNBtNYG8MDvvLLLcxIBcLsOiJfUz42a/abD5sLN7GyLerCtnYFDmpA+m3Z1Bq1yvxv 2LnVYsJaROP3SCHRQF55HojeOx2fpbbtIDHiNHmG3NEkFDVtcKHC8FM/breda7Ac0aF9 s4ng== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j64-20020a638b43000000b004fb9330dcfcsi11170805pge.323.2023.04.24.03.31.41; Mon, 24 Apr 2023 03:31:53 -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 S231752AbjDXKV0 (ORCPT + 99 others); Mon, 24 Apr 2023 06:21:26 -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_Kleine-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 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1764053287940826499?= X-GMAIL-MSGID: =?utf-8?q?1764053287940826499?= 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"; + }; + +...