Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp3978557pxb; Tue, 25 Jan 2022 00:30:35 -0800 (PST) X-Google-Smtp-Source: ABdhPJwsP4wgPCIf2l4njSTfwKxxxbBlWv06T2VnCN2cx/rcl7KffbiMCPt1XWJc5K8Yy7BSFI1d X-Received: by 2002:a17:90b:1b4b:: with SMTP id nv11mr2417816pjb.193.1643099434998; Tue, 25 Jan 2022 00:30:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643099434; cv=none; d=google.com; s=arc-20160816; b=zBCfXvgS4lROe2R2PGUo9kpafP89XfTXEHsY9RlhTK3iSIuUhlPuADw9iiX0mOIzB/ DTWeDWUfav91kFUhDYMBVGmuoExdGPOK12lpQHRxG9lx+W616W04sTaMvweWFaOlNzxz fXjiMkhwRii76asbKfUjAu3Yb44jAqG0v6K3iDnTY7FHqXtAsF2yJiHYgcOllo1U7GGH 22ZW4FG3a1G0DNWvUbjPBL4b5ZePoP+k6ZfTBTNFOebJ/yQIaqBphZJSBX89aDyfg4PL san4sm8G292mVtOC9C8pVwO/7Nkp83bpKSQGtWg/TAfNDx65DiXkKKFRzel2v4UfH8c6 ItoA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=VDs1F9jUtlaLhuDNco1xBftRMa8lcyuUAMVX8xGgatI=; b=KbD/rh0cxCo7ziz0EDRXcoD6PlRLW6CMXLyjr2xEY15pZjEHZhGpPOGchTA+/0zDv1 u3SK4zMTh09FsSUj2bvvSNPfCcsRIasm3VdMl9VvmX36pivMmPQjQsYPwfsgEuJUxf7D YgeHawdJGCvdj92JS4yEwWvBTUpvhWOjlrCvxqO0Ij1Ijrot/Zn/Rqziy7PKkvoAe+9I YmL/nBmtgAgquUZ7qWRN0fX151YRsPnNp+Drh1XoZeDA+4BofZFb+rxaVMYPyKTERAeZ +wa06Gk9Hs9+16/DMKQBFlW8OWLuC0+6dtKh4Xp6imiIZrfL4fGfSNKW+M/0CK22LIoc hJ8Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=ACdPH7SV; 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=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j191si11512453pge.528.2022.01.25.00.30.23; Tue, 25 Jan 2022 00:30:34 -0800 (PST) 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=@linuxfoundation.org header.s=korg header.b=ACdPH7SV; 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=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S3410355AbiAYCm7 (ORCPT + 99 others); Mon, 24 Jan 2022 21:42:59 -0500 Received: from ams.source.kernel.org ([145.40.68.75]:37874 "EHLO ams.source.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1382785AbiAXUck (ORCPT ); Mon, 24 Jan 2022 15:32:40 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id B8B3EB811F9; Mon, 24 Jan 2022 20:32:38 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id ED9A6C340E7; Mon, 24 Jan 2022 20:32:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1643056357; bh=qVTsRmkfHHvtcYhP+AfBxHTCm0Hpp40vXIcFjCKm+lI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ACdPH7SVTfYQySczm/6iwHLto0QBOmhwgY9zPGLPpiCmMynO1HnzOATB3brgA+oDU x+OPh+JPWC2XnVvvDB6Xu+CXl5TXjkHGPSm8hlX2IAnG3eBCMtABodSDvMzJ7tNA5j +5ArpqqC05FUsi00ax0F3dne4KqByhooTvRxQOyw= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Merlijn Wajer , "Sicelo A. Mhlongo" , Pavel Machek , Sasha Levin Subject: [PATCH 5.15 457/846] ARM: dts: omap3-n900: Fix lp5523 for multi color Date: Mon, 24 Jan 2022 19:39:34 +0100 Message-Id: <20220124184116.738683164@linuxfoundation.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220124184100.867127425@linuxfoundation.org> References: <20220124184100.867127425@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Sicelo A. Mhlongo [ Upstream commit e9af026a3b24f59d7af4609f73e0ef60a4d6d516 ] Since the LED multicolor framework support was added in commit 92a81562e695 ("leds: lp55xx: Add multicolor framework support to lp55xx") LEDs on this platform stopped working. Fixes: 92a81562e695 ("leds: lp55xx: Add multicolor framework support to lp55xx") Fixes: ac219bf3c9bd ("leds: lp55xx: Convert to use GPIO descriptors") Signed-off-by: Merlijn Wajer Signed-off-by: Sicelo A. Mhlongo Signed-off-by: Pavel Machek Signed-off-by: Sasha Levin --- arch/arm/boot/dts/omap3-n900.dts | 50 +++++++++++++++++++++++++------- 1 file changed, 40 insertions(+), 10 deletions(-) diff --git a/arch/arm/boot/dts/omap3-n900.dts b/arch/arm/boot/dts/omap3-n900.dts index 32335d4ce478b..d40c3d2c4914e 100644 --- a/arch/arm/boot/dts/omap3-n900.dts +++ b/arch/arm/boot/dts/omap3-n900.dts @@ -8,6 +8,7 @@ #include "omap34xx.dtsi" #include +#include /* * Default secure signed bootloader (Nokia X-Loader) does not enable L3 firewall @@ -630,63 +631,92 @@ }; 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 */ + enable-gpios = <&gpio2 9 GPIO_ACTIVE_HIGH>; /* 41 */ - chan0 { + led@0 { + reg = <0>; chan-name = "lp5523:kb1"; led-cur = /bits/ 8 <50>; max-cur = /bits/ 8 <100>; + color = ; + function = LED_FUNCTION_KBD_BACKLIGHT; }; - chan1 { + led@1 { + reg = <1>; chan-name = "lp5523:kb2"; led-cur = /bits/ 8 <50>; max-cur = /bits/ 8 <100>; + color = ; + function = LED_FUNCTION_KBD_BACKLIGHT; }; - chan2 { + led@2 { + reg = <2>; chan-name = "lp5523:kb3"; led-cur = /bits/ 8 <50>; max-cur = /bits/ 8 <100>; + color = ; + function = LED_FUNCTION_KBD_BACKLIGHT; }; - chan3 { + led@3 { + reg = <3>; chan-name = "lp5523:kb4"; led-cur = /bits/ 8 <50>; max-cur = /bits/ 8 <100>; + color = ; + function = LED_FUNCTION_KBD_BACKLIGHT; }; - chan4 { + led@4 { + reg = <4>; chan-name = "lp5523:b"; led-cur = /bits/ 8 <50>; max-cur = /bits/ 8 <100>; + color = ; + function = LED_FUNCTION_STATUS; }; - chan5 { + led@5 { + reg = <5>; chan-name = "lp5523:g"; led-cur = /bits/ 8 <50>; max-cur = /bits/ 8 <100>; + color = ; + function = LED_FUNCTION_STATUS; }; - chan6 { + led@6 { + reg = <6>; chan-name = "lp5523:r"; led-cur = /bits/ 8 <50>; max-cur = /bits/ 8 <100>; + color = ; + function = LED_FUNCTION_STATUS; }; - chan7 { + led@7 { + reg = <7>; chan-name = "lp5523:kb5"; led-cur = /bits/ 8 <50>; max-cur = /bits/ 8 <100>; + color = ; + function = LED_FUNCTION_KBD_BACKLIGHT; }; - chan8 { + led@8 { + reg = <8>; chan-name = "lp5523:kb6"; led-cur = /bits/ 8 <50>; max-cur = /bits/ 8 <100>; + color = ; + function = LED_FUNCTION_KBD_BACKLIGHT; }; }; -- 2.34.1