From patchwork Sat Sep 19 22:15:39 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Marek_Beh=C3=BAn?= X-Patchwork-Id: 255373 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.9 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D848EC43464 for ; Sat, 19 Sep 2020 22:15:53 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 18AC32311B for ; Sat, 19 Sep 2020 22:15:53 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=nic.cz header.i=@nic.cz header.b="FKtu2sxE" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726660AbgISWPw (ORCPT ); Sat, 19 Sep 2020 18:15:52 -0400 Received: from lists.nic.cz ([217.31.204.67]:49994 "EHLO mail.nic.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726626AbgISWPw (ORCPT ); Sat, 19 Sep 2020 18:15:52 -0400 Received: from dellmb.labs.office.nic.cz (unknown [IPv6:2001:1488:fffe:6:cac7:3539:7f1f:463]) by mail.nic.cz (Postfix) with ESMTP id 461AE140A7D; Sun, 20 Sep 2020 00:15:50 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nic.cz; s=default; t=1600553750; bh=4GFIuoGep6B/Lp8izOufEKIIzt3hVVrrJhDzcEp36lM=; h=From:To:Date; b=FKtu2sxEEJJkm+ke71jJkOg+WzF+gAVwrp7Sgb5BjgEtWx5E3HD0F6ved0QRoIppT FYh39twpS6M6pzS7WeLPlPJ61vjgu5YrvEBTyci/gE8SIcIMaNSkueg62T9dGSDDFA dEEB2qeOlAKIhYqamW9QLAGOwZuqtO+eQwxS7GCk= From: =?utf-8?q?Marek_Beh=C3=BAn?= To: linux-leds@vger.kernel.org Cc: Pavel Machek , Dan Murphy , =?utf-8?q?Ma?= =?utf-8?q?rek_Beh=C3=BAn?= , NeilBrown , Linus Walleij , "H . Nikolaus Schaller" , Tony Lindgren , Adam Ford , Viresh Kumar , Rob Herring , devicetree@vger.kernel.org Subject: [PATCH leds + devicetree 04/13] ARM: dts: omap3: gta04: rename LED controlled subnodes Date: Sun, 20 Sep 2020 00:15:39 +0200 Message-Id: <20200919221548.29984-5-marek.behun@nic.cz> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200919221548.29984-1-marek.behun@nic.cz> References: <20200919221548.29984-1-marek.behun@nic.cz> MIME-Version: 1.0 X-Spamd-Bar: / X-Virus-Scanned: clamav-milter 0.102.2 at mail X-Virus-Status: Clean Precedence: bulk List-ID: X-Mailing-List: linux-leds@vger.kernel.org Rename LED controller subnodes to format "led@[0-6]" or "gpio@[0-6]" to conform to the new YAML defined binding. Use the `gpio-line-names` property to define GPIO names. Signed-off-by: Marek BehĂșn Cc: NeilBrown Cc: Linus Walleij Cc: H. Nikolaus Schaller Cc: Tony Lindgren Cc: Adam Ford Cc: Viresh Kumar Cc: Rob Herring Cc: devicetree@vger.kernel.org --- arch/arm/boot/dts/omap3-gta04.dtsi | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi b/arch/arm/boot/dts/omap3-gta04.dtsi index ecc45862b4f34..a28fe1b07215c 100644 --- a/arch/arm/boot/dts/omap3-gta04.dtsi +++ b/arch/arm/boot/dts/omap3-gta04.dtsi @@ -541,28 +541,30 @@ tca6507: tca6507@45 { gpio-controller; #gpio-cells = <2>; - gta04_led0: red_aux@0 { + gpio-line-names = "wifi_reset@6"; + + gta04_led0: led@0 { label = "gta04:red:aux"; reg = <0x0>; }; - gta04_led1: green_aux@1 { + gta04_led1: led@1 { label = "gta04:green:aux"; reg = <0x1>; }; - gta04_led3: red_power@3 { + gta04_led3: led@3 { label = "gta04:red:power"; reg = <0x3>; linux,default-trigger = "default-on"; }; - gta04_led4: green_power@4 { + gta04_led4: led@4 { label = "gta04:green:power"; reg = <0x4>; }; - wifi_reset: wifi_reset@6 { /* reference as <&tca_gpios 0 0> since it is currently the only GPIO */ + wifi_reset: gpio@6 { /* reference as <&tca_gpios 0 0> since it is currently the only GPIO */ reg = <0x6>; compatible = "gpio"; };