Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3585004pxk; Mon, 5 Oct 2020 13:38:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxvHaT/mTkU5KOcZ3JI69hS4/yXxoObTKyAhpzZENouDngC3G2L2cR4oQuu+Qw37pfv+deE X-Received: by 2002:a17:906:4b19:: with SMTP id y25mr1671671eju.393.1601930339418; Mon, 05 Oct 2020 13:38:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601930339; cv=none; d=google.com; s=arc-20160816; b=QeQrRq5GcFHLRrtVkuGDen4NH4k+8/GrMnRvVaqfx8RsOpQWw4alpfZz9rUpwOU3ZL Ahu1hwnFeHYAXMHwQqoUxYF1EM2xtpoKjvdwEVvZ7doyo9CwLtIBAfQprR52bQ6TnzSm NJ0tAVHLCrIUV1ApWxOgglCMxshexjWdZm5Kx7klJQn4PMBAoPs7AhlxTOEDZK/EeoIp ILEGVzMgVvdcf3jlGsO1fKZaDjTZpqtj3n9q5dMUnMiuKT0JULTn43anCdgQNgx25TNB Bs9clPTLzgZm4y26NDJdsV9Gkauswlbg8+S4E/48S/bfWRqrqMaqKPHNFbmMV2btck8I yMXg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=YUkv/4YKq5sLyYITtvsl+73BnDCHRKJzYeVmGX3iLe4=; b=1GVFJud2r7TX4YE/iuXjBrVvd4j9w7MAWoZXur/qTKapbG08twr0gblTCyqzqXnW0F cVOmYgiVDIe8Kq7XgRw2brluAmlcQSuDwZPTvRI2G3l1+6AAJo8nQmG/QY3zEAw4RcC3 HN1qomzvPl2vAaZ5jGBklbyRv/BTwP4KeirttT9xZZnwRf3bdcNZNdxApTLwiwXepaMV sAuDUtG7roCTbBte5Gp9E39mgjHoyUqn6LyccvOLNvmw2fyeyBwef3VCfYsX1U2TPcLY NnU/Sj5MTmnILXJr2p1XZj4nKEVOqKq19UjQHUKQpCEnRDjXt79m8Mevxs0ytz2JQti1 UadA== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m13si909049edi.602.2020.10.05.13.38.36; Mon, 05 Oct 2020 13:38:59 -0700 (PDT) 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729891AbgJEUgq (ORCPT + 99 others); Mon, 5 Oct 2020 16:36:46 -0400 Received: from mout.kundenserver.de ([212.227.126.131]:33113 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729830AbgJEUg0 (ORCPT ); Mon, 5 Oct 2020 16:36:26 -0400 Received: from methusalix.internal.home.lespocky.de ([92.117.55.152]) by mrelayeu.kundenserver.de (mreue011 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MJVY8-1k5oV82ZaK-00JqZm; Mon, 05 Oct 2020 22:35:46 +0200 Received: from lemmy.internal.home.lespocky.de ([192.168.243.176] helo=lemmy.home.lespocky.de) by methusalix.internal.home.lespocky.de with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94) (envelope-from ) id 1kPXCw-0004VR-Ih; Mon, 05 Oct 2020 22:35:43 +0200 Received: (nullmailer pid 10325 invoked by uid 2001); Mon, 05 Oct 2020 20:35:37 -0000 From: Alexander Dahl To: Pavel Machek , Dan Murphy , Rob Herring Cc: Alexander Dahl , Jacek Anaszewski , Alexander Dahl , linux-leds@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-omap@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-amlogic@lists.infradead.org, linux-mips@vger.kernel.org, Lee Jones , Jeff LaBundy Subject: [PATCH v7 03/12] dt-bindings: mfd: Fix schema warnings for pwm-leds Date: Mon, 5 Oct 2020 22:34:42 +0200 Message-Id: <20201005203451.9985-4-post@lespocky.de> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20201005203451.9985-1-post@lespocky.de> References: <20201005203451.9985-1-post@lespocky.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scan-Signature: 4b5898d038d1415590f3a2ccc7ce21d7 X-Spam-Score: -2.9 (--) X-Provags-ID: V03:K1:k0yiA9lyvy1/Zh9nh+0nofx8ISHoK3KZN7K2P4l768bFHrROa/O pwi2OA9dDAAdh+gXmQmP0vr4EtnzAiNh8Yslnw1T1V0Vv6ZPhJK0C2tTp4DqxQtaG27Tk3c +upi/Serv3087WaSsaFGKszSXwqNZvFniQ4W0uNIIk2AF92G48G515uvh/+htX+NW/+CPt4 qtZBZo5LXWC3MSeOPaJLw== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:pePHsAIg4/0=:6zFjBC1h9Q3yInlKRJzjXk GRvZrKsohZbuA9PZAJudVE3v6m7OUshdmj9zF5H82bmBZ6rm1oqDBJPO1sPkw28NkEL7Et/OP l9VImjVJlmYd2PN4bfc9xBqXJGMkW6FlGHBLUsIpVnOJBy8u2iC2s5uI+7Xqbp0zHXVBDWwE9 thoMmf+V5bDhbQGb8j3R6HeqZQaMsZAg6QQpTO+hJbg0gN2MCKrJAipp6eijGtF6dKk98Hv1G GNqSYPtQsZlD5TD5Pk6IOHUrHVdyA8pT9BsKP9mZiXrMF6wgeplSktBEtRP7M2UA5NHN9KDSw aEsjeb2R2KP6xmLezzBh0uTl3G8LhhXT0KLqH7w0YNHPA9rhhFH0MCOh8bh1W8dah9kuDUgI4 nR+ohcWZwuLboWOhglIY+5FT2iAyruZsyKP4PPNGkZm/lLAHqWAfb+ESTot3VxvyGeF7uK3zo lzBVG6LXHL+aW7CTfP0vIWugjs1KNL69CXEiyUy+hgEOlodWTfH6ydFjmdmeYv6y0gvpYiSEZ 7rSFQE/COJN9a0WKZWu+ROAlnp25ymEku+s9ngCETEe/rjHCYMeL2rDXrPdQ6mfAScdLnmTlL XXxJ6j6SjIPbxPKIDfShc09LtV1+HbUZNX6+Kx9RxZgvi07hQZLPGL8n1mhWnQ0y8KKW52Rv/ 0B6D8lginTmCjvpHKXJbDPftBvI8BVDRe0ZD2IbC5Q3bMHtD3mNqTLQme3Bi3DZUZVvmgHegd ykG/07og7yADofWR1hO1eu0TXw+Wgd37WDhn1fT6WhBQDqsnBys3bgH36T3OkCEYu77Ye8BZN Skl5inys+DhbXebBsFzjz8XKe2/ilJeO/zANbw6fDkksuvrRHL5o0fP9kwPSQq2/4S5KnXr Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The node names for devices using the pwm-leds driver follow a certain naming scheme (now). Parent node name is not enforced, but recommended by DT project. DTC Documentation/devicetree/bindings/mfd/iqs62x.example.dt.yaml CHECK Documentation/devicetree/bindings/mfd/iqs62x.example.dt.yaml /home/alex/build/linux/Documentation/devicetree/bindings/mfd/iqs62x.example.dt.yaml: pwmleds: 'panel' does not match any of the regexes: '^led(-[0-9a-f]+)?$', 'pinctrl-[0-9]+' From schema: /home/alex/src/linux/leds/Documentation/devicetree/bindings/leds/leds-pwm.yaml Signed-off-by: Alexander Dahl --- Notes: v6 -> v7: * added warning message to commit message (Krzysztof Kozlowski) v6: * added this patch to series Documentation/devicetree/bindings/mfd/iqs62x.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/mfd/iqs62x.yaml b/Documentation/devicetree/bindings/mfd/iqs62x.yaml index 541b06d80e73..92dc48a8dfa7 100644 --- a/Documentation/devicetree/bindings/mfd/iqs62x.yaml +++ b/Documentation/devicetree/bindings/mfd/iqs62x.yaml @@ -90,10 +90,11 @@ examples: }; }; - pwmleds { + led-controller { compatible = "pwm-leds"; - panel { + led-1 { + label = "panel"; pwms = <&iqs620a_pwm 0 1000000>; max-brightness = <255>; }; -- 2.20.1