Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp7115785rwb; Wed, 23 Nov 2022 02:18:41 -0800 (PST) X-Google-Smtp-Source: AA0mqf5rOeExoEcMpT0YiC13+N3cdOwJCw978bYByaldAHjm7NPi1cnNFnQihxcMPRE1GvMQZj7L X-Received: by 2002:a63:ff20:0:b0:477:a48c:5a7f with SMTP id k32-20020a63ff20000000b00477a48c5a7fmr5537540pgi.62.1669198721610; Wed, 23 Nov 2022 02:18:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669198721; cv=none; d=google.com; s=arc-20160816; b=gULDN3yu/PtK8WY/F9kDILvyHcjYehCs1Im/augGjTLhNk8svWBcti/08zRDIDHHD+ FbdKUKdklPM4j16tOfyH4tiFJkEz9Hf8xD2acNBzscHByg6ehaRvD2+lY+GlgOtOFVY3 kqT+ke3zelAII/cp22lzhDTKNos+0DBQulI/eL2QRlRfQfe1rV9bKeFjFLACQvcu/84s kMOpbnjgLRsfIZwx4flAjgSrRt6TOnTHKiLQDgLYOWQPEaRxyFVgpx2yRqQGr+tQR7jO YO9mM4VKFzQ+E1GLYP+RzzbO7DVBqLpe0XhFrsa8RxYBrvORhDKhzV5PeDP2aGrBRWjd hlgg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:to:content-language:subject:user-agent:mime-version:date :message-id:dkim-signature; bh=r24+kxiwoCSvm2ayWOZArpjPKCuE4SnymqyJAd3zIYM=; b=RZLh0eT2VjVu3EvF0AcOm0aPVFqqY2EJ8u91ntU3PQkluFYIOlb8Yh6oVsLcaOSRQw XSSvsCKimNODjv6GJ1flcPGUSbwyP/+OyzYTk6wcmMzZnTzzFa8ylsvWLdlROd17Gt9X VDeHr7iZ4gY3/voEaKZCQswA9XtTIpdixK69kl0jxP+NOekgUJSaGpz96pb2e4aIsVcz VfE6jWNHSdWrOVRLaWyubYrqhZKy4uLnGwwy1L/XCNKVa7Q55XnNj8qFYUrz1inWA2xs zGFfzdWhpKf2WgVJDc0VG8QewkXMlloWlegIKxqcbHTqzonDOJXOssnpXeHkuG7P1Ne4 +AXA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=IOlJksGN; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u5-20020a627905000000b0056bb63ab519si14861906pfc.310.2022.11.23.02.18.30; Wed, 23 Nov 2022 02:18:41 -0800 (PST) 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=pass header.i=@linaro.org header.s=google header.b=IOlJksGN; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236550AbiKWId3 (ORCPT + 88 others); Wed, 23 Nov 2022 03:33:29 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41764 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236553AbiKWIdY (ORCPT ); Wed, 23 Nov 2022 03:33:24 -0500 Received: from mail-lf1-x129.google.com (mail-lf1-x129.google.com [IPv6:2a00:1450:4864:20::129]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8CF25E9311 for ; Wed, 23 Nov 2022 00:33:22 -0800 (PST) Received: by mail-lf1-x129.google.com with SMTP id s8so27106236lfc.8 for ; Wed, 23 Nov 2022 00:33:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=r24+kxiwoCSvm2ayWOZArpjPKCuE4SnymqyJAd3zIYM=; b=IOlJksGNdbJbrBpJA3cBm5xy486N/lEda8ByQPM70Vn2iN6r40/7a8iMKvXvbONgot dTJRLBkxGogODzjpQHPXfCuRt0SxPUiYwNZapRMJItO9VYrAvduz/YyTAXv81YAGLexT BFXU2sSbdjP7kWM4wiENR6YE1J09HxsVAPfm5mVtOFdnoXMfhBEHeKPqxDSEVrHKgs06 Q5P8Hp3iHER6Nx4H3p/ZqW6tkLcflP9UhrVqKv4SL3Vad5jdoQCfbGdxWx3TvLi+fDFp 0JGDldMXrOOiYsbT9fBpEjMbS5rABl99l6YBfO3Z5sFcYXGW0oqpuIAr/yptdQpUhNSL cG6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=r24+kxiwoCSvm2ayWOZArpjPKCuE4SnymqyJAd3zIYM=; b=m81KX0aijGQW2Q9CgM6lnD0BXrBDoC6lTFNiJjtbrKA36UrpH05tcPAxRMlGqzzx12 6sRD098sHCQwp1ORMeL/vgMbDktCuVuHLmYeWMJUj4YX5J65HxAJnJQN/WESQf8vzQPp BG0J2X/jqUfBDdatD8mOWYZzDQzeTKIH7afrlbbXYjTBR1EUAQhX8rKI0WvW2SG8iVcT 4Kw3yGEIBBy2QCcERQ6QwMNkzs1wgVtY3tNngwgBRPlqRzZUxCmTKmnjeQbTqvgBck7w mHaEfqC71O+H0B1ktVpccid8QHmaSu8d0J329e8idOEKzN4go57JukyGumFbEkoclPHJ mcJw== X-Gm-Message-State: ANoB5pm5N6AO9VN/CRu/X9Yu4i+EGsMVmFGwFj3UbbCLsMLALVqXQx0U 3RgHuDBzdjGQGg9IY4f542nCfw== X-Received: by 2002:ac2:47fc:0:b0:4a2:2f31:12bf with SMTP id b28-20020ac247fc000000b004a22f3112bfmr9699219lfp.550.1669192400912; Wed, 23 Nov 2022 00:33:20 -0800 (PST) Received: from [192.168.0.20] (088156142067.dynamic-2-waw-k-3-2-0.vectranet.pl. [88.156.142.67]) by smtp.gmail.com with ESMTPSA id j8-20020ac24548000000b00499fe9ce5f2sm2834949lfm.175.2022.11.23.00.33.19 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 23 Nov 2022 00:33:20 -0800 (PST) Message-ID: Date: Wed, 23 Nov 2022 09:33:19 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.0 Subject: Re: [v4 3/5] dt-bindings: hwmon: Add bindings for aspeed tach controller Content-Language: en-US To: Billy Tsai , jdelvare@suse.com, linux@roeck-us.net, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, joel@jms.id.au, andrew@aj.id.au, lee@kernel.org, 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 References: <20221123061635.32025-1-billy_tsai@aspeedtech.com> <20221123061635.32025-4-billy_tsai@aspeedtech.com> From: Krzysztof Kozlowski In-Reply-To: <20221123061635.32025-4-billy_tsai@aspeedtech.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 On 23/11/2022 07:16, Billy Tsai wrote: > Add the aspeed tach device bindings which should be the child-node of > pwm-tach mfd. Subject: drop second, redundant "bindings". > > Signed-off-by: Billy Tsai > --- > .../bindings/hwmon/aspeed,ast2600-tach.yaml | 36 +++++++++++++++++++ > 1 file changed, 36 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..f42114f8e3c2 > --- /dev/null > +++ b/Documentation/devicetree/bindings/hwmon/aspeed,ast2600-tach.yaml > @@ -0,0 +1,36 @@ > +# 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. Same comments as before. When you receive feedback about something, please correct it everywhere, not only in one place. > + 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 Missing blank line. > +patternProperties: > + "^fan@[a-z0-9]+$": > + type: object Missing description. But more important - why do you have such child nodes? Your example does not have them. What's the point? Do you expect different number of fans per one device (one compatible)? > + properties: > + reg: > + description: > + The tach channel used for this node. > + maxItems: 1 Missing blank line. > + required: > + - reg > + > +required: > + - compatible > + > +additionalProperties: false Best regards, Krzysztof