Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp3561167ybg; Mon, 28 Oct 2019 15:00:52 -0700 (PDT) X-Google-Smtp-Source: APXvYqxt8nSQAJIXbcqXMR0oXmQKIbJTtcHzMnO6RrjwsMGj9anEb67jX+JxwIjOZqoBwkYm8At9 X-Received: by 2002:a50:f40c:: with SMTP id r12mr22288487edm.50.1572300052709; Mon, 28 Oct 2019 15:00:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572300052; cv=none; d=google.com; s=arc-20160816; b=GSnmy5JNPSimyaybEAvGLlZVyKKzmMdUrdH7EP5Qr5pxQlgmkfKw92D2aEcVpHxOgJ Q/HjO7MoNv4W0Wsyp8Kty2nC/63xZlNwT2tU5Q7ZqBHIw945+Q82H9n5c08Vu3K1xanV EP6VPdoiSDxecC6xu2IEwTfEINdt2vHDpiRqY396ftxPZdVbqUCe5XE22rwv92EbKJlP 8MYktm6r/W6d2/tQ+CvX4Gk0B/lWcRO0qSwCA6A0cuMt3ZMl0hBgyDce9kI7NYG9hv7i m+z1/JaBOQ2vRyK5gwXyYl/Zbw3aneInt2/PnrxzK5tN2SsoIWysGhvNixSsmKJ+Qn9T DNxA== 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=IhBf76ZkV825gD29NdnMc9uoR76ENOTa4bPn385iiJ0=; b=VSH6933FgBm69/VPE3H7oF60WquJEbRuZYL8Y/kZoGivoknaWdaHMn6AXgd8Nrulhc 0UQO5ogIZNSV1NNtsb1JTpmy7hk42sS7M9A9r0AZqE/grBHsnNc9jLjpTUQX1SeVJ/N+ H8D1jPzV57RBJ1LWeeYR/7porWnq1DTqkxG1exfrn+5h+hAjsF7ZVNSTN1n5R4OoifIr LS4iDAjq8tKsl9/UvI+Z6ngdbVs48nHYEBjkVKf/ZZVZ67Tc7G1H/h/XXphFTy2StFRU QO/XMSf5DVcjN2ByiWGhIrOX1vecvj8MOM4sJ7/PcjonhM4SPRYgpqec4ysvTRcf8/Ex DJhw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=M0RkyBYu; 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 u12si9823376edi.326.2019.10.28.15.00.27; Mon, 28 Oct 2019 15:00:52 -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=M0RkyBYu; 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 S1727417AbfJ1SiN (ORCPT + 99 others); Mon, 28 Oct 2019 14:38:13 -0400 Received: from fllv0016.ext.ti.com ([198.47.19.142]:38568 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726876AbfJ1SiN (ORCPT ); Mon, 28 Oct 2019 14:38:13 -0400 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id x9SIc7oI017049; Mon, 28 Oct 2019 13:38:07 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1572287887; bh=IhBf76ZkV825gD29NdnMc9uoR76ENOTa4bPn385iiJ0=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=M0RkyBYuwSEP872xxZtxn5EBZwTUDD4HNd8P7WtHs2eyE8He3YKCglxCjCqyghi4W fCQRswGe1o9+lidkm3O8ooUWqBS5U++g7BZ/yjfi4sSdufbObMtOaeRGznCpcS/6je qKdxqTHbD1jmwaq3F+JMmxGFNZ65O9zJ39LZzgD0= Received: from DLEE108.ent.ti.com (dlee108.ent.ti.com [157.170.170.38]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x9SIc6cj103206 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 28 Oct 2019 13:38:07 -0500 Received: from DLEE108.ent.ti.com (157.170.170.38) by DLEE108.ent.ti.com (157.170.170.38) 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:37:54 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DLEE108.ent.ti.com (157.170.170.38) 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:37:54 -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 x9SIc67g056418; Mon, 28 Oct 2019 13:38:06 -0500 From: Dan Murphy To: , CC: , , Dan Murphy , Tony Lindgren , =?UTF-8?q?Beno=C3=AEt=20Cousson?= Subject: [PATCH v15 09/19] ARM: dts: n900: Add reg property to the LP5523 channel node Date: Mon, 28 Oct 2019 13:36:19 -0500 Message-ID: <20191028183629.11779-10-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-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit 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 Acked-by: Tony Lindgren CC: Tony Lindgren CC: "BenoƮt Cousson" --- arch/arm/boot/dts/omap3-n900.dts | 29 ++++++++++++++++++++--------- 1 file changed, 20 insertions(+), 9 deletions(-) diff --git a/arch/arm/boot/dts/omap3-n900.dts b/arch/arm/boot/dts/omap3-n900.dts index 84a5ade1e865..643f35619246 100644 --- a/arch/arm/boot/dts/omap3-n900.dts +++ b/arch/arm/boot/dts/omap3-n900.dts @@ -607,63 +607,74 @@ }; lp5523: lp5523@32 { + #address-cells = <1>; + #size-cells = <0>; compatible = "national,lp5523"; reg = <0x32>; clock-mode = /bits/ 8 <0>; /* LP55XX_CLOCK_AUTO */ enable-gpio = <&gpio2 9 GPIO_ACTIVE_HIGH>; /* 41 */ - chan0 { + chan@0 { chan-name = "lp5523:kb1"; led-cur = /bits/ 8 <50>; max-cur = /bits/ 8 <100>; + reg = <0>; }; - chan1 { + chan@1 { chan-name = "lp5523:kb2"; led-cur = /bits/ 8 <50>; max-cur = /bits/ 8 <100>; + reg = <1>; }; - chan2 { + chan@2 { chan-name = "lp5523:kb3"; led-cur = /bits/ 8 <50>; max-cur = /bits/ 8 <100>; + reg = <2>; }; - chan3 { + chan@3 { chan-name = "lp5523:kb4"; led-cur = /bits/ 8 <50>; max-cur = /bits/ 8 <100>; + reg = <3>; }; - chan4 { + chan@4 { chan-name = "lp5523:b"; led-cur = /bits/ 8 <50>; max-cur = /bits/ 8 <100>; + reg = <4>; }; - chan5 { + chan@5 { chan-name = "lp5523:g"; led-cur = /bits/ 8 <50>; max-cur = /bits/ 8 <100>; + reg = <5>; }; - chan6 { + chan@6 { chan-name = "lp5523:r"; led-cur = /bits/ 8 <50>; max-cur = /bits/ 8 <100>; + reg = <6>; }; - chan7 { + chan@7 { chan-name = "lp5523:kb5"; led-cur = /bits/ 8 <50>; max-cur = /bits/ 8 <100>; + reg = <7>; }; - chan8 { + chan@8 { chan-name = "lp5523:kb6"; led-cur = /bits/ 8 <50>; max-cur = /bits/ 8 <100>; + reg = <8>; }; }; -- 2.22.0.214.g8dca754b1e