Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp878555rdh; Sun, 24 Sep 2023 16:33:45 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEMGquW8O/QrJPLTzi5DDsnuZIoZ1glMnGSiU4++toKmlMpq4ams9lw0myNnpoVjNtZAj5Q X-Received: by 2002:a17:903:1ca:b0:1c0:afda:7707 with SMTP id e10-20020a17090301ca00b001c0afda7707mr8364506plh.34.1695598425182; Sun, 24 Sep 2023 16:33:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695598425; cv=none; d=google.com; s=arc-20160816; b=bBxw3h0QIt6V4tAkOMAzrramfjcXyBzxkCS/SzQ+XHxPFMGIK9w3jEyZrhZeAeSvYr fNCguQeiR2rsFIzLLzvpzJ7BankW03hMJUDZFw/Wvc/WNsCDcwEc8H7csEr/u+YzIEnW T0BqSAHsSg1DQMxtvZO/f5M7hIQfyTkncpRspEUGVFrDFKzFrYH+YWT1RR3/SVOaQJ7g NwrMwY7PJgI4krePDCFpIXvpT27fBk7S572Cwc3oorqvYXdB5JeqsGJKfN6jPPWWumtF W3bvED4iuIQEa8b6NVdYzaD+nyAsspBSzX3uj/yri2vPC8A09mTb0YLgGc5nmODNAjgi lr8w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:date:subject:message-id:references:in-reply-to :cc:to:from:mime-version:content-transfer-encoding:dkim-signature; bh=3BjowgZt6VitPFDpinP1RI7Y8TU4ociwFG01HChStQs=; fh=JdcwnmvozO3Xi2q90Ucuy1WIHGqd1MpSqGFnXFnoNcs=; b=llGPU1ZKKac2epjalUKgEtIcLrPe65w5OGpd1h8Whr9W0hOUOec5t7lNRlYibdC2NO 52156ygfI7Q6dWLVJVikZdSs0mnNjhrVIy/B/2icDEDvKMut3CloHNtQb0L79LjyvS1I IgunRsG9r7z2kLJJVbmySH40BYbLKF6Z8A1nfuDHun6y1TvYaAqiBe4PKI/0ubqovXcz TQdgSfRZL0WJ1+Y//0/9V282kCzwwkGeTTu2aje6FAugIz4Ndnp4PO3GEAMXmQpQJjxp jcYws5MCYDO+Bygl2i4X6cnfImJVEnILrao/7LYY4j4P3fIDKlbm/hiHX1O3kSjfzMYi /VQQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="s/5nBCeT"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id lo11-20020a170903434b00b001c38d1cd443si8831800plb.238.2023.09.24.16.33.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Sep 2023 16:33:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="s/5nBCeT"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id CFDB2809C1B5; Sun, 24 Sep 2023 16:33:42 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229645AbjIXXdZ (ORCPT + 99 others); Sun, 24 Sep 2023 19:33:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46888 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229480AbjIXXdY (ORCPT ); Sun, 24 Sep 2023 19:33:24 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 22F7CDA; Sun, 24 Sep 2023 16:33:18 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4F3FCC433C7; Sun, 24 Sep 2023 23:33:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1695598397; bh=10atyq5flJp3Ki/ZHhh3d7snv45LW/GTM3IFPzoakjo=; h=From:To:Cc:In-Reply-To:References:Subject:Date:From; b=s/5nBCeThoxFxFlynFAx0qEZpuPC27/wZcZJ/P3TLvLkclJBU8ZZehIRyBNZQFRRL F/XtmSZMeuikrvR1vmk+TmYxhCeuiOF8JKI3dLCGEnG63qhZhu2muOmnNd+uYQ+lAK lhwhslGvm7RvCeuVlSrECVuWK1nLkFZXkhIaNFG6IJoUpBcXhKoFkZEZWe8Zo90Pb5 PNpYE0TjyPO0csAzIC8mmcMmd8hSpPXCixZUmZlCjT1vZAko5LHaVg62k1NNehdW9g QDE5fXSbLC0LvkjBbirwFNSWL0Pc5Ovfj0Krz++p7OCdOwv/L7vOFz2WBD55nsnMLq ai+gDO09UNsuQ== Received: (nullmailer pid 3866087 invoked by uid 1000); Sun, 24 Sep 2023 23:33:15 -0000 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit MIME-Version: 1.0 From: Rob Herring To: Andreas Kemnade Cc: linux-kernel@vger.kernel.org, linux-iio@vger.kernel.org, conor+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, jic23@kernel.org, linux-omap@vger.kernel.org, chenhuiz@axis.com, jean-baptiste.maneyrol@tdk.com, bcousson@baylibre.com, robh+dt@kernel.org, tony@atomide.com, lars@metafoo.de, andy.shevchenko@gmail.com, devicetree@vger.kernel.org In-Reply-To: <20230924222559.2038721-2-andreas@kemnade.info> References: <20230924222559.2038721-1-andreas@kemnade.info> <20230924222559.2038721-2-andreas@kemnade.info> Message-Id: <169559839506.3866057.16365029701473740413.robh@kernel.org> Subject: Re: [PATCH 1/3] dt-bindings: iio: imu: mpu6050: Add level shifter Date: Sun, 24 Sep 2023 18:33:15 -0500 X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.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 (fry.vger.email [0.0.0.0]); Sun, 24 Sep 2023 16:33:42 -0700 (PDT) On Mon, 25 Sep 2023 00:25:57 +0200, Andreas Kemnade wrote: > Found in ancient platform data struct: > level_shifter: 0: VLogic, 1: VDD > > Signed-off-by: Andreas Kemnade > --- > .../devicetree/bindings/iio/imu/invensense,mpu6050.yaml | 2 ++ > 1 file changed, 2 insertions(+) > 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: /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/iio/imu/invensense,mpu6050.yaml: properties:invensense,level-shifter: True is not of type 'object' hint: Vendor specific properties must have a type and description unless they have a defined, common suffix. from schema $id: http://devicetree.org/meta-schemas/vendor-props.yaml# /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/iio/imu/invensense,mpu6050.yaml: properties:invensense,level-shifter: More than one condition true in oneOf schema: {'description': 'Vendor specific properties must have a type and ' 'description unless they have a defined, common ' 'suffix.', 'oneOf': [{'additionalProperties': False, 'description': 'A vendor boolean property can use "type: ' 'boolean"', 'properties': {'deprecated': True, 'description': True, 'type': {'const': 'boolean'}}, 'required': ['type', 'description']}, {'additionalProperties': False, 'description': 'A vendor string property with exact values ' 'has an implicit type', 'oneOf': [{'required': ['enum']}, {'required': ['const']}], 'properties': {'const': {'type': 'string'}, 'deprecated': True, 'description': True, 'enum': {'items': {'type': 'string'}}}, 'required': ['description']}, {'description': 'A vendor property needs a $ref to ' 'types.yaml', 'oneOf': [{'required': ['$ref']}, {'required': ['allOf']}], 'properties': {'$ref': {'pattern': 'types.yaml#/definitions/'}, 'allOf': {'items': [{'properties': {'$ref': {'pattern': 'types.yaml#/definitions/'}}, 'required': ['$ref']}]}}, 'required': ['description']}, {'description': 'A vendor property can have a $ref to a a ' '$defs schema', 'properties': {'$ref': {'pattern': '^#/(definitions|\\$defs)/'}}, 'required': ['$ref']}], 'type': 'object'} hint: Vendor specific properties must have a type and description unless they have a defined, common suffix. from schema $id: http://devicetree.org/meta-schemas/vendor-props.yaml# doc reference errors (make refcheckdocs): See https://patchwork.ozlabs.org/project/devicetree-bindings/patch/20230924222559.2038721-2-andreas@kemnade.info The base for the series is generally the latest rc1. A different dependency should be noted in *this* patch. If you already ran 'make dt_binding_check' and didn't see the above error(s), then make sure 'yamllint' is installed and dt-schema is up to date: pip3 install dtschema --upgrade Please check and re-submit after running the above command yourself. Note that DT_SCHEMA_FILES can be set to your schema file to speed up checking your schema. However, it must be unset to test all examples with your schema.