From nobody Thu Oct 9 10:52:48 2025 Received: from smtp-42a9.mail.infomaniak.ch (smtp-42a9.mail.infomaniak.ch [84.16.66.169]) (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 DE25828751D for ; Wed, 18 Jun 2025 10:40:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=84.16.66.169 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750243214; cv=none; b=tz4+ftIvdvQH3SQQQ5BJKusWlFekc3SKD51t8eWXSFwMSc2yFZaO5lV8bgntiGeXNW/63dC7hCZ6nNHTjNtWyt6dvlLXey7XKs0vvShCB6kxHWHeAX9XsvioE9gU4jx0PS17PmsKzKAdvwMMjf+4PqgeojIio/sl6Az2jPylVrM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750243214; c=relaxed/simple; bh=pv//QZi5ziwgRWN6jgCZtnpnX7U1oCAhOOLsoeaYocs=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=U4bEOY8iNc3A/Xrv4fXPwGO0E5FS1o0X273asBst7bFQxcG3EGvCFlnaFap6ShZZqccMbXCTZ1e989hko+9XeqPiZJTgGxz2edi+LNH6FJl34/nH5lqdP9f6SxbnO2MdXPjQvZfA//ZIFZQH8WhcfvoUStD0eUiubcfVMyFAxS8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=0leil.net; spf=pass smtp.mailfrom=0leil.net; arc=none smtp.client-ip=84.16.66.169 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=0leil.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=0leil.net Received: from smtp-4-0001.mail.infomaniak.ch (smtp-4-0001.mail.infomaniak.ch [10.7.10.108]) by smtp-4-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4bMg6w1KkYzS5R; Wed, 18 Jun 2025 12:32:56 +0200 (CEST) Received: from unknown by smtp-4-0001.mail.infomaniak.ch (Postfix) with ESMTPA id 4bMg6v37RyzDJZ; Wed, 18 Jun 2025 12:32:55 +0200 (CEST) From: Quentin Schulz Date: Wed, 18 Jun 2025 12:32:42 +0200 Subject: [PATCH v3 3/5] arm64: dts: rockchip: add header for RK8XX PMIC constants Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20250618-rk8xx-rst-fun-v3-3-081f02d3d348@cherry.de> References: <20250618-rk8xx-rst-fun-v3-0-081f02d3d348@cherry.de> In-Reply-To: <20250618-rk8xx-rst-fun-v3-0-081f02d3d348@cherry.de> To: Lee Jones , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heiko Stuebner , Sebastian Reichel Cc: Lukasz Czechowski , Daniel Semkowicz , Nicolas Frattaroli , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, Quentin Schulz X-Mailer: b4 0.14.2 X-Infomaniak-Routing: alpha From: Quentin Schulz To make it easier to read the device tree, let's add constants for the rockchip,reset-mode property values that are currently only applicable to RK806 PMIC. Signed-off-by: Quentin Schulz --- arch/arm64/boot/dts/rockchip/rk8xx.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk8xx.h b/arch/arm64/boot/dts/roc= kchip/rk8xx.h new file mode 100644 index 0000000000000000000000000000000000000000..a6fbef71c06493c35b0f3697476= 167aaafa24f30 --- /dev/null +++ b/arch/arm64/boot/dts/rockchip/rk8xx.h @@ -0,0 +1,18 @@ +/* SPDX-License-Identifier: (GPL-2.0-or-later OR MIT) */ +/* + * Device Tree defines for Rockchip RK8xx PMICs + * + * Copyright 2025 Cherry Embedded Solutions GmbH + * + * Author: Quentin Schulz + */ + +#ifndef _DT_MFD_ROCKCHIP_RK8XX_H +#define _DT_MFD_ROCKCHIP_RK8XX_H + +/* For use with rockchip,reset-mode property */ +#define RK806_RESTART 0 +#define RK806_RESET 1 +#define RK806_RESET_NOTIFY 2 + +#endif --=20 2.49.0