From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796325444; b=kwLOvsVIo26iM3XVOKTSCaaJwFlwBhh5+hD8k9poziBjMxmJZjDUlqbNQx5nCrPzeKZN Zm7steZHL9EYHYa5Z/6di5uzp5facAD9qEFIyObmZFbyS7TMAH+k36GnZtAkZjvC1uZu2 4lB2YpQESC5qI51JRaHT3TcmaRTYT/O1qr8xwEOmztgWv2Wkhli0zdf5K9e/tREEzGGze H3grOwYek/4ab6W01HnJbiCiFUReUhne5FfIUcXKXZwHSOdMt8fJCTJAvHVSl3AIbioz0 TAjacfoN2MPRny6HVpixkjt3C1yh+Ki/v9gSGaCZLsHbCJAr7rcLa54X8PcI3D3Zhrg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796325444; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To:Cc: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=XAd9nwTX/illkxUzwHOd2lASwuJUCzIEHVYPA1gifyU=; b=fxV87MXGvcllP6qS/0oGUe6b00D4uLuMjA2AqwXUSc7YaVye5kEt8CUv99/uffMJ/TA7 856lN7Hnh+g4KtIhBxjTjBfbBg2wRrj3N7S22tNo/NjBJP3y/+SXq6zEQraZNmeWD/KlO mYIq/29JdQ4yrlJF76YtE+YNcnvwtj6/aBKBYjB+8CHxn8rJH1GwxqiJ8bkuheIsBoil4 VxSYnrpszR3RMTpW9Hf4S/dsuhsWhOGPZgOJl+NR+xyV6+iUAk6li6aB+3I2NyY73s64C esHjZGjUKJGM4FsVfrplbGG3F+BMNQ07iwZtydQ+ErUUlRhbML1Q2huZphBTA1gO1/g== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=HOyisCv4; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5DB1160A3808; Thu, 3 Dec 2026 19:17:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=HOyisCv4 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9C2A71F000C2; Thu, 3 Dec 2026 19:17:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796325443; bh=XAd9nwTX/illkxUzwHOd2lASwuJUCzIEHVYPA1gifyU=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=HOyisCv4E2zwVDmtdfykVVHxvr5TVwMxq0n8OZ4r/hCJLFosPmY49HkRyhvF2qyjG YEiKfGGgAcK+Og+Wp8HgH7Wx6cIb0FNFdRew/1a6NzvC9cFKM+6wx3iPwb+hRuwxFQ J8IDTodjIgC0pyGjpe0Jnq8tQEgJMBNNHdBaItgfWogE++RYRNBgdq6J6cP4KyTiFW +USaiTCmk4Z2RKonO44OUSj+0EKn6EMd8r130r3u5T2iS8HHOuykFV2s7uM4v0mL3S Hy8Qk3wuFPtk6tUi3pziMbq7RKMJIDGkVC97CVCcimGgU4/ReAajKfdYodAYihCcAV OiNuKUCIdOhjQ== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH v4 4/6] arm64: dts: imx95-phyflex-libra-rdk: Add M.2 Key-E 88w8987-bt overlay Reply-To: sashiko-reviews@lists.linux.dev To: "Benjamin Hahn" Cc: devicetree@vger.kernel.org, imx@lists.linux.dev, robh@kernel.org, conor+dt@kernel.org, Frank.Li@kernel.org In-Reply-To: <20261203-wip-bhahn-imx95_upstreaming-v4-4-c5e940fb8e1a@phytec.de> References: <20261203-wip-bhahn-imx95_upstreaming-v4-0-c5e940fb8e1a@phytec.de> <20261203-wip-bhahn-imx95_upstreaming-v4-4-c5e940fb8e1a@phytec.de> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Thu, 03 Dec 2026 19:17:23 +0000 X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list Thank you for your contribution! Sashiko AI review found 2 potential issues to consider: - [Medium] arm64: dts: imx95-phyflex-libra-rdk: missing OF graph link in BT overlay - [Medium] arm64: dts: freescale: missing mux dependency between lpuart8 and gpio-mux -- commit e5c59ade69e00b88ba4211660f166c8f981e08db Author: Benjamin Hahn arm64: dts: imx95-phyflex-libra-rdk: Add M.2 Key-E 88w8987-bt overlay This commit adds a devicetree overlay for the phyFLEX-i.MX 95 Libra RDK to enable M.2 Key-E Bluetooth cards using the nxp,88w8987-bt compatible on lpuart8 and switches uart1_bt_rs_mux to idle-state 1. > diff --git a/arch/arm64/boot/dts/freescale/imx95-phyflex-libra-rdk-blueto= oth-88w8987.dtso b/arch/arm64/boot/dts/freescale/imx95-phyflex-libra-rdk-bl= uetooth-88w8987.dtso > new file mode 100644 > index 0000000000000..74d13b45b3709 > --- /dev/null > +++ b/arch/arm64/boot/dts/freescale/imx95-phyflex-libra-rdk-bluetooth-88w= 8987.dtso > @@ -0,0 +1,17 @@ > +// SPDX-License-Identifier: (GPL-2.0-or-later OR MIT) > +/* > + * Copyright (C) 2026 PHYTEC Messtechnik GmbH > + */ > +/dts-v1/; > +/plugin/; > + > +&lpuart8 { > + bluetooth { > + compatible =3D "nxp,88w8987-bt"; > + fw-init-baudrate =3D <115200>; > + }; > +}; [Severity: Medium] Does leaving out an OF graph link between lpuart8 and m2-key-e-connector keep W_DISABLE2# permanently asserted when pwrseq-pcie-m2 probes? In imx95-phyflex-libra-rdk.dts, m2-key-e-connector is enabled with active-low w-disable1-gpios and w-disable2-gpios and no OF graph ports. When pwrseq_pcie_m2_probe() runs, it requests both GPIOs with GPIOD_OUT_HIGH, holding the M.2 Bluetooth radio disabled. Because lpuart8 has no endpoint linked to m2-key-e-connector, nxp_serdev_probe() sees nxp_m2_connector_is_available() return false and never calls pwrseq_get() for the "uart" target to deassert W_DISABLE2#. Adding OF graph endpoints linking lpuart8 to m2-key-e-connector port@3 in this overlay (or disabling m2-key-e-connector as imx943-evk-sdwifi.dtso does) would allow Bluetooth to be enabled without affecting /dev/ttyLP1 when the overlay is not applied. > + > +&uart1_bt_rs_mux { > + idle-state =3D <1>; > +}; [Severity: Medium] Can btnxpuart probe before mux-gpio sets uart1_bt_rs_mux to idle-state 1, leaving the Bluetooth adapter uninitialized? Neither lpuart8 nor its bluetooth child references uart1_bt_rs_mux, so fw_devlink creates no probe-ordering dependency between them. In arm64 defconfig, lpuart8 is built in while btnxpuart and mux-gpio are separate modules, and uart1_bt_rs_mux also depends on gpio_expander1 on I2C5. If btnxpuart probes first, hci_power_on() -> nxp_setup() -> nxp_check_boot_sign() times out and skips firmware download while lpuart8 is routed to RS232/RS485. The HCI_OP_RESET timeout then aborts hci_power_on() with HCI_SETUP still set, hiding the adapter from BlueZ. In addition, mux_gpio_probe() requests the mux GPIO with GPIOD_OUT_LOW before devm_mux_chip_register() applies idle-state 1, which briefly glitches UART1_BT_RS_SEL low if mux-gpio probes after btnxpuart. Wrapping uart1_bt_rs_mux in a pinctrl-multiplexer referenced from lpuart8 pinctrl-0 (as on imx95-15x15-evk.dts) would enforce the probe dependency. --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261203-wip-bhahn-= imx95_upstreaming-v4-0-c5e940fb8e1a@phytec.de?part=3D4