Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp2138535ybb; Thu, 2 Apr 2020 13:59:24 -0700 (PDT) X-Google-Smtp-Source: APiQypLoenngExLaLQZaGQwhTzxex4vC7OAyPMSv1DlmphT0+/v5PUWaDBiyPu/oo1b9gQk4kRID X-Received: by 2002:a05:6830:2147:: with SMTP id r7mr3877041otd.59.1585861164711; Thu, 02 Apr 2020 13:59:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585861164; cv=none; d=google.com; s=arc-20160816; b=Phy2aooBCBXaVfYgxMf81OAoPG/aAwpd78FZTuPbYiv+NOAV4GSy1s1ahy/i3WXVhs Pm2lGO4SQGIPb05FExL2rKdfqPOJRamlHvcSa3AKN7lusT7S63S4EiC/47H3MQ0oPewZ RbJFSSMf0oiALp/JDoItvOMVzczhgGAlPDwfpT/2DSSi75XUS+nGi+Ypny9X14eiHyik Ciw5IUMmnJlSkP0YfA6zGhr/OaA2nV+NDo64uH1qnlyHIQ60o5d8v/JXZ5Fnfl5zbxH1 dWBCDHpbKGSJY6W+x05WJL0q7HYnfVL04g/i+idkPqAG0A0o13UlIOzPtRHsC8pDJ7US pxeg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=3s3uKTykRkS9kvOJuO+sK5EfvBWc0ZC1mqdTEizQqsE=; b=HDWAhHJmjqA6W4p5nrN+cVFOhdgMon3SE80WEtL5Xhr6wkVev4XflC5fQvQBD4vgGc s3MKJcsZApFuCX4MfzFTJmPEJ9ztLR3hoWgi56/r+3ngNQShqqtuoNwSEe9ZPW1Qpjx+ p/GjowxTTYaX2LNsO+Y8pPNzY8ZlSraCyey6igLAi/2bfH4p1fS83WhRwFWmwroBpM+7 ea4bTL8wtQB3PQ2XqEsux59rtZDFcQeNWaRdG5KYYN+yhcnrmNlrWKfrEBge9agwMHHc kK+4rHUrMGjNVnacNoniH1zWjr0/xIs6M7C3PuWgh02ucObSXKTtfRkNHjs+ZaiOFPbE LdZA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=SRYDLt31; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 186si3128340ooo.33.2020.04.02.13.59.12; Thu, 02 Apr 2020 13:59:24 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=SRYDLt31; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389830AbgDBUt6 (ORCPT + 99 others); Thu, 2 Apr 2020 16:49:58 -0400 Received: from fllv0016.ext.ti.com ([198.47.19.142]:59874 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727412AbgDBUt4 (ORCPT ); Thu, 2 Apr 2020 16:49:56 -0400 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 032Knl2X031602; Thu, 2 Apr 2020 15:49:47 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1585860587; bh=3s3uKTykRkS9kvOJuO+sK5EfvBWc0ZC1mqdTEizQqsE=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=SRYDLt31feQpTScbbbc970+B8xPARECfKsy/tzBfq47lKkX2qM1zVVa1FBoj8VUss BO1llofX0DDHilVxkxel2LSNr6PY0I7nr0WKIdPoNt1p/4n4OTynamb4WpzNumNiM9 upUTL2BmyfdaufXKJPOkDPDZJM29wsaHDIuyE6HI= Received: from DLEE115.ent.ti.com (dlee115.ent.ti.com [157.170.170.26]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTP id 032KnlfQ004454; Thu, 2 Apr 2020 15:49:47 -0500 Received: from DLEE100.ent.ti.com (157.170.170.30) by DLEE115.ent.ti.com (157.170.170.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1847.3; Thu, 2 Apr 2020 15:49:47 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DLEE100.ent.ti.com (157.170.170.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1847.3 via Frontend Transport; Thu, 2 Apr 2020 15:49:47 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 032Knl71001533; Thu, 2 Apr 2020 15:49:47 -0500 From: Dan Murphy To: , CC: , , Dan Murphy , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team Subject: [PATCH v19 10/18] ARM: dts: imx6dl-yapp4: Add reg property to the lp5562 channel node Date: Thu, 2 Apr 2020 15:43:03 -0500 Message-ID: <20200402204311.14998-11-dmurphy@ti.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200402204311.14998-1-dmurphy@ti.com> References: <20200402204311.14998-1-dmurphy@ti.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add the reg property to each channel node. This update is to accomodate the multicolor framework. In addition to the accomodation this allows the LEDs to be placed on any channel and allow designs to skip channels as opposed to requiring sequential order. Signed-off-by: Dan Murphy CC: Shawn Guo CC: Sascha Hauer CC: Pengutronix Kernel Team CC: Fabio Estevam CC: NXP Linux Team --- arch/arm/boot/dts/imx6dl-yapp4-common.dtsi | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi b/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi index 80ed5f16a76e..fe1a723b4dc9 100644 --- a/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi +++ b/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi @@ -258,29 +258,35 @@ leds: led-controller@30 { reg = <0x30>; clock-mode = /bits/ 8 <1>; status = "disabled"; + #address-cells = <1>; + #size-cells = <0>; - chan0 { + chan@0 { chan-name = "R"; led-cur = /bits/ 8 <0x20>; max-cur = /bits/ 8 <0x60>; + reg = <0>; }; - chan1 { + chan@1 { chan-name = "G"; led-cur = /bits/ 8 <0x20>; max-cur = /bits/ 8 <0x60>; + reg = <1>; }; - chan2 { + chan@2 { chan-name = "B"; led-cur = /bits/ 8 <0x20>; max-cur = /bits/ 8 <0x60>; + reg = <2>; }; - chan3 { + chan@3 { chan-name = "W"; led-cur = /bits/ 8 <0x0>; max-cur = /bits/ 8 <0x0>; + reg = <3>; }; }; -- 2.25.1