Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp766895pxa; Wed, 12 Aug 2020 12:53:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwod5LSdAMHPKe/femoMJsLxRhWVXwQx07ePmH9UQNW0SXVrNjzVBqzNWNY28efXjJdduir X-Received: by 2002:aa7:ca54:: with SMTP id j20mr1542317edt.270.1597262000685; Wed, 12 Aug 2020 12:53:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597262000; cv=none; d=google.com; s=arc-20160816; b=jMsrdkPh1PnsJmGe4WROo+4NZsLIn2cKEnGDs3sDqAAvF+dwItPdNMpPlKWETNKNCe 5A5ZY4DcnHLkWwVI7w+m8A+KiI67z5tTjYMZIHwbd1DHWvrFEwTqskBfzzLcoDLZ2f0H hPxJ7V4baCi/kb9eo58xNdIOZye3tw0aYg5ztMEF0azGNFJNM0Jt40zxu4IMr4gdIFB5 LP5+uWTgV2yMHq491xVPbO3ovnKXc+nJ+S9TIXevEwHZED6Alo0NWMHuKVDpMfT23SDV WrwcmJKVYb5WkaTkDwcBAisdJYQP0/FKAZs1KGr0onDubdnbb/XD9KY0gbtgEOLS1xQS q8eA== 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=5DtYodbcELFvKoyVfWIDGdKf8jLd3lr9u9RLJrv6ZxA=; b=EY6BG9p3MpaLQv8w/sEPmCtu22rdW2MsEfWZtFYvSi6XOTw9KUz8RghlueBbqMugCz ROOcPj8PKak9drwNkR9MygvahLBersOHncJ4p+vfXqFgL3oFLGlDn9drcNQlQ2lH1UCd QFWy7n2EYNf/mHua74l9jR+uj7iL5cQQ6uo5IwLNm/GNerVrEhZtcraRFxugtr/rz6S+ JArxj5irLg4mZ5cBV0k9hhjCUZvb3QHvmqoEPJD1gdRzJkJD6sQ1i51bFUHc71JnGqc8 1hvYvNUgKVqctbttQFpqjDcVNAmJr46kBRwLwj/W8XdbFcbnITwWn5VquFbk1sewblgH Yn7Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="Yy0O/4F0"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id v19si1882975ejf.83.2020.08.12.12.52.57; Wed, 12 Aug 2020 12:53:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="Yy0O/4F0"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1726786AbgHLTvO (ORCPT + 99 others); Wed, 12 Aug 2020 15:51:14 -0400 Received: from fllv0015.ext.ti.com ([198.47.19.141]:51570 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726639AbgHLTvG (ORCPT ); Wed, 12 Aug 2020 15:51:06 -0400 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 07CJoque048116; Wed, 12 Aug 2020 14:50:52 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1597261852; bh=5DtYodbcELFvKoyVfWIDGdKf8jLd3lr9u9RLJrv6ZxA=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=Yy0O/4F0Uv6NdHRgGj4vlQfkKThq/zImKb+p+/ZN9D7LX3e09KnHZhyjAMmcIjEQq yRNocdJGGgIDknFtCaY9+XkRAGF3iYVmoUIpGzxmgOV3mYH6aGRCbj8ru5yNbEpewV x4HaNNK/ofC8x1iAlkWPpqb2tyrUviczPe9kJZWs= Received: from DLEE113.ent.ti.com (dlee113.ent.ti.com [157.170.170.24]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 07CJoqeQ048977 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 12 Aug 2020 14:50:52 -0500 Received: from DLEE115.ent.ti.com (157.170.170.26) by DLEE113.ent.ti.com (157.170.170.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3; Wed, 12 Aug 2020 14:50:52 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DLEE115.ent.ti.com (157.170.170.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3 via Frontend Transport; Wed, 12 Aug 2020 14:50:52 -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 07CJoqJB110063; Wed, 12 Aug 2020 14:50:52 -0500 From: Dan Murphy To: , , , CC: , , , , Dan Murphy , Linus Walleij Subject: [PATCH v33 6/6] ARM: dts: ste-href: Add reg property to the LP5521 channel nodes Date: Wed, 12 Aug 2020 14:50:20 -0500 Message-ID: <20200812195020.13568-7-dmurphy@ti.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200812195020.13568-1-dmurphy@ti.com> References: <20200812195020.13568-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 accommodate the multicolor framework. In addition to the accommodation 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: Linus Walleij Acked-by: Pavel Machek --- arch/arm/boot/dts/ste-href.dtsi | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/arch/arm/boot/dts/ste-href.dtsi b/arch/arm/boot/dts/ste-href.dtsi index 33e3b0b3c53d..ff47cbf6ed3b 100644 --- a/arch/arm/boot/dts/ste-href.dtsi +++ b/arch/arm/boot/dts/ste-href.dtsi @@ -58,16 +58,21 @@ lp5521@33 { reg = <0x33>; label = "lp5521_pri"; clock-mode = /bits/ 8 <2>; - chan0 { + #address-cells = <1>; + #size-cells = <0>; + chan@0 { + reg = <0>; led-cur = /bits/ 8 <0x2f>; max-cur = /bits/ 8 <0x5f>; linux,default-trigger = "heartbeat"; }; - chan1 { + chan@1 { + reg = <1>; led-cur = /bits/ 8 <0x2f>; max-cur = /bits/ 8 <0x5f>; }; - chan2 { + chan@2 { + reg = <2>; led-cur = /bits/ 8 <0x2f>; max-cur = /bits/ 8 <0x5f>; }; @@ -77,15 +82,20 @@ lp5521@34 { reg = <0x34>; label = "lp5521_sec"; clock-mode = /bits/ 8 <2>; - chan0 { + #address-cells = <1>; + #size-cells = <0>; + chan@0 { + reg = <0>; led-cur = /bits/ 8 <0x2f>; max-cur = /bits/ 8 <0x5f>; }; - chan1 { + chan@1 { + reg = <1>; led-cur = /bits/ 8 <0x2f>; max-cur = /bits/ 8 <0x5f>; }; - chan2 { + chan@2 { + reg = <2>; led-cur = /bits/ 8 <0x2f>; max-cur = /bits/ 8 <0x5f>; }; -- 2.28.0