platform/kernel/linux-rpi.git
11 months agoMerge tag 'sunxi-dt-for-6.6-1' of https://git.kernel.org/pub/scm/linux/kernel/git...
Arnd Bergmann [Sat, 12 Aug 2023 08:46:57 +0000 (10:46 +0200)]
Merge tag 'sunxi-dt-for-6.6-1' of https://git./linux/kernel/git/sunxi/linux into soc/dt

- Add D1 GPADC node
- Introduce support for OrangePi Zero 3 SBC
- Enable DT overlay support for Allwinner H3 boards

* tag 'sunxi-dt-for-6.6-1' of https://git.kernel.org/pub/scm/linux/kernel/git/sunxi/linux:
  arm: dts: Enable device-tree overlay support for sun8i-h3 pi devices
  arm64: dts: allwinner: h616: Add OrangePi Zero 3 board support
  dt-bindings: arm: sunxi: document Orange Pi Zero 3 board name
  arm64: dts: allwinner: h616: Split Orange Pi Zero 2 DT
  riscv: dts: allwinner: d1: Add GPADC node

Link: https://lore.kernel.org/r/20230806180546.GA127039@jernej-laptop
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
11 months agoarm64: dts: mediatek: Fix "status" values
Rob Herring [Fri, 4 Aug 2023 22:58:13 +0000 (16:58 -0600)]
arm64: dts: mediatek: Fix "status" values

The defined value for "status" is "disabled", not "disable".

Reviewed-by: Alexandre Mergnat <amergnat@baylibre.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20230804225813.12493-1-robh@kernel.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
11 months agoMerge tag 'amlogic-arm64-dt-for-v6.6' of https://git.kernel.org/pub/scm/linux/kernel...
Arnd Bergmann [Sat, 12 Aug 2023 08:45:30 +0000 (10:45 +0200)]
Merge tag 'amlogic-arm64-dt-for-v6.6' of https://git./linux/kernel/git/amlogic/linux into soc/dt

Amlogic ARM64 DT changes for v6.6:
- Add initial support for A311D2
- Add AN400 board
- Add gpio_intc, power domain for C3 SoC
- Again some DT bindings fixes & cleanups

* tag 'amlogic-arm64-dt-for-v6.6' of https://git.kernel.org/pub/scm/linux/kernel/git/amlogic/linux:
  arm64: dts: amlogic: drop cooling-[min|max]-state from pwm-fan
  arm64: dts: amlogic: meson-g12-common: change aobus-pinctrl node name
  arm64: dts: amlogic: meson-g12b-odroid-n2: fix usb hub hog name
  arm64: dts: amlogic: drop redundant status=okay in sound nodes
  arm64: dts: amlogic: meson-g12b-bananapi: switch to enable-gpios
  arm64: dts: add support for C3 power domain controller
  arm64: dts: Add gpio_intc node and pinctrl node for Amlogic C3 SoCs
  arm64: dts: add board AN400
  dt-bindings: arm: amlogic: add board AN400
  arm64: dts: amlogic: minor whitespace cleanup around '='
  arm64: dts: amlogic-t7-a311d2-khadas-vim4: add initial device-tree
  dt-bindings: arm: amlogic: add Amlogic A311D2 bindings

Link: https://lore.kernel.org/r/d5f95654-ebcd-bd37-02f9-840e50b17e44@linaro.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
11 months agoMerge tag 'juno-update-6.6' of git://git.kernel.org/pub/scm/linux/kernel/git/sudeep...
Arnd Bergmann [Sat, 12 Aug 2023 08:44:45 +0000 (10:44 +0200)]
Merge tag 'juno-update-6.6' of git://git./linux/kernel/git/sudeep.holla/linux into soc/dt

Armv8 Juno/FVP update for v6.6

Just a single minor whitespace cleanup in couple of FVP device trees.

* tag 'juno-update-6.6' of git://git.kernel.org/pub/scm/linux/kernel/git/sudeep.holla/linux:
  arm64: dts: arm: minor whitespace cleanup around '='

Link: https://lore.kernel.org/r/20230804123223.3258086-1-sudeep.holla@arm.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
11 months agoMerge tag 'zynqmp-dt-for-6.6' of https://github.com/Xilinx/linux-xlnx into soc/dt
Arnd Bergmann [Sat, 12 Aug 2023 08:44:02 +0000 (10:44 +0200)]
Merge tag 'zynqmp-dt-for-6.6' of https://github.com/Xilinx/linux-xlnx into soc/dt

arm64: ZynqMP DT changes for v6.6

- Describe caches
- Fix i2c gpio recovery description
- Setting up default i2c frequency
- Describe GEM TSU clock and assigned rates for SOMs
- Reserved 1MB for internal firmware usage
- Fix dwc3 IRQ description
- Describe interrupts by using macros

* tag 'zynqmp-dt-for-6.6' of https://github.com/Xilinx/linux-xlnx:
  arm64: zynqmp: Describe interrupts by using macros
  arm64: zynqmp: Fix dwc3 usb interrupt description
  arm64: zynqmp: Add memory reserved node for k26 Kria SOM board
  arm64: zynqmp: Assign TSU clock frequency for GEMs
  arm64: zynqmp: Setting default i2c clock frequency to 400kHz
  arm64: zynqmp: Fix open drain warning on ZynqMP
  arm64: zynqmp: Add L2 cache nodes

Link: https://lore.kernel.org/r/fde6d7b4-c751-219d-3ec5-04e5bad2aa17@monstr.eu
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
11 months agoMerge tag 'hisi-arm32-dt-for-6.6' of https://github.com/hisilicon/linux-hisi into...
Arnd Bergmann [Sat, 12 Aug 2023 08:43:22 +0000 (10:43 +0200)]
Merge tag 'hisi-arm32-dt-for-6.6' of https://github.com/hisilicon/linux-hisi into soc/dt

ARM: DT: HiSilicon ARM32 DT updates for v6.6

- Fix "status" values

* tag 'hisi-arm32-dt-for-6.6' of https://github.com/hisilicon/linux-hisi:
  ARM: dts: hisilicon: Fix "status" values

Link: https://lore.kernel.org/r/64CC9B21.70907@hisilicon.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
11 months agoMerge tag 'hisi-arm64-dt-for-6.6' of https://github.com/hisilicon/linux-hisi into...
Arnd Bergmann [Sat, 12 Aug 2023 08:42:44 +0000 (10:42 +0200)]
Merge tag 'hisi-arm64-dt-for-6.6' of https://github.com/hisilicon/linux-hisi into soc/dt

ARM64: DT: HiSilicon ARM64 DT updates for v6.6

- Miscellaneous fixes according the DTS coding style
- Correct the clocks order of the sd0 for the hi3798cv200

* tag 'hisi-arm64-dt-for-6.6' of https://github.com/hisilicon/linux-hisi:
  arm64: dts: hi3798cv200: Fix clocks order of sd0
  arm64: dts: hisilicon: add missing space before {
  arm64: dts: hisilicon: minor whitespace cleanup around '='

Link: https://lore.kernel.org/r/64CC99A3.5030701@hisilicon.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
11 months agoMerge tag 'microchip-dt64-6.6' of https://git.kernel.org/pub/scm/linux/kernel/git...
Arnd Bergmann [Sat, 12 Aug 2023 08:42:15 +0000 (10:42 +0200)]
Merge tag 'microchip-dt64-6.6' of https://git./linux/kernel/git/at91/linux into soc/dt

Microchip ARM64 device tree updates for 6.6

It contains:
- one cleanup patch that removes whitespaces around '='

* tag 'microchip-dt64-6.6' of https://git.kernel.org/pub/scm/linux/kernel/git/at91/linux:
  arm64: dts: microchip: minor whitespace cleanup around '='

Link: https://lore.kernel.org/r/20230804044132.231508-1-claudiu.beznea@tuxon.dev
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
11 months agoMerge tag 'at91-dt-6.6' of https://git.kernel.org/pub/scm/linux/kernel/git/at91/linux...
Arnd Bergmann [Sat, 12 Aug 2023 08:41:37 +0000 (10:41 +0200)]
Merge tag 'at91-dt-6.6' of https://git./linux/kernel/git/at91/linux into soc/dt

AT91 device tree updates for 6.6

It contains:
- TCB timer nodes adition for at91-sama5d3_ksz9477_evb board
- device tee cleanups

* tag 'at91-dt-6.6' of https://git.kernel.org/pub/scm/linux/kernel/git/at91/linux:
  ARM: dts: at91: remove duplicated entries
  ARM: dts: microchip: split interrupts per cells
  ARM: dts: at91: ksz9477_evb: Add tx-internal-delay-ps property for port5
  ARM: dts: at91: ksz9477_evb: Add missing timer nodes
  ARM: dts: at91-vinco: Fix "status" values
  ARM: dts: microchip: add missing space before {
  ARM: dts: microchip: minor whitespace cleanup around '='

Link: https://lore.kernel.org/r/20230804044102.231448-1-claudiu.beznea@tuxon.dev
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
11 months agoARM: dts: st: spear: split interrupts per cells
Krzysztof Kozlowski [Sun, 30 Jul 2023 11:15:36 +0000 (13:15 +0200)]
ARM: dts: st: spear: split interrupts per cells

Each interrupt should be in its own cell.  This is much more readable.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Link: https://lore.kernel.org/r/20230730111536.98164-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
11 months agoMerge tag 'renesas-dts-for-v6.6-tag1' of git://git.kernel.org/pub/scm/linux/kernel...
Arnd Bergmann [Sat, 12 Aug 2023 08:39:59 +0000 (10:39 +0200)]
Merge tag 'renesas-dts-for-v6.6-tag1' of git://git./linux/kernel/git/geert/renesas-devel into soc/dt

Renesas DTS updates for v6.6

  - Add Clocked Serial Interface (CSI) support for the RZ/V2M SoC,
  - Add PMIC, RTC, and PWM support for the RZ/G2L, RZ/G2LC, and RZ/V2L
    SMARC EVK development boards,
  - Add PWM (MTU3a) support for the RZ/G2UL and RZ/Five SoCs,
  - Add External interrupt (INTC-EX) support for the R-Car S4-8 SoC,
  - Add LED support for the Spider development board,
  - Miscellaneous fixes and improvements.

* tag 'renesas-dts-for-v6.6-tag1' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-devel:
  arm64: dts: renesas: spider-cpu: Add GP LEDs
  arm64: dts: renesas: r8a779f0: Add INTC-EX node
  arm64: dts: renesas: rzg2ul-smarc: Add support for enabling MTU3
  arm64: dts: renesas: r9a07g043: Add MTU3a node
  ARM dts: renesas: armadillo800eva: Switch to enable-gpios
  arm64: dts: renesas: rzg2lc-smarc-som: Enable PMIC and built-in RTC
  arm64: dts: renesas: rzg2lc-smarc-som: Add PHY interrupt support for ETH0
  riscv: dts: renesas: Clean up dtbs_check W=1 warning due to empty phy node
  arm64: dts: renesas: rzg2lc-smarc: Add support for enabling MTU3
  arm64: dts: renesas: rzg2l-smarc: Add support for enabling MTU3
  arm64: dts: renesas: Add missing space before {
  ARM: dts: renesas: Add missing space before {
  arm64: dts: renesas: Minor whitespace cleanup around '='
  arm64: dts: renesas: rzg2l-smarc-som: Enable PMIC and built-in RTC
  arm64: dts: renesas: r9a09g011: Add CSI nodes
  arm64: dts: renesas: rzg2l: Fix txdv-skew-psec typos
  arm64: dts: renesas: rzg2l: Update overfow/underflow IRQ names for MTU3 channels

Link: https://lore.kernel.org/r/cover.1690545144.git.geert+renesas@glider.be
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
11 months agoMerge tag 'tegra-for-6.6-arm64-dt' of git://git.kernel.org/pub/scm/linux/kernel/git...
Arnd Bergmann [Sat, 12 Aug 2023 08:39:04 +0000 (10:39 +0200)]
Merge tag 'tegra-for-6.6-arm64-dt' of git://git./linux/kernel/git/tegra/linux into soc/dt

arm64: tegra: Device tree changes for v6.6-rc1

The majority of this is fixes all over the place for DT schema
validation warnings. However, there are also cleanups for some things in
DT and audio support is added on IGX Orin. Jetson Orin NX and Nano also
gain a new thermal trip point to help keep the device cool at moderate
loads.

* tag 'tegra-for-6.6-arm64-dt' of git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux: (22 commits)
  arm64: tegra: Add blank lines for better readability
  arm64: tegra: Remove {clock,reset}-names from VIC powergate
  arm64: tegra: Drop incorrect maxim,disable-etr on Smaug
  arm64: tegra: Add SPI device tree nodes for Tegra234
  arm64: tegra: Enable UARTA and UARTE for Orin Nano
  arm64: tegra: Add UARTE device tree node on Tegra234
  arm64: tegra: Adapt to LP855X bindings changes
  arm64: tegra: Add PCIe and DP 3.3V supplies
  arm64: tegra: Add missing reset-names for Tegra HS UART
  arm64: tegra: Remove current-speed for SBSA UART
  arm64: tegra: smaug: Remove reg-shift for high-speed UART
  arm64: tegra: Remove dmas and dma-names for debug UART
  arm64: tegra: Add 35°C trip point for Jetson Orin NX/Nano
  arm64: tegra: Remove duplicate PCI nodes
  arm64: tegra: Sort PCI nodes correctly on Orin
  arm64: tegra: Add audio support for IGX Orin
  arm64: tegra: Update CPU OPP tables
  arm64: tegra: Fix HSUART for Smaug
  arm64: tegra: Fix HSUART for Jetson AGX Orin
  arm64: tegra: Add missing alias for NVIDIA IGX Orin
  ...

Link: https://lore.kernel.org/r/20230728094129.3587109-4-thierry.reding@gmail.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
11 months agoMerge tag 'tegra-for-6.6-arm-dt' of git://git.kernel.org/pub/scm/linux/kernel/git...
Arnd Bergmann [Sat, 12 Aug 2023 08:38:27 +0000 (10:38 +0200)]
Merge tag 'tegra-for-6.6-arm-dt' of git://git./linux/kernel/git/tegra/linux into soc/dt

ARM: tegra: Device tree changes for v6.6-rc1

This contains various fixes for DT schema validation and the Pegatron
Chagall and Nexus 7 get specific compatible strings for the panels that
they use.

* tag 'tegra-for-6.6-arm-dt' of git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux:
  ARM: tegra: Provide specific compatible string for Nexus 7 panel
  ARM: tegra: Use Hannstar HSD101PWW2 on Pegatron Chagall
  ARM: tegra: Reuse I2C3 for NVEC
  ARM: tegra: Add missing reset-names for Tegra HS UART
  ARM: tegra: Remove reset-names for UART devices
  ARM: tegra: Remove dmas and dma-names for debug UART

Link: https://lore.kernel.org/r/20230728094129.3587109-3-thierry.reding@gmail.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
11 months agoMerge tag 'tegra-for-6.6-dt-bindings' of git://git.kernel.org/pub/scm/linux/kernel...
Arnd Bergmann [Sat, 12 Aug 2023 08:37:10 +0000 (10:37 +0200)]
Merge tag 'tegra-for-6.6-dt-bindings' of git://git./linux/kernel/git/tegra/linux into soc/dt

dt-bindings: Changes for v6.6-rc1

A number of Tegra-specific bindings are converted to json-schema and the
reserved-memory and BPMP bindings get support for Tegra264.

* tag 'tegra-for-6.6-dt-bindings' of git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux:
  dt-bindings: firmware: Add support for tegra186-bpmp DRAM MRQ GSCs
  dt-bindings: reserved-memory: Add support for DRAM MRQ GSCs
  dt-bindings: thermal: tegra: Convert to json-schema
  dt-bindings: arm: tegra: nvec: Convert to json-schema
  dt-bindings: clock: tegra: Document Tegra132 compatible
  dt-bindings: cpu: Document NVIDIA Tegra186 CCPLEX cluster
  dt-bindings: serial: tegra-hsuart: Convert to json-schema
  dt-bindings: arm: tegra: ahb: Convert to json-schema
  dt-bindings: arm: tegra: flowctrl: Convert to json-schema

Link: https://lore.kernel.org/r/20230728094129.3587109-2-thierry.reding@gmail.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
11 months agoarm: dts: Enable device-tree overlay support for sun8i-h3 pi devices
Felix Moessbauer [Tue, 27 Jun 2023 13:37:03 +0000 (21:37 +0800)]
arm: dts: Enable device-tree overlay support for sun8i-h3 pi devices

Add the '-@' DTC option for the sun8i-h3 pi-class devices. This option
populates the '__symbols__' node that contains all the necessary symbols
for supporting device-tree overlays (for instance from the firmware or
the bootloader) on these devices.

These devices allow various modules to be connected and this enables
users to create out-of-tree device-tree overlays for these modules.

Please note that this change does increase the size of the resulting DTB
by ~30%. For example, with v6.4 increase in size is as follows:

22909 -> 29564 sun8i-h3-orangepi-lite.dtb
24214 -> 30935 sun8i-h3-bananapi-m2-plus.dtb
23915 -> 30664 sun8i-h3-nanopi-m1-plus.dtb
22969 -> 29537 sun8i-h3-nanopi-m1.dtb
24157 -> 30836 sun8i-h3-nanopi-duo2.dtb
24110 -> 30845 sun8i-h3-orangepi-plus2e.dtb
23472 -> 30037 sun8i-h3-orangepi-one.dtb
24600 -> 31410 sun8i-h3-orangepi-plus.dtb
23618 -> 30230 sun8i-h3-orangepi-2.dtb
22170 -> 28548 sun8i-h3-orangepi-zero-plus2.dtb
23258 -> 29795 sun8i-h3-nanopi-neo-air.dtb
23113 -> 29699 sun8i-h3-zeropi.dtb
22803 -> 29270 sun8i-h3-nanopi-neo.dtb
24674 -> 31318 sun8i-h3-nanopi-r1.dtb
23477 -> 30038 sun8i-h3-orangepi-pc.dtb
24622 -> 31380 sun8i-h3-bananapi-m2-plus-v1.2.dtb
23750 -> 30366 sun8i-h3-orangepi-pc-plus.dtb

Signed-off-by: Felix Moessbauer <felix.moessbauer@siemens.com>
Acked-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Link: https://lore.kernel.org/r/20230627133703.355893-1-felix.moessbauer@siemens.com
Signed-off-by: Jernej Skrabec <jernej.skrabec@gmail.com>
11 months agoarm64: dts: allwinner: h616: Add OrangePi Zero 3 board support
Andre Przywara [Fri, 4 Aug 2023 17:08:56 +0000 (18:08 +0100)]
arm64: dts: allwinner: h616: Add OrangePi Zero 3 board support

The OrangePi Zero 3 is a development board based on the Allwinner H618 SoC,
which seems to be just an H616 with more L2 cache. The board itself is a
slightly updated version of the Orange Pi Zero 2. It features:
- Four ARM Cortex-A53 cores, Mali-G31 MP2 GPU
- 1/1.5/2/4 GiB LPDDR4 DRAM SKUs (only up to 1GB on the Zero2)
- AXP313a PMIC (more capable AXP305 on the Zero2)
- Raspberry-Pi-1 compatible GPIO header
- extra 13 pin expansion header, exposing pins for 2x USB 2.0 ports
- 1 USB 2.0 host port
- 1 USB 2.0 type C port (power supply + OTG)
- MicroSD slot
- on-board 16MiB bootable SPI NOR flash (only 2MB on the Zero2)
- 1Gbps Ethernet port (via Motorcomm YT8531 PHY) (RTL8211 on the Zero2)
- micro-HDMI port
- (yet) unsupported Allwinner WiFi/BT chip

Add the devicetree file describing the currently supported features,
namely LEDs, SD card, PMIC, SPI flash, USB. Ethernet seems unstable at
the moment, though the basic functionality works.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Link: https://lore.kernel.org/r/20230804170856.1237202-4-andre.przywara@arm.com
Signed-off-by: Jernej Skrabec <jernej.skrabec@gmail.com>
11 months agodt-bindings: arm: sunxi: document Orange Pi Zero 3 board name
Andre Przywara [Fri, 4 Aug 2023 17:08:55 +0000 (18:08 +0100)]
dt-bindings: arm: sunxi: document Orange Pi Zero 3 board name

The Orange Pi Zero 3 board is an updated version of the Zero 2 board.
It uses a SoC called H618, which just seems to be an H616 with more L2
cache.

Add the board/SoC compatible string pair to the list of known boards.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Link: https://lore.kernel.org/r/20230804170856.1237202-3-andre.przywara@arm.com
Signed-off-by: Jernej Skrabec <jernej.skrabec@gmail.com>
11 months agoarm64: dts: allwinner: h616: Split Orange Pi Zero 2 DT
Andre Przywara [Fri, 4 Aug 2023 17:08:54 +0000 (18:08 +0100)]
arm64: dts: allwinner: h616: Split Orange Pi Zero 2 DT

The Orange Pi Zero 2 got a successor (Zero 3), which shares quite some
DT nodes with the Zero 2, but comes with a different PMIC.

Move the common parts (except the PMIC) into a new shared file, and
include that from the existing board .dts file.

No functional change, the generated DTB is the same, except for some
phandle numbering differences.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Acked-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Link: https://lore.kernel.org/r/20230804170856.1237202-2-andre.przywara@arm.com
Signed-off-by: Jernej Skrabec <jernej.skrabec@gmail.com>
11 months agoARM: dts: at91: remove duplicated entries
Claudiu Beznea [Fri, 21 Jul 2023 05:39:18 +0000 (08:39 +0300)]
ARM: dts: at91: remove duplicated entries

Remove duplicated DTC_FLAGS_<board> := -@ entries which intends to enable
the building of device tree overlays.
Commit 724ba6751532 ("ARM: dts: Move .dts files to vendor sub-directories")
added those entries at the beginning of file w/o removing the already
available entries spread though file.

Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Link: https://lore.kernel.org/r/20230721053918.33944-1-claudiu.beznea@tuxon.dev
Signed-off-by: Claudiu Beznea <claudiu.beznea@tuxon.dev>
11 months agoarm64: dts: hi3798cv200: Fix clocks order of sd0
David Yang [Sun, 14 May 2023 12:25:33 +0000 (20:25 +0800)]
arm64: dts: hi3798cv200: Fix clocks order of sd0

"ciu" and "biu" were incorrectly swapped. Fix their order.

Signed-off-by: David Yang <mmyangfl@gmail.com>
Signed-off-by: Wei Xu <xuwei5@hisilicon.com>
11 months agoARM: dts: microchip: split interrupts per cells
Krzysztof Kozlowski [Sun, 30 Jul 2023 11:15:41 +0000 (13:15 +0200)]
ARM: dts: microchip: split interrupts per cells

Each interrupt should be in its own cell.  This is much more readable.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20230730111542.98238-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Claudiu Beznea <claudiu.beznea@tuxon.dev>
11 months agoarm64: dts: amlogic: drop cooling-[min|max]-state from pwm-fan
Neil Armstrong [Thu, 6 Jul 2023 08:00:21 +0000 (10:00 +0200)]
arm64: dts: amlogic: drop cooling-[min|max]-state from pwm-fan

Drop the invalid cooling-min-state & cooling-max-state from the
pwm-fan node defined in the bananapi dtsi and odroid-hc4 DT.

Link: https://lore.kernel.org/r/20230706-topic-amlogic-upstream-dt-fixes-take3-v1-3-63ed070eeab2@linaro.org
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
11 months agoarm64: dts: amlogic: meson-g12-common: change aobus-pinctrl node name
Neil Armstrong [Thu, 6 Jul 2023 08:00:20 +0000 (10:00 +0200)]
arm64: dts: amlogic: meson-g12-common: change aobus-pinctrl node name

Bindings expects name to be "pinctrl", fix it.

Link: https://lore.kernel.org/r/20230706-topic-amlogic-upstream-dt-fixes-take3-v1-2-63ed070eeab2@linaro.org
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
11 months agoarm64: dts: amlogic: meson-g12b-odroid-n2: fix usb hub hog name
Neil Armstrong [Thu, 6 Jul 2023 08:00:19 +0000 (10:00 +0200)]
arm64: dts: amlogic: meson-g12b-odroid-n2: fix usb hub hog name

This fixes the following dtschema check error:
arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2-plus.dtb: pinctrl@40: bank@40: Unevaluated properties are not allowed ('hog-0' was unexpected)

Link: https://lore.kernel.org/r/20230706-topic-amlogic-upstream-dt-fixes-take3-v1-1-63ed070eeab2@linaro.org
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
11 months agoarm64: dts: amlogic: drop redundant status=okay in sound nodes
Krzysztof Kozlowski [Mon, 31 Jul 2023 09:36:15 +0000 (11:36 +0200)]
arm64: dts: amlogic: drop redundant status=okay in sound nodes

status=okay is by default.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://lore.kernel.org/r/20230731093615.148949-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
11 months agoarm64: dts: amlogic: meson-g12b-bananapi: switch to enable-gpios
Krzysztof Kozlowski [Tue, 25 Jul 2023 14:27:03 +0000 (16:27 +0200)]
arm64: dts: amlogic: meson-g12b-bananapi: switch to enable-gpios

The recommended name for enable GPIOs property in regulator-gpio is
enable-gpios.  This is also required by bindings:

  meson-g12b-bananapi-cm4-cm4io.dtb: regulator-vddio-c: Unevaluated properties are not allowed ('enable-gpio' was unexpected)

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://lore.kernel.org/r/20230725142703.157547-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
11 months agoarm64: dts: add support for C3 power domain controller
Xianwei Zhao [Fri, 7 Jul 2023 00:37:10 +0000 (08:37 +0800)]
arm64: dts: add support for C3 power domain controller

Enable power domain controller for Amlogic C3 SoC

Signed-off-by: Xianwei Zhao <xianwei.zhao@amlogic.com>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://lore.kernel.org/r/20230707003710.2667989-5-xianwei.zhao@amlogic.com
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
11 months agoarm64: dts: Add gpio_intc node and pinctrl node for Amlogic C3 SoCs
Huqiang Qin [Thu, 20 Jul 2023 11:46:39 +0000 (19:46 +0800)]
arm64: dts: Add gpio_intc node and pinctrl node for Amlogic C3 SoCs

Add gpio interrupt controller device and pinctrl device.

Signed-off-by: Huqiang Qin <huqiang.qin@amlogic.com>
Reviewed-by: Dmitry Rokosov <ddrokosov@sberdevices.ru>
Link: https://lore.kernel.org/r/20230720114639.833436-1-huqiang.qin@amlogic.com
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
11 months agoarm64: dts: add board AN400
Xianwei Zhao [Thu, 6 Jul 2023 09:19:53 +0000 (17:19 +0800)]
arm64: dts: add board AN400

Add devicetrees support for Amlogic AN400  board based T7 SoC.

Signed-off-by: Xianwei Zhao <xianwei.zhao@amlogic.com>
Link: https://lore.kernel.org/r/20230706091954.3301224-3-xianwei.zhao@amlogic.com
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
11 months agodt-bindings: arm: amlogic: add board AN400
Xianwei Zhao [Thu, 6 Jul 2023 09:19:52 +0000 (17:19 +0800)]
dt-bindings: arm: amlogic: add board AN400

Add the board AN400 tree bindings based Amloigc T7 SoC.

Signed-off-by: Xianwei Zhao <xianwei.zhao@amlogic.com>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20230706091954.3301224-2-xianwei.zhao@amlogic.com
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
11 months agoarm64: dts: amlogic: minor whitespace cleanup around '='
Krzysztof Kozlowski [Sun, 2 Jul 2023 18:53:27 +0000 (20:53 +0200)]
arm64: dts: amlogic: minor whitespace cleanup around '='

Use space after '=' sign to match DTS coding style.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://lore.kernel.org/r/20230702185327.44625-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
11 months agoarm64: dts: amlogic-t7-a311d2-khadas-vim4: add initial device-tree
Lucas Tanure [Thu, 29 Jun 2023 07:34:19 +0000 (08:34 +0100)]
arm64: dts: amlogic-t7-a311d2-khadas-vim4: add initial device-tree

The Khadas VIM4 uses the Amlogic A311D2 SoC, based on the Amlogic T7 SoC
family, on a board with the same form factor as the VIM3 models.

- 8GB LPDDR4X 2016MHz
- 32GB eMMC 5.1 storage
- 32MB SPI flash
- 10/100/1000 Base-T Ethernet
- AP6275S Wireless (802.11 a/b/g/n/ac/ax, BT5.1)
- HDMI 2.1 video
- HDMI Input
- 1x USB 2.0 + 1x USB 3.0 ports
- 1x USB-C (power) with USB 2.0 OTG
- 3x LED's (1x red, 1x blue, 1x white)
- 3x buttons (power, function, reset)
- M2 socket with PCIe, USB, ADC & I2C
- 40pin GPIO Header
- 1x micro SD card slot

Signed-off-by: Lucas Tanure <tanure@linux.com>
Link: https://lore.kernel.org/r/20230629073419.207886-5-tanure@linux.com
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
11 months agodt-bindings: arm: amlogic: add Amlogic A311D2 bindings
Lucas Tanure [Thu, 29 Jun 2023 07:34:16 +0000 (08:34 +0100)]
dt-bindings: arm: amlogic: add Amlogic A311D2 bindings

Add bindings for the Khadas Vim4 board, using A311D2 Soc from Amlogic T7
family chip.

Signed-off-by: Lucas Tanure <tanure@linux.com>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20230629073419.207886-2-tanure@linux.com
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
11 months agoARM: dts: at91: ksz9477_evb: Add tx-internal-delay-ps property for port5
Lukasz Majewski [Thu, 27 Jul 2023 08:06:56 +0000 (10:06 +0200)]
ARM: dts: at91: ksz9477_evb: Add tx-internal-delay-ps property for port5

Without this change the KSZ9477 Evaluation board's Linux (v6.5-rc1) shows
following device warning:

'ksz-switch spi1.0: Port 5 interpreting RGMII delay settings based on "phy-mode" property, please update device tree to specify "rx-internal-delay-ps" and "tx-internal-delay-ps"'

This is not critical, as KSZ driver by itself assigns default value of
tx delay to 2000 ps (as 'rgmii-txid' is set as PHY mode).

However, to avoid extra warnings in logs - the missing 'tx-internal-delay-ps'
has been specified with the default value of 2000 ps.

Signed-off-by: Lukasz Majewski <lukma@denx.de>
Link: https://lore.kernel.org/r/20230727080656.3828397-1-lukma@denx.de
Signed-off-by: Claudiu Beznea <claudiu.beznea@tuxon.dev>
11 months agoARM: dts: at91: ksz9477_evb: Add missing timer nodes
Lukasz Majewski [Wed, 12 Jul 2023 15:21:11 +0000 (17:21 +0200)]
ARM: dts: at91: ksz9477_evb: Add missing timer nodes

Without this change the KSZ9477-EVB board hangs just after passing
execution flow from u-boot to Linux kernel.

This code has been copied from at91-sama5d3_xplained.dts.

Test setup: Linux 6.5-rc1
Config:     arch/arm/configs/sama5_defconfig
Toolchain:  gcc-linaro-7.3.1-2018.05-x86_64_arm-linux-gnueabi

Signed-off-by: Lukasz Majewski <lukma@denx.de>
Link: https://lore.kernel.org/r/20230712152111.3756211-1-lukma@denx.de
Signed-off-by: Claudiu Beznea <claudiu.beznea@tuxon.dev>
11 months agoARM: dts: at91-vinco: Fix "status" values
Rob Herring [Mon, 26 Jun 2023 22:10:10 +0000 (16:10 -0600)]
ARM: dts: at91-vinco: Fix "status" values

The defined value for "status" is "disabled", not "disable".

Signed-off-by: Rob Herring <robh@kernel.org>
Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Link: https://lore.kernel.org/r/20230626221010.3946263-1-robh@kernel.org
Signed-off-by: Claudiu Beznea <claudiu.beznea@tuxon.dev>
11 months agoriscv: dts: allwinner: d1: Add GPADC node
Maksim Kiselev [Mon, 19 Jun 2023 15:42:27 +0000 (18:42 +0300)]
riscv: dts: allwinner: d1: Add GPADC node

This patch adds declaration of the general purpose ADC for D1
and T113s SoCs.

Signed-off-by: Maksim Kiselev <bigunclemax@gmail.com>
Acked-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Link: https://lore.kernel.org/r/20230619154252.3951913-5-bigunclemax@gmail.com
Signed-off-by: Jernej Skrabec <jernej.skrabec@gmail.com>
11 months agoarm64: dts: microchip: minor whitespace cleanup around '='
Krzysztof Kozlowski [Sun, 2 Jul 2023 18:51:07 +0000 (20:51 +0200)]
arm64: dts: microchip: minor whitespace cleanup around '='

The DTS code coding style expects exactly one space before and after '='
sign.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Steen Hegelund <Steen.Hegelund@microchip.com>
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20230702185108.43959-1-krzysztof.kozlowski@linaro.org
[claudiu.beznea: added link]
Signed-off-by: Claudiu Beznea <claudiu.beznea@tuxon.dev>
11 months agoARM: dts: microchip: add missing space before {
Krzysztof Kozlowski [Wed, 5 Jul 2023 15:00:58 +0000 (17:00 +0200)]
ARM: dts: microchip: add missing space before {

Add missing whitespace between node name/label and opening {.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20230705150058.293942-1-krzysztof.kozlowski@linaro.org
[claudiu.beznea: added link]
Signed-off-by: Claudiu Beznea <claudiu.beznea@tuxon.dev>
11 months agoARM: dts: microchip: minor whitespace cleanup around '='
Krzysztof Kozlowski [Sun, 2 Jul 2023 18:51:08 +0000 (20:51 +0200)]
ARM: dts: microchip: minor whitespace cleanup around '='

The DTS code coding style expects exactly one space before and after '='
sign.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Steen Hegelund <Steen.Hegelund@microchip.com>
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20230702185108.43959-1-krzysztof.kozlowski@linaro.org
[claudiu.beznea: added link]
Signed-off-by: Claudiu Beznea <claudiu.beznea@tuxon.dev>
12 months agoARM: tegra: Provide specific compatible string for Nexus 7 panel
Thierry Reding [Wed, 26 Jul 2023 18:50:10 +0000 (20:50 +0200)]
ARM: tegra: Provide specific compatible string for Nexus 7 panel

panel-lvds alone is not a valid compatible string and we always need a
specific compatible string as well. Nexus 7 can come with one of (at
least) two panels, so pick one of them as the specific compatible
string.

Signed-off-by: Thierry Reding <treding@nvidia.com>
12 months agoARM: tegra: Use Hannstar HSD101PWW2 on Pegatron Chagall
Thierry Reding [Wed, 26 Jul 2023 18:48:57 +0000 (20:48 +0200)]
ARM: tegra: Use Hannstar HSD101PWW2 on Pegatron Chagall

The LVDS bindings require a specific compatible string in addition to
the generic "panel-lvds". Add the HannStar HSD101PWW2 which is used on
a similar device (ASUS TF201) and seems to work fine with slightly
modified timings in DT.

Suggested-by: Svyatoslav Ryhel <clamor95@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
12 months agoARM: tegra: Reuse I2C3 for NVEC
Thierry Reding [Wed, 26 Jul 2023 16:30:08 +0000 (18:30 +0200)]
ARM: tegra: Reuse I2C3 for NVEC

Instead of duplicating the I2C3 node and adding NVEC specific
properties, reuse the I2C3 node, extend it with NVEC specific properties
and drop properties that are not needed by NVEC. This results in a DTB
that is a bit cleaner and avoids accidentally using I2C3 and NVEC which
would have them fight over the same hardware resources.

Signed-off-by: Thierry Reding <treding@nvidia.com>
12 months agoarm64: tegra: Add blank lines for better readability
Thierry Reding [Wed, 26 Jul 2023 18:25:32 +0000 (20:25 +0200)]
arm64: tegra: Add blank lines for better readability

Add a few blank lines to visually separate blocks in the Jetson AGX Orin
device tree.

Signed-off-by: Thierry Reding <treding@nvidia.com>
12 months agoarm64: tegra: Remove {clock,reset}-names from VIC powergate
Thierry Reding [Wed, 26 Jul 2023 16:43:18 +0000 (18:43 +0200)]
arm64: tegra: Remove {clock,reset}-names from VIC powergate

According to the device tree bindings, the powergate definition nodes
don't contain clock-names and reset-names properties, so remove them.

Signed-off-by: Thierry Reding <treding@nvidia.com>
12 months agoarm64: tegra: Drop incorrect maxim,disable-etr on Smaug
Krzysztof Kozlowski [Tue, 25 Jul 2023 14:26:38 +0000 (16:26 +0200)]
arm64: tegra: Drop incorrect maxim,disable-etr on Smaug

There is no "maxim,disable-etr" property (but there is
maxim,enable-etr), neither in the bindings nor in the Linux driver:

  tegra210-smaug.dtb: regulator@1c: Unevaluated properties are not allowed ('maxim,disable-etr' was unexpected)

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Diogo Ivo <diogo.ivo@tecnico.ulisboa.pt>
Signed-off-by: Thierry Reding <treding@nvidia.com>
12 months agoarm64: tegra: Add SPI device tree nodes for Tegra234
Gautham Srinivasan [Fri, 21 Jul 2023 16:10:50 +0000 (16:10 +0000)]
arm64: tegra: Add SPI device tree nodes for Tegra234

Create the device tree nodes for the SPI1, SPI2 and SPI3 controllers
found on Tegra234.

Signed-off-by: Gautham Srinivasan <gauthams@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
12 months agoarm64: tegra: Enable UARTA and UARTE for Orin Nano
Gautham Srinivasan [Fri, 21 Jul 2023 16:06:37 +0000 (16:06 +0000)]
arm64: tegra: Enable UARTA and UARTE for Orin Nano

Activate UARTA and UARTE functionalities for Orin Nano.

- UARTA is accessible via the 40-pin header with pin 8 and 10 (TX/RX)
- UARTE utilizes the M2.E connector

Signed-off-by: Gautham Srinivasan <gauthams@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
12 months agoarm64: tegra: Add UARTE device tree node on Tegra234
Gautham Srinivasan [Fri, 21 Jul 2023 16:06:36 +0000 (16:06 +0000)]
arm64: tegra: Add UARTE device tree node on Tegra234

This commit adds the device tree node for UARTE on Tegra234.

Signed-off-by: Gautham Srinivasan <gauthams@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
12 months agoarm64: dts: renesas: spider-cpu: Add GP LEDs
Geert Uytterhoeven [Thu, 27 Jul 2023 08:38:35 +0000 (10:38 +0200)]
arm64: dts: renesas: spider-cpu: Add GP LEDs

Describe the two General Purpose LEDs LED7 and LED8 on the Spider CPU
board, so they can be used as indicator LEDs.

Note that General Purpose LEDs LED9 to LED11 are not added, as they are
connected to GPIO block 4, which can only be accessed from the Control
Domain.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Tested-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Reviewed-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Tested-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Link: https://lore.kernel.org/r/fdaf6c700b624851039a60733c7f73a413c6d2c5.1690447094.git.geert+renesas@glider.be
12 months agoarm64: dts: renesas: r8a779f0: Add INTC-EX node
Geert Uytterhoeven [Thu, 27 Jul 2023 08:38:02 +0000 (10:38 +0200)]
arm64: dts: renesas: r8a779f0: Add INTC-EX node

Add the device node for the Interrupt Controller for External Devices
(INTC-EX) on the Renesas R-Car S4-8 (R8A779F0) SoC, which serves
external IRQ pins IRQ[0-5].

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Tested-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Reviewed-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Link: https://lore.kernel.org/r/8f5612c0353b8c90f98366978563340d93c7ae58.1690447013.git.geert+renesas@glider.be
12 months agoarm64: dts: renesas: rzg2ul-smarc: Add support for enabling MTU3
Biju Das [Thu, 27 Jul 2023 08:18:48 +0000 (09:18 +0100)]
arm64: dts: renesas: rzg2ul-smarc: Add support for enabling MTU3

Add support for PMOD_MTU3 macro to enable MTU3 node on RZ/G2UL SMARC
EVK.

The MTU3a PWM pins on PMOD0 are muxed with SPI1. Disable SPI1, when
PMOD_MTU3 macro is enabled.

Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20230727081848.100834-6-biju.das.jz@bp.renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
12 months agoarm64: dts: renesas: r9a07g043: Add MTU3a node
Biju Das [Thu, 27 Jul 2023 08:18:47 +0000 (09:18 +0100)]
arm64: dts: renesas: r9a07g043: Add MTU3a node

Add MTU3a node to R9A07G043 (RZ/{G2UL,Five}) SoC DTSI.

Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20230727081848.100834-5-biju.das.jz@bp.renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
12 months agoARM dts: renesas: armadillo800eva: Switch to enable-gpios
Krzysztof Kozlowski [Wed, 26 Jul 2023 07:02:41 +0000 (09:02 +0200)]
ARM dts: renesas: armadillo800eva: Switch to enable-gpios

The recommended name for enable GPIOs property in regulator-gpio is
"enable-gpios".  This is also required by bindings:

  r8a7740-armadillo800eva.dtb: regulator-vccq-sdhi0: Unevaluated properties are not allowed ('enable-gpio' was unexpected)

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20230726070241.103545-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
12 months agoarm64: zynqmp: Describe interrupts by using macros
Michal Simek [Mon, 10 Jul 2023 10:52:19 +0000 (12:52 +0200)]
arm64: zynqmp: Describe interrupts by using macros

Use arm-gic.h and irq.h for interrupt description. It helps to improve
readability of device tree file.

Suggested-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Michal Simek <michal.simek@amd.com>
Link: https://lore.kernel.org/r/9d5bd17f37772be186cab17b06cc21351d36ff62.1688986332.git.michal.simek@amd.com
12 months agoarm64: tegra: Adapt to LP855X bindings changes
Artur Weber [Fri, 19 May 2023 18:07:28 +0000 (20:07 +0200)]
arm64: tegra: Adapt to LP855X bindings changes

Change underscores in ROM node names to dashes, and remove deprecated
pwm-period property.

Signed-off-by: Artur Weber <aweber.kernel@gmail.com>
Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org>
Signed-off-by: Thierry Reding <treding@nvidia.com>
12 months agoarm64: tegra: Add PCIe and DP 3.3V supplies
Shubhi Garg [Wed, 31 May 2023 08:50:52 +0000 (08:50 +0000)]
arm64: tegra: Add PCIe and DP 3.3V supplies

Add the 3.3V supplies for PCIe C1 controller and Display Port controller
for the NVIDIA IGX Orin platform.

Signed-off-by: Shubhi Garg <shgarg@nvidia.com>
Reviewed-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
12 months agoarm64: tegra: Add missing reset-names for Tegra HS UART
Thierry Reding [Mon, 17 Jul 2023 16:32:13 +0000 (18:32 +0200)]
arm64: tegra: Add missing reset-names for Tegra HS UART

The device tree bindings for the Tegra high-speed UART require the
reset-names property, so add it whenever the compatible string for the
serial port is overwritten.

Signed-off-by: Thierry Reding <treding@nvidia.com>
12 months agoarm64: tegra: Remove current-speed for SBSA UART
Thierry Reding [Mon, 17 Jul 2023 16:32:12 +0000 (18:32 +0200)]
arm64: tegra: Remove current-speed for SBSA UART

The SBSA UART device tree bindings don't define a current-speed
property, so remove it.

Signed-off-by: Thierry Reding <treding@nvidia.com>
12 months agoarm64: tegra: smaug: Remove reg-shift for high-speed UART
Thierry Reding [Mon, 17 Jul 2023 16:32:11 +0000 (18:32 +0200)]
arm64: tegra: smaug: Remove reg-shift for high-speed UART

The device tree bindings for the high-speed UART don't define a
reg-shift property, so delete it.

Signed-off-by: Thierry Reding <treding@nvidia.com>
12 months agoarm64: tegra: Remove dmas and dma-names for debug UART
Thierry Reding [Mon, 17 Jul 2023 16:32:10 +0000 (18:32 +0200)]
arm64: tegra: Remove dmas and dma-names for debug UART

The debug UART doesn't support DMA and the DT bindings prohibit the use
of the dmas and dma-names properties for it, so remove them.

Signed-off-by: Thierry Reding <treding@nvidia.com>
12 months agoarm64: tegra: Add 35°C trip point for Jetson Orin NX/Nano
Thierry Reding [Mon, 17 Jul 2023 16:30:37 +0000 (18:30 +0200)]
arm64: tegra: Add 35°C trip point for Jetson Orin NX/Nano

It turns out that these devices can get quite hot to the touch with the
standard cooling configuration, so add another trip point at 35°C along
with a cooling map to help keep the system reasonably cool at very low
system load.

Reviewed-by: Yi-Wei Wang <yiweiw@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
12 months agoarm64: tegra: Remove duplicate PCI nodes
Thierry Reding [Thu, 20 Jul 2023 16:45:49 +0000 (18:45 +0200)]
arm64: tegra: Remove duplicate PCI nodes

The PCI nodes for Jetson Orin NX are already defined at the carrier
board level, so the duplicates can be dropped at the platform level.

Signed-off-by: Thierry Reding <treding@nvidia.com>
12 months agoarm64: tegra: Sort PCI nodes correctly on Orin
Thierry Reding [Thu, 20 Jul 2023 16:44:49 +0000 (18:44 +0200)]
arm64: tegra: Sort PCI nodes correctly on Orin

Recent changes to several Orin boards didn't order some device tree
nodes correctly. Resort them.

Signed-off-by: Thierry Reding <treding@nvidia.com>
12 months agoarm64: tegra: Add audio support for IGX Orin
Mohan Kumar [Tue, 20 Jun 2023 15:58:47 +0000 (21:28 +0530)]
arm64: tegra: Add audio support for IGX Orin

Add audio support for the NVIDIA IGX Orin development kit having P3701
module with P3740 carrier board.

Move the common device-tree nodes to a new file tegra234-p3701.dtsi and
use this for Jetson AGX Orin and NVIDIA IGX Orin platforms

Signed-off-by: Mohan Kumar <mkumard@nvidia.com>
[treding@nvidia.com: properly sort nodes]
Signed-off-by: Thierry Reding <treding@nvidia.com>
12 months agodt-bindings: firmware: Add support for tegra186-bpmp DRAM MRQ GSCs
Peter De Schrijver [Mon, 29 May 2023 13:50:49 +0000 (16:50 +0300)]
dt-bindings: firmware: Add support for tegra186-bpmp DRAM MRQ GSCs

Add memory-region property to the tegra186-bpmp binding to support
DRAM MRQ GSCs.

Co-developed-by: Stefan Kristiansson <stefank@nvidia.com>
Signed-off-by: Stefan Kristiansson <stefank@nvidia.com>
Signed-off-by: Peter De Schrijver <pdeschrijver@nvidia.com>
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
12 months agodt-bindings: reserved-memory: Add support for DRAM MRQ GSCs
Peter De Schrijver [Mon, 29 May 2023 13:50:47 +0000 (16:50 +0300)]
dt-bindings: reserved-memory: Add support for DRAM MRQ GSCs

Add bindings for DRAM MRQ GSC support.

Co-developed-by: Stefan Kristiansson <stefank@nvidia.com>
Signed-off-by: Stefan Kristiansson <stefank@nvidia.com>
Signed-off-by: Peter De Schrijver <pdeschrijver@nvidia.com>
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
12 months agodt-bindings: thermal: tegra: Convert to json-schema
Thierry Reding [Fri, 21 Jul 2023 13:03:06 +0000 (15:03 +0200)]
dt-bindings: thermal: tegra: Convert to json-schema

Convert the Tegra thermal bindings from the free-form text format to
json-schema.

Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Thierry Reding <treding@nvidia.com>
12 months agodt-bindings: arm: tegra: nvec: Convert to json-schema
Thierry Reding [Fri, 21 Jul 2023 12:46:23 +0000 (14:46 +0200)]
dt-bindings: arm: tegra: nvec: Convert to json-schema

Convert the NVIDIA embedded controller bindings from the free-form text
format to json-schema.

Acked-by: Marc Dietrich <marvin24@gmx.de>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Thierry Reding <treding@nvidia.com>
12 months agodt-bindings: clock: tegra: Document Tegra132 compatible
Thierry Reding [Fri, 21 Jul 2023 13:13:22 +0000 (15:13 +0200)]
dt-bindings: clock: tegra: Document Tegra132 compatible

The Tegra132 clock and reset controller is largely compatible with the
version found on Tegra124 but it does have slight differences in what
clocks it exposes, so a separate compatible string is needed.

Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Thierry Reding <treding@nvidia.com>
12 months agoarm64: dts: renesas: rzg2lc-smarc-som: Enable PMIC and built-in RTC
Biju Das [Wed, 12 Jul 2023 15:13:42 +0000 (16:13 +0100)]
arm64: dts: renesas: rzg2lc-smarc-som: Enable PMIC and built-in RTC

Enable PMIC RAA215300 and the built-in RTC on the RZ/G2LC SMARC
EVK.

Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20230712151342.82690-1-biju.das.jz@bp.renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
12 months agoarm64: dts: renesas: rzg2lc-smarc-som: Add PHY interrupt support for ETH0
Biju Das [Wed, 12 Jul 2023 15:11:53 +0000 (16:11 +0100)]
arm64: dts: renesas: rzg2lc-smarc-som: Add PHY interrupt support for ETH0

The PHY interrupt (INT_N) pin is connected to IRQ0 for ETH0.

Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20230712151153.81965-1-biju.das.jz@bp.renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
12 months agoriscv: dts: renesas: Clean up dtbs_check W=1 warning due to empty phy node
Conor Dooley [Wed, 12 Jul 2023 08:14:44 +0000 (09:14 +0100)]
riscv: dts: renesas: Clean up dtbs_check W=1 warning due to empty phy node

dtbs_check w/ W=1 complains:

    Warning (unit_address_vs_reg): /soc/ethernet@11c20000/ethernet-phy@7: node has a unit name, but no reg or ranges property
    Warning (avoid_unnecessary_addr_size): /soc/ethernet@11c20000: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property

The ethernet@11c20000 node is guarded by an `#if (!SW_ET0_EN_N)` in
rzg2ul-smarc-som.dtsi, where the phy child node is added. In
rzfive-smarc-som.dtsi, the ethernet node is marked disabled & the
interrupt properties are deleted from the phy child node. As a result,
the produced dts looks like:

    ethernet@11c20000 {
    compatible = "renesas,r9a07g043-gbeth",
      "renesas,rzg2l-gbeth";
    /* snip */
    #address-cells = <1>;
    #size-cells = <0>;
    status = "disabled";

    ethernet-phy@7 {
    };
    };

Adding a corresponding `#if (!SW_ET0_EN_N)` around the node in
rzfive-smarc-som.dtsi avoids the complaint, as the empty child node is
not added:

    ethernet@11c20000 {
    compatible = "renesas,r9a07g043-gbeth",
      "renesas,rzg2l-gbeth";
    /* snip */
    #address-cells = <1>;
    #size-cells = <0>;
    status = "disabled";
    };

Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20230712-squealer-walmart-9587342ddec1@wendy
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
12 months agoarm64: dts: renesas: rzg2lc-smarc: Add support for enabling MTU3
Biju Das [Fri, 7 Jul 2023 15:58:49 +0000 (16:58 +0100)]
arm64: dts: renesas: rzg2lc-smarc: Add support for enabling MTU3

Add support for PMOD_MTU3 macro to enable MTU3 node on RZ/G2LC SMARC
EVK.

The MTU3a PWM pins on PMOD0 are muxed with SPI1. Disable SPI1, when
PMOD_MTU3 macro is enabled.

Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20230707155849.86649-1-biju.das.jz@bp.renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
12 months agoarm64: dts: renesas: rzg2l-smarc: Add support for enabling MTU3
Biju Das [Thu, 6 Jul 2023 15:30:47 +0000 (16:30 +0100)]
arm64: dts: renesas: rzg2l-smarc: Add support for enabling MTU3

Add support for PMOD_MTU3 macro to enable MTU3 node on RZ/{G2,V2}L SMARC
EVK.

The MTU3a PWM pins are muxed with spi1 pins and counter external input
phase clock pins are muxed with scif2 pins. Disable these IPs when
PMOD_MTU3 macro is enabled.

Apart from this, the counter Z phase clock signal is muxed with the
SDHI1 cd signal. So disable SDHI1 IP, when the counter Z phase signal
is enabled.

Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20230706153047.368993-1-biju.das.jz@bp.renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
12 months agoarm64: dts: renesas: Add missing space before {
Krzysztof Kozlowski [Wed, 5 Jul 2023 14:59:12 +0000 (16:59 +0200)]
arm64: dts: renesas: Add missing space before {

Add missing whitespace between node name/label and opening {.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20230705145912.293315-2-krzysztof.kozlowski@linaro.org
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
12 months agoARM: dts: renesas: Add missing space before {
Krzysztof Kozlowski [Wed, 5 Jul 2023 14:59:11 +0000 (16:59 +0200)]
ARM: dts: renesas: Add missing space before {

Add missing whitespace between node name/label and opening {.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20230705145912.293315-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
12 months agoarm64: dts: renesas: Minor whitespace cleanup around '='
Krzysztof Kozlowski [Sun, 2 Jul 2023 18:52:52 +0000 (20:52 +0200)]
arm64: dts: renesas: Minor whitespace cleanup around '='

The DTS code coding style expects exactly one space before and after '='
sign.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20230702185252.44462-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
12 months agoarm64: dts: renesas: rzg2l-smarc-som: Enable PMIC and built-in RTC
Biju Das [Fri, 23 Jun 2023 14:09:41 +0000 (15:09 +0100)]
arm64: dts: renesas: rzg2l-smarc-som: Enable PMIC and built-in RTC

Enable PMIC RAA215300 and the built-in RTC on the RZ/{G2L,V2L} SMARC
EVK.

Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20230623140948.384762-4-biju.das.jz@bp.renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
12 months agoarm64: dts: renesas: r9a09g011: Add CSI nodes
Fabrizio Castro [Thu, 22 Jun 2023 11:33:40 +0000 (12:33 +0100)]
arm64: dts: renesas: r9a09g011: Add CSI nodes

The Renesas RZ/V2M comes with 6 Clocked Serial Interface (CSI)
IPs (CSI0, CSI1, CSI2, CSI3, CSI4, CSI5), but Linux is only
allowed access to CSI0 and CSI4.

This commit adds SoC specific device tree support for CSI0 and
CSI4.

Signed-off-by: Fabrizio Castro <fabrizio.castro.jz@renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20230622113341.657842-5-fabrizio.castro.jz@renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
12 months agoarm64: dts: renesas: rzg2l: Fix txdv-skew-psec typos
Chris Paterson [Fri, 9 Jun 2023 22:11:36 +0000 (23:11 +0100)]
arm64: dts: renesas: rzg2l: Fix txdv-skew-psec typos

It looks like txdv-skew-psec is a typo from a copy+paste. txdv-skew-psec
is not present in the PHY bindings nor is it in the driver.

Correct to txen-skew-psec which is clearly what it was meant to be.

Given that the default for txen-skew-psec is 0, and the device tree is
only trying to set it to 0 anyway, there should not be any functional
change from this fix.

Fixes: 361b0dcbd7f9 ("arm64: dts: renesas: rzg2l-smarc-som: Enable Ethernet")
Fixes: 6494e4f90503 ("arm64: dts: renesas: rzg2ul-smarc-som: Enable Ethernet on SMARC platform")
Fixes: ce0c63b6a5ef ("arm64: dts: renesas: Add initial device tree for RZ/G2LC SMARC EVK")
Cc: stable@vger.kernel.org # 6.1.y
Reported-by: Tomohiro Komagata <tomohiro.komagata.aj@renesas.com>
Signed-off-by: Chris Paterson <chris.paterson2@renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20230609221136.7431-1-chris.paterson2@renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
12 months agoarm64: dts: renesas: rzg2l: Update overfow/underflow IRQ names for MTU3 channels
Biju Das [Mon, 24 Jul 2023 09:19:25 +0000 (10:19 +0100)]
arm64: dts: renesas: rzg2l: Update overfow/underflow IRQ names for MTU3 channels

As per R01UH0914EJ0130 Rev.1.30 HW manual the MTU3 overflow/underflow
interrupt names start with 'tci' instead of 'tgi'.

Replace the below overflow/underflow interrupt names:
 - tgiv0->tciv0
 - tgiv1->tciv1
 - tgiu1->tciu1
 - tgiv2->tciv2
 - tgiu2->tciu2
 - tgiv3->tciv3
 - tgiv4->tciv4
 - tgiv6->tciv6
 - tgiv7->tciv7
 - tgiv8->tciv8
 - tgiu8->tciu8

Fixes: 26336d66d021 ("arm64: dts: renesas: r9a07g044: Add MTU3a node")
Fixes: dd123dd01def ("arm64: dts: renesas: r9a07g054: Add MTU3a node")
Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20230724091927.123847-5-biju.das.jz@bp.renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
12 months agodt-bindings: cpu: Document NVIDIA Tegra186 CCPLEX cluster
Thierry Reding [Wed, 5 Jul 2023 15:28:25 +0000 (17:28 +0200)]
dt-bindings: cpu: Document NVIDIA Tegra186 CCPLEX cluster

Add device tree bindings for the CCPLEX cluster found on NVIDIA Tegra186
SoCs.

Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Thierry Reding <treding@nvidia.com>
12 months agoARM: tegra: Add missing reset-names for Tegra HS UART
Thierry Reding [Mon, 17 Jul 2023 16:33:29 +0000 (18:33 +0200)]
ARM: tegra: Add missing reset-names for Tegra HS UART

The device tree bindings for the Tegra high-speed UART require the
reset-names property, so add it whenever the compatible string for the
serial port is overwritten.

Signed-off-by: Thierry Reding <treding@nvidia.com>
12 months agoARM: tegra: Remove reset-names for UART devices
Thierry Reding [Mon, 17 Jul 2023 16:33:28 +0000 (18:33 +0200)]
ARM: tegra: Remove reset-names for UART devices

The UART devices found on Tegra chips have a single reset connected to
them, so a reset-names property isn't needed. In fact, the device tree
bindings don't allow this property, so remove them to allow the nodes
to be properly validated.

Signed-off-by: Thierry Reding <treding@nvidia.com>
12 months agoARM: tegra: Remove dmas and dma-names for debug UART
Thierry Reding [Mon, 17 Jul 2023 16:33:27 +0000 (18:33 +0200)]
ARM: tegra: Remove dmas and dma-names for debug UART

The debug UART doesn't support DMA and the DT bindings prohibit the use
of the dmas and dma-names properties for it, so remove them.

Signed-off-by: Thierry Reding <treding@nvidia.com>
12 months agodt-bindings: serial: tegra-hsuart: Convert to json-schema
Thierry Reding [Wed, 5 Jul 2023 15:18:02 +0000 (17:18 +0200)]
dt-bindings: serial: tegra-hsuart: Convert to json-schema

Convert the Tegra High-Speed UART bindings from the free-form text
format to json-schema.

While at it, also fix fix the example to reflect the correct compatible
string for Tegra30 chips.

Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Thierry Reding <treding@nvidia.com>
12 months agodt-bindings: arm: tegra: ahb: Convert to json-schema
Thierry Reding [Wed, 5 Jul 2023 15:52:21 +0000 (17:52 +0200)]
dt-bindings: arm: tegra: ahb: Convert to json-schema

Convert the NVIDIA Tegra AHB bindings from the free-form text format to
json-schema.

Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Thierry Reding <treding@nvidia.com>
12 months agodt-bindings: arm: tegra: flowctrl: Convert to json-schema
Thierry Reding [Wed, 5 Jul 2023 15:52:20 +0000 (17:52 +0200)]
dt-bindings: arm: tegra: flowctrl: Convert to json-schema

Convert the Tegra flow controller bindings from the free-form text
format to json-schema.

Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Thierry Reding <treding@nvidia.com>
12 months agoarm64: dts: hisilicon: add missing space before {
Krzysztof Kozlowski [Wed, 5 Jul 2023 14:59:25 +0000 (16:59 +0200)]
arm64: dts: hisilicon: add missing space before {

Add missing whitespace between node name/label and opening {.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Wei Xu <xuwei5@hisilicon.com>
12 months agoarm64: dts: hisilicon: minor whitespace cleanup around '='
Krzysztof Kozlowski [Sun, 2 Jul 2023 18:53:08 +0000 (20:53 +0200)]
arm64: dts: hisilicon: minor whitespace cleanup around '='

The DTS code coding style expects exactly one space before and after '='
sign.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Wei Xu <xuwei5@hisilicon.com>
12 months agoARM: dts: hisilicon: Fix "status" values
Rob Herring [Mon, 26 Jun 2023 22:10:19 +0000 (16:10 -0600)]
ARM: dts: hisilicon: Fix "status" values

The defined value for "status" is "disabled", not "disable".

Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: Wei Xu <xuwei5@hisilicon.com>
12 months agoLinux 6.5-rc2
Linus Torvalds [Sun, 16 Jul 2023 22:10:37 +0000 (15:10 -0700)]
Linux 6.5-rc2

12 months agoMerge tag 'xtensa-20230716' of https://github.com/jcmvbkbc/linux-xtensa
Linus Torvalds [Sun, 16 Jul 2023 21:12:49 +0000 (14:12 -0700)]
Merge tag 'xtensa-20230716' of https://github.com/jcmvbkbc/linux-xtensa

Pull xtensa fixes from Max Filippov:

 - fix interaction between unaligned exception handler and load/store
   exception handler

 - fix parsing ISS network interface specification string

 - add comment about etherdev freeing to ISS network driver

* tag 'xtensa-20230716' of https://github.com/jcmvbkbc/linux-xtensa:
  xtensa: fix unaligned and load/store configuration interaction
  xtensa: ISS: fix call to split_if_spec
  xtensa: ISS: add comment about etherdev freeing

12 months agoMerge tag 'perf_urgent_for_v6.5_rc2' of git://git.kernel.org/pub/scm/linux/kernel...
Linus Torvalds [Sun, 16 Jul 2023 20:46:08 +0000 (13:46 -0700)]
Merge tag 'perf_urgent_for_v6.5_rc2' of git://git./linux/kernel/git/tip/tip

Pull perf fix from Borislav Petkov:

 - Fix a lockdep warning when the event given is the first one, no event
   group exists yet but the code still goes and iterates over event
   siblings

* tag 'perf_urgent_for_v6.5_rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
  perf/x86: Fix lockdep warning in for_each_sibling_event() on SPR

12 months agoMerge tag 'objtool_urgent_for_v6.5_rc2' of git://git.kernel.org/pub/scm/linux/kernel...
Linus Torvalds [Sun, 16 Jul 2023 20:34:29 +0000 (13:34 -0700)]
Merge tag 'objtool_urgent_for_v6.5_rc2' of git://git./linux/kernel/git/tip/tip

Pull objtool fixes from Borislav Petkov:

 - Mark copy_iovec_from_user() __noclone in order to prevent gcc from
   doing an inter-procedural optimization and confuse objtool

 - Initialize struct elf fully to avoid build failures

* tag 'objtool_urgent_for_v6.5_rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
  iov_iter: Mark copy_iovec_from_user() noclone
  objtool: initialize all of struct elf

12 months agoMerge tag 'sched_urgent_for_v6.5_rc2' of git://git.kernel.org/pub/scm/linux/kernel...
Linus Torvalds [Sun, 16 Jul 2023 20:22:08 +0000 (13:22 -0700)]
Merge tag 'sched_urgent_for_v6.5_rc2' of git://git./linux/kernel/git/tip/tip

Pull scheduler fixes from Borislav Petkov:

 - Remove a cgroup from under a polling process properly

 - Fix the idle sibling selection

* tag 'sched_urgent_for_v6.5_rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
  sched/psi: use kernfs polling functions for PSI trigger polling
  sched/fair: Use recent_used_cpu to test p->cpus_ptr

12 months agoMerge tag 'pinctrl-v6.5-2' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw...
Linus Torvalds [Sun, 16 Jul 2023 19:55:31 +0000 (12:55 -0700)]
Merge tag 'pinctrl-v6.5-2' of git://git./linux/kernel/git/linusw/linux-pinctrl

Pull pin control fixes from Linus Walleij:
 "I'm mostly on vacation but what would vacation be without a few
  critical fixes so people can use their gaming laptops when hiding away
  from the sun (or rain)?

   - Fix a really annoying interrupt storm in the AMD driver affecting
     Asus TUF gaming notebooks

   - Fix device tree parsing in the Renesas driver"

* tag 'pinctrl-v6.5-2' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl:
  pinctrl: amd: Unify debounce handling into amd_pinconf_set()
  pinctrl: amd: Drop pull up select configuration
  pinctrl: amd: Use amd_pinconf_set() for all config options
  pinctrl: amd: Only use special debounce behavior for GPIO 0
  pinctrl: renesas: rzg2l: Handle non-unique subnode names
  pinctrl: renesas: rzv2m: Handle non-unique subnode names

12 months agoMerge tag '6.5-rc1-smb3-fixes' of git://git.samba.org/sfrench/cifs-2.6
Linus Torvalds [Sun, 16 Jul 2023 19:49:05 +0000 (12:49 -0700)]
Merge tag '6.5-rc1-smb3-fixes' of git://git.samba.org/sfrench/cifs-2.6

Pull smb client fixes from Steve French:

 - Two reconnect fixes: important fix to address inFlight count to leak
   (which can leak credits), and fix for better handling a deleted share

 - DFS fix

 - SMB1 cleanup fix

 - deferred close fix

* tag '6.5-rc1-smb3-fixes' of git://git.samba.org/sfrench/cifs-2.6:
  cifs: fix mid leak during reconnection after timeout threshold
  cifs: is_network_name_deleted should return a bool
  smb: client: fix missed ses refcounting
  smb: client: Fix -Wstringop-overflow issues
  cifs: if deferred close is disabled then close files immediately

12 months agoMerge tag 'powerpc-6.5-3' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc...
Linus Torvalds [Sun, 16 Jul 2023 19:28:04 +0000 (12:28 -0700)]
Merge tag 'powerpc-6.5-3' of git://git./linux/kernel/git/powerpc/linux

Pull powerpc fixes from Michael Ellerman:

 - Fix Speculation_Store_Bypass reporting in /proc/self/status on
   Power10

 - Fix HPT with 4K pages since recent changes by implementing pmd_same()

 - Fix 64-bit native_hpte_remove() to be irq-safe

Thanks to Aneesh Kumar K.V, Nageswara R Sastry, and Russell Currey.

* tag 'powerpc-6.5-3' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux:
  powerpc/mm/book3s64/hash/4k: Add pmd_same callback for 4K page size
  powerpc/64e: Fix obtool warnings in exceptions-64e.S
  powerpc/security: Fix Speculation_Store_Bypass reporting on Power10
  powerpc/64s: Fix native_hpte_remove() to be irq-safe