Received: by 2002:a05:7412:b130:b0:e2:908c:2ebd with SMTP id az48csp1832146rdb; Sun, 19 Nov 2023 12:16:00 -0800 (PST) X-Google-Smtp-Source: AGHT+IEJT58VqlMdq2m6bDvCip3s+KbKdn3sODTAET4D/OFl9QoeNBVqjGtCy7awDgs+N9m9wHun X-Received: by 2002:a92:3314:0:b0:359:32ad:484 with SMTP id a20-20020a923314000000b0035932ad0484mr6060319ilf.16.1700424959820; Sun, 19 Nov 2023 12:15:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700424959; cv=none; d=google.com; s=arc-20160816; b=tAkcRTgmvCET5Vj6Im3D0JhAibcjqKc3Shz7qNiPWKfFVDUYLNM76aLK22ElLvYZ6S gzskeP2l/0SqKXVxCaHl89ugr/ZS++GhbX5I90vIkYA9YXOFJ3s0k3ZKbqPiFn0mUzm1 6ACRempMDkqdl4seLBvyn2pWcFJPY3k4ISzIoRrwMe8mt740hp/jD1ZwzSH3h8kFYN9p VsNiw8i0b2+0f480iwxg+dh3drfXs6BjrunATKP/dDs2ygxxs8ljpY0NFVF0dcTH4BkG jYpF/2WbaXNaERlSZOATFE1C9+32CqfoB1pt6y4E9V86MPMkI57aJ+5oTdrPSmfKp9Db 5/Eg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=Y5Z5yM2vxUH6vp9xmvRLlTSKeH4lSyeOQAFzjI6s+Uw=; fh=UX1DB8CziWjr5pMMkCa1RONW8DcLki21e1UKC01f8uE=; b=FIFpsOGxclU/B6wW0V8FW85WE5/zTmq5SJf/9va/+qhxjckxr14wboFKB7cGh/bSHI ZwmIcESHOy8uyzKdsiTvefihqgWFd2AoLaGS4l1D13qa6CSdEPK3SzLQbtt+7zvntv79 NS2kfmpks33wvLDIkHAg1CBISE9snjxl+lkKXTiKzOYnMYG6dMHr2pU8TeMitF3ujHoU q0K/lBIkP8Ek6sL9xuF33hu6MQcKaxyCGMXC/aQEZZ/SKd8zaULDZqpN9/BxIZi6OPhi anABIXlLov7KPbrhLlD4XTKdJAU4+O6gnqugItCD+0BrcqZ0g1oyhuCpqrkN+MA58teO GCbA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@subdimension.ro header.s=skycaves header.b=dZObmTDM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=subdimension.ro Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id p13-20020a63fe0d000000b0056949ba3f3fsi6850586pgh.253.2023.11.19.12.15.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 Nov 2023 12:15:59 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@subdimension.ro header.s=skycaves header.b=dZObmTDM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=subdimension.ro Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id BFF658080E2D; Sun, 19 Nov 2023 12:15:25 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229607AbjKSUPI (ORCPT + 99 others); Sun, 19 Nov 2023 15:15:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38752 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229470AbjKSUPG (ORCPT ); Sun, 19 Nov 2023 15:15:06 -0500 Received: from mail.subdimension.ro (skycaves.subdimension.ro [172.104.132.142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5CB98C6; Sun, 19 Nov 2023 12:15:02 -0800 (PST) Received: from sunspire (unknown [188.24.94.216]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mail.subdimension.ro (Postfix) with ESMTPSA id 707FA28EE6F; Sun, 19 Nov 2023 20:14:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=subdimension.ro; s=skycaves; t=1700424899; bh=lcbaEBamwZZqlpO4yCVGf/omm21hvJhW9yV/X3eU7hQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=dZObmTDMkk46dW92QzIT+tmHmAFhcb+dzo9oMVdXgImWS7Cr2pXTLshWcW1MX3sSm ohbUOUK23nt0DHwKdP7YWgjV+nRzlVzS9bSj13MWR/j/Q1l8dq+G1bbUcMGDG+wsSZ XbHwE4J6lV7jQrSAe9YjGBBzFxhXyP+3Dgsc8r/8= Date: Sun, 19 Nov 2023 22:14:58 +0200 From: Petre Rodan To: Rob Herring Cc: linux-kernel@vger.kernel.org, linux-iio@vger.kernel.org, devicetree@vger.kernel.org, Conor Dooley , Lars-Peter Clausen , Krzysztof Kozlowski , linux-kernel-mentees@lists.linuxfoundation.org, Jonathan Cameron Subject: Re: [PATCH v2 1/2] dt-bindings: iio: pressure: add honeywell,hsc030 Message-ID: References: <20231117164232.8474-1-petre.rodan@subdimension.ro> <20231117192305.17612-1-petre.rodan@subdimension.ro> <20231119134939.GA8784-robh@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231119134939.GA8784-robh@kernel.org> X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, 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 groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Sun, 19 Nov 2023 12:15:26 -0800 (PST) Good morning! On Sun, Nov 19, 2023 at 07:49:39AM -0600, Rob Herring wrote: > On Fri, Nov 17, 2023 at 09:22:57PM +0200, Petre Rodan wrote: > > Adds binding for digital Honeywell TruStability HSC and SSC series pressure > > and temperature sensors. > > [..] > > Changes for v2: > > - Removed redundant quotations reported by robh's bot > > - Fixed yamllint warnings > > > > I'm failing to run 'make DT_CHECKER_FLAGS=-m dt_binding_check' due to > > python errors and exceptions > > What exceptions? thanks for asking. first off, installed packages. the first 4 are not part of the official Gentoo repo, so I might have prepared them with missing options if any where not included by default. I know nothing about python. $ equery l dtschema pylibfdt ruamel-yaml yamllint jsonschema python [I-O] [ ] dev-python/dtschema-2023.9:0 [I-O] [ ] dev-python/pylibfdt-1.7.0_p1:0 [I-O] [ ] dev-python/ruamel-yaml-0.18.5:0 [I-O] [ ] dev-python/yamllint-1.33.0:0 [IP-] [ ] dev-python/jsonschema-4.19.1:0 [IP-] [ ] dev-lang/python-2.7.18_p16-r1:2.7 [IP-] [ ] dev-lang/python-3.10.13:3.10 [IP-] [ ] dev-lang/python-3.11.5:3.11 prodan@sunspire /usr/src/linux-upstream $ python --version Python 3.11.5 # binding check prodan@sunspire /usr/src/linux-upstream $ make DT_SCHEMA_FILES=Documentation/devicetree/bindings/iio/pressure/honeywell,hsc030pa.yaml DT_CHECKER_FLAGS=-m dt_binding_check Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/jsonschema/validators.py", line 1152, in resolve_fragment document = document[part] ~~~~~~~~^^^^^^ KeyError: 'definitions' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python-exec/python3.11/dt-doc-validate", line 64, in ret |= check_doc(f) ^^^^^^^^^^^^ File "/usr/lib/python-exec/python3.11/dt-doc-validate", line 32, in check_doc for error in sorted(dtsch.iter_errors(), key=lambda e: e.linecol): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/dtschema/schema.py", line 123, in iter_errors for error in self.validator.iter_errors(self): File "/usr/lib/python3.11/site-packages/jsonschema/validators.py", line 368, in iter_errors for error in errors: File "/usr/lib/python3.11/site-packages/jsonschema/_keywords.py", line 335, in allOf yield from validator.descend(instance, subschema, schema_path=index) File "/usr/lib/python3.11/site-packages/jsonschema/validators.py", line 416, in descend for error in errors: File "/usr/lib/python3.11/site-packages/jsonschema/_keywords.py", line 284, in ref yield from validator._validate_reference(ref=ref, instance=instance) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/jsonschema/validators.py", line 465, in _validate_reference return list(self.descend(instance, resolved)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/jsonschema/validators.py", line 416, in descend for error in errors: File "/usr/lib/python3.11/site-packages/jsonschema/_keywords.py", line 335, in allOf yield from validator.descend(instance, subschema, schema_path=index) File "/usr/lib/python3.11/site-packages/jsonschema/validators.py", line 416, in descend for error in errors: File "/usr/lib/python3.11/site-packages/jsonschema/_keywords.py", line 284, in ref yield from validator._validate_reference(ref=ref, instance=instance) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/jsonschema/validators.py", line 465, in _validate_reference return list(self.descend(instance, resolved)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/jsonschema/validators.py", line 416, in descend for error in errors: File "/usr/lib/python3.11/site-packages/jsonschema/_keywords.py", line 305, in properties yield from validator.descend( File "/usr/lib/python3.11/site-packages/jsonschema/validators.py", line 416, in descend for error in errors: File "/usr/lib/python3.11/site-packages/jsonschema/_keywords.py", line 34, in propertyNames yield from validator.descend(instance=property, schema=propertyNames) File "/usr/lib/python3.11/site-packages/jsonschema/validators.py", line 416, in descend for error in errors: File "/usr/lib/python3.11/site-packages/jsonschema/_keywords.py", line 335, in allOf yield from validator.descend(instance, subschema, schema_path=index) File "/usr/lib/python3.11/site-packages/jsonschema/validators.py", line 416, in descend for error in errors: File "/usr/lib/python3.11/site-packages/jsonschema/_keywords.py", line 378, in not_ if validator.evolve(schema=not_schema).is_valid(instance): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/jsonschema/validators.py", line 483, in is_valid error = next(self.iter_errors(instance), None) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/jsonschema/validators.py", line 368, in iter_errors for error in errors: File "/usr/lib/python3.11/site-packages/jsonschema/_keywords.py", line 284, in ref yield from validator._validate_reference(ref=ref, instance=instance) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/jsonschema/validators.py", line 461, in _validate_reference scope, resolved = resolve(ref) ^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/jsonschema/validators.py", line 1086, in resolve return url, self._remote_cache(url) ^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/jsonschema/validators.py", line 1104, in resolve_from_url return self.resolve_fragment(document, fragment) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/jsonschema/validators.py", line 1154, in resolve_fragment raise exceptions._RefResolutionError( jsonschema.exceptions._RefResolutionError: Unresolvable JSON pointer: 'definitions/json-schema-prop-names' Error: Documentation/devicetree/bindings/iio/pressure/honeywell,hsc030pa.example.dts:36.15-16 syntax error FATAL ERROR: Unable to parse input tree make[2]: *** [scripts/Makefile.lib:419: Documentation/devicetree/bindings/iio/pressure/honeywell,hsc030pa.example.dtb] Error 1 make[1]: *** [/usr/src/linux-upstream/Makefile:1424: dt_binding_check] Error 2 make: *** [Makefile:234: __sub-make] Error 2 best regards, peter -- petre rodan