From patchwork Thu Aug 8 09:37:59 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: FUKAUMI Naoki X-Patchwork-Id: 13757247 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 21E37C52D71 for ; Thu, 8 Aug 2024 10:45:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=LQ3U1h+njW3FYEwqbEugSebje0MuFoRm5h1XSfxlxmA=; b=E04MQkb3laX4DG F11W+iyItrs4ThfLoDt1hoAXvKThiORvsXSHxlNmW97Mb4IDYPwNFkgg2GRu+XBaU0Wo/HMYiIVQ4 VArJFDp7AjGxTxdoEqcW4UfJr8PxkBzD758Ujha+ICgjJqQiEdZ/OkElmBtr6Eo3SrMulCw8weMZ9 n9cWXjJl8rvvq/ZD7Pi5WioBY+wvlbhlKSLVeGJoZL6I+6AmAIRrJ0qLoD1/wlR3fksOd7CMirlRG wTmp4yezLtqzUZN9gD+WpM402JJGcuLazKwLUcN1uWGfpgirz9CNIOjxFuf8AwbmqO8Umojf+f8rd MA3MbgvEBcBtWVKSmSqA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sc0eY-00000007x9q-0wGt; Thu, 08 Aug 2024 10:45:54 +0000 Received: from sakura.naobsd.org ([160.16.200.221] helo=mail.naobsd.org) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sbzbQ-00000007kEI-0hrU for linux-rockchip@lists.infradead.org; Thu, 08 Aug 2024 09:38:38 +0000 Received: from secure.fukaumi.org ([10.0.0.2]) by mail.naobsd.org (8.14.4/8.14.4/Debian-4.1ubuntu1.1) with ESMTP id 4789cSE2030905; Thu, 8 Aug 2024 18:38:30 +0900 From: FUKAUMI Naoki To: heiko@sntech.de Cc: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, devicetree@vger.kernel.org, linux-rockchip@lists.infradead.org, FUKAUMI Naoki Subject: [PATCH 01/10] arm64: dts: rockchip: standardize the definition of LEDs for Radxa ROCK Pi S Date: Thu, 8 Aug 2024 18:37:59 +0900 Message-ID: <20240808093808.1740-2-naoki@radxa.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240808093808.1740-1-naoki@radxa.com> References: <20240808093808.1740-1-naoki@radxa.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240808_023836_447423_7F6F2BFF X-CRM114-Status: UNSURE ( 7.86 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org - remove label - cosmetic change Signed-off-by: FUKAUMI Naoki --- arch/arm64/boot/dts/rockchip/rk3308-rock-pi-s.dts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3308-rock-pi-s.dts b/arch/arm64/boot/dts/rockchip/rk3308-rock-pi-s.dts index 62d18ca769a1..504054f9723e 100644 --- a/arch/arm64/boot/dts/rockchip/rk3308-rock-pi-s.dts +++ b/arch/arm64/boot/dts/rockchip/rk3308-rock-pi-s.dts @@ -27,14 +27,13 @@ chosen { leds { compatible = "gpio-leds"; pinctrl-names = "default"; - pinctrl-0 = <&green_led>, <&heartbeat_led>; + pinctrl-0 = <&green_led &heartbeat_led>; green-led { color = ; default-state = "on"; function = LED_FUNCTION_POWER; gpios = <&gpio0 RK_PA6 GPIO_ACTIVE_HIGH>; - label = "rockpis:green:power"; linux,default-trigger = "default-on"; }; @@ -43,7 +42,6 @@ blue-led { default-state = "on"; function = LED_FUNCTION_HEARTBEAT; gpios = <&gpio0 RK_PA5 GPIO_ACTIVE_HIGH>; - label = "rockpis:blue:user"; linux,default-trigger = "heartbeat"; }; }; From patchwork Thu Aug 8 09:38:00 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: FUKAUMI Naoki X-Patchwork-Id: 13757144 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id CFC06C3DA4A for ; Thu, 8 Aug 2024 09:38:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=bJwD4pP8tV72pE1fmURuX7+Iam8RB9AXjDZW9et0ZUU=; b=PLlF0GWltyS48v TlWCrF1GCz28SyfYkibflGzjOmpHgOE0Uqkg/fgCUjGCiBeaCCIISit1sGmB0xQgLz8hkZ3LlxGP+ Bd7kV0wWqfUSn66mM4UdoJ/WMZoQ78b7uoJZIToiNVb5nMxHoENZkRnBf7UIhb00BxTBmCSFrT+N+ Jnc1GCAK0FQ0JqXz2XrKMzyjn2hPbEQtHmObv+F2KDNH8PbDbg6WCP9jQtQSqFGSe12/mHncIklWn 4SYlyQ8ZgYD4ajWGpdZqoeq5UCUih20xji0THV/GADC+E+RrVNzQswW4r7C1Csp+oM7+mqMwDjYTc 4T6Z9IOgEyJ1omABDPiQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sbzbW-00000007kHi-30jr; Thu, 08 Aug 2024 09:38:42 +0000 Received: from sakura.naobsd.org ([160.16.200.221] helo=mail.naobsd.org) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sbzbQ-00000007kEN-2KLk for linux-rockchip@lists.infradead.org; Thu, 08 Aug 2024 09:38:40 +0000 Received: from secure.fukaumi.org ([10.0.0.2]) by mail.naobsd.org (8.14.4/8.14.4/Debian-4.1ubuntu1.1) with ESMTP id 4789cSE3030905; Thu, 8 Aug 2024 18:38:30 +0900 From: FUKAUMI Naoki To: heiko@sntech.de Cc: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, devicetree@vger.kernel.org, linux-rockchip@lists.infradead.org, FUKAUMI Naoki Subject: [PATCH 02/10] arm64: dts: rockchip: standardize the definition of LEDs for Radxa ROCK Pi E Date: Thu, 8 Aug 2024 18:38:00 +0900 Message-ID: <20240808093808.1740-3-naoki@radxa.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240808093808.1740-1-naoki@radxa.com> References: <20240808093808.1740-1-naoki@radxa.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240808_023836_829002_30C01426 X-CRM114-Status: UNSURE ( 8.39 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org - sort properties - add default-state and function Signed-off-by: FUKAUMI Naoki --- arch/arm64/boot/dts/rockchip/rk3328-rock-pi-e.dtsi | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3328-rock-pi-e.dtsi b/arch/arm64/boot/dts/rockchip/rk3328-rock-pi-e.dtsi index bb01143dc91a..4e77701f2e01 100644 --- a/arch/arm64/boot/dts/rockchip/rk3328-rock-pi-e.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3328-rock-pi-e.dtsi @@ -49,11 +49,13 @@ gmac_clkin: external-gmac-clock { leds { compatible = "gpio-leds"; - pinctrl-0 = <&led_pin>; pinctrl-names = "default"; + pinctrl-0 = <&led_pin>; led-0 { color = ; + default-state = "on"; + function = LED_FUNCTION_HEARTBEAT; gpios = <&gpio3 RK_PA5 GPIO_ACTIVE_LOW>; linux,default-trigger = "heartbeat"; }; From patchwork Thu Aug 8 09:38:01 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: FUKAUMI Naoki X-Patchwork-Id: 13757145 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D948DC52D73 for ; Thu, 8 Aug 2024 09:38:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=WbwnUzj+fqt/+ftF046LV8y8uyktbfYHCBgnwfHN2aE=; b=yyJAIz1DzKfxNg PIdAlOcFafyQS5eWRH3b+nXCUjrN9xpsuAkjEOjCdHIf25n2RES0qCiMwDB2y9mfuowKtpPSfnWRs 1K7YO9qWmhCuH2YLlP+x7x1FO3dmZKdJhynzvrEHDm4Sssxp74oWq8LPNM2cBD8kq0ricNn1knr6E fBrHgQZTNMF3qmQGyIOcQggjtCuSQdQRYA6C25FgToKgHeF3wP0geGpEnOI0+KfPKSXQ/7Cm7t842 6O2vFvvGwCHFxNrXgU7xrwAe2FqdYb2PSxxj7wcjPNiivfD+iV3EoZUmZedIZ16KmA/npLoclS4qf IvzIJw88RYmt7zBpPGnw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sbzbX-00000007kHx-1qjp; Thu, 08 Aug 2024 09:38:43 +0000 Received: from sakura.naobsd.org ([160.16.200.221] helo=mail.naobsd.org) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sbzbR-00000007kEn-1S1U for linux-rockchip@lists.infradead.org; Thu, 08 Aug 2024 09:38:41 +0000 Received: from secure.fukaumi.org ([10.0.0.2]) by mail.naobsd.org (8.14.4/8.14.4/Debian-4.1ubuntu1.1) with ESMTP id 4789cSE4030905; Thu, 8 Aug 2024 18:38:30 +0900 From: FUKAUMI Naoki To: heiko@sntech.de Cc: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, devicetree@vger.kernel.org, linux-rockchip@lists.infradead.org, FUKAUMI Naoki Subject: [PATCH 03/10] arm64: dts: rockchip: standardize the definition of LEDs for Radxa ROCK 4C+ Date: Thu, 8 Aug 2024 18:38:01 +0900 Message-ID: <20240808093808.1740-4-naoki@radxa.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240808093808.1740-1-naoki@radxa.com> References: <20240808093808.1740-1-naoki@radxa.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240808_023837_618658_D8078C54 X-CRM114-Status: UNSURE ( 8.37 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org - sort properties - add default-state - change function for led-1 from STATUS to HEARTBEAT Signed-off-by: FUKAUMI Naoki --- arch/arm64/boot/dts/rockchip/rk3399-rock-4c-plus.dts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3399-rock-4c-plus.dts b/arch/arm64/boot/dts/rockchip/rk3399-rock-4c-plus.dts index d4b4dced3e39..7454bfb76a7d 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-rock-4c-plus.dts +++ b/arch/arm64/boot/dts/rockchip/rk3399-rock-4c-plus.dts @@ -37,16 +37,18 @@ leds { /* USER_LED1 */ led-0 { - function = LED_FUNCTION_POWER; color = ; + default-state = "on"; + function = LED_FUNCTION_POWER; gpios = <&gpio3 RK_PD4 GPIO_ACTIVE_LOW>; linux,default-trigger = "default-on"; }; /* USER_LED2 */ led-1 { - function = LED_FUNCTION_STATUS; color = ; + default-state = "on"; + function = LED_FUNCTION_HEARTBEAT; gpios = <&gpio3 RK_PD5 GPIO_ACTIVE_HIGH>; linux,default-trigger = "heartbeat"; }; From patchwork Thu Aug 8 09:38:02 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: FUKAUMI Naoki X-Patchwork-Id: 13757148 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 4F004C52D71 for ; Thu, 8 Aug 2024 09:38:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=v/RhR4+ybXgMY2/wP4jKpnggPEvuT/GnLAYALzjR7II=; b=37J+orngzbm0hm zAKKTL6wwnA9igLbcLqCHQPKeXpDs/EeONzFWa55hgizJmDLr3xmVx915OlA8Y/pSz+qhmqNuc/T1 PoCpd7qVvSriSJ1kfqMusZPW4tFLu2fi8bHLgEdbPH6zh+LHRDJT3pyD83Sz3IJq1wwhWw60lvuOB sWUCvBUbxQJ4ZNLhfODZfyl8vHYMUGjy7htFS3MzkjV+8s3QXi+kxLuiMMk9KTrimSeuGFfAq+ndM NlkxBE4HCsT96iCY/d4x8pVE6aasN5zGGCGQD61OoWCykUUlvy8txaQ8VZikn2upPW2qoA4vZ8Lwh ANN6cHZrvtaqNAugfIww==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sbzbW-00000007kHb-1bxi; Thu, 08 Aug 2024 09:38:42 +0000 Received: from sakura.naobsd.org ([160.16.200.221] helo=mail.naobsd.org) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sbzbQ-00000007kEP-3FDx for linux-rockchip@lists.infradead.org; Thu, 08 Aug 2024 09:38:40 +0000 Received: from secure.fukaumi.org ([10.0.0.2]) by mail.naobsd.org (8.14.4/8.14.4/Debian-4.1ubuntu1.1) with ESMTP id 4789cSE5030905; Thu, 8 Aug 2024 18:38:30 +0900 From: FUKAUMI Naoki To: heiko@sntech.de Cc: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, devicetree@vger.kernel.org, linux-rockchip@lists.infradead.org, FUKAUMI Naoki Subject: [PATCH 04/10] arm64: dts: rockchip: standardize the definition of LEDs for Radxa ROCK Pi 4 Date: Thu, 8 Aug 2024 18:38:02 +0900 Message-ID: <20240808093808.1740-5-naoki@radxa.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240808093808.1740-1-naoki@radxa.com> References: <20240808093808.1740-1-naoki@radxa.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240808_023837_047812_E1744CBA X-CRM114-Status: UNSURE ( 8.68 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org - sort properties - add default-state - change function from STATUS to HEARTBEAT Signed-off-by: FUKAUMI Naoki --- arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dtsi b/arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dtsi index 9666504cd1c1..bdca1a135f06 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dtsi @@ -33,8 +33,9 @@ leds { /* USER_LED2 */ led-0 { - function = LED_FUNCTION_STATUS; color = ; + default-state = "on"; + function = LED_FUNCTION_HEARTBEAT; gpios = <&gpio3 RK_PD5 GPIO_ACTIVE_HIGH>; linux,default-trigger = "heartbeat"; }; From patchwork Thu Aug 8 09:38:03 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: FUKAUMI Naoki X-Patchwork-Id: 13757152 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 2F8A5C52D7C for ; Thu, 8 Aug 2024 09:38:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=SrH6g3g4V/Yn55AzbGr1YMhy0Vqfjd1+XP0BcvFBq6M=; b=3+vf3dPYKXl7Gx OE4VXvuGlW5aItFG+14tt+gjQAH6DI1TW9JdC/o5giSWUHGRLCJ/oH+pQKCZZNhAB54OwfAGq5xn5 mYRKVacuLOTj0JqrflkCo1WVw51oBJNapl2NtSU2dFc7+Fc/movQpyma5NYvHe3soD9CbT1831MRL jzkBrZMEy0f4ZzRJJ6m+3qWnsqFQdT3gOSOrOeh3lUZMsOnhVGUpKQm8Z2hNumYjXjUmmkgqeIp8J 0Up66AqR++PdgpCQDoBguImx2sitljDJnBYhLjLAngHn3PXWeqNzk8aSUQf1Wb45B4SN+r7vj0qz/ Q8pzmg2igmkInTbH5rdw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sbzbb-00000007kL2-1nhA; Thu, 08 Aug 2024 09:38:47 +0000 Received: from sakura.naobsd.org ([160.16.200.221] helo=mail.naobsd.org) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sbzbQ-00000007kEQ-46a9 for linux-rockchip@lists.infradead.org; Thu, 08 Aug 2024 09:38:41 +0000 Received: from secure.fukaumi.org ([10.0.0.2]) by mail.naobsd.org (8.14.4/8.14.4/Debian-4.1ubuntu1.1) with ESMTP id 4789cSE6030905; Thu, 8 Aug 2024 18:38:30 +0900 From: FUKAUMI Naoki To: heiko@sntech.de Cc: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, devicetree@vger.kernel.org, linux-rockchip@lists.infradead.org, FUKAUMI Naoki Subject: [PATCH 05/10] arm64: dts: rockchip: standardize the definition of LEDs for Radxa CM3 IO Date: Thu, 8 Aug 2024 18:38:03 +0900 Message-ID: <20240808093808.1740-6-naoki@radxa.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240808093808.1740-1-naoki@radxa.com> References: <20240808093808.1740-1-naoki@radxa.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240808_023837_251804_2AB63010 X-CRM114-Status: UNSURE ( 8.98 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org - sort properties - add default-state for led-1 - change function for led-0 from STATUS to HEARTBEAT - change trigger for led-0 from "timer" to "heartbeat" - change trigger for led-1 from "heartbeat" to "timer" Signed-off-by: FUKAUMI Naoki --- arch/arm64/boot/dts/rockchip/rk3566-radxa-cm3-io.dts | 5 +++-- arch/arm64/boot/dts/rockchip/rk3566-radxa-cm3.dtsi | 6 +++--- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3566-radxa-cm3-io.dts b/arch/arm64/boot/dts/rockchip/rk3566-radxa-cm3-io.dts index 3ae24e39450a..f9033d9d17f8 100644 --- a/arch/arm64/boot/dts/rockchip/rk3566-radxa-cm3-io.dts +++ b/arch/arm64/boot/dts/rockchip/rk3566-radxa-cm3-io.dts @@ -44,10 +44,11 @@ leds { compatible = "gpio-leds"; led-1 { - gpios = <&gpio4 RK_PA4 GPIO_ACTIVE_LOW>; color = ; + default-state = "on"; function = LED_FUNCTION_ACTIVITY; - linux,default-trigger = "heartbeat"; + gpios = <&gpio4 RK_PA4 GPIO_ACTIVE_LOW>; + linux,default-trigger = "timer"; pinctrl-names = "default"; pinctrl-0 = <&pi_nled_activity>; }; diff --git a/arch/arm64/boot/dts/rockchip/rk3566-radxa-cm3.dtsi b/arch/arm64/boot/dts/rockchip/rk3566-radxa-cm3.dtsi index 45de2630bb50..81783d748707 100644 --- a/arch/arm64/boot/dts/rockchip/rk3566-radxa-cm3.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3566-radxa-cm3.dtsi @@ -18,11 +18,11 @@ leds { compatible = "gpio-leds"; led-0 { - gpios = <&gpio0 RK_PA6 GPIO_ACTIVE_HIGH>; color = ; - function = LED_FUNCTION_STATUS; - linux,default-trigger = "timer"; default-state = "on"; + function = LED_FUNCTION_HEARTBEAT; + gpios = <&gpio0 RK_PA6 GPIO_ACTIVE_HIGH>; + linux,default-trigger = "heartbeat"; pinctrl-names = "default"; pinctrl-0 = <&user_led2>; }; From patchwork Thu Aug 8 09:38:04 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: FUKAUMI Naoki X-Patchwork-Id: 13757147 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 1BEA6C52D7D for ; Thu, 8 Aug 2024 09:38:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=ifZOvGVvK2Vm3+h5F/9JFs3OtLV4iwvab9JP2m6w+NI=; b=0TR24F/o/iIchz ZMPiaGWTZ6/F5CC4Gth42cMxVfmjqRRzcqhRhE9eRaXTq/+2P8cShMAlvYsEaeqplI1ebS0N3CgIC zdarJff2tH11EjAL4outT1ZQ8+nfS5bUzGpVGF80OQBDbwwKfU+qcUey7P2BWEYX5BNHnEm3ztGRP hVvfDIBPpSE7NzSgdzMWEImzzSlQ+iNjsY3u7IXy2Z81llogcF1A5d3cuYKzVUMITj1zOZYfBclUV uZo97CdJUDtl1jliiV8seZKygc7UhnNuWfct5Arh3Qcq8/OoUI7/tHKwArxRsn/cz/irwOdiruS+h 6pVoEmr4MFee36QYPiEQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sbzbX-00000007kHt-0OSF; Thu, 08 Aug 2024 09:38:43 +0000 Received: from sakura.naobsd.org ([160.16.200.221] helo=mail.naobsd.org) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sbzbQ-00000007kEM-1rvY for linux-rockchip@lists.infradead.org; Thu, 08 Aug 2024 09:38:40 +0000 Received: from secure.fukaumi.org ([10.0.0.2]) by mail.naobsd.org (8.14.4/8.14.4/Debian-4.1ubuntu1.1) with ESMTP id 4789cSE7030905; Thu, 8 Aug 2024 18:38:30 +0900 From: FUKAUMI Naoki To: heiko@sntech.de Cc: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, devicetree@vger.kernel.org, linux-rockchip@lists.infradead.org, FUKAUMI Naoki Subject: [PATCH 06/10] arm64: dts: rockchip: standardize the definition of LEDs for Radxa ROCK 3C Date: Thu, 8 Aug 2024 18:38:04 +0900 Message-ID: <20240808093808.1740-7-naoki@radxa.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240808093808.1740-1-naoki@radxa.com> References: <20240808093808.1740-1-naoki@radxa.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240808_023836_720095_7D39B7B9 X-CRM114-Status: UNSURE ( 7.65 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org - move pinctrl properties - sort properties - add default-state Signed-off-by: FUKAUMI Naoki --- arch/arm64/boot/dts/rockchip/rk3566-rock-3c.dts | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3566-rock-3c.dts b/arch/arm64/boot/dts/rockchip/rk3566-rock-3c.dts index f2cc086e5001..f65ac2e7943b 100644 --- a/arch/arm64/boot/dts/rockchip/rk3566-rock-3c.dts +++ b/arch/arm64/boot/dts/rockchip/rk3566-rock-3c.dts @@ -42,14 +42,15 @@ hdmi_con_in: endpoint { leds { compatible = "gpio-leds"; + pinctrl-names = "default"; + pinctrl-0 = <&user_led2>; led-0 { - gpios = <&gpio0 RK_PA0 GPIO_ACTIVE_HIGH>; - function = LED_FUNCTION_HEARTBEAT; color = ; + default-state = "on"; + function = LED_FUNCTION_HEARTBEAT; + gpios = <&gpio0 RK_PA0 GPIO_ACTIVE_HIGH>; linux,default-trigger = "heartbeat"; - pinctrl-names = "default"; - pinctrl-0 = <&user_led2>; }; }; From patchwork Thu Aug 8 09:38:05 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: FUKAUMI Naoki X-Patchwork-Id: 13757150 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E5D9BC52D71 for ; Thu, 8 Aug 2024 09:38:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=TuBsdeVG6KPIaq/vpl8o7Cn7meFIbUS3zL8zcf0kB+I=; b=Bu35sA8K32nNH1 m8C7YOrPcBr/jIbR7uSQg6DyxUtZd16wINLYl0I0Htt42oBxTkzoXX5LC9cwiVOdBneTMzKdGwU1d kMKMR216vTsWJYDnBy2BsEjcw2mjxAbDY1NFGMRhkhB3REKw+F9QvQtDu20h2qr34cR3jqRFjdJn+ AD2DO0dpOExREHZ8DqzRTbNnuNG5BdNA6hCJKIRISVkDi50KPDfF88R5e+j1YAu6fh+C/RVP21zDk XO1ME0FF+lCZDssGAoQlzoMWBpE9p88F8f/WEiXLqBKcR6iB69rwioq1jdwyNAzKGS/kbRTB2fbkc 2/tXDx11zz5ehJKWHbvA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sbzbc-00000007kLx-1gzo; Thu, 08 Aug 2024 09:38:48 +0000 Received: from sakura.naobsd.org ([160.16.200.221] helo=mail.naobsd.org) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sbzbR-00000007kFK-3Pwt for linux-rockchip@lists.infradead.org; Thu, 08 Aug 2024 09:38:42 +0000 Received: from secure.fukaumi.org ([10.0.0.2]) by mail.naobsd.org (8.14.4/8.14.4/Debian-4.1ubuntu1.1) with ESMTP id 4789cSE8030905; Thu, 8 Aug 2024 18:38:30 +0900 From: FUKAUMI Naoki To: heiko@sntech.de Cc: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, devicetree@vger.kernel.org, linux-rockchip@lists.infradead.org, FUKAUMI Naoki Subject: [PATCH 07/10] arm64: dts: rockchip: standardize the definition of LEDs for Radxa E25 Date: Thu, 8 Aug 2024 18:38:05 +0900 Message-ID: <20240808093808.1740-8-naoki@radxa.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240808093808.1740-1-naoki@radxa.com> References: <20240808093808.1740-1-naoki@radxa.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240808_023838_091273_C773FC0E X-CRM114-Status: UNSURE ( 8.44 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org - sort properties - add default-state - add function for multi-led - remove redundant parameters from pwms Signed-off-by: FUKAUMI Naoki --- arch/arm64/boot/dts/rockchip/rk3568-radxa-cm3i.dtsi | 5 +++-- arch/arm64/boot/dts/rockchip/rk3568-radxa-e25.dts | 7 ++++--- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3568-radxa-cm3i.dtsi b/arch/arm64/boot/dts/rockchip/rk3568-radxa-cm3i.dtsi index 45b03dcbbad4..b287d9cca6f9 100644 --- a/arch/arm64/boot/dts/rockchip/rk3568-radxa-cm3i.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3568-radxa-cm3i.dtsi @@ -20,9 +20,10 @@ gpio-leds { compatible = "gpio-leds"; led_user: led-0 { - gpios = <&gpio0 RK_PA6 GPIO_ACTIVE_HIGH>; - function = LED_FUNCTION_HEARTBEAT; color = ; + default-state = "on"; + function = LED_FUNCTION_HEARTBEAT; + gpios = <&gpio0 RK_PA6 GPIO_ACTIVE_HIGH>; linux,default-trigger = "heartbeat"; pinctrl-names = "default"; pinctrl-0 = <&led_user_en>; diff --git a/arch/arm64/boot/dts/rockchip/rk3568-radxa-e25.dts b/arch/arm64/boot/dts/rockchip/rk3568-radxa-e25.dts index 72ad74c38a2b..4b5203c0037a 100644 --- a/arch/arm64/boot/dts/rockchip/rk3568-radxa-e25.dts +++ b/arch/arm64/boot/dts/rockchip/rk3568-radxa-e25.dts @@ -16,21 +16,22 @@ pwm-leds { multi-led { color = ; + function = LED_FUNCTION_ACTIVITY; max-brightness = <255>; led-red { color = ; - pwms = <&pwm1 0 1000000 0>; + pwms = <&pwm1 0 1000000>; }; led-green { color = ; - pwms = <&pwm2 0 1000000 0>; + pwms = <&pwm2 0 1000000>; }; led-blue { color = ; - pwms = <&pwm12 0 1000000 0>; + pwms = <&pwm12 0 1000000>; }; }; }; From patchwork Thu Aug 8 09:38:06 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: FUKAUMI Naoki X-Patchwork-Id: 13757151 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id DB982C52D7D for ; Thu, 8 Aug 2024 09:38:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=ODeJmequrGPGzjR1zuEX1vgw6G7laiVI0oiuELGe0DM=; b=4shuRdVeduKN3X +4hpFpwSdrbp5No3QylRT33tgCpCofztZ7OlhBToCk9uhHA3sZTvrpYFXm9rjblDD0jLcJaRkxJ0M GkuNEl0VkRL/cfgNGgX7gyxnlzTgv9n0eEpezOuNlMiKkjv2r53xp7V2C/YLD6cuxtfapa1HKXrj1 0arXwwBIFehnHQUBg/RRVOq3GxPopAcRZHPEnBscomVcejUeSdi/4kGnvUnHBcWl/hrrBXLd8PXJf IsI25N25nS+PyV+yqvblMBxHAv7aYAgIydYYfGTmtdOC7VGpfVz3SsI7ix0xDvJSkXFrmBZTJvlMA OIH0owlLWeyh1GEYcLOA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sbzbb-00000007kLS-3pZg; Thu, 08 Aug 2024 09:38:47 +0000 Received: from sakura.naobsd.org ([160.16.200.221] helo=mail.naobsd.org) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sbzbQ-00000007kEO-3FIn for linux-rockchip@lists.infradead.org; Thu, 08 Aug 2024 09:38:42 +0000 Received: from secure.fukaumi.org ([10.0.0.2]) by mail.naobsd.org (8.14.4/8.14.4/Debian-4.1ubuntu1.1) with ESMTP id 4789cSE9030905; Thu, 8 Aug 2024 18:38:30 +0900 From: FUKAUMI Naoki To: heiko@sntech.de Cc: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, devicetree@vger.kernel.org, linux-rockchip@lists.infradead.org, FUKAUMI Naoki Subject: [PATCH 08/10] arm64: dts: rockchip: standardize the definition of LEDs for Radxa ROCK 3A Date: Thu, 8 Aug 2024 18:38:06 +0900 Message-ID: <20240808093808.1740-9-naoki@radxa.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240808093808.1740-1-naoki@radxa.com> References: <20240808093808.1740-1-naoki@radxa.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240808_023837_048579_564D5607 X-CRM114-Status: UNSURE ( 7.70 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org - move pinctrl properties - sort properties - add default-state Signed-off-by: FUKAUMI Naoki --- arch/arm64/boot/dts/rockchip/rk3568-rock-3a.dts | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3568-rock-3a.dts b/arch/arm64/boot/dts/rockchip/rk3568-rock-3a.dts index 59f1403b4fa5..4fd6096f16ea 100644 --- a/arch/arm64/boot/dts/rockchip/rk3568-rock-3a.dts +++ b/arch/arm64/boot/dts/rockchip/rk3568-rock-3a.dts @@ -42,14 +42,15 @@ gmac1_clkin: external-gmac1-clock { leds { compatible = "gpio-leds"; + pinctrl-names = "default"; + pinctrl-0 = <&led_user_en>; led_user: led-0 { - gpios = <&gpio0 RK_PB7 GPIO_ACTIVE_HIGH>; - function = LED_FUNCTION_HEARTBEAT; color = ; + default-state = "on"; + function = LED_FUNCTION_HEARTBEAT; + gpios = <&gpio0 RK_PB7 GPIO_ACTIVE_HIGH>; linux,default-trigger = "heartbeat"; - pinctrl-names = "default"; - pinctrl-0 = <&led_user_en>; }; }; From patchwork Thu Aug 8 09:38:07 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: FUKAUMI Naoki X-Patchwork-Id: 13757149 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 981E6C3DA4A for ; Thu, 8 Aug 2024 09:38:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=V1fOQxDLcLgiaOXZxM1t77fl1k4ib898GhQNPHqSNT4=; b=3SAMbchA52F15/ LOHm8fnBj2eAAAUs5WdtKUvT7v26TMGdreI8YdRWgoLg2qYo1nuojqUFZSI4nabrJzdDMl2l6/eQs 0zdFnPMHqoEOcCFfPQYGiwm7luA0jOPUFOtPdcaE0qTusMeKfWv4CYhQuutaqlW+4eaz3HJuapcFm kGQizMKBvhQjoRzxCzneqGxI7dNUk5PfzWhOCJXHn4Bv3gtDG7sM7Hvg+hMHsZPlG3JMMbmN7drD5 sA0//axQt3QNplU9xPmMeVnfhIUPK/C74dY8dakz1MDYBEO4GEPcLpsHJKljMWPjx5gzzDVRdB11u /MUuO1d6EJBC6WPFoEhw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sbzbb-00000007kKg-02nk; Thu, 08 Aug 2024 09:38:47 +0000 Received: from sakura.naobsd.org ([160.16.200.221] helo=mail.naobsd.org) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sbzbR-00000007kF5-2ZBD for linux-rockchip@lists.infradead.org; Thu, 08 Aug 2024 09:38:41 +0000 Received: from secure.fukaumi.org ([10.0.0.2]) by mail.naobsd.org (8.14.4/8.14.4/Debian-4.1ubuntu1.1) with ESMTP id 4789cSEA030905; Thu, 8 Aug 2024 18:38:30 +0900 From: FUKAUMI Naoki To: heiko@sntech.de Cc: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, devicetree@vger.kernel.org, linux-rockchip@lists.infradead.org, FUKAUMI Naoki Subject: [PATCH 09/10] arm64: dts: rockchip: standardize the definition of LEDs for Radxa ROCK 5B Date: Thu, 8 Aug 2024 18:38:07 +0900 Message-ID: <20240808093808.1740-10-naoki@radxa.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240808093808.1740-1-naoki@radxa.com> References: <20240808093808.1740-1-naoki@radxa.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240808_023837_885409_5BAD14FF X-CRM114-Status: UNSURE ( 8.43 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org - sort properties - add default-state - change function from STATUS to HEARTBEAT Signed-off-by: FUKAUMI Naoki --- arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts b/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts index 966bbc582d89..62c6ed179e5d 100644 --- a/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts +++ b/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts @@ -43,8 +43,9 @@ leds { pinctrl-0 = <&led_rgb_b>; led_rgb_b { - function = LED_FUNCTION_STATUS; color = ; + default-state = "on"; + function = LED_FUNCTION_HEARTBEAT; gpios = <&gpio0 RK_PB7 GPIO_ACTIVE_HIGH>; linux,default-trigger = "heartbeat"; }; From patchwork Thu Aug 8 09:38:08 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: FUKAUMI Naoki X-Patchwork-Id: 13757146 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 8F1D8C52D7C for ; Thu, 8 Aug 2024 09:38:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=4M999oPpKaqugwOWDihvvUGFIUtTT2OVaYOCQsTNpt0=; b=wJyW3J7XXc2sRa D7ZlEh5dYV9XSoJxV4FhVmmyk9ULT5SiB/RlItQXtsrXbIH2uuV4Z5Wltdfra8s/czUCZnQWyMpka 3qwgGqeX2Y0g8Ifej7xduKk+qCcSCvzJVc0vgO+Mc6h7CWwaRVFeqgU3NQl/bx16KsLqwdd3M9DvK jX6fMRygd3cGe424ehRvWA034wEYKoLF0nIQJ2tmJDcctzdDgZbOqEesct0o0UqnvJOZHLrU1WO1B 6piWz6s7qgvPcBuBd3Q1R/L3gA5X1JEMBHIL/R0H8omogmEFXEGqsR7U25p6RcITRreSKOL8jub/j iHbZMf4VfL4l5dIfmTiQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sbzbX-00000007kIH-3eD2; Thu, 08 Aug 2024 09:38:43 +0000 Received: from sakura.naobsd.org ([160.16.200.221] helo=mail.naobsd.org) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sbzbR-00000007kEo-1XVl for linux-rockchip@lists.infradead.org; Thu, 08 Aug 2024 09:38:41 +0000 Received: from secure.fukaumi.org ([10.0.0.2]) by mail.naobsd.org (8.14.4/8.14.4/Debian-4.1ubuntu1.1) with ESMTP id 4789cSEB030905; Thu, 8 Aug 2024 18:38:30 +0900 From: FUKAUMI Naoki To: heiko@sntech.de Cc: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, devicetree@vger.kernel.org, linux-rockchip@lists.infradead.org, FUKAUMI Naoki Subject: [PATCH 10/10] arm64: dts: rockchip: standardize the definition of LEDs for Radxa ROCK 5A Date: Thu, 8 Aug 2024 18:38:08 +0900 Message-ID: <20240808093808.1740-11-naoki@radxa.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240808093808.1740-1-naoki@radxa.com> References: <20240808093808.1740-1-naoki@radxa.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240808_023837_639459_1BCB7F30 X-CRM114-Status: UNSURE ( 8.67 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org - add default-state - change function from STATUS to HEARTBEAT Signed-off-by: FUKAUMI Naoki --- arch/arm64/boot/dts/rockchip/rk3588s-rock-5a.dts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3588s-rock-5a.dts b/arch/arm64/boot/dts/rockchip/rk3588s-rock-5a.dts index 03ed48246d36..17364582297d 100644 --- a/arch/arm64/boot/dts/rockchip/rk3588s-rock-5a.dts +++ b/arch/arm64/boot/dts/rockchip/rk3588s-rock-5a.dts @@ -42,7 +42,8 @@ leds { io-led { color = ; - function = LED_FUNCTION_STATUS; + default-state = "on"; + function = LED_FUNCTION_HEARTBEAT; gpios = <&gpio3 RK_PD5 GPIO_ACTIVE_HIGH>; linux,default-trigger = "heartbeat"; };