Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp9880802rwl; Wed, 11 Jan 2023 11:15:30 -0800 (PST) X-Google-Smtp-Source: AMrXdXsydn8/AvjX+3oDBpoaU6FHFZAccVwGq/FXweMp/sS+D8kXDnfPxUorYneOK59iWMDjtgAY X-Received: by 2002:a17:907:3e26:b0:7ad:c8d7:4fd9 with SMTP id hp38-20020a1709073e2600b007adc8d74fd9mr83058715ejc.36.1673464530306; Wed, 11 Jan 2023 11:15:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673464530; cv=none; d=google.com; s=arc-20160816; b=RvibqpzhMiY10+RDcJun3LR/FtfLMEOH0P/O+KvO4H/JtX0m1R2T5RA3sLd5mFeCFP LqKJUMaxngY+crt2HFAj0LZz0rLyAvM8KzMI8GkhgT9AQxco7Bj7nSXBAST3bz+NDD7U rb33cw8rX53+4UK6NYTgzJB6tu3tHsH6btgi2l1yCyeIeZaP0whZtbY43ZpeT9cXKi3U sUIechF5i0ZcgFS4rTqVLKLOh4jUzdnIVuyPJvSdG3DnrvNqW19AwctoA2uuTNHS1EyC EboJu/Qb4aUAu9LYKrrMVdtJYnKtSirRlJ4rigZ7YVpmlMOUgddxmkWzzhOctTWx62h6 H5zg== 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=JzVVh+fKujPsI6nJzYq3FThr+ETXFDdV8+q+BDcVj0Q=; b=al/06CPYYNdkt75V3RwibOT/b04ip3M01skdkUeTF0vcFHdhvLh9o+Fs5LZOnONB7Y crsHHzXdKCu4CGJBNSBw1njQz11ReU2c5vwl0lKhehDWYLk+YFLWNzHIaOKgj71NTyPK e5OYa8NCT6dhtZidA04JjoOwBcnUSM/hX29B0vSQ1meofCziaWf2kfcn/3/yA8mbbq3s NgeJcg+85uIzwL0fxSG5CJN0i9gu6o0xN/90501ruuaPGIgka6PD6EPdvKK2nvvXMHKn k2WFLX1N0dpP2nooJp45dHyfYsecWXEQ3ZBdKxM5TyvhveQNuk4Nq0B9rua9H0zNp6eU OcJg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t23-20020a056402241700b004993bc3d7bdsi11042488eda.84.2023.01.11.11.15.17; Wed, 11 Jan 2023 11:15:30 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S235709AbjAKSr3 (ORCPT + 51 others); Wed, 11 Jan 2023 13:47:29 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45988 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234867AbjAKSrR (ORCPT ); Wed, 11 Jan 2023 13:47:17 -0500 Received: from mail-ot1-f45.google.com (mail-ot1-f45.google.com [209.85.210.45]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4395F15FD8; Wed, 11 Jan 2023 10:47:16 -0800 (PST) Received: by mail-ot1-f45.google.com with SMTP id e17-20020a9d7311000000b00678202573f1so9298555otk.8; Wed, 11 Jan 2023 10:47:16 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=JzVVh+fKujPsI6nJzYq3FThr+ETXFDdV8+q+BDcVj0Q=; b=mQMNZoxJkrTf2YMvP0hCIsoWtjO/xvvygq+XksAngWt8NBkPcqCEe52AQvJa0myMlc x1lyhYnvDD4oBoJazl0j6QuCSrmTgpkDSWUbbj9cUjNRdFMIXvApy3D8YKXosoWS7TMm l4FHIjtzPf5u2sOFNvfDk1Fuiy9kTofg+TgEdqqp9mhyJYDZL5bSBLsQ27cfCOCVZkIK ENUXtP0kvcQWO4m9mvg2k/wjBGmlEFKNk0V7dZtk0QMCdxlbuWuojfGJBOQL5VCBl7ZC 2NJuwGxOIVBuhIyEDOv9ISiD4dFbvz7MZGkm6jLlTQffHOljigSjZWqNEj5JU/ds6/5p SU8Q== X-Gm-Message-State: AFqh2kqe9Mj4Cc0HzvcH9tsDgLDp1E9nZl3HKaOwjOAwW/1lGHmHIvih 1ehtuWtGDseQIh23p2T0jA== X-Received: by 2002:a9d:4547:0:b0:673:3fac:b328 with SMTP id p7-20020a9d4547000000b006733facb328mr34495980oti.10.1673462835429; Wed, 11 Jan 2023 10:47:15 -0800 (PST) Received: from robh_at_kernel.org (66-90-144-107.dyn.grandenetworks.net. [66.90.144.107]) by smtp.gmail.com with ESMTPSA id m6-20020a9d6446000000b0066ec67bbc7asm7841142otl.7.2023.01.11.10.47.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Jan 2023 10:47:14 -0800 (PST) Received: (nullmailer pid 1107807 invoked by uid 1000); Wed, 11 Jan 2023 18:47:13 -0000 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit MIME-Version: 1.0 From: Rob Herring To: Wadim Egorov Cc: a.zummo@towertech.it, krzysztof.kozlowski+dt@linaro.org, riku.voipio@iki.fi, robh+dt@kernel.org, pavel@ucw.cz, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, alexandre.belloni@bootlin.com, linux-rtc@vger.kernel.org, lee@kernel.org, linux-leds@vger.kernel.org, upstream@lists.phytec.de In-Reply-To: <20230111163404.3526248-1-w.egorov@phytec.de> References: <20230111163404.3526248-1-w.egorov@phytec.de> Message-Id: <167346265519.1103752.16521267476598663004.robh@kernel.org> Subject: Re: [PATCH v2 1/2] dt-bindings: leds: Convert PCA9532 to dtschema Date: Wed, 11 Jan 2023 12:47:13 -0600 X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 11 Jan 2023 17:34:03 +0100, Wadim Egorov wrote: > Convert the PCA9532 LED dimmer to dtschema. > While at it, also update and the the example to match > recommended node names and the link to the product datasheet. > > Signed-off-by: Wadim Egorov > --- > v2: > - Rename yaml file to match compatibles, nxp,pca953x.yaml > - Remove Jacek Anaszewski from maintainers list > - Remove color labels in example > - Restore labels/default-states from original example > - Drop reg description > - Add unevaluatedProperties to patternProperties scope > - Update description of type property & set default to 0 > - Fix indentation in example > --- > .../devicetree/bindings/leds/leds-pca9532.txt | 49 ----------- > .../devicetree/bindings/leds/nxp,pca953x.yaml | 85 +++++++++++++++++++ > 2 files changed, 85 insertions(+), 49 deletions(-) > delete mode 100644 Documentation/devicetree/bindings/leds/leds-pca9532.txt > create mode 100644 Documentation/devicetree/bindings/leds/nxp,pca953x.yaml > Running 'make dtbs_check' with the schema in this patch gives the following warnings. Consider if they are expected or the schema is incorrect. These may not be new warnings. Note that it is not yet a requirement to have 0 warnings for dtbs_check. This will change in the future. Full log is available here: https://patchwork.ozlabs.org/project/devicetree-bindings/patch/20230111163404.3526248-1-w.egorov@phytec.de leddimmer@62: 'led1', 'led2', 'led3', 'led4' do not match any of the regexes: '^led-[0-9a-z]+$', 'pinctrl-[0-9]+' arch/arm/boot/dts/rk3288-phycore-rdk.dtb leds@62: 'led1', 'led2', 'led3' do not match any of the regexes: '^led-[0-9a-z]+$', 'pinctrl-[0-9]+' arch/arm64/boot/dts/freescale/imx8mp-phyboard-pollux-rdk.dtb pca9530@61: 'tft-panel@0' does not match any of the regexes: '^led-[0-9a-z]+$', 'pinctrl-[0-9]+' arch/arm/boot/dts/am335x-pdu001.dtb pca9532@60: '#gpio-cells', 'gpio-controller' do not match any of the regexes: '^led-[0-9a-z]+$', 'pinctrl-[0-9]+' arch/arm/boot/dts/lpc3250-ea3250.dtb pca9532@60: 'psc0', 'psc1', 'pwm0', 'pwm1', 'run.green@1', 'run.red@0', 's1.green@5', 's1.yellow@4', 's2.green@3', 's2.red@2' do not match any of the regexes: '^led-[0-9a-z]+$', 'pinctrl-[0-9]+' arch/arm/boot/dts/am335x-pdu001.dtb