Message ID | 20240206185400.596979-2-aren@peacevolution.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-55532-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:168b:b0:106:860b:bbdd with SMTP id ma11csp1758930dyb; Tue, 6 Feb 2024 11:10:36 -0800 (PST) X-Google-Smtp-Source: AGHT+IGL1V/NytKUhyV1796NrlW71AKLoECi+n+h0lEJBsJyba0l+GpK0HfwX51gbmRCahlWDBjJ X-Received: by 2002:a05:6a20:be93:b0:19e:986d:c16a with SMTP id gf19-20020a056a20be9300b0019e986dc16amr1904361pzb.9.1707246636693; Tue, 06 Feb 2024 11:10:36 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707246636; cv=pass; d=google.com; s=arc-20160816; b=rld/gzIgV1g/M6iPW/gcyu1diHI0Os+XfGj7KTTdW46Q6U+qqqrNhkdSfsGBZ3XgZB A65XVMg/FdfjWQLESCW70Xi95JUK+Xl5yKFEsTmcMaK+TgyV2FtdBcita0KaJyayjWuz M4Tl8hTFxnV0wSXEBxR+jhlqStWIME94YwWSwpQex6Cc+K0/Xkrq//FKjkfNvXi7Diof vfCfoN9EO1gKi1Sk3ow7qdoBVPz4aYYMQ/Te4764YHOde0PWDLXVfYG7wiU8yzy2O9Dy dNiy8mZA4l2ywmnUxM25N8qLccGoc841h6uKkNmS172ApqztumaqTcnoMuvhiUYqsOuZ RmIg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=dkim-signature:content-transfer-encoding:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:references :in-reply-to:message-id:date:subject:cc:to:from; bh=WNZ4KASkiwSJG0vvqKpuM1/sq6GRaWdR1H4ZY5MyEjM=; fh=UTSnUTbKup4N5G0Wfq4gxqHuq/BuUnYUrdEChzdT0h8=; b=taS6unV8Bwfdzq5rxrA5JLU4fgxJ2qchlXBzf0S+TgnJU5H02OcK+zZ9ZaWRpgUgMR afOys9d0wSVjesHeXM+/hDRSrwxdPOEwsGA+MhUBzTJ7sXPCNbCLR8qgz0VQj7Q+Zdds t482bXMkttaqvOUUzfQsbic9hScGJFJ+FFLARKwHQCxmV4a50te5huBnZJa096vmI0EZ J0hIxJBGCEpJ6fQx2o0UJLyZK7rlAZk9iQQYOHGyJhGXcyIg8W4hiGWOjuBQ1UzDDcjn YLc8LzEl+yYkug52I3a5v+f6XoT9NGILtacK4ROY0jv0t4f+CImDIuVeJfr1/gFZD8bN c0Mw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@peacevolution.org header.s=dkim header.b=Qay1spRg; arc=pass (i=1 spf=pass spfdomain=peacevolution.org dkim=pass dkdomain=peacevolution.org dmarc=pass fromdomain=peacevolution.org); spf=pass (google.com: domain of linux-kernel+bounces-55532-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-55532-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=peacevolution.org X-Forwarded-Encrypted: i=1; AJvYcCVm3Ytkav/SO4CNRJwoYqDzk6NENWPrETbSrszfVuSSaDwUHXFCQi7jpoDa42bki/K0FDqxcjq6IxoXGJVydbQMsAUYzw== Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id p24-20020a63c158000000b005d988899a4dsi2133513pgi.526.2024.02.06.11.10.36 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Feb 2024 11:10:36 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-55532-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@peacevolution.org header.s=dkim header.b=Qay1spRg; arc=pass (i=1 spf=pass spfdomain=peacevolution.org dkim=pass dkdomain=peacevolution.org dmarc=pass fromdomain=peacevolution.org); spf=pass (google.com: domain of linux-kernel+bounces-55532-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-55532-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=peacevolution.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id C4AF128A1D7 for <ouuuleilei@gmail.com>; Tue, 6 Feb 2024 19:04:32 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 40F521804F; Tue, 6 Feb 2024 19:03:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=peacevolution.org header.i=@peacevolution.org header.b="Qay1spRg" Received: from a.peacevolution.org (a.peacevolution.org [206.189.193.133]) (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 212F517BBB; Tue, 6 Feb 2024 19:03:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=206.189.193.133 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707246194; cv=none; b=mR+IjiY7D+r+VPC71lMjrOS/HB1u19EpY0pRYTmPIrufzm0FQOOHD1IBwRLxacI8BYCME1aEjNRYijZhJ+0Y9RxVglrKFiiGx795ig/vVR1Mcxc8W8Eq4TQbeO4UDK1pFK8GZpTvXOL8Q53DzZA0/kot//6ZipXPATmVYfJtJG4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707246194; c=relaxed/simple; bh=KSqF8dieENTc/5z9k3ogdmL+5L1K6aVKAxTyRVVL7t8=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=nX5yZbMvSlpJ2C5y5GRPC/YCpqUdEtItP9fB+yq2BL4sA8pGZ5LssRQledBCzmBQOuY+y6se1sAMuBWQrjCxuQvCpgvtN25v3QB0wrXj30VZgEFssS4Jov3DzORxKr9+SmYKThmCeNquQ4H8BY/DlS0+3WiBUDsTRFHts6WHBrA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=peacevolution.org; spf=pass smtp.mailfrom=peacevolution.org; dkim=pass (1024-bit key) header.d=peacevolution.org header.i=@peacevolution.org header.b=Qay1spRg; arc=none smtp.client-ip=206.189.193.133 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=peacevolution.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=peacevolution.org Received: from authenticated-user (PRIMARY_HOSTNAME [PUBLIC_IP]) by a.peacevolution.org (Postfix) with ESMTPA id 296BC4583E; Tue, 6 Feb 2024 19:03:11 +0000 (UTC) From: Aren Moynihan <aren@peacevolution.org> To: linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Rob Herring <robh+dt@kernel.org>, devicetree@vger.kernel.org, Jean-Jacques Hiblot <jjhiblot@traphandler.com>, Chen-Yu Tsai <wens@csie.org>, Ondrej Jirman <megi@xff.cz>, linux-sunxi@lists.linux.dev, Lee Jones <lee@kernel.org>, Pavel Machek <pavel@ucw.cz>, linux-arm-kernel@lists.infradead.org, Jernej Skrabec <jernej.skrabec@gmail.com>, linux-leds@vger.kernel.org, Conor Dooley <conor+dt@kernel.org>, Miles Alan <m@milesalan.com>, Samuel Holland <samuel@sholland.org>, Aren Moynihan <aren@peacevolution.org> Subject: [PATCH v2 2/4] arm64: dts: sun50i-a64-pinephone: Retain leds state in suspend Date: Tue, 6 Feb 2024 13:13:18 -0500 Message-ID: <20240206185400.596979-2-aren@peacevolution.org> In-Reply-To: <20240206185400.596979-1-aren@peacevolution.org> References: <20240206185400.596979-1-aren@peacevolution.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Authentication-Results: auth=pass smtp.auth=aren@peacevolution.org smtp.mailfrom=aren@peacevolution.org X-Spam-Level: ** X-Spamd-Bar: ++ DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=peacevolution.org; s=dkim; t=1707246192; h=from:subject:date:message-id:to:cc:mime-version:content-transfer-encoding:in-reply-to:references; bh=WNZ4KASkiwSJG0vvqKpuM1/sq6GRaWdR1H4ZY5MyEjM=; b=Qay1spRgP5aYmwraoePTBh1gHtxv4woB4OpvvJT/IepoaKK8/tna3jZi6Ndm2hDTISODVp NEU5LCHZhMUB6vFi/zUKgxcw25TjByiWhfS3UdVqelmgxATldyhHfqgPBaAhHbJ3DJn8/7 7AiPnQangsdH4xDHRe6J5tp+zwHNbog= X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790177849650344629 X-GMAIL-MSGID: 1790177849650344629 |
Series |
[v2,1/4] leds: rgb: leds-group-multicolor: allow leds to stay on in suspend
|
|
Commit Message
Aren
Feb. 6, 2024, 6:13 p.m. UTC
From: Miles Alan <m@milesalan.com> Allows user to set a led before entering suspend to know that the phone is still on (or could be used for notifications etc.) Signed-off-by: Miles Alan <m@milesalan.com> Signed-off-by: Ondrej Jirman <megi@xff.cz> Signed-off-by: Aren Moynihan <aren@peacevolution.org> Reviewed-by: Jernej Skrabec <jernej.skrabec@gmail.com> --- (no changes since v1) arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi index 87847116ab6d..ad2476ee01e4 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi @@ -43,18 +43,21 @@ led-0 { function = LED_FUNCTION_INDICATOR; color = <LED_COLOR_ID_BLUE>; gpios = <&pio 3 20 GPIO_ACTIVE_HIGH>; /* PD20 */ + retain-state-suspended; }; led-1 { function = LED_FUNCTION_INDICATOR; color = <LED_COLOR_ID_GREEN>; gpios = <&pio 3 18 GPIO_ACTIVE_HIGH>; /* PD18 */ + retain-state-suspended; }; led-2 { function = LED_FUNCTION_INDICATOR; color = <LED_COLOR_ID_RED>; gpios = <&pio 3 19 GPIO_ACTIVE_HIGH>; /* PD19 */ + retain-state-suspended; }; };