Received: by 2002:a05:7412:f589:b0:e2:908c:2ebd with SMTP id eh9csp1017694rdb; Wed, 1 Nov 2023 09:04:52 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHXcqNY+sRFThhBOUXwCsbWj8TnqBX4616WIaddvz6X1ib7TYIRrb2gyJAtiP5kphxok0oK X-Received: by 2002:a50:bb08:0:b0:530:77e6:849f with SMTP id y8-20020a50bb08000000b0053077e6849fmr13583194ede.27.1698854691993; Wed, 01 Nov 2023 09:04:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698854691; cv=none; d=google.com; s=arc-20160816; b=XY3T/7hHClsBw6wEhwicFYKUqFtInLXvlzbFe9C1BoFdVLKzeZPh+Mpj6nYa5hTIPZ KlWwHDSZaFUDPXfv3QAVXqT1hgm3zLpfbSEUpCTn1ILsaRM7kHdwHYykiVzjCtaQIIra xvpBV3vqQSEOVyQjxPNKtL4Mc2ZciUqxJWsBJlZKm1RECy9WLAusTiT2S/NYBjLBhoHg CoaeYPx1bOXrOdtsraeAiNediNBJCUf7GnIVYKcDuLPB87wQMeiQip4cfBc5fB+IvjMc JIUzzqbXkuu/qLKJr4mxFpOUUctB6NMyenzvSAYpts0WNnzJV43dot+mf1c78ainQhmL vvrA== 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; bh=CWaBrwk0xPV8MF1irRrQCYQL2JANmokExLyTbnwnF4I=; fh=0j20w1SzKrTm0DHVs6rMi17eoAhtu9MYdyf3rmRZ1ZA=; b=PYGi2uRY1Cee9Ht6mkBLxV1wdcdusyrA8KDK8Rbk7P5Ewi67PZvGJZCaqZ9sZ2SZq/ ihTeKfykiE/1X6VpqKzLCCAii2eEtGxJVLra5UgJ//g9IpCn7HQ/2lu8AN4dYCeXD3Fh EBpyk4He6jY3sAoiUPdFQ4RWJlJKAmL5L9+G03wDQ3TkpZtlVUEjVy6NNnXtFiS3NDGD RWdXJ+/fE7JnDgBqZ3eOt2q5xcHSO+/2eHYq94Mvu01CJI+iKLP3QuiKuRSwHlDdaj4t laooSKK8JtnvV1mvXmTyyE86jGj4xlrZKm/XK+l8/EuYg4rRbwBtsm7hvvw5Q0biSMby Vg7Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 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 agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id p2-20020a50cd82000000b00543548026easi856850edi.594.2023.11.01.09.04.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Nov 2023 09:04:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 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 agentk.vger.email (Postfix) with ESMTP id C4CCC8030E49; Wed, 1 Nov 2023 09:04:43 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233076AbjKAQE0 (ORCPT + 99 others); Wed, 1 Nov 2023 12:04:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42768 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229498AbjKAQEZ (ORCPT ); Wed, 1 Nov 2023 12:04:25 -0400 Received: from mail-oo1-f46.google.com (mail-oo1-f46.google.com [209.85.161.46]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8B911ED; Wed, 1 Nov 2023 09:04:19 -0700 (PDT) Received: by mail-oo1-f46.google.com with SMTP id 006d021491bc7-581f78a0206so3707752eaf.2; Wed, 01 Nov 2023 09:04:19 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698854659; x=1699459459; h=date:subject:message-id:references:in-reply-to:cc:to:from :mime-version:content-transfer-encoding:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=CWaBrwk0xPV8MF1irRrQCYQL2JANmokExLyTbnwnF4I=; b=exj0azztkRXDOGB6gLEM1Sxy7ufB4ltlJ7sVnBKgbxLG/v9eDk22BAPmLT6p27gloG ntEpkHYreMZ3vxYrPFCXazmP0QGbuX0h5X28n98uDfoLgaPDGtv+DMqTuqFJHc2flLq5 D9rhuIqcSAM9sUxtdm+afS14MVrCAiygmdADORiKOPCCt2ZiZryq+yR89KXlgZd+NQcE AJsU+NnX1ngVHHAZOxvnYRE/wCH0wiGTYs7jk84XvTenoeT6C78DfqyJX792qQTyULxs wl+xy/ZHlB/Mh7LsIPDv3pVHE6+xEwCOZ4JO4TdUC2qyLE5Trvv+vF1Sm4gUvJ3lfC/Y CCPA== X-Gm-Message-State: AOJu0Yyt2j2aHRWYHmynNdunduOBCWb2D9W5OjgcEJaV3nRNVTmenVlF G2zu1FT3dmUoMcXuXM9QEw== X-Received: by 2002:a4a:dcca:0:b0:583:fb9c:6fe4 with SMTP id h10-20020a4adcca000000b00583fb9c6fe4mr17122520oou.1.1698854658753; Wed, 01 Nov 2023 09:04:18 -0700 (PDT) Received: from herring.priv (66-90-144-107.dyn.grandenetworks.net. [66.90.144.107]) by smtp.gmail.com with ESMTPSA id x8-20020a4aaf48000000b0055975f57993sm641341oon.42.2023.11.01.09.04.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Nov 2023 09:04:18 -0700 (PDT) Received: (nullmailer pid 442770 invoked by uid 1000); Wed, 01 Nov 2023 16:04:16 -0000 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit MIME-Version: 1.0 From: Rob Herring To: Dmitry Rokosov Cc: linux-leds@vger.kernel.org, lee@kernel.org, linux-kernel@vger.kernel.org, kernel@sberdevices.ru, andy.shevchenko@gmail.com, conor+dt@kernel.org, pavel@ucw.cz, krzysztof.kozlowski+dt@linaro.org, rockosov@gmail.com, robh+dt@kernel.org, devicetree@vger.kernel.org In-Reply-To: <20231101142445.8753-12-ddrokosov@salutedevices.com> References: <20231101142445.8753-1-ddrokosov@salutedevices.com> <20231101142445.8753-12-ddrokosov@salutedevices.com> Message-Id: <169885374980.409399.3653628333009308100.robh@kernel.org> Subject: Re: [PATCH v3 11/11] dt-bindings: leds: aw200xx: fix led pattern and add reg constraints Date: Wed, 01 Nov 2023 11:04:16 -0500 X-Spam-Status: No, score=-1.0 required=5.0 tests=MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.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 (agentk.vger.email [0.0.0.0]); Wed, 01 Nov 2023 09:04:43 -0700 (PDT) On Wed, 01 Nov 2023 17:24:45 +0300, Dmitry Rokosov wrote: > AW200XX controllers have the capability to declare more than 0xf LEDs, > therefore, it is necessary to accept LED names using an appropriate > regex pattern. > > The register offsets can be adjusted within the specified range, with > the maximum value corresponding to the highest number of LEDs that can > be connected to the controller. > > Fixes: e338a05e76ca ("dt-bindings: leds: Add binding for AW200xx") > Signed-off-by: Dmitry Rokosov > --- > .../bindings/leds/awinic,aw200xx.yaml | 64 +++++++++++++++++-- > 1 file changed, 58 insertions(+), 6 deletions(-) > 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/leds/awinic,aw200xx.example.dtb: led-controller@3a: led@0: Unevaluated properties are not allowed ('reg' was unexpected) from schema $id: http://devicetree.org/schemas/leds/awinic,aw200xx.yaml# /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/leds/awinic,aw200xx.example.dtb: led-controller@3a: led@1: Unevaluated properties are not allowed ('reg' was unexpected) from schema $id: http://devicetree.org/schemas/leds/awinic,aw200xx.yaml# /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/leds/awinic,aw200xx.example.dtb: led-controller@3a: led@2: Unevaluated properties are not allowed ('reg' was unexpected) from schema $id: http://devicetree.org/schemas/leds/awinic,aw200xx.yaml# doc reference errors (make refcheckdocs): See https://patchwork.ozlabs.org/project/devicetree-bindings/patch/20231101142445.8753-12-ddrokosov@salutedevices.com 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.