From patchwork Sat Nov 28 21:53:49 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Dahl X-Patchwork-Id: 11937859 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 8D2561398 for ; Sat, 28 Nov 2020 21:55:03 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 149D3221FF for ; Sat, 28 Nov 2020 21:55:03 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="KtNDjRc4" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 149D3221FF Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=lespocky.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=luLHkTHiOIj8RsULYxbM10W+MPQfLBx8gp1ZnC0YhGM=; b=KtNDjRc4IKS9kL0gRY5HefXGz jK5QnymgaAa49/JV8HCnabCWcflgLY2fg7Mnu0vxBov4flE96lg/2634pUVVRxAYDBcJ5G+Tzezof Ic2ECz8ZObRH2skW23QVn4Lej/ucQunXwdQu8JxJQQyqVZIsp/A3iznGnZ0c3J3pGq2mzOx6gjhia ZSgP+4wxroPNZVak5LBUF1H9V1kBgoLJzEYROuKg8cShBAqknO0+h4SSxIDE5FIis/lnB0IYt5Bp7 yv37I3pdN9aLq5Waj8G1N8EssOc/zfPyFOy8UEhwocEZaZamvvW0m7lV/uQuLAMmUh8PfRTVTrUrA rRDG986ow==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kj8B9-00045Y-3d; Sat, 28 Nov 2020 21:54:51 +0000 Received: from mout.kundenserver.de ([212.227.126.131]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kj8B2-00044s-VP; Sat, 28 Nov 2020 21:54:46 +0000 Received: from methusalix.internal.home.lespocky.de ([92.117.45.147]) by mrelayeu.kundenserver.de (mreue011 [212.227.15.167]) with ESMTPSA (Nemesis) id 1Mbzdn-1kCp1h3pip-00dVpA; Sat, 28 Nov 2020 22:54:35 +0100 Received: from lemmy.internal.home.lespocky.de ([192.168.243.175] 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 1kj8Ap-00027n-QE; Sat, 28 Nov 2020 22:54:33 +0100 Received: (nullmailer pid 4098 invoked by uid 2001); Sat, 28 Nov 2020 21:54:31 -0000 From: Alexander Dahl To: Rob Herring Subject: [PATCH v8 1/5] dt-bindings: mfd: Fix schema warnings for pwm-leds Date: Sat, 28 Nov 2020 22:53:49 +0100 Message-Id: <20201128215353.3991-2-post@lespocky.de> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20201128215353.3991-1-post@lespocky.de> References: <20201128215353.3991-1-post@lespocky.de> MIME-Version: 1.0 X-Scan-Signature: 53f17ed7acf4619e77ac9411375ac493 X-Spam-Score: -2.9 (--) X-Provags-ID: V03:K1:EV7J6yS0bGPfutnvWVxMCCVlSgPwiskXwos5S6beCfiCo9yItBc VP7B501UjpYvDbqaI2nyNkcHkzh61wxAc9T6vG6yPKDIogjV5FQGR5Cuz5hqkLY1WwnXh+S SrLCNFf7dWlqZ3etQu8AuAe3VYnmp3Z7wt55/0Z9hb5Y0+C/2KTJTpxFdAIxYw5bdKgBvv9 K4zjotGQiLPn+HdjITW8Q== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:ELxZVikg6TI=:PmypatW+rzOMpdxBmlAY1n EdFBUyFl74PH/aQCYuElzcbYc/o1pIlryiqJ/lRB9OEjdGS6ahQosWWII4CanGexPuhY79yDa /kCCTAHMK9v5s++x3s/ssR/w+WeIGiOHE7FoA5m8bueMTcEJWDnXYxjKDe5ArWKU/f5Am5qzc 8/EoNSfStwQQI7EStFPMBEqyuTqf7S4n/4NHWqC9O+iyCE8ged/Ek4Vg9OAR1pYiuukqi6wNp fNM5SdUFIw6s/P0DPbMXRYLsjCypIi74xl9ohS87pwHygZ4/dbNR4IDdWYy/Ciu78w38tCCZv US86sU16i4I5Vx/952629q+pUPXPoSTGalk4qR+WUXPCSOhzenFmhcm+Uw8DbOSO5Jpilxnu9 36kxQU4emB3a9Y+fck8F/eg7Id66dJgFm263GeC60oCEl3YzzWct7mLmzgGRKZsshSeILowJP N9PyGKn/yQ== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201128_165445_390157_DD3D0E22 X-CRM114-Status: GOOD ( 11.22 ) X-Spam-Score: 0.0 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (0.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [212.227.126.131 listed in list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 SPF_NONE SPF: sender does not publish an SPF Record -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [212.227.126.131 listed in wl.mailspike.net] X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Rob Herring , Alexander Dahl , linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org, Alexander Dahl , linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, Jeff LaBundy , Lee Jones , linux-stm32@st-md-mailman.stormreply.com, linux-leds@vger.kernel.org Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.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 Acked-by: Rob Herring --- Notes: v7 -> v8: * rebased on v5.10-rc1 * added Acked-by (Rob Herring) 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>; }; From patchwork Sat Nov 28 21:53:50 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Dahl X-Patchwork-Id: 11937861 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 8E9E1697 for ; Sat, 28 Nov 2020 21:55:19 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 3A5AE208D5 for ; Sat, 28 Nov 2020 21:55:19 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Bnl5c3mM" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3A5AE208D5 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=lespocky.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=SfD/JdOnK56hT7Fltpok3uFb+kE3Wy4PQnkLjKOOrfQ=; b=Bnl5c3mMklxkaYcdUZtZJhCFe U5rqnaImjEotCYIzRHJ6USS37i2mfbxNOtlHqJSYJaIP0FrvKKUelbqaZSqxY0V+S2yfxAg+brtJG 93YOYKNin1/y9UzkM3WB4xv1RBA5rBOopF8RRfKvN4Y/a5m9gYHQjqevSwCGmUpgLMiVDHQ3K1MPV Z6ygjFMyCf27QkexLgLKR8aYZDOGJUG0sp8tVAMxL0nPl3MaFiaJpSNQrAtY6+RDjgDMeat3MiBde BuxfFSSfWJBytMi1OFwOfb82FQXHkq4k6HUL8LhrS/6N+wnYAzuV2Q9IQSWC3gaM2DB3i8VwOAD0b IGSLcivtg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kj8BN-00048z-OV; Sat, 28 Nov 2020 21:55:05 +0000 Received: from mout.kundenserver.de ([212.227.17.13]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kj8BG-00046r-FS; Sat, 28 Nov 2020 21:54:59 +0000 Received: from methusalix.internal.home.lespocky.de ([92.117.45.147]) by mrelayeu.kundenserver.de (mreue109 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MWiYo-1kgvGg011s-00X6B6; Sat, 28 Nov 2020 22:54:46 +0100 Received: from lemmy.internal.home.lespocky.de ([192.168.243.175] 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 1kj8B0-000288-DU; Sat, 28 Nov 2020 22:54:44 +0100 Received: (nullmailer pid 4111 invoked by uid 2001); Sat, 28 Nov 2020 21:54:42 -0000 From: Alexander Dahl To: Rob Herring Subject: [PATCH v8 2/5] ARM: dts: berlin: Fix schema warnings for pwm-leds Date: Sat, 28 Nov 2020 22:53:50 +0100 Message-Id: <20201128215353.3991-3-post@lespocky.de> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20201128215353.3991-1-post@lespocky.de> References: <20201128215353.3991-1-post@lespocky.de> MIME-Version: 1.0 X-Scan-Signature: 467395612c70a9d75b41506b3ac52c2b X-Spam-Score: -2.9 (--) X-Provags-ID: V03:K1:yLxbQe4fLlXjVIaFuag2S2PxaFAqe3BTGyh1CJ6YB9L6+GIZdAz SFmE94IzR094e/EdVMhrwcx7BUeFyUtjXwpE9KlI/WtZJG2V8lU4H2gMeA+zHaSPVabwvQX IU04uuFDKF3HKybmoNvlRalIKPSH6n8T0wNwhvAxisGg+2T1MWOLEiXyg5oapanB3SVFD3B Tz/I/ipnH1jMBIWuaGlPg== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:VoId4h40b8E=:NvSURxE0qdKPIEw05FiB/W l/ch44701hupU0PgW3Pa0l3SMKOBB0kAgiNrVUbSvleykRjPTMlQUw2irN2rlGPwBXwf5LRuE XhILhZ1Ko2oGVUCBu/XjOmHCPcHNIRpg8juJIhUoLT2iQuNMpTdr1qpBZth3SG5wvZstmo32s k7nI1x5cfP/+b01nhAlfrGsEpUsgencXoLF89/95RO3v1LORM8oEyKwq7TyxzWUHcI509p5Xo o4o9njOqr4SFtraNOVe+x6V8+twLdrvji+QrvbcndJ9Jg6uQKfJVdzGz0Z0QBHWGZ7csUYM2o 0Sj72o42CwSJ6yMi7HmaENumcy0J3ms05q0900ScH6tk7G1QsSWRVvvDt/2uEINo7mOY9TBQm hbTLRp91Zeoeo3gjwaPBH5Kwv6mvTVhhxQNYADbQcZ7Jfkaytkn0KDtWTUQQMkNWtHTNAJYJR 1zG2QhmTbw== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201128_165458_924146_BFDA968D X-CRM114-Status: GOOD ( 11.39 ) X-Spam-Score: 0.0 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (0.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [212.227.17.13 listed in list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 SPF_NONE SPF: sender does not publish an SPF Record X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Alexander Dahl , linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org, Jisheng Zhang , Alexander Dahl , linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com, linux-leds@vger.kernel.org, Sebastian Hesselbarth Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.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 arch/arm/boot/dts/berlin2cd-google-chromecast.dt.yaml CHECK arch/arm/boot/dts/berlin2cd-google-chromecast.dt.yaml /home/alex/build/linux/arch/arm/boot/dts/berlin2cd-google-chromecast.dt.yaml: leds: 'red', 'white' do 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: v7 -> v8: * rebased on v5.10-rc1 v6 -> v7: * split up patch (one per sub arch) * added actual warnings to commit message arch/arm/boot/dts/berlin2cd-google-chromecast.dts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/berlin2cd-google-chromecast.dts b/arch/arm/boot/dts/berlin2cd-google-chromecast.dts index 56fa951bc86f..c1d91424e658 100644 --- a/arch/arm/boot/dts/berlin2cd-google-chromecast.dts +++ b/arch/arm/boot/dts/berlin2cd-google-chromecast.dts @@ -34,19 +34,19 @@ linux,usable-memory = <0x00000000 0x20000000>; /* 512 MB */ }; - leds { + led-controller { compatible = "pwm-leds"; pinctrl-0 = <&ledpwm_pmux>; pinctrl-names = "default"; - white { + led-1 { label = "white"; pwms = <&pwm 0 600000 0>; max-brightness = <255>; linux,default-trigger = "default-on"; }; - red { + led-2 { label = "red"; pwms = <&pwm 1 600000 0>; max-brightness = <255>; From patchwork Sat Nov 28 21:53:51 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Dahl X-Patchwork-Id: 11937863 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id CD7CC1398 for ; Sat, 28 Nov 2020 21:55:19 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 9A8A9208D5 for ; Sat, 28 Nov 2020 21:55:19 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Uyl42kL2" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9A8A9208D5 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=lespocky.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=xqXlBL1Vkx9jmbACtYuvQAM0Ie7tM64T/f8kPo2g5OE=; b=Uyl42kL2icWs/NyQoCTEuBL4S e3/SRHj9mwcRz4liRC3uFr8kezCIG4YvEknlAPfWgfDA1X9/hFfLkVjsB/wEvmKd4ZVizjMPIfu2e dSc7TKpsmPCyTqq5qGmUhiil63DKRiuQraY5i5RFewJmZktFavRE7TZL5VnYmLQRCKr275LLfGQ6m raJXhI4BF6kL/9LRGh3mHPbJbDtbNd/p+bz1uFMYznVGem1AxZXtA+UTOiVC56drJGtkVUt0tIvjb 8Egxrp8XO8qf5xxSaxH2eeZDfEOrp5x1GRF1LVGWV90JpLyyeCayZECsfwI0hyZBfFzzohnvN53WH VQZszLq3w==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kj8BQ-00049c-N1; Sat, 28 Nov 2020 21:55:08 +0000 Received: from mout.kundenserver.de ([212.227.126.187]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kj8BK-00047x-As; Sat, 28 Nov 2020 21:55:04 +0000 Received: from methusalix.internal.home.lespocky.de ([92.117.45.147]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.167]) with ESMTPSA (Nemesis) id 1M5fZ4-1kpCim2lxa-007CJv; Sat, 28 Nov 2020 22:54:50 +0100 Received: from lemmy.internal.home.lespocky.de ([192.168.243.175] 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 1kj8B5-00028I-NS; Sat, 28 Nov 2020 22:54:48 +0100 Received: (nullmailer pid 4125 invoked by uid 2001); Sat, 28 Nov 2020 21:54:47 -0000 From: Alexander Dahl To: Rob Herring Subject: [PATCH v8 3/5] ARM: dts: stm32: Fix schema warnings for pwm-leds Date: Sat, 28 Nov 2020 22:53:51 +0100 Message-Id: <20201128215353.3991-4-post@lespocky.de> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20201128215353.3991-1-post@lespocky.de> References: <20201128215353.3991-1-post@lespocky.de> MIME-Version: 1.0 X-Scan-Signature: b8844dc5d654d495a7d706217a0e2c12 X-Spam-Score: -2.9 (--) X-Provags-ID: V03:K1:FlCDQkEi3tojBhZ6dJIeoMgPtn78ZGf5wr8Ko/avsnHZJq4p1IC IE9YE1Z9C2johS1RteZrR4nd12BKi46txMgnRLCBeeO95SIxxlxu1Ta+70tFG+yIrb61ChT y3q2Rkj8zuCjtaFbrGNVQ4LWnHKjtNg9ko/WM/ARG0zXLlHI7JGAFl/LlQhMJz5kfg5IGeV veu9ah73k+2AawmzZan1Q== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:tmzo1QhOPc0=:4DnXuAtSDLCQxrFLG9qEUS 9SwB2A6+hgoBUsKhDST9tApq3bb4MI1Tx/nAkNtogLoaJWMudXkZBQWKmU6CFGqK7vXbHZi/t f2GjbAOJ54K8W0JSTYnEkZAsrVVVYr/aQ+4xSTRtl1W7ScBrlhWkXttDk55E3feZL70jVJ7J+ YlK3RIvahhMrOta62iSo1HJhKib/Pn6VKcOcH2VWReuiAr/7dg+ihDapQm4wiECyQd7oK7v1g tDr+npEVbvz+O/Ejugbj+fUk9l+V1ui/bFWNcn+anVwLqmXS7itzIqpuFPT7d0UqzuhmqX+So 4CZMnz3rjE/x0U2LYZ4vINWAha8O4eFw4/mnD2aKBqu54B1MyFCATZCLpCDaW+7wjWOS2uAs3 x3ZBQ11O2eAqy5aZh1B6kZhYZFcYSiK44aHCFJZSbevVKteDtVH+gy+8SHT/sRZvBzDEWOYWL 9QXkksN6AA== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201128_165503_705270_B70E2A69 X-CRM114-Status: GOOD ( 11.50 ) X-Spam-Score: 0.0 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (0.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [212.227.126.187 listed in list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [212.227.126.187 listed in wl.mailspike.net] 0.0 SPF_NONE SPF: sender does not publish an SPF Record X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Alexandre Torgue , Alexander Dahl , linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org, Alexander Dahl , linux-arm-kernel@lists.infradead.org, Maxime Coquelin , linux-amlogic@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com, linux-leds@vger.kernel.org Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.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 arch/arm/boot/dts/stm32mp157c-lxa-mc1.dt.yaml CHECK arch/arm/boot/dts/stm32mp157c-lxa-mc1.dt.yaml /home/alex/build/linux/arch/arm/boot/dts/stm32mp157c-lxa-mc1.dt.yaml: led-rgb: 'led-blue', 'led-green', 'led-red' do 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 Acked-by: Ahmad Fatoum --- Notes: v7 -> v8: * rebased on v5.10-rc1 * updated indexes and added comment (Ahmad Fatoum) v6 -> v7: * split up patch (one per sub arch) * added actual warnings to commit message arch/arm/boot/dts/stm32mp157c-lxa-mc1.dts | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/arch/arm/boot/dts/stm32mp157c-lxa-mc1.dts b/arch/arm/boot/dts/stm32mp157c-lxa-mc1.dts index 1e5333fd437f..5ed58110d963 100644 --- a/arch/arm/boot/dts/stm32mp157c-lxa-mc1.dts +++ b/arch/arm/boot/dts/stm32mp157c-lxa-mc1.dts @@ -36,34 +36,35 @@ stdout-path = &uart4; }; - led-act { + led-controller-0 { compatible = "gpio-leds"; - led-green { + led-0 { label = "mc1:green:act"; gpios = <&gpioa 13 GPIO_ACTIVE_LOW>; linux,default-trigger = "heartbeat"; }; }; - led-rgb { + led-controller-1 { compatible = "pwm-leds"; - led-red { + /* led-1 to led-3 are part of a single RGB led */ + led-1 { label = "mc1:red:rgb"; pwms = <&leds_pwm 1 1000000 0>; max-brightness = <255>; active-low; }; - led-green { + led-2 { label = "mc1:green:rgb"; pwms = <&leds_pwm 2 1000000 0>; max-brightness = <255>; active-low; }; - led-blue { + led-3 { label = "mc1:blue:rgb"; pwms = <&leds_pwm 3 1000000 0>; max-brightness = <255>; From patchwork Sat Nov 28 21:53:52 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Dahl X-Patchwork-Id: 11937865 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id EA396697 for ; Sat, 28 Nov 2020 21:55:55 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id B8C6320857 for ; Sat, 28 Nov 2020 21:55:55 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="UavcGhi/" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B8C6320857 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=lespocky.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=YqW8zObdCL7bAaACPQLwvgi6/fCvfbRb4NSVmoPflXc=; b=UavcGhi/jTXlJHKuTYHhdDcdB RhxYcUMksizIH5Gj+0ZmSh800AR6nQPcWAQIyQeusnjkklz+Y0PiXdktI6BxzwgpBHh0ntUdWvOCl NTBY95LN88iLYMhF8TQAVIzupFNQROTA7p3wKkVes1NIm3FHNusb4zBraYsO2o9qRaITf70HuFYG6 zb+YTHrGMWnorf86xcfJEL7HDHJD8WiiWdqWCHH7HmLYS83t582BHdq8+6D1HYWPcMdljrnECGsPZ oK94IQrSQYqVYwVT/6m0oHhfhVTETB3AuSOJCp/bEK4a0V4MSp+iuyC2R7r9VuSdw+S65CHS2jx5o Vlb54dX5Q==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kj8By-0004MX-6E; Sat, 28 Nov 2020 21:55:42 +0000 Received: from mout.kundenserver.de ([212.227.126.187]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kj8Bn-0004IO-Rz; Sat, 28 Nov 2020 21:55:33 +0000 Received: from methusalix.internal.home.lespocky.de ([92.117.45.147]) by mrelayeu.kundenserver.de (mreue011 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MZTa2-1kfG2R1Nfq-00WWi4; Sat, 28 Nov 2020 22:55:05 +0100 Received: from lemmy.internal.home.lespocky.de ([192.168.243.175] 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 1kj8BI-00028S-QM; Sat, 28 Nov 2020 22:55:03 +0100 Received: (nullmailer pid 4138 invoked by uid 2001); Sat, 28 Nov 2020 21:55:00 -0000 From: Alexander Dahl To: Rob Herring Subject: [PATCH v8 4/5] arm64: dts: meson: Fix schema warnings for pwm-leds Date: Sat, 28 Nov 2020 22:53:52 +0100 Message-Id: <20201128215353.3991-5-post@lespocky.de> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20201128215353.3991-1-post@lespocky.de> References: <20201128215353.3991-1-post@lespocky.de> MIME-Version: 1.0 X-Scan-Signature: 5bb92339bba0719d578836d7c87c3e13 X-Spam-Score: -2.9 (--) X-Provags-ID: V03:K1:oP/0XxMu+IgX5ka7POmxyYzMfJNDIbeKHwEoeasrGNTNlD5ScoB EmEpbu+lG6L1dYxFJlcEF/ZOgP7W9ABXMTBTW0v4vYsTqLPXVcdhC7J1+3oHtJKW13jG5Xh 15r8apDXGY3HPFKueJhObR4agVGLxp4iFocRv792ALlW41z0PaiZOWkukpYBs+j0gCZdI2K yveTZDhzS6pxCo8uUg8tw== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:HaqRyB1cjtI=:ko1C0VzfNs5z5lWW2DzZCL tpZY83uas9zOqAK2PQqfGMhM5qqtMqGDT4Z+9MPUZZp088fT82sbYmOtZwqFZVt80LWVDEWrb ca4KBMzY0r37/g6X6n6rY7hYXv2CHSBSnj/mdw5ckGa9RxOVOf4rwwS00p/kQHw/QgiWv2YqE H6FNccRksRklLWkAoMIHUI7BWRA5rfpwK1mCLbS2BA+/T/Tc8UErtxfq1wRiy0lNeAer2Fekh psnOVHHHSx9VCQmpZ4oiKqCswre9wxY8mh9JGfvdp5giatgmBIn3W4eZbMfLhQJczUKqJrPPx OMXmOwHmg3ZLWJGV9OGvB1EHatloSLxUEmdjBkEOu7r6YNjwDqxMrcTBt34LnKFlpUT9cYzIJ mtpORoy2IVSA50VHQoGlq0i0fqAw/vn2qwyp0ork5ZVwz/Wg/90ja2LvKmiix0+VUVKc/ov0Q 7Vq8Nrk90g== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201128_165532_370256_75C5A070 X-CRM114-Status: GOOD ( 12.17 ) X-Spam-Score: 0.0 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (0.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [212.227.126.187 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [212.227.126.187 listed in wl.mailspike.net] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 SPF_NONE SPF: sender does not publish an SPF Record X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Neil Armstrong , Alexander Dahl , Kevin Hilman , linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org, Martin Blumenstingl , Alexander Dahl , linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com, linux-leds@vger.kernel.org, Jerome Brunet Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.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. Signed-off-by: Alexander Dahl Reviewed-by: Neil Armstrong --- Notes: v7 -> v8: * rebased on v5.10-rc1 v6 -> v7: * added Reviewed-by * added another explaining sentence to commit message v6: * added this patch to series .../arm64/boot/dts/amlogic/meson-gxl-s905x-khadas-vim.dts | 4 ++-- arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts | 4 ++-- arch/arm64/boot/dts/amlogic/meson-sm1-sei610.dts | 8 ++++---- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-khadas-vim.dts b/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-khadas-vim.dts index 8bcdffdf55d0..adfc72500e66 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-khadas-vim.dts +++ b/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-khadas-vim.dts @@ -42,10 +42,10 @@ }; }; - pwmleds { + led-controller { compatible = "pwm-leds"; - power { + led-1 { label = "vim:red:power"; pwms = <&pwm_AO_ab 1 7812500 0>; max-brightness = <255>; diff --git a/arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts b/arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts index bff8ec2c1c70..dcb435af4e0b 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts +++ b/arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts @@ -81,10 +81,10 @@ }; }; - pwmleds { + led-controller { compatible = "pwm-leds"; - power { + led-1 { label = "vim:red:power"; pwms = <&pwm_AO_ab 1 7812500 0>; max-brightness = <255>; diff --git a/arch/arm64/boot/dts/amlogic/meson-sm1-sei610.dts b/arch/arm64/boot/dts/amlogic/meson-sm1-sei610.dts index 5ab139a34c01..039a8d0d1e9b 100644 --- a/arch/arm64/boot/dts/amlogic/meson-sm1-sei610.dts +++ b/arch/arm64/boot/dts/amlogic/meson-sm1-sei610.dts @@ -101,20 +101,20 @@ }; }; - leds { + led-controller-1 { compatible = "gpio-leds"; - led-bluetooth { + led-1 { label = "sei610:blue:bt"; gpios = <&gpio GPIOC_7 (GPIO_ACTIVE_LOW | GPIO_OPEN_DRAIN)>; default-state = "off"; }; }; - pwmleds { + led-controller-2 { compatible = "pwm-leds"; - power { + led-2 { label = "sei610:red:power"; pwms = <&pwm_AO_ab 0 30518 0>; max-brightness = <255>; From patchwork Sat Nov 28 21:53:53 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Dahl X-Patchwork-Id: 11937867 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id EAE901398 for ; Sat, 28 Nov 2020 21:56:02 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id BAEAC20857 for ; Sat, 28 Nov 2020 21:56:02 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="3etesQey" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org BAEAC20857 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=lespocky.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=I4cer0u3p3bA2oGITz++wZM8DU2giSVTNvMWLpD+U7M=; b=3etesQeywZEHhDXSFK7IwB0Kb LiyQeUB4aipkL7SAr/bbuEOpF5clDKq/aQ3aj3br0W6O2zJetRwHCowwjgcPqwQIqYofx4vxDaT1U zs4pzYyvjqKK1s/mkk536xa41L13zcTOhTxWb4k+MIasqmoECkxMVAGQOnBg54BOETL9ZneJ/jPZg PiunC99dsd+AxyvE/FQYVd2VVfqIimcgd7kkyiibzbwzSAVImVKY1XfwOCNQxD56MDMTeyKf6YzgN uRBSAIX8K6sAo4y/MSeHNKTWSyT3mxzFiOSDNM1wo1zKwNm+BhBugNcRTK7s8lqRyn9bsM9ABpUyu v50gfZF8g==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kj8C9-0004Qx-Rw; Sat, 28 Nov 2020 21:55:53 +0000 Received: from mout.kundenserver.de ([212.227.126.133]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kj8Bt-0004Kx-C2; Sat, 28 Nov 2020 21:55:39 +0000 Received: from methusalix.internal.home.lespocky.de ([92.117.45.147]) by mrelayeu.kundenserver.de (mreue009 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MowT0-1kPnaD463C-00qUqX; Sat, 28 Nov 2020 22:55:12 +0100 Received: from lemmy.internal.home.lespocky.de ([192.168.243.175] 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 1kj8BR-00028l-4q; Sat, 28 Nov 2020 22:55:10 +0100 Received: (nullmailer pid 4158 invoked by uid 2001); Sat, 28 Nov 2020 21:55:08 -0000 From: Alexander Dahl To: Rob Herring Subject: [PATCH v8 5/5] MIPS: DTS: img: Fix schema warnings for pwm-leds Date: Sat, 28 Nov 2020 22:53:53 +0100 Message-Id: <20201128215353.3991-6-post@lespocky.de> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20201128215353.3991-1-post@lespocky.de> References: <20201128215353.3991-1-post@lespocky.de> MIME-Version: 1.0 X-Scan-Signature: 5ccd8535a2f53357608f384c4c8220c3 X-Spam-Score: -2.9 (--) X-Provags-ID: V03:K1:P2Y70kYg3CuoaW8dA2A8duhR9E0iY4+BlupumaHUtNIKfJBeMpE OEgb7CJ++1ExB2HMOrc+kjbDjIxt3D/u1QGmQdPN+lwOArjSw/jNEeftA3LbzW6RB+p45FY ynTo4IR46hHblnF+KU4SocDdQ3aXarkEBDGX3c+chthToemwFtl50WLmz7arkEAbywCCYX6 FqGqXip+nP3GxNZD3gwMA== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:Mgwv/y2PQyo=:l6g3zbRgOPuTRcX6qX+csU 0Z0rHM3WEDNVxmydmMlmuKHcygVtROPApeRsUkJltJJaK0JC9miqHjYdGdLwMqVeEnR7GQn1s eSXr6yQszpDcnetk0q3TOfwk96e+BtazDmR9J35o5X6nANSnThQxxAHfOHFjfjTQhMONtv3iP q9Ux3W2x+3jrHm00xXgB5Yu10DsPHF0JUTygljBbM7Go81k+ILSWltGIPlaoW53WEogsotnUR eMRm76Ro80+y/eRcZfc5mRzrvfCEtcfkIlbzHfcOwE1Ncqgu1fSQb75kKFJQetjQSl7yzVR3+ pEOY4XZaM76uAFsOcjFvphMgjNelgVA81l+nt4AqGTSJxExDC+LLz17vx4FHR9vOnh8ffQCtL oFEzQGMkRVJSZXJgkuqNpK+UYUCKo7xCqOLl+B/uHG2k3K7HJHDwdFznlfpzzBeW+7avu3EGA FGGytYzNRQ== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201128_165537_708131_889E1F85 X-CRM114-Status: GOOD ( 11.31 ) X-Spam-Score: 0.0 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (0.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [212.227.126.133 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [212.227.126.133 listed in wl.mailspike.net] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 SPF_NONE SPF: sender does not publish an SPF Record X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Thomas Bogendoerfer , James Hartley , Alexander Dahl , linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org, Alexander Dahl , linux-arm-kernel@lists.infradead.org, Rahul Bedarkar , linux-amlogic@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com, linux-leds@vger.kernel.org Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.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. Signed-off-by: Alexander Dahl --- Notes: v7 -> v8: * rebased on v5.10-rc1 v6 -> v7: * added another explaining sentence to commit message v6: * added this patch to series arch/mips/boot/dts/img/pistachio_marduk.dts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/mips/boot/dts/img/pistachio_marduk.dts b/arch/mips/boot/dts/img/pistachio_marduk.dts index bf69da96dc8b..a8708783f04b 100644 --- a/arch/mips/boot/dts/img/pistachio_marduk.dts +++ b/arch/mips/boot/dts/img/pistachio_marduk.dts @@ -46,9 +46,10 @@ regulator-max-microvolt = <1800000>; }; - leds { + led-controller { compatible = "pwm-leds"; - heartbeat { + + led-1 { label = "marduk:red:heartbeat"; pwms = <&pwm 3 300000>; max-brightness = <255>;