Received: from mail.naobsd.org (sakura.naobsd.org [160.16.200.221]) (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 24D617D3F1 for ; Thu, 8 Aug 2024 09:38:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=160.16.200.221 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723109927; cv=none; b=grGUsd0OEXAECw/KK7Sh0TLsNKVYbJMz5eUtekc1cpiB4Adb7y0wbCsNe0E5XPVlNxUmUEmOehHpk0TH7XhUdVqK3I1w/AV2E17RQs4ZeHhS2zZsknMU9dSamInXp15uVm1kC0m24MdA5Ut9qdQFq4O0dtcdQKMXE4ih1Y6g7bw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723109927; c=relaxed/simple; bh=IjK3pN2mlTppn8bVbSrTTsBHBLuup63CUTVBesVtmM4=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=tV4gT9vTg3HAny4ShUueuvHEp7IK5yJiWt0bYeCTWiT2e/r4i7PoKEwSI+N2W5T4xpIhUptc1q/2cwCvyWmhURHUkycxC7/fyniFtoU3dm21nPdgLTsoy9uedNA4e0BwjMlhycXYrEqpiu1rRJPIp7rsP57zGf7QgMsP2v/Xp/I= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=radxa.com; spf=fail smtp.mailfrom=radxa.com; arc=none smtp.client-ip=160.16.200.221 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=radxa.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=radxa.com 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> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit - 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>; }; }; -- 2.43.0