Received: by 2002:ab2:3350:0:b0:1f4:6588:b3a7 with SMTP id o16csp939328lqe; Sun, 7 Apr 2024 10:34:08 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXwLjKs0o7DwF54i57F+4oxXHYpSAXWInOVlx1p1rBCTP9CuA8o0XQzXCedYuAo59BSlo9w8plFX1tzh4jrf0pa0QEDDCeWhP3lSY/5PA== X-Google-Smtp-Source: AGHT+IFNfJMkZfMlvwFDBLiQKKm/tl9w9mJNuH0vqNrBMWM6E5rZqVMWOfBhSxyAIz5GG1D9UTnB X-Received: by 2002:a05:6a20:8423:b0:1a3:4fcd:7a18 with SMTP id c35-20020a056a20842300b001a34fcd7a18mr8332345pzd.10.1712511248632; Sun, 07 Apr 2024 10:34:08 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712511248; cv=pass; d=google.com; s=arc-20160816; b=yHvs26vqt7IemttqFD/us+DrL4oK9w7B0uyv03UOZvIK3VyC/6pNZRpxJLRsnKxTFI bbNh3DKpi2XMSCq3gGQdkpYLzALhrSHC3OFm4cXQ/uBtHAt8vin9RyP6tfBysbk1bSfy NhYAsXhbjhKjXXZTRJfGfabM0wM843P60ME2wBt29Q3BCWT3M+PvFVmrAWgg0GGynlzh Vh+kOZg5CzS+K9q4YALrXdigqMesqlOVib9yiBx/lVFrsTyb37xEcP0SedRl5GOgBvgx sEPRMZaPjecfSXtun+eMy7DTh/AnlcR1bSAvRysoFfQtbvJHV+1EE0VPJpPAZCxB50eW 923w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=E8E7VpkTwqMaLTdo6EG4QaRlM0WpseQ15mLUPmQca6Q=; fh=jfwZ//Bw+bbTqsfqoJmgMIJpkBGtUjAhlpoaC1nogXk=; b=qaQRSP+UXTEKIRAKfsgqO1IGNOwCQ42NyV/5gt5LDxb80YbWkg+bHLlTXp7embhP3M 8N5IzwDjw5sBt5y3UHDFFC4ccAAcp+8ovONtskd2l4Mj3jInf09/jIt9d7yoLEMRVS1H faajB07LA4wyoKpr2KwBYnshe+2fhyW9Tv7wipEOJTrfq38VKpf5Q3tXv/3l8iiQVyC2 VIkkAq+ouDjXO/MPhev4s91IKX9hP2fH63TZnhoTxU293VIeXbOO34+3C0nsiPiuIEEm tNcbbA/q741/moptuycDEwH7IgC4DZ2SWI0tUBL2rnOXnMCc/iHTeCkgEOWtjsRKF5so K5Pg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@6tel.net header.s=mail header.b=sLDE50pK; arc=pass (i=1 spf=pass spfdomain=6tel.net dkim=pass dkdomain=6tel.net); spf=pass (google.com: domain of linux-kernel+bounces-134593-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-134593-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id h5-20020a631205000000b005dc892c862fsi4945888pgl.638.2024.04.07.10.34.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 07 Apr 2024 10:34:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-134593-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@6tel.net header.s=mail header.b=sLDE50pK; arc=pass (i=1 spf=pass spfdomain=6tel.net dkim=pass dkdomain=6tel.net); spf=pass (google.com: domain of linux-kernel+bounces-134593-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-134593-linux.lists.archive=gmail.com@vger.kernel.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 sy.mirrors.kernel.org (Postfix) with ESMTPS id BB95AB22C53 for ; Sun, 7 Apr 2024 17:34:02 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 026773BBE0; Sun, 7 Apr 2024 17:33:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=6tel.net header.i=@6tel.net header.b="sLDE50pK" Received: from forward102c.mail.yandex.net (forward102c.mail.yandex.net [178.154.239.213]) (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 C8366107A6; Sun, 7 Apr 2024 17:33:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=178.154.239.213 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712511235; cv=none; b=ZrUBPbeX3rswBmbAUYe0P1XLsEri798h22YwyR7tSD0P3wmCDlWmDqj+pOloceb2rTwsPw0Xuo82vPQPrg1MAyJFVRZz+XEMayeLOrUP3AX1Rkvt3kLJXPTsaEPKns6k4Jl/Ytr2iuj779Z6Si+4H2idzkwl6WzqDjdzZrkpQq8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712511235; c=relaxed/simple; bh=D+YvEMaAigqFWCRxNG6V+6r/6UJgBPgVSlwnDlejGAo=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=jIpC5HXUrbUHwSKW0Y+pL/qhmLp+OM7K3GUEafN1GGv/kBcdTnRUKwQNnYphiNFAflpTmgeah3Gp/aT0MUsdZEvZn4mcnL2vI2iO30uGMYFcn8iZ+P2iIACpBllk1XmZar+P7dw//CUT25EJIJ6VKDs4gwyXlVqq9PVFmHBDeq4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=6tel.net; spf=pass smtp.mailfrom=6tel.net; dkim=pass (1024-bit key) header.d=6tel.net header.i=@6tel.net header.b=sLDE50pK; arc=none smtp.client-ip=178.154.239.213 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=6tel.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=6tel.net Received: from mail-nwsmtp-smtp-production-main-18.iva.yp-c.yandex.net (mail-nwsmtp-smtp-production-main-18.iva.yp-c.yandex.net [IPv6:2a02:6b8:c0c:1f0b:0:640:2d63:0]) by forward102c.mail.yandex.net (Yandex) with ESMTPS id 62002608FC; Sun, 7 Apr 2024 20:33:43 +0300 (MSK) Received: by mail-nwsmtp-smtp-production-main-18.iva.yp-c.yandex.net (smtp/Yandex) with ESMTPSA id MXbpHdhoE4Y0-ZUKzSviq; Sun, 07 Apr 2024 20:33:42 +0300 X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6tel.net; s=mail; t=1712511222; bh=E8E7VpkTwqMaLTdo6EG4QaRlM0WpseQ15mLUPmQca6Q=; h=Message-ID:Date:Cc:Subject:To:From; b=sLDE50pKC0RnVfAPf+OcwjQdJLYn5WeinNqVd7yrv/4mAwZAOWF+wKTTWp4e8277D gUVmLajXrClBzGnvoG886+bivlTmC6rusQMXbKwieFJaLETBcUC8Ov+61n9Hv9InH7 eGWofUiv1PL1X+Q51E8G+PjeD1XCqPp4c1OOyxRU= Authentication-Results: mail-nwsmtp-smtp-production-main-18.iva.yp-c.yandex.net; dkim=pass header.i=@6tel.net From: efectn@6tel.net To: heiko@sntech.de, linux-rockchip@lists.infradead.org Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, sebastian.reichel@collabora.com, Muhammed Efe Cetin Subject: [PATCH] arm64: dts: rockchip: mark system power controller and fix typo on orangepi-5-plus Date: Sun, 7 Apr 2024 20:32:10 +0300 Message-ID: <20240407173210.372585-1-efectn@6tel.net> X-Mailer: git-send-email 2.44.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Muhammed Efe Cetin Mark the PMIC as system power controller, so the board will shut-down properly and fix the typo on rk806_dvs1_null pins property. Fixes: 236d225e1ee7 ("arm64: dts: rockchip: Add board device tree for rk3588-orangepi-5-plus") Signed-off-by: Muhammed Efe Cetin --- arch/arm64/boot/dts/rockchip/rk3588-orangepi-5-plus.dts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3588-orangepi-5-plus.dts b/arch/arm64/boot/dts/rockchip/rk3588-orangepi-5-plus.dts index 1b606ea5b6cf..1a604429fb26 100644 --- a/arch/arm64/boot/dts/rockchip/rk3588-orangepi-5-plus.dts +++ b/arch/arm64/boot/dts/rockchip/rk3588-orangepi-5-plus.dts @@ -485,6 +485,7 @@ pmic@0 { pinctrl-0 = <&pmic_pins>, <&rk806_dvs1_null>, <&rk806_dvs2_null>, <&rk806_dvs3_null>; spi-max-frequency = <1000000>; + system-power-controller; vcc1-supply = <&vcc5v0_sys>; vcc2-supply = <&vcc5v0_sys>; @@ -506,7 +507,7 @@ pmic@0 { #gpio-cells = <2>; rk806_dvs1_null: dvs1-null-pins { - pins = "gpio_pwrctrl2"; + pins = "gpio_pwrctrl1"; function = "pin_fun0"; }; -- 2.44.0