Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp587794pxb; Wed, 27 Jan 2021 15:59:40 -0800 (PST) X-Google-Smtp-Source: ABdhPJzdMG4QpcUyGeyKpIvj89BpGShJUNG1EGLtg4P9OzqeGqJYlT1EJK30djqBfTAfLlykw7vU X-Received: by 2002:a05:6402:50c6:: with SMTP id h6mr11148388edb.117.1611791980431; Wed, 27 Jan 2021 15:59:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611791980; cv=none; d=google.com; s=arc-20160816; b=dCL8pP9E2b/BW7yTHrGfQGL3a8YN5TZrKmB9jPNnLPSN7UCVwggzXHVvYPOyA9jf7D mAbde1oVm/rV9/wAgdoYAC6VcFZFdg7g0mn6cDf1pb9IwkHoz9+jGF7u0euNdFyvyZtF zCC0oDowlNhXi6LfMAXEibJP7I/ZlWip9QGcHgowT6cPceCtOj/8XWwXvHbOGkW9Nu1a oALFFl581GUrpALjy97nZ/K/Fq50VQZKG75o3JOFU/CFtMMGduhSIAXy3dZMVqbovKQR QWWAL9MZ/+UZj1syFKy9ytUTIaxgHWip0meWOT0huLzAWZ5zLI//7clBlYPCu2gKSPUZ Ia+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:references:in-reply-to :cc:to:from; bh=Hk3zfjFe35sbucjkkXwLkWfsMmYdk7hwJLDIIv4M2H8=; b=vX9odr3Homnkt++A9VWnO2xIV2fzU53XGfse2A/GdeFSoVrJRJi9EiETG21/mL0diN NuhDCQau9aNoNgnFVdMsfTvwX3r0+N/Xy7+DuuVcm8yFoKNDT5xnrTWd0lS/Zht2Hv2m Y0BEQ+Ld4jogftVDJ6mF+l3C2fi3+aXVnRAhuFOVVLny+pxSSO8uhm/zXwxFUMpOI6kk P+ds9u3XjH2MgFC0dgIv1+CNMO7KvL83LyVdJ7mVp5XQ2K3DzjLv7zX+gpUk3j1/16Rx QCriJT0iU5IzjjU/2yTkoQr3dEeg0/LqpWEYvoAMR46bMYYwnLtP6iu1tdGrTAG2FwWZ 9Z1w== 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q18si1455051ejt.469.2021.01.27.15.59.16; Wed, 27 Jan 2021 15:59:40 -0800 (PST) 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232369AbhA0ODY (ORCPT + 99 others); Wed, 27 Jan 2021 09:03:24 -0500 Received: from mail-oi1-f172.google.com ([209.85.167.172]:43068 "EHLO mail-oi1-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232775AbhA0OBB (ORCPT ); Wed, 27 Jan 2021 09:01:01 -0500 Received: by mail-oi1-f172.google.com with SMTP id i25so2177681oie.10; Wed, 27 Jan 2021 06:00:45 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:in-reply-to:references:subject:date :message-id; bh=Hk3zfjFe35sbucjkkXwLkWfsMmYdk7hwJLDIIv4M2H8=; b=VHT80QNUNLJuRY4uyrrtKnzEew+/u6n1ux931o3numRqUkiB2nWZPfFltctoolAs1f 32+Nrp+kctRGjIaCdv/5MXI4uyrItDhjh+XOmZo5cuz2tkuW5uZtgOFcWlde/nq956B5 6cP68Q0fIWJaUu7JphgXfSejPENd9Saqa4J1J0uIXAIhnMzueIw7y02kyu8eaQNsBpuA ZpathD9mGT9NoY8Nkdk/iDaLEitT7gOZxvHg8wLn6FXcthPZFiQL8VxfqgHz0+CNqHnH mGW2vItEfKiwFl0rqBpJZ86nlA+gPb06a0krI5LsJ7OSy9wWlWF+x3+ByoWDHpM7dl5q lAEg== X-Gm-Message-State: AOAM532Exm4GAoJ3qznXO81OVVacAj9UmmZNArK4voPEn/gkUues0mUY YxaZsvD4AS9OsqiT0QZzjg== X-Received: by 2002:a05:6808:57d:: with SMTP id j29mr3340540oig.146.1611756019662; Wed, 27 Jan 2021 06:00:19 -0800 (PST) Received: from robh.at.kernel.org (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id x197sm458043ooa.27.2021.01.27.06.00.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Jan 2021 06:00:18 -0800 (PST) Received: (nullmailer pid 1429688 invoked by uid 1000); Wed, 27 Jan 2021 14:00:11 -0000 From: Rob Herring To: =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= Cc: linux-arm-kernel@lists.infradead.org, Georgi Djakov , lkcamp@lists.libreplanetbr.org, Pavel Machek , linux-kernel@vger.kernel.org, Russell King , Bjorn Andersson , linux-arm-msm@vger.kernel.org, Rob Herring , Andy Gross , devicetree@vger.kernel.org, linux-leds@vger.kernel.org, andrealmeid@collabora.com, ~postmarketos/upstreaming@lists.sr.ht, Luca Weiss , Brian Masney , Dan Murphy In-Reply-To: <20210126140240.1517044-2-nfraprado@protonmail.com> References: <20210126140240.1517044-1-nfraprado@protonmail.com> <20210126140240.1517044-2-nfraprado@protonmail.com> Subject: Re: [PATCH v2 1/4] dt-bindings: leds: Add binding for qcom-spmi-flash Date: Wed, 27 Jan 2021 08:00:11 -0600 Message-Id: <1611756011.217281.1429687.nullmailer@robh.at.kernel.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 26 Jan 2021 14:04:08 +0000, NĂ­colas F. R. A. Prado wrote: > Add devicetree binding for QCOM SPMI Flash LEDs, which are part of > PM8941, and are used both as lantern and camera flash. > > Signed-off-by: NĂ­colas F. R. A. Prado > --- > Changes in v2: > - Add this commit > > .../bindings/leds/leds-qcom-spmi-flash.yaml | 94 +++++++++++++++++++ > .../dt-bindings/leds/leds-qcom-spmi-flash.h | 15 +++ > 2 files changed, 109 insertions(+) > create mode 100644 Documentation/devicetree/bindings/leds/leds-qcom-spmi-flash.yaml > create mode 100644 include/dt-bindings/leds/leds-qcom-spmi-flash.h > My bot found errors running 'make dt_binding_check' on your patch: yamllint warnings/errors: dtschema/dtc warnings/errors: /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/leds/leds-qcom-spmi-flash.yaml: patternProperties:^led[0-1]$:properties:qcom,startup-dly: 'oneOf' conditional failed, one must be fixed: 'type' is a required property Additional properties are not allowed ('maximum', '$ref', 'minimum' were unexpected) /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/leds/leds-qcom-spmi-flash.yaml: patternProperties:^led[0-1]$:properties:qcom,startup-dly: 'oneOf' conditional failed, one must be fixed: 'enum' is a required property 'const' is a required property '/schemas/types.yaml#definitions/uint32' does not match 'types.yaml#/definitions/' /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/leds/leds-qcom-spmi-flash.yaml: patternProperties:^led[0-1]$:properties:qcom,clamp-curr: 'oneOf' conditional failed, one must be fixed: 'type' is a required property Additional properties are not allowed ('$ref' was unexpected) /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/leds/leds-qcom-spmi-flash.yaml: patternProperties:^led[0-1]$:properties:qcom,clamp-curr: 'oneOf' conditional failed, one must be fixed: 'enum' is a required property 'const' is a required property '/schemas/types.yaml#definitions/uint32' does not match 'types.yaml#/definitions/' /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/leds/leds-qcom-spmi-flash.yaml: patternProperties:^led[0-1]$:properties:qcom,headroom: 'oneOf' conditional failed, one must be fixed: 'type' is a required property Additional properties are not allowed ('maximum', '$ref', 'minimum' were unexpected) /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/leds/leds-qcom-spmi-flash.yaml: patternProperties:^led[0-1]$:properties:qcom,headroom: 'oneOf' conditional failed, one must be fixed: 'enum' is a required property 'const' is a required property '/schemas/types.yaml#definitions/uint32' does not match 'types.yaml#/definitions/' /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/leds/leds-qcom-spmi-flash.yaml: ignoring, error in schema: patternProperties: ^led[0-1]$: properties: qcom,startup-dly warning: no schema found in file: ./Documentation/devicetree/bindings/leds/leds-qcom-spmi-flash.yaml See https://patchwork.ozlabs.org/patch/1431711 This check can fail if there are any dependencies. The base for a patch series is generally the most recent rc1. 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.