From patchwork Thu Jun 8 02:18:37 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Billy Tsai X-Patchwork-Id: 104798 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp616915vqr; Wed, 7 Jun 2023 19:20:42 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5p/RjP980pJyjX2rvfeHwkUhaFCapMaj3nk2n86ZMA/y3Kf87O/eUA2pY/BzCm4CmWbp9j X-Received: by 2002:aca:110f:0:b0:398:2c03:45fc with SMTP id 15-20020aca110f000000b003982c0345fcmr6185564oir.15.1686190842492; Wed, 07 Jun 2023 19:20:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686190842; cv=none; d=google.com; s=arc-20160816; b=TGvUew8DKtnK94RJdY6aAK5iUavuD27KWDeQjhB1nJh7hOJUOVtKFCyVzl6+CsB8Ja Cli5WaBF+d2ph/AxM20MJ4u1VYe5QbzGzcRpS+xfwY7LODNrQPQK/7LGjwuMCqVbYlup UHQl3kzPmH0KdvOVLiC8O8Ddjn+omU0G2qd34yxqRcqDn3XcSzvBeDWMqiZ9XK9S4wpE Pqby/qM3cZD6lJ+gjW55kDP/B7UKzcK7LGxabmn0Ct/hj0PoZGpM3nCOpcDdDUaPg1es +MDuuPW3JEcdPjCuRhRfY/5eii/AvjjCWDeEEFGbPczTKi9IoqGKzNGazH3g39K/L4qZ K4iA== 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=XrZF/fJ5607/Mbvv+ay1VNJJmuv3rAKzSFAo0Chw5wY=; b=CLIAxhxeDwNTDzt1p4qbkZlw+0pu3j7vVX+EwT00qKEalFfKzV5A3KGKlj9SQ2bgIJ M/MmVWL6d1rGQD4M+bzJ3zvW32Nfozqynn7ZMQp0CyTfF00WwZkia6P75jsv1DNWnRKO 5+lIDji7+IZT3q6LfUBlDhLs2Yp07j7ND1d49EFP4mej0Ii3CoP5NpLEjZCn2/dB2A+C VJvJ0pDGgsNNIC/Jl2lfvWjasiJ93TD7y2FtWpDJeeGR4SPSNW+pk6jtye7S/6gxH17k em0inEHdh5R2+sOwBMdKid+mZ88c1QEII45LWUfS79wopj+04NVpzRfWVvK/ft1rCUSW RUNg== 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 y190-20020a638ac7000000b0053fb186c6a1si216623pgd.355.2023.06.07.19.20.28; Wed, 07 Jun 2023 19:20:42 -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 S232401AbjFHCQg (ORCPT + 99 others); Wed, 7 Jun 2023 22:16:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36454 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233249AbjFHCQc (ORCPT ); Wed, 7 Jun 2023 22:16:32 -0400 Received: from mail.aspeedtech.com (mail.aspeedtech.com [211.20.114.72]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 038461984; Wed, 7 Jun 2023 19:16:30 -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; Thu, 8 Jun 2023 10:16:21 +0800 From: Billy Tsai To: , , , , , , , , , , , , , , , , , , Subject: [v6 2/4] dt-bindings: hwmon: Add ASPEED TACH Control documentation Date: Thu, 8 Jun 2023 10:18:37 +0800 Message-ID: <20230608021839.12769-3-billy_tsai@aspeedtech.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230608021839.12769-1-billy_tsai@aspeedtech.com> References: <20230608021839.12769-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 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?1768099248736298258?= X-GMAIL-MSGID: =?utf-8?q?1768099248736298258?= Document the compatible for aspeed,ast2600-tach device. Signed-off-by: Billy Tsai --- .../bindings/hwmon/aspeed,ast2600-tach.yaml | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 Documentation/devicetree/bindings/hwmon/aspeed,ast2600-tach.yaml diff --git a/Documentation/devicetree/bindings/hwmon/aspeed,ast2600-tach.yaml b/Documentation/devicetree/bindings/hwmon/aspeed,ast2600-tach.yaml new file mode 100644 index 000000000000..627aa00f2e92 --- /dev/null +++ b/Documentation/devicetree/bindings/hwmon/aspeed,ast2600-tach.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/hwmon/aspeed,ast2600-tach.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Aspeed Ast2600 Tach controller + +maintainers: + - Billy Tsai + +description: | + The Aspeed Tach controller can support upto 1 fan input. + +properties: + compatible: + enum: + - aspeed,ast2600-tach + + clocks: + maxItems: 1 + + resets: + maxItems: 1 + +required: + - compatible + - clocks + - resets + +additionalProperties: false