From patchwork Thu Nov 14 13:30:14 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dan Murphy X-Patchwork-Id: 179420 Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp11064648ilf; Thu, 14 Nov 2019 05:32:35 -0800 (PST) X-Google-Smtp-Source: APXvYqxuscs/aiyhdPxRbMf/2ORkL/cqGTOIygnRCD61P+X5SGAZXC/DJYrWNjZEEXsw20yMAVLX X-Received: by 2002:a17:906:a38d:: with SMTP id k13mr8367273ejz.213.1573738355297; Thu, 14 Nov 2019 05:32:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573738355; cv=none; d=google.com; s=arc-20160816; b=A3nLtqaZl2uyKV5GEJTbus7Bvhj8JEFa77KtS2JYRrKsAIEU2SORiFVaRaY6gFvIE2 u/01Z29nWKxO1hq3I/0Xr5yLmLOCcL2RhjQUG2/Nvt2zV6YGbp6TNVBLA50eFT+NrWdT O5bCw0/h0hmwOhUL1a9jFefnbqNobSTJtwWKMPtr5GHUFLZFqN4lWGsbC3Qgj3GP3txe AClAmVI+S6RVOJKarjLjbHFJ27sHK902CKw+W4VtvJq8Ajag3jTIWXruI0LIDmJKqVVy evLB9K45+YlcMhCCHB41ecHNRv98n4wDe4ooQHDPwhJw1L/QegPH/jphFcaGK+FWumaZ RsoQ== 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=Q6v3ZsELVVFaq45xRxLW4voHJAlhEXxHc1kVNsr3mZg=; b=R/60A7M6YsuCpFMDH+ucJjZ+tsUmIioEwtZ5nm41F/uV426beNovFVCQ9bpoO9QWI2 vjhG8O3DyNJ9awb7Im1H08YtPO34iw9EkcWcIxUDUG1jJKM3JZvRRIrR8/qcbXx6IO9+ 71LzvXaItczQOzXppkkV3pYMPBynrUnk414u9xc6AWATlR4KIbrs3inGw0L1wfHPDb+G RMx3x6fwdRycOzYRB0qYfikAFSUmUfmE07cN8BbXGMC+c3GWcjAkDIHr7amjCMMFBEOe FP4z82m5bUpoXdvsXv1As9RGFZkB/0KVdA+RcJLC8DjilTX7MRbiBTYaC1LgRxLWX3iH 3sdw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=vOmmhXVl; 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 z26si3319916ejb.223.2019.11.14.05.32.35; Thu, 14 Nov 2019 05:32:35 -0800 (PST) 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=vOmmhXVl; 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 S1727402AbfKNNcb (ORCPT + 26 others); Thu, 14 Nov 2019 08:32:31 -0500 Received: from lelv0143.ext.ti.com ([198.47.23.248]:49008 "EHLO lelv0143.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727364AbfKNNc3 (ORCPT ); Thu, 14 Nov 2019 08:32:29 -0500 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id xAEDWJYS067452; Thu, 14 Nov 2019 07:32:19 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1573738339; bh=Q6v3ZsELVVFaq45xRxLW4voHJAlhEXxHc1kVNsr3mZg=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=vOmmhXVlwKnvPUfLkSWooIe3y7JWhzLjfBCSTtIMlu9QAHzSpF97AmmKY+wagTtnS dT7D1YjZpwlFnon+/JJiMEOmPRBNkYRp6dfyjRqHNL7h8zLCBrFU417Do44rgyrKv/ Y5a4SR5577GXT4LHN1Fm3WvOYUjf33JXb9r1EQvI= Received: from DFLE113.ent.ti.com (dfle113.ent.ti.com [10.64.6.34]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id xAEDWIsp005410 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 14 Nov 2019 07:32:19 -0600 Received: from DFLE115.ent.ti.com (10.64.6.36) 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.1847.3; Thu, 14 Nov 2019 07:32:18 -0600 Received: from lelv0327.itg.ti.com (10.180.67.183) by DFLE115.ent.ti.com (10.64.6.36) 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, 14 Nov 2019 07:32:18 -0600 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id xAEDWIVX036579; Thu, 14 Nov 2019 07:32:18 -0600 From: Dan Murphy To: , CC: , , Dan Murphy , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team Subject: [PATCH v17 10/19] ARM: dts: imx6dl-yapp4: Add reg property to the lp5562 channel node Date: Thu, 14 Nov 2019 07:30:14 -0600 Message-ID: <20191114133023.32185-11-dmurphy@ti.com> X-Mailer: git-send-email 2.22.0.214.g8dca754b1e In-Reply-To: <20191114133023.32185-1-dmurphy@ti.com> References: <20191114133023.32185-1-dmurphy@ti.com> MIME-Version: 1.0 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(-) -- 2.22.0.214.g8dca754b1e diff --git a/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi b/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi index e8d800fec637..efc466ed1fea 100644 --- a/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi +++ b/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi @@ -257,29 +257,35 @@ 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>; }; };