Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp2215912rwn; Fri, 9 Sep 2022 10:07:18 -0700 (PDT) X-Google-Smtp-Source: AA6agR5/EERAbYaDSRLde+pg3bSoe93TXmWn/7WfFCxPr/LDSdfBje0G+RtU6oI9OEhynHijHY/X X-Received: by 2002:a63:4a61:0:b0:438:6a21:5d0e with SMTP id j33-20020a634a61000000b004386a215d0emr5932086pgl.183.1662743238149; Fri, 09 Sep 2022 10:07:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662743238; cv=none; d=google.com; s=arc-20160816; b=IPmIODQeiTgsJIrPX05j6IUpPhi9OkqbvN9Kw0nbDGneCIYnrUSdrQQosggIePNx7b Q15zMI3cPhEYZlFCjfeO0T0a2ZBqxEFOLuESljv9W3cdYzUzZvF5P2pKWyHyDGxZfmyv RtkN1I+hVw1v3OWWt4H63fx2P2WIV/LZQV17heeCLZmrgaICEXreDrM/RMdx70E6viqp Ae8sUM8SFbHTaSzD22j+jMUTEti+BV7ajPo+zcdOYU+iGs4NIl7dpxoJGz75/5y8blIn uBfVudpJ3XOJUMTYtjoNrS/25HY2dmMeeBReQX2C/RWHec6CjPl1Fjdmbl08CD9a0woW iakA== 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:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=ql3YShxCvfwOd1yaJ2SrG8NA5IT316l4wnpDFrUd5i8=; b=BwyhZ9npUbObp94K9N39iRcLMs8uglQ+CXj4HZLkKY6nyjDSUzKzDY2RiUJ8NK8Mpi 0ks52P/FELLsPh8Pxhrr267nfGx2xMSOlz+E59tKg5DmrvF/8YurbJwM0gREALr5F7N1 gav8SsNsIvQQu+jSY+Ye/CDB6W3NZIfxoB6khkcUjhNOY2MjPeP6pdrmb5rQE7WPiHEJ ueXlTDQtBI/LF4mNmxB0cVyK5CCj7HVk8DaYASjoqhJo+16BF3ymSyJ5HirWyiC2riUG tMDl1CWrXJMK/47NQ3UDj9N/ZlAZ0ymJP6i66apzTChHdnd71JtS+ogdfB7BKmpwoF7F 4PKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=cy0dBIh2; 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 s10-20020a170902ea0a00b0016cb5071ee5si1045116plg.332.2022.09.09.10.07.04; Fri, 09 Sep 2022 10:07:18 -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; dkim=pass header.i=@linaro.org header.s=google header.b=cy0dBIh2; 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 S230338AbiIIQ7t (ORCPT + 99 others); Fri, 9 Sep 2022 12:59:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60058 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229845AbiIIQ7q (ORCPT ); Fri, 9 Sep 2022 12:59:46 -0400 Received: from mail-lj1-x234.google.com (mail-lj1-x234.google.com [IPv6:2a00:1450:4864:20::234]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4C8BB24F12 for ; Fri, 9 Sep 2022 09:59:44 -0700 (PDT) Received: by mail-lj1-x234.google.com with SMTP id r12so1020405ljg.10 for ; Fri, 09 Sep 2022 09:59:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date; bh=ql3YShxCvfwOd1yaJ2SrG8NA5IT316l4wnpDFrUd5i8=; b=cy0dBIh2VfqaTt0dv8T+F9mubGXWOuHFQHQNk+VPWOAJm6PKjxUNFN3WCfhDuiMv27 WzPUky2fLM1pSJssD6xPAI4qbg+ag6uksii3UlfH6dziEwwuBCNoa/VSs7PmU06zfF8m loBjpIEwYv8wyePEQesT+QHLkHfpJoKIM4eiWN0fwssM9IWzOphutCFJMx2csjXsOGql gJ/FNomb9ChsdkXUPt09zpJ3tgQBdgDCXgV+o3TjPmYmQyfyb6boDpaSOXaFQ6dDtMfc mBVg7bot4Mt6BSAtn5jY6JH2IMK57IjRrKONqm0eQjd7ULmR9eBy+Bh+AdpoDGao/ICC cJYg== 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:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date; bh=ql3YShxCvfwOd1yaJ2SrG8NA5IT316l4wnpDFrUd5i8=; b=d26y5B7yqjeB43L/27Ig2abi6jiNgmZ8ESEfMvg2oIymtdpOsfApkSdSOVePHTjrxm tAR0Fsosd1hmXF7DbU2v+042ERopWnVKmLgsrqfLGnD4sHwc74hrW/mfjMskgeGF46Ek Ju2sMh8fG3gl7agT78UP2Z508/C/Jyt9fD+ck29wHWbOsOyo5lcN7SD3QFVAKS9qNrmZ wWDk4XbOaetFQ7wia4FhLFkmXyfL5hfmZlbiuVehaku7TChfPn1X0fjuG9tj+/G4qakR cQLGdsWFm5SEuLpZtGoS+prc9bs/h9f/nZ5irMrG6g2OxLGihht8PXbwS5O4c2sFuFd0 3UNQ== X-Gm-Message-State: ACgBeo3/ad0vSbSohBWvkfkZU07wB3ScZQX9XVIizt5UWxk6+v7h5RBd P3NUrdqojcwJNblNSwjSV5FXAVQ/F//0iw== X-Received: by 2002:a05:651c:12cb:b0:25e:44ef:8bfa with SMTP id 11-20020a05651c12cb00b0025e44ef8bfamr4352879lje.324.1662742782699; Fri, 09 Sep 2022 09:59:42 -0700 (PDT) Received: from [192.168.0.21] (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id u5-20020a2ea165000000b0026a999966bbsm153473ljl.24.2022.09.09.09.59.41 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 09 Sep 2022 09:59:42 -0700 (PDT) Message-ID: Date: Fri, 9 Sep 2022 18:59:40 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.13.0 Subject: Re: [PATCH v8 3/4] dt-bindings: hwmon: Add bindings for max31760 Content-Language: en-US To: Rob Herring , Ibrahim Tilki Cc: jdelvare@suse.com, linux-kernel@vger.kernel.org, krzysztof.kozlowski+dt@linaro.org, linux@roeck-us.net, linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org References: <20220909133718.388213-1-Ibrahim.Tilki@analog.com> <20220909133718.388213-4-Ibrahim.Tilki@analog.com> <1662740789.477872.1507147.nullmailer@robh.at.kernel.org> <20220909164710.GA1537271-robh@kernel.org> From: Krzysztof Kozlowski In-Reply-To: <20220909164710.GA1537271-robh@kernel.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.2 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,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 On 09/09/2022 18:47, Rob Herring wrote: > On Fri, Sep 09, 2022 at 11:26:29AM -0500, Rob Herring wrote: >> On Fri, 09 Sep 2022 16:37:17 +0300, Ibrahim Tilki wrote: >>> Adding bindings for Analog Devices MAX31760 Fan-Speed Controller >>> >>> Signed-off-by: Ibrahim Tilki >>> --- >>> .../bindings/hwmon/adi,max31760.yaml | 44 +++++++++++++++++++ >>> 1 file changed, 44 insertions(+) >>> create mode 100644 Documentation/devicetree/bindings/hwmon/adi,max31760.yaml >>> >> >> My bot found errors running 'make DT_CHECKER_FLAGS=-m dt_binding_check' >> on your patch (DT_CHECKER_FLAGS is new in v5.13): >> >> yamllint warnings/errors: >> >> dtschema/dtc warnings/errors: >> ./Documentation/devicetree/bindings/hwmon/adi,max31760.yaml: error checking schema file > > Not sure why the error is useless ATM. I'm checking that. > > The problem is that 'reg' is a matrix and you need to either fully > define it or use the simplified form for a single cell: > > reg: > minimum: 0x50 > maximum: 0x57 I think this was in v7, so I understand that schema in that case expects the third option from anyOf - #/single? https://github.com/devicetree-org/dt-schema/blob/main/dtschema/meta-schemas/cell.yaml#L62 Best regards, Krzysztof