From patchwork Tue Oct 8 20:47:54 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dan Murphy X-Patchwork-Id: 175562 Delivered-To: patch@linaro.org Received: by 2002:a92:7e96:0:0:0:0:0 with SMTP id q22csp6206480ill; Tue, 8 Oct 2019 13:48:35 -0700 (PDT) X-Google-Smtp-Source: APXvYqxz+wWpn78wctl79ru7RmzCpP5RP36l7QTkl4/iWiVNKlxcFKehidHIJ58ToG/0lu3KuV2M X-Received: by 2002:a50:b7ed:: with SMTP id i42mr34822844ede.52.1570567715061; Tue, 08 Oct 2019 13:48:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570567715; cv=none; d=google.com; s=arc-20160816; b=ZIladBnPzzMz0zcpGYxHGFY44cPq4vSrBBF4f5PMe/Y6+9w9BtuwJTHTft3PgW9/f+ gTUM4mY5V4V4luB/vh5xtExxCbUjUaoBDho1tMoDkqY63yUmgD1Ga80Y1eNrErAy4Pfk 6xl5NBJhxl8rwAu7CThjIuR14+Ib88UolqpYn1YLsUHLRByJgir2ebpK01ifep5XfE/T HVLDbc5NwrhtGR2TgkGC1ydG8vvSsAGIuA0jypEGviWz4nucegLxkUt3QilejrXnl9Mi 8QnsVLp00Ejv59wbroRekeMJmJ+N+w6OeUGJPZy6TULA0GAgFBKEbXWUZbU7XPuYkWSH Yb2Q== 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 s27si115462edm.226.2019.10.08.13.48.34; Tue, 08 Oct 2019 13:48:35 -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 S1731229AbfJHUsd (ORCPT + 26 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 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>; }; };