aboutsummaryrefslogtreecommitdiff
path: root/arch
AgeCommit message (Collapse)AuthorFilesLines
2024-08-29dmaengine: Add dma router for pl08x in LPC32XX SoCPiotr Wojtaszczyk1-0/+1
LPC32XX connects few of its peripherals to pl08x DMA thru a multiplexer, this driver allows to route a signal request line thru the multiplexer for given peripheral. Signed-off-by: Piotr Wojtaszczyk <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
2024-08-29arm64: defconfig: Enable Tegra194 PCIe EndpointJon Hunter1-0/+1
Build the Tegra194 PCIe Endpoint driver as a module by default for ARM64. Signed-off-by: Jon Hunter <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
2024-08-29arm64: tegra: Add thermal nodes to AGX Orin SKU8Dara Stotland1-0/+22
One of the key differences between p3701-0000 and p3701-0008 is the temperature range. Add this info for p3701-0008. Signed-off-by: Dara Stotland <[email protected]> Reviewed-by: Brad Griffis <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
2024-08-29arm64: tegra: Move BPMP nodes to AGX Orin moduleDara Stotland2-16/+17
All SKUs of the p3701 module contain a temp sensor connected to the BPMP I2C. Move the associated nodes from tegra234-p3701-0008.dtsi to tegra234-p3701.dtsi. Add missing compatible. Signed-off-by: Dara Stotland <[email protected]> Reviewed-by: Brad Griffis <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
2024-08-29arm64: tegra: Move padctl supply nodes to AGX Orin moduleDara Stotland3-33/+23
Some padctl supply nodes currently reside in board file, when they should reside on module level. The nodes are part of module, not board. Move these nodes to the correct AGX Orin module file. Signed-off-by: Dara Stotland <[email protected]> Reviewed-by: Brad Griffis <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
2024-08-29arm64: tegra: Move AGX Orin nodes to correct locationDara Stotland2-25/+26
Some of the nodes inside the AGX Orin module file are in the wrong location. In particular, the SD card interface and two of the PCIe regulators in the module file should instead reside in the board file. These components are not part of the module. They are part of the carrier board. Move these nodes to the correct location. Fixes: cd42b26a527f ("arm64: tegra: Add regulators required for PCIe") Fixes: d71b893a119d ("arm64: tegra: Add Tegra234 SDMMC1 device tree node") Signed-off-by: Dara Stotland <[email protected]> Reviewed-by: Brad Griffis <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
2024-08-29arm64: tegra: Combine IGX Orin board filesDara Stotland2-249/+235
Current IGX Orin structure has both a top-level module+board file as well as a board file. Most of the data in the board-file is closely related to the module itself. The benefit of this extra file is outweighed by the additional complexity. Merge the board file into the module+board file for simplicity. Signed-off-by: Dara Stotland <[email protected]> Reviewed-by: Brad Griffis <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
2024-08-29arm64: tegra: Combine AGX Orin board filesDara Stotland2-92/+80
The current AGX Orin structure has both a top-level module+board file as well as a board file. Most of the data in the board-file is closely related to the module itself. The benefit of this extra file is outweighed by the additional complexity. Merge the board file into the module+board file for simplicity. Signed-off-by: Dara Stotland <[email protected]> Reviewed-by: Brad Griffis <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
2024-08-29arm64: tegra: Add common nodes to AGX Orin moduleDara Stotland3-172/+85
The AGX Orin module boards contain common nodes that can be moved to the included module dtsi. This eliminates redundancy within the files and reduces lines of code. Data from tegra234-p3701-0000 and tegra234-p3701-0008 that is common is now in tegra234-p3701.dtsi. Signed-off-by: Dara Stotland <[email protected]> Reviewed-by: Brad Griffis <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
2024-08-29ARM: tegra: Wire up two front panel LEDs on TrimSliceTomasz Maciej Nowak1-5/+25
Pins responsible for controlling these LEDs need to have tristate control removed if we want them as GPIOs. This change aligns with pinmux configuration of "dte" pin group in downstream kernel[1]. These LEDs had no function assigned on vendor kernel and there is no label on the case, the only markings are on PCB which are part of node names (ds1 marking is on power LED controlled by PMIC), so generic term is assigned as the function. 1. https://github.com/compulab/trimslice-android-kernel/blob/upstream/arch/arm/mach-tegra/board-trimslice-pinmux.c#L45 Signed-off-by: Tomasz Maciej Nowak <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
2024-08-29arm64: tegra: Wire up WiFi on Jetson TX1 moduleTomasz Maciej Nowak1-0/+19
P2180 modules have WiFi in form of BCM4354 chip, and kernel driver supports this one, so enable it for all users. The necessary calibration file can be obtained from Jetson Linux Archive. nvram.txt file is located in "Driver Package (BSP)" in nv_tegra/l4t_deb_packages/nvidia-l4t-firmware_<version>_arm64.deb archive. The rest of necessary blobs can be obtained from official Linux Firmware repository or (newer ones) from Infineon ifx-linux-firmware repository (look in older releases). Signed-off-by: Tomasz Maciej Nowak <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
2024-08-29arm64: tegra: Wire up Bluetooth on Jetson TX1 moduleTomasz Maciej Nowak1-0/+16
P2180 modules have Bluetooth in form of BCM4354 chip, and kernel driver supports this one, so enable it for all users. The necessary firmware can be obtained from Jetson Linux Archive. bcm4354.hcd file is located in "Driver Package (BSP)" in nv_tegra/l4t_deb_packages/nvidia-l4t-firmware_<version>_arm64.deb archive. Signed-off-by: Tomasz Maciej Nowak <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
2024-08-29arm64: tegra: Wire up power sensors on Jetson TX1 DevKitTomasz Maciej Nowak2-0/+79
One INA3221 sensor is located on P2180 module and the other two are on P2597 base board. Signed-off-by: Tomasz Maciej Nowak <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
2024-08-29arm64: tegra: Add p3767 PCIe C4 EP detailsVedant Deshpande1-0/+12
Add implementation details for Orin NX/Nano PCIe EP on C4. Signed-off-by: Vedant Deshpande <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
2024-08-29arm64: tegra: Add Tegra234 PCIe C4 EP definitionVedant Deshpande1-0/+31
Add PCIe C4 EP controller definition in device tree for Tegra234 devices. Signed-off-by: Vedant Deshpande <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
2024-08-29arm64: tegra: Add wp-gpio for P2597's external card slotDiogo Ivo1-0/+1
Add the definition for the wp-gpio of the P2597's external card slot, enabling this functionality. Tested on a P2597 board. Signed-off-by: Diogo Ivo <[email protected]> Tested-by: Tomasz Maciej Nowak <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
2024-08-29arm64: tegra: Fix gpio for P2597 vmmc regulatorDiogo Ivo1-1/+1
The current declaration is off-by-one and actually corresponds to the wp-gpio of the external slot. Tested on a P2597 board. Signed-off-by: Diogo Ivo <[email protected]> Tested-by: Tomasz Maciej Nowak <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
2024-08-29ARM: tegra: tf701t: Configure USBSvyatoslav Ryhel1-4/+4
Fixes issue when resuming after suspend made USB in peripheral mode inaccessible. Signed-off-by: Svyatoslav Ryhel <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
2024-08-29ARM: tegra: tf701t: Use dedicated backlight regulatorSvyatoslav Ryhel1-2/+1
Downstream kernel states that backlight has no actual enable GPIO and uses fixed regulator. Signed-off-by: Svyatoslav Ryhel <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
2024-08-29ARM: tegra: tf701t: Re-group GPIO keysSvyatoslav Ryhel1-8/+12
Group GPIO keys into keys and switches. Signed-off-by: Svyatoslav Ryhel <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
2024-08-29ARM: tegra: tf701t: Bind WIFI SDIO and EMMCSvyatoslav Ryhel1-2/+55
Add MMC nodes configuration along with WIFI binding to ASUS TF701T device-tree. Signed-off-by: Svyatoslav Ryhel <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
2024-08-29ARM: tegra: tf701t: Complete sound bindingsSvyatoslav Ryhel1-7/+17
With these changes sound works, only UCM configs are needed for complete support. Signed-off-by: Svyatoslav Ryhel <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
2024-08-29ARM: tegra: tf701t: Adjust sensors nodesSvyatoslav Ryhel1-3/+18
Complete and adjust magnetometer, thermal sensor, motion tracker, power and light sensors according to available sources. Signed-off-by: Svyatoslav Ryhel <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
2024-08-29ARM: tegra: tf701t: Add Bluetooth nodeSvyatoslav Ryhel1-1/+27
Add serial node along with bluetooth node to ASUS TF701T device-tree. Signed-off-by: Svyatoslav Ryhel <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
2024-08-29ARM: tegra: tf701t: Add HDMI bindingsSvyatoslav Ryhel1-2/+31
Add HDMI nodes to ASUS TF701T device-tree. Signed-off-by: Svyatoslav Ryhel <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
2024-08-29ARM: tegra: tf701t: Correct and complete PMIC and PMC bindingsSvyatoslav Ryhel1-68/+195
Add missing parts of PMIC complex, extend PMC binding and add missing fixed regulators. Additionally, refresh naming to better reflect regulator purpose. Signed-off-by: Svyatoslav Ryhel <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
2024-08-29ARM: tegra: tf701t: Bind VDE deviceSvyatoslav Ryhel1-0/+6
Add Video Decoder Engine node to ASUS TF701T device-tree. Signed-off-by: Svyatoslav Ryhel <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
2024-08-29ARM: tegra: tf701t: Use unimomentary pinmux setupSvyatoslav Ryhel1-108/+993
Mimic original downstream board behavior to set up all pinmux at once. Per-device pinmux is good but we have no complete board schematics to allow such luxury. Signed-off-by: Svyatoslav Ryhel <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
2024-08-29x86/EISA: Dereference memory directly instead of using readl()Maciej W. Rozycki1-2/+2
Sparse expect an __iomem pointer, but after converting the EISA probe to memremap() the pointer is a regular memory pointer. Access it directly instead. [ tglx: Converted it to fix the already applied version ] Fixes: 80a4da05642c ("x86/EISA: Use memremap() to probe for the EISA BIOS signature") Signed-off-by: Maciej W. Rozycki <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Link: https://lore.kernel.org/all/[email protected]
2024-08-29Merge patch series "riscv: mm: Do not restrict mmap address based on hint"Palmer Dabbelt1-24/+2
Charlie Jenkins <[email protected]> says: There have been a couple of reports that using the hint address to restrict the address returned by mmap hint address has caused issues in applications. A different solution for restricting addresses returned by mmap is necessary to avoid breakages. [Palmer: This also just wasn't doing the right thing in the first place, as it didn't handle the sv39 cases we were trying to deal with.] * b4-shazam-merge: riscv: mm: Do not restrict mmap address based on hint riscv: selftests: Remove mmap hint address checks Revert "RISC-V: mm: Document mmap changes" Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Palmer Dabbelt <[email protected]>
2024-08-29riscv: mm: Do not restrict mmap address based on hintCharlie Jenkins1-24/+2
The hint address should not forcefully restrict the addresses returned by mmap as this causes mmap to report ENOMEM when there is memory still available. Signed-off-by: Charlie Jenkins <[email protected]> Fixes: b5b4287accd7 ("riscv: mm: Use hint address in mmap if available") Fixes: add2cc6b6515 ("RISC-V: mm: Restrict address space for sv39,sv48,sv57") Closes: https://lore.kernel.org/linux-kernel/ZbxTNjQPFKBatMq+@ghost/T/#mccb1890466bf5a488c9ce7441e57e42271895765 Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Palmer Dabbelt <[email protected]>
2024-08-29arm64: dts: rockchip: add Mask Rom key on NanoPC-T6Marcin Juszkiewicz1-0/+15
Mask Rom key is connected to SARADC and can be read from OS. Signed-off-by: Marcin Juszkiewicz <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Heiko Stuebner <[email protected]>
2024-08-29arm64: dts: rockchip: enable USB-C on NanoPC-T6Marcin Juszkiewicz1-4/+72
Enable the USB-C port on FriendlyELEC NanoPC-T6. Works one way so far but still better than before. Signed-off-by: Marcin Juszkiewicz <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Heiko Stuebner <[email protected]>
2024-08-29arm64: dts: rockchip: enable GPU on NanoPC-T6Marcin Juszkiewicz1-0/+5
Enable the Mali GPU on FriendlyELEC NanoPC-T6 Signed-off-by: Marcin Juszkiewicz <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Heiko Stuebner <[email protected]>
2024-08-29arm64: dts: rockchip: add IR-receiver to NanoPC-T6Marcin Juszkiewicz1-1/+14
FriendlyELEC NanoPC-T6 has IR receiver connected to PWM3_IR_M0 line which ends as GPIO0_D4. Signed-off-by: Marcin Juszkiewicz <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Heiko Stuebner <[email protected]>
2024-08-29arm64: dts: rockchip: add SPI flash on NanoPC-T6Marcin Juszkiewicz1-0/+15
FriendlyELEC NanoPC-T6 has optional SPI flash chip on-board. It is populated with 32MB one on LTS version. Signed-off-by: Marcin Juszkiewicz <[email protected]> Reviewed-by: Jonas Karlman <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Heiko Stuebner <[email protected]>
2024-08-29arm64: dts: rockchip: add NanoPC-T6 LTSMarcin Juszkiewicz2-0/+61
In the LTS (2310) version the miniPCIe slot got removed and USB 2.0 setup has changed. There are two external accessible ports and two ports on the internal header. There is an on-board USB hub which provides: - one external connector (bottom one) - two internal ports on pin header - one port for m.2 E connector The top USB 2.0 connector comes directly from the SoC. Signed-off-by: Marcin Juszkiewicz <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Heiko Stuebner <[email protected]>
2024-08-29arm64: dts: rockchip: move NanoPC-T6 parts to DTSMarcin Juszkiewicz2-17/+23
MiniPCIe slot is present only in first version of NanoPC-T6 (2301). Signed-off-by: Marcin Juszkiewicz <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Heiko Stuebner <[email protected]>
2024-08-29arm64: dts: rockchip: prepare NanoPC-T6 for LTS boardMarcin Juszkiewicz2-930/+947
FriendlyELEC introduced a second version of NanoPC-T6 SBC. Create common include file and make NanoPC-T6 use it. Following patches will add LTS version. Signed-off-by: Marcin Juszkiewicz <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Heiko Stuebner <[email protected]>
2024-08-29powerpc/pseries/dlpar: Use helper function for_each_child_of_node()Zhang Zekun1-4/+1
for_each_child_of_node can help to iterate through the device_node, and we don't need to use while loop. No functional change with this conversion. Signed-off-by: Zhang Zekun <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://msgid.link/[email protected]
2024-08-29powerpc/powermac/pfunc_base: Use helper function for_each_child_of_node()Zhang Zekun1-1/+1
for_each_child_of_node() can help to iterate through the device_node, and we don't need to do it manually. No functional change with this conversion. Signed-off-by: Zhang Zekun <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://msgid.link/[email protected]
2024-08-29powerpc/64s/mm: Move __real_pte stubs into hash-4k.hMichael Ellerman2-26/+20
The stub versions of __real_pte() etc are only used with HPT & 4K pages, so move them into the hash-4k.h header. Signed-off-by: Michael Ellerman <[email protected]> Link: https://msgid.link/[email protected]
2024-08-29powerpc/configs/64s: Enable DEFERRED_STRUCT_PAGE_INITMichael Ellerman1-0/+1
It can speed up initialisation of page structs at boot on large machines. Signed-off-by: Michael Ellerman <[email protected]> Link: https://msgid.link/[email protected]
2024-08-29arm64: dts: rockchip: Fix compatibles for RK3588 VO{0,1}_GRFCristian Ciocaltea1-3/+3
RK3588 VO0 and VO1 GRFs are not identical (though quite similar in terms of layout) and, therefore, incorrectly shared the compatible string. Since the related binding document has been updated to use dedicated strings, update the compatibles for vo{0,1}_grf DT nodes accordingly. Additionally, for consistency, set the full region size (16KB) for VO1_GRF. Reported-by: Conor Dooley <[email protected]> Signed-off-by: Cristian Ciocaltea <[email protected]> Reviewed-by: Conor Dooley <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Heiko Stuebner <[email protected]>
2024-08-29mips: Remove posix_types.h include from sigcontext.hXi Ruoyao1-1/+0
Nothing in sigcontext.h seems to require anything from linux/posix_types.h. It seems only a relict: in a Linux 2.6.11-rc2 patch [1] the linux/types.h include was unexplainedly changed to a linux/posix_types.h include. I can only assume it was just an error. Finally headers_check complained "found __[us]{8,16,32,64} type without #include <linux/types.h>" and commit ae612fb05b0f ("headers_check fix: mips, sigcontext.h") added back the linux/types.h include, but it didn't remove the posix_types.h include. Remove it now. [1]:https://kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.11-rc2/2.6.11-rc2-mm2/broken-out/mips-generic-mips-updates.patch Signed-off-by: Xi Ruoyao <[email protected]> Signed-off-by: Thomas Bogendoerfer <[email protected]>
2024-08-29MIPS: dec: prom: Remove unused unregister_prom_console() declarationGaosheng Cui1-1/+0
The unregister_prom_console() has been removed since commit 36a885306fdf ("[MIPS] Fix and cleanup the mess that a dozen prom_printf variants are."), so remove it. Signed-off-by: Gaosheng Cui <[email protected]> Acked-by: Maciej W. Rozycki <[email protected]> Signed-off-by: Thomas Bogendoerfer <[email protected]>
2024-08-29MIPS: Remove unused mips_display/_scroll_message() declarationsGaosheng Cui1-3/+0
The mips_display/_scroll_message() have been removed since commit 0b0037490f37 ("MIPS: malta: Use img-ascii-lcd driver for LCD display"), so remove them. Signed-off-by: Gaosheng Cui <[email protected]> Signed-off-by: Thomas Bogendoerfer <[email protected]>
2024-08-29MIPS: Remove unused declarations in asm/cmp.hGaosheng Cui1-8/+0
These functions have been removed since commit 7fb6f7b0af67 ("MIPS: Remove deprecated CONFIG_MIPS_CMP"), so remove them. Signed-off-by: Gaosheng Cui <[email protected]> Signed-off-by: Thomas Bogendoerfer <[email protected]>
2024-08-29MIPS: MT: Remove unused function mips_mt_regdump()Gaosheng Cui2-79/+0
The mips_mt_regdump() has not been used since commit b633648c5ad3 ("MIPS: MT: Remove SMTC support"), so remove it. Signed-off-by: Gaosheng Cui <[email protected]> Reviewed-by: Ricardo B. Marliere <[email protected]> Signed-off-by: Thomas Bogendoerfer <[email protected]>
2024-08-29arm64: dts: renesas: r9a07g043u11-smarc: Enable DUBiju Das3-0/+141
Enable the Display Unit and link with the HDMI add-on board connected to the parallel connector on the RZ/G2UL SMARC EVK by using a Device Tree overlay. Signed-off-by: Biju Das <[email protected]> Reviewed-by: Geert Uytterhoeven <[email protected]> Link: https://lore.kernel.org/[email protected] Signed-off-by: Geert Uytterhoeven <[email protected]>