From patchwork Wed Sep 25 17:46:13 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dan Murphy X-Patchwork-Id: 174385 Delivered-To: patch@linaro.org Received: by 2002:a92:7e96:0:0:0:0:0 with SMTP id q22csp944121ill; Wed, 25 Sep 2019 10:41:25 -0700 (PDT) X-Google-Smtp-Source: APXvYqwjguEl0ysRw0MRqA12Mj0PKowUk+UKr5b9YvjQVkX8P9O+lmMwPSvNa8sd9Lv1xLLfzq9N X-Received: by 2002:a50:ea8c:: with SMTP id d12mr4305564edo.87.1569433285052; Wed, 25 Sep 2019 10:41:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569433285; cv=none; d=google.com; s=arc-20160816; b=Vrb2MSiqjo21H+pcCxAyhK3C/4oDqYt5bqKK7VsbK1u0zDEU1maz3D9aT74M+0GcRZ mxstT+QqOhXkP2pvI0Y7IbGeTrKYY79MJQj00sbnbiSKs+L7Hz6/bDJGmJXZM7EBEfs9 4DXeuFo2+GLhDYYRrKDZDVf1wEdb0jVizchA6/tH/z9OXWLbKGOr2KuDT1vzVecEWOSW so26bvZxh6QLI0W260G+hBm8eOZ3HktacqPmJERRjq52xaPNf42Cw3wvombbKM5bJKG+ YGtg08x5AdmE6qzb83RdcJ0hqUvF1Njbgu7mqJeIsRDl3y0pyvgBFcNUkuJrCwz24gFC ZB2Q== 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=EPbqHA/c+RVAouFQXrEEumDeJCi8coY2PPUxco2wRWU=; b=tTFpHgyJlvSXo4QWXYVhPC8hCatOmuoSeAoD9jxuRU0sYvOi6lMsS9DakYFUtM95P7 PttlezD3X96DB50T/wIs+QGxwbedGoDfDxw8lzTt5jB9to28VbfaWC+xV25nuR7FELUO 1nrYIH4XAtKMNAmqQpNTvEQeON7inHYPWB+DHa5z4GzIP2rbE9QNB28+/lwuPwhBBI1u 3t/2FcyuHZziaFdihpjzoI4yyD9pU96X+GAJOjMQXvxcx6kr/+9HIeB+lqOM4xZ61zBB xH9pPyQKvAmkazAM3LlZE5LsVTYGfozgVH+gijmNXKLz7aJ9bQLCK8cKLNdA6DHgwJMb wsjQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="eRuIkYa/"; spf=pass (google.com: best guess record for domain of linux-leds-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-leds-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 f14si3587319edt.92.2019.09.25.10.41.24; Wed, 25 Sep 2019 10:41:25 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-leds-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="eRuIkYa/"; spf=pass (google.com: best guess record for domain of linux-leds-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-leds-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 S2443071AbfIYRlX (ORCPT + 1 other); Wed, 25 Sep 2019 13:41:23 -0400 Received: from lelv0143.ext.ti.com ([198.47.23.248]:36234 "EHLO lelv0143.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2443056AbfIYRlW (ORCPT ); Wed, 25 Sep 2019 13:41:22 -0400 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id x8PHfHCa037358; Wed, 25 Sep 2019 12:41:17 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1569433277; bh=EPbqHA/c+RVAouFQXrEEumDeJCi8coY2PPUxco2wRWU=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=eRuIkYa/P+3e9FY/8lH4B+Mm0XVrpamsEwuFd7DYHXUyv0DfhE84hVOBP99Jka1Le 4J1kqZwctJqTMes4p24fU3W62A0Cvv9w3G7ZcxH4vxQCb8kz53SiH9xo0ECnfvQ0oO 9Ue16JX6bWAGzxbEQac/ia7foV3dwoW6yZSqR3ek= Received: from DLEE108.ent.ti.com (dlee108.ent.ti.com [157.170.170.38]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x8PHfHkB000366 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 25 Sep 2019 12:41:17 -0500 Received: from DLEE111.ent.ti.com (157.170.170.22) 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; Wed, 25 Sep 2019 12:41:10 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DLEE111.ent.ti.com (157.170.170.22) 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:10 -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 x8PHfHvn073797; Wed, 25 Sep 2019 12:41:17 -0500 From: Dan Murphy To: , CC: , , Dan Murphy , Linus Walleij Subject: [PATCH v9 12/15] ARM: dts: ste-href: Add reg property to the LP5521 channel nodes Date: Wed, 25 Sep 2019 12:46:13 -0500 Message-ID: <20190925174616.3714-13-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-leds-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-leds@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: Linus Walleij --- arch/arm/boot/dts/ste-href.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) -- 2.22.0.214.g8dca754b1e diff --git a/arch/arm/boot/dts/ste-href.dtsi b/arch/arm/boot/dts/ste-href.dtsi index 6422c53f2046..46a7dfa20a2e 100644 --- a/arch/arm/boot/dts/ste-href.dtsi +++ b/arch/arm/boot/dts/ste-href.dtsi @@ -56,16 +56,21 @@ reg = <0x33>; label = "lp5521_pri"; clock-mode = /bits/ 8 <2>; + #address-cells = <1>; + #size-cells = <0>; chan0 { + reg = <0>; led-cur = /bits/ 8 <0x2f>; max-cur = /bits/ 8 <0x5f>; linux,default-trigger = "heartbeat"; }; chan1 { + reg = <1>; led-cur = /bits/ 8 <0x2f>; max-cur = /bits/ 8 <0x5f>; }; chan2 { + reg = <2>; led-cur = /bits/ 8 <0x2f>; max-cur = /bits/ 8 <0x5f>; }; @@ -75,15 +80,20 @@ reg = <0x34>; label = "lp5521_sec"; clock-mode = /bits/ 8 <2>; + #address-cells = <1>; + #size-cells = <0>; chan0 { + reg = <0>; led-cur = /bits/ 8 <0x2f>; max-cur = /bits/ 8 <0x5f>; }; chan1 { + reg = <1>; led-cur = /bits/ 8 <0x2f>; max-cur = /bits/ 8 <0x5f>; }; chan2 { + reg = <2>; led-cur = /bits/ 8 <0x2f>; max-cur = /bits/ 8 <0x5f>; };