Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp1026542ybz; Wed, 29 Apr 2020 13:39:56 -0700 (PDT) X-Google-Smtp-Source: APiQypLrGbSwlDCK5kxo7p9qWMETHBWUdI/i9JmVu391FrDpIekH5XMKyawdMe9LuXWq1lTCyPzb X-Received: by 2002:a05:6402:14c1:: with SMTP id f1mr4240934edx.221.1588192795939; Wed, 29 Apr 2020 13:39:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588192795; cv=none; d=google.com; s=arc-20160816; b=guN3NPb8xkV8Dm0m1re6leHs0P1T7cPz41LiWUcm0XT8+GI9QUPrqCAiIaBOFp+zIM 6JRF42RWd9oS9Fy6ZI3KIeN89p6tZDI4lAGuTme3LUhWbTSrVbiL0tPc6Xt/jHw3c46I 2E2HfNoKgcMX8vWWfnGBg1Dz9dA5zoMQbggXVnkiEaxEvzWrpoaxHqxuOP86b4ybrkQI 8xqKlL3wp5t38AUSH+dXLyeQodfQZnD2HDiiZSI+3RfP4CONQqhLO5IrWNtCNyDDjwLT jgkU5AuGOTmBquu+1oDdvOs1dlnVXd0DagbKvyHweFlWry0i/QQICJ5ZMzrBFAI18WL/ dVag== 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=NphKBmNNOtBLN+eDmPxKyREpLd3vrj96FQZmoP1LpuE=; b=vmKRpPU28XcOdW0WaPrmaJDTpQuTppjYJNbo/8mb7dTIE7gCCbO9+7+AUxG86jWiLT USJpdtU7RMoe0++FJ/3QrNuAisjgJhQeYuQjOsj1QNpSaW+jFznsfqn9xXulBbCbeugn Exsutb5lTuQXksFTrfi4nOcH6OuErYUJoQ//9B7R6vDnh56tGZsBikW/dgwub1J6YWD4 6ZpOZbUvSBW2MmmNgQvGglSgfz97aL+tmoOFQAT+NVqTl7Sw/2fEzaC4EzxgnBgQ2bBv zzaeMF2jf3i66HMrjrEKF09FAtwNKv+FaRbkgW6ZBmOS8PqKwBo0m34giyqp16HWIiPt 1Ddg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=epmiMVWV; 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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id mh4si4343690ejb.385.2020.04.29.13.39.32; Wed, 29 Apr 2020 13:39:55 -0700 (PDT) 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; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=epmiMVWV; 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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727970AbgD2Uhe (ORCPT + 99 others); Wed, 29 Apr 2020 16:37:34 -0400 Received: from fllv0016.ext.ti.com ([198.47.19.142]:54918 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727864AbgD2UhO (ORCPT ); Wed, 29 Apr 2020 16:37:14 -0400 Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 03TKb2XC118289; Wed, 29 Apr 2020 15:37:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1588192622; bh=NphKBmNNOtBLN+eDmPxKyREpLd3vrj96FQZmoP1LpuE=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=epmiMVWVDM1MbG+jV9osoVwMFCBaOfIXGN/aXQZuCskvmBs5A275ifqKaHUGwcOzJ CFFRh8o7pOk+viartbk5heGDJljz0R4EuyZIUs/h9f97zf1XQ8TInNqn5uEmJN+rdo 5qeVAKjeBtSEuxh+XfmekGrq7n37KesmqjoEhoTE= Received: from DFLE113.ent.ti.com (dfle113.ent.ti.com [10.64.6.34]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 03TKb2rA070307 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 29 Apr 2020 15:37:02 -0500 Received: from DFLE107.ent.ti.com (10.64.6.28) by DFLE113.ent.ti.com (10.64.6.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3; Wed, 29 Apr 2020 15:37:02 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DFLE107.ent.ti.com (10.64.6.28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3 via Frontend Transport; Wed, 29 Apr 2020 15:37:02 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 03TKb1Tc016842; Wed, 29 Apr 2020 15:37:02 -0500 From: Dan Murphy To: , CC: , , Dan Murphy , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team Subject: [PATCH v23 08/16] ARM: dts: imx6dl-yapp4: Add reg property to the lp5562 channel node Date: Wed, 29 Apr 2020 15:28:08 -0500 Message-ID: <20200429202816.26501-9-dmurphy@ti.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200429202816.26501-1-dmurphy@ti.com> References: <20200429202816.26501-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. Acked-by: Pavel Machek 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 2b9423d55c37..77aa90640052 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