Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp7092563rwb; Wed, 23 Nov 2022 01:56:00 -0800 (PST) X-Google-Smtp-Source: AA0mqf62qZoq5Z8bSG9Rwx9zlJMxIR22EzSOh7z5ke9kvVrjeouv+I7PQXc05kOUpswWcERXZk5v X-Received: by 2002:a17:906:cb90:b0:772:e95f:cdce with SMTP id mf16-20020a170906cb9000b00772e95fcdcemr23417145ejb.78.1669197360282; Wed, 23 Nov 2022 01:56:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669197360; cv=none; d=google.com; s=arc-20160816; b=f8c183b+EJe0AeIK+MpyOX17lg+pOUoxGUDEW+dA8XHyG68LvRR0wupf4p/puoSRrx BhHPFd2ZyraNAp8Rhez0kNtUoboCdgdR2GNi0bAULE3ikZ3Jpnp033RByW7Kosv+bFdb JajSsQuYoAV6XpWT6C9x7SXGnRaZdjIY+CDFeMT7sPd5c4zqA2whVXy4VHWSZdnVe4iH 1YiSJxJiXv9UpkLuN9TnwPvThB3b4VM53JvjTIOIQRXV9l9kVLEynlxDGcpj/ho/D0h6 ZRcwkxbbxbxPiQMlHyN6GTyza+THgjky1eZHlq9jh1n5itpzgpxlPr2bpdk1PvKSD75J 6Ceg== 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=qQrDHCXSqC/XpmgwTdQyvmX254FcV0tmVuSLVUTqodg=; b=aobL5OpYPYIUFZ0A8V2o7hGJGQgXqlLswW8fLNM4lSRYH/vtAKxjGJzEX6nNFc3Yyn 4SJQicnZ3TckbfBtxM1owl5OVI4RA6WBJZQox8DvGRQaYgcMHrfEQ06NT1CAhoze+agB pM+eQ3mbd+x4FYnty6uh5QMmECIf/zdGH7NRyv9JfCWsnto84bC05Kf/h6IxMNybmlXt Rq5JFJTqoEIjMz6uiDSYiRiO9sY8HiroZONUHDjg2wiCTs3dPeBgexVeYAw2rMb4XWAS J8UeEWKanxV+nsXWpm1YDdTFeuRU2IHCCriWqDff77Wuym5h72ktGXCA4sWiO63daYzr FCzA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=iAB9ioyF; 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 hw9-20020a170907a0c900b007833cbbb747si11339019ejc.578.2022.11.23.01.55.38; Wed, 23 Nov 2022 01:56:00 -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=iAB9ioyF; 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 S236317AbiKWIYn (ORCPT + 89 others); Wed, 23 Nov 2022 03:24:43 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60978 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236374AbiKWIYj (ORCPT ); Wed, 23 Nov 2022 03:24:39 -0500 Received: from mail-lj1-x232.google.com (mail-lj1-x232.google.com [IPv6:2a00:1450:4864:20::232]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 40904FC70B for ; Wed, 23 Nov 2022 00:24:38 -0800 (PST) Received: by mail-lj1-x232.google.com with SMTP id s24so20522244ljs.11 for ; Wed, 23 Nov 2022 00:24:38 -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=qQrDHCXSqC/XpmgwTdQyvmX254FcV0tmVuSLVUTqodg=; b=iAB9ioyFKLlNCgKnD6q3l2t859zPNg4auZGsr2Rg5VGBclq0WCjr3EQb0wMWVg22j9 UhlgN0IWOGV8Kh5mD/w0pVAMssS9mmhYioVWsmF3g1b07uSH/a0Gmycjw3hGXC/CJvVR voCFLtfj3bYYPgeOuNT/ARyXty0hTIT+rEtUbQYC6YRJgYQB8WuyqwQCacGgsIjZv2sY eDyGI/j/dqPaDd/KQPdJf8ADy3PbJeeAa9wgZiJcIZWzlaZd1VNfIQ30jNdTK6Ov/QPZ jbn8FF1tj8XKvRFIUUGqv2VaMLznuoEreBdkOWFwFHE0VQ+S7ZSQoXQ3GS+Ae8KcJCFt VqcQ== 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=qQrDHCXSqC/XpmgwTdQyvmX254FcV0tmVuSLVUTqodg=; b=ZUMwD9znumyGQWwXseyERZNUCBiQw3z3xNw5ePlTJ6yHdPIBHeV7GUkSFpY3FL8N9Y 0uCPHFecqJk8D1IdVyc64VsYXt4hObHWa2lLfhNTv15WguBcjfZdUfOCbKLqXiUSWTLx K3akApk8EWfz7YXl5h4fd3khb8Fn+lWS+hxgzh9p9CitZ7SeXi6lsHoqSrQ8RENMGy8g w0zRf8+PGNANOG8toCeNfqrfKAev37sJFSbeeYq38ntCVdh3DJQ1H7iktmvG+tuP/c8o ZlsyiNK660a4DIsUuB/CeIdMppSlM/TpTPOGb5o4JImLB8Hli5WKuMSg+hGtQNcR4U0z WpxQ== X-Gm-Message-State: ANoB5pn59X//pKC25bZwgNniI3/uqQfMYJHhdgxUeLiatBJA7mRxMHBD KBJFdqJOfjl/rC0FLzc6qaRDbA== X-Received: by 2002:a05:651c:10a2:b0:279:e41:1481 with SMTP id k2-20020a05651c10a200b002790e411481mr3606750ljn.184.1669191876623; Wed, 23 Nov 2022 00:24:36 -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 v3-20020a056512348300b004b4b5da5f80sm2791751lfr.219.2022.11.23.00.24.35 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 23 Nov 2022 00:24:36 -0800 (PST) Message-ID: Date: Wed, 23 Nov 2022 09:24:34 +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 1/5] dt-bindings: mfd: Add aspeed pwm-tach binding 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-2-billy_tsai@aspeedtech.com> From: Krzysztof Kozlowski In-Reply-To: <20221123061635.32025-2-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=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 On 23/11/2022 07:16, Billy Tsai wrote: > Add device binding for aspeed pwm-tach device which is a multi-function > device include pwm and tach function. Subject: drop second, redundant "bindings". Also use proper PATCH prefix. > > Signed-off-by: Billy Tsai > --- > .../bindings/mfd/aspeed,ast2600-pwm-tach.yaml | 73 +++++++++++++++++++ > 1 file changed, 73 insertions(+) > create mode 100644 Documentation/devicetree/bindings/mfd/aspeed,ast2600-pwm-tach.yaml > > diff --git a/Documentation/devicetree/bindings/mfd/aspeed,ast2600-pwm-tach.yaml b/Documentation/devicetree/bindings/mfd/aspeed,ast2600-pwm-tach.yaml > new file mode 100644 > index 000000000000..e2a7be2e0a18 > --- /dev/null > +++ b/Documentation/devicetree/bindings/mfd/aspeed,ast2600-pwm-tach.yaml > @@ -0,0 +1,73 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +# Copyright (C) 2021 Aspeed, Inc. > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/mfd/aspeed,ast2600-pwm-tach.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: PWM Tach controller > + > +description: | > + The PWM Tach controller is represented as a multi-function device which > + includes: > + PWM > + Tach > + > +maintainers: > + - Billy Tsai > + > +properties: > + compatible: > + items: > + - enum: > + - aspeed,ast2600-pwm-tach > + - const: syscon > + - const: simple-mfd > + > + reg: > + maxItems: 1 > + > + clocks: > + maxItems: 1 > + > + resets: > + maxItems: 1 If this is simple-mfd then it cannot take clocks or resets. Usually the recommendation for such case is: This is not simple-mfd, drop it. Drop also syscon and make a proper device. However I am surprised to see such change, so I have no clue why this was done. > + > + pwm: > + type: object > + $ref: "/schemas/pwm/aspeed,ast2600-pwm.yaml" Drop quotes. There is no such file. Are you sure you ordered the patches correctly? > + > + tach: > + type: object > + $ref: "/schemas/hwmon/aspeed,ast2600-tach.yaml" Drop quotes. There is no such file. > + > +required: > + - compatible > + - reg > + - clocks > + - resets Best regards, Krzysztof