Received: by 2002:ab2:69cc:0:b0:1f4:be93:e15a with SMTP id n12csp1067271lqp; Sun, 14 Apr 2024 12:32:20 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXUEfc9l9k1I63WLMNysAuOk/HS/anRXlscYg2uqQn7PEkkcyy/hlUgibXNBp/FP34mbtiCdiFvHvGswr/6ffZSJTl8UL4CEjRVNW/REQ== X-Google-Smtp-Source: AGHT+IG8OAse7vO4+XjTxwgpnkYNUqHM+h2qyXvRVfkk2Kr/A5zSb95rxGh6S0tX7YM4u5Nr4aiT X-Received: by 2002:a05:620a:13ee:b0:78d:55e6:fa18 with SMTP id h14-20020a05620a13ee00b0078d55e6fa18mr9459643qkl.18.1713123140208; Sun, 14 Apr 2024 12:32:20 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713123140; cv=pass; d=google.com; s=arc-20160816; b=qQx2gkRyZAoIoHQtYYRpZdfFheAs9VYcDoytbZrITvCdniYnbg1GsBiaxRJ/7ngE6C pYQQUQnHy2lsxK+lCm0Bf2T2FKXhV1f/oG1smOpJgDGUHFwSwXhVdHC5vV86bHxEO2dC M6q6vfeCht5blJciluISiM8a0I4mnO9uREjnF4dUZeF6EHGjrUXn+hGxXGqMmY8KZ8K2 eSCR3Rj6ugxNs9EINlW3mnvzLLkgpw7CfRP/4+bHKwyH1HGCJ3y2nXPWutSXfIYktOUn 7uYWOZ+rBjMGuvR9gTkFFxS59SaZfKc5cD45nv5ml9KERizNBiFFX0T+hehVV6oz2Xmh 42ZA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=zKTLKTw5l0AX+U16UvtK38C4in2uHJEeDuYt0ZBJ/sk=; fh=ix7oY1LSj/n36FUeysCayGOg+CG4pcJk9TDVV8Oeehg=; b=fe80uolQmP3ZZNXRZDw44weJvjo9H4lunNvqz13MjSM2RfPFa/Y38WKHXrwcpoc3+o 4MI2oY5RANZOzG1gP7CGnkgr7YTDR0TQmdIejU9ThPbvbL4LOcJSfhrwgma9ha6bT89a YQsus15QFjrz6ZTuvwUdLb1wT9DskLuIqANgbBsltfWQAYzDo5Fd3/xjjupgN7JHS+kS gznmFs11ViH+uafZe7w6+xTlAKEIgIGF8AZHavuMXPB3xXMrXiMr8lE2BA/hlBVb51/A nG8mlvjPWjhmHyiOPcCcJzXJ1rzNnKy1huIUcsvvVqssLlwuyd5+2cB1w9ga1KNZ76o1 v54w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=OmS1D4l4; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-144353-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-144353-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id v6-20020a05620a122600b0078d6a082325si8495270qkj.509.2024.04.14.12.32.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 14 Apr 2024 12:32:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-144353-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=OmS1D4l4; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-144353-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-144353-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id E96D81C20C7C for ; Sun, 14 Apr 2024 19:32:19 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D1F2713699B; Sun, 14 Apr 2024 19:32:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="OmS1D4l4" Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (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 AB5CF135A75; Sun, 14 Apr 2024 19:32:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713123123; cv=none; b=Pd7HGHx5I/oCSnYPEOKJKLv4pTv1bhU3x8JeE8toxzjnKlXSB4Fse3RaP0+ubtduy2R3LI7JW9d83qEkp4SKldZzrKDdl3K6h1aO+aYQ6zMLFrK1kWg6ILdusZiHsgEb++kgqtnG4md2UfJgBswlOWgSpMTlDRXTXAMV+AMbsB0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713123123; c=relaxed/simple; bh=4hVe1msDqYXAoKQ28JxOMcWAKonmNm7OOzOK1/G9c6o=; h=From:Date:Subject:MIME-Version:Content-Type:Message-ID:References: In-Reply-To:To:CC; b=e1RF9Q8HL6KtKCw9Uu4tL3gd9XVWTLg+P66fWoCcEpZQWK+2ABowZHon2qYeGjGxNES0f2xUPr1/dHO7460QeFRdYiMI+ymGo2c1ohrr+KxrJYBMlF27fcNJ6IJdAzwWzZ3AYjXiS8GiBYxILA1aGpd4/AmSJZ6zpJIpfchWSMY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=OmS1D4l4; arc=none smtp.client-ip=205.220.168.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Received: from pps.filterd (m0279865.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 43EJSY7l012744; Sun, 14 Apr 2024 19:31:40 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= from:date:subject:mime-version:content-type :content-transfer-encoding:message-id:references:in-reply-to:to :cc; s=qcppdkim1; bh=zKTLKTw5l0AX+U16UvtK38C4in2uHJEeDuYt0ZBJ/sk =; b=OmS1D4l4wAnwoe3N5exr7FIYK5I7bnoDoy+2ekgNl42UwZyGrEotgl+3C/D 7vybfzSGZlqScgpsqZS6kqw1aaeldUdBN5d56SQ4RX0rS68ktKx6Q2xYgEyLL4cd OxTtwSdzbL/ilF7oIx03xxnidl1Y+d3FfpHZcd2relC1Ec4AJIOXOrPZc7zo7dG2 JS6Rhe+/IMPnSOvgxT23lS1hxxEvchCQd5FtCDgiWrB2HoKM87bzAXPNhqfLG8sh Tp6GU319QO3J3nbo+VzBU2Cwf0osytG8FB/7V1CX9TE1GLp/rxHtppugZMGXPhfG Acc5yDmyxtwKEk/karcZlpfU6BQ== Received: from nasanppmta02.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3xfh0wt9wj-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sun, 14 Apr 2024 19:31:40 +0000 (GMT) Received: from nasanex01b.na.qualcomm.com (nasanex01b.na.qualcomm.com [10.46.141.250]) by NASANPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 43EJVc7r023182 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sun, 14 Apr 2024 19:31:39 GMT Received: from hu-eberman-lv.qualcomm.com (10.49.16.6) by nasanex01b.na.qualcomm.com (10.46.141.250) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.9; Sun, 14 Apr 2024 12:30:31 -0700 From: Elliot Berman Date: Sun, 14 Apr 2024 12:30:27 -0700 Subject: [PATCH v2 4/4] arm64: dts: qcom: Add PSCI SYSTEM_RESET2 types for qcm6490-idp 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: 7bit Message-ID: <20240414-arm-psci-system_reset2-vendor-reboots-v2-4-da9a055a648f@quicinc.com> References: <20240414-arm-psci-system_reset2-vendor-reboots-v2-0-da9a055a648f@quicinc.com> In-Reply-To: <20240414-arm-psci-system_reset2-vendor-reboots-v2-0-da9a055a648f@quicinc.com> To: Bjorn Andersson , Konrad Dybcio , Sebastian Reichel , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Vinod Koul , Andy Yan , Lorenzo Pieralisi , "Mark Rutland" , Bartosz Golaszewski CC: Satya Durga Srinivasu Prabhala , Melody Olvera , Shivendra Pratap , , , , Florian Fainelli , , , Elliot Berman X-Mailer: b4 0.12.4 X-ClientProxiedBy: nalasex01c.na.qualcomm.com (10.47.97.35) To nasanex01b.na.qualcomm.com (10.46.141.250) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: vU-ZoGUfNMIciOgV6Xlw2HowjVpU46vB X-Proofpoint-GUID: vU-ZoGUfNMIciOgV6Xlw2HowjVpU46vB X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-04-14_08,2024-04-09_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 bulkscore=0 phishscore=0 mlxscore=0 adultscore=0 mlxlogscore=850 impostorscore=0 lowpriorityscore=0 spamscore=0 suspectscore=0 clxscore=1015 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2404010003 definitions=main-2404140142 Add nodes for the vendor-defined system resets. "bootloader" will cause device to reboot and stop in the bootloader's fastboot mode. "edl" will cause device to reboot into "emergency download mode", which permits loading images via the Firehose protocol. Co-developed-by: Shivendra Pratap Signed-off-by: Shivendra Pratap Signed-off-by: Elliot Berman --- arch/arm64/boot/dts/qcom/qcm6490-idp.dts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/qcm6490-idp.dts b/arch/arm64/boot/dts/qcom/qcm6490-idp.dts index e4bfad50a669..a966f6c8dd7c 100644 --- a/arch/arm64/boot/dts/qcom/qcm6490-idp.dts +++ b/arch/arm64/boot/dts/qcom/qcm6490-idp.dts @@ -126,6 +126,11 @@ debug_vm_mem: debug-vm@d0600000 { }; }; + psci { + mode-bootloader = <0x10001 0x2>; + mode-edl = <0 0x1>; + }; + vph_pwr: vph-pwr-regulator { compatible = "regulator-fixed"; regulator-name = "vph_pwr"; -- 2.34.1