Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp1989971pxa; Thu, 6 Aug 2020 23:28:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyAL9gs57xZJ+2tjyP70RksyrmqXXu4ofMV4rLTRMKW4YPaAQK2Q/xjnlfkEYXNd7/bxzJe X-Received: by 2002:a17:906:444e:: with SMTP id i14mr7592229ejp.418.1596781735052; Thu, 06 Aug 2020 23:28:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596781735; cv=none; d=google.com; s=arc-20160816; b=ecKg0U/WEwWvh0TzGMOtMIsd1rt6ITlo4CDf8YChsBfhlOdF3w5C2QqAJwzxRMymAA fV5e1kEbP1+TJcnVutM07pBS9AnW/CDJlO+hD9KOkLFBG7SX91xb46nUYhr+HCzFPhB1 ODFYu+qVYkA7mHv06g8XSx08RfHIK3HgNp0LZRX5jDwwri1kdS+hyU0/LpaVLfVY+sl5 q7EGw46y13kVJ9GWlPuGUj9E21/3VWRuwUgDu+lqJUzO/mBcex/pGTWTHJcD+BV35Blj /leX274uW+P09Q13KXWQQx42XzgZ+qKNYGi9Gqq8QV8YfCxAIpa44V02AN05qObC38RS RMxA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=FrJW2DfSjoYNyCpwcDgqN/sdeKWYF//kyWMZRu637Mw=; b=g6EEhnIw2EU1UuvcGJOG8w8BqJdjb4mBm6no/o55IcDgF8RMMn3G4lTh53TdAoZcNQ hxOgpSB1G5BVHHV0VqBJUfT9ImvkNgZYkaSkArv6Gyu4WBQ1gInzyMgGXfyEJ0N9fyoI Laq0EWII3Qc7TmEfj0O/bBfYcnE1oyE2fc8pu7vH6BRN+MwRr2BM9JHD/KrsefjcbanT w1klfUU+WiVoWDkASe2krsp/+EFCbAoS1KbNn6tJ15x+ms3xo2t0voynmeEQYO/7antk 1jv1ZOk8dzIE0rtWM+C1edUhqGQ/V0G+ieahMPrDN9wlwCFOiyhHlgIribNKu3AuUR+Z 5lxg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m2si4575394ejj.244.2020.08.06.23.28.31; Thu, 06 Aug 2020 23:28:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726198AbgHGG1x (ORCPT + 99 others); Fri, 7 Aug 2020 02:27:53 -0400 Received: from server-x.ipv4.hkg02.ds.network ([27.111.83.178]:56928 "EHLO mail.gtsys.com.hk" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1725805AbgHGG1x (ORCPT ); Fri, 7 Aug 2020 02:27:53 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.gtsys.com.hk (Postfix) with ESMTP id 8CDF320139AA; Fri, 7 Aug 2020 14:27:50 +0800 (HKT) X-Virus-Scanned: Debian amavisd-new at gtsys.com.hk Received: from mail.gtsys.com.hk ([127.0.0.1]) by localhost (mail.gtsys.com.hk [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9WOy95z1dk9E; Fri, 7 Aug 2020 14:27:50 +0800 (HKT) Received: from s01.gtsys.com.hk (unknown [10.128.4.2]) by mail.gtsys.com.hk (Postfix) with ESMTP id 69B1220139A7; Fri, 7 Aug 2020 14:27:50 +0800 (HKT) Received: from [10.128.2.32] (unknown [203.145.95.159]) by s01.gtsys.com.hk (Postfix) with ESMTPSA id 36D4DC019FB; Fri, 7 Aug 2020 14:27:49 +0800 (HKT) Subject: Re: [PATCH v6 2/2] devicetree: hwmon: shtc1: Add sensirion,shtc1.yaml To: Rob Herring Cc: linux-kernel@vger.kernel.org, linux-hwmon@vger.kernel.org, Guenter Roeck , Jack Lo , devicetree@vger.kernel.org, Rob Herring , Jean Delvare References: <20200712044411.23323-1-chris.ruehl@gtsys.com.hk> <20200712044411.23323-3-chris.ruehl@gtsys.com.hk> <20200713150022.GA175274@bogus> From: Chris Ruehl Message-ID: Date: Fri, 7 Aug 2020 14:27:48 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20200713150022.GA175274@bogus> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Rob, sorry for late reply, I have my head in setup production install the dt-schema and rerun the check, with 2020-6 no warnings lets fix it. Chris On 13/7/2020 11:00 pm, Rob Herring wrote: > On Sun, 12 Jul 2020 12:44:10 +0800, Chris Ruehl wrote: >> Add documentation for the newly added DTS support in the shtc1 driver. >> To align with the drivers logic to have high precision by default >> a boolean sensirion,low_precision is used to switch to low precision. >> >> Signed-off-by: Chris Ruehl >> --- >> .../bindings/hwmon/sensirion,shtc1.yaml | 57 +++++++++++++++++++ >> 1 file changed, 57 insertions(+) >> create mode 100644 Documentation/devicetree/bindings/hwmon/sensirion,shtc1.yaml >> > > > My bot found errors running 'make dt_binding_check' on your patch: > > Documentation/devicetree/bindings/hwmon/sensirion,shtc1.example.dts:24.13-26: Warning (reg_format): /example-0/i2c1/shtc3@70:reg: property has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1) > Documentation/devicetree/bindings/hwmon/sensirion,shtc1.example.dt.yaml: Warning (pci_device_reg): Failed prerequisite 'reg_format' > Documentation/devicetree/bindings/hwmon/sensirion,shtc1.example.dt.yaml: Warning (pci_device_bus_num): Failed prerequisite 'reg_format' > Documentation/devicetree/bindings/hwmon/sensirion,shtc1.example.dt.yaml: Warning (simple_bus_reg): Failed prerequisite 'reg_format' > Documentation/devicetree/bindings/hwmon/sensirion,shtc1.example.dt.yaml: Warning (i2c_bus_reg): Failed prerequisite 'reg_format' > Documentation/devicetree/bindings/hwmon/sensirion,shtc1.example.dt.yaml: Warning (spi_bus_reg): Failed prerequisite 'reg_format' > Documentation/devicetree/bindings/hwmon/sensirion,shtc1.example.dts:22.20-26.13: Warning (avoid_default_addr_size): /example-0/i2c1/shtc3@70: Relying on default #address-cells value > Documentation/devicetree/bindings/hwmon/sensirion,shtc1.example.dts:22.20-26.13: Warning (avoid_default_addr_size): /example-0/i2c1/shtc3@70: Relying on default #size-cells value > Documentation/devicetree/bindings/hwmon/sensirion,shtc1.example.dt.yaml: Warning (unique_unit_address): Failed prerequisite 'avoid_default_addr_size' > > > See https://patchwork.ozlabs.org/patch/1327453 > > If you already ran 'make dt_binding_check' and didn't see the above > error(s), then make sure dt-schema is up to date: > > pip3 install git+https://github.com/devicetree-org/dt-schema.git@master --upgrade > > Please check and re-submit. > -- GTSYS Limited RFID Technology 9/F, Unit E, R07, Kwai Shing Industrial Building Phase 2, 42-46 Tai Lin Pai Road, Kwai Chung, N.T., Hong Kong Tel (852) 9079 9521 Disclaimer: https://www.gtsys.com.hk/email/classified.html