From patchwork Wed Sep 25 17:46:11 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Dan Murphy X-Patchwork-Id: 174395 Delivered-To: patch@linaro.org Received: by 2002:a92:7e96:0:0:0:0:0 with SMTP id q22csp944834ill; Wed, 25 Sep 2019 10:42:05 -0700 (PDT) X-Google-Smtp-Source: APXvYqzZTxuyY+pWIup78uC7k9BCgkUIeL2F21P2EqGHDBN83S6J9tnp8NeT9TzuDoQ+ysTVtLcz X-Received: by 2002:a05:6402:74c:: with SMTP id p12mr4227400edy.135.1569433324925; Wed, 25 Sep 2019 10:42:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569433324; cv=none; d=google.com; s=arc-20160816; b=AQkmbq4WFawgyDDr3xnID+ckHGp4EA73EDfR3S3nMJBC/NB3TVSmvS4Hyqdv6mh5MX D6Mv34f1hF1tEtn469wfst5PBnSQf3eIEoAVQytJolvuKlgvsR/slhb0VTzUZWlQhcl2 hKndbhZ4paNHDAVskjwp8r2G6ajCi5/nqfhahVHAFxd97p/wgGOElyhnW+a9tgEKJ/c3 0s4qM6zkfwCgMAY5sFcuRPEAsGvPgyfgqtMBU/0lOLpf8HTjSKExJYarxjFkyi48iS86 rI2son+FGeoMJxSirI82QdSFG+PH0BcT72U5+1VdiwJqVt2Wn+mkFbST8Fu2JpWHuLHJ 8sMA== 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=xD4HBPY4/QT8zDoKonALegdDM8O79lB7Al2/k2EdrEs=; b=nlfK+sUg2kClgMldk1is9fl6AuDatI0rs1Pcrf1Fbp5NCt04CFtr1NziFjzkik4+w2 f5+P0DJ+BOw+FzVdvkcbHU0WfYeDiIYXZDBxY7G72Qu72ynGy8sec2mrVz/zTJeQxe7K FDHQ0L0rIq76k3DPBxD6E6mWkjZB6xDUlgDh3sol7veMhIO5Qc8geg+w0QZE/0o66j6F AYDZHfW4A9LQUPf4vyVGo8VZCf7FVhns0fv6pEcUdf9GIPmAuURI2Rsotc71mrgtUlX4 Hd/Ymddg1wN2JAwG9V4DrYeYhIUuvZA9KVEC4oao2VAWNn2cA4qe4Z9mjxRgtNGM01yM ke4Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=CY1cmmg7; 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 r16si3496623edo.307.2019.09.25.10.42.04; Wed, 25 Sep 2019 10:42:04 -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=CY1cmmg7; 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 S2407860AbfIYRmD (ORCPT + 26 others); Wed, 25 Sep 2019 13:42:03 -0400 Received: from lelv0142.ext.ti.com ([198.47.23.249]:50760 "EHLO lelv0142.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2443055AbfIYRlV (ORCPT ); Wed, 25 Sep 2019 13:41:21 -0400 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id x8PHfGP5029466; Wed, 25 Sep 2019 12:41:16 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1569433277; bh=xD4HBPY4/QT8zDoKonALegdDM8O79lB7Al2/k2EdrEs=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=CY1cmmg7cp2esnLvQbngIa9rdFsYLs69Tak+NXRe516nvFbzvMPmg2KuJeEazSc+W ZMoRScwL6q+xlZza9Sshg0xfcL+GM45z85qn7JRRgLiKFD2UmInE4NplOkG30x525k d8g7JweohWISOOTvIOy25FQU06ov0SZNYSP00IpI= Received: from DFLE114.ent.ti.com (dfle114.ent.ti.com [10.64.6.35]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x8PHfGkf048343 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 25 Sep 2019 12:41:16 -0500 Received: from DFLE103.ent.ti.com (10.64.6.24) by DFLE114.ent.ti.com (10.64.6.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Wed, 25 Sep 2019 12:41:09 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) 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; Wed, 25 Sep 2019 12:41:16 -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 x8PHfGM9031177; Wed, 25 Sep 2019 12:41:16 -0500 From: Dan Murphy To: , CC: , , Dan Murphy , Tony Lindgren , =?utf-8?q?Beno?= =?utf-8?q?=C3=AEt_Cousson?= Subject: [PATCH v9 10/15] ARM: dts: n900: Add reg property to the LP5523 channel node Date: Wed, 25 Sep 2019 12:46:11 -0500 Message-ID: <20190925174616.3714-11-dmurphy@ti.com> X-Mailer: git-send-email 2.22.0.214.g8dca754b1e In-Reply-To: <20190925174616.3714-1-dmurphy@ti.com> References: <20190925174616.3714-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: Tony Lindgren CC: "BenoƮt Cousson" k# interactive rebase in progress; onto ae89cc6d4a8c --- arch/arm/boot/dts/omap3-n900.dts | 11 +++++++++++ 1 file changed, 11 insertions(+) -- 2.22.0.214.g8dca754b1e diff --git a/arch/arm/boot/dts/omap3-n900.dts b/arch/arm/boot/dts/omap3-n900.dts index 84a5ade1e865..e6d0a7c52c5d 100644 --- a/arch/arm/boot/dts/omap3-n900.dts +++ b/arch/arm/boot/dts/omap3-n900.dts @@ -607,6 +607,8 @@ }; lp5523: lp5523@32 { + #address-cells = <1>; + #size-cells = <0>; compatible = "national,lp5523"; reg = <0x32>; clock-mode = /bits/ 8 <0>; /* LP55XX_CLOCK_AUTO */ @@ -616,54 +618,63 @@ chan-name = "lp5523:kb1"; led-cur = /bits/ 8 <50>; max-cur = /bits/ 8 <100>; + reg = <0>; }; chan1 { chan-name = "lp5523:kb2"; led-cur = /bits/ 8 <50>; max-cur = /bits/ 8 <100>; + reg = <1>; }; chan2 { chan-name = "lp5523:kb3"; led-cur = /bits/ 8 <50>; max-cur = /bits/ 8 <100>; + reg = <2>; }; chan3 { chan-name = "lp5523:kb4"; led-cur = /bits/ 8 <50>; max-cur = /bits/ 8 <100>; + reg = <3>; }; chan4 { chan-name = "lp5523:b"; led-cur = /bits/ 8 <50>; max-cur = /bits/ 8 <100>; + reg = <4>; }; chan5 { chan-name = "lp5523:g"; led-cur = /bits/ 8 <50>; max-cur = /bits/ 8 <100>; + reg = <5>; }; chan6 { chan-name = "lp5523:r"; led-cur = /bits/ 8 <50>; max-cur = /bits/ 8 <100>; + reg = <6>; }; chan7 { chan-name = "lp5523:kb5"; led-cur = /bits/ 8 <50>; max-cur = /bits/ 8 <100>; + reg = <7>; }; chan8 { chan-name = "lp5523:kb6"; led-cur = /bits/ 8 <50>; max-cur = /bits/ 8 <100>; + reg = <8>; }; };