From nobody Sun Jun 14 19:00:13 2026 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 942D830F548; Sun, 5 Apr 2026 10:54:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775386497; cv=none; b=nyAzVG40dsYdj4J7Xwimz3brFyIqAxjplAd747lpCJ5WkbGJ3xFHumic3grNkbNSGjh84YHDtm2rd4jabwXqzcRxZKYNF5ujLg9DCf8CjNFeK/LPOt2jXf9DwBrIN62kN9YnD07eeK4Heq/Is15a6Dtjk35LE/tYnojFM37Uf0U= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775386497; c=relaxed/simple; bh=XcLEKrizb5C+gi7ndYHP4fWrE4G0A945eXJeCxp9qgI=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=u8nLLsHKtowwjEJSgbUBh4fAAH5tDHCFi65z1fowUX3XAf0CvNozn4jNHSGgz2eghj2FQFDXDxdybFZ46pLQnsBpWQEKfhUp33SR7krh1S5Ro4HaQCKswlrRZvuNcNStcwMO2mpqLWLcOGpFaXhDtGeSLrPAx49w4OgXo6c5zuQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=pGYZk26Y; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="pGYZk26Y" Received: by smtp.kernel.org (Postfix) with ESMTPS id 46806C2BC9E; Sun, 5 Apr 2026 10:54:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1775386497; bh=XcLEKrizb5C+gi7ndYHP4fWrE4G0A945eXJeCxp9qgI=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=pGYZk26YU7013BISne/gFXIUyhGVdvOOzZEK2R4SeePZhOLNgDCtfOqoldZ/CZrGY /6IYzFXw1jIYXo+xmJDMl4PrjMrI4E5Lxhlckm83r5iUvURVTJIVxygKubwJsep//M RQkuUz/5qRfAQYjLneKGBdN4BeYypG8ztHYV6LY8RNk2cwAIyib/tXUSsJx3t6BYAF b9B9gYpe5w5i6WY3HdnHdFk3CJNoVQSF42JhfkWneCRHflV0mZpTBqZX56aZfF+1+4 MmMHV+ubnSwl3XTursWrD77xqzZqAjUs9jyZM4VT4FvDjytYu41OgutPqdFHRNnHKT 2Vc+n6J7m5GMQ== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3C5CCE6401A; Sun, 5 Apr 2026 10:54:57 +0000 (UTC) From: David Heidelberg via B4 Relay Date: Sun, 05 Apr 2026 12:54:55 +0200 Subject: [PATCH v2 1/2] dt-bindings: arm: qcom: Document Xiaomi Poco F1 Tianma variant 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: <20260405-beryllium-compat-string-v2-1-91149be07835@ixit.cz> References: <20260405-beryllium-compat-string-v2-0-91149be07835@ixit.cz> In-Reply-To: <20260405-beryllium-compat-string-v2-0-91149be07835@ixit.cz> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Marijn Suijten , Casey Connolly , Joel Selvaraj , Jens Reidel , Arnaud Ferraris , Marco Mattiolo , Petr Hodina Cc: Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, phone-devel@vger.kernel.org, David Heidelberg X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=openpgp-sha256; l=1912; i=david@ixit.cz; h=from:subject:message-id; bh=3okoeHHsLKYkc9npC24SfpxwXKr1llfhyo8vc91adjk=; b=owEBbQKS/ZANAwAIAWACP8TTSSByAcsmYgBp0j9/J+BdQUFAeWoPoVuMTDi5PhyzqApcMWxdd PtYGm792pKJAjMEAAEIAB0WIQTXegnP7twrvVOnBHRgAj/E00kgcgUCadI/fwAKCRBgAj/E00kg chgRD/9Wv8KpzXdWLygz7fFRVQKLarIowcySGNeUuzMgHB9qZnaJY+3gs5qZ9HzuUbGa0Ex3GK6 sadTr0xdWzeqsdTtRHA1jQHBB7VNjrV0ubZoprphQ4uANE07R/fPSQzW3+HOng8bhlKtJIsTVpA EBi+HAqICw5d96W806Kb1bhRq2dFcV/8pQJLsRPU7NLuupbH0V5Qg4BJB3G0vVSHk0wuIOG/ZYg xvrS3m4KaFe1iMVI77taMa+BewNriqAsoppZFmGcT3fOcmRfIGyMswz1COho1DB18sIZH7pXWQR OCrdnr2QJLv0S9Ck4DkikkKAJb5229ITH4LaOoIZPRZiIc6ebTsgLGqkLbP4rrmbW/pgrtYJvWx ofBcBvJNntREklIufXCcSB8Uf0YB0j25+4dXM+U6uy3huXBkQZi1KfbKtxZkay6+slNwf2l/oWd 8dxt1w3xQgOUMqFbTCzoCDnQRKzCp3IdgHylV1CwiPYqp9vaXvfOv41K0/w9exdRIdji7eMliMx 7NgYt3gk6xMF8rb3LfKm3nK9MnR7HiFrkRJ3IvztGvQVOmi4wCE5Mhc569AEqfrdhOScPgF2sdz vfnXQxhvf7kOAh4NzBpgD5UBMSWPjjbRq1viTWAtdtA43OuwAcZ5yOI6k4V93QiaHqgJDj/ms9D EFF72lg9RTcZkpw== X-Developer-Key: i=david@ixit.cz; a=openpgp; fpr=D77A09CFEEDC2BBD53A7047460023FC4D3492072 X-Endpoint-Received: by B4 Relay for david@ixit.cz/default with auth_id=355 X-Original-From: David Heidelberg Reply-To: david@ixit.cz From: David Heidelberg Document the panel-specific compatible string for the Tianma variant of the Xiaomi Poco F1: - "xiaomi,beryllium-tianma" and require the generic fallback compatible: - "xiaomi,beryllium" Update the binding to clarify that all panel variants must list the variant-specific compatible first, followed by the generic device compatible, in accordance with DT matching rules. The previous binding documentation did not describe the Tianma variant and did not clearly specify the required fallback compatible, which resulted in inconsistent DTS implementations. No functional differences are currently exposed between Tianma and EBBG variants at the binding level; both rely on the same generic device compatibility for software support. Signed-off-by: David Heidelberg Acked-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/arm/qcom.yaml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/arm/qcom.yaml b/Documentatio= n/devicetree/bindings/arm/qcom.yaml index 8c5fdd320cfcf..b412543f0afb8 100644 --- a/Documentation/devicetree/bindings/arm/qcom.yaml +++ b/Documentation/devicetree/bindings/arm/qcom.yaml @@ -822,6 +822,14 @@ properties: - const: google,zombie-sku514 - const: qcom,sc7280 =20 + - description: Xiaomi Poco F1 + items: + - enum: + - xiaomi,beryllium-ebbg + - xiaomi,beryllium-tianma + - const: xiaomi,beryllium + - const: qcom,sdm845 + - items: - enum: - lenovo,flex-5g @@ -971,8 +979,6 @@ properties: - sony,akatsuki-row - sony,apollo-row - thundercomm,db845c - - xiaomi,beryllium - - xiaomi,beryllium-ebbg - xiaomi,polaris - const: qcom,sdm845 =20 --=20 2.53.0 From nobody Sun Jun 14 19:00:13 2026 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 9426D267AF2; Sun, 5 Apr 2026 10:54:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775386497; cv=none; b=sDI1tHqfsEcZHVZCu7UkABF+2dxBcI0KHgpd2H25wErPseZyzHAw7W0ipkyoZrSYBp0k6xXCxvXxZweanc+8YKBRRoSq+/c86yosr4Y9vblybB82oUAwPOgus2JDU0rhFXg2uCPXEux5+ei62l5cy4WheUXjdqOLtkTze54UhP0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775386497; c=relaxed/simple; bh=GKrvjJQ6InTyeSypzq7Vxjnbaw/6EBeuclqAJOInFkk=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=BAG2p2vdka+MxLAPRMfb7EGzLp3o0IE5W/vLJrA3rj5VzxzL4bsWeVxvrILm0lEw76CatC9cJ4g1mSQhcn/TgqElzMmgX7rWP6bJ1fPuP1K+yM1v5oKC4kdGxvTAR1iJJhfgGPiPr2V4XLhSM2Up+7iF8aanr7eZf9wdx1nU+g8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=oCqaUxD8; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="oCqaUxD8" Received: by smtp.kernel.org (Postfix) with ESMTPS id 57F4FC2BCAF; Sun, 5 Apr 2026 10:54:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1775386497; bh=GKrvjJQ6InTyeSypzq7Vxjnbaw/6EBeuclqAJOInFkk=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=oCqaUxD8Co/jpqC1NLY/FVGbBF0JHMwBkCFKV/OfBBH9aFlopxXicaH2HKKaD/8UM sGWmKFlYxMEbbPhSVZPIVwMUp+9LZRXnTca+9k5yOLeHuIJvWNCpZazx1KWiHaSkkr K+MMcjZ3/mE2KI1xTU25J6cr7B9MPTFT7KBWdD/uB8oXRbvWcegLqd5/Y/w1oykA3E dOHa0c/f8aDp4KNEvk4xnupH/9+DoQL3+fNa9JioXa4Fx2FgIcKwt99TOgNgfV79gD nPWaEHCMriwahd5cB9HXEs5ilrtikNQP5QB99XPIj2GRnQgfRBzeNEmz5xtSXvsOfr kp0NrWOZSQr+g== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4EB88E6401B; Sun, 5 Apr 2026 10:54:57 +0000 (UTC) From: David Heidelberg via B4 Relay Date: Sun, 05 Apr 2026 12:54:56 +0200 Subject: [PATCH v2 2/2] arm64: dts: qcom: sdm845-xiaomi-beryllium: Append compatible strings 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: <20260405-beryllium-compat-string-v2-2-91149be07835@ixit.cz> References: <20260405-beryllium-compat-string-v2-0-91149be07835@ixit.cz> In-Reply-To: <20260405-beryllium-compat-string-v2-0-91149be07835@ixit.cz> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Marijn Suijten , Casey Connolly , Joel Selvaraj , Jens Reidel , Arnaud Ferraris , Marco Mattiolo , Petr Hodina Cc: Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, phone-devel@vger.kernel.org, David Heidelberg X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=openpgp-sha256; l=2487; i=david@ixit.cz; h=from:subject:message-id; bh=cv7cDYuMTi6gyf2Pp9mcIzjD0CpCT5mLI+pIjAH3UTA=; b=owEBbQKS/ZANAwAIAWACP8TTSSByAcsmYgBp0j9/da2r9Zvp3XxR8GRM9SV8Jl0kFoIA4qD9/ mWIBbIToWSJAjMEAAEIAB0WIQTXegnP7twrvVOnBHRgAj/E00kgcgUCadI/fwAKCRBgAj/E00kg csVCD/9SY21ucBUIdch1nEgdipJ3CRwzcK1fErN4W2EXhhzDyamREDIgxzpK8jCK3SOjocmzSpF FA5BygMPXxW7xz8+mWbi5QJtRiiTKVIbqPC4V6MedTeWKAFG39mhsgXLE94VlHxsRx3/PQYJEgq M5rnDwVbrhnzHqispVETKPaTAs+EbUSecsRKCBPNSqrMT6SNSZoyCBJyyTxa0yw7ATJtTZ3BlDP 4n3zcMmHsQZCIhweT+aX50sO8V+tq0AH0fIl1eRJB0Szo6K6ZF0FI8gOvUYzQlVJ6AjeVFJP5O0 jSQef9LQqggmZBfog6ParwaFSbJi8ecV5JB4arzmT7jIp77JEzUO2BcdWxNlM4IArEHFo8PEm4B C8oID31Xk3v/kmv/G1cCDNaiJcNC4XlMXTbhXT9YJJa0tw0t+GzIZXoKh4Wasnwp81GWrnGHYzP 7sC2AW6UbVPOtkz9qR7ZdeoQX1y3xixFW8NTCMkZ19LyoDB13gDkpuFeCf9fT6PgzdmzeDzV+++ fCUh4z4mqqHe3cPTXuNm9ASXjFm3RH8SP0jBLrIpzH26KafXMLaAxxGXorhuUOpcZpRiTFXiHmc JhP6VJApmL7UiaFBGiB3J2seBEngmUAd3ztD1t1Q0QA46xDDDD+JTixaQood0X8rzqRqR40gK43 wkmlxX+e5xSVv6Q== X-Developer-Key: i=david@ixit.cz; a=openpgp; fpr=D77A09CFEEDC2BBD53A7047460023FC4D3492072 X-Endpoint-Received: by B4 Relay for david@ixit.cz/default with auth_id=355 X-Original-From: David Heidelberg Reply-To: david@ixit.cz From: Jens Reidel Add the generic "xiaomi,beryllium" compatible string after the panel-specific one, so the compatible list follows the required ordering from most specific to most generic. This allows userspace to fall back to the generic Poco F1 compatible when no panel-specific match is present. In particular, hexagonrpcd relies on trying all compatible entries to derive the HexagonFS path, and currently fails when the generic device string is missing. This change modifies the DT ABI: systems describing the EBBG variant will now also match on "xiaomi,beryllium", whereas previously only the panel-specific compatible was exposed. In practice, no upstream userspace distinguishes between Tianma and EBBG panel variants. All known consumers rely only on the generic device identification, and no panel-specific handling exists. Therefore, enabling the generic fallback does not change effective runtime behavior, but fixes userspace that depends on generic matching. The previous state was incomplete, as it omitted the generic device-compatible string required for proper fallback matching. Signed-off-by: Jens Reidel Signed-off-by: David Heidelberg --- arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-ebbg.dts | 2 +- arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-tianma.dts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-ebbg.dts b/ar= ch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-ebbg.dts index 2d6f0e382a6cb..d157622f84d13 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-ebbg.dts +++ b/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-ebbg.dts @@ -6,7 +6,7 @@ =20 / { model =3D "Xiaomi Pocophone F1 (EBBG)"; - compatible =3D "xiaomi,beryllium-ebbg", "qcom,sdm845"; + compatible =3D "xiaomi,beryllium-ebbg", "xiaomi,beryllium", "qcom,sdm845"; }; =20 &display_panel { diff --git a/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-tianma.dts b/= arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-tianma.dts index b58964cde8342..71816a9f33b48 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-tianma.dts +++ b/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-tianma.dts @@ -6,7 +6,7 @@ =20 / { model =3D "Xiaomi Pocophone F1 (Tianma)"; - compatible =3D "xiaomi,beryllium", "qcom,sdm845"; + compatible =3D "xiaomi,beryllium-tianma", "xiaomi,beryllium", "qcom,sdm84= 5"; }; =20 &display_panel { --=20 2.53.0