From patchwork Tue Oct 1 14:56: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: 174876 Delivered-To: patch@linaro.org Received: by 2002:a92:7e96:0:0:0:0:0 with SMTP id q22csp8663804ill; Tue, 1 Oct 2019 07:56:22 -0700 (PDT) X-Google-Smtp-Source: APXvYqwPjhnYLGNjHIXB93Zs2dHjFDjKrIk68PQ/AIsNSd/59NFBhoQsvtjeMYgMt1MeRg7jWW2Y X-Received: by 2002:a50:d49c:: with SMTP id s28mr26241443edi.101.1569941782143; Tue, 01 Oct 2019 07:56:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569941782; cv=none; d=google.com; s=arc-20160816; b=acABYAgwm5oD0vFKfMSpQIlSxDTpxWR9rS7BawcP32rnd1xFCU7kjabPH++9cwq7m9 b0olAX3OiuyxzxmCAIGbd5CKkL3pO/lB0WIBu8rbZtP/mZ52MttPCM4ZEVr40OpcO4vZ U+Tjb8tgdpWmChA9cTwiqJ/+TCoCxrIwoXYQ5QrUiSl5IoWhLYVOfX54Yd5T3mKQ4v2p cxBMPAFHLzt/8RVp3rqSsbAvANykMD+VMimNv2AkeyQQMqChKCdHcjK2wGRkV/27TBiL Jb793qBKzgcuEIMiz/Q2htV4ZE7LIvqBxh9GcgDnHzM9ZQ1tG2idqKWMkI4deTHpalw3 xIaw== 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=p++B4mV4E1QRKbJ6vVE0R2nSVim5IKlkeKAcij4C/tqdBCYfEZN7oeQ7V/URqDIa/E M/4pTcCNFN0htAWLVyCH6J94ycrL+g40BNbPMR4rjJZuMChK5KgkL1cwz8xNlF0H005z llzNfFL1MLqknC28OSlMitVHvXTqjL5pP51T23Yo92jZnUmacqwrWkNt31LZ/AlzRUet QH21KonBHdESMkHHGjuVsrByNVeiw+tGS3MowXQIYdoeK1aEVnctI8puMAQL02XoFYd+ NRI4bKNiOI5PFnyVv6m4P5WvP5g06LU10fttVM/u5Ehn5NS/WTPFVYU/xuxDx6SrMPcg 26LA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=QCnFPBkQ; 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 x25si9074976edr.128.2019.10.01.07.56.21; Tue, 01 Oct 2019 07:56:22 -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=QCnFPBkQ; 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 S2389432AbfJAO4S (ORCPT + 27 others); Tue, 1 Oct 2019 10:56:18 -0400 Received: from lelv0142.ext.ti.com ([198.47.23.249]:33330 "EHLO lelv0142.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389285AbfJAO4R (ORCPT ); Tue, 1 Oct 2019 10:56:17 -0400 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id x91Eu6ql056679; Tue, 1 Oct 2019 09:56:06 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1569941766; bh=Q6v3ZsELVVFaq45xRxLW4voHJAlhEXxHc1kVNsr3mZg=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=QCnFPBkQBP789JEA3qO1oBuAB0qmr6J3qcrqNqKpi4YqzxN3IPftz9RZmW7IvPUau 5whZn2kdtCJ/FdjzghgiDsqyQ/2LmICy6Isagz9ePmtG9j9GQphipBZJ+RscLQAY70 r9gzmxJ/rPaHtcatfMKfygJPfobQKv0XPsBBd9Ug= Received: from DFLE115.ent.ti.com (dfle115.ent.ti.com [10.64.6.36]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x91Eu6Se052895 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 1 Oct 2019 09:56:06 -0500 Received: from DFLE103.ent.ti.com (10.64.6.24) 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.1713.5; Tue, 1 Oct 2019 09:55:56 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DFLE103.ent.ti.com (10.64.6.24) 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; Tue, 1 Oct 2019 09:56:06 -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 x91Eu6dJ035777; Tue, 1 Oct 2019 09:56:06 -0500 From: Dan Murphy To: , CC: , , Dan Murphy , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team Subject: [PATCH v10 10/16] ARM: dts: imx6dl-yapp4: Add reg property to the lp5562 channel node Date: Tue, 1 Oct 2019 09:56:14 -0500 Message-ID: <20191001145620.11123-11-dmurphy@ti.com> X-Mailer: git-send-email 2.22.0.214.g8dca754b1e In-Reply-To: <20191001145620.11123-1-dmurphy@ti.com> References: <20191001145620.11123-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>; }; };