Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp48917ybp; Tue, 8 Oct 2019 13:50:55 -0700 (PDT) X-Google-Smtp-Source: APXvYqx6k2/NrrfZbmRkifIxE03EeQlXZr0VR2KAqNnLUY7luoo2aCluGGXBBWRN9etxNAVCs1u2 X-Received: by 2002:a17:906:1c5b:: with SMTP id l27mr31194120ejg.27.1570567855631; Tue, 08 Oct 2019 13:50:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570567855; cv=none; d=google.com; s=arc-20160816; b=1BTNtZ6Y/Y/FgOh1zewIkIY4qmXOjLmhIT5Y05tHlO6lQAYTUlSJUnqXbxiS9U1ny2 unJL85xOsXpv4GWEmu/5huPmYp1heug3WdJS0f9KhImQ59E7tlG9O018Wp742DD+L/Cb xstfrYUL1/Gq7osW8vzpRYa4SjoMB50A8enACKpKLZBtFL29eS//rrAj8pgf1VL1rpwr 2TDt6OBKNTQlFD8U4RP07dQ9ExbZYwfOJpy1Nv7kyzmVIVpK+8LuucoZN4DBhzy5cpjl pSwXhX2SkH5XL5VjJjIH5dMO27gXnwZVbmt9dONNK94kWOk7LqgNFgWcZ8uZct7BQ/Wu KlqQ== 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=IP0FLsJsG6v/rLsXxni8A0TdSydJh/3LUn8tYdbPZBPnjcKybHqsLRoKRYxxV4IJxR XGMieEgH+5/SHyJFDEJ5/lhpg8nsc7/SXjjiM8FnCtTVbOvlpzL4AR2dHQQwEfsDStrR agLVGgSZuoEAun6r0wLppEQ7o55hgsckdUAJwL97BLQyx0L6difS5Yj10AbgOSGugFoT oNDaZW4LbP72Tug7oPdX6MClHa4oK5+0DCh4BFHD738H7bp4cU2I1fazULMV2BMoErmC g74t3BlVe+ZCYYddqwA17Nb7ELAIC4BFHDrR7HaO0oDcpnP+uxfU7cclh/9fbPOTHwer hx3Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="O6TWtE/A"; 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 z15si114649edd.431.2019.10.08.13.50.32; Tue, 08 Oct 2019 13:50:55 -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="O6TWtE/A"; 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 S1731224AbfJHUsd (ORCPT + 99 others); Tue, 8 Oct 2019 16:48:33 -0400 Received: from fllv0015.ext.ti.com ([198.47.19.141]:43394 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731214AbfJHUsc (ORCPT ); Tue, 8 Oct 2019 16:48:32 -0400 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id x98KmLx7092487; Tue, 8 Oct 2019 15:48:21 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1570567701; bh=Q6v3ZsELVVFaq45xRxLW4voHJAlhEXxHc1kVNsr3mZg=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=O6TWtE/AfSr/Kk9AisDUL86VVBfXbzMkWIgnDn44HEFNiZ5lwgzto4aFABMjPePrd XODG7Xw4v+yuDzY7J4EwFEnZzCYn7eCNu7ueW6nq8QkdUq/ZPYr9ObafjnkpY8/p3Z RwemZD+idfNvilrmISB9WjJz0geuWGNiRah4kRQk= Received: from DFLE112.ent.ti.com (dfle112.ent.ti.com [10.64.6.33]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTP id x98KmLvS110731; Tue, 8 Oct 2019 15:48:21 -0500 Received: from DFLE108.ent.ti.com (10.64.6.29) by DFLE112.ent.ti.com (10.64.6.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Tue, 8 Oct 2019 15:48:18 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) by DFLE108.ent.ti.com (10.64.6.29) 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, 8 Oct 2019 15:48:18 -0500 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 x98KmKqG066679; Tue, 8 Oct 2019 15:48:21 -0500 From: Dan Murphy To: , CC: , , Dan Murphy , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team Subject: [PATCH v11 10/16] ARM: dts: imx6dl-yapp4: Add reg property to the lp5562 channel node Date: Tue, 8 Oct 2019 15:47:54 -0500 Message-ID: <20191008204800.19870-11-dmurphy@ti.com> X-Mailer: git-send-email 2.22.0.214.g8dca754b1e In-Reply-To: <20191008204800.19870-1-dmurphy@ti.com> References: <20191008204800.19870-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