From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 5A304C7EE2E for ; Thu, 8 Jun 2023 04:59:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:From:References:To:Subject:MIME-Version: Date:Message-ID:Reply-To:Cc:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=LhoAnf75JPVGC7ZXg1aL32juhM6VE+7Ss7PtL7FdcA8=; b=rMrTJR0txvZk1r1nNTTZL06VyX MNRFPLi1HipY/1q5/VO5ZTIH0ecZMrB1XaWgwlSOR9FW/2yipHMikGn7hslykhjygFrbywFsiS0k7 Nt8TjG/PXdIgLXo0GY3A7z1exiXy1gJK0UiCOk0SHrZR8THd+Qqp65PrYmcpk2gQRpT2PZzUpE98M 85DtW455kTsRbzesgZavmiCyfBnYoPS1UHm9uFOVWxtcgW9DqI8C5fpDYivKiSZ/673dPxG384WVH ABIQk4JZ+AGqK+NhlKiI53uuiXOXy8uZvzH5E7uMEy8Wo26PEcnqLjSzIWxCa7NWasdfHj86blf+E YHdOvNGw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1q77jI-0086LT-2P; Thu, 08 Jun 2023 04:58:36 +0000 Received: from mail-oi1-x22a.google.com ([2607:f8b0:4864:20::22a]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1q77jG-0086Je-1S for linux-arm-kernel@lists.infradead.org; Thu, 08 Jun 2023 04:58:35 +0000 Received: by mail-oi1-x22a.google.com with SMTP id 5614622812f47-39c84863e34so57653b6e.2 for ; Wed, 07 Jun 2023 21:58:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1686200310; x=1688792310; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :sender:from:to:cc:subject:date:message-id:reply-to; bh=JT3KlhOojBPgttBy2y+jESI/Sgq2kQ2/GXL/IhkMhrg=; b=oJCk96IkLeNGopmiIbbiZG7purBH3OY6c3kx4f0qRS/gRqCBKn6ar3hEUXrP3dvwlF TPbqJNotco49vVRe3uQS35fn+hDp6b3T5JNuEnCIVbpswFYUUF0BazJP7ZoKlMU99sQ7 Mr1/N4Hi3nNv/FKHcCEL6otKiRd+y/tqroI/yWRNZYeTsslmp04L6m3lKH72cXW/OzmY YYH/gwVu1FLFC+LBMVAiZA6i9si4ErTgc6s57BYA/17cw9gAGqEpoNwFR1jJPJ9ZmGOM fbYnbiz4tveUXRwG6C35PiHwMP8/8pj6vM9xO9arqj59CL66NKzuFMmkPAMHAYGdPT4o KiJQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686200310; x=1688792310; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :sender:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=JT3KlhOojBPgttBy2y+jESI/Sgq2kQ2/GXL/IhkMhrg=; b=b5ARSIYzrVjKI7Z//++ocX4gDkNRJhNBAIWKwA1CI82tN+Aa6dx3PGbro3Q+mZdHKE PEsdh6cmI0FpxCIyD2h2Sv13QnepE4/fbSVY4uQ/UiwgUfeZ+fzFP/RN4dakOKTqylCe nmRzvufzYAl/x4dnVQHOh1rSHmbdHx+7HJ4Bhy3iVxtMLdgIuNk5yV/sJD+0UkhLJiJc p6VAp0e2Ll7RQe6oD9UX8ExL4a/3HBM1coKpuPB2r1/04SmEVSEfSTuYWwFFL/nVavHm 7/KYKsOe+RWwI4qoijzyi12g0KHtGo60rxqUakG2gIwu76yhIx3L5IB5cE9zjYYWiuq1 rLJw== X-Gm-Message-State: AC+VfDy6OvRfgBhnT1An3W7V+RRwC4ShslUswezB9Kx+5MXStoLV/o2+ IkVxKmlu0T+iY4+jv43QrhtEbv3jcJ0= X-Google-Smtp-Source: ACHHUZ7IbXKqWXIgk0etOFyy/EwK/wZPz4znrrxclmpf7ksuCGmhrJWXKHrojfeLz2BB2S+1qEaGHg== X-Received: by 2002:a05:6808:96:b0:398:27d3:1fc3 with SMTP id s22-20020a056808009600b0039827d31fc3mr7051865oic.42.1686200310606; Wed, 07 Jun 2023 21:58:30 -0700 (PDT) Received: from ?IPV6:2600:1700:e321:62f0:329c:23ff:fee3:9d7c? ([2600:1700:e321:62f0:329c:23ff:fee3:9d7c]) by smtp.gmail.com with ESMTPSA id n13-20020aa7904d000000b0064d1d8fd24asm206662pfo.60.2023.06.07.21.58.28 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 07 Jun 2023 21:58:30 -0700 (PDT) Message-ID: Date: Wed, 7 Jun 2023 21:58:27 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: [v6 2/4] dt-bindings: hwmon: Add ASPEED TACH Control documentation Content-Language: en-US To: Billy Tsai , jdelvare@suse.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, joel@jms.id.au, andrew@aj.id.au, thierry.reding@gmail.com, u.kleine-koenig@pengutronix.de, corbet@lwn.net, p.zabel@pengutronix.de, linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, linux-pwm@vger.kernel.org, linux-doc@vger.kernel.org, patrick@stwcx.xyz References: <20230608021839.12769-1-billy_tsai@aspeedtech.com> <20230608021839.12769-3-billy_tsai@aspeedtech.com> From: Guenter Roeck In-Reply-To: <20230608021839.12769-3-billy_tsai@aspeedtech.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230607_215834_495435_5A2B1FF4 X-CRM114-Status: GOOD ( 17.35 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 6/7/23 19:18, Billy Tsai wrote: > 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. > + The code says: In Aspeed AST2600 SoC features 16 TACH controllers, with each controller capable of supporting up to 1 input. which is a bit different. I guess there are no examples anymore, but I'd really like to see how this looks like in the devicetree file, and how the driver is supposed to distinguish/select the 16 inputs. > +properties: > + compatible: > + enum: > + - aspeed,ast2600-tach > + > + clocks: > + maxItems: 1 > + > + resets: > + maxItems: 1 > + > +required: > + - compatible > + - clocks > + - resets > + > +additionalProperties: false _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel