Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/2217828/?format=api
{ "id": 2217828, "url": "http://patchwork.ozlabs.org/api/patches/2217828/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20260330171419.1117817-5-aswin.murugan@oss.qualcomm.com/", "project": { "id": 18, "url": "http://patchwork.ozlabs.org/api/projects/18/?format=api", "name": "U-Boot", "link_name": "uboot", "list_id": "u-boot.lists.denx.de", "list_email": "u-boot@lists.denx.de", "web_url": null, "scm_url": null, "webscm_url": null, "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<20260330171419.1117817-5-aswin.murugan@oss.qualcomm.com>", "list_archive_url": null, "date": "2026-03-30T17:14:16", "name": "[v3,4/7] dts: qcs615-ride-u-boot.dtsi: Add reboot-mode support", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "36c0905de151a7c7d33ee1da7bbbec7c6e3c487f", "submitter": { "id": 90811, "url": "http://patchwork.ozlabs.org/api/people/90811/?format=api", "name": "Aswin Murugan", "email": "aswin.murugan@oss.qualcomm.com" }, "delegate": { "id": 151538, "url": "http://patchwork.ozlabs.org/api/users/151538/?format=api", "username": "kcxt", "first_name": "Casey", "last_name": "Connolly", "email": "casey.connolly@linaro.org" }, "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20260330171419.1117817-5-aswin.murugan@oss.qualcomm.com/mbox/", "series": [ { "id": 498069, "url": "http://patchwork.ozlabs.org/api/series/498069/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=498069", "date": "2026-03-30T17:14:12", "name": "qcom: Add NVMEM bitfield support and reboot���mode integration", "version": 3, "mbox": "http://patchwork.ozlabs.org/series/498069/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2217828/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2217828/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<u-boot-bounces@lists.denx.de>", "X-Original-To": "incoming@patchwork.ozlabs.org", "Delivered-To": "patchwork-incoming@legolas.ozlabs.org", "Authentication-Results": [ "legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=qualcomm.com header.i=@qualcomm.com header.a=rsa-sha256\n header.s=qcppdkim1 header.b=Qq9Uj/ut;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com\n header.a=rsa-sha256 header.s=google header.b=XV/aaISN;\n\tdkim-atps=neutral", "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de\n (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de;\n envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org)", "phobos.denx.de;\n dmarc=none (p=none dis=none) header.from=oss.qualcomm.com", "phobos.denx.de;\n spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de", "phobos.denx.de;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=qualcomm.com header.i=@qualcomm.com\n header.b=\"Qq9Uj/ut\";\n\tdkim=pass (2048-bit key;\n unprotected) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com\n header.b=\"XV/aaISN\";\n\tdkim-atps=neutral", "phobos.denx.de; dmarc=none (p=none dis=none)\n header.from=oss.qualcomm.com", "phobos.denx.de;\n spf=pass smtp.mailfrom=aswin.murugan@oss.qualcomm.com" ], "Received": [ "from phobos.denx.de (phobos.denx.de\n [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4fkyYt52RJz1yG7\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 31 Mar 2026 04:15:30 +1100 (AEDT)", "from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id E137D84011;\n\tMon, 30 Mar 2026 19:15:18 +0200 (CEST)", "by phobos.denx.de (Postfix, from userid 109)\n id BB1FF83E7A; Mon, 30 Mar 2026 19:15:17 +0200 (CEST)", "from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com\n [205.220.168.131])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))\n (No client certificate requested)\n by phobos.denx.de (Postfix) with ESMTPS id 8F27C84011\n for <u-boot@lists.denx.de>; Mon, 30 Mar 2026 19:15:15 +0200 (CEST)", "from pps.filterd (m0279864.ppops.net [127.0.0.1])\n by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id\n 62UH2OZO4013626\n for <u-boot@lists.denx.de>; Mon, 30 Mar 2026 17:15:13 GMT", "from mail-pf1-f199.google.com (mail-pf1-f199.google.com\n [209.85.210.199])\n by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4d7regsd9q-1\n (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT)\n for <u-boot@lists.denx.de>; Mon, 30 Mar 2026 17:15:13 +0000 (GMT)", "by mail-pf1-f199.google.com with SMTP id\n d2e1a72fcca58-82c4664f75fso3906238b3a.3\n for <u-boot@lists.denx.de>; Mon, 30 Mar 2026 10:15:13 -0700 (PDT)", "from hu-aswinm-blr.qualcomm.com\n (blr-bdr-fw-01_GlobalNAT_AllZones-Outside.qualcomm.com. [103.229.18.19])\n by smtp.gmail.com with ESMTPSA id\n d2e1a72fcca58-82ca8626518sm7349777b3a.52.2026.03.30.10.15.04\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Mon, 30 Mar 2026 10:15:11 -0700 (PDT)" ], "X-Spam-Checker-Version": "SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de", "X-Spam-Level": "", "X-Spam-Status": "No, score=-0.1 required=5.0 tests=BAYES_00,DKIM_SIGNED,\n DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED,\n RCVD_IN_VALIDITY_CERTIFIED_BLOCKED,RCVD_IN_VALIDITY_RPBL_BLOCKED,\n SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.2", "DKIM-Signature": [ "v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h=\n content-transfer-encoding:date:from:in-reply-to:message-id\n :mime-version:references:subject:to; s=qcppdkim1; bh=pbBu7bw1B84\n jNKy/jnQuW2CKf2iRazPLn5S4sYEmd/Y=; b=Qq9Uj/utqYxVjObhR1VbiX9MDO0\n ZlcD1uDyx91O43uCea2GBooksJMEnjWsdWw3x9TXKMUgAOsDQtGE/Bx7cpct6ljj\n baO7kZfxoVqg/oAu/W9VTLwAJSKHc+E/O4LF4MHlWJWTZ0PpSlPUtdA6Gdgw8Ubj\n j9dI9zFwOB+qViCrFcbeBs3/ci/5mvIC0p/Q23Eo3eBX/MhIKE6w7I9lIjN3O6KY\n cxHwkp2NRGiEg7l8kCKXBZqobwg0LfgvZQkSHuMG1fmqJTWtHoB+REha6zasDIH+\n +mdiiI+wAw2HdZvhKqtf7SZeHuNUKxzEq7XzCm60N9jatPbqVf8uDVumilQ==", "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=oss.qualcomm.com; s=google; t=1774890913; x=1775495713; darn=lists.denx.de;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:to:from:from:to:cc:subject:date:message-id\n :reply-to; bh=pbBu7bw1B84jNKy/jnQuW2CKf2iRazPLn5S4sYEmd/Y=;\n b=XV/aaISN/LOgyuVizq8YOwTvBmns8EQa1SofD6wJ6qhh5/Qdo68ij/Rsf00XvY82Bw\n 5ux9t+MMHrOqpt2xGZMRKWzXNLT3T6cq9fyZySGY1lV03FRvT32cqA1R9kioUTbX9I79\n wMj0Bu1VD2B70DUZpAtYGul2uEKwghvuwGiDx1vf3EGQVuGpRA6tylhPIwMbCdwrnvqK\n 9XhDrjYE/cwzh9KE2gKrUueaF46s/va02jb+f11MEfYba5DrzlRxKbSMJFp214SV5Gs7\n p9QGACZgvKWdAzHKlo/aEXP8sNNmNbuc8i5xD5X3o6wRm1CJ2U+uQfpZrfrTZ36k9Rm1\n uxMw==" ], "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1774890913; x=1775495713;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:to:from:x-gm-gg:x-gm-message-state:from:to\n :cc:subject:date:message-id:reply-to;\n bh=pbBu7bw1B84jNKy/jnQuW2CKf2iRazPLn5S4sYEmd/Y=;\n b=PQDGLtJNV8FysCFq/9eWy/kBEoMAv5HnIuo26nxYlreAFV6sUklu+SkxGUf/8ogGx2\n w5SSTG7MDA0dmLuiMOrVCE6j0IecQUe2Z9J82DXH50320TfoO9O/gUPQb7tsd3ZH2WqC\n vG0AH6c8Ej8i+sggD6GoE7pg152dIrsW50+wMPdTpYvWVnsPLCfr8IpgNqs5gGGFGS8P\n rquC1RCpJPB3Q9R8N/PlvHW70I65yy/fPs5H2/U+S3Z/qoxNyBqo3MRx/lvqdy2ZLnIN\n 7QR+7LMSziyxs/z5D6lYpxgfNbeygnpVjBpI0rjspT5Xx5YTlJe/QhSL5hN6VjXS2004\n d/xw==", "X-Forwarded-Encrypted": "i=1;\n AJvYcCXHlXCWMArFEZZTiaMXQ8C790MsPTkuxUCcXFYtfBjBoyua0vi/DnOEoV6/VZUezcAVw3BhzvA=@lists.denx.de", "X-Gm-Message-State": "AOJu0YzmmgO/EJ91+LHSQo3YLMPNSiyB5bwJsCZ4TPfn9F+ZRJNFpf1P\n ri2sZygEtm2KEEoIWBMjW3zZrR6nQvBVsWxlzfiI72nJto2ZFlzBCvtymLKKzi6xrtoHi/8GqEf\n 6wt5Rz/vpLVEnlfC7iEDAtDow2g8fc9kEt0LaO9WI8/6Vag7SPzS/oEza", "X-Gm-Gg": "ATEYQzyFYumJ5M7/VopU/fAt+WH7z0D6uEX4XFN7GMR8eP5fJr1beU4dJzqkfMFCcSF\n CA+mNvnIeoMxyvGimXwX5xrWqL918/7NX2cChSuNNtfIL0cmscsGZhocSlgpLJ0GaH899rmVCZr\n lM7ya5VVLH+GUjASs2Zn2WPSKe1lnnZCTXDRSTJZ9mVvtgosIC2lJocQmzwXG/wmVyMd8Sixqs/\n cJXohUWeQfqkEFpGQViJQMKJ8r4aqFbpj9/CFUkmcLO/X60ay7oac8YLF87HflhoHVLAQ9RqIxe\n +BDIUria2jmPaehfvzSaSQBohZRB88a+dwpFq+VpPZfDmQAvP/EFF46EO9RQsB8MIe1XAu3yTlj\n C6j/eo7XdsLN9wThmbYrGXvS+SnEXtZIqWXcLn58brjy4Lp40OIg+YHvJ01LWTVPTUaN1ETT21m\n EEaBSKcpn7jaqeP0LqpOQWoZaD8UBvyV0LP+4QDXVZ", "X-Received": [ "by 2002:a05:6a00:338c:b0:827:489d:76d0 with SMTP id\n d2e1a72fcca58-82c95e6ee8dmr12012298b3a.14.1774890912753;\n Mon, 30 Mar 2026 10:15:12 -0700 (PDT)", "by 2002:a05:6a00:338c:b0:827:489d:76d0 with SMTP id\n d2e1a72fcca58-82c95e6ee8dmr12012252b3a.14.1774890912194;\n Mon, 30 Mar 2026 10:15:12 -0700 (PDT)" ], "From": "Aswin Murugan <aswin.murugan@oss.qualcomm.com>", "To": "trini@konsulko.com, aswin.murugan@oss.qualcomm.com,\n casey.connolly@linaro.org, neil.armstrong@linaro.org,\n sumit.garg@kernel.org, sjg@chromium.org, seanga2@gmail.com,\n sughosh.ganu@arm.com, ilias.apalodimas@linaro.org, gchan9527@gmail.com,\n mkorpershoek@kernel.org, hs@nabladev.com,\n marek.vasut+renesas@mailbox.org, msp@baylibre.com,\n dinesh.maniyam@altera.com, peng.fan@nxp.com, quentin.schulz@cherry.de,\n kever.yang@rock-chips.com, jamie.gibbons@microchip.com,\n justin@tidylabs.net, xypron.glpk@gmx.de, n-francis@ti.com, h-vm@ti.com,\n ycliang@andestech.com, u-boot@lists.denx.de, u-boot-qcom@groups.io", "Subject": "[PATCH v3 4/7] dts: qcs615-ride-u-boot.dtsi: Add reboot-mode support", "Date": "Mon, 30 Mar 2026 22:44:16 +0530", "Message-Id": "<20260330171419.1117817-5-aswin.murugan@oss.qualcomm.com>", "X-Mailer": "git-send-email 2.34.1", "In-Reply-To": "<20260330171419.1117817-1-aswin.murugan@oss.qualcomm.com>", "References": "<20260330171419.1117817-1-aswin.murugan@oss.qualcomm.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "X-Authority-Analysis": "v=2.4 cv=G6wR0tk5 c=1 sm=1 tr=0 ts=69caafa1 cx=c_pps\n a=WW5sKcV1LcKqjgzy2JUPuA==:117 a=Ou0eQOY4+eZoSc0qltEV5Q==:17\n a=Yq5XynenixoA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22\n a=u7WPNUs3qKkmUXheDGA7:22 a=DJpcGTmdVt4CTyJn9g5Z:22 a=EUspDBNiAAAA:8\n a=yUmxN5dSmvX78ioYZS4A:9 a=OpyuDcXvxspvyRM73sMx:22", "X-Proofpoint-Spam-Details-Enc": "AW1haW4tMjYwMzMwMDE0MSBTYWx0ZWRfX5V7DsJKSFoai\n 2PO8X5to8P8N7SLZfXUxHwozYrlAN4GPIC4OGXqY6Qvz2nSU34wq1s7oL2k+y7GeYsgiv+cySdZ\n hcf8kicdLsgkunnSILqUymtcvgBU+ol3CCq/ohHCSaU7G7reClMd1ehKv3rSpCsPzG29hFGAYR+\n 0aZUD+fmKdTyrNIogCZRiungxjkTuA1Ibi6W0VRqZPz7e/Z9aEwzCBiVrQh115qyJryvpGgalK3\n tyK7DYaB/qRqGXdE1u8V+rz+FUnuNWzBfhCl/er9hBQ6vkq8Ruu0w6EzGDJjKkj8MH5zogAZAn/\n ZjgR7lXzVp2MdiHO+5tJ3oyr8VMMoaw3hNpTCzxlhmm/rfuhGtQ5nhV0MNNJlnEvtRNAoebMCeR\n YhdnP/mIplEmTals8DTwRBayAHGtdrEVD2NhoC25v5WVzyC1aCegFrUqBvl18EbZl8EcPSy5qAF\n YLPUszrwAjbjcSPCNFw==", "X-Proofpoint-ORIG-GUID": "ECj_GV6R7RXm2fVgoELtnAzKgHuGt-Bj", "X-Proofpoint-GUID": "ECj_GV6R7RXm2fVgoELtnAzKgHuGt-Bj", "X-Proofpoint-Virus-Version": "vendor=baseguard\n engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.51,FMLib:17.12.100.49\n definitions=2026-03-29_05,2026-03-28_01,2025-10-01_01", "X-Proofpoint-Spam-Details": "rule=outbound_notspam policy=outbound score=0\n impostorscore=0 phishscore=0 clxscore=1015 suspectscore=0 bulkscore=0\n malwarescore=0 adultscore=0 spamscore=0 priorityscore=1501 lowpriorityscore=0\n classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0\n reason=mlx scancount=1 engine=8.22.0-2603050001 definitions=main-2603300141", "X-BeenThere": "u-boot@lists.denx.de", "X-Mailman-Version": "2.1.39", "Precedence": "list", "List-Id": "U-Boot discussion <u-boot.lists.denx.de>", "List-Unsubscribe": "<https://lists.denx.de/options/u-boot>,\n <mailto:u-boot-request@lists.denx.de?subject=unsubscribe>", "List-Archive": "<https://lists.denx.de/pipermail/u-boot/>", "List-Post": "<mailto:u-boot@lists.denx.de>", "List-Help": "<mailto:u-boot-request@lists.denx.de?subject=help>", "List-Subscribe": "<https://lists.denx.de/listinfo/u-boot>,\n <mailto:u-boot-request@lists.denx.de?subject=subscribe>", "Errors-To": "u-boot-bounces@lists.denx.de", "Sender": "\"U-Boot\" <u-boot-bounces@lists.denx.de>", "X-Virus-Scanned": "clamav-milter 0.103.8 at phobos.denx.de", "X-Virus-Status": "Clean" }, "content": "The PM8150 PMIC on this platform uses the older PON (Power On) register\narchitecture rather than dedicated SDAM regions found in newer PMIC\ngenerations. To enable reboot-mode functionality with the unified\nNVMEM-based approach, add a compatibility wrapper that exposes PON\nregisters through the SDAM NVMEM interface.\n\nAdd device tree configuration:\n- NVMEM node with compatible \"qcom,spmi-sdam\" wrapping PON registers\n- Uses 'ranges' property to map the PON register block at offset 0x800\n- NVMEM cell at offset 0x8F (PON_SOFT_RB_SPARE register)\n- 7-bit field (bits [7:1]) for reboot reason, preserving bit 0\n- Mode mappings: bootloader=0x02, recovery=0x01\n\nThis wrapper allows the SDAM NVMEM driver to access PON registers\ntransparently, providing a unified interface for both PON-based (older)\nand SDAM-based (newer) PMIC generations.\n\nThe PON_SOFT_RB_SPARE register persists across warm resets and is\nautomatically cleared on power cycle.\n\nSigned-off-by: Aswin Murugan <aswin.murugan@oss.qualcomm.com>\n---\nChanges in v3:\n1. No change in v3\n---\n arch/arm/dts/qcs615-ride-u-boot.dtsi | 26 ++++++++++++++++++++++++++\n 1 file changed, 26 insertions(+)", "diff": "diff --git a/arch/arm/dts/qcs615-ride-u-boot.dtsi b/arch/arm/dts/qcs615-ride-u-boot.dtsi\nindex 68fffc70fcb..50784807cf4 100644\n--- a/arch/arm/dts/qcs615-ride-u-boot.dtsi\n+++ b/arch/arm/dts/qcs615-ride-u-boot.dtsi\n@@ -11,4 +11,30 @@\n \t\t <0x0 0xc0000000 0x0 0xc0000000>,\n \t\t <0x1 0x80000000 0x1 0x00000000>;\n \t};\n+\n+\treboot-mode {\n+\t\tcompatible = \"nvmem-reboot-mode\";\n+\t\tnvmem-cells = <&reboot_reason>;\n+\t\tnvmem-cell-names = \"reboot-mode\";\n+\n+\t\tmode-bootloader = <0x02>;\n+\t\tmode-recovery = <0x01>;\n+\t};\n+};\n+\n+&pm8150_0 {\n+\t/* Virtual NVMEM node for PON-based reboot reason storage */\n+\tnvram@800 {\n+\t\tcompatible = \"qcom,spmi-sdam\";\n+\t\treg = <0x800>;\n+\t\t#address-cells = <1>;\n+\t\t#size-cells = <1>;\n+\t\tranges = <0x00 0x800 0x100>;\n+\n+\t\t/* Reboot reason cell at PON_SOFT_RB_SPARE (0x88F) */\n+\t\treboot_reason: reboot-reason@8f {\n+\t\t\treg = <0x8f 0x1>;\n+\t\t\tbits = <0x01 0x07>;\n+\t\t};\n+\t};\n };\n", "prefixes": [ "v3", "4/7" ] }