Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp6879474rwd; Tue, 6 Jun 2023 03:22:02 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5Yhfs4t2CyRMlML99ZsoaWohMM2nXTbyQdhLpcdvnjA69W6SIRK8uulAs0UzqfLK7tIl6n X-Received: by 2002:a17:90a:a78e:b0:253:42cc:8c46 with SMTP id f14-20020a17090aa78e00b0025342cc8c46mr930692pjq.10.1686046922128; Tue, 06 Jun 2023 03:22:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686046922; cv=none; d=google.com; s=arc-20160816; b=EJJIYbFZNarY+UFDykD/RiGIU/+TGfanVjmvIJgdhsHjYzfPJMTt1Psi7X0peHjJHE 3L+GBwX4cb+AImQG0Xw8GPsbycJMPiWlHQUdvOxnPeugY6LEaoxK1XGtthlwLCt4Xsr2 9vt4HzSBFJPbCaWJSG9I3r+OiVmvAR6pE9zCgadeYRr21jeaIjHBobUksK/7cbXiVDvp E+fzXJit7SdAAYuMiNg8w9Lb0oJ4ic6Xu/zETpkZFzwgKBUduKtf/710wADUOKZ3MOsY xt7KjLdYoMKMpa1fns65w/KRKqJyGjkbEPh8WXb324mlEgLp7EANjWielUwlPoaIeX+q gJ7g== 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=3VFO1xiMcnZlOnvynxuQUMeKX/Pr04ayS6G7v9O1qnE=; b=VVOMHmTXNTnOcRHoBkFCUKMt2ol4E3PM8/0fCsWWcvmjCzHQOX40eciT/iGPgZ5P/Y BtXgW5rsItKfiorv9LuupTUMW2vDZaT16szlWI0E4jnzwuOqEAduulwOsF32A+X7RZo5 k49E/FU466TZx1wa3vbZ5xdbrW8PInCZGzmdS7lx5T5+ulY0LamzGT64zi8WzOU0ps80 ShgymIpoiqPVQellWaf/7TboXMEXrmODXWsONUb0IC3k2LAM+bAbM+nZ396gZRHcNPqg iTagtiMU7MFxfJPn01dimbpDwyLKxWjDtnC5E/ldRnTc5joR8R037GFVE96ZAv0bb0YC w9bg== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id cm3-20020a17090afa0300b00246973aef88si8803223pjb.29.2023.06.06.03.21.50; Tue, 06 Jun 2023 03:22:02 -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 S237445AbjFFJ7A (ORCPT + 99 others); Tue, 6 Jun 2023 05:59:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32948 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237599AbjFFJ6t (ORCPT ); Tue, 6 Jun 2023 05:58:49 -0400 Received: from mail.aspeedtech.com (mail.aspeedtech.com [211.20.114.72]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4821110F9; Tue, 6 Jun 2023 02:58:34 -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:42 +0800 From: Billy Tsai To: , , , , , , , , , , , , , , , , , , , Subject: [v5 2/5] dt-bindings: hwmon: Add bindings for aspeed tach controller Date: Tue, 6 Jun 2023 17:45:32 +0800 Message-ID: <20230606094535.5388-3-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 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII 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 Add the aspeed tach device which should be the child-node of pwm-tach mfd. Signed-off-by: Billy Tsai --- .../bindings/hwmon/aspeed,ast2600-tach.yaml | 40 +++++++++++++++++++ 1 file changed, 40 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..50b3d8c98d55 --- /dev/null +++ b/Documentation/devicetree/bindings/hwmon/aspeed,ast2600-tach.yaml @@ -0,0 +1,40 @@ +# 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 16 fan input. + This module is part of the ast2600-pwm-tach multi-function device. For more + details see ../mfd/aspeed,ast2600-pwm-tach.yaml. + +properties: + compatible: + enum: + - aspeed,ast2600-tach + +patternProperties: + "^fan@[a-z0-9]+$": + type: object + description: + Child nodes used to enable the tach channel. + properties: + reg: + description: + The tach channel used for this node. + maxItems: 1 + + required: + - reg + +required: + - compatible + +additionalProperties: false -- 2.25.1