summaryrefslogtreecommitdiff
path: root/arch
AgeCommit message (Collapse)AuthorFilesLines
2025-11-16ARM: dts: imx6qdl: make VAR-SOM SoM SoC-agnosticStefan Prisacariu2-3/+1
Make SoM .dtsi SoC-agnostic by moving SoC include to board level imx6qdl-var-som.dtsi currently includes imx6q.dtsi, which makes this SoM description Quad/Dual specific and prevents reuse from i.MX6DL boards. Changes: - Move imx6q.dtsi include from imx6qdl-var-som.dtsi to imx6q-var-mx6customboard.dts. - Remove /dts-v1/; from imx6qdl-var-som.dtsi (dtsi files should not declare version) This keeps the SoM .dtsi SoC-agnostic (it already relies on imx6qdl.dtsi for family-common parts) and allows boards using the DualLite or Solo to include imx6dl.dtsi instead. Why this is needed: To reuse imx6qdl-var-som.dtsi on i.MX6DL board. No functional changes for imx6q-var-mx6customboard are intended. Signed-off-by: Stefan Prisacariu <stefan.prisacariu@prevas.dk> Link: https://lore.kernel.org/all/20250925104942.4148376-1-stefan.prisacariu@prevas.dk/ Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-11-16arm64: defconfig: enable i.MX AIPSTZ driverLaurentiu Mihalcea1-0/+1
Enable the i.MX AIPSTZ driver, which is used for i.MX8MP-based boards such as NXP's IMX8MP-EVK. Signed-off-by: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-11-16ARM: dts: imx6dl-yapp4: Model the RGB LED as a single multi-led partMichal Vokáč2-40/+48
Describe the RGB LED indicator according to the reality - it is a single part containing all the three R,G and B LEDs in one package. With this description the chan-name property becomes useless, remove it. Signed-off-by: Michal Vokáč <michal.vokac@ysoft.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-11-16ARM: dts: imx6dl-yapp43: Enable pwm-beeper on boards with speakerMichal Vokáč4-0/+43
Lynx, Pegasus and Pegasus+ boards have a speaker connected to the PWM3. Enable a pwm-beeper on these boards so the system can produce simple sounds. Signed-off-by: Michal Vokáč <michal.vokac@ysoft.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-11-16arm64: dts: freescale: imx93-var-som: Add support for ADS7846 touchscreenStefano Radaelli1-0/+47
The VAR-SOM-MX93 integrates an ADS7846 resistive touchscreen controller. The controller is physically located on the SOM, and its signals are routed to the SOM pins, allowing carrier boards to make use of it. This patch adds the ADS7846 node and the appropriate SPI controller. Signed-off-by: Stefano Radaelli <stefano.radaelli21@gmail.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-11-16arm64: dts: freescale: imx93-var-som: Add support for WM8904 audio codecStefano Radaelli1-0/+93
The VAR-SOM-MX93 can integrate the WM8904, a high-performance ultra-low-power stereo codec optimized for portable audio applications. This patch adds the WM8904 device to the appropriate I2C bus, enables the SAI peripheral, and introduces the sound node to expose the sound card to the system. Signed-off-by: Stefano Radaelli <stefano.radaelli21@gmail.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-11-16arm64: dts: freescale: imx93-var-som: Add PMIC supportStefano Radaelli1-0/+98
The VAR-SOM-MX93 features Dual Freescale/NXP PCA9541 chip as a Power Management Integrated circuit (PMIC). The PMIC is programmable via the I2C interface and its associated register map, and this patch adds its support. Signed-off-by: Stefano Radaelli <stefano.radaelli21@gmail.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-11-16arm64: dts: freescale: imx93-var-som: Add WiFi and Bluetooth supportStefano Radaelli1-1/+93
Add device tree nodes for the WiFi and Bluetooth module mounted on the VAR-SOM-MX93. The module can be based on either the NXP IW612 or IW611 chipset, depending on the configuration chosen by the customer. Regardless of the chipset used, WiFi communicates over SDIO and Bluetooth over UART. Signed-off-by: Stefano Radaelli <stefano.radaelli21@gmail.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-11-16arm64: dts: imx8qxp-mek: change space with tabFrank Li1-23/+23
Change space with tab to align with code style. Signed-off-by: Frank Li <Frank.Li@nxp.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-11-16arm64: dts: imx8qxp-mek: Add lpuart1 to support the M.2 PCIE9098 bluetoothSherry Sun1-0/+19
Add the lpuart1 dts node to support the PCIE9098 bluetooth on M.2 connector. Signed-off-by: Sherry Sun <sherry.sun@nxp.com> Signed-off-by: Frank Li <Frank.Li@nxp.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-11-16arm64: dts: imx8: add edma error interrupt supportJoy Zou5-10/+20
Add edma error interrupt for i.MX8QM, i.MX8QXP and i.MX8DXL. Signed-off-by: Joy Zou <joy.zou@nxp.com> Signed-off-by: Frank Li <Frank.Li@nxp.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-11-16arm64: dts: imx8qxp-mek: add fec2 supportFrank Li1-0/+43
Add fec2 and related nodes. Signed-off-by: Frank Li <Frank.Li@nxp.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-11-16arm64: dts: imx8qxp-mek: add phandle ocotp mac-address for fecFrank Li1-0/+2
Add phandle to the OCOTP mac-address nodes so the FEC can obtain a fixed MAC address specific to each board. Signed-off-by: Frank Li <Frank.Li@nxp.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-11-16arm64: dts: imx8qxp-mek: add flexspi and flashFrank Li1-0/+35
Add flexspi and flash node. Signed-off-by: Frank Li <Frank.Li@nxp.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-11-16arm64: dts: imx8qxp-mek: update usdhc1 clock to 400MhzFrank Li1-1/+1
Update usdhc1 clock to 400Mhz to support eMMC HS400. Signed-off-by: Frank Li <Frank.Li@nxp.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-11-16arm64: dts: imx8qxp-mek: add state_100mhz and state_200mhz for usdhcFrank Li1-3/+15
default, state_100mhz and state_200mhz use the same settings. But current driver use these to indicate if sd3.0 support. Add SD gpio pin group (Reset, CD, WP) for usdhc2. Signed-off-by: Frank Li <Frank.Li@nxp.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-11-16arm64: dts: imx8qxp: add wakeup source for power-keyFrank Li1-0/+1
Add wakeup source property for power-key. Signed-off-by: Frank Li <Frank.Li@nxp.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-11-16arm64: dts: imx8qxp: add MAC address in ocotpFrank Li1-0/+8
Add MAC address nodes in ocotp. Signed-off-by: Frank Li <Frank.Li@nxp.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-11-16arm64: dts: imx8qm-mek: replace space with tabFrank Li1-22/+22
Replace space with tab. Signed-off-by: Frank Li <Frank.Li@nxp.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-11-16arm64: dts: imx8qm-mek: add usbotg1 and related nodesFrank Li1-0/+30
Add usbotg1 and related nodes. Signed-off-by: Frank Li <Frank.Li@nxp.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-11-16arm64: dts: imx8qm-mek: add pmic thermal-zonesFrank Li1-0/+32
Add pmic thermal-zones. Signed-off-by: Frank Li <Frank.Li@nxp.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-11-16arm64: dts: imx8qm: add label thermal_zonesFrank Li1-1/+1
Add label thermal_zones to prepare add pmic thermal zones. Signed-off-by: Frank Li <Frank.Li@nxp.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-11-16arm64: dts: imx8qm-mek: add lpuart1 and bluetooth nodeFrank Li1-0/+19
Add lpuart1 and bluetooth support. Signed-off-by: Frank Li <Frank.Li@nxp.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-11-16arm64: dts: imx8qm-mek: assign double SD bus frequency for usdhc1Frank Li1-0/+2
Assign double SD bus frequency to support SDR104 mode, where the operating clock runs at 208 MHz. Signed-off-by: Frank Li <Frank.Li@nxp.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-11-16arm64: dts: imx8qm-mek: add state_100mhz and state_200mhz for usdhcFrank Li1-3/+15
default, state_100mhz and state_200mhz use the same settings. But current driver use these to indicate if sd3.0 support. Signed-off-by: Frank Li <Frank.Li@nxp.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-11-16ARM: dts: imx: e70k02: add sy7636Andreas Kemnade3-1/+72
Add the EPD PMIC for the e70k02 based devices as a step towards full EPD support. Acked-by: Alistair Francis <alistair@alistair23.me> Reviewed-by: Peng Fan <peng.fan@nxp.com> Signed-off-by: Andreas Kemnade <akemnade@kernel.org> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-11-16arm64: dts: freescale: imx93-phyboard-nash: Add pwm-fan overlayPrimoz Fiser2-0/+77
Add overlay to support PWM fan on the phyBOARD-Nash-i.MX93 board. Fan can be connected to the FAN (X48) connector on the board and will be controlled according to the following CPU temperature trips table: - bellow 50 degrees - fan is off (<1% duty cycle) - between 50 and 58 degrees - low fan speed (~35% duty cycle) - between 58 and 65 degrees - fan medium speed (~60% duty cycle) - above 65 degrees - fan at full speed (>99% duty cycle) The output frequency of PWM signal is set to 25 kHz. Signed-off-by: Primoz Fiser <primoz.fiser@norik.com> Reviewed-by: Alberto Merciai <alb3rt0.m3rciai@gmail.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-11-16arm64: dts: freescale: imx93-phyboard-nash: Add jtag overlayPrimoz Fiser2-0/+33
Add overlay to enable JTAG pins on the board's JTAG (X41) connector. Signed-off-by: Primoz Fiser <primoz.fiser@norik.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-11-16arm64: dts: imx8mm-phyboard-polis-peb-av-10: Fix audio codec reset pin ctlTeresa Remmet1-1/+1
Enable internal pull up of the active low audio codec reset pin. Otherwise the audio codec does not reset properly and is not working. Signed-off-by: Teresa Remmet <t.remmet@phytec.de> Signed-off-by: Jan Remmet <j.remmet@phytec.de> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-11-16arm64: dts: imx8mm-phyboard-polis-peb-av-10-ph128800t006Jan Remmet2-0/+47
Add support for powertip,ph128800t006-zhc01 connected via peb-av-10 Signed-off-by: Jan Remmet <j.remmet@phytec.de> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-11-16arm64: dts: imx8mm-phyboard-polis-peb-av-10: split display configurationJan Remmet4-202/+237
The PEB-AV-10 board can be used with different displays or in audio-only mode. Split the device tree overlays to reflect these use cases. To use the board with the EDT ETML1010G3DRA display, the overlay imx8mm-phyboard-polis-peb-av-10-etml1010g3dra.dtbo must now be used instead of imx8mm-phyboard-polis-peb-av-10.dtbo. Signed-off-by: Jan Remmet <j.remmet@phytec.de> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-11-16arm64: dts: imx8mm-phyboard-polis-peb-av-10: reorder properties to match dts ↵Jan Remmet1-23/+23
coding style Sort properties. Rename regulator label to match schematics. Signed-off-by: Jan Remmet <j.remmet@phytec.de> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-11-16arm64: dts: imx8mm-phyboard-polis: move mipi bridge to somJan Remmet2-34/+31
sn65dsi83 is mounted on som. Add the static configuration there. So it can be used by other boards too. Use mipi_dsi_out from imx8mm.dtsi directly. Signed-off-by: Jan Remmet <j.remmet@phytec.de> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-11-16arm64: dts: imx8mm-phyboard-polis: Use GPL-2.0-or-later OR MITJan Remmet4-8/+4
Update license and remove individual authorship. Signed-off-by: Jan Remmet <j.remmet@phytec.de> Acked-by: Teresa Remmet <t.remmet@phytec.de> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-11-16arm64: dts: freescale: Add phyBOARD-Segin-i.MX91 supportPrimoz Fiser3-0/+650
Add initial support for the PHYTEC phyBOARD-Segin-i.MX91 board [1] based on the PHYTEC phyCORE-i.MX91 SoM (System-on-Module) [2]. Supported features: * Audio * CAN * eMMC * Ethernet * I2C * RTC * SD-Card * UART * USB For more details see the product pages for the development board and the SoM: [1] https://www.phytec.eu/en/produkte/development-kits/phyboard-segin-kit/ [2] https://www.phytec.eu/en/produkte/system-on-modules/phycore-imx-91-93/ Signed-off-by: Primoz Fiser <primoz.fiser@norik.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-11-16convert spufsAl Viro1-10/+7
have spufs_new_file() use d_make_persistent() instead of d_add() and do an uncondition dput() in the caller; the rest is completely straightforward. [a braino in spufs_mkgang() fixed] Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2025-11-16ARM: dts: imx28-amarula-rmm: add I2S audioDario Binacchi1-0/+50
Add support for I2S audio on Amarula rmm board. Audio codec TLV320AIC3X is connected as slave to SAIF0, which provides bitclock, frame and MCLK. Co-developed-by: Michael Trimarchi <michael@amarulasolutions.com> Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com> Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-11-16ARM: mxs_defconfig: enable sound drivers for imx28-amarula-rmmDario Binacchi1-0/+2
Enable TLV320AIC3X I2C codec and simple-card support used on Amarula rmm board. Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-11-16arm64: defconfig: Enable i.MX95 drivers for pinctrl, Ethernet and PCIeJoão Paulo Gonçalves1-0/+4
Enable i.MX95 pinctrl driver necessary for booting. Also enable the missing drivers required for Ethernet and PCIe functionality. These drivers are used on i.MX95 boards, including the NXP i.MX95 19x19 EVK. The below configurations were enabled (listed with their DT nodes on imx95.dtsi): * CONFIG_PINCTRL_IMX_SCMI for the `scmi_iomuxc` pinctrl. * CONFIG_CLK_IMX95_BLK_CTL for the HSIO domain clock controller (`hsio_blk_ctl`) used by the PCIe controller. * CONFIG_NXP_NETC_BLK_CTRL for the NETC hardware domain controller (`netc_blk_ctrl`). * CONFIG_NXP_ENETC4 for the Ethernet controller (`enetc_port*`). Signed-off-by: João Paulo Gonçalves <joao.goncalves@toradex.com> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-11-16arm64: dts: imx8-apalis: use startup-delay-us for wifi regulatorStefan Eichenberger1-1/+1
We used regulator-settling-time-us for the wifi regulator which is wrong for regulator-fixed. We have to use startup-delay-us instead. Signed-off-by: Stefan Eichenberger <stefan.eichenberger@toradex.com> Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-11-16arm64: dts: imx8-apalis: rename wifi regulatorStefan Eichenberger1-1/+1
Rename the wifi regulator to what is the net name in the schematic. Signed-off-by: Stefan Eichenberger <stefan.eichenberger@toradex.com> Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-11-16arm64: dts: imx8-apalis: specify adc reference voltage regulatorMax Krummenacher1-0/+2
This sets in_voltage_scale to calculate the measured voltage from the raw digital value of the ADC. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-11-16arm64: dts: imx8-apalis: add thermal nodesMax Krummenacher2-3/+37
Add the thermal-zones and cooling-maps nodes for the PMIC device. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-11-16arm64: dts: imx8-apalis: cleanup todoMax Krummenacher2-10/+0
Functionality has been added without removing the associated TODO comments. Clean that up by removing TODOs no longer applicable. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Reviewed-by: Daniel Baluta <daniel.baluta@nxp.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-11-16arm64: dts: imx8mp-evk: enable hdmi_pai deviceShengjiu Wang1-0/+4
Enable hdmi_pai device. Aud2htx module, hdmi_pai and hdmi controller compose the hdmi audio pipeline. Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com> Reviewed-by: Frank Li <Frank.Li@nxp.com> Tested-by: Alexander Stein <alexander.stein@ew.tq-group.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-11-16arm64: dts: imx8mp: Add hdmi parallel audio interface nodeShengjiu Wang1-1/+26
The HDMI TX Parallel Audio Interface (HTX_PAI) is a bridge between the Audio Subsystem to the HDMI TX Controller. Shrink register map size of hdmi_pvi to avoid overlapped hdmi_pai device. Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com> Reviewed-by: Frank Li <Frank.Li@nxp.com> Tested-by: Alexander Stein <alexander.stein@ew.tq-group.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-11-16arm64: dts: rockchip: add vicap node to rk356xMichael Riesch1-0/+44
Add the device tree node for the RK356x Video Capture (VICAP) unit. Signed-off-by: Michael Riesch <michael.riesch@wolfvision.net> Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> Signed-off-by: Michael Riesch <michael.riesch@collabora.com> Link: https://patch.msgid.link/20240220-rk3568-vicap-v15-13-8f4915ee365d@collabora.com Signed-off-by: Heiko Stuebner <heiko@sntech.de>
2025-11-16arm64: dts: rockchip: add the vip node to px30Mehdi Djait1-0/+12
Add the device tree node for the PX30 Video Input Processor (VIP). Signed-off-by: Mehdi Djait <mehdi.djait@bootlin.com> [added cosmetic changes] Signed-off-by: Michael Riesch <michael.riesch@wolfvision.net> Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> Signed-off-by: Michael Riesch <michael.riesch@collabora.com> Link: https://patch.msgid.link/20240220-rk3568-vicap-v15-12-8f4915ee365d@collabora.com Signed-off-by: Heiko Stuebner <heiko@sntech.de>
2025-11-16arm64: defconfig: enable rockchip camera interfaceMichael Riesch1-0/+1
The Rockchip Camera Interface (CIF) is featured in many Rockchip SoCs in different variations. Enable the driver for it in the default configuration. Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> Reviewed-by: Mehdi Djait <mehdi.djait@linux.intel.com> Signed-off-by: Michael Riesch <michael.riesch@collabora.com> Link: https://patch.msgid.link/20240220-rk3568-vicap-v15-11-8f4915ee365d@collabora.com Signed-off-by: Heiko Stuebner <heiko@sntech.de>
2025-11-16riscv: Update MIPS vendor id to 0x127Chao-ying Fu1-1/+1
[1] defines MIPS vendor id as 0x127. All previous MIPS RISC-V patches were tested on QEMU, also modified to use 0x722 as MIPS_VENDOR_ID. This new value should reflect real hardware. [1] https://mips.com/wp-content/uploads/2025/06/P8700_Programmers_Reference_Manual_Rev1.84_5-31-2025.pdf Fixes: a8fed1bc03ac ("riscv: Add xmipsexectl as a vendor extension") Signed-off-by: Chao-ying Fu <cfu@wavecomp.com> Signed-off-by: Aleksa Paunovic <aleksa.paunovic@htecgroup.com> Link: https://patch.msgid.link/20251113-mips-vendorid-v2-1-3279489b7f84@htecgroup.com Cc: <stable@vger.kernel.org> Signed-off-by: Paul WAlmsley <pjw@kernel.org>