From patchwork Tue Jan 14 14:18:54 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ricky Cheung via B4 Relay X-Patchwork-Id: 13938830 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 320AF17993; Tue, 14 Jan 2025 14:18: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=1736864338; cv=none; b=tatxzUdEAma4g4eLem/Q5v+TUXaEc1/Dgk15H3HYWZFeboMb3i5wBDd571MBVyQr2UYKD+LGbOKcpLr4ZI2pDl/NnoCKxcLY6VrazqJBKMrnulb+0501SYxpwA2tF8xokUVPzINziSJIH32voO0Fe7qy/6YXsrMid9BO/oCzUYo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736864338; c=relaxed/simple; bh=/bE4XzpALQsGRT7BVYVcM1aIJxF5UAB4vSiqb7huymA=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=BwRnGemv/FS6GZrNeMaWO3LHdAIUFvVPfYdbfpiGSq7qN6QSSwas+R6rC72qaoRZLbW0dysfgUPrz2tICPjnr8V6ay64szgy5mkPL7vlLivISWRZ+N25txunqX0mdHHH9vquqtXQwFA2tW+Wwi8CUldcjkFKtjS6rjZdQ9qTbHc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Qt+kgUFN; 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="Qt+kgUFN" Received: by smtp.kernel.org (Postfix) with ESMTPS id B0826C4CEE1; Tue, 14 Jan 2025 14:18:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1736864337; bh=/bE4XzpALQsGRT7BVYVcM1aIJxF5UAB4vSiqb7huymA=; h=From:Subject:Date:To:Cc:Reply-To:From; b=Qt+kgUFN42RNG5gf4RFpaNaK/i2rvWNL//upRrhA38JF3Rdi1omg7HeEWjesgQWe7 LNLQCe5g9Gn1LpLAu0bhpuwl02nrg7jBy1D4e+NjTBhpie+3X8qptnVjrPP4M9omZq 3L4M3lFkf2PNoZ2fx7SoBo/z7tvlb3kgj5xAePR/wqWWinTqmZ/nT8IpgDdzM/kG1+ f8ryon3jh3oGO7WoQ8DpA1aWo9gNMzQnv30HAlH8xlAuJUbQGIgd40VCVhj68JM6F6 MPgmYGJ0/8Oz469sQOgBHUp8gNVRRWaXDIWe2jb+5bBdA4EkMIl9no+runkI0h0ycs Z+AYnKUuoKQGg== 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 9EF1CC02185; Tue, 14 Jan 2025 14:18:57 +0000 (UTC) From: Ricky Cheung via B4 Relay Subject: [PATCH v2 0/3] arm64: dts: qcom: msm8916-xiaoxun-jz0145-v33: Add initial device tree Date: Tue, 14 Jan 2025 22:18:54 +0800 Message-Id: <20250114-xiaoxun-jz0145-v33-v2-0-8b42f77badfa@gmail.com> Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAE5yhmcC/32NQQ6CMBBFr0Jm7ZiZFtS48h6GBbYFxgglrTYo4 e5WDuDyveS/v0B0QVyEc7FAcEmi+DGD2hVg+mbsHIrNDIpURcwlztL4+TXi/UNcVpi0RqWtITq YljVBHk7BtTJv0WuduZf49OG9fST+2b+5xEhoTcXt0Th9s6dLNzTy2Bs/QL2u6xe+w1KNtAAAA A== X-Change-ID: 20250114-xiaoxun-jz0145-v33-23dc006cf130 To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Bjorn Andersson , Konrad Dybcio Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Ricky Cheung X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1736864336; l=2571; i=rcheung844@gmail.com; s=20250114; h=from:subject:message-id; bh=/bE4XzpALQsGRT7BVYVcM1aIJxF5UAB4vSiqb7huymA=; b=gdEj1aM2kbqmhgHAv2gUxOFCR1Z8t7jumCdoHGX2/9AA3Lbcvjtbm3weMgdtDxOPCsd6aJ3Zi lXCXh9WWe9aDJF4WIevq+G84Ezz9rpWYJ6acouSF3W41rxM/0j0d/8L X-Developer-Key: i=rcheung844@gmail.com; a=ed25519; pk=JjZsSnuDD1xuR4EXY4XGKELgToA++HxxheDlHU/41yI= X-Endpoint-Received: by B4 Relay for rcheung844@gmail.com/20250114 with auth_id=323 X-Original-From: Ricky Cheung Reply-To: rcheung844@gmail.com Good evening. This patch adds support for the XiaoXun JZ0145 v33 4G LTE WiFi modem based on the MSM8916 chipset by a new manufacturer / vendor for the Linux Kernel called called XiaoXun BiCheng Technology. Below is some information about these changes. Addition of a new vendor prefix ---------- XiaoXun BiCheng Technology is not well known in that they don't seem to have a presence in the Western world. I purchased my own modem on TaoBao, which requires stores to registered as businesses, so I believe it is justified to add it as a vendor prefix. Note that the company appears to have shut down just this month. Status of patch ---------- This device shares many similarities to pre-existing devices within arch/arm64/boot/dts/msm8916-ufi.dtsi, so I am sure most features would function with the correct firmware on this device. However, due to the poor quality of these devices, my unit's EMMC has failed and I cannot conduct further tests. Previous, the modem was able to boot with devicetree of a UZ801, albeit with LED and Modem issues, which is addressed in this patch. I have sent the code for testing to some kind folks on the Internet with good outcomes, so do consider this code as ready and functional. This patch was also reviewed over at the msm8916-mainline organization and deemed ready by the maintainer: https://github.com/msm8916-mainline/linux/pull/386 Note that this is my first patch to the LKML, so if there's something I did wrong / the patch is missing, please point it out. Best Regards, Ricky Cheung Tipz Team Signed-off-by: Ricky Cheung --- Changes in v2: - EDITME: describe what is new in this series revision. - EDITME: use bulletpoints and terse descriptions. - Link to v1: https://lore.kernel.org/r/20250114-xiaoxun-jz0145-v33-v1-0-dc51f7ce3bd8@gmail.com --- Ricky Cheung (3): dt-bindings: vendor-prefixes: Add XiaoXun BiCheng Technology dt-bindings: arm: qcom: Add XiaoXun JZ0145 v33 arm64: dts: qcom: msm8916-xiaoxun-jz0145-v33: Add initial device tree Documentation/devicetree/bindings/arm/qcom.yaml | 1 + .../devicetree/bindings/vendor-prefixes.yaml | 2 + arch/arm64/boot/dts/qcom/Makefile | 1 + .../boot/dts/qcom/msm8916-xiaoxun-jz0145-v33.dts | 66 ++++++++++++++++++++++ 4 files changed, 70 insertions(+) --- base-commit: d390303b28dabbb91b2d32016a4f72da478733b9 change-id: 20250114-xiaoxun-jz0145-v33-23dc006cf130 Best regards,