From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=52.101.83.134 ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass; t=1796312047; b=tWs6j66KmK/Y7+YIbzCMKEgIs/2L2bOtgf8nR/cLd8CQyzwDhIAtnOA4NT+0k7AjP1Hy 6odYpCrJPSFbaWRf/xnjvaR9A+1HqB9ej0NZQViSwdQW6Tvu4uiOOzgKMmnmD3aN3duRX XAwrwDBEkqWcjTAQhBtzlIF+5Zy683kQXhPZS5gbGGVHr+QMejRT8YeVS4DBFMjejTP0+ R6tY8ykx0rFeB8BJNPHTHpEHdLcn5dQynJSYYlEtA18SgAqMwpp7VglxBLquYj1D0rgaT jXnhUiS6mLZ2EyctaNE0XCnzlBm/TplP/hpiYcT9IMIdfCI/ALG0JUWL1lVMswzuGPw== ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796312047; h=DMARC-Filter:DKIM-Signature:Received:Received:Message-ID:Date: User-Agent:Subject:To:Cc:References:Content-Language:From:In-Reply-To: Content-Type:Content-Transfer-Encoding:X-ClientProxiedBy:MIME-Version: X-MS-TrafficTypeDiagnostic:X-MS-PublicTrafficType:client-request-id: request-id:X-MS-Office365-Filtering-Correlation-Id: X-MS-Exchange-SenderADCheck:X-MS-Exchange-AntiSpam-Relay: X-Microsoft-Antispam:X-Microsoft-Antispam-Message-Info: X-Forefront-Antispam-Report: X-MS-Exchange-AntiSpam-MessageData-ChunkCount: X-MS-Exchange-AntiSpam-MessageData-0:X-OriginatorOrg: X-MS-Exchange-CrossTenant-Network-Message-Id: X-MS-Exchange-CrossTenant-AuthSource:X-MS-Exchange-CrossTenant-AuthAs: X-MS-Exchange-CrossTenant-OriginalArrivalTime: X-MS-Exchange-CrossTenant-FromEntityHeader: X-MS-Exchange-CrossTenant-Id:X-MS-Exchange-CrossTenant-MailboxType: X-MS-Exchange-CrossTenant-UserPrincipalName: X-MS-Exchange-Transport-CrossTenantHeadersStamped; bh=ZvkHwMfrI8RSBTf7pz72fIje4odUQ5SQBI0noXgQ7gA=; b=enkkiTowPMGyMrVIIc24Fe8XIHbj5oqmmbf4x204kEg6gWkrmfVo92Pl1T+BUqXP+MEv Fk1PoitLIZX249WVjE8OFPsDHDCQD3Jr5M6PM4iKPpdrrucW/cy4tUXEo32oIbOgKL5M8 oDcf16BNeZfwpMEo+s9yvxw4sEXKY3+puL5yx6VLSKIEXy2MbajfPA/75CKwE+6lHLn7L ptRNDSLSDL6nbCwUDFKzJK00bp4eVf9S+c21i7w+UyLBS/eIaRC81Bzask4lEb0UidGRY ZnvR4kHV4+seVM7bfOHIr4pDPZrOiFt/DPRNNYTv5ZlUkQTtkyR0CDeHUe0u74oMA0g== ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass header.from=phytec.de; spf=pass smtp.mailfrom=phytec.de; dkim=pass header.d=phytec.de header.i=@phytec.de header.a=rsa-sha256 header.s=selector2 header.b=JFthkmll; arc=pass header.oldest-pass=0 smtp.remote-ip=52.101.83.134 Received: from GVXPR05CU001.outbound.protection.outlook.com (mail-swedencentralazon11023134.outbound.protection.outlook.com [52.101.83.134]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (secp384r1) server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2B97D606A32C; Thu, 3 Dec 2026 15:34:05 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 2B97D606A32C Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=phytec.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=phytec.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=phytec.de header.i=@phytec.de header.a=rsa-sha256 header.s=selector2 header.b=JFthkmll ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=wY8jJs0KP1Xkd99JMcnztECiUwr/kiQFTfjo0VrnwmmAvkl9fwQlN6eG0uffz9cdSOkudGG4XyBJeByBOIeepjP6nC7WI7U40cMgPq0NqEdSPSlhm/XaxK78A7tAyWieVTZMIZaoUn0pIHVny836snsYr8oHBgInRdf8Lyd8YQ8yx0a0MWhh2nZdwCHJ1os8fukaFgkWav4Lfin7kMaHFaEUC95O8BcR6qTWR/uhyqglDqm8JMN8vLW+49F4ALArPo7x4YjKvrzJCbg6vHdtJ2Do1iwixvOzo0lGXE0Jr2EJVWY6JlMd21i7BTd4yi2BRsiqPmG0zW4+Jegzz2yUPA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=ZvkHwMfrI8RSBTf7pz72fIje4odUQ5SQBI0noXgQ7gA=; b=IcEVwbrrfNt7ttrc+s2xYWHXW6AxDupAz+/pGM4RUM36fNLJfsOSUoerOP7OPKuBXOApmnPv8GU3fJvtjEK5JXjj/vz+p98QNhmzqKfF7S8Eq0ZmToo+1nsuzJNwaU7YvKAUB0/1LK2Re2WUrsj6IingkjCruDtvXcoifXJHdpNIu/8FRYG/9TZk01n+82zMchcSvoK9rHrDu9+b2m7az+jiiFVBLfeXxvV4xqQx9TBgl4OjBsFv4epDYJrX2dtCemkEOMx3ZXxCiZ+83v44JcGaA1LFQHVNBotT0Oudx/RPUFJsxIsrBLlbgcEAIYE9f6Wt6kl6ypoFI86X3148IA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=phytec.de; dmarc=pass action=none header.from=phytec.de; dkim=pass header.d=phytec.de; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=phytec.de; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ZvkHwMfrI8RSBTf7pz72fIje4odUQ5SQBI0noXgQ7gA=; b=JFthkmll1NaqUJmKzJ0d+Sd7mMTywO+fK21v9j2qGBeKDdsBXYT1TDtV7kY4Srlri5xMDDV1tiJdFnKpGfR2OG5jynEVvfkLBvOr8PkFHMOB5b454JE8TVOpSowva04wQMwr7JlCJzMPYvAQD7ZSMOIgxtzbq3WEpBXgDtbkovmuUfrTtz7y4PYRuQ3J8h4OpAr/hpSVqcKU7dSjnbPq7iNHTeFY2Rcy6tlzS2FOpcwMDQ9Tr16Rr4AATa+KZkaWgVRF+aKzLjTKCobSbxz3UWuXbxmUWelomt8RlNHyDcJrINpWX797X1k4tZJ/qHdfENDowdaVh8QcbMEMbu2Eow== Authentication-Results: mx.microsoft.com 1; dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=phytec.de; Received: from VI1P195MB0623.EURP195.PROD.OUTLOOK.COM (2603:10a6:800:159::10) by AM9P195MB0855.EURP195.PROD.OUTLOOK.COM with HTTP via P2P; Thu, 3 Dec 2026 15:34:01 +0000 Received: from VI1P195MB0623.EURP195.PROD.OUTLOOK.COM ([fe80::2f8:67bc:a785:6894]) by VI1P195MB0623.EURP195.PROD.OUTLOOK.COM ([fe80::2f8:67bc:a785:6894%7]) with mapi id 15.21.0688.009; Thu, 3 Dec 2026 15:34:01 +0000 Message-ID: Date: Thu, 3 Dec 2026 16:34:00 +0100 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v3 2/6] arm64: dts: imx95-phyflex-libra-rdk: Add phyFLEX-i.MX 95 Libra RDK To: Frank Li , sashiko-reviews@lists.linux.dev Cc: devicetree@vger.kernel.org, imx@lists.linux.dev, robh@kernel.org, conor+dt@kernel.org, Frank.Li@kernel.org References: <20261126-wip-bhahn-imx95_upstreaming-v3-0-a2bda009bac8@phytec.de> <20261126-wip-bhahn-imx95_upstreaming-v3-2-a2bda009bac8@phytec.de> Content-Language: en-US From: Benjamin Hahn In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-ClientProxiedBy: FR0P281CA0206.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:ad::15) To VI1P195MB0623.EURP195.PROD.OUTLOOK.COM (2603:10a6:800:159::10) X-Mailing-List: imx@lists.linux.dev List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-MS-TrafficTypeDiagnostic: VI1P195MB0623:EE_|AM9P195MB0855:EE_ X-MS-PublicTrafficType: Email client-request-id: 147728ec-98b9-4588-a5f5-30765addc6d4 request-id: f7312e4a-dde2-413c-0c6d-08df5152dafa X-MS-Office365-Filtering-Correlation-Id: f7312e4a-dde2-413c-0c6d-08df5152dafa X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|366016|23010399003|1800799024|376014|18002099003|22082099003|10067099003|56012099006|261026121527099003|261026140227099003|261028144727099003|261022075727099003|261021121427099003|261022105027099003|261102123227099003|261009223027099003|11063799006|4143699003|6133799003|3023799007; X-Microsoft-Antispam-Message-Info: P/RT54PCyJifNVOA9z+RdCtQJITMfJocCjekTwMyeidxoOKPRhafUqNCV1/g8EJDa9akqDLt9TZvQaJz+4LAImHYKI/w8/xHYEfqGJRhg+HDhE1VcmFzEBobMnk+9j32Z8m2YhBzXQjuSP+DHFB7RXaTBFLKPWgue2iRu/mUUMiCO+e8VbyDI8KuGIW8Jw4VlzeZClXIga46ueFeFB6Bqp0XPURguv86Pk1bfXvCE8PzZJxd8GVcSUxek/3FcjCpGPxLcq7asKe5Cwr4IpcHi35SgMdtgllwkvlUQBGDEIsCxRPGQByrqp4y3LiUYV1FBXzihd3oPXqTGYA/xRaoCInMufMMMTImCTnagYraFOqdDTrIZNVhYhy9zEpqBG2i09YavNTybv9rhbzzXHy/aYO+0NPkRiONfMN2ETfaWDy42nEhiXzkyllT8vzO2vv7abIvqxD1EenZbs1ec7bWB/0ZuW4RkS2JgR9pirjim10JZbQXRBcKvUOGJxsJfry6hpeZ+DgrpYMWwPX6oCflDihcwscULiiUF3FcGnloy9AD5mI4jfDAOKQxK7EOH0Ic5gGBcrdnTNED0IAPHc2zdjRZB2YjAHHlMhtWjlRYlRs= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:;PTR:;CAT:NONE;SFS:(13230040)(366016)(23010399003)(1800799024)(376014)(18002099003)(22082099003)(10067099003)(56012099006)(261026121527099003)(261026140227099003)(261028144727099003)(261022075727099003)(261021121427099003)(261022105027099003)(261102123227099003)(261009223027099003)(11063799006)(4143699003)(6133799003)(3023799007);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?d09nY3NDbmQ5RklLNk1peFJmLytYVW5hckFzVVMxRTd2YnVIRno4cWVMVWxS?= =?utf-8?B?ZTdDbWdVS0VYSmltZkhqeTVlc20zMWRPajR4ZGxSSUoxbDh3NGxCRFVXQW5l?= =?utf-8?B?VWRJM1ZSUWI4WVhxSXJZcnpnbEVsUDQzckhhZHVkc01PMzU1YTJOWjNUK0ky?= =?utf-8?B?aFBaUHQ0SndwY1ZNZ2V4bm1nYnp6ZkthNjlacGlPUS9OU0U1cWJBSEk5enNz?= =?utf-8?B?NjBLVENtOWZUalRMeTdWWGY2a2tQdGE0M1RacDFIWjh3UDdjUjdOT3B5eUgr?= =?utf-8?B?a1k2WENwRFpuRDhlSG1Md3BFdzRsdUcreUlOVGtNNlJNSmhXaExKdHo5WTVX?= =?utf-8?B?dklvVm5aN1FNYjZ6bFZSb0dZZm9vNnNCcGNzcDZVZjQyK2hTZUM3WUNObng0?= =?utf-8?B?cFZtT0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jF4REp5cy9Vd2NsWFJrUjlE?= =?utf-8?B?WkM1SHRJd1BtWVZDdXlLOHNaandZMUpkeUh5RW4rQ3hUeDdTeFJ6S2RodWpp?= =?utf-8?Q?N10Qx58xvvxd7am4e/?= X-OriginatorOrg: phytec.de X-MS-Exchange-CrossTenant-Network-Message-Id: f7312e4a-dde2-413c-0c6d-08df5152dafa X-MS-Exchange-CrossTenant-AuthSource: VI1P195MB0623.EURP195.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Dec 2026 15:34:01.4467 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: e609157c-80e2-446d-9be3-9c99c2399d29 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: UrQoVupzkeUXJ1YUeVhDGbjYBlr5wbZf0zXI9zk/ozbqJ6Udwa4G6aWInXqkmJffLqOYXOKd56kDlKL+vpPt7w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9P195MB0855 Am 30.11.26 um 20:53 schrieb Frank Li: > On Thu, Nov 26, 2026 at 03:33:12PM +0000, sashiko-bot@kernel.org wrote: >> Thank you for your contribution! Sashiko AI review found 4 potential >> issues to consider: >> - [High] arm64: dts: freescale: missing OF graph ports on M.2 connectors >> disable radios >> - [Medium] arm64: dts: imx95-phyflex-libra-rdk: descending >> cooling-levels breaks pwm-fan >> - [Low] arm64: dts: freescale: custom aliases in >> imx95-phyflex-fpsc-g-som.dtsi >> - [Low] arm64: dts: imx95-phyflex-libra-rdk: deprecated clock name and >> dummy regulator >> -- >> >> commit 344d2e7761b7f7fe50aadecc9f7055eddf8720b0 >> Author: Benjamin Hahn >> >> arm64: dts: imx95-phyflex-libra-rdk: Add phyFLEX-i.MX 95 Libra RDK >> >> This commit adds devicetree support for the PHYTEC phyFLEX-i.MX 95 FPSC >> Gamma SoM and the phyFLEX Libra RDK baseboard. >> >>> diff --git a/arch/arm64/boot/dts/freescale/imx95-phyflex-fpsc-g-som.dtsi b/arch/arm64/boot/dts/freescale/imx95-phyflex-fpsc-g-som.dtsi >>> new file mode 100644 >>> index 0000000000000..2611f6ee5a1b7 >>> --- /dev/null >>> +++ b/arch/arm64/boot/dts/freescale/imx95-phyflex-fpsc-g-som.dtsi >>> @@ -0,0 +1,746 @@ >> [ ... ] >>> + aliases { >>> + /* FPSC alias definitions */ >>> + ethernet1 = &enetc_port1; >>> + ethernet2 = &enetc_port0; >>> + gpio0 = &gpio1; >>> + gpio1 = &gpio2; >>> + gpio2 = &gpio3; >>> + gpio3 = &gpio4; >>> + gpio4 = &gpio5; >>> + i2c1 = &lpi2c2; >>> + i2c2 = &lpi2c5; >>> + i2c3 = &lpi2c3; >>> + i2c4 = &lpi2c4; >>> + i2c5 = &lpi2c1; >>> + pcie1 = &pcie0; >>> + pcie2 = &pcie1; >>> + pwm1 = &tpm3; >>> + pwm2 = &tpm5; >>> + sai1 = &sai5; >>> + serial1 = &lpuart8; >>> + serial2 = &lpuart5; >>> + serial3 = &lpuart7; >>> + spi1 = &lpspi7; >>> + spi2 = &lpspi3; >>> + spi3 = &lpspi4; >>> + usb1 = &usb3; >>> + }; >> [Severity: Low] >> Should custom non-standard aliases such as pcie1, pcie2, pwm1, pwm2, >> sai1, and usb1 be dropped from /aliases? >> >> Devicetree sources only allow established subsystem-generic aliases, and >> pcie1 = &pcie0 / pcie2 = &pcie1 also conflict with the 0-based >> linux,pci-domain values (<0> and <1>) defined on pcie0 and pcie1 in >> imx95.dtsi. > Please remove all unproved aliase. Krzk is cleaning up these. Will do. > > >>> diff --git a/arch/arm64/boot/dts/freescale/imx95-phyflex-libra-rdk.dts b/arch/arm64/boot/dts/freescale/imx95-phyflex-libra-rdk.dts >>> new file mode 100644 >>> index 0000000000000..0f44d7f99707d >>> --- /dev/null >>> +++ b/arch/arm64/boot/dts/freescale/imx95-phyflex-libra-rdk.dts >>> @@ -0,0 +1,576 @@ >> [ ... ] >>> + m2-key-m-connector { >>> + compatible = "pcie-m2-m-connector"; >>> + clocks = <&rv3028>; >>> + i2c-parent = <&lpi2c5>; >>> + vpcie3v3-supply = <®_vdd_3v3>; >>> + }; >>> + >>> + m2-key-e-connector { >>> + compatible = "pcie-m2-e-connector"; >>> + clocks = <&rv3028>; >>> + i2c-parent = <&lpi2c3>; >>> + sdio-reset-gpios = <&gpio_expander2 6 GPIO_ACTIVE_LOW>; >>> + sdio-wake-gpios = <&gpio_expander2 5 GPIO_ACTIVE_LOW>; >>> + uart-wake-gpios = <&gpio_expander1 13 GPIO_ACTIVE_LOW>; >>> + vpcie3v3-supply = <®_vdd_3v3>; >>> + w-disable1-gpios = <&gpio_expander1 9 GPIO_ACTIVE_LOW>; >>> + w-disable2-gpios = <&gpio_expander1 10 GPIO_ACTIVE_LOW>; >>> + }; >> [Severity: High] >> Without OF graph ports linking m2-key-e-connector and m2-key-m-connector >> to their host interfaces, does pwrseq_pcie_m2_probe() leave the M.2 Key-E >> radios permanently disabled? >> >> When pwrseq_pcie_m2_probe() binds to m2-key-e-connector, it requests >> w-disable1-gpios and w-disable2-gpios with GPIOD_OUT_HIGH, asserting both >> active-low disable lines. Because neither the connectors nor pcie0_port0 >> and pcie1_port0 define OF graph endpoints, slot_pwrctrl_probe() sees >> of_graph_is_present() as false and pwrseq_pcie_m2_match() never matches a >> consumer to deassert w-disable1-gpios or w-disable2-gpios. >> >> Connecting port@0 (PCIe) between the M.2 connectors and >> pcie0_port0/pcie1_port0 in the base DTS does not claim lpuart8 as a >> serdev (which only happens when port@3 is linked), while connecting >> port@3 to lpuart8 in the Bluetooth overlay allows btnxpuart and the power >> sequencer to deassert w-disable2-gpios when Bluetooth is enabled. > Please check this one. LPUART8 is also used for RS232/RS485 on  the Libra board and can be switched with UART1_BT_RS_SEL. When the port is specified here, it will not be exposed as /dev/ttyLP1, which will lead to RS232 and RS485 not beeing usable anymore. That is why the ports are not specified. And for pcie, the imx pcie driver seems to not support this properly. There are a lot of error messages appearing when adding the ports: imx6q-pcie 4c300000.pcie: failed to power on pwrctrl devices platform 4c300000.pcie:pcie@0: deferred probe pending: pci-pwrctrl-slot: Failed to get the power sequencer It seems to me that I am not the only one with that problem, as in imx95-tqma9596la-mba95xxca.dts there is also no ports given. > >>> + >>> + uart1_bt_rs_mux: mux-controller-uart1 { >>> + compatible = "gpio-mux"; >>> + #mux-control-cells = <0>; >>> + mux-gpios = <&gpio_expander1 14 GPIO_ACTIVE_HIGH>; >>> + idle-state = <0>; >>> + }; >>> + >>> + osc_mclk: oscillator-mclk { > clock-mclk > >>> + compatible = "fixed-clock"; >>> + #clock-cells = <0>; >>> + clock-frequency = <19200000>; >>> + >>> + status = "disabled"; >>> + }; >>> + >>> + osc_mclk_gated: oscillator-mclk-gated { > clock-mclk-gated > >>> + compatible = "gpio-gate-clock"; >>> + #clock-cells = <0>; >>> + clocks = <&osc_mclk>; >>> + enable-gpios = <&gpio_expander1 8 GPIO_ACTIVE_HIGH>; >>> + >>> + status = "disabled"; >>> + }; >>> + >>> + fan: pwm-fan { >>> + compatible = "pwm-fan"; >>> + interrupt-parent = <&gpio1>; >>> + interrupts = <4 IRQ_TYPE_EDGE_RISING>; >>> + #cooling-cells = <2>; >>> + /* startup 35%, duty cycle 30%-100%; >>> + * polarity inversion does not appear to work >>> + */ >>> + cooling-levels = <255 166 96 0>; >>> + fan-supply = <®_vdd_5v0>; >>> + pwms = <&tpm5 3 86958 0>; >>> + pulses-per-revolution = <2>; >>> + }; >> [Severity: Medium] >> Does configuring pwm-fan with descending cooling-levels = <255 166 96 0> >> and a pull-down (0x51e) on IMX95_PAD_GPIO_IO26__TPM5_CH3 cause the fan to >> run at 100% speed during system suspend and after shutdown? >> >> At cooling state 3 (level 0), set_pwm() calls pwm_fan_power_off(), which >> disables the TPM5_CH3 output driver so the pad pull-down pulls the >> inverted fan input low (full speed). Because reg_vdd_5v0 is always on, >> pwm_fan_suspend() and pwm_fan_cleanup() enter that same disabled PWM >> state on suspend, shutdown, or unbind and spin the fan at 100% speed. >> >> In addition, pwm_fan_probe() starts at initial_pwm = 0 and skips enabling >> the PWM and fan-supply, and pwm_fan_update_state() assumes cooling-levels >> is in ascending order (`if (pwm < ctx->pwm_fan_cooling_levels[i + 1]) >> break;`), so writing to pwm1 or pwm1_enable corrupts ctx->pwm_fan_state >> and causes pwm_fan_set_cur_state() to skip thermal state transitions. >> Configuring IMX95_PAD_GPIO_IO26__TPM5_CH3 with a pull-up (0x31e), >> PWM_POLARITY_INVERTED, and ascending cooling-levels with a non-zero >> minimum (such as <1 89 159 255>, as on imx95-19x19-evk.dts) keeps the fan >> off when disabled and preserves ascending state order. > Please check this one also The pwm-fan is tested and works as expected. The levels are inverted on our hardware. 255 is fan off (if the hardware is cold enough). 0 is fan on full speed. Benjamin > > Frank >>> + >>> + reg_usb3_phy: regulator-usb-vbus { >>> + compatible = "regulator-fixed"; >>> + regulator-min-microvolt = <5000000>; >>> + regulator-max-microvolt = <5000000>; >>> + regulator-name = "usb3-phy-dummy"; >>> + }; >> [Severity: Low] >> This isn't a runtime bug, but there are a few devicetree binding and >> cleanup issues in this file: >> >> 1. reg_usb3_phy defines a dummy regulator ("usb3-phy-dummy") only to >> populate vbus-supply on &usb3_phy; vbus-supply is optional in >> fsl,imx8mq-usb-phy.yaml and VBUS is already supplied by reg_vdd_vbus on >> the usb-c-connector node, so reg_usb3_phy and vbus-supply on &usb3_phy >> can be dropped. >> >> 2. fixed-clock.yaml deprecates node names not matching >> ^clock-([0-9]+|[a-z0-9-]+)$, so oscillator-mclk above should be named >> clock-mclk. >> >> 3. &flexspi1 below repeats pinctrl-0 and pinctrl-names already defined in >> imx95-phyflex-fpsc-g-som.dtsi, and the dt-bindings/mux/mux.h and >> dt-bindings/pwm/pwm.h includes at the top of this file are unused >> (unless PWM_POLARITY_INVERTED from pwm.h is used for the fan node). >> >> -- >> Sashiko AI review · https://sashiko.dev/#/patchset/20261126-wip-bhahn-imx95_upstreaming-v3-0-a2bda009bac8@phytec.de?part=2