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>;