Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp3196829ybc; Thu, 14 Nov 2019 05:34:08 -0800 (PST) X-Google-Smtp-Source: APXvYqytypfUoV8nE/v0EhqUnwDtJkSjUg5vIxrT4F4+3Nj6VOmksdjzSGXCjeU6zL0zpKN/ACQt X-Received: by 2002:a17:906:230f:: with SMTP id l15mr8276872eja.222.1573738448210; Thu, 14 Nov 2019 05:34:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573738448; cv=none; d=google.com; s=arc-20160816; b=hfY2m8Z1b9vMr0b5eNVgwdZNvIxVkdnOfzqlr4o0MXirmISC6OiLYl2iw8M5bQz/W8 gB/Tuwz7g6xSOYR/lHzj38rCCRqshebQPmvkdF30l6JCMOuKQhOm9R+B0ABAbxsrl3n6 BKnQ4+PKy04YfRiCHGECxF/qpqUz6uH9wNGUpR3DFWnW1Z2OnzPQtkjjDHbiuQU95E64 fojt3NAB5ITY95bdlmnGJbVdVF29zVVwZofWZxl3QlJoqO00/tb4k7rtd1A687qEvhBa 4rkkqe4yLie2yPKND0OoTLeKF4xS0ZdcB1VWMJYHtEUfHwQ17CbYMqLWMzE9JBa+Vrsa BA+Q== 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 g24si3757951edv.239.2019.11.14.05.33.43; Thu, 14 Nov 2019 05:34:08 -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 S1727389AbfKNNcb (ORCPT + 99 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 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 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>; }; }; -- 2.22.0.214.g8dca754b1e