Commit graph

1,308,922 commits

Author SHA1 Message Date
Arnd Bergmann
a86f3dc85f Microchip AT91 device tree updates for v6.12
It contains:
 - SAMA7G5-EK DTS was updated with EEPROM nodes containing Ethernet
   addresses (needed, at least, when U-Boot is removed from the booting
   chain)
 - 5V supplies were added to to MCP16502 PMIC nodes for better hardware
   description
 - cleanups around pinctrl nodes which removed many dtbs_check warnings;
   along with it the pinctrl documentation was converted to json schema
 - fixes for the RTC and RTT supply clocks on SAMA7G5 and SAM9X60
 - other cleanups to fix dtbs_check warnings
 -----BEGIN PGP SIGNATURE-----
 
 iHUEABYIAB0WIQTsZ8eserC1pmhwqDmejrg/N2X7/QUCZtMgmgAKCRCejrg/N2X7
 /YHUAP9q4iY9zv4V2bY8jsxzQCNZpAs1E+vRBJWRhzlh6YpTFgD+NVM7eYP2qAe9
 lNjE76KaXzuKWUA11mVfCrjhzi7ocgs=
 =RQ5+
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEiK/NIGsWEZVxh/FrYKtH/8kJUicFAmbW5s8ACgkQYKtH/8kJ
 UiemDw/+NTaZsWiZnSu/PowTaYBenhFJ77FyoVfjnokMNbQb7ICfv/SFxSix6X3G
 q6IINO0rKvgI0jwFfFJXpkueIAHcrzWkAD0YS6E3/kXc47CrVCWapAWTw+J0baMj
 5b3J67ZW2zGadOEhXu8xpEvf0fmGDwep7rwS1sdonrqnl+T8KTzUkuQwLmWyFm9n
 O2wWP5iaQV13itUqxaoxI9JwyHXz0tiL6LrTZzdDEZ63+bQDrcVRzd2cOoMgefwD
 nHGTR/PR9KRJ2AFj+0TsNOgWHPgNkxhT0DXs04IBwuNSC/KQJXE6cVOEyfI69T5x
 6pmNeoF9Bk/AAF/5WtamCTdzDTpbDf5KpJix9U85bw10KeaIdBgSp0jo70wN3bFw
 bekaRY6rf2usFnec4bbLpPACUYuuDKBG0uUXLqEkq2sEn3Ag0/CT1Ng8H0SWehJZ
 D/jvrB8uJ0QDRLIiUkQUZBqP0HJHzVQPPfKoQlrtF6YbQSZ6Ea/dxGH7rt8NC9Pn
 XZeGVZUgEqh3CckFIZZ/Kh6RnBwexy+BJSY9S/rBw2urwPLhv3FbTPwW9XbdKG3B
 3xo5/VOjXdxk7EDPdry1sMHbVtQuHAciiJauPDjXn82+O44rjSoY3DobfhSdF0Z3
 QK/JUi8EIKkRvYDyezMA/ZCFj695ZLyaLw484/ROFqPlZqauqZ8=
 =IOnx
 -----END PGP SIGNATURE-----

Merge tag 'at91-dt-6.12' of https://git.kernel.org/pub/scm/linux/kernel/git/at91/linux into soc/dt

Microchip AT91 device tree updates for v6.12

It contains:
- SAMA7G5-EK DTS was updated with EEPROM nodes containing Ethernet
  addresses (needed, at least, when U-Boot is removed from the booting
  chain)
- 5V supplies were added to to MCP16502 PMIC nodes for better hardware
  description
- cleanups around pinctrl nodes which removed many dtbs_check warnings;
  along with it the pinctrl documentation was converted to json schema
- fixes for the RTC and RTT supply clocks on SAMA7G5 and SAM9X60
- other cleanups to fix dtbs_check warnings

* tag 'at91-dt-6.12' of https://git.kernel.org/pub/scm/linux/kernel/git/at91/linux:
  ARM: dts: microchip: sama7g5: Fix RTT clock
  ARM: dts: microchip: sam9x60: Fix rtc/rtt clocks
  dt-bindings: pinctrl: Convert Atmel PIO3 pinctrl to json-schema
  ARM: dts: microchip: sam9x60: Remove additional compatible string from GPIO node
  ARM: dts: microchip: Remove additional compatible string from PIO3 pinctrl nodes
  ARM: dts: microchip: change to simple-mfd from simple-bus for PIO3 pinumux controller
  ARM: dts: microchip: sama5d29_curiosity: Add reg_5v to supply PMIC nodes
  ARM: dts: microchip: at91-sama5d27_wlsom1: Add reg_5v to supply PMIC nodes
  ARM: dts: microchip: at91-sama5d2_icp: Add reg_5v to supply PMIC nodes
  ARM: dts: microchip: at91-sama7g54_curiosity: Add reg_5v to supply PMIC nodes
  ARM: dts: microchip: at91-sama7g5ek: Add reg_5v to supply PMIC nodes
  ARM: dts: microchip: at91: align LED node name with bindings
  ARM: dts: microchip: sam9x60: Move i2c address/size to dtsi
  ARM: dts: microchip: at91-sama7g5ek: add EEPROMs

Link: https://lore.kernel.org/r/20240901133110.2038675-2-claudiu.beznea@tuxon.dev
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2024-09-03 10:37:03 +00:00
Arnd Bergmann
d3f92f5d8e arm64: tegra: Device tree changes for v6.12-rc1
This contains a slew of cleanups and consolidation changes for several
 Orin boards and also fix some minor issues and enable more features on
 the Jetson TX1.
 -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEEiOrDCAFJzPfAjcif3SOs138+s6EFAmbR0fIACgkQ3SOs138+
 s6HAWw//cB9J6sjY289VRdfS9rMiI7wzVhe6F/FzUljSfTX5cMou2J/SeJQruYyK
 f058WzlWlseR91TIf11AFDNDPbMzAHyReU4aE0PD2fiyQE1jor8AhlmISXwvpqMZ
 pxFmKkDrO0YTODam5xFPDFjyt/lIe1UpcIIXfx/19/dTinLoiXmLuaIPM5xkMh5G
 DsRlN1Zfh99QwJQXCtPa/Y0IWYWngqr8i98k+xB5TTFSUaM1L61PJL3zYqaSSI4v
 1XFCbZ/XhOL1vbg23sY0mXSl62SKAvrRP1hlij2o5YHoB8rT/qVvoXuTwEkrhOoV
 qeRRsmt6F1pZLto+feRelauxQDy5EVkQTxJbeABoud5EhaBXCqgr44/bD8PxynX0
 Ye7NWNrr32YPytgmiMDlxAMW5jZm+oL+G+bCG5TIeTFW08+Jvxm2A+2cnhZMoqey
 3Un3wjHByXfkdGov28p9XSkeCk1y3VUPyjt18A3CR5JqE7lMlvyrCxuvpNJ/BsqN
 FGeHlmRffRx1Z7Kv6kJ2qp4dwqAAMg1lMlkNaYzv9fH1mZS4nzzOenSRofLgg9S4
 ZXBqcoiRvfWM8oBUME08MQw4f/AYgS6qxhGONxmC1tCnYBEUIanDWxfVr9bJrQwP
 dvRdQbCeOVSXF9kP3PkCEUngPApW7l6iC5uAQBNGDogGtHYfaAg=
 =9eOb
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEiK/NIGsWEZVxh/FrYKtH/8kJUicFAmbW5kcACgkQYKtH/8kJ
 Uif7ERAA4PtYrX7BxGAWOJVdiNKv43WDaDNq8t2S0nwQbfa6TWap6hiCSxevK9da
 yescLLRLxTPPQZ2xbBTYBuV6I1NlI/JqcSTmQfrBGzpps2xj1dGG4wkNSOMx1MIW
 kAcYRQPWOMkmNwr+lyPM4LNVGe3Xis/5oLXVOMOtaQNvDxxnJeZTlLevqpHljLku
 ZKHGW88CS+wVHqhU6ozDPD6TPOT3zEy5+1wQ44gxYEpMY49GAgup35rqbhKvXP7h
 PIl2fuESW9mgENG5jpfxK5trqprlAf0tdFlu6PbyOnsCcNxXpSQ9C3OsOg4iAdS3
 c1qhksIC1F4pwxqiHDyN9ucDlzPJY95RpGf59MlAcBwLZU/2w75a4TDTgw2y72yy
 67RYXnkOph++N8259tkF+EN2+CZuyXBVwUMBFJLGwtYGl+JhKYkyfLuq5QRTCoEU
 6fFStTWUI5NcBqjpSc+mF5aftDCTx41IZTz1PGBW7vAdMnQ0AsGdRZKWR2ezNw/j
 yVjqEkj+DKiBUkC0qx4g6blE71tRm9wB3ub64vwzt7uoB4QlXXwO28q5UaGW71ao
 fn4x4rwa/uND4/HXiRcLjAyv07hRJXhmtMQrkKeRERMBhMeyJmgwNEq8WgVmJAMe
 Cb37obFW3c0BXFS80IJWqfkEIRKoDDescfqNsCNtgejF839/m2c=
 =MPzU
 -----END PGP SIGNATURE-----

Merge tag 'tegra-for-6.12-arm64-dt' of https://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux into soc/dt

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

This contains a slew of cleanups and consolidation changes for several
Orin boards and also fix some minor issues and enable more features on
the Jetson TX1.

* tag 'tegra-for-6.12-arm64-dt' of https://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux:
  arm64: tegra: Add thermal nodes to AGX Orin SKU8
  arm64: tegra: Move BPMP nodes to AGX Orin module
  arm64: tegra: Move padctl supply nodes to AGX Orin module
  arm64: tegra: Move AGX Orin nodes to correct location
  arm64: tegra: Combine IGX Orin board files
  arm64: tegra: Combine AGX Orin board files
  arm64: tegra: Add common nodes to AGX Orin module
  arm64: tegra: Wire up WiFi on Jetson TX1 module
  arm64: tegra: Wire up Bluetooth on Jetson TX1 module
  arm64: tegra: Wire up power sensors on Jetson TX1 DevKit
  arm64: tegra: Add p3767 PCIe C4 EP details
  arm64: tegra: Add Tegra234 PCIe C4 EP definition
  arm64: tegra: Add wp-gpio for P2597's external card slot
  arm64: tegra: Fix gpio for P2597 vmmc regulator
  arm64: tegra: Correct location of power-sensors for IGX Orin
  arm64: tegra: enable same UARTs for Orin NX/Nano
  arm64: tegra: Add DMA properties for Tegra234 UARTA

Link: https://lore.kernel.org/r/20240830141004.3195210-5-thierry.reding@gmail.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2024-09-03 10:34:47 +00:00
Hongbo Li
072e18d63b misc: tsl2550: replace simple_strtoul to kstrtoul
The function simple_strtoul performs no error checking
in scenarios where the input value overflows the intended
output variable.

We can replace the use of the simple_strtoul with the safer
alternatives kstrtoul.

Signed-off-by: Hongbo Li <lihongbo22@huawei.com>
Link: https://lore.kernel.org/r/20240830080311.3545307-1-lihongbo22@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-09-03 12:34:31 +02:00
Rob Herring (Arm)
e807c406a6 misc: lis3lv02d: Fix incorrect of_get_property() usage
The usage of of_get_property() is wrong. What's returned in "val" is
the property's length, not the value. Fix this by using the preferred
typed of_property_read_u32() function instead.

Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://lore.kernel.org/r/20240828131851.3631855-1-robh@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-09-03 12:33:42 +02:00
Ma Ke
62c5a01a57 pps: add an error check in parport_attach
In parport_attach, the return value of ida_alloc is unchecked, witch leads
to the use of an invalid index value.

To address this issue, index should be checked. When the index value is
abnormal, the device should be freed.

Found by code review, compile tested only.

Cc: stable@vger.kernel.org
Fixes: fb56d97df7 ("pps: client: use new parport device model")
Signed-off-by: Ma Ke <make24@iscas.ac.cn>
Acked-by: Rodolfo Giometti <giometti@enneenne.com>
Link: https://lore.kernel.org/r/20240828131814.3034338-1-make24@iscas.ac.cn
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-09-03 12:33:09 +02:00
Arnd Bergmann
ee11148c09 ARM: tegra: Device tree changes for v6.12-rc1
These patches add a bunch more features for the TF701T board and wire up
 the front panel LEDs on TrimSlice.
 -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEEiOrDCAFJzPfAjcif3SOs138+s6EFAmbR0hsACgkQ3SOs138+
 s6GKjg/+NdI8pu80cs1pVJmk/XG5qjmTaBgvI3Ue/0Y3LpYlyMYmTQSecrztYUAV
 nXfDCbHQGsHG1YLoAhWf51yllhMNx66Hw+4vIti2LcrtOuUXUWHSKSOQaj/ww0N6
 6VNkS9LxNTMKQSFmATjI5bT6LqmVHAxxWJqTrxPhvTARNTr+h3TtSxEwyli6e7DH
 7vwYa1YbtBZvqTi2VlYMkMcBSemqK0H5i3m9sDhJiY2GsKUI6ldC2ZyfIJRz9Ko0
 KW5WwD+5MyFQZne5tyurH4W2vVoUaY/y0M5NM2jIBHIGx1NV7oHny/h2qv0G5+Gv
 2pxLdiJ0BZLdJ/jQtG5pwby3AKQg0dpBM57Ph7ZlCBlKdCkXc2v6ea49Q1yyT3/q
 3m/jkbeHexpRfjfUfiuYeuZQqXwMxVJcMXKWHGFJXx69tCvv5dZS4Pu3BBcdbyzc
 VcpE4PMMKEEqHuRH0JAUKlnjwSM/44UQdjkD4Quv37L/5F9taAQp+/ON8ILlHUxT
 kcVKQfGZ2On6vAbStfrQmna9p+hwJSrP32uuPdKpdnXoLQQUlUy2Qf5rI6SieLwj
 ASGiXlLTs/Ht1Xd2A6TzhA4jwvgb1Oo6i/p/jcnKlpnx5IHJZ35rFT1mzGDX+RCG
 z6/8Xl0RQ0vQi0ToDCYk3f6iezyTCkCzCYWqIf0a1E5hpFBjHUA=
 =jQ+r
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEiK/NIGsWEZVxh/FrYKtH/8kJUicFAmbW5dAACgkQYKtH/8kJ
 UifTwRAAp0m9ouKoL3nvAWcb1p7BNJepHRtG8Tcq0RL2VzLCzgogBTCVX8d6R1am
 ykXvxN3+hE9f5nCltqAfpESQoTCrjqIY3AncSvnqeMew8MjmgnrXbG737oc+qEXl
 yjT1xHrjEhwnNkdhaYRyXe2C5RglCuJXnPdono6Xv6DXUKy1KkJZC8TaD2O4Famq
 Ln0n3/kVFl2JKC0yhxx18qRr/cjRpGRFBZfP/pZlhhzSbX1B1DQ8NWfFQTpz5kJo
 EgrFD3WMEwkz7sQ7DlWVg5B/pX5tylobx7f8mD6dvkU2KpEc0pSX9gkrL1pLiMEd
 Ux2vTcTwhzpTlK/rVnH5OaLEQj5YTGg3AS5yvftjb2D/GjPWKBruuLEQQmhZuxES
 aom7SvOfHn5JBJ+wwK2hpdQwC7Zz2dNNDAo0L8gWGydjjHter2HFA+il/KVKT4uz
 B0+lldWLlhiSwXDCfAYSbLtjMRgQZUwiEqGzcM0rG46K5WeX6O0syZIaO25vqa5o
 n+eCaPa7OccXNaW5b9fujutBgC7hDmBXNb32yfYG8CRqJ4bmVzxTvPEfQ58DocKF
 iLbC8kZNPm0vZ/vLS8CUEjKOdjA/cXdDrqpF2hqoEoalNqaDPKi2O+CtZlOJcI7R
 10QUkZ+uFQi3m1tDfbdolwWKXjebgZNAaZiz8yk4g6yI66cJIsY=
 =scyt
 -----END PGP SIGNATURE-----

Merge tag 'tegra-for-6.12-arm-dt' of https://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux into soc/dt

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

These patches add a bunch more features for the TF701T board and wire up
the front panel LEDs on TrimSlice.

* tag 'tegra-for-6.12-arm-dt' of https://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux:
  ARM: tegra: Wire up two front panel LEDs on TrimSlice
  ARM: tegra: tf701t: Configure USB
  ARM: tegra: tf701t: Use dedicated backlight regulator
  ARM: tegra: tf701t: Re-group GPIO keys
  ARM: tegra: tf701t: Bind WIFI SDIO and EMMC
  ARM: tegra: tf701t: Complete sound bindings
  ARM: tegra: tf701t: Adjust sensors nodes
  ARM: tegra: tf701t: Add Bluetooth node
  ARM: tegra: tf701t: Add HDMI bindings
  ARM: tegra: tf701t: Correct and complete PMIC and PMC bindings
  ARM: tegra: tf701t: Bind VDE device
  ARM: tegra: tf701t: Use unimomentary pinmux setup

Link: https://lore.kernel.org/r/20240830141004.3195210-4-thierry.reding@gmail.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2024-09-03 10:32:48 +00:00
Arnd Bergmann
e2886f23d3 dt-bindings: Changes for v6.12-rc1
This adds compatible strings for all revisions of the Nyan board.
 -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEEiOrDCAFJzPfAjcif3SOs138+s6EFAmbR0QEACgkQ3SOs138+
 s6GoghAAkOJFvwblYfkyoyfNyDS448FgvN+CrfZSZJiM/rrY/ShCO1vNtwxtJnmF
 rERez5PJYMvTEcmnu+Kg/VG72J3TtgpVsyE9vDXn5RzI8J6f2i5EABqx5YGa6NgV
 xrIcGwghJGS5+ZNkqR9djy56I4U5vjdDYr8e/jsTdxUeEPq6Pa2zPkLzAF7w8uhV
 CaBGpZGGhWKFin1NX8gxRfrr5ySlpfo6acaCA0LzI8jnhiMs2PDg0kJRjRVhzpCE
 PnCNvLoTNX9Bi/7F2f2Zy/xShwvlGdZ4yFt7MMxDHIwz0uvDsgUmt5cEBbDTHF8D
 ZGsK4E9km7a/G+nKJabCgBV4fKxqcGY4AnrW1/J4m0pj1K2Zji1fIqPUo8+uBN2R
 Qd5taAYI2iF2Mu3ID1gwEFzf4UTbpoW2ObCOVobuWCkGLaLrlnSZrZG5vOsc1fzN
 6YyK+fUWm2BYlrrT7UOCP5m86Riww/NRIkelmmuoYt8nnzzhMA7QQyDI3uHWALB5
 zLkaz3v+GhvdOzi2eQxGbTNS+GT+vUKhGURt0J0RKWgzLzk9j6V90AcYpqf85mb9
 cvLxyV0zOMnXpJStNKhEBvbZwUdsgIXdiHgLNuLMhv6Qnv4PZ63Q/OMFS2Ezz+os
 yywUAS7aPfTv6mtt0wjbtWxkcvSz9QN5WB4q/PQelfysIxoPqy4=
 =yYqr
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEiK/NIGsWEZVxh/FrYKtH/8kJUicFAmbW5aoACgkQYKtH/8kJ
 UieYng/9EBYtIh0xwIx0dLX4vXHuIc5SnITq8GPDKsVRWl9jE60kyrRMBkvyO7kq
 3KiD5rzFSUifhqFWsHi9HqCpAXGj9C+S0jxQMu+JMar6vFuBHiIFMcz/rFcQXOzO
 o1gQLqxDpAxqNiDe2/w/0CX+tbFEEhk9d+M9O63JogM/9Oxot+WNdN9jy1YGSMQu
 DnPXg3JLKoPIfb+L8LKtUT+/s+FgtAQiciGd5Q4LcVyrzVYB7a7AjX5a2EgQo7Uk
 3XfSRJ8xRAgtEAQgNuK3cJZEJeRE/yJqzAzXjpoYqy0sxv69bibznFQmU/k852Kl
 GtmeV+AtDyOy98Ldzld2nCdIZx5gcxexmDMpZqQa+RUxRqn1ZFuqGHIOj5YEucS5
 xIvznKEtMkanmZ2ek9f+gbbB5eLPtOCbdyFwpeEHI8T8lzOQac8EQJe62PclYPmy
 qysFHpkxMxPk0OBvpqrXBrT4QwBqNYJugPEN9FEVV7B6fVJ0q0Hq8LHM/9AwADoU
 2jkl3teXULfE6jo4Ayrmclnb1+BUqnjpnJV6NkKub9j1rdPA4MclmHcbC2Fz/rBg
 8ixeuz4khkQJdW9/IQskJ06BBN/0SUbUTIuriitV/YCl/eqjzq2FfvvskknSXBOT
 RF1gwY5Z9kkabXLqMSjeultVE3hF6rplYSvb12k7yR6+AIwKiPk=
 =FoM5
 -----END PGP SIGNATURE-----

Merge tag 'tegra-for-6.12-dt-bindings' of https://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux into soc/dt

dt-bindings: Changes for v6.12-rc1

This adds compatible strings for all revisions of the Nyan board.

* tag 'tegra-for-6.12-dt-bindings' of https://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux:
  dt-bindings: arm: tegra: Document Nyan, all revisions in kernel tree

Link: https://lore.kernel.org/r/20240830141004.3195210-3-thierry.reding@gmail.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2024-09-03 10:32:10 +00:00
Arnd Bergmann
76ae26c4b9 Armv8 Juno/FVP update for v6.12
Just a single update adding stdout-path to the fast models(FVP and
 Foundation) which eliminates the need to specify any platform-specific
 kernel command line parameters to get working earlycon or console.
 -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEEunHlEgbzHrJD3ZPhAEG6vDF+4pgFAmbRpBAACgkQAEG6vDF+
 4phWzA//TjMkMtmaAkR2sntQmAeBTOkiLEpX6siJDsxGhkdKYTvQAOwwmgJC3fQJ
 lf1Xqw7bh+3YymW9QjUpvs6MAT4Z+y/lmmxaMO4SOnD1zcTKX76ouDXwMw6rEyba
 XiqeGLwd2fEf2dQnLOsUsNXOnuY4uPx3usECgYeb4MYFihdMxEr4WGM+8jzm+WPn
 eNRDL0h/piAOehQzBzCnr+USvJNS+aHmLraMdGSwF7AZVdCP9HlveGPizY7EtSFu
 unlsHy71t0pdGuOSbLGruS0FGzVOmTw7kf7mvvLzNPZsgITbT6NTUtakiL4tnwBg
 aXiDRLWiSIKylPfSftafCgGYUhImGCs7r4SeyB2+DkGQ04GNNtlRa5YQubs9sQrI
 KIxezSVnrPu02ycB24t8dfALid6UuCnVVpRbt2OEe8S4Ry9gbbWqd7HibJ5QcDON
 4Y1QcuuZoSvny8mvVIlgbyK2zuF0PWf/vWitJFGyWGVFiDhyDjFVC4/Il4Gs/iQi
 j+QjcOgSSh7IgEXGS4RFQrJUkZW+UEud0slFzgMxB3W/NK11U02ia7rUTERKsvt7
 v2Um0OuvzCs+NurxcojjEy4TDzcFQaCOn7TEINkW/jTX0s1wi89lNPLRNUy9AarV
 WesNvUjMdCnxereKZnHQlkPVu5e00Oa0M2irJZJPsQ7STfxlkQY=
 =7rHm
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEiK/NIGsWEZVxh/FrYKtH/8kJUicFAmbW5YYACgkQYKtH/8kJ
 UifOwhAAv1JbhiJRRBDB9hZnJCkasb9vsRKzqiy2Eme2rXhLrmMIUugrXc/We4wH
 rOi8u6abVMRVpcUgjLJNiof4EsIvy7gZKNPpL6YpI2VaR2JcyURxaE4FWxdMASgo
 z4ivxcGukvyWWxAUiDBDHOVuictIx9yjjDzddvQcPwq/GzuUPHS38SBHpcWPRLJy
 hWUmqYl0B1HtjD41CNGD2edrunbE8M1yo+3kfGw1zAvMbVsqpklPLB9N0JCX4waG
 HymCyHRgrFqfns3YM1oWXWfGzjVyWLLF+QdygwC/Jl7GveJ/KfN4IgkAj1mx2F4Q
 MhFfThMEIZB44tlLThusKy9zf0tLHUaflVW3B1QahBrY/qEtogWQEXZrQV4bUvxK
 LqEhKKciPdsNpm8NMSWhfBiMJ7uVLpGem4TmMAwn06in7UF//bToHuUYAPd5q1bQ
 Mp/1ceQZLuPuviR99ivgUrgqLrb2bDGstPCGj/CeRkoJRzO7JdysNlE+IoWXTGiA
 TPPk5fG+4BtsspuTRko0DIf7Rb2DC0Y/Byy7gMmHALquiowX0u3B3gaeWjmhM2F0
 /C6Wh06Zn0yHbSE7YMzhxoihLv6xaMSO/vMuBqa9BB3mXA9H0fY82rxvXq4XDe+f
 fz3taUYTc2ayGe6Fu3SdOCmPbJbViVef8gG9uCN69wtwB0SCD+M=
 =+Og8
 -----END PGP SIGNATURE-----

Merge tag 'juno-update-6.12' of https://git.kernel.org/pub/scm/linux/kernel/git/sudeep.holla/linux into soc/dt

Armv8 Juno/FVP update for v6.12

Just a single update adding stdout-path to the fast models(FVP and
Foundation) which eliminates the need to specify any platform-specific
kernel command line parameters to get working earlycon or console.

* tag 'juno-update-6.12' of https://git.kernel.org/pub/scm/linux/kernel/git/sudeep.holla/linux:
  arm64: dts: fvp: Set stdout-path to serial0 in the chosen node

Link: https://lore.kernel.org/r/20240830135837.2383557-1-sudeep.holla@arm.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2024-09-03 10:31:34 +00:00
Arnd Bergmann
3b8b1ff762 Samsung DTS ARM64 changes for v6.12
1. Exynos7885: Correct amount of RAM on Samsung Galaxy A8.
 2. ExynosAutov9: Add new DPUM clock controller and DPUM IOMMU (SysMMU).
 3. ExynosAutov920: Add initial (incomplete) clock controllers: TOP and
    PERIC0 controllers.
 4. Google GS101: Add reboot and poweroff support.
 5. Add binding headers with clock IDs for several devices, used by the
    DTS.
 -----BEGIN PGP SIGNATURE-----
 
 iQJEBAABCgAuFiEE3dJiKD0RGyM7briowTdm5oaLg9cFAmbNw1kQHGtyemtAa2Vy
 bmVsLm9yZwAKCRDBN2bmhouD14zrD/9h/Y6+2heJdUtJee+84nCk0548W8pxC5Bq
 WJSOv+8h51618XYgY9TH+ZO88mJiLYZ8jje+SPgTL/+Uo1yJDFuX5vM/PLWi9ohO
 sfYYxKcu35kkz8aPJPtvdt9UM+MsJx3tgugHyu1C7dXaYNru6spn9ziGGrjdVlSi
 fAC9dLV1/2YGc8slV23Y3Rwm14wLPhUdVcSVBATETjcTWxPN9Ck944SnsdqwMqki
 cipQG/3Akd08jpFloV3hSh1Jv+sLXMIMfdOHfVnnzHbfEVhhROpdUpYVeNeqQB6f
 OkvzhNXTcthoOTNzGoLm7oBXLP2hG3ngmILWRkMb33i0miFeDnOyMk2BnaKEX+5W
 yWk4OzHwvWy3DzgyZDIyIii2ceNSp7vbwmRJfORuP1rjrrZImK+bDcddH/RT35iM
 3HZchD2+U8emZP9x8RBbgUyIJRXTy5Xkdpmn91u8ou6cEAngcaGKUq1hzEZ9qeJx
 3/QcOyzGK/JcxgDcDlCiATwrn1KnleV2TmW5CmSGtcn39a/sG+UXQblKYnMEuhCx
 DtI6DtezyK5Rnas6W43nTmA4VHWjy+k8WOVLCVWg4Zvh4PJnKr5wlcX3Wsb0F8Ht
 Lu1PrZZPqimhfV4SkBKN1CUwV6tjezNA1hMY/zFu4C3++B1Yhr0AOAxeYwUPYtIc
 iAt4SofnOQ==
 =uQeg
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEiK/NIGsWEZVxh/FrYKtH/8kJUicFAmbW5TsACgkQYKtH/8kJ
 UieTbBAApqVAMmCK5cJ6jhLrZSjhcPFBr1v8iXPmqVqcRyk6uBJk/9h444TBBKu5
 MlgHOUNF8GGLgMXi9/AarMgoXHu4ju1IxfPVpPIPeNdCR8C4ROSlKdxMRpVxBf3+
 9dd29MEo7yc0JtDjvHO7wqknAed30tLKeo7R2ZVcsCqjG7dPDrTrDrXknSnMa+HN
 Gdxa6t60OZIXlxANnH2RjC04ccU9sb9fJcwXvuHy9V6DaUFlX2zG2GIx4vpDal+O
 uvTI1BMNrTQi8bObgRwvSn4XYAKdxgWP9J2Qbzo8u1rEwvjpjb/P7aEtencjubWf
 4CmTsNoYc2o2vhtDaiVusgnS1psrMTZHoyA2hwqcRy55U5qFILrCcyGaEwpeYcaR
 k6hTlOBjsBnygKcfVrUMNyE2Sm18TwuDKMd74DBTSUmudDTPuVui2a+7pK5QIi5h
 z6Q9bcpy4P5WAMVNUs00r3H6hOOJqGsyOjQNSNvi1CB0phjLaiv7+t4dvE7WGPFo
 SppIUqLLE5Ryg9cB9Iv/YFU339P+iAOBSklBg+Q4h14LPya5BobwRRL+iFtjTldd
 0As41NeZqXrbCVhH5Rsnppr0+mqJHEWOLNBPDBb5tmnAZYuak3izA4vk80VDDUS4
 rR83HpmPzcngg4XEBu5cCfGo6o9/NbVvABmGiLdD0inQXzBu+i0=
 =p3ub
 -----END PGP SIGNATURE-----

Merge tag 'samsung-dt64-6.12' of https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux into soc/dt

Samsung DTS ARM64 changes for v6.12

1. Exynos7885: Correct amount of RAM on Samsung Galaxy A8.
2. ExynosAutov9: Add new DPUM clock controller and DPUM IOMMU (SysMMU).
3. ExynosAutov920: Add initial (incomplete) clock controllers: TOP and
   PERIC0 controllers.
4. Google GS101: Add reboot and poweroff support.
5. Add binding headers with clock IDs for several devices, used by the
   DTS.

* tag 'samsung-dt64-6.12' of https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux:
  arm64: dts: exynosautov920: add initial CMU clock nodes in ExynosAuto v920
  dt-bindings: clock: add ExynosAuto v920 SoC CMU bindings
  arm64: dts: exynosautov9: Add dpum SysMMU
  arm64: dts: exynosautov9: add dpum clock DT nodes
  dt-bindings: clock: exynosautov9: add dpum clock
  dt-bindings: clock: exynos7885: Add indices for USB clocks
  dt-bindings: clock: exynos7885: Add CMU_TOP PLL MUX indices
  dt-bindings: clock: exynos7885: Fix duplicated binding
  dt-bindings: clock: exynos850: Add TMU clock
  arm64: dts: exynos: gs101: add syscon-poweroff and syscon-reboot nodes
  arm64: dts: exynos: exynos7885-jackpotlte: Correct RAM amount to 4GB

Link: https://lore.kernel.org/r/20240827121638.29707-2-krzysztof.kozlowski@linaro.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2024-09-03 10:30:19 +00:00
Arnd Bergmann
01dc1baee8 Renesas DTS updates for v6.12
- Add support for sound, push switches, and GP LEDs on the Gray Hawk
     Single development board,
   - Add missing iommus properties on R-Car Gen3/Gen4 and RZ/G2 SoCs,
   - Add PWM support for the R-Car V4M SoC,
   - Improve Ethernet descriptions on the RZ/G2L, RZ/G2LC, and RZ/G2UL
     SMARC SoMs,
   - Add DMAC support for the RZ/G3S SoC,
   - Add CAN-FD support for the R-Car V4M SoC and the Gray Hawk Single
     development board.
 -----BEGIN PGP SIGNATURE-----
 
 iHUEABYIAB0WIQQ9qaHoIs/1I4cXmEiKwlD9ZEnxcAUCZsbxkgAKCRCKwlD9ZEnx
 cO5rAQDIrI37HE44i4C1KptX0zWpOEMsCm4Q9Hyg+HA1aXZ7uAEA7tKU6S0YVaPG
 9o5/PadPgzqnU89D9RJApunORMh63Q4=
 =kMBm
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEiK/NIGsWEZVxh/FrYKtH/8kJUicFAmbW5SIACgkQYKtH/8kJ
 UieAqQ//bcLBK8Qq1IXMwBJLRPnJQQEhErsk41CbQqmjlCgHqS7r9MOZuIqUnXRt
 0HZMYEp5xLRxYAjf/BvErT8qYxQHK1UspR8QSSbkS1xNzGG+aTkn7EUy6pgLZfLX
 vdk5nra3vomVT4dlGPd2du6O9rB5IIrrgYCp88yYMHA7r5DvuwVbdzcMl7ZQohkA
 mlGXkrNu3EFxbjYdDS1vo/I9/2qMbbGMiZtOglXfwBfEkqZEJnZxaZg87DvWOOwq
 Zey5AHUjejZysknrC6vRfnrR5tAReOtWK+yhxooP2+limEqKX8576Fg99d6W1zI3
 NPPAK3KRwQgrNP4sZHICUgqeqFM8KbchDG8oIadFRUvkjrRWLi1SqpgU4g5GG9uZ
 4J+aK/hFvWTtdBkfi1M0//FQTUOOYQOF9uVO3Btr01VqecZgLKeNZdqkmIrVsLL2
 cU+EWRoQh52cxgbszAOaTsgwmBSYhPUnmgkLD4szo6dQfya6qULo5gulNnUjf68x
 d9E9J3aZtEeOZaCqaY3Ye491dqUQxpfxHb08zoPGBd+Sahf31kWNcpTeGnYIKdLN
 nbAr2oBGefuvztYTRnZ5gNK0DdMJucYVBYaT6WYyiFKt32tM1GRYkcTdQxNYJvRj
 gctjNH+ZfzzmLUTk0f8Fv2pg6jqyvQz8TihsogYIlmVGakBmT90=
 =gxQK
 -----END PGP SIGNATURE-----

Merge tag 'renesas-dts-for-v6.12-tag1' of https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-devel into soc/dt

Renesas DTS updates for v6.12

  - Add support for sound, push switches, and GP LEDs on the Gray Hawk
    Single development board,
  - Add missing iommus properties on R-Car Gen3/Gen4 and RZ/G2 SoCs,
  - Add PWM support for the R-Car V4M SoC,
  - Improve Ethernet descriptions on the RZ/G2L, RZ/G2LC, and RZ/G2UL
    SMARC SoMs,
  - Add DMAC support for the RZ/G3S SoC,
  - Add CAN-FD support for the R-Car V4M SoC and the Gray Hawk Single
    development board.

* tag 'renesas-dts-for-v6.12-tag1' of https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-devel: (25 commits)
  arm64: dts: renesas: gray-hawk-single: Add CAN-FD support
  arm64: dts: renesas: r8a779h0: Add CAN-FD node
  arm64: dts: renesas: r9a08g045: Add DMAC node
  arm64: dts: renesas: rzg2ul: Set Ethernet PVDD to 1.8V
  arm64: dts: renesas: rzg2lc: Set Ethernet PVDD to 1.8V
  arm64: dts: renesas: rzg2l: Set Ethernet PVDD to 1.8V
  arm64: dts: renesas: rzg2ul: Enable Ethernet TXC output
  arm64: dts: renesas: rzg2lc: Enable Ethernet TXC output
  arm64: dts: renesas: rzg2l: Enable Ethernet TXC output
  arm64: dts: renesas: r8a779h0: Add PWM device nodes
  arm64: dts: renesas: gray-hawk-single: Add GP LEDs
  arm64: dts: renesas: gray-hawk-single: Add push switches
  arm64: dts: renesas: r8a779h0: Add missing iommus properties
  arm64: dts: renesas: r8a779g0: Add missing iommus properties
  arm64: dts: renesas: r8a779a0: Add missing iommus properties
  arm64: dts: renesas: r8a77980: Add missing iommus properties
  arm64: dts: renesas: r8a77970: Add missing iommus property
  arm64: dts: renesas: r8a77965: Add missing iommus properties
  arm64: dts: renesas: r8a77961: Add missing iommus properties
  arm64: dts: renesas: r8a77960: Add missing iommus properties
  ...

Link: https://lore.kernel.org/r/cover.1724316485.git.geert+renesas@glider.be
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2024-09-03 10:29:54 +00:00
Arnd Bergmann
ca947a4b03 Renesas DT binding updates for v6.12
- Document support for the Renesas RZ/G2M v3.0 (r8a774a3) SoC.
 -----BEGIN PGP SIGNATURE-----
 
 iHUEABYIAB0WIQQ9qaHoIs/1I4cXmEiKwlD9ZEnxcAUCZsbvyQAKCRCKwlD9ZEnx
 cMjhAP9tHosKHVNr9lCsMu8yoj0mNWj9Tpf4Nctf/yuHLsb7CwEAzKG7XXPqGcPQ
 HnLUp0R6r9OLhrRPzrGbZUQWLxfKXA8=
 =HrdX
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEiK/NIGsWEZVxh/FrYKtH/8kJUicFAmbW5MEACgkQYKtH/8kJ
 Uif+lg//V+4sWBQKCtL113A4KTvt7ezrVVn/k3ffQXV6NYxIDeSLuxpEMYTU/SGz
 /aGyUvgtB8aaMfHDrbNtLRNkno1wMafm7t0q0tzvsVOv6RSo8w3x762TRFe0+ab7
 hloUoeRx0zyixxK0cjhbeEGKNmWsKQrOOKiGQ+EkI8xsjwq3OzrSSTqwe2Nl1Cf7
 MhSHmb2j9ZrMmWbJlk7uMNG7AoYQA1CjJMc61w0JwgPhI+c0mEoq+gtFNewxSMXu
 DafU+ZRUAn4GJhFQlDZZ2MQZj3wQVULGlVa3kLFk6xsfwmbA+BUnq8r3gMpocErX
 BcMEfrR7yCsrCYo7/QAP3QV2+77rKeiva8O87sz3anUv1AkiYcsnsaI69TWHOmT3
 CjVyKqni5s5zBpv+yeWDx/wRbBtYYzZWS0h8ruUlVPCrQX3RYVAXZ1OzABmsOq3o
 kW6vINY4/miydcnu0+maG2H3Lw3gSmO6f6Vtq2CcvBK/XnpzAPASeGGnITx3wUaM
 5Hr9NN82pyslbqZXGebsG1e2ELIzuI9/BJWmtpZn5tGJJvpOwIyxraaHgq1I4zJ2
 22PYVJgtb9ZcZJkzxC/nflggASPROjQas/ZYpm8KEvW1DGFjIaOWPU5t3e4C3dQR
 m6btWqqofQgkFc7HYytPcmSAjrrOLOiouDM+DMUwPL95zzpEtWU=
 =SDGh
 -----END PGP SIGNATURE-----

Merge tag 'renesas-dt-bindings-for-v6.12-tag1' of https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-devel into soc/dt

Renesas DT binding updates for v6.12

  - Document support for the Renesas RZ/G2M v3.0 (r8a774a3) SoC.

* tag 'renesas-dt-bindings-for-v6.12-tag1' of https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-devel:
  dt-bindings: reset: renesas: Document RZ/G2M v3.0 (r8a774a3) reset module
  dt-bindings: power: renesas: Document RZ/G2M v3.0 (r8a774a3) SYSC binding
  dt-bindings: soc: renesas: Document RZ/G2M v3.0 (r8a774a3) SoC

Link: https://lore.kernel.org/r/cover.1724316483.git.geert+renesas@glider.be
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2024-09-03 10:28:17 +00:00
Arnd Bergmann
d846d5f1ba T-HEAD Devicetrees for v6.12
Add SPI controller node to th1520.dtsi and enable spi0 on the BeagleV
 Ahead and LicheePi 4A.
 
 The TH1520 AP_SYS clock driver landed in v6.11 so convert multiple
 peripherals like mmc and uart from fixed clocks to the clock controller.
 
 All of these patches have been successfully tested in the latest
 linux-next releases.
 
 Signed-off-by: Drew Fustini <drew@pdp7.com>
 -----BEGIN PGP SIGNATURE-----
 
 iHUEABYIAB0WIQSy8G7QpEpV9aCf6Lbb7CzD2SixDAUCZsSs8AAKCRDb7CzD2Six
 DAAWAQDtP1ptLdtgKZrNi6owuzDh+aJUBcLCb8XobohMhHn/CgEA+9m6uArj0BxA
 FG5xrk6uh+/ueFRCRbU8Bx+PAnHgOQI=
 =VHfU
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEiK/NIGsWEZVxh/FrYKtH/8kJUicFAmbW4+MACgkQYKtH/8kJ
 Uiezfg//QTJLzANaoQou548RBX4aqs1mV7s8YTuyPzg9WTaJ2pgRO4gJZIm9pBxe
 SBosoNl2mbEEcpD6+V/W7raCxquliS76HyAaFq+379RfN30bGIe1YX7fDaR9DFuW
 HAGVk+skgjZDZBeM2sjFF6ljK6O1ew8lyqNToTIsjwBLELCL/47NcKT/F0HDsCE9
 CedTPmtMpFszLRDoenkuK5eI1OHJFWQd/1O87bdl4LhbPKBBrK/HHyY64DwUYkgn
 k0lJXLfvE3w1mzF5Q5TCBNy/fbHATD3Akbwnv1YOKbScB1hdzsgdoJibkA9ty2ln
 qeubp/H5lTss/vCiU7SQic3b9as6g5pneLM+v2RuN/BLX422HeV1N2DMxx07S4Ah
 +9677pL7WZ2g8DM6u34ZPlZyUoj0ThlEO27GApIYTU0wQ2Vei2/Ru6Wd+DssQoyN
 qr55/U/6RedD3SFNfnZwmA8UWRgHF7wyPaS0llB2ygSHYFR/Da0c+GbIsMK3xIes
 z0x8TKsaxOjqhBrOVi1PmBKANgnq7lkRQ0R2NTF+jCQPQSO4WLsQ0NB9pbCnvnz4
 XXGG8OzsdtY13uVvF7SbNxL7HjXgmPIeTp4NdZxsIob9guobc0DMcaFYUYGWtTFU
 cHJ9DlSe4wwt0/9kAD8LaBgOHXLB96LYPQlD4u/dTpTyUl8sXPY=
 =GXvM
 -----END PGP SIGNATURE-----

Merge tag 'thead-dt-for-v6.12' of https://github.com/pdp7/linux into soc/dt

T-HEAD Devicetrees for v6.12

Add SPI controller node to th1520.dtsi and enable spi0 on the BeagleV
Ahead and LicheePi 4A.

The TH1520 AP_SYS clock driver landed in v6.11 so convert multiple
peripherals like mmc and uart from fixed clocks to the clock controller.

All of these patches have been successfully tested in the latest
linux-next releases.

Signed-off-by: Drew Fustini <drew@pdp7.com>

* tag 'thead-dt-for-v6.12' of https://github.com/pdp7/linux:
  riscv: dts: thead: change TH1520 SPI node to use clock controller
  riscv: dts: thead: add clock to TH1520 gpio nodes
  riscv: dts: thead: update TH1520 dma and timer nodes to use clock controller
  riscv: dts: thead: change TH1520 mmc nodes to use clock controller
  riscv: dts: thead: change TH1520 uart nodes to use clock controller
  riscv: dts: thead: Add TH1520 AP_SUBSYS clock controller
  riscv: dts: thead: add basic spi node

Link: https://lore.kernel.org/r/ZsWs8QiVruMXjzPc@x1
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2024-09-03 10:24:35 +00:00
Arnd Bergmann
78b7ade94f arm64: Default configuration changes for v6.12-rc1
This contains a single change to enable the Tegra194 PCIe endpoint
 driver by default.
 -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEEiOrDCAFJzPfAjcif3SOs138+s6EFAmbR0cMACgkQ3SOs138+
 s6HQGRAAnJAJhKI8e2vGNkrT8xa9nB/c6tEXAQ7hKfozk6V3HcsjUyedRtjLcZNi
 1D+FxR+mnMXgiMjNrgadfZIIIthX6pfXkmPpXgS4cHD1p1LJ1yjo4jNPvxbrI8Pg
 wHElR9mX+9xxNpXPwpxGoT3LOP3KZJoWBUb3kgYeP6Gk8P4V+knA9sxhQXzv+Qy0
 ThJ8xFIcaGXL+HJiVLnhSIXPvB5gnjjVHVdRLkTQBsSYqImeezq4zgm40z5v9KT7
 KEQdV69+2Uspu0sdgUYCaeLDnEZaENh50ZOVMXickNxFgTcuhZthjtBxUSi/bm8X
 SbfxMKqSCzTsnHAU+iSW2MqcDd2FnhrfN3UckkuvJrjW9VQTmmKoPse9j4VmU1Nu
 Hs3y9U7DUCTg891bWx7e4nepf5h+lkARaP6ZaUXTRPqAQsmH9nJajoDfZdVc/vaq
 2IHvKVizxtrrcRHWE5aZ/CfiOBnbCeax+Q0qeYQKzsFD67bb9r4MeNhA48f2rUCL
 eojyGyrShggqIsQcaePoR4hg7vVP4qsYf12hclxvO9yZfw04CiZ1qi/048NtFwjr
 K2l2eE2UWWlCQWaeyrky0ZMHdjN0wkV5ldi+Fd/P/4GVie2oJpZ9DPwHesUki0UT
 qZ1vDmWxLSszhg0BkF8g+x5Gq0wiaYdUWoL3V23DLNZKnV0WwoM=
 =5H0i
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEiK/NIGsWEZVxh/FrYKtH/8kJUicFAmbW42sACgkQYKtH/8kJ
 UidztxAAgk3HXaW0RPDdFjBQGkc2efaPPY48i/ob8PrwcipyYl9Sf62odv6TfOwQ
 G/LLX/8m3nIMCR5OvS31RsfUmXqBS0AeTFfKHqs2N9qGE0uB3l5a7TZzCUemgjkt
 5QMkCWF+T8LBkeXrNDGmgSew8o1q/PZbqub2UCEUVpNM4LOZPGiNPlXfwmBA5z98
 w9WQDEc5shtztAW9rgTC6p1idBc2WKlLXYWhfi/adKm/3tzttaApROM01c8GVSa0
 qNl51v+hUgr+IcRdgboJdVsp0419xGgPZX5ZpRfAgM17S44WgWhycloyYjP8IfnN
 pMNw+/NoYnLgLwQvhjOHMer6MlPDGzmZnP6L6hFMgILm7X7uZv+YdtmDhX0gIATF
 bLf7VQERW6KC68AIUufGOBU4RFpMKH9/UsODzwWZTvG15q7ncBTJEvfEcyKe2Fzi
 zso6YihRD8e5uEMh38SUwkxIX5wGZwha96lyVF37xYUKVfwheXF8gNxNlgdY9qQS
 iJJtZaKcFzBhAUOvKIkHr+zxM56dQldduOLLmKkIMDXu35lxL6El3kaRZ0gk9rN3
 vkZvKRirA/DGGJ5Db+JGavKS52xi4Ys53XB1esIAURDJZTsk4Ct3y0viWhNiDxWt
 EX4REf5cQ7N0sU+qQ8xmiw72rY/LjWMEZksjuICtSsVCaAUu2y8=
 =hszS
 -----END PGP SIGNATURE-----

Merge tag 'tegra-for-6.12-arm64-defconfig' of https://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux into soc/defconfig

arm64: Default configuration changes for v6.12-rc1

This contains a single change to enable the Tegra194 PCIe endpoint
driver by default.

* tag 'tegra-for-6.12-arm64-defconfig' of https://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux:
  arm64: defconfig: Enable Tegra194 PCIe Endpoint

Link: https://lore.kernel.org/r/20240830141004.3195210-6-thierry.reding@gmail.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2024-09-03 10:22:35 +00:00
Arnd Bergmann
a9e8c7dbb9 Renesas ARM defconfig updates for v6.12
- Enable support for AK4619 codecs and Renesas R-Car Ethernet-TSN
     controllers in the ARM64 defconfig,
   - Enable slab hardening and kmalloc buckets in the Renesas ARM
     defconfig.
 -----BEGIN PGP SIGNATURE-----
 
 iHUEABYIAB0WIQQ9qaHoIs/1I4cXmEiKwlD9ZEnxcAUCZsbubAAKCRCKwlD9ZEnx
 cOaHAQCizOEU5damvBCBzcAaKbSGKc+psBUJogJ/ic19I5B4NAD/aOihRr4iCJZe
 MckRf7P2BebH75TbwTstZMscRkkGAAU=
 =Wr7F
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEiK/NIGsWEZVxh/FrYKtH/8kJUicFAmbW4wAACgkQYKtH/8kJ
 UifX7xAAvO9EuI8hfOtLUmlXEUFYAZaqLSqNwg4i7s6U7qjn2Zt5dexTHOI90U1K
 nZve4C2tp1/1llhWDxipna6FgXXYzdBM9LHPpGyzweQufeXYXCIDG7ECg13/5iCE
 ibtvj1FFi9ZVFcneMUhyJo6b5epYw8ZJ50XjaCscH3Wo5FuLaJSZ9CnTUegO8Eff
 NXJ43DA7bWh3dZdeuintC4wurooh4DAdDkwAAeWzxu8LDwGxREN0Q0JTod10cEME
 pkVHctH0L3RtXrRaX/PTE7so2Cg4gjCR6qJv1FdCnE4NHi3Fs4humaddEc2iL4VQ
 aOPIxHRcsJWJlZKG5afTaDUhDq0LuwvoaBmDLT8dlyYSp1k1QF9wRK6vvSEUe71Q
 c26IUi5mZk1OWPQ/qvD43jtnkat9ZefDHkFaEvfCKQovBwzNkSBI6TApd+MImcQR
 gZ3zb/z412An0yqOPU/q6oyAzMUvXIbzELXyIu+7p8dgk4veE/eq072EYAnS7J/5
 fHF250ZXyZqxktUF2FdzLvHkLjux9eeIuruf+9nayHynF73PHpcw9rrWGQM2SaMG
 vA/VNpf3Itx1+Ov/T6qo5lRf/2Y67c7gNrPdMt1PLNRiFHY5SmUeTIfe46rtFucE
 usi4i2GnlpSliT0Xu44X9p8VxPJ6trSUGIfRApywgLxUhfZMA80=
 =VxDt
 -----END PGP SIGNATURE-----

Merge tag 'renesas-arm-defconfig-for-v6.12-tag1' of https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-devel into soc/defconfig

Renesas ARM defconfig updates for v6.12

  - Enable support for AK4619 codecs and Renesas R-Car Ethernet-TSN
    controllers in the ARM64 defconfig,
  - Enable slab hardening and kmalloc buckets in the Renesas ARM
    defconfig.

* tag 'renesas-arm-defconfig-for-v6.12-tag1' of https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-devel:
  arm64: defconfig: Enable R-Car Ethernet-TSN support
  ARM: shmobile: defconfig: Enable slab hardening and kmalloc buckets
  arm64: defconfig: Enable AK4619 codec support

Link: https://lore.kernel.org/r/cover.1724316480.git.geert+renesas@glider.be
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2024-09-03 10:20:48 +00:00
Michal Simek
a759d1f251 dt-bindings: nvmem: Use soc-nvmem node name instead of nvmem
Based on commit d8764d347b ("dt-bindings: firmware: xilinx: Describe
soc-nvmem subnode") soc-nvmem should be used instead of simple nvmem that's
why also update example to have it described correctly everywhere.

Fixes: c7f99cd8fb ("dt-bindings: nvmem: Convert xlnx,zynqmp-nvmem.txt to yaml")
Cc: stable <stable@kernel.org>
Signed-off-by: Michal Simek <michal.simek@amd.com>
Acked-by: Rob Herring (Arm) <robh@kernel.org>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20240902142510.71096-4-srinivas.kandagatla@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-09-03 12:20:44 +02:00
Geert Uytterhoeven
c69f37f655 nvmem: Fix return type of devm_nvmem_device_get() in kerneldoc
devm_nvmem_device_get() returns an nvmem device, not an nvmem cell.

Fixes: e2a5402ec7 ("nvmem: Add nvmem_device based consumer apis.")
Cc: stable <stable@kernel.org>
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20240902142510.71096-3-srinivas.kandagatla@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-09-03 12:20:41 +02:00
John Thomson
8679e8b4a1 nvmem: u-boot-env: error if NVMEM device is too small
Verify data size before trying to parse it to avoid reading out of
buffer. This could happen in case of problems at MTD level or invalid DT
bindings.

Signed-off-by: John Thomson <git@johnthomson.fastmail.com.au>
Cc: stable <stable@kernel.org>
Fixes: d5542923f2 ("nvmem: add driver handling U-Boot environment variables")
[rmilecki: simplify commit description & rebase]
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20240902142510.71096-2-srinivas.kandagatla@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-09-03 12:20:38 +02:00
Arnd Bergmann
636348dd90 Microchip AT91 defconfig updates for v6.12
It contains:
 - SAM9X7 SoC defconfig flag enablement
 -----BEGIN PGP SIGNATURE-----
 
 iHUEABYIAB0WIQTsZ8eserC1pmhwqDmejrg/N2X7/QUCZtMhUwAKCRCejrg/N2X7
 /VV6AQDFpv3Y4P608LRblgKWvqpkbkp8XNadoiOd7irsZr2CiQD/TgFGD3LPqruA
 YNtHSrY+hcGHzjckzJTQJyHiU5oC9QM=
 =N7y+
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEiK/NIGsWEZVxh/FrYKtH/8kJUicFAmbW4r8ACgkQYKtH/8kJ
 UicQAQ//dK0noGL65QFH9xUWcFXzXDwNjQdxm7HzT+uTP28nhlaQgxpa79FIQ0HA
 qA2B4VXaa79SIJxxsqknhrjlR1Kbs0ZaGmZ45WPq7WOghcx8MaAS2Sn7mbmxOOHn
 Vh0/ZTaUC3JcyNIj+YsDsAfp5MpRG4pTkfLEe4ecDWg+QVXG2Mwd8q1rrOGAD8n1
 tjYZp0sV1evVWJhoR5Mj4b4qnvq1EIByR492DG2rKqSQd8WK7hov/Ge4T8mxlDV8
 oJCbvzKQCNCnlXG/0o3KWlRMGlPKvusPsoDNXsZjOSD9KrFC2JUWrYZj9C6eP1I6
 ycWNpUwGd/Z+gFtW8jkXdri2fHm/y13ZFZux1qNyoIZd1CxxRa7d41uOqj1gtutn
 5bz7pdQkw+Lqj7wPyphIKs8N5GFph1eQET2WwWqI/tr/hxRRN42b+YIFcwsRBRoo
 de7qjHOmg/Tu54q8i+rigeXyEEc8NqsidqIl62hf9Xqtev6X78HNjQhKDjdxZBkI
 4KQP3MjaG+NrxfF3BvXDh9hMOozmSdi4vNcdtqTSrCLvflyiktVgq+g3XjxX7XlI
 a0hU3toufGz/eosD9yi0YqK9TVLvVvLN2fHidsk3YuiL49gkP20KepmRqxbcai8i
 Ux/S05jQm3cB5ncbNwBZhNZQ7AIIDnGoAf05TLyFy4dMGI7InDw=
 =J0Fr
 -----END PGP SIGNATURE-----

Merge tag 'at91-defconfig-6.12' of https://git.kernel.org/pub/scm/linux/kernel/git/at91/linux into soc/defconfig

Microchip AT91 defconfig updates for v6.12

It contains:
- SAM9X7 SoC defconfig flag enablement

* tag 'at91-defconfig-6.12' of https://git.kernel.org/pub/scm/linux/kernel/git/at91/linux:
  ARM: configs: at91: enable config flags for sam9x7 SoC family

Link: https://lore.kernel.org/r/20240901133110.2038675-1-claudiu.beznea@tuxon.dev
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2024-09-03 10:19:43 +00:00
Sukrut Bellary
e8c276d4dc misc: fastrpc: Fix double free of 'buf' in error path
smatch warning:
drivers/misc/fastrpc.c:1926 fastrpc_req_mmap() error: double free of 'buf'

In fastrpc_req_mmap() error path, the fastrpc buffer is freed in
fastrpc_req_munmap_impl() if unmap is successful.

But in the end, there is an unconditional call to fastrpc_buf_free().
So the above case triggers the double free of fastrpc buf.

Fixes: 72fa6f7820 ("misc: fastrpc: Rework fastrpc_req_munmap")
Reviewed-by: Shuah Khan <skhan@linuxfoundation.org>
Reviewed-by: Dan Carpenter <dan.carpenter@linaro.org>
Reviewed-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Sukrut Bellary <sukrut.bellary@linux.com>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Cc: stable <stable@kernel.org>
Link: https://lore.kernel.org/r/20240902141409.70371-2-srinivas.kandagatla@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-09-03 12:19:31 +02:00
Carlos Llamas
4df153652c binder: fix UAF caused by offsets overwrite
Binder objects are processed and copied individually into the target
buffer during transactions. Any raw data in-between these objects is
copied as well. However, this raw data copy lacks an out-of-bounds
check. If the raw data exceeds the data section size then the copy
overwrites the offsets section. This eventually triggers an error that
attempts to unwind the processed objects. However, at this point the
offsets used to index these objects are now corrupted.

Unwinding with corrupted offsets can result in decrements of arbitrary
nodes and lead to their premature release. Other users of such nodes are
left with a dangling pointer triggering a use-after-free. This issue is
made evident by the following KASAN report (trimmed):

  ==================================================================
  BUG: KASAN: slab-use-after-free in _raw_spin_lock+0xe4/0x19c
  Write of size 4 at addr ffff47fc91598f04 by task binder-util/743

  CPU: 9 UID: 0 PID: 743 Comm: binder-util Not tainted 6.11.0-rc4 #1
  Hardware name: linux,dummy-virt (DT)
  Call trace:
   _raw_spin_lock+0xe4/0x19c
   binder_free_buf+0x128/0x434
   binder_thread_write+0x8a4/0x3260
   binder_ioctl+0x18f0/0x258c
  [...]

  Allocated by task 743:
   __kmalloc_cache_noprof+0x110/0x270
   binder_new_node+0x50/0x700
   binder_transaction+0x413c/0x6da8
   binder_thread_write+0x978/0x3260
   binder_ioctl+0x18f0/0x258c
  [...]

  Freed by task 745:
   kfree+0xbc/0x208
   binder_thread_read+0x1c5c/0x37d4
   binder_ioctl+0x16d8/0x258c
  [...]
  ==================================================================

To avoid this issue, let's check that the raw data copy is within the
boundaries of the data section.

Fixes: 6d98eb95b4 ("binder: avoid potential data leakage when copying txn")
Cc: Todd Kjos <tkjos@google.com>
Cc: stable@vger.kernel.org
Signed-off-by: Carlos Llamas <cmllamas@google.com>
Link: https://lore.kernel.org/r/20240822182353.2129600-1-cmllamas@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-09-03 12:18:46 +02:00
Greg Kroah-Hartman
8cbec53959 IIO: 1st set of fixes for 6.11
The usual mixed bag of new issues and ancient ones.
 The fact so many are ADI is probably due to an uptick in upstreaming
 effort from Analog + Baylibre  meaning existing code is getting more eyes
 on it. Hence it's a good sign not a reflection of inherent high bug
 incidence!
 
 Core and helper related
 -----------------------
 
 in kernel interfaces
 - Fix missing application of scale to the integer part of
   IIO_INT_PLUS_XXX value pairs when using the
   iio_convert_raw_to_processed*() helper.
 buffer-dmaengine
 - Make sure to release DMA channel in error path.
 
 Driver related
 --------------
 
 adi,ad-sigma-delta library
 - Check irq-flags for the correct irq if multiple are provided.
 adi,ad7124
 - Wait after reset before reading the chip ID register.
 - Compare only the relevant field when looking for an existing
   config to reuse for a new channel.
 - Fix an off by one in which channel config is being filled from
   firmware.
 adi,ad7173
 - Fix missing vendor prefix in compatible strings.
 - Fix wrong info for GPIO related bit positions for ad4114,ad4115 and ad4116.
 adi,ad7606
 - Drop incorrect check on frstdata when in serial mode, it only applies to
   parallel mode.
 adi,ad9834
 - Check userspace input for frequency parameter to avoid div by zero.
 invensense,mpu6050
 - Avoid reading interrupt status on some older chips as it seems there
   is a hardware problem that surfaces as a result of adding wake on
   motion support to the driver (which these chips don't support).
 ti,ads1119
 - Fix incorrect IRQ flag (new driver so no firmware compatibility regression
   issues with fixing this now).
 -----BEGIN PGP SIGNATURE-----
 
 iQJFBAABCAAvFiEEbilms4eEBlKRJoGxVIU0mcT0FogFAmbCHw0RHGppYzIzQGtl
 cm5lbC5vcmcACgkQVIU0mcT0FohWcxAAnqGDiukCxWo4YWERhh5CqXpzleiR0QPG
 xf5vN8w+auMDR+jm+Pr9AE8M+jd8Kn1nJAYEr5ii00ebww7pKIRYLr38D4RYLUx4
 ta7+gC6QJh6ZG7T7jDyg4C4Kz3FDWUJFOriQ1EuV2GqClCMc8hhkhus5CPNOAhB6
 E9akczbuXbsDIcx04sb3vIkuqAq15NxGY69m157WqzvIDItIoy4LuK9c4B0WjNK3
 8SzCRxMTCRICB7RvLIs9nFy3SSqnpjQfJAwhaXTUxEtHd5FM2AhlRxFjLFI5Sb+j
 WuDmg1HjUEQ8y0xSGcEdKhOsRgkdbBu7GetLn0evxtg9p7qF6KbTHxj3pagSJhB8
 WWGpT5c0HG0Wye02gxPL0rOHqOIHjeyzemdiJIPl09uBobqKXv+io6x+uR8WCZW/
 kuNubOcAhCtJ/uqIZ7YsXId2444sK7YfBJsFrVQOrqomplZQSrSO46Us92+/lSLL
 adU8Hm7r5e5c6NqQbyffJXORpCYCpoNmKtknXF0F4b69kBKbewvs5pR7wa7E37V3
 IpwU8GMd9LyTFHq72npPZxpc8SHawPMJyBH+G+4GgXpMQpqV4lKV2m8uCBO0o9Ir
 UgUO29bDf15qgskG+EB18nARza1uNQtpdf4ClrGhxIK2G/bWIdAmgiY8dLVU+9QF
 PQSPWnuKoq8=
 =txr2
 -----END PGP SIGNATURE-----

Merge tag 'iio-fixes-for-6.11a' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/jic23/iio into char-misc-linus

Jonathan writes:

IIO: 1st set of fixes for 6.11

The usual mixed bag of new issues and ancient ones.
The fact so many are ADI is probably due to an uptick in upstreaming
effort from Analog + Baylibre  meaning existing code is getting more eyes
on it. Hence it's a good sign not a reflection of inherent high bug
incidence!

Core and helper related
-----------------------

in kernel interfaces
- Fix missing application of scale to the integer part of
  IIO_INT_PLUS_XXX value pairs when using the
  iio_convert_raw_to_processed*() helper.
buffer-dmaengine
- Make sure to release DMA channel in error path.

Driver related
--------------

adi,ad-sigma-delta library
- Check irq-flags for the correct irq if multiple are provided.
adi,ad7124
- Wait after reset before reading the chip ID register.
- Compare only the relevant field when looking for an existing
  config to reuse for a new channel.
- Fix an off by one in which channel config is being filled from
  firmware.
adi,ad7173
- Fix missing vendor prefix in compatible strings.
- Fix wrong info for GPIO related bit positions for ad4114,ad4115 and ad4116.
adi,ad7606
- Drop incorrect check on frstdata when in serial mode, it only applies to
  parallel mode.
adi,ad9834
- Check userspace input for frequency parameter to avoid div by zero.
invensense,mpu6050
- Avoid reading interrupt status on some older chips as it seems there
  is a hardware problem that surfaces as a result of adding wake on
  motion support to the driver (which these chips don't support).
ti,ads1119
- Fix incorrect IRQ flag (new driver so no firmware compatibility regression
  issues with fixing this now).

* tag 'iio-fixes-for-6.11a' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/jic23/iio:
  iio: imu: inv_mpu6050: fix interrupt status read for old buggy chips
  iio: adc: ad7173: fix GPIO device info
  iio: adc: ad7124: fix DT configuration parsing
  iio: adc: ad_sigma_delta: fix irq_flags on irq request
  iio: adc: ads1119: Fix IRQ flags
  iio: fix scale application in iio_convert_raw_to_processed_unlocked
  iio: adc: ad7124: fix config comparison
  iio: adc: ad7124: fix chip ID mismatch
  iio: adc: ad7173: Fix incorrect compatible string
  iio: buffer-dmaengine: fix releasing dma channel on error
  iio: adc: ad7606: remove frstdata check for serial mode
  staging: iio: frequency: ad9834: Validate frequency parameter value
2024-09-03 12:17:10 +02:00
Takashi Sakamoto
7d35a00603 firewire: ohci: obsolete direct usage of printk_ratelimit()
A commit 77006a0a82 ("ratelimit: add comment warning people off
printk_ratelimit()") has already deprecated printk_ratelimit().

This commit uses alternative functions to obsolete its usage.

Link: https://lore.kernel.org/r/20240903101523.317110-1-o-takashi@sakamocchi.jp
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
2024-09-03 19:15:23 +09:00
Takashi Sakamoto
cd70237298 firewire: ohci: deprecate debug parameter
Many tracepoints events have been added to 6.10 and 6.11 kernels. They are
available as an alternative of debug parameter in firewire-ohci module.

The logging messages enabled by the parameter require some cumbersomes in
a point of maintenance; e.g. the code to decode transaction frame.

This commit adds deprecation text to conduct users to them..

Link: https://lore.kernel.org/r/20240903101455.317067-1-o-takashi@sakamocchi.jp
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
2024-09-03 19:14:55 +09:00
Frank Li
43027957e8 dt-bindings: nvmem: sfp: add ref to nvmem-deprecated-cells.yaml
Add ref nvmem-deprecated-cells.yaml to support old style binding.

Fix below CHECK_DTBS warning.
efuse@1e80000: Unevaluated properties are not allowed ('unique-id@1c' was unexpected)

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20240902142952.71639-10-srinivas.kandagatla@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-09-03 12:13:23 +02:00
Matthew Wilcox
3a2de36d20 nvmem: Fix misspelling
There is no function called kstrbool().

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Marek Vasut <marex@denx.de>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20240902142952.71639-9-srinivas.kandagatla@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-09-03 12:13:23 +02:00
Zhang Zekun
98ee46391b nvmem: sunplus-ocotp: Use devm_platform_ioremap_resource_byname() helper function
platform_get_resource_byname() and devm_ioremap_resource() can be
replaced by devm_platform_ioremap_resource_byname(), which can
simplify the code logic a bit, No functional change here.

Signed-off-by: Zhang Zekun <zhangzekun11@huawei.com>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20240902142952.71639-8-srinivas.kandagatla@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-09-03 12:13:23 +02:00
Krzysztof Kozlowski
cdb63c73fa dt-bindings: nvmem: st,stm32-romem: add missing "unevaluatedProperties" on child nodes
All nodes need an explicit additionalProperties or unevaluatedProperties
unless a $ref has one that's false.  Fixing this for STM32
Factory-programmed data binding needs referencing fixed layout schema
for children.  Add reference to the NVMEM deprecated cells for the
schema to be complete.

This fixes dt_binding_check warning:

  st,stm32-romem.yaml: ^.*@[0-9a-f]+$: Missing additionalProperties/unevaluatedProperties constraint

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20240902142952.71639-7-srinivas.kandagatla@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-09-03 12:13:23 +02:00
Rafał Miłecki
2fcea44e1b dt-bindings: nvmem: convert U-Boot env to a layout
U-Boot environment variables can be stored in various data sources. MTD
is just one of available options. Refactor DT binding into a layout so
it can be used with UBI volumes and other NVMEM devices.

Link: https://lore.kernel.org/all/20231221173421.13737-1-zajec5@gmail.com/
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20240902142952.71639-4-srinivas.kandagatla@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-09-03 12:13:18 +02:00
Peng Fan
c3f9b7b4e5 nvmem: imx-ocotp-ele: support i.MX95
i.MX95 OCOTP has same accessing method, so add an entry for i.MX95, but
some fuse has ECC feature, so only read out the lower 16bits for ECC fuses.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20240902142952.71639-3-srinivas.kandagatla@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-09-03 12:13:18 +02:00
Peng Fan
8ca1cfd686 dt-bindings: nvmem: imx-ocotp: support i.MX95
Add i.MX95 ocotp compatible string

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20240902142952.71639-2-srinivas.kandagatla@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-09-03 12:13:18 +02:00
Bartosz Golaszewski
24d85d971b dt-bindings: misc: qcom,fastrpc: document new domain ID
Add "cdsp1" as the new supported label for the CDSP1 fastrpc domain.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20240902141821.70656-4-srinivas.kandagatla@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-09-03 12:11:05 +02:00
Ling Xu
dd747494ae misc: fastrpc: Add support for cdsp1 remoteproc
The fastrpc supports 4 remoteproc. There are some products which
support cdsp1 remoteproc. Add changes to support cdsp1 remoteproc.

Signed-off-by: Ling Xu <quic_lxu5@quicinc.com>
[Bartosz: ported to mainline]
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20240902141821.70656-3-srinivas.kandagatla@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-09-03 12:11:05 +02:00
Bartosz Golaszewski
9eb2c5faaa dt-bindings: misc: qcom,fastrpc: increase the max number of iommus
The fastrpc components on the SA8775P SoC can require up to 10 IOMMU
entries. Bump the maxItems.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20240902141821.70656-2-srinivas.kandagatla@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-09-03 12:11:05 +02:00
Masahiro Yamada
b4b8183055 slimbus: generate MODULE_ALIAS() from MODULE_DEVICE_TABLE()
Commit 9e663f4811 ("slimbus: core: add support to uevent") added the
MODALIAS=slim:* uevent variable, but modpost does not generate the
corresponding MODULE_ALIAS().

To support automatic module loading, slimbus drivers still need to
manually add MODULE_ALIAS("slim:<manf_id>:<prod_code>:*"), as seen in
sound/soc/codecs/wcd9335.c.

To automate this, make modpost generate the proper MODULE_ALIAS() from
MODULE_DEVICE_TABLE(slim, ).

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20240902141004.70048-5-srinivas.kandagatla@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-09-03 12:10:39 +02:00
Wolfram Sang
088c588fff slimbus: qcom-ngd-ctrl: use 'time_left' variable with wait_for_completion_timeout()
There is a confusing pattern in the kernel to use a variable named 'timeout' to
store the result of wait_for_completion_timeout() causing patterns like:

	timeout = wait_for_completion_timeout(...)
	if (!timeout) return -ETIMEDOUT;

with all kinds of permutations. Use 'time_left' as a variable to make the code
self explaining.

Fix to the proper variable type 'unsigned long' while here.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Reviewed-by: Bjorn Andersson <quic_bjorande@quicinc.com>
Link: https://lore.kernel.org/r/20240902141004.70048-4-srinivas.kandagatla@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-09-03 12:10:38 +02:00
Wolfram Sang
9c6fd5fc98 slimbus: qcom-ctrl: use 'time_left' variable with wait_for_completion_timeout()
There is a confusing pattern in the kernel to use a variable named 'timeout' to
store the result of wait_for_completion_timeout() causing patterns like:

	timeout = wait_for_completion_timeout(...)
	if (!timeout) return -ETIMEDOUT;

with all kinds of permutations. Use 'time_left' as a variable to make the code
self explaining.

Fix to the proper variable type 'unsigned long' while here.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Reviewed-by: Bjorn Andersson <quic_bjorande@quicinc.com>
Link: https://lore.kernel.org/r/20240902141004.70048-3-srinivas.kandagatla@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-09-03 12:10:38 +02:00
Wolfram Sang
eee75a3a3b slimbus: messaging: use 'time_left' variable with wait_for_completion_timeout()
There is a confusing pattern in the kernel to use a variable named 'timeout' to
store the result of wait_for_completion_timeout() causing patterns like:

	timeout = wait_for_completion_timeout(...)
	if (!timeout) return -ETIMEDOUT;

with all kinds of permutations. Use 'time_left' as a variable to make the code
self explaining.

Fix to the proper variable type 'unsigned long' while here.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Reviewed-by: Bjorn Andersson <quic_bjorande@quicinc.com>
Link: https://lore.kernel.org/r/20240902141004.70048-2-srinivas.kandagatla@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-09-03 12:10:38 +02:00
Ruffalo Lavoisier
59d617dc72 binder: fix typo in comment
Correct spelling on 'currently' in comment

Signed-off-by: Ruffalo Lavoisier <RuffaloLavoisier@gmail.com>
Acked-by: Carlos Llamas <cmllamas@google.com>
Link: https://lore.kernel.org/r/20240902130732.46698-1-RuffaloLavoisier@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-09-03 12:09:40 +02:00
Mikulas Patocka
a8fa6483b4 dm integrity: fix gcc 5 warning
This commit fixes gcc 5 warning "logical not is only applied to the left
hand side of comparison"

Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
Fixes: fb0987682c ("dm-integrity: introduce the Inline mode")
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
2024-09-03 12:08:20 +02:00
Greg Kroah-Hartman
aead27d77f FPGA Manager changes for 6.12-rc1
FPGA unit test:
 
 - Macro's change improves fpga tests using deferred actions
 
 FPGA vendor drivers:
 
 - Wolfram's change renames confusing variables for Altera & Xilinx
   drivers.
 
 All patches have been reviewed on the mailing list, and have been in the
 last linux-next releases (as part of our for-next branch).
 
 Signed-off-by: Xu Yilun <yilun.xu@intel.com>
 -----BEGIN PGP SIGNATURE-----
 
 iIkEABYIADEWIQSgSJpClIeaArXyudb8twOBpKCM2gUCZtM4qhMceWlsdW4ueHVA
 aW50ZWwuY29tAAoJEPy3A4GkoIzapVwBANeFGZrunAe5T1Fi8CVRQ8sjxLEG/a0h
 incXqjHco5f1AQDGbGCnUpabWIJmoRQv7x4oqzSSOt50bGWucyiMPiqmBA==
 =AKK4
 -----END PGP SIGNATURE-----

Merge tag 'fpga-for-6.12-rc1' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/fpga/linux-fpga into char-misc-next

Xu writes:

FPGA Manager changes for 6.12-rc1

FPGA unit test:

- Macro's change improves fpga tests using deferred actions

FPGA vendor drivers:

- Wolfram's change renames confusing variables for Altera & Xilinx
  drivers.

All patches have been reviewed on the mailing list, and have been in the
last linux-next releases (as part of our for-next branch).

Signed-off-by: Xu Yilun <yilun.xu@intel.com>

* tag 'fpga-for-6.12-rc1' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/fpga/linux-fpga:
  fpga: zynq-fpga: Rename 'timeout' variable as 'time_left'
  fpga: socfpga: Rename 'timeout' variable as 'time_left'
  fpga: Simplify and improve fpga region test using deferred actions
  fpga: Simplify and improve fpga bridge test using deferred actions
  fpga: Simplify and improve fpga mgr test using deferred actions
2024-09-03 12:08:18 +02:00
Greg Kroah-Hartman
88850f7cca coresight: updates for Linux v6.12
CoreSight/hwtracing subsystem updates targeting Linux v6.12:
  - Miscellaneous fixes and cleanups
  - TraceID allocation per sink, allowing system with > 110 cores for
    perf tracing.
 
 Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
 -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEuFy0byloRoXZHaWBxcXRZPKyBqEFAmbOJmYACgkQxcXRZPKy
 BqFq5g/+I7WpRAHrLn1e995CGmBUc+HVQ2x5xrS7bSQbxSo/VEhCds/ID+DTfduw
 fwFjKo6GEo9SazGJ1JmSaPONffcGjjdkCp7z/xfd5U7mJ0Gj1FQKnr8Ppew52cfk
 oq7Yi63VPpoX/4mqweBQfCEPX+yikZ+BgxKjkQq+wunGy/3cHQbLTkVyg3mxzePu
 tEKuWihZ9+7lk7kXUzWM4Fmagxo98Lkj5zp8SmpdsHOl0+0BUsdywpTYcT8zbbjm
 QE3OR2fyVuYonVpGTTb+YDJWzonfKltHcKVPmLrsjFjXiv/7/Uxj7TJVS4z9KEKb
 hcDMwKOAoslhtJO+0dG0ZbY6LRvhmRpvy/BKS+Kfz8qwWjZW5YX0GwouRDTo71kq
 KxKoWS5cn4fZ1F7MuygGEre68laVq4/HJ369+jTk3oa7a1f9xTHYciZFQWdgc7DU
 7XK7FQ1g1D3ndD1tCYEzc9n/XFBiV0PZDELPoeaOo+fz4DGOgRRfrMstordS/RHL
 xIS+fD5OQxfn38mUrmReMsQssijZ9ysjqsBmHULVXBHIkz9N4xEsQINTRp7ARykG
 yb6RdrxblMswz0xzJBrekf0djr+tgPO0Je5+8BE/rCickrWttETNGWnrmWf+PPCa
 LrFaYavr0HpyvmqZRuY9fDIKAAAW+9E86kakMg/swlGj6mR15TA=
 =+38+
 -----END PGP SIGNATURE-----

Merge tag 'coresight-next-v6.12' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/coresight/linux into char-misc-next

Suzuki writes:

coresight: updates for Linux v6.12

CoreSight/hwtracing subsystem updates targeting Linux v6.12:
 - Miscellaneous fixes and cleanups
 - TraceID allocation per sink, allowing system with > 110 cores for
   perf tracing.

Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>

* tag 'coresight-next-v6.12' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/coresight/linux:
  coresight: Make trace ID map spinlock local to the map
  coresight: Emit sink ID in the HW_ID packets
  coresight: Remove pending trace ID release mechanism
  coresight: Use per-sink trace ID maps for Perf sessions
  coresight: Make CPU id map a property of a trace ID map
  coresight: Expose map arguments in trace ID API
  coresight: Move struct coresight_trace_id_map to common header
  coresight: Clarify comments around the PID of the sink owner
  coresight: Remove unused ETM Perf stubs
  coresight: tmc: sg: Do not leak sg_table
  Coresight: Set correct cs_mode for dummy source to fix disable issue
  Coresight: Set correct cs_mode for TPDM to fix disable issue
  coresight: cti: use device_* to iterate over device child nodes
2024-09-03 12:07:03 +02:00
Krzysztof Kozlowski
84294c81a5 i2c: simplify with scoped for each OF child loop
Use scoped for_each_child_of_node_scoped() when iterating over device
nodes to make code a bit simpler.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
2024-09-03 12:01:52 +02:00
Wolfram Sang
6c909b6e23 at24 updates for v6.12-rc1
- document a new model from giantec in DT bindings
 -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEFp3rbAvDxGAT0sefEacuoBRx13IFAmbVsiQACgkQEacuoBRx
 13LHXg/+LnwobZihNpyS1G/SN/FeQ2wpgoSNdnOnIqXH2Ogt+76BMZfAmbden0fw
 aDmhow0dXg+a9mX5YaXCeNXXWhrL4w2xppZ2j7e0NDKjS3msK7Avl/mBASntGtBv
 L5/+XZ3TDpkTd4+PBiTCMJ+QufVNQtxppFknH/Onm0cL9zD7x74vvfYoFDLjJCCX
 hsBGK7VW/iJcCjJjKvyGIQ+wvjPWi7yW0Sjz2/un/Gni7IF5AxSrBoPWCugIeNFL
 jQcUqrSpVhXLtQRGmqAW1BkJ6LWyr29yloBCHmsidClQ5/EUmxDXIvNJ2ci/qnOM
 9cayrqukH8giVaTfEOOOY5gDRaZr+DiTf4Ad4OzEv4g0fzxaOmzAtGMqyZJXvDCL
 Iq+0pXHI2tuwcTVzvNEulZ5s1/UGAXMmmYWfifBUkaOmHuxynfWMfr+q4GKo3yf8
 J+aKPrcEHrH5pHKmxdPdiUSbYJ00IHUkCc0HR6gNIXbTWGCbf4B7yztzHFgt8NmK
 3W6WAG0v6Cqmpeg7Tirbj7HsPXe2Z0sUI8vfDzPJZBug3MhZIwoagKdq68Nf7pRp
 E/Ytb5nn213pieJw4/kAIinqMuEMHvPUl1HQ1fqMVm4SCQ/ODdyb3B3u8tWbplfQ
 f1VWg3vdgJAUqZRe5WzhFgm6nWbpW4/a3RGKdxD+HbhYtHsFmEw=
 =QESl
 -----END PGP SIGNATURE-----

Merge tag 'at24-updates-for-v6.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux into i2c/for-mergewindow

at24 updates for v6.12-rc1

- document a new model from giantec in DT bindings
2024-09-03 11:56:07 +02:00
Miri Korenblit
a032b5fc24 wifi: iwlwifi: mvm: properly set the rates in link cmd
When a channel ctx is assigned to a link, we set the
LINK_CONTEXT_MODIFY_RATES_INFO to indicate that the rate fields are now
valid. But then we always take the rates of 2.4 GHz regardless of actual
used band.
This is because we are getting the band from bss_conf->chanctx_conf, but
this is assigned only after drv_assign_vif_chanctx returns, so we take
the bands of 2.4 GHz.
Fix it by taking the band from the iwl_mvm_link_info::phy_ctxt instead,
as this has already assigned in this point.

Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Link: https://patch.msgid.link/20240901071542.11c2d3609609.I8fa59e29b6bb38e5d06f3536d54dfb2c5d5bab11@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2024-09-03 11:55:27 +02:00
Daniel Gabay
36dc21bce9 wifi: iwlwifi: mvm: Remove unused last_sub_index from reorder buffer
The last_sub_index field is not used and appears to be a leftover
from a previous implementation, remove it.

Signed-off-by: Daniel Gabay <daniel.gabay@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://patch.msgid.link/20240901071542.da75cfef9144.I6e1fb635b2893618e6bd28501fb858042d8aa44e@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2024-09-03 11:55:27 +02:00
Miri Korenblit
5b0c478378 wifi: iwlwifi: mvm: remove mvm prefix from iwl_mvm_tx_resp*
These are not mvm specific

Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Link: https://patch.msgid.link/20240901071542.22e28b56da2c.Ib859a05ed133fa5a1426c5feffa8999a18bba6f2@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2024-09-03 11:55:27 +02:00
Miri Korenblit
530addf2d2 wifi: iwlwifi: s/iwl_mvm_remove_sta_cmd/iwl_remove_sta_cmd
This is not mvm specific.

Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Link: https://patch.msgid.link/20240901071542.57efe93c2702.I4619885f691cc295cc440a62f23405392da338f4@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2024-09-03 11:55:27 +02:00
Miri Korenblit
07aeccf161 wifi: iwlwifi: STA command structure shouldn't be mvm specific
This strcuture is not specific to mvm, so rename it.

Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Link: https://patch.msgid.link/20240901071542.39c9ceea41d3.I2a06bfca589c467fa84ad82ff86e73ec82e72a5e@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2024-09-03 11:55:26 +02:00
Miri Korenblit
b61ed2b809 wifi: iwlwifi: s/IWL_MVM_STATION_COUNT_MAX/IWL_STATION_COUNT_MAX
This isn't mvm specific.

Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Link: https://patch.msgid.link/20240901071542.5d71a0a2b56c.I7e0fe636d914852963e7a2f5e6037d0c3e367145@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2024-09-03 11:55:26 +02:00
Emmanuel Grumbach
07fb53783b wifi: iwlwifi: mvm: tell the firmware about CSA with mode=1
When we de-activate a link because it started a CSA with mode=1, we want
to tell the firmware it can no longer transmit any frame for that link.
The firmware will do that on its own if the CSA indication (beacon /
action frame) was  received on that same link, but with MLO, things got
more complex and the firmware can't track cross link CSA.

Tell the firmware if we de-activate a link because of CSA with mode=1 to
prevent it from transmitting, even if it is only an NDP PM=1 frame that
is part of the de-activation flow.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://patch.msgid.link/20240901071542.4bef89d438d4.If7147a7a84054e67c05414c753d73f4e2e0e6e37@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2024-09-03 11:55:26 +02:00