From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D4F81212D21; Tue, 12 Nov 2024 10:29:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731407343; cv=none; b=CetTO6w/nupEozfJRVlHMEtXfFz7Ggk+H0rsR19O5meKr4eOKMc0XPpu5e09+30taWqxH4fotDl7GsUzAYNcbJxwXYA/KwSUlHrBmG1dS+y+40Ml6hlTsxsGljRtS5fPtrK1f3iJp/EVb+zbu+CQGK1+M0nBbg2TDxY9CZrKd+M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731407343; c=relaxed/simple; bh=PicbhKi0hBxcnl7C81+IvFU/39sPKEWsqRAlGU+iock=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=i4i6uVbXWmI2tZ74xg5a694odt4gaJtbg8ZE838TpC3cbUJGx7HmUHrDNYyiT6rYAZKSTi5+Xwiy4FkjTqaiPp51YUlLjrKtxb36hSjC+7Io4s6OIZPUqIDOTMB8LfdZhlLyUtSHoO/yzd1F1bx1LEi7EJjsZ3O/mnJDXqnf5wg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=xndEgl7B; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="xndEgl7B" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 32034C4CECD; Tue, 12 Nov 2024 10:29:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1731407343; bh=PicbhKi0hBxcnl7C81+IvFU/39sPKEWsqRAlGU+iock=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=xndEgl7Bxo6KlThNdWvmCIlXxi4z62mkEEdGKIrPbFb99QH477cUHcbhvTw3El89p k4CIde9qEo5lf88OLyho0qhyfKt51Z+xZbnnPsysb48O1HPmsXztfDBjiekRTepC7c y0oVPmjrVzSImlluzwvrVo4fqBVmHcexBncn08IA= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Andy Yan , Dragan Simic , Heiko Stuebner , Sasha Levin Subject: [PATCH 6.1 07/98] arm64: dts: rockchip: Fix LED triggers on rk3308-roc-cc Date: Tue, 12 Nov 2024 11:20:22 +0100 Message-ID: <20241112101844.549478091@linuxfoundation.org> X-Mailer: git-send-email 2.47.0 In-Reply-To: <20241112101844.263449965@linuxfoundation.org> References: <20241112101844.263449965@linuxfoundation.org> User-Agent: quilt/0.67 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.1-stable review patch. If anyone has any objections, please let me know. ------------------ From: Heiko Stuebner [ Upstream commit 3a53a7187f41ec3db12cf4c2cb0db4ba87c2f3a1 ] There are two LEDs on the board, power and user events. Currently both are assigned undocumented IR(-remote) triggers that are probably only part of the vendor-kernel. To make dtbs check happier, assign the power-led to a generic default-on trigger and the user led to the documented rc-feedback trigger that should mostly match its current usage. Fixes: 4403e1237be3 ("arm64: dts: rockchip: Add devicetree for board roc-rk3308-cc") Cc: Andy Yan Reviewed-by: Dragan Simic Signed-off-by: Heiko Stuebner Link: https://lore.kernel.org/r/20241008203940.2573684-8-heiko@sntech.de Signed-off-by: Heiko Stuebner Signed-off-by: Sasha Levin --- arch/arm64/boot/dts/rockchip/rk3308-roc-cc.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3308-roc-cc.dts b/arch/arm64/boot/dts/rockchip/rk3308-roc-cc.dts index 7ea48167747c6..70aeca428b380 100644 --- a/arch/arm64/boot/dts/rockchip/rk3308-roc-cc.dts +++ b/arch/arm64/boot/dts/rockchip/rk3308-roc-cc.dts @@ -36,14 +36,14 @@ power_led: led-0 { label = "firefly:red:power"; - linux,default-trigger = "ir-power-click"; + linux,default-trigger = "default-on"; default-state = "on"; gpios = <&gpio0 RK_PA6 GPIO_ACTIVE_HIGH>; }; user_led: led-1 { label = "firefly:blue:user"; - linux,default-trigger = "ir-user-click"; + linux,default-trigger = "rc-feedback"; default-state = "off"; gpios = <&gpio0 RK_PB2 GPIO_ACTIVE_HIGH>; }; -- 2.43.0