From mboxrd@z Thu Jan 1 00:00:00 1970 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 B66E24F5E19 for ; Wed, 30 Sep 2026 14:52:27 +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=1790779963; cv=none; b=k3tl4/fKGO/+4N7KXw38ELfk4YXaKpvcKLkoDR6wKN8BvHOeLoSNcT4ZubqMGgegeU00QLHNcoaE1lc02kMS8NqDyecr6zt5Ar/qf2EP40Rhd50Is64VTjdoIumc5t7wCCO5DmRWdooU3kmvzOD43RNCvDf5NnBL6fPruV3lF8o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790779963; c=relaxed/simple; bh=AZzAXwiHHu9XZEBWoWxjc+qlmuW/9zpL5mYJCWh3B90=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=eXufDuNkm+H1SvzeCbvoIHL5j3ZQ/E0Zhuvz3pqBT60qKzWi+egRJeCf5FXHRV+OD/wx+fOunFgJLcJI6FD58LZGPwB2WpwrGqEPgGyeie2/4hgcLbHdRBaGI7uK+aWNyGmPlzQfP1PmQmb9blk/SsQ6iT4Mg0TJfCyT7bpLg00= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=gIXx5H4n; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=BRLAd0NY; arc=none smtp.client-ip=205.220.168.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b="gIXx5H4n"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="BRLAd0NY" Received: from pps.filterd (m0279865.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 68UE06xn612865 for ; Wed, 30 Sep 2026 14:52:22 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:date:from:in-reply-to:message-id :mime-version:references:subject:to; s=qcppdkim1; bh=5MQzMnZzp1O 3Wb7yPZlYEZEBfKkuYTfPW2YrtjSZsDs=; b=gIXx5H4nh3APUmWzu3OzN2slN4F 77R6IZACbUdAfF4Ycfz6vlQcJAzP+ScK9V+egwmyfaepZa2TYtEMNsKwdOarI7vO I+JcUpJnlX/N8MKLkvovgH3P0s9+xNyIrHmP45M/1GIw0XDOpby4Rv2kGsuwweYc uvB4irExVRAWwyj2VTCI7i/gBd1wdf0PU/5dtOIFWqUPKHb2gUaTvs6Sxf5KspdZ krFWPyIF/GxDjejYHmzTQxVvZpi/irLj3NRsHnTJRxnp6B6QZ13IHcHSUjcTWW/Y EHz9Wyw6rHfx3FhVowCVZscOJISQhugEhALJIXyg33bGSDDpIASW927vWtw== Received: from mail-dy1-f197.google.com (mail-dy1-f197.google.com [74.125.82.197]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4h0yh81enk-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Wed, 30 Sep 2026 14:52:22 +0000 (GMT) Received: by mail-dy1-f197.google.com with SMTP id 5a478bee46e88-34afa104860so2738047eec.1 for ; Wed, 30 Sep 2026 07:52:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1790779942; x=1791384742; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=5MQzMnZzp1O3Wb7yPZlYEZEBfKkuYTfPW2YrtjSZsDs=; b=BRLAd0NY3ki+CyICmQEzCe1whN+HqiC4fNWxf8DE3rCHFfszWtmsjJBlyuYiKJIK6o xguI8r7RbHxIhobmfEHh6rFSLdbaiJF/tQGAqAJ3hLlT2erMmswwF6BdIYu4sQZj47r5 HaGFVAHv2eAlIBYe9yEDgf+P7fpUTsZJ+LMHY0hu4845SPCCa7W+yvbGF7Lhqfvm/Zw3 ok/jIspNUeR8c95HBNPDx5tyK86bJTFW9tzZ2EBv3pbClIU7nzH+zROhAbrkoP48Fm/1 d1asxjSKKaUpThQgGmMnkaU3F7Eyk2DZTv5fKqrG3Ro8NE2VUnZFKKS9QcCjz89q16z1 sH2g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1790779942; x=1791384742; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=5MQzMnZzp1O3Wb7yPZlYEZEBfKkuYTfPW2YrtjSZsDs=; b=Rm8xJhEKEmsruYzjGFYToAYD242jnb6mEvFa5Zm2sNBgUGlDZI3Bg6EbfCFSDqyZLX 2MURUewCVlMws89xv2pGz0FHi1ITSuPvs+tPoJ0Ru0RPkkpVniXyw+oyfJoMvwVYPFFO PXvTR5a99IzPdKrDYe8qcUiNTPzd5DbNLN5S+c/A4vX3UbmzpjJ8gFTP439SbY3IWkac dOfz1+uUbVrTVI1JAFsSOev2N+OAblkA5J5PwtcPEwHqxBU5evxHoySXw6PY2zS3UNqB jZI4w2GiD5pmxyOotQkR2BOLytjNHZzu0/H+VBhNuIPW36b9XVV3olh6x2bCRXAeoVkY 7WvQ== X-Forwarded-Encrypted: i=1; AKwUvBxir4WRl0Ey52UgItApsTlLCI9/zbjv6dzUj5w9+1XixVbhMU3zECJDy2A/SNgQbG+Z2yXfS7ieN+XerQ==@vger.kernel.org X-Gm-Message-State: AFq9FYKkMQG9pL2qP1UFi8GbXVUPIKorVpjfneX5SVYtnfU7NbSnIl7M Jn4fmgPwJBQi4A0m66CtVrTPSz+vFSKeq0VNRT3uvVRsZ+0qPmc1fYq0wTpvRpSZmznJ1yM29fQ ZoIizcElgCM0JbCz8VTTSCcdqSkzYbtUNMeJSdniY3GD22nFjt4vJskiBAl92wbvpKQ== X-Gm-Gg: AYBFou2GNuxARa+O/95JZ7p9gg6LQz6tk82LUAV+5D6KPRcLiXdn6+5WVcphjSa6NUK BUge6IfpnXAet0UJ7SzMdX5qDpB2ze+cosGBjrbGp9WV/ICRKbS7i0UtwJA3j7pn8yq2Np6F+HC 8WyZluCRAuC5a5q65PRsK0ESWCI4UR2zyYhdAX7FEz0tYMJirlcke3PcWo32Dy382sNARp3XWks yUJ1U8aWFvL1UIW36kuDfmnvolGvqUVNtnCAPbcdKCWILlnpo2pV94Msuq3CZABH1d+7ecKSZv/ W/WOIKQkw82n4LuFuPAIEW8QM1WorLOFAm57/O9+hvEIEYgXSAHqxSbHtsXBiAtRtfIF3Usdu5V o0ZqurSirLbbKGhY68qsAPIvuYCYkdyZHH20hG6SqN6UBun2rvsB6BEU= X-Received: by 2002:a05:693c:87d6:20b0:34c:6942:8a47 with SMTP id 5a478bee46e88-34cdb8e6084mr1938467eec.8.1790779941374; Wed, 30 Sep 2026 07:52:21 -0700 (PDT) X-Received: by 2002:a05:693c:87d6:20b0:34c:6942:8a47 with SMTP id 5a478bee46e88-34cdb8e6084mr1938430eec.8.1790779940718; Wed, 30 Sep 2026 07:52:20 -0700 (PDT) Received: from hu-c-gdjako-lv.qualcomm.com (Global_NAT1.qualcomm.com. [129.46.96.20]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-34cf5639339sm4524609eec.18.2026.09.30.07.52.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Sep 2026 07:52:20 -0700 (PDT) From: Georgi Djakov To: andersson@kernel.org, konradybcio@kernel.org, abelvesa@kernel.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, minchan@kernel.org, senozhatsky@chromium.org Cc: axboe@kernel.dk, rostedt@goodmis.org, mhiramat@kernel.org, mathieu.desnoyers@efficios.com, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-block@vger.kernel.org, linux-trace-kernel@vger.kernel.org, djakov@kernel.org Subject: [PATCH 1/6] dt-bindings: soc: qcom: Add QPaCE binding Date: Wed, 30 Sep 2026 07:52:10 -0700 Message-Id: <20260930145215.3380977-2-georgi.djakov@oss.qualcomm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20260930145215.3380977-1-georgi.djakov@oss.qualcomm.com> References: <20260930145215.3380977-1-georgi.djakov@oss.qualcomm.com> Precedence: bulk X-Mailing-List: linux-block@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwOTMwMDA1OSBTYWx0ZWRfX+h7W2y5SwvX6 sF5FyxSX6PTN0uGr8YllZyT1DQpu+EM62+Lko7A6d10h34dQEt/gnp+O5DGG/yu1qLNeSqTq9Eq LWJqGIpOuHvhrzuqR9tFyaKxH9fBYPXtp/RXke1DVNGcVzlAXK6H4+A7uHC5eKquX9Atowqinap VyEhYxSqTfcCQplfo3c7l6q7fdJiHGTonpv/R4w331NcPnznxEkXNxV0rQfUifR5Mz2ouEmAeT1 ToaiQOlvARu9o1dV9FL4KM2v6h9iS9CQuYVxAhmPeJdmfGxDynVCqJwO8wdinCcuG3PNb4ckfXp 2nKN+IcDhkRqTzgRa53iv71cszRucD4wT3GOl3r3JAKKYJqPi98t6G1YTlnI6GxWx3SwdNF4ZQN 7kHttO9WniM0kp5Tquhk6nYOtrYBOwsyobUP17LB23J7ZYkVhgUkfeCCa7I47dg8euh3ygcc15o WsnaKpWSJHNbTZTKjXQ== X-Proofpoint-ORIG-GUID: sIfkBRZXfS9ZRss9KIKVQeIC4MTSYXhw X-Authority-Analysis: v=2.4 cv=NedzRGD4 c=1 sm=1 tr=0 ts=6abd2226 cx=c_pps a=Uww141gWH0fZj/3QKPojxA==:117 a=ouPCqIW2jiPt+lZRy3xVPw==:17 a=VdqzKS8jKosA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=Um2Pa8k9VHT-vaBCBUpS:22 a=gEfo2CItAAAA:8 a=EUspDBNiAAAA:8 a=P4ADLzTW1IxIBgx77pIA:9 a=PxkB5W3o20Ba91AHUih5:22 a=sptkURWiP4Gy88Gu7hUp:22 X-Proofpoint-GUID: sIfkBRZXfS9ZRss9KIKVQeIC4MTSYXhw X-Proofpoint-Spam-Info: AW1haW4tMjYwOTMwMDA1OSBTYWx0ZWRfX4Gd7so7SQKvS Z+W1R/wbfDh0Sx7rLEBXfnG4i8ls6toNDxhOkaJXUZwBBvk1y5gfj0z/B+87iVzv5FDL16Dz9Kf T4YIWIQzxdGrT0ubbboadbVaHDVU8jg= X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-09-30_03,2026-09-21_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 clxscore=1015 lowpriorityscore=0 priorityscore=1501 suspectscore=0 adultscore=0 bulkscore=0 spamscore=0 phishscore=0 impostorscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2609040000 definitions=main-2609300059 Add device-tree binding documentation for the Qualcomm Page Compression Engine (QPaCE), including the resources needed to describe it in SoC device trees. QPaCE accelerates page compression and decompression for use with the zram block device. Signed-off-by: Georgi Djakov --- .../bindings/soc/qcom/qcom,hawi-qpace.yaml | 94 +++++++++++++++++++ 1 file changed, 94 insertions(+) create mode 100644 Documentation/devicetree/bindings/soc/qcom/qcom,hawi-qpace.yaml diff --git a/Documentation/devicetree/bindings/soc/qcom/qcom,hawi-qpace.yaml b/Documentation/devicetree/bindings/soc/qcom/qcom,hawi-qpace.yaml new file mode 100644 index 000000000000..b7ae50f34f16 --- /dev/null +++ b/Documentation/devicetree/bindings/soc/qcom/qcom,hawi-qpace.yaml @@ -0,0 +1,94 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/soc/qcom/qcom,hawi-qpace.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm Page Compression Engine (QPaCE) + +maintainers: + - Georgi Djakov + +description: + QPaCE is a page-oriented hardware compression engine found on Qualcomm + SoCs. It is composed of a number of compression, decompression and copy + engines and exposes both a low-latency urgent path for synchronous + single-page operations and a high-throughput ring-based path for batched + asynchronous requests. + +properties: + compatible: + items: + - enum: + - qcom,hawi-qpace + + reg: + maxItems: 1 + description: + Single contiguous register window covering all QPaCE sub-regions + from the GEN registers base through the EE registers. + + iommus: + items: + - description: IOMMU mapping for compression engine read DMA + - description: IOMMU mapping for compression engine write DMA + - description: IOMMU mapping for decompression engine read DMA + - description: IOMMU mapping for decompression engine write DMA + + dma-coherent: true + + interconnects: + maxItems: 1 + + interconnect-names: + items: + - const: qpace-mem + + interrupts: + items: + - description: Ring completion and bus error interrupt + - description: Urgent command completion interrupt + + interrupt-names: + items: + - const: ring-and-bus-err + - const: urgent + +required: + - compatible + - reg + - iommus + - interconnects + - interconnect-names + - interrupts + - interrupt-names + +additionalProperties: false + +examples: + - | + #include + #include + #include + + soc { + #address-cells = <2>; + #size-cells = <2>; + + compression@31400000 { + compatible = "qcom,hawi-qpace"; + reg = <0x0 0x31400000 0x0 0x80000>; + iommus = <&apps_smmu 0x1c20 0x13>, + <&apps_smmu 0x1c24 0x13>, + <&apps_smmu 0x1c28 0x13>, + <&apps_smmu 0x1c2c 0x13>; + dma-coherent; + interconnects = <&gem_noc MASTER_QPACE QCOM_ICC_TAG_ALWAYS + &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>; + interconnect-names = "qpace-mem"; + interrupts = , + ; + interrupt-names = "ring-and-bus-err", + "urgent"; + }; + };