From patchwork Tue Jun 6 09:45:31 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Billy Tsai X-Patchwork-Id: 103704 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp3279805vqr; Tue, 6 Jun 2023 03:09:15 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6HXaHvyx87zzbgfP0Uwe4IhmND26G7r1OCjqQ14EMUUI4iZ1wev43JehTHrdnKzjY5Won0 X-Received: by 2002:a05:6358:4fa3:b0:129:c4a6:8892 with SMTP id cg35-20020a0563584fa300b00129c4a68892mr1334334rwb.17.1686046155402; Tue, 06 Jun 2023 03:09:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686046155; cv=none; d=google.com; s=arc-20160816; b=qPOsNIe5+PthJC+ZzzMbkaL28kjETBfDiEJsNJfkE4/CI0/Gk+r6EOj+r6BDHfuvk/ DaExGrjA3SteNKQFgmyvJcNAL3kgtQyvXZYg8nn1FmBDn3aMbIv7eyFOJad08c5o6UFq P2vVHD4L4fvUfw96yID9uxZ1DWeKjvyjMI4upqdGwg5y2/7Kvr2S69M53AHAd8Li6mUu zNoxs0XDMvyPjkuIf7QZKtdSQmuobeEm9umqcdTFq5scURJaDz6Olphru81/Jt56tBKA VdmBL+E5IAVFpb56iRUhir6/F6mXp06eVIk9SOonL0S7Yii48W3coVbDMxFIAtK0CFHD 0Rjg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:to:from; bh=EJib5oSK5os43P9NTGqe6TS9XyTp7ozmEK6zZ2MIO5U=; b=dSPin706BychoAyeaMDaYfY1ZGGAi6xckZ8tT7G3v+HIW1+tqbjUEP2LyFoklKmmuu A5NPdsBPIkRnBNNSINHq2MuLgNVqi2X0Oyzya7htfGZR3iLJipsmASLxmSCM4FDjHU4L cr0a0XMivkvSxrYlAiaYilDzYzPzdAJ9Vr3CjiE94DBYqrGwOvDEQFkX4jHch5l4unBB rfglbyDs07Nha+UgfMmHMYLFbj6WtmoTmsKRTm/YeAFgHy4g1VF443pg1CvkdurDEzix e6SBeLxwP+MTG0BoOm9X24KCGs0ejY6apzFTE+PFQ9iQn2Y/NIKVRCxPamaUpfe9ruBK XZcA== ARC-Authentication-Results: i=1; mx.google.com; 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 29-20020a17090a1a5d00b002564870bcb6si8826125pjl.183.2023.06.06.03.09.03; Tue, 06 Jun 2023 03:09:15 -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; 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 S237276AbjFFJ6z (ORCPT + 99 others); Tue, 6 Jun 2023 05:58:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60518 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235929AbjFFJ6f (ORCPT ); Tue, 6 Jun 2023 05:58:35 -0400 Received: from mail.aspeedtech.com (mail.aspeedtech.com [211.20.114.72]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C7E66E6E; Tue, 6 Jun 2023 02:58:26 -0700 (PDT) Received: from BillyTsai-pc.aspeed.com (192.168.1.221) by TWMBX02.aspeed.com (192.168.0.24) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 6 Jun 2023 17:43:41 +0800 From: Billy Tsai To: , , , , , , , , , , , , , , , , , , , Subject: [v5 1/5] dt-bindings: pwm: Add bindings for aspeed pwm controller Date: Tue, 6 Jun 2023 17:45:31 +0800 Message-ID: <20230606094535.5388-2-billy_tsai@aspeedtech.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230606094535.5388-1-billy_tsai@aspeedtech.com> References: <20230606094535.5388-1-billy_tsai@aspeedtech.com> MIME-Version: 1.0 X-Originating-IP: [192.168.1.221] X-ClientProxiedBy: TWMBX02.aspeed.com (192.168.0.24) To TWMBX02.aspeed.com (192.168.0.24) X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1767947533658074358?= X-GMAIL-MSGID: =?utf-8?q?1767947533658074358?= Add the aspeed pwm device which should be the child-node of pwm-tach mfd. Signed-off-by: Billy Tsai --- .../bindings/pwm/aspeed,ast2600-pwm.yaml | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 Documentation/devicetree/bindings/pwm/aspeed,ast2600-pwm.yaml diff --git a/Documentation/devicetree/bindings/pwm/aspeed,ast2600-pwm.yaml b/Documentation/devicetree/bindings/pwm/aspeed,ast2600-pwm.yaml new file mode 100644 index 000000000000..88c25e65b4ee --- /dev/null +++ b/Documentation/devicetree/bindings/pwm/aspeed,ast2600-pwm.yaml @@ -0,0 +1,32 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +# Copyright (C) 2021 Aspeed, Inc. +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/pwm/aspeed,ast2600-pwm.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Aspeed Ast2600 PWM controller + +maintainers: + - Billy Tsai + +description: | + The Aspeed PWM controller supports up to 16 PWM outputs. + This module is part of the ast2600-pwm-tach multi-function device. For more + details see ../mfd/aspeed,ast2600-pwm-tach.yaml. + +allOf: + - $ref: pwm.yaml# + +properties: + compatible: + enum: + - aspeed,ast2600-pwm + + "#pwm-cells": + const: 3 + +required: + - compatible + +additionalProperties: false