Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp47701ybp; Tue, 8 Oct 2019 13:49:36 -0700 (PDT) X-Google-Smtp-Source: APXvYqxMdWFwZaeoy11eIu6R5zKHBqf4hjKzflzKtSsIEt2aJHhwoNyChOYQRKbf+8TBlprbPu6t X-Received: by 2002:a17:906:eddb:: with SMTP id sb27mr30542733ejb.304.1570567776558; Tue, 08 Oct 2019 13:49:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570567776; cv=none; d=google.com; s=arc-20160816; b=v0vpxMeOYDAL4QjQYcMXuirTdheJZX7R5Vd/3SWL9CglZkVpxEDlmUKhyvjn03uPZd E3Y1jZe7AZYlrzeiLWBUz0AzEJ742JGRmia1hszLbaBrZcVSnFNPzYJjddOeTLgDULHx /MRDekRGKKUZ4Gn4rOGSIM8ivP6MppU6IcI+l59Pv3wjWGcU7zCiKKm0IenbI7ApcqXm Texvt9ib3V0lPEz4GrzBp+aVcL9DtTk48NhlSM/LDi7Um93qTWiurPMJW26UpowQah1O eJyTvPhXhpi/nfsNF1oz5/cj9Z6wfVgbbYDSvsi/zdtlEVluy6MNw4RvpHO3EQ8woLMY ctjg== 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=0CPOm8eM1uD8XbD6J4VdzkHXSOBHZ4mtmjsY/tl59e8=; b=0uBv0kt3qMhVk5kwH39KUnGMU70WnTgByW20/uotIqeR+VFosj6ScZV74D4xKXtsJX VwemVhJBje6oqVfmOZttYt6mKTUiG1BQ/PvqEFnn9QH9CNy7Nk/b2WjQIYg8Hph++/7x Mi70p+dRpv7UVyjPn3iovLiBIJLGJTEe71X4UcvAniTAqDrE3IPKdI5rzyVQdxAoeCES GnvTLcO+cIG8uxKna2meTZ99Pf+jE/5xsyeNsa6OiIsPBW/csHA0MBS+VntVY4M6vQER AX8+B16YhDamROZX9GSPjWRc+Jd5Ie+ASYT2fLXVbY8O+H4mFv9dzpmp4bBa28I9/hN+ BS4w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="XOJv/Zsn"; 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 a14si21645eju.51.2019.10.08.13.49.13; Tue, 08 Oct 2019 13:49:36 -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="XOJv/Zsn"; 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 S1731179AbfJHUs2 (ORCPT + 99 others); Tue, 8 Oct 2019 16:48:28 -0400 Received: from lelv0142.ext.ti.com ([198.47.23.249]:45060 "EHLO lelv0142.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730720AbfJHUs0 (ORCPT ); Tue, 8 Oct 2019 16:48:26 -0400 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id x98KmLYb092695; 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=0CPOm8eM1uD8XbD6J4VdzkHXSOBHZ4mtmjsY/tl59e8=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=XOJv/ZsnSMX3NlOxuZFEV7vdaLwJ4QTAINlRrbBmV3R+bxZXda2FvAX7VKch9nkFT 7pyB/vrnn4lmTTucnphGQU5i4WhqW6zcuPzi6AX1hK3/CK5LwQOD1lv6fdVcEcjaD0 lMuoYZODiMG9j+V3XVyrpwXi8wwGMRtUi3wxpeE4= Received: from DFLE111.ent.ti.com (dfle111.ent.ti.com [10.64.6.32]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x98KmL6K027706 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 8 Oct 2019 15:48:21 -0500 Received: from DFLE108.ent.ti.com (10.64.6.29) by DFLE111.ent.ti.com (10.64.6.32) 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:20 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) 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 fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id x98KmK5j095745; Tue, 8 Oct 2019 15:48:20 -0500 From: Dan Murphy To: , CC: , , Dan Murphy , Tony Lindgren , =?UTF-8?q?Beno=C3=AEt=20Cousson?= Subject: [PATCH v11 09/16] ARM: dts: n900: Add reg property to the LP5523 channel node Date: Tue, 8 Oct 2019 15:47:53 -0500 Message-ID: <20191008204800.19870-10-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-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 CC: Tony Lindgren CC: "BenoƮt Cousson" k# interactive rebase in progress; onto ae89cc6d4a8c --- 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