Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp766441pxa; Wed, 12 Aug 2020 12:52:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxiGUWfmbibX9gB3llVfMqq9F57bbLpuR1VXp57ChM3naTuqovCscbGIyNWMr4/C7JZFTSF X-Received: by 2002:aa7:c889:: with SMTP id p9mr1531687eds.105.1597261964304; Wed, 12 Aug 2020 12:52:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597261964; cv=none; d=google.com; s=arc-20160816; b=LuOJUYYzWrxNhoLw3mXBAiXMhdc7oPo3Kpx01Tyh6rgdPFQ5oFkCWch8OReYGRenBb sEB9HpmaFlywUsEP/xpy8YlRC36y47+TDGwhw4vej/PbwwnIIMM4NvwCKS/3N2TxKlAT I1MaPkNVfX1iqu9C8A0AnFhZJ2WrcjssxprJ24Mqcc0DLbAXPm8pQ144vV1saWegJhCE YRbB69tK9BoRBSZTaUg5ctVryMwQPJscmYeaOh7EdE58Bn4Uh3+Gu4rm4oel8Z7z6PDr aU2UC7PXut6YOOw5spfXzuOoYiPR3shE3eU0Oat7pzHyl9LVAkBwijUZ962PGvUgngGx r1yw== 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=xE9GH9QVzH3mR9TftmkDCfS+BSKhao0fKzHZSNXsnr0=; b=y4JKkH4Si3w7ymW5AWdKVNXjWv+gojEtx3E4s8MAGNZOIYxJ3/kmp+x8kxQ0wESOia n78hcSRnuWISQ0HVWJOTjmXBmg8s+3MJXaV0m9FJg3W2h/XStQy4bhV6dId7wpScn6Sf 3PAaAVnLRDBq9GQXEw/utV9tgcOKPL2PQHri5MylPBGkurKE8HcoSXqFCHLWGiFIiA6b LbLjWOODHQB1wLj6k2MbRJzN3MpzQ122Wfc/4VId5pUnCtl/LgMuPzNvn22Md//aE55Z Kz9uFVknB4rnbvGUx4VRH09r9ewzkveH0c+60y3H1WXDISQp1I0NTify9orSZzoiHv9g H+oA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=IVxwFpmq; 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 ok21si1898660ejb.373.2020.08.12.12.52.21; Wed, 12 Aug 2020 12:52:44 -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=IVxwFpmq; 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 S1726756AbgHLTvH (ORCPT + 99 others); Wed, 12 Aug 2020 15:51:07 -0400 Received: from lelv0143.ext.ti.com ([198.47.23.248]:37788 "EHLO lelv0143.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726611AbgHLTvG (ORCPT ); Wed, 12 Aug 2020 15:51:06 -0400 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 07CJolBq104542; Wed, 12 Aug 2020 14:50:47 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1597261847; bh=xE9GH9QVzH3mR9TftmkDCfS+BSKhao0fKzHZSNXsnr0=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=IVxwFpmqcZcONO8y0jamf85zYgV9V7giYv4I5IUfhQ+EB3i+JbNYzy1SJumkVdCDq b6syjnicapNV0V5r3IX9vpN6cH12SEX5okv7t2cKJwWksGo4yLUbEn3/cBPWtR+PP6 y6fBsfbWq8BDRQJS4ja9JIQ9NrOc5dN8RuI9JnCk= Received: from DFLE114.ent.ti.com (dfle114.ent.ti.com [10.64.6.35]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 07CJolDL080185 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 12 Aug 2020 14:50:47 -0500 Received: from DFLE102.ent.ti.com (10.64.6.23) by DFLE114.ent.ti.com (10.64.6.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3; Wed, 12 Aug 2020 14:50:47 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DFLE102.ent.ti.com (10.64.6.23) 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, 12 Aug 2020 14:50:47 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 07CJole1014948; Wed, 12 Aug 2020 14:50:47 -0500 From: Dan Murphy To: , , , CC: , , , , Dan Murphy , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team Subject: [PATCH v33 5/6] ARM: dts: imx6dl-yapp4: Add reg property to the lp5562 channel node Date: Wed, 12 Aug 2020 14:50:19 -0500 Message-ID: <20200812195020.13568-6-dmurphy@ti.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200812195020.13568-1-dmurphy@ti.com> References: <20200812195020.13568-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 accommodate the multicolor framework. In addition to the accommodation 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.28.0