Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp2927955rwn; Sat, 10 Sep 2022 01:28:06 -0700 (PDT) X-Google-Smtp-Source: AA6agR56v9C2TkKWcHxrJc6ws+V+G0nvGEzSLMltHDw3EOtsmFpIVNEnmj+p1zOxJNYvqhH222mY X-Received: by 2002:a05:6402:26d6:b0:451:24da:f8cf with SMTP id x22-20020a05640226d600b0045124daf8cfmr4237409edd.385.1662798486498; Sat, 10 Sep 2022 01:28:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662798486; cv=none; d=google.com; s=arc-20160816; b=Wr5Ta9PBB3XdB3nSfFQXWt2wIaODCA1/8jL5cpWxThkzu50fW+trGLuCEpx7XQo2N4 oDf/O5Vf7wJC7oEJBfaXrZeMRbbfpbHXmBZ9OTMNlMWDdqMooA0p3ssHHDR3GOzIaPZc 1HovGOgaR6NkBKPyUWhORHzBApPtEKTVXg3bcMTec8sVVG4DWqwtLkGVRt7LiO8T0br8 OjGZG51nHsocSSc4iuHHq0pQvOuclv0lrg3q0eY6n2Y6wMHQgUgKIYxdWyYx2LQwj76M m5DPOCQd7QzZnKoBLFeQ8vm67JmvsWbDP1jl02qEMQylyuKehjUpBOfsGHkRBKMIEmVU Su1g== 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=txFmNqivSGonl1t91BWxPpRyV6wFFoxPfmlb622zlU4=; b=V1kV412dprolVHAYVg/Mndac56cmTGLuMHyokCX9RVMCbN3LLTyDS6EwapBaMlxmq8 K/Ks21VAf2GYdoT7rMaPAwqg51xiyZUXT4jWPe8GDtHun+J+9jN4+mNaVgnYbha6bA1j t0j5btkgNlIkP1m/YHIDLtHbFwWdVkUqFJWA1/yF3CVfqMBmtpMW0KFY09C5FwTgx9nY zrdyGRtKhdieSCpzw5bZdfHPfMZwiiAWgEA5jseHEfFi6lXrVvjCEIQQwX+GndGxVxtf BssMoLiGAvG+61WJb+R5i/3jxeDo9jRPArjMkSdo7khKZj68GR1hkGCeB1Cg0Lcw1oDa 6DXw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=A5TM8+1W; 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 sh38-20020a1709076ea600b0073d6c0facdcsi1114569ejc.259.2022.09.10.01.27.40; Sat, 10 Sep 2022 01:28:06 -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=A5TM8+1W; 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 S229437AbiIJILB (ORCPT + 99 others); Sat, 10 Sep 2022 04:11:01 -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 S229456AbiIJIK6 (ORCPT ); Sat, 10 Sep 2022 04:10:58 -0400 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 A15E782867 for ; Sat, 10 Sep 2022 01:10:56 -0700 (PDT) Received: by mail-lj1-x232.google.com with SMTP id by6so4621871ljb.11 for ; Sat, 10 Sep 2022 01:10:56 -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=txFmNqivSGonl1t91BWxPpRyV6wFFoxPfmlb622zlU4=; b=A5TM8+1WniIN3PtwC3BZhC1jY1dASPxIPewi0arGlquPn/062oVa4wvFnMaDdQ66xH lLilxwCx+Oczx5jWgRyQAg2ip6OazqkWh4V1XGR+5gIyckfUpA9X8SqJjFyZ9pnRxktj 2+zY2Wbhp317Cx2fosdt/tCEvQLJwCf3HpMROaX2tqvwQuaQZnNiWg3z/MJEsvvxSkeE DvFlwqgD3HwX/BAKIc4wnOuWTCDa/EAWxAAGuwbzVd41uc7TfsfZhmE6x6K+Fxk299rC NcqRotinLeaE2WIaVpi4zQ1ropa7GfNiFpkLdd1oK6uzUNnuzaig1dB0hts3oEkvc+Pf LL6A== 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=txFmNqivSGonl1t91BWxPpRyV6wFFoxPfmlb622zlU4=; b=Fwne/AeRYbAEhNVpQO3DM9eYmPdZbZn9IUPz7bLFzvNpL3S3BEBnLl+iUoowiktnVo pudpW6vY4XRjj7QgXjfo85kV12eo+lUp1sXZlY9jlY6J1jkMeBhNbSGXp7wLTwCbC17x jiAomB/iPtmF25j0ybuDG3j8GKzMzgoaXYBdNwx0rZVel5e2kV8vokahJ//xOwzXkrG2 3gmbrzJadwIkz5T33dzFEaVorWoe4fupNy1+IIyd9GdrMm9zKecKob+4HLF4NVU+gcW5 egy/W72liwruHyvVUGIR92gFtcBCA81IrICvYQVV8S4Cwgbcr7miBtBcmDD0msi3C5Ey WEmw== X-Gm-Message-State: ACgBeo3iNz8L4VT5dFLWhX19DTPAf28qh8kQi2pS2keFHksLKKm/F0MO hUqbpeGsPTYan/VdcPonLQgluA== X-Received: by 2002:a2e:8541:0:b0:261:b44b:1a8b with SMTP id u1-20020a2e8541000000b00261b44b1a8bmr5409456ljj.46.1662797454999; Sat, 10 Sep 2022 01:10:54 -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 s16-20020a05651c201000b00267232d0652sm259553ljo.46.2022.09.10.01.10.54 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 10 Sep 2022 01:10:54 -0700 (PDT) Message-ID: Date: Sat, 10 Sep 2022 10:10:53 +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: "Tilki, Ibrahim" , Rob Herring 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: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.3 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=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 09/09/2022 19:48, Tilki, Ibrahim wrote: ded form is: >> >> reg: >> items: >> - items: >> - minimum: 0x50 >> maximum: 0x57 >> > > Actually it passes the check when I remove maxItems property: > > reg: > description: I2C address of slave device. > items: > minimum: 0x50 > maximum: 0x57 > > I cannot find a way to specify both maxItems and min-max limits. > Which one should I drop? Line below is from the output of dt_bindigs_check: > > hint: "maxItems" is not needed with an "items" list Use Rob's first syntax: reg: minimum: 0x50 maximum: 0x57 (this will expect only one item) Best regards, Krzysztof