[PATCH v4 0/4] arm64: dts: qcom: hamoa-iot-evk, purwa-iot-evk: Enable M.2 Key E connector
Wei Deng <[email protected]> Tue, 04 Aug 2026 18:02:24 +0530
| Newsgroups | org.kernel.vger.linux-arm-msm,org.kernel.vger.linux-devicetree,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
Describe the PCIe M.2 Key E connector on the Hamoa and Purwa IoT EVKs. The two boards share the same M.2 wiring: PCIe for Wi-Fi (via pcie4_port0) and UART for Bluetooth (via uart14). Purwa inherits hamoa.dtsi through purwa.dtsi, so the endpoint stub labels and the PCIe root port compatible added in this series apply to both boards. Only the UART BT path is described here. USB BT variants of the same M.2 slot need the USB core to acquire the M.2 pwrseq target, which is being added by Chen-Yu Tsai's "arm64: mediatek: Add M.2 E-key slot on Chromebooks" series: https://lore.kernel.org/all/[email protected]/ A follow-up will wire usb_2 port@1 to the wifi-bt-connector node once that lands. The pcie-m2 sub-ID patch that was part of the original series has been sent independently and is already applied: https://lore.kernel.org/all/[email protected]/ Changes in v4: - Drop the usb_2 port numbering hunk from patch 1/4 (was "hamoa: Number usb_2 HS port and add M.2 endpoint stubs"). port@1 = usb_2_m2_ep hit the snps,dwc3-common.yaml "port@1 = SS" schema and was NAK'd by Konrad; the outstanding binding question is discussed in Konrad's replies on Chen-Yu's V6 series (patches 6 and 11): https://lore.kernel.org/all/[email protected]/ Patch 1/4 now only adds the uart14_ep and pcie4_port0_ep endpoint stubs (Konrad had asked for these as label references). - Drop port@2 (USB) from the hamoa-iot-evk wifi-bt-connector node. The connector only advertises PCIe (port@0) and UART (port@3). - Drop the &usb_2_dwc3_hs endpoint override. - Add new patch 4/4 for purwa-iot-evk.dts, reusing the same connector layout and the labels inherited via hamoa.dtsi. - Drop "Depends on:" — this series is now independent of Chen-Yu's MediaTek Chromebook series. - Link to v3: https://lore.kernel.org/r/[email protected] Changes in v3: - patch 1: add uart14_ep, usb_2_m2_ep and pcie4_port0_ep stub endpoints in hamoa.dtsi so board DTS can reference them by label directly; remove superfluous comment (Konrad). - patch 3: use &uart14_ep, &usb_2_m2_ep and &pcie4_port0_ep label references instead of re-defining port hierarchy in board DTS (Konrad). - Link to v2: https://lore.kernel.org/r/[email protected] Changes in v2: - Split patch 1/3 of the original series into two commits (Dmitry). - Add usb_2 HS port@0 (new patch 1/3) to pair with M.2 USB port@1. - In patch 3/3: rename pcie4port0_ep -> pcie4_port0_ep (Konrad); add port@2 for the USB BT variant; remove unused vreg_wcn_0p95 / vreg_wcn_1p9 (sashiko). Konrad's v1 Reviewed-by is not carried as the new port@2 endpoint and vreg cleanup were not part of the v1 review scope. - Drop patch 3/3 of v1 (W_DISABLE2# else-branch); the Chen-Yu series handles it via USB pwrseq (Mani). - Link to v1: https://lore.kernel.org/r/20260709-fix-hamoa-m2-w-disable2-v1-0-5e725091266a@oss.qualcomm.com Signed-off-by: Wei Deng <[email protected]> --- Wei Deng (4): arm64: dts: qcom: hamoa: Add graph port/endpoint anchors to pcie4_port0 and uart14 arm64: dts: qcom: hamoa: Add compatible to the PCIe Root Port arm64: dts: qcom: hamoa-iot-evk: Describe the PCIe M.2 Key E connector arm64: dts: qcom: purwa-iot-evk: Describe the PCIe M.2 Key E connector arch/arm64/boot/dts/qcom/hamoa-iot-evk.dts | 130 +++++++---------------------- arch/arm64/boot/dts/qcom/hamoa.dtsi | 11 +++ arch/arm64/boot/dts/qcom/purwa-iot-evk.dts | 129 +++++++--------------------- 3 files changed, 74 insertions(+), 196 deletions(-) --- base-commit: 290aaf24a551d5a0dce037e3fab30820f9113a10 change-id: 20260723-hamoa-m2-dts-v2-2067c7421569 Best regards, -- Wei Deng <[email protected]>