From nobody Sun Feb 8 18:24:01 2026 Received: from mail-lf1-f44.google.com (mail-lf1-f44.google.com [209.85.167.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 41A31137C5A for ; Thu, 7 Mar 2024 20:26:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.44 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709843199; cv=none; b=HvB3NL1nhd43OeUBAgIlxf0173SbTgv5b4KM/6df1QEmKLR/pZmro+VT6aYji9Q3u5nr0OWB38qP7UTbAm0K3B+oVkr1uZTek1l6p2ZxKr5Fk8CXyrl9vijGIz10Is/SIJD8hQ6mCbwHYnF8NxI2ObT0lHfwk0fGHQS9h9RCGqU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709843199; c=relaxed/simple; bh=OdCHOQHuWkm9qqqHGBjNAd4irZiJRWhVY3hQ9M9FgE0=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=k+Oo2hMNCLlBbMsNaPcMBQLWEUAI44si0QgkCtqLS1VlvM888r+bIk/iDTRwISSfgetqWR28XVRoq5FcbPDIXfpydO3dvE8CVMZPQBLnI+zQRdGfyOCWof7ilweu9Q4BzSPziaHD7n1EyUNU1kSq+xkeJBhm63tUZf0oAsgSuZc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=kxYCuIWr; arc=none smtp.client-ip=209.85.167.44 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="kxYCuIWr" Received: by mail-lf1-f44.google.com with SMTP id 2adb3069b0e04-51381021af1so233801e87.0 for ; Thu, 07 Mar 2024 12:26:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1709843196; x=1710447996; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=DJ/59AT7XyPNsXT+2SXTLSVHkazkHTBMB3Mbjed8awk=; b=kxYCuIWrp5uZJmmHxr+F+foR570bRHa9RamFnyBdY7F21KI7lQg6KdYazQIgO7Evxf VWn3fAnmGT37XEzA8a9Uapasg8gUD3VRUDOAWQ+fAzJAXSBWOwC+TmyfjjA86iL/TsQn YPJp1Hp+4aQz0LO89nvMqN49EXO5u0uG+Eii9OPdg85rWi1gfdaWRPhOZ5HOoEwGgU2q iwT9AeqG12/fbHT95zu/ZxF1V8uq9TBpx1bw4l8NmEUtktWT8u2jPb2behhZi+Cj/L3I qSbkNRmcX2O8fqUTnygn5ECNhlLMMZbDX2TqxI3JDjPPMhXLpx3hicE+k5NMxM/0bjLz tfaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709843196; x=1710447996; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=DJ/59AT7XyPNsXT+2SXTLSVHkazkHTBMB3Mbjed8awk=; b=tw4/8iEwd0bwP4RlKMTd5pBkNneJOqqXa82J2gbfs3WeuHreW4IIiHnQd5NHcH0H1N GMa6VsjH66cJVhlO8LtDRjAxKq3m2x19CifCfHbf+aXMhqLcIXa5bG3A2iMSJct93ljW nvaQA7RFX0khO8JNxl8kQIs2x1KJLyK2WlNaXIaJSnfV6+drxQR01/i3IPFp4F8CIhYs MFj6Iad4ouax4tTTIuSDqr5FEFxgTYmr+ErosLRFz+SffDqG4aZYyEZMEu6Oc45YNAzv Wfa5lnX/qbd0/vaExUkuUQnJZT9EDNI/PBVK9SrgWVsyYJ1IiZ1NUA49x8zMfaOOsxpn mJgg== X-Forwarded-Encrypted: i=1; AJvYcCX7b00dNpznR0+eBU6wXpkwIvvAHyObT0emyDYz73738j17Bt3mEoop4ODksFowCTKzJH28du/QOVjvC0Fd9lSjHfGeuuEeWCVCztgu X-Gm-Message-State: AOJu0YyEQut6Ut4civ9quP/6e3l5wVKk3wp8bjiHuH+suNWyfD9sVsDJ D8E5z332eu8iTJ4J4C8yU3/giFiTdLkt8urqAWGuZKHI8WG2cZibhlDFgpw1/nfQBtHm1ImvYDS X2zM= X-Google-Smtp-Source: AGHT+IEfD6u+VCQGcqKF65l57UC1kpuwX15xyXNivXKLkxtQTHFvVIQ/y+jYYKfv1Hw25zJB4dJWIg== X-Received: by 2002:a19:520b:0:b0:513:572f:88f1 with SMTP id m11-20020a19520b000000b00513572f88f1mr1985430lfb.27.1709843196010; Thu, 07 Mar 2024 12:26:36 -0800 (PST) Received: from [127.0.1.1] (UNUSED.212-182-62-129.lubman.net.pl. [212.182.62.129]) by smtp.gmail.com with ESMTPSA id dw20-20020a0565122c9400b005132bf9f8dcsm2957606lfb.303.2024.03.07.12.26.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Mar 2024 12:26:35 -0800 (PST) From: Konrad Dybcio Date: Thu, 07 Mar 2024 21:25:54 +0100 Subject: [PATCH 1/4] dt-bindings: nvmem: Add compatible for SC8280XP 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: <20240307-topic-8280_nodes-v1-1-4eba20e08902@linaro.org> References: <20240307-topic-8280_nodes-v1-0-4eba20e08902@linaro.org> In-Reply-To: <20240307-topic-8280_nodes-v1-0-4eba20e08902@linaro.org> To: Bjorn Andersson , Srinivas Kandagatla , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Johan Hovold , Konrad Dybcio X-Mailer: b4 0.13-dev-0438c Document the QFPROM block found on SC8280XP. Signed-off-by: Konrad Dybcio Acked-by: Rob Herring --- Documentation/devicetree/bindings/nvmem/qcom,qfprom.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/nvmem/qcom,qfprom.yaml b/Doc= umentation/devicetree/bindings/nvmem/qcom,qfprom.yaml index 8c8f05d9eaf1..65df38bfc17c 100644 --- a/Documentation/devicetree/bindings/nvmem/qcom,qfprom.yaml +++ b/Documentation/devicetree/bindings/nvmem/qcom,qfprom.yaml @@ -34,6 +34,7 @@ properties: - qcom,qcs404-qfprom - qcom,sc7180-qfprom - qcom,sc7280-qfprom + - qcom,sc8280xp-qfprom - qcom,sdm630-qfprom - qcom,sdm670-qfprom - qcom,sdm845-qfprom --=20 2.40.1 From nobody Sun Feb 8 18:24:01 2026 Received: from mail-lf1-f51.google.com (mail-lf1-f51.google.com [209.85.167.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 305F5137C43 for ; Thu, 7 Mar 2024 20:26:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.51 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709843201; cv=none; b=FIuyPNCTmVjZIwIwX6SVAKkJPMBtL9I8yDhPmlax1MRew5XwxSFpwuO+5lWf8yzMmyfxPTxSicK0lHx+lNMXSvCSucph6+kwnMiDvkiiqhc7Mh8BXXGmRiZ9fg0PIFxriOXuGz3usfkFmaHDaX8ltEhqZFuQDlz0X1Eku3k5Ai8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709843201; c=relaxed/simple; bh=8/DGQ83cSrSaq7LKUH+VcyTeHlJ4+6SBCpMrcm8Id5w=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=f0eMPZEKjVKXmAtJT54Jg24uQ5Xvq8pX+Zx93qYez1J/kzgrjz4qWQXLHB0XzUOek3WoijKZ0VQ/J3hm7nCv6QBglqOAY34OK94ugkyNikO46GhxIA/mZtzGMq/QK7XtAHujw/Xx2IPaJAuINcpdFG+A5kKy8FmeYmPdXgr5Des= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=FeF0tkYM; arc=none smtp.client-ip=209.85.167.51 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="FeF0tkYM" Received: by mail-lf1-f51.google.com with SMTP id 2adb3069b0e04-51364c3d5abso1414853e87.2 for ; Thu, 07 Mar 2024 12:26:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1709843197; x=1710447997; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=KXLwWeiszGpI6rrdYGEs9FVibKJ/VcRC9EN9PxgZG1A=; b=FeF0tkYM7p8K+uO++OZ+5ekUyR1DFYG/YzA+aWPOQXeW/qiIZpWxAhmJW4QSQL1m8F K54AIDCUW7xBfSeFn92dcNV2mawKKHTXo4f2kYXkUmjWlq+i4DGldo/H9LpuJzqNl/UP 9un2Pe1hL274UPyaElKN1lVzOJUNloP5IbZ7snDh2cQuyqbxAtrdUUi0YrrEdHbGLBQ/ cd9EvjQvBOXxGQeMyh6Se2qbbZCuYlteYGlPq3QzMzagiCcoWN3LcDLb8yDf398CROgD 3ZqHKqn9WqM7mPm/Mw7s1SwxJwKXCaMvsKzO9xBYa5o+2zVIMwrcDYkZjUyWt+1OqBTn sOuQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709843197; x=1710447997; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=KXLwWeiszGpI6rrdYGEs9FVibKJ/VcRC9EN9PxgZG1A=; b=H+/4RBL46JwGZhou3IBAGlb/3atfqNZdmcexR0wFr4TaGJysAA74mkH0ACX3khVflb at/4OdYvZdoU5Dm6bSHl7xU4kO39BQ9YS+KnqmP5SwQDihmbDmmCrAsr4aSAgcvroE+G iZsMzP0WTaS1KTdKUgF35Uxmcg++/jDXMEwFxLqsINOGWI5A+i8rFr5qTZS8a2DfmSBP ES5mSIAZWFoMlzJrBaYTg9Ly6FxDLqZ/3GaqdXHbh/769SLBkDEgfF2KPMoIeYZPoTST OmYK2Bh7kL4+knGy50JZ70REPYJiVu72021JOYsuRFuthhsBSJ7wB+dBRujSv2iG2m4o oKGw== X-Forwarded-Encrypted: i=1; AJvYcCXeadfIegMPUq7N6VCYFwxi50wo8utLHjW3tXi2pOzLkGBSsmbxPOEIZW7zPgeUDUs7EkEYIPut6NjVkR0A3801o13KcZU/WFWtWi2+ X-Gm-Message-State: AOJu0YxYH5AzzVOltyGd8al40xtVt6fU1AXg3koUDi+mEuRDUj4FTMdW CeTWaoNIjyp6xkffyRxJrD4uLe6ytknaAknVSUcPEO6lXLA7IlXVyU6hEy//nb1HqnWtlT3V0Qs 3qJc= X-Google-Smtp-Source: AGHT+IH93hG+h+Zy3uBuBwbbaDvrwkiy3pPB5UMxB0V3Sm698sVGTruTmwRMuXQR/YJ5ItnZI0ed2A== X-Received: by 2002:a19:e047:0:b0:513:5b81:f2f8 with SMTP id g7-20020a19e047000000b005135b81f2f8mr2139044lfj.54.1709843197150; Thu, 07 Mar 2024 12:26:37 -0800 (PST) Received: from [127.0.1.1] (UNUSED.212-182-62-129.lubman.net.pl. [212.182.62.129]) by smtp.gmail.com with ESMTPSA id dw20-20020a0565122c9400b005132bf9f8dcsm2957606lfb.303.2024.03.07.12.26.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Mar 2024 12:26:36 -0800 (PST) From: Konrad Dybcio Date: Thu, 07 Mar 2024 21:25:55 +0100 Subject: [PATCH 2/4] arm64: dts: qcom: sc8280xp: Add QFPROM node 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: <20240307-topic-8280_nodes-v1-2-4eba20e08902@linaro.org> References: <20240307-topic-8280_nodes-v1-0-4eba20e08902@linaro.org> In-Reply-To: <20240307-topic-8280_nodes-v1-0-4eba20e08902@linaro.org> To: Bjorn Andersson , Srinivas Kandagatla , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Johan Hovold , Konrad Dybcio X-Mailer: b4 0.13-dev-0438c Describe the QFPROM NVMEM block. Also, add a subnode to represent the GPU speed bin region within it. Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sc8280xp.dtsi | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sc8280xp.dtsi b/arch/arm64/boot/dts/q= com/sc8280xp.dtsi index a5b194813079..a3725d917bef 100644 --- a/arch/arm64/boot/dts/qcom/sc8280xp.dtsi +++ b/arch/arm64/boot/dts/qcom/sc8280xp.dtsi @@ -862,6 +862,18 @@ ipcc: mailbox@408000 { #mbox-cells =3D <2>; }; =20 + qfprom: efuse@784000 { + compatible =3D "qcom,sc8280xp-qfprom", "qcom,qfprom"; + reg =3D <0 0x00784000 0 0x3000>; + #address-cells =3D <1>; + #size-cells =3D <1>; + + gpu_speed_bin: gpu-speed-bin@18b { + reg =3D <0x18b 0x1>; + bits =3D <5 3>; + }; + }; + qup2: geniqup@8c0000 { compatible =3D "qcom,geni-se-qup"; reg =3D <0 0x008c0000 0 0x2000>; --=20 2.40.1 From nobody Sun Feb 8 18:24:01 2026 Received: from mail-lf1-f53.google.com (mail-lf1-f53.google.com [209.85.167.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AA8AD139586 for ; Thu, 7 Mar 2024 20:26:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.53 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709843202; cv=none; b=axgUrZNqX4RH6EKGcgySBfiGbR6mYzD5pxVK7CuFlyOPfeOVGViZLOHnHDfxpcSBlpGSSLV2aeJhGMr1mr90BswTkTAt4P9r1h0h1ow/vWdH0OiCw2TXFvTTKWyTQJax37UCpeaWFddRkp6RTLLCtk/OdbA8Hbw6E3zIHMJA9VM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709843202; c=relaxed/simple; bh=X88G2FAej3PmBxt17XiJ31e6Y+NzBpD9H6c5ItuxDfw=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=sfZSNq4xI6bx5y6hwURyB5Zm2ttTWhGvN0+Ms1m4haqwW4Bo0D0ZioD27Xsg8COUUxf9CpOibfIgB9aAh6pZAz63PkBgDw2T/wpvEGWQYxgH/oK4WAIU9rsUfNbPkoj78CX+rkso+4txSWOtj3CSeM7TMKpFDx6ie5KCmoUSaOM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=W7zKGP3L; arc=none smtp.client-ip=209.85.167.53 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="W7zKGP3L" Received: by mail-lf1-f53.google.com with SMTP id 2adb3069b0e04-51326436876so1684293e87.1 for ; Thu, 07 Mar 2024 12:26:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1709843198; x=1710447998; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=d0TmD/+bSNy0i2UXEWLDDUBW107WaHdsG6ntcrYPB/o=; b=W7zKGP3LC9G69hKkd/7kuI6jz51k+/9db5BGRXp6Y+ypdQLjNeCzaN7HMr7trFMCon A7e2PyKsqCVoYN1iYlnAycKv+GWZ3cG/6nsEL3YHB6WBHUhDJW13jUZKDIIU1GfqUXCY SR+Til0b2L6jFHPlClTruir53KvpjTdM8lJh2YqVJ7hanDOcicoOZ79CwyCYD4XSbybd xDDFCzbVFYMYkN6P3o6KNxCF4hq3gxDuYGRsUm5N4zuWACV64yPL6Wc9S1HZaKxU51rA ifKRmMQpS6d6EPPKhZb+dxVWUwF2S7PTnbaUVg99OA5tH00cyT4xujDic0HWy0XHnJgD 9x0g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709843198; x=1710447998; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=d0TmD/+bSNy0i2UXEWLDDUBW107WaHdsG6ntcrYPB/o=; b=Da73aVh3xOFB4XU6B8gybRv43gSUQ7n1IUWjQcxc74nKV1sXDQOYeVnL4UAdp+EWhv oNtecVCzjRQxdpsud2kLo/dalR7+rh4WDZX9Ij1k5XESHmXrkR4Wtlab/yR8q/vnx7yJ Z9HjTlzBiAA1ROnUv+JmtOVD03b0F2gXKrot2q8WU4wRA6vtaFSPL9I9VcgXduc/LbP5 csZRnJmxeWc8S5Gk73x/mKg7ELA7ZABO2QZ8ptI5EQWrQpSl31GPKw9v4cfDpwvmOfZk tExSwSYQZh57hXjbV8DP2eaFqZnaKLCC9IrhPe1B4RGtakXHbxEOBAbTaSk7Js67M5kv d74Q== X-Forwarded-Encrypted: i=1; AJvYcCXGdbNMf6ALfFV88nF4PJGrAujgWoNxzVvt+8WhPWaKLmwREhg1u0X+bfFtUE+Iaebt+0AiUj5ZnYS6DDwvHTz3G6nNjPaMNoU2v6BL X-Gm-Message-State: AOJu0YzDa9BFCig8+Q4udiokMOL8nIiA8pOt6zNVf0xjHoZrNVL6bPNv 5AsCCZnNagjY+6tKMk01JofeE54Asg4o+Kj7wswyraeoIilUTcCLthYmQk5aOyAyVID8GWhcQE+ I4Rc= X-Google-Smtp-Source: AGHT+IFINYOtVbitN2J3giG8Mx1gVJS/NaU4sqF7A7hzGW4ucQRrUCd9XIEIiyCE+MA0IkaSmGz/PA== X-Received: by 2002:a19:8c08:0:b0:512:dfa1:6a1c with SMTP id o8-20020a198c08000000b00512dfa16a1cmr2167169lfd.10.1709843198424; Thu, 07 Mar 2024 12:26:38 -0800 (PST) Received: from [127.0.1.1] (UNUSED.212-182-62-129.lubman.net.pl. [212.182.62.129]) by smtp.gmail.com with ESMTPSA id dw20-20020a0565122c9400b005132bf9f8dcsm2957606lfb.303.2024.03.07.12.26.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Mar 2024 12:26:37 -0800 (PST) From: Konrad Dybcio Date: Thu, 07 Mar 2024 21:25:56 +0100 Subject: [PATCH 3/4] arm64: dts: qcom: sc8280xp: Add PS_HOLD restart 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: <20240307-topic-8280_nodes-v1-3-4eba20e08902@linaro.org> References: <20240307-topic-8280_nodes-v1-0-4eba20e08902@linaro.org> In-Reply-To: <20240307-topic-8280_nodes-v1-0-4eba20e08902@linaro.org> To: Bjorn Andersson , Srinivas Kandagatla , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Johan Hovold , Konrad Dybcio X-Mailer: b4 0.13-dev-0438c Killing the platform with a single write and no firmware involvement is pretty cool, add support for it. Note that due to restart notifier priority settings, PSCI reset will be used instead, unless: a) PSCI is not exposed by the firmware (e.g. because the fw was replaced) or b) PSCI restart fails for some reason Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sc8280xp.dtsi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sc8280xp.dtsi b/arch/arm64/boot/dts/q= com/sc8280xp.dtsi index a3725d917bef..44c8d543eb67 100644 --- a/arch/arm64/boot/dts/qcom/sc8280xp.dtsi +++ b/arch/arm64/boot/dts/qcom/sc8280xp.dtsi @@ -4460,6 +4460,11 @@ tsens0: thermal-sensor@c263000 { #thermal-sensor-cells =3D <1>; }; =20 + restart@c264000 { + compatible =3D "qcom,pshold"; + reg =3D <0 0x0c264000 0 0x4>; + }; + tsens1: thermal-sensor@c265000 { compatible =3D "qcom,sc8280xp-tsens", "qcom,tsens-v2"; reg =3D <0 0x0c265000 0 0x1ff>, /* TM */ --=20 2.40.1 From nobody Sun Feb 8 18:24:01 2026 Received: from mail-lf1-f43.google.com (mail-lf1-f43.google.com [209.85.167.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A032813A252 for ; Thu, 7 Mar 2024 20:26:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.43 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709843203; cv=none; b=ehDfihexun2vHAOsOM/WZoalMG9GCNKL+XPyZ9KRfMewMToAMeYK6QLR5AmNlRpPjFvfTFQsCZG3llb/DnC89aXRRITfeDzBffXYIv3I9a8EgR7didASa3hIQfjxW/icavdonmm/y+Al8lobC9Gj9xkYT6dMogNlVjchzdwUQJo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709843203; c=relaxed/simple; bh=R8dlxZ1dL3OvX88UWru4D0wpduTJJJAyqR4VxSwIyG8=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=WiLef0jII1yH0+83mrC6Pj84mC0XkE00v91uRnF4W08EETLzgQZ/AWqaYdYmb+5+cdgj7AGzQn/wYmuzCWUAbiD5+8odCzU0hfv0CSIj9QMNX2WMrSfdtTwpZBjYFwNrMjCyQCBeXP0RYZwGnqCpXEcWHQ//05ppdCXW0uGxUA4= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=isoJdhp/; arc=none smtp.client-ip=209.85.167.43 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="isoJdhp/" Received: by mail-lf1-f43.google.com with SMTP id 2adb3069b0e04-51320ca689aso162691e87.2 for ; Thu, 07 Mar 2024 12:26:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1709843199; x=1710447999; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=KCBc9I/4oSGOdNN/iaVU4s4pU6JlIs3DbcJQb4sXpL0=; b=isoJdhp/0Z2NeZOiugz+n+9TsmEL/ef8dZLOXHUk/grrJ/uyFI5wjrdG/kGOz4AVfu x0uYUbOzmdTqAm28EihSM5xUEGdU9JY/x1RZZriOgd2YQNJ0PDuVBea4+7HHRm5UudGS e5M8dp6hDJoMAjMaNafgb+vfxeHYNBCxa6ofrpkeUUPXJd2EvnzuwcaHLkquetd0+uCe arcTZCI7PyBYExAs+mJP+MF/O6SnFTCExVJZYrgnclCBed3eI8JLDUo9lP5JGT4F+zkH PCJ409NWq5nWSy3dbp/c8sACeGB0bewnwzrhHSTdC2ZNe48U1aOtUTMlUTw9x4jUr4Zp kSBA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709843199; x=1710447999; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=KCBc9I/4oSGOdNN/iaVU4s4pU6JlIs3DbcJQb4sXpL0=; b=qwv9SSokiI7RYF71c0hI8TCNjiNZc0LHhQ1rQrq4C/wm3ln00I0jCFuxg5t5+djJBc IIa+7zkPKQ+19gq5DIdL2ZlunCij+XTJTV6MkX+2as0uD/lx0Up0RgU/vS2B1HHOAs0H zX4tzLB+3gcrfl2DgI3nUBIVoy41iCJpUuDFR7iCefknAUKsW520ymXUkVUrCYIdlA5A DFizz//qpm0W61awf2Jwm+MLW4fS9nvm/p+0eFYfyGh5ppe1G2rXBtHelLDwIXwnd82T rL1zc99hZQ+86w4sBKc2BW19VjzcZg7boHyzKhEaCx4EGSVIWvURi09OxC//yjZoeC0Z aqvw== X-Forwarded-Encrypted: i=1; AJvYcCX7bPX4t+nOaz1RFDhXU00uCgCsHaXGdePd71Qcx2kIDzr97QDiXQq+MDGyERUoOtjAwIr510nQqppRwKuz1NjFUr7Mu4/oBkEjD+Ao X-Gm-Message-State: AOJu0YzGfzy6FxGej99ox0lljAVG0iE9rw8y/2PhPzTu5fcIF8kNZpxt DLG/GMetEDHiBk+ZkFdYvRl/CDpC508P2hlqt/0vJR0eTikiA8ez1nlj7uNSWzVXvyzRh0uJNG1 MnpI= X-Google-Smtp-Source: AGHT+IF0QtTfnjNxc7RaucC2xKlJ8lzE42wr693p1q+ZVNMxs/Coym5IIOj+4d2YDPz/4k6JNRK4yg== X-Received: by 2002:a05:6512:3b9f:b0:512:a4ce:abaa with SMTP id g31-20020a0565123b9f00b00512a4ceabaamr3014389lfv.48.1709843199561; Thu, 07 Mar 2024 12:26:39 -0800 (PST) Received: from [127.0.1.1] (UNUSED.212-182-62-129.lubman.net.pl. [212.182.62.129]) by smtp.gmail.com with ESMTPSA id dw20-20020a0565122c9400b005132bf9f8dcsm2957606lfb.303.2024.03.07.12.26.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Mar 2024 12:26:39 -0800 (PST) From: Konrad Dybcio Date: Thu, 07 Mar 2024 21:25:57 +0100 Subject: [PATCH 4/4] arm64: dts: qcom: sc8280xp: Describe TCSR download mode register 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: <20240307-topic-8280_nodes-v1-4-4eba20e08902@linaro.org> References: <20240307-topic-8280_nodes-v1-0-4eba20e08902@linaro.org> In-Reply-To: <20240307-topic-8280_nodes-v1-0-4eba20e08902@linaro.org> To: Bjorn Andersson , Srinivas Kandagatla , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Johan Hovold , Konrad Dybcio X-Mailer: b4 0.13-dev-0438c To allow for swift EDL reboots, describe the respective register under the scm node. Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sc8280xp.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/qcom/sc8280xp.dtsi b/arch/arm64/boot/dts/q= com/sc8280xp.dtsi index 44c8d543eb67..505cae44f828 100644 --- a/arch/arm64/boot/dts/qcom/sc8280xp.dtsi +++ b/arch/arm64/boot/dts/qcom/sc8280xp.dtsi @@ -300,6 +300,7 @@ firmware { scm: scm { compatible =3D "qcom,scm-sc8280xp", "qcom,scm"; interconnects =3D <&aggre2_noc MASTER_CRYPTO 0 &mc_virt SLAVE_EBI1 0>; + qcom,dload-mode =3D <&tcsr 0x13000>; }; }; =20 --=20 2.40.1