Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp9182781pxu; Mon, 28 Dec 2020 08:38:43 -0800 (PST) X-Google-Smtp-Source: ABdhPJxt2vg6utCnsIg5oXKTAOt1P3F2FSzyZCFHRMY+7BnHQTuVTDjw47FrMM81Pok42QQwdpbZ X-Received: by 2002:a17:906:f9d7:: with SMTP id lj23mr43359184ejb.266.1609173523151; Mon, 28 Dec 2020 08:38:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609173523; cv=none; d=google.com; s=arc-20160816; b=Uog0QvsBiwrNTSsOkz4CX9U6N80gOd1Bu/up9ifpUAB7o+1/V0IYmntPxtbw1QWzP9 bDHYkgmoOMJ0ubCHyI6mPvZQFu1cxrICfYR6L8wCRWyiUmoS2q/gSzo3WYS/0HCDNLfp 8v4qLqzP/CY/yOhMwhw2Sd4LsUdIdZ0biEJ2EhCVgfbcUhmYu6z2oIGIvU4Y6FY3f5WR faEg1uVWRbFr4mkRwZCB6aKIdkfQINN5J0Oz0cLWWFZpXXPlzLgd1ACJp5QvfrrXijfW nziaMsaiugf6lvePasWZ3IGssr/87ok3c3rdE9+49WaLMigpSlExt/AFYKL1RdXjCjlv siXQ== 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=ExebXfAfKSWv9LBsIOU+r3hKxGDGRVe2V5U54nIh7XA=; b=k+EUq+7SRwpk7xmtVqRTXDHc1D7Zo5mG9OShGB50IwhSBD7jGHKKS4iV17Cf2VQDoo hJjuBlxRlkHlC3JPn5TUHgezuTXhEIL3urlU4g7mTBhIuj3tXpwv1abb03aVl+YqGkEg y2oflgV42dylRhMtWQo5KCcYxL2MdmPlSIEfnlTh+1k46zHtmAMB7W68ZjJBhnTiGD1V SCtqC/XthWwmmB7xjRDCykdCO8HjBa9N4ItLFY8hA989NK5Z3vkCqU73yxzos+yEaBJi LrTLZEriRK4y/8E7X1DCOhgMsE5ce0swevK1lUUGsuYRhOlw/EZc6oRqUDre0UyWf2Mu ma5Q== 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 df20si19974595edb.366.2020.12.28.08.38.20; Mon, 28 Dec 2020 08:38:43 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2441044AbgL1Qfz (ORCPT + 99 others); Mon, 28 Dec 2020 11:35:55 -0500 Received: from mout.kundenserver.de ([212.227.17.13]:34673 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729933AbgL1Qfu (ORCPT ); Mon, 28 Dec 2020 11:35:50 -0500 Received: from methusalix.internal.home.lespocky.de ([92.117.54.172]) by mrelayeu.kundenserver.de (mreue109 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MxmBc-1k66FO0Vl0-00zH4a; Mon, 28 Dec 2020 17:33:00 +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 1ktvS5-0002GX-8S; Mon, 28 Dec 2020 17:32:58 +0100 Received: (nullmailer pid 32629 invoked by uid 2001); Mon, 28 Dec 2020 16:32:54 -0000 From: Alexander Dahl To: Rob Herring Cc: Alexander Dahl , linux-leds@vger.kernel.org, Alexander Dahl , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com, linux-amlogic@lists.infradead.org, Neil Armstrong , Kevin Hilman , Jerome Brunet , Martin Blumenstingl Subject: [PATCH v9 4/4] arm64: dts: meson: Fix schema warnings for pwm-leds Date: Mon, 28 Dec 2020 17:32:17 +0100 Message-Id: <20201228163217.32520-5-post@lespocky.de> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20201228163217.32520-1-post@lespocky.de> References: <20201228163217.32520-1-post@lespocky.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scan-Signature: 9f3e2451014eddb8c015276babd3c637 X-Spam-Score: -2.9 (--) X-Provags-ID: V03:K1:8uronqTsuXPgzFbvVftbTks1E0sX0UeFjWtLf04xFRehTTCBYdy yzCyTwaCtC765Xf57s/UyBYY/JNonjzM3opE6ZEG8Cyi3xo9I02Yks2bzoUC5hpA2AvojQP td6yXilYMGXIWOvY5ba9NbYTWUIJbGr+GOkJQnccJsc3buNLMJy9A4ywOK6qnjshKj3sRlx yaulYhkUGnXPRPKpLFRfQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:n/+RqIPN01Q=:RYT4l5liSU5gg7GNcMZE12 Jpr1bRg4dGohmKMtq6H0aS4fujycVB/eVOXky4hQkVI/FNpQ24cLhG8S6jI7ruGjqijpTT7+J byBP+xjAHWYL3fRZBp0yWS2j4QCaN0ZTfPU4+S+E+yT3TLnJL8k13Lo6i5lNt61iAfjY4Y7Rl B8sV2qnNeebpNfZNRbUUKeBvcV052PmI8YMvJ0sgP0zjM4rLeJ54IZWTWxQri8aP9p7/I7Xec 9Lu02oDjbhyg2Dj9UcNvZJ0SoxNbVUqgfMvnkjSlsUrFMsU8jLlYNuf271RPLl/yBm1ke6SNU bxaeKcRqLvsjL5JqrqszJ+hc+HsD1G9QM9pGqR0BZIcx/WaoY/AzWGxqcnPrUv3gilqkL51TD DJT18xCikn6NhFFdGr5x9qTQsaOPueEJrIyak3hVX7GvPTLzLurwFk5FiEymOHkuVBQAAv6Y1 8f1rxzI8kg== 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. Signed-off-by: Alexander Dahl Reviewed-by: Neil Armstrong --- Notes: v8 -> v9: * rebased on v5.11-rc1 v7 -> v8: * rebased on pavel/for-next (post 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 6fe589cd2ba2..45adae480a3d 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 bf9877d33427..25857e0c0831 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>; -- 2.20.1