Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp3561593ybg; Mon, 28 Oct 2019 15:01:11 -0700 (PDT) X-Google-Smtp-Source: APXvYqwwXqYwMNwkEpweEVoQHb2TqqgynMjYN0UUvVQf4ZJmDaTAdf0PJsQbPmAGyDpjTdpx/mvJ X-Received: by 2002:a17:906:1b0c:: with SMTP id o12mr83071ejg.312.1572300071427; Mon, 28 Oct 2019 15:01:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572300071; cv=none; d=google.com; s=arc-20160816; b=0MSwzmsB56qGUHK7YM3yrzw8jlr9XKsWIWSOYznYF7LfN8acnSxmA4dQPlAMgkD2Xi uoegttzM1F7rbLOEQNbJoiebINTypk0pDCdAWVrzJzAyP1O/54CKqYWcd0vfuIPzaFvO dLpmbfE2vqbc3L8PwOGR1m+GJWyORKrou1x4cJxHBYFruAKW1jSxY146h4rLUChdQENA 4FtVraQc8XYFMHWOp/UZqP3feYnBWKkav0hC+FfRmUv1ch2OJDVebO/gKJaG/fG5UIo8 is9i/CK4HUr7bsJC3ZLfuUk+KQaUYn5ugYu1IWVCG/6ol0RR+YTcs2iCXC0w3hbr4VdP ddfQ== 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=EEc9DJIjp1ahSPvDf/ZlbYplBFmEKcylXXssWMYQ4Pt1Qu1M1RPS3VK1fEpYUNt2Sf 1vBReRnNYO8zfL4PlCY+OpYVpnB339a+9guaEeNwdxd2pkc5wmlLT45944vQPqxI2by2 0qJDZwK+C1zmqq4Mz0tMWJkTCObN61M8mcK0GTQo6b1Fj0Qx7k1XZYqMNsMlccGWBS7w 4qSwiVejAUepWJTRdEzDSzb8y9ZRuIdi+KNfSJ1v5ub3dJnq+zYVFADOJ/zQ7rlaZAm4 U1WQOZAQLv/uef1G4zUFfnuriIVCsU3BU+BLOFPuN2C4Q0fLV06QblGNswztlcJt6gXa U6QA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="tG47n/CH"; 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 j12si6676699ejv.275.2019.10.28.15.00.48; Mon, 28 Oct 2019 15:01:11 -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="tG47n/CH"; 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 S1727805AbfJ1Sij (ORCPT + 99 others); Mon, 28 Oct 2019 14:38:39 -0400 Received: from fllv0016.ext.ti.com ([198.47.19.142]:38646 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726876AbfJ1Sih (ORCPT ); Mon, 28 Oct 2019 14:38:37 -0400 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id x9SIcCrE017163; Mon, 28 Oct 2019 13:38:12 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1572287892; bh=Q6v3ZsELVVFaq45xRxLW4voHJAlhEXxHc1kVNsr3mZg=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=tG47n/CHsHNFRs02NRua1POnycbf+3dzYwtbY1tzEOKpdmvIEY6CkIrfuIEIywsr2 f7i6Nb7c1iIVqOgQngA75H6aZUThDPzE5Jm5w5da/opTDfQKHaSLUbEL0OrnaJrnnJ Qb1Zb8P4KiWshZ77kmRXro+QtlpqnSjjSl/y6C04= Received: from DFLE109.ent.ti.com (dfle109.ent.ti.com [10.64.6.30]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x9SIcC7B078835 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 28 Oct 2019 13:38:12 -0500 Received: from DFLE114.ent.ti.com (10.64.6.35) by DFLE109.ent.ti.com (10.64.6.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Mon, 28 Oct 2019 13:38:00 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) 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.1713.5 via Frontend Transport; Mon, 28 Oct 2019 13:38:00 -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 x9SIcBRo123698; Mon, 28 Oct 2019 13:38:11 -0500 From: Dan Murphy To: , CC: , , Dan Murphy , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team Subject: [PATCH v15 10/19] ARM: dts: imx6dl-yapp4: Add reg property to the lp5562 channel node Date: Mon, 28 Oct 2019 13:36:20 -0500 Message-ID: <20191028183629.11779-11-dmurphy@ti.com> X-Mailer: git-send-email 2.22.0.214.g8dca754b1e In-Reply-To: <20191028183629.11779-1-dmurphy@ti.com> References: <20191028183629.11779-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