Commit graph

1,399,042 commits

Author SHA1 Message Date
Christian König
5a67c31669 drm/amdgpu: enable GTT fallback handling for dGPUs only
That is just a waste of time on APUs.

Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/3704
Fixes: 216c1282dd ("drm/amdgpu: use GTT only as fallback for VRAM|GTT")
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit e8fc090d32)
Cc: stable@vger.kernel.org
2024-11-12 17:37:38 -05:00
Paul E. McKenney
f8ce622ac9 srcu: Check for srcu_read_lock_lite() across all CPUs
If srcu_read_lock_lite() is used on a given srcu_struct structure, then
the grace-period processing must do synchronize_rcu() instead of smp_mb()
between the scans of the ->srcu_unlock_count[] and ->srcu_lock_count[]
counters.  Currently, it does that by testing the SRCU_READ_FLAVOR_LITE
bit of the ->srcu_reader_flavor mask, which works well.  But only if
the CPU running that srcu_struct structure's grace period has previously
executed srcu_read_lock_lite(), which might not be the case, especially
just after that srcu_struct structure has been created and initialized.

This commit therefore updates the srcu_readers_unlock_idx() function
to OR together the ->srcu_reader_flavor masks from all CPUs, and
then make the srcu_readers_active_idx_check() function that test the
SRCU_READ_FLAVOR_LITE bit in the resulting mask.

Note that the srcu_readers_unlock_idx() function is already scanning all
the CPUs to sum up the ->srcu_unlock_count[] fields and that this is on
the grace-period slow path, hence no concerns about the small amount of
extra work.

Reported-by: Neeraj Upadhyay <Neeraj.Upadhyay@amd.com>
Closes: https://lore.kernel.org/all/d07e8f4a-d5ff-4c8e-8e61-50db285c57e9@amd.com/
Fixes: c0f08d6b5a61 ("srcu: Add srcu_read_lock_lite() and srcu_read_unlock_lite()")
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Cc: Frederic Weisbecker <frederic@kernel.org>
Reviewed-by: Neeraj Upadhyay <Neeraj.Upadhyay@amd.com>
Signed-off-by: Frederic Weisbecker <frederic@kernel.org>
2024-11-12 23:31:28 +01:00
Paul E. McKenney
174dd22a78 srcu: Remove smp_mb() from srcu_read_unlock_lite()
The srcu_read_unlock_lite() function invokes __srcu_read_unlock() instead
of __srcu_read_unlock_lite(), which means that it is doing an unnecessary
smp_mb().  This is harmless other than the performance degradation.

This commit therefore switches to __srcu_read_unlock_lite().

Reported-by: Neeraj Upadhyay <Neeraj.Upadhyay@amd.com>
Closes: https://lore.kernel.org/all/d07e8f4a-d5ff-4c8e-8e61-50db285c57e9@amd.com/
Fixes: c0f08d6b5a61 ("srcu: Add srcu_read_lock_lite() and srcu_read_unlock_lite()")
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Cc: Frederic Weisbecker <frederic@kernel.org>
Reviewed-by: Neeraj Upadhyay <Neeraj.Upadhyay@amd.com>
Signed-off-by: Frederic Weisbecker <frederic@kernel.org>
2024-11-12 23:30:33 +01:00
Arnd Bergmann
16023977b9 Samsung SoC drivers for v6.13
Add Samsung ChipID driver support for new SoCs: Exynos8895, Exynos990
 and Exynos9810.
 -----BEGIN PGP SIGNATURE-----
 
 iQJEBAABCgAuFiEE3dJiKD0RGyM7briowTdm5oaLg9cFAmcgl1cQHGtyemtAa2Vy
 bmVsLm9yZwAKCRDBN2bmhouD18oND/9IPWdoSQAeDLQjq6OzWbXGWLuB0KGm2HzT
 6d1IRsbzoNks08fnRV/QGWLPTuedNYt/Syk60YTMOP5GiTe28Q09SIpe7IinsPZL
 VpyndwsOT5qgvJvDh0vddViCpLxqY3M/zKQuCD49KNJVkNovclBOthN+BhXV1jmi
 4EWGPzYFboqgY9Np/W1J9RXafFfp1WiJgYgxhRxxRRL4C0EXTzcrWR6q+SHV//4X
 esv48lEDZZlYtMKFD3hHmyM1WmQnLrCQ/rpCN/1EyhmZkhkkaZx+6XzCoBSdQdZE
 jpHNmJJjrel+N6YkYIQl24CBmWFC0kMLH4HLdlBqPTxuNtia0yXl3zU4eOg7G8qO
 81ozCpgdFx6sy/3kBYjJq0XGCyQYkBwiiWcZbaUSJMh684uc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PgMZTNYH
 npy1kUnN7Wq8s4LKY648kfV6VPLLiQh5YdbZRH5BPko2b0G8KiE=
 =O237
 -----END PGP SIGNATURE-----

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

Samsung SoC drivers for v6.13

Add Samsung ChipID driver support for new SoCs: Exynos8895, Exynos990
and Exynos9810.

* tag 'samsung-drivers-6.13' of https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux:
  soc: samsung: exynos-chipid: Add support for Exynos9810 SoC
  dt-bindings: hwinfo: samsung,exynos-chipid: Add Samsung exynos9810 compatible
  soc: samsung: exynos-chipid: Add support for Exynos 990 chipid
  dt-bindings: hwinfo: exynos-chipid: Add compatible for Exynos 990 chipid
  soc: samsung: exynos-chipid: add exynos8895 SoC support
  dt-bindings: hwinfo: samsung,exynos-chipid: add exynos8895 compatible

Link: https://lore.kernel.org/r/20241029081002.21106-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2024-11-12 23:18:14 +01:00
Arnd Bergmann
9c6cb03775 i.MX SoC changes for 6.13:
- A change from Andrew Davis to convert i.MX6 PM code to use new
   sys-off API
 -----BEGIN PGP SIGNATURE-----
 
 iQFIBAABCgAyFiEEFmJXigPl4LoGSz08UFdYWoewfM4FAmcoe/MUHHNoYXduZ3Vv
 QGtlcm5lbC5vcmcACgkQUFdYWoewfM58Ogf/Z3+r8M479tEnIkCMMy64Fpl7KlTJ
 LvEZGChV7kaqTrwcE5HzW1sVbccNZbBVtXICjOfyleRI251dsxr3/c0DcduWxNM1
 Ss10x7yavWReJUCscLDiIDMKA6IIGR6z3V5BJUWj43iVdImIGWLgoJwbbWwKWn07
 qoc+S38gcws5JUSZtahEEIaOv98x8olOrFxKV5x0zMYK7tvD83rpmvxFFJFnbiXN
 DlPykFvIY42+G1QpHCiND0JzPpLAN9XZE62Rpt045OMKswJFTJR6+Wo0cpsCYIJE
 COOyTukXW1xgnYtsP2YL/Wpj40hk+bIr7WAu6GnT2ES3OIjwQNgyFsjyqA==
 =Q548
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEiK/NIGsWEZVxh/FrYKtH/8kJUicFAmcz01oACgkQYKtH/8kJ
 UifZ4A//bf7ctofN4CBUtdwpS4FeQKgwVQzs4naI5t6idP2EmWSfPBeVOxwKpTB9
 6bKSuK2iVq3qf+o7rQC4RasHDylzGN442hVOXVs5h0rIYjQ3k5DXsMCk7VYzO+qZ
 8ycx5hFr6j5XNCweMyVc/QVITiwo4iIUKJ89xa1fvHyvB5zgB5vyTA0oyUFnyp2w
 Rv1c/9ovL3A5+lunTO35gpgW6qHf12Z4r1ihdMIpRy4JmHjwzXzBPS43AkBcC5ed
 qb8G4EHjFO1xcFuNcumvbvSZqGgsoUBiDS0kvWuvpRjAsmRNKb56XN7LEbTVvl0h
 Fgi5mnstWewpomswo7vEhT/PytqCB3+klkaozkXYjmParLrKXhU6k2+xuBfgn0ge
 VaZnijGyorV8cRmDFka2UDwyBdFmDrFHELiP35NWvHaKIfnulJQ3TrFKwWf4M8a+
 F3kPcp0faSJusFebm8YDIXJPkeG3MhcT7KyXFwhJTpXtBMJgqtxtttwT4VkRld0l
 gCC8FJvTX+YjqJ8wPz3/HEBxBnvbgg5jotOTdcS3Z/3ooLCVONMlU+hDQ0RFCxSe
 BFuYYkyNA5wvknWMgv8W024q6VVRut5quwFdgMibAcK1EH31o4V8USQKGT7h9vpJ
 cPkdIxCys4FJkrN54wTMfw16KvqOHhWFsIqXdPWr74gwKvlXkp4=
 =IX9G
 -----END PGP SIGNATURE-----

Merge tag 'imx-soc-6.13' of https://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux into soc/arm

i.MX SoC changes for 6.13:

- A change from Andrew Davis to convert i.MX6 PM code to use new
  sys-off API

* tag 'imx-soc-6.13' of https://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux:
  ARM: imx: Switch to new sys-off handler API

Link: https://lore.kernel.org/r/20241104090055.1881860-2-shawnguo2@yeah.net
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2024-11-12 23:14:50 +01:00
Arnd Bergmann
d95fa0fab7 ARM: Zynq SoC changes for 6.13
- cleanup zynq_slcr_init()
 -----BEGIN PGP SIGNATURE-----
 
 iF0EABECAB0WIQQbPNTMvXmYlBPRwx7KSWXLKUoMIQUCZyTOzQAKCRDKSWXLKUoM
 If9PAJ0SCeGdCLcVaofKgO1nHu5lrX8a8wCgjFyg0qiNIEoGybncVg2FAdcHmgQ=
 =YII4
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEiK/NIGsWEZVxh/FrYKtH/8kJUicFAmcz0y8ACgkQYKtH/8kJ
 UieF1RAApP36pLeq40tZgPjrvbe5DGJCi1+YE1ovJHQBWSCYcbYmaxnKz03SHZxl
 rtNhAAATxSTxQ+5atxvgx8URDlBjVnPWu06w8gjGgXEPeRLZnV8RvBPvAvOYQ+p9
 nusHOH8kJycWaYpOWP3fHGqm27zYjwahgguAkN1qtJc8UF2Ti0rR5j1EBSlXDLs/
 aPo8SENgPxM5/Nh/ubA+Zk4IIUUM14lMCeGuYPJTA7Phjb8okxwS5EwvWv78hnUD
 RxjHJ7rG27PxqQjLviBCIRvdJBCVuBuNjDKdyKgq3VDQjhMj2JJYDdrqy8EhxmRz
 I7GljgiiUvRxviRj3kTtOUW1c+6njVJxBDM3JmYeKbBTHPJpli2+l+q5jeiH8pVB
 QnRmvI8jm8XdTfTMply8uLXqK2HKhfLNdzw8HHypLJX29pfTzw3cyYy8N4phYjvs
 xAmvXf09j9ciDEWPJ8iW/asUZA2Rl+qwbGr9wZ+eADm5aeUy4iMdwtI34XFUI1ik
 cRMZi+6hPHhPpNUjX/Tep/GL9bmlgd3K7GLjVewRMejSrokp6GhU7Fc8XLgJaq0A
 FbRFA4BNbLxgddN3DGvlEm79FQu5L9/M6FcsrnM8Majt3fdTZyyO5Sdyjpa5LQAM
 C0JS0RBgFs4PbJYXNtNtyWPRmVKKujVNr1ZreTOUag6iB4BiGNA=
 =vGJw
 -----END PGP SIGNATURE-----

Merge tag 'zynq-soc-for-6.13' of https://github.com/Xilinx/linux-xlnx into soc/arm

ARM: Zynq SoC changes for 6.13

- cleanup zynq_slcr_init()

* tag 'zynq-soc-for-6.13' of https://github.com/Xilinx/linux-xlnx:
  ARM: zynq: Remove unused zynq_slcr_init() declaration

Link: https://lore.kernel.org/r/CAHTX3dKLb4nOVpVvnwyxE6zJZNXpiB4hh=WzpKWwhqP7aLobjw@mail.gmail.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2024-11-12 23:14:07 +01:00
Arnd Bergmann
269e715b99 Samsung mach/soc changes for v6.13
Few minor cleanups in platform data headers: drop unused declarations.
 -----BEGIN PGP SIGNATURE-----
 
 iQJEBAABCgAuFiEE3dJiKD0RGyM7briowTdm5oaLg9cFAmcgl+kQHGtyemtAa2Vy
 bmVsLm9yZwAKCRDBN2bmhouD158rD/oCilI9pS6XBbqy4oo6rhBgTrOX06RqXzSY
 zJQk8GqmODDmZqoNMcCrFU/+ODJuIRlctl9RTtN9XFvO4uz1KZJYfHiNPMypXwxd
 fArzKtOo4RH87aYU6RIvAR7rVoJ0j8D/yYI//Jej6bXC5uryAgkI4m7jgwFvi6SW
 oN9mcjA0tx36Rk1ZVCSyMUijpqKshKE7uLv07JtxNY4Gf8/7SkeGKUXTMPHSE4Gi
 Z01oyY/CO8tw626ThNrVu+/DM/mwAIAj+ZNU7P3C0I1WpP3em17ALg9iO7BjL52c
 SkpnjRjjlA7ujiuhpz2OxLTfXSEdEU9Wa5q8Whfe6tLz2fmnHQ8mAI3nLfpeKHLV
 NItr7uHK13RfIhf8d0a8cZPdQM8RzO6VI2YULWyUzbDFBWCVX+90XFJUXVriuUVL
 NEq+jmJxhrR321Nvlmg5KmGhj0QTC5ypIamva97cYtNF/3NCHr5VhpdoGj2FLRrG
 l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merge tag 'samsung-soc-6.13' of https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux into soc/arm

Samsung mach/soc changes for v6.13

Few minor cleanups in platform data headers: drop unused declarations.

* tag 'samsung-soc-6.13' of https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux:
  ASoC: samsung: Remove obsoleted declaration for s3c64xx_ac97_setup_gpio
  ARM: samsung: Remove obsoleted declaration for s3c_hwmon_set_platdata

Link: https://lore.kernel.org/r/20241029081002.21106-3-krzysztof.kozlowski@linaro.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2024-11-12 23:13:44 +01:00
Arnd Bergmann
1c8f196da9 This pull request contains Broadcom ARM-based SoC changes for 6.13,
please pull the following:
 
 - Linus adds support for the debug UART on BCM6846 (BCMBCA) platform
 
 - Florian dros the custom init_irq() callback which does the same thing
   as the standard irqchip_init()
 -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEm+Rq3+YGJdiR9yuFh9CWnEQHBwQFAmcfCrEACgkQh9CWnEQH
 BwRxBxAArVZ/cjrpMTvmNi9qgoZaT6Qtp5+fMdATSbIA6+O1lW+04anmGliH4ntm
 gTsrchds8c3+Uf78rMWcI4rwztInRb7k2tjtWsH1S6Z+xWwaC050AVNvlQP66QJJ
 N/S5WMTtROVE3ZXLENGQLdeTUvjoZjfvydUCReOsH1CX8aqnKNGzUjEW6O7mPtAc
 1wWpQnZ/9BVEikcnKhcWouS5MkXejwbOO7YIbpQfUQCHOUjuSj5QAfZSZfNZpVOJ
 OHtTS0Ukw3Ejcd8zNYI8+zBzNMyhuwnbKmMaE7CMK8PyfU1gx9Gp/0dQUunTx1eJ
 Fj6QyzZ5Tw4U/Li4O9g90X+rdcCsuAjhDW1uf7SyaBTuSChCDrtrYcjXiNxnWOLs
 vJiZOzj5VhHJNEKgVeJSGi17ZmXIqxOCKeMEVoG3N6430/tz5OsN8GlQlyZXsEe3
 PWG9LsHrG78zSQs3bP8nzkW0yVmErvhoyaNXfL3EY/+4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'arm-soc/for-6.13/soc' of https://github.com/Broadcom/stblinux into soc/arm

This pull request contains Broadcom ARM-based SoC changes for 6.13,
please pull the following:

- Linus adds support for the debug UART on BCM6846 (BCMBCA) platform

- Florian dros the custom init_irq() callback which does the same thing
  as the standard irqchip_init()

* tag 'arm-soc/for-6.13/soc' of https://github.com/Broadcom/stblinux:
  ARM: bcm: brcmstb: Drop custom init_irq callback
  ARM: bcm: Support BCMBCA debug UART

Link: https://lore.kernel.org/r/20241028035449.734504-2-florian.fainelli@broadcom.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2024-11-12 23:12:20 +01:00
Vijendar Mukunda
447a54a0f7 drm/amd: Fix initialization mistake for NBIO 7.7.0
There is a strapping issue on NBIO 7.7.0 that can lead to spurious PME
events while in the D0 state.

Co-developed-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Link: https://lore.kernel.org/r/20241112161142.28974-1-mario.limonciello@amd.com
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2024-11-12 17:10:40 -05:00
Alex Deucher
3c2296b1ee Revert "drm/amd/display: parse umc_info or vram_info based on ASIC"
This reverts commit 2551b4a321.

This was not the root cause.  Revert.

Link: https://gitlab.freedesktop.org/drm/amd/-/issues/3678
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: aurabindo.pillai@amd.com
Cc: hamishclaxton@gmail.com
2024-11-12 17:10:40 -05:00
Hamish Claxton
91314e7dfd drm/amd/display: Fix failure to read vram info due to static BP_RESULT
The static declaration causes the check to fail.  Remove it.

Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/3678
Fixes: 00c391102a ("drm/amd/display: Add misc DC changes for DCN401")
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Hamish Claxton <hamishclaxton@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: aurabindo.pillai@amd.com
Cc: hamishclaxton@gmail.com
2024-11-12 17:10:40 -05:00
Christian König
e8fc090d32 drm/amdgpu: enable GTT fallback handling for dGPUs only
That is just a waste of time on APUs.

Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/3704
Fixes: 216c1282dd ("drm/amdgpu: use GTT only as fallback for VRAM|GTT")
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2024-11-12 17:10:05 -05:00
Arnd Bergmann
3fba54700b TI K3 defconfig updates for v6.13
Enable driver for GPIO PCF857x I2C GPIO expander present on multiple TI
 boards
 -----BEGIN PGP SIGNATURE-----
 
 iQFEBAABCAAuFiEEyRC2zAhGcGjrhiNExEYeRXyRFuMFAmcqUywQHHZpZ25lc2hy
 QHRpLmNvbQAKCRDERh5FfJEW4+yjB/9B5nZ6QKuvI3aer1Yqyx8pyIUpIptaC/MG
 owOxwqTGahBuQnnBjpefmu4f8ToyKCJ9RpRypTkd1ZQxKapu7EX/JTbf/on9ohVM
 L3njXqZAkHgasbsreLXjlfL65Gtf7aLbK/eZp+PQkvsq5shB/0O3tYF/iFjPm4Wx
 tK3wU4zQZfI0EKiCLkbE4inBk3keY5rH6Qq8STiGyTbVi+67gTpiRYJG8D4mPUv4
 /JMWU+YrXQ0W3/NkKBgcRGBW0b+Wb5pFVZBNkfd6jqPteG9wDnAuKwTZyYTsjwCR
 /zP3sFoqfKI3VA0I0cwfRxZKqDdB9Wnp2AYAPxrRk0cwG58Aa+a6
 =twx8
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEiK/NIGsWEZVxh/FrYKtH/8kJUicFAmcz0jYACgkQYKtH/8kJ
 Uif12BAAvZIagfA8pehFO654nrc5Yl2ZGOBn1oZ/2n/KNxM+HdqIt44g7QLAEAgz
 WYkqfVf1oXzdTLJZZ1UC/K3o0f0HrnT1xtQTJHQXJg6YypVHH0IrIfOz1KE2nqEe
 tkdzKDUIcUv52SwJvADfxxyTp9uRrcP67QW52j1dJIYBVh4rJ7jckrKVhrC7cIuk
 ygRCOcjkQLINafTIImdOXZApZS66levnI5+yx8+V0/b8ZJEfQq++nfu4WVrWtpir
 RgCF756yZPhzBNwenjsn0aMbBet2ebjoLKz7nmIKyDiH67RqrtPy3eHTL8gLjcsF
 zozRR/wf5HkQsRUhNHNicvXa/HR+ch11POtUzAR5ZxByrTv32L1rYMx6LBkCREY0
 BK+zTij/vzKFrKH9AqV24glPJJEm3hF2JNlZcJ156HHXBwfyZrdnq/Ur2viNZz/H
 1IaUa63q+/d8aYEi1YiMeioDzWrRqA0jWBv1U4GdWS9X7JL6SBJ/XTqrAa7YnnKL
 YbzaQp0jr/a+H50AFUzKSN67t5EbXcDqzdDvidvCBN6m0hYyv57IjThx7hUOyn0h
 vcooMIk/T0rtiNwzEoQ1CRBQukGelbS3YVWNHIaNf6cCD/utsIc93uGCURrnVsB+
 WadU/bZ9nV6hGr32Oni1vm1UdpakfLaeedsPFMp5D+X5eQXr8rM=
 =3X0z
 -----END PGP SIGNATURE-----

Merge tag 'ti-k3-config-for-v6.13' of https://git.kernel.org/pub/scm/linux/kernel/git/ti/linux into soc/defconfig

TI K3 defconfig updates for v6.13

Enable driver for GPIO PCF857x I2C GPIO expander present on multiple TI
boards

* tag 'ti-k3-config-for-v6.13' of https://git.kernel.org/pub/scm/linux/kernel/git/ti/linux:
  arm64: defconfig: Enable PCF857X GPIO expander

Link: https://lore.kernel.org/r/b13eabeb-48dd-493e-a7c7-fd247c971ae8@ti.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2024-11-12 23:09:58 +01:00
Arnd Bergmann
61107d84ab Renesas ARM defconfig updates for v6.13
- Enable Battery Backup Function (VBATTB) and RTC support for the
     RZ/G3S SoC and the RZ/G3S SMARC SoM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config-for-v6.13-tag1' of https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-devel into soc/defconfig

Renesas ARM defconfig updates for v6.13

  - Enable Battery Backup Function (VBATTB) and RTC support for the
    RZ/G3S SoC and the RZ/G3S SMARC SoM.

* tag 'renesas-arm-defconfig-for-v6.13-tag1' of https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-devel:
  arm64: defconfig: Enable VBATTB clock and Renesas RTCA-3

Link: https://lore.kernel.org/r/cover.1730726154.git.geert+renesas@glider.be
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2024-11-12 23:09:31 +01:00
Arnd Bergmann
31e7323a41 i.MX defconfig changes for 6.13:
- Enable BD71828 regulator and NXPUART Bluetooth driver support in
   imx_v6_v7_defconfig (needed by Kobo Clara 2E device)
 -----BEGIN PGP SIGNATURE-----
 
 iQFIBAABCgAyFiEEFmJXigPl4LoGSz08UFdYWoewfM4FAmcojA0UHHNoYXduZ3Vv
 QGtlcm5lbC5vcmcACgkQUFdYWoewfM5PTAgAuIjJWSs48S1ITX67Y3T8ZeaKTpcc
 gkfy2D/2VF39gWSfWGyFFQBUToBInu5WZQmUX/z8tKeEKuKneEh1YxSDyWdH0Dop
 +VmSXcNotemQAvTirc9n6XixxH6seouIeZYvHYW/KwMcfrhZc3F2ALsKI+40NkAp
 5v6JVRmRjmS0+FrMR2MqPDvrfoRzO6ENbKs1Y+wjOEvCld6AaLHGInSGW0+UmB8b
 UzFdg7m+NBHGGZ3eTWIhkXh8vOkJ1o3WERV6it8GPVevsJg9X9eKo7m9HICPwVeV
 I6EFpmAq7kLS4U8+BpuqcnGOzm8CBl5JVEg76Qe1RqlzZlz3JGlUbSEZ2Q==
 =moI9
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEiK/NIGsWEZVxh/FrYKtH/8kJUicFAmcz0f0ACgkQYKtH/8kJ
 Uifd5Q/6A6h66NLDqDOpsTnQHGxMXYdWPyPnd+R9/tpiCyB8rijuBlPNJYeTATyB
 5RYeQilAjtWRJBB9Bg67lFAQZC/orID4nAnO05gHlxi+dGjiUtdxSIXnplt+8vYE
 9vDjNFBakL6jhWL65Bj5thL0Ijvm75Mk3/ttAqrtsrB7FLyV0XqV4NWEr510PvgM
 Zb35YnzUS83ukZ1d1vXOexrzaq+GaMdKvJlu7olAvZEiPeTxZWF3lgl0HY21ZoOx
 /viyvDQVA1aG0pInvXxxLv9mzPNMoMreEgHpPlXVunAsQAkRYgWS737PQHer9JEi
 J6OG9D/bNUj/GqVsbTpk74QWMranMhbD7ICA1X+DoWYm5WNm6PSydIFjSfTNOCP8
 lLZueyce1+bMmeu406L4YpGMMJXZcPdTYuNwipkj72InBasgoFcly+kUgetWNFCt
 s9M0XyrKvXd9Fq1TxMuADNzslWJulRXL6BrOopmTEgdUS8zoiXUgPUHqeP+2dUmk
 bLvSEp+zHG3VrQOATLa6Ge6x+HHyLuj6IzFAgcPzXpBhLkcHdwkWWlYU8ESHG9NX
 H+EngiKrNFlSZUChIMynPbjrcIXS8QQ1mU+V1XAUE8DQIGT7l3YcRlHatB2ozuw0
 6FsEzcQ1PXHe+L5S4i7Nta+z0zoz75JZyg5D4De+4yu8wFq5qEY=
 =iawl
 -----END PGP SIGNATURE-----

Merge tag 'imx-defconfig-6.13' of https://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux into soc/defconfig

i.MX defconfig changes for 6.13:

- Enable BD71828 regulator and NXPUART Bluetooth driver support in
  imx_v6_v7_defconfig (needed by Kobo Clara 2E device)

* tag 'imx-defconfig-6.13' of https://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux:
  ARM: imx_v6_v7_defconfig: Enable drivers for Kobo Clara 2E

Link: https://lore.kernel.org/r/20241104090055.1881860-6-shawnguo2@yeah.net
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2024-11-12 23:09:01 +01:00
Arnd Bergmann
2130962a20 Qualcomm Arm64 defconfig updates for v6.13
This enables multimedia clock controllers used by SC7280-based devices,
 such as the QCS6490 RB3Gen2.
 -----BEGIN PGP SIGNATURE-----
 
 iQJJBAABCAAzFiEEBd4DzF816k8JZtUlCx85Pw2ZrcUFAmcoRfYVHGFuZGVyc3Nv
 bkBrZXJuZWwub3JnAAoJEAsfOT8Nma3Fq7QQAMgWY80NPg8DIlfD8KtpoyNdFTjb
 zu+ieOFHnC49yZnCTtnBUy6FsmPhhiWvgn6zxbRA0kG+9Asr0Zt14V/uDL9dQV8G
 xkVVtUoND0YDTTY/CcFs917MS/+FGBAgX8u/4M9iYBoZ0uDqX6q5Nr6T6Va6ZpZs
 ZzKYW1i1nJGFsHE7uN5aSbgFN8+Iz3mMxpJYKh+/fFjaBe7VgeFxfAWpJ4k4Kw+F
 jmnq+5LjIE5v2bfe8PFraByS7A+FfZZqV0FzMbKznmSiH7sEm/MAlxx7+kBIFKCt
 hsZWUP/Ryr82I+KMdWHFjObROMFObZyv2MWWd3/CkQ57LX+SP5KFvzMVWGPHuD0O
 sgomRI/Fla8W4HpEVFpdxaTIqhrH+PtCn9nmYsjgOGf7Wpbh10b4qkQm2HFUPwlt
 OGUpa1xI0E2mLkG+yOOPiF3KkE2fAACLTAt3zceZ+vqNFzyujA97vzsANjgOApaS
 03lWwoU04cdXuVhsKoV1qAPD2FkAcdVPgnk75KY59khoO01U9kpTvOK0NcP/beSm
 emjW2JpPdFOGBZo+Slj7FJdieJhLFs6koHzGUpa2oxTkGAPAjU03MKYSQh2TlkdH
 2u6LUch7o1MGLYpdJiCzseHg0qF8MPN3fOgWr11gI/c7HaaiRNqjaTsXApuumE0u
 xUC01FtrrWimpcjn
 =vsEa
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEiK/NIGsWEZVxh/FrYKtH/8kJUicFAmcz0ckACgkQYKtH/8kJ
 UieWlg/+OkPQ/7PhXhnNDaNdd0HcfLEPeSe/T77VR7Q99okoea2C6Z7l2jqOyeB3
 EcFTm1sznBBrTmTN1DQIT9IkBHDZ6egvIZ97WW8SmzB+fcB20re8tvyck0THivvt
 +H4YG17/q+hQ3Md9ZNt4DW89f2mdaOWe1sreoPyIYNo2HGeSkNrrZhMMmATJXYFo
 imDyoDYnGFQvhy62TaO8TPKH+HyBtSZCze+Rzv9/Kxgyj9+5xlg/rHKizoaioalN
 4k1W6JNOPtgiLpfsRY5ye6Lpxc0fWgt1zXBxkwFUQEgp4aS4RxjRs3H7sNV2pKEy
 fqVQDx1t0oATqB72Vs0N5uXWjGei6CIikC/aXkH6bR0az8GTTzn3ttO3s8manXb4
 NAPbq9UO+VB0m6n/2sIysc2ldao516dsgGetZjC8dLAGX5zui320i4uyByi9bTGo
 q/AAE27iZRDstkHsvKqGUZaej8Ipp9nA+lEQFRS5KUZ19YYu5gEwnn1a2SU3p9B9
 Tq16tqX1wFEHhecveVLhQJ3Q0/sP7lfjroV8JMRpgur3BeTnEqIjge9fdlGdGmTE
 yhCsGYk54drKTj9tcyuEz7vr0/wayrQQBMvbfXnjhm+ahg3z349Fw8TN8WhMgoZX
 /+nYr0e2qjMsS46Ru2Spr62kuYPpAyMtMTrbzR5aIlFYdACAaGE=
 =FD07
 -----END PGP SIGNATURE-----

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

Qualcomm Arm64 defconfig updates for v6.13

This enables multimedia clock controllers used by SC7280-based devices,
such as the QCS6490 RB3Gen2.

* tag 'qcom-arm64-defconfig-for-6.13' of https://git.kernel.org/pub/scm/linux/kernel/git/qcom/linux:
  arm64: defconfig: Enable sc7280 clock controllers

Link: https://lore.kernel.org/r/20241104035709.19094-1-andersson@kernel.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2024-11-12 23:08:09 +01:00
Arnd Bergmann
7d33d08f3c This pull request contains a multi_v7_defconfig update:
- Florian aligns the ARM64 and ARM multi_v7_defconfig by enabling the
   kernel with debugging symbols by default and using the toolchain's
   dwar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GI3auEjc+pfO4GesxOheQ8wyYDKuXsD9n7Ryxyvc8hpH2LMSZXr9t+Y
 t1xHRtykt4pkt5wpbiXrJLmdmyK6oW5P6Ltw1sXkHRJRxkxrQmOEooz/XYE+iOHt
 gQDaKwdtEL+zhgORa+diIn1p+l5x00VOq1e+qx7/LzJ4Oz/NMcLQUtIXbbp/LVZ5
 6F0c2/FUbN/dJWOndzAwSjRAc6NrAFvKjNp9NnfT7JIO2t+MYOxbsp4hBPDPYNoZ
 jK8Fy6Gsq9nyteEPNswm0Y3e0tkdR5EXmo5mnAIl8M0uJFg1EbvrLVeSwEuOAslV
 sbjXa0uR2MpecDVrxFVJMtbQjw/rOngDz991+tjEmMR1q7sQXVOhJCQrz/Js0JgJ
 p33o0lA1SZ4tki1VA3h7UmGiOllGFU5Df+sxGrqT/+sBtJFLbshVNePFQQecyp0O
 yoGuDY8sIfu5JQ8Pa6QuB1FYo2kz3VPPhqPRzQ/uJu6MpIQJisybguJBaGQm5i9i
 MAslPLtwRDUzL/W+WvNTfrzZlvyD0VavAVDNw2n0za93FWPkjio=
 =1G37
 -----END PGP SIGNATURE-----

Merge tag 'arm-soc/for-6.13/defconfig' of https://github.com/Broadcom/stblinux into soc/defconfig

This pull request contains a multi_v7_defconfig update:

- Florian aligns the ARM64 and ARM multi_v7_defconfig by enabling the
  kernel with debugging symbols by default and using the toolchain's
  dwarf version

* tag 'arm-soc/for-6.13/defconfig' of https://github.com/Broadcom/stblinux:
  ARM: multi_v7_defconfig: Enable debugging symbols by default

Link: https://lore.kernel.org/r/20241028035449.734504-1-florian.fainelli@broadcom.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2024-11-12 23:06:49 +01:00
Paul E. McKenney
80e935c8c1 rcutorture: Avoid printing cpu=-1 for no-fault RCU boost failure
If a CPU runs throughout the stalled grace period without passing
through a quiescent state, RCU priority boosting cannot help.
The rcu_torture_boost_failed() function therefore prints a message
flagging the first such CPU.  However, if the stall was instead due to
(for example) RCU's grace-period kthread being starved of CPU, there will
be no such CPU, causing rcu_check_boost_fail() to instead pass back -1
through its cpup CPU-pointer parameter.

Therefore, the current message complains about a mythical CPU -1.

This commit therefore checks for this situation, and notes that all CPUs
have passed through a quiescent state.

Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Reviewed-by: Neeraj Upadhyay <Neeraj.Upadhyay@amd.com>
Signed-off-by: Frederic Weisbecker <frederic@kernel.org>
2024-11-12 23:05:11 +01:00
Paul E. McKenney
ff9ba8db87 rcuscale: Add guest_os_delay module parameter
This commit adds a guest_os_delay module parameter that extends warm-up
and cool-down the specified number of seconds before and after the series
of test runs.  This allows the data-collection intervals from any given
rcuscale guest OSes to line up with active periods in the other rcuscale
guest OSes, and also allows the thermal warm-up period required to obtain
consistent results from one test to the next.

Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Reviewed-by: Neeraj Upadhyay <Neeraj.Upadhyay@amd.com>
Signed-off-by: Frederic Weisbecker <frederic@kernel.org>
2024-11-12 23:05:05 +01:00
Paul E. McKenney
046c06f5ba refscale: Correct affinity check
The current affinity check works fine until there are more reader
processes than CPUs, at which point the affinity check is looking for
non-existent CPUs.  This commit therefore applies the same modulus to
the check as is present in the set_cpus_allowed_ptr() call.

Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Reviewed-by: Neeraj Upadhyay <Neeraj.Upadhyay@amd.com>
Signed-off-by: Frederic Weisbecker <frederic@kernel.org>
2024-11-12 23:04:50 +01:00
Paul E. McKenney
32693634cd torture: Add --no-affinity parameter to kvm.sh
In performance tests, it can be counter-productive to spread torture-test
guest OSes across sockets.  Plus the experimenter might have ideas about
what CPUs individual guest OSes are to run on.  This commit therefore
adds a --no-affinity parameter to kvm.sh to prevent it from running
taskset on its guest OSes.

Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Reviewed-by: Neeraj Upadhyay <Neeraj.Upadhyay@amd.com>
Signed-off-by: Frederic Weisbecker <frederic@kernel.org>
2024-11-12 23:04:24 +01:00
Arnd Bergmann
94dd51c3bc Apple SoC DT updates for 6.13:
- Added base DTs for a bunch of non-Mac Apple iDevices (pre-M1)
 -----BEGIN PGP SIGNATURE-----
 
 iHUEABYKAB0WIQSByI3Ki0mXziclZJcd+FPLCI8zYgUCZzINwAAKCRAd+FPLCI8z
 Yk1GAQDz+XFZssOascDr+D1+wqa5+2t1SpCRj6aTphHFZmPrEQD9GExhKvU/XjWu
 7ZGM296FgJHaJ4L1MS8v5AqHrfbHTgs=
 =RFSL
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEiK/NIGsWEZVxh/FrYKtH/8kJUicFAmcz0KAACgkQYKtH/8kJ
 Uiccag//ajmGyz9hq3pog3Q0xxwuqqHplLMbSTHcIH9hAACsA/+JcGIRa+yijrLq
 AAyCgAd5MCcTwiG2W/8hOsPyJcq7ZR83SrCRXViqPpT5qnm1lUqqJtUYWvrjigYb
 l+164qUroNpY2UPa6g9r6f0QSxP/wy7WZu+eOntp2KjHoVrPXY/myh4meOg4G9JW
 Hz92R1rImmPkWC7JgRrtVHbuKz9CuPjog/7pLflrNAVsTb0Ia0tMc+n+8niQs88r
 YRNM95aDvy04dL/KFBuUx6NGg4D1GRhZJ6bTMYDyYFr+Er1v8n1mPG0NezMOmqD4
 x4zadCvr4g9lC6FzMxiVuX1nY6jNj5ifYDQvVTd8oE03dKz9OeYJCGHyFfi0xnL/
 i35zaBaCasiJhsYoiiVh5xuUUpaCTO/YWXL75THqjru/heP3639mK7IlSltYlE3N
 nWkGmofBEHCtrRO7QfUkEx3Jv3Hd/yc8UyfSycGg8C+JDP74Va8S3Bhs4iYWFkY+
 DI+ikluq+Uk5i1F0tflIObKo/kAUa2qZK6TdlEySPZp1jHTvgeW3H873llA8gCr4
 SFYb2VCLVTZxcxbtqajTMDPpdvIh1D/tcKBIrZ3Xc4XOiuNSzrKCd1M2nynR0o8v
 nOx0YS+D6h9Y+s0NnEPS4J6mfvnRPdv2l2hJ5W/mdUgaxLayUBQ=
 =RD3n
 -----END PGP SIGNATURE-----

Merge tag 'asahi-soc-dt-6.13' of https://github.com/AsahiLinux/linux into soc/dt

Apple SoC DT updates for 6.13:

- Added base DTs for a bunch of non-Mac Apple iDevices (pre-M1)

* tag 'asahi-soc-dt-6.13' of https://github.com/AsahiLinux/linux:
  arm64: Kconfig: Update help text for CONFIG_ARCH_APPLE
  arm64: dts: apple: Add A11 devices
  arm64: dts: apple: Add A10X devices
  arm64: dts: apple: Add A10 devices
  arm64: dts: apple: Add A9X devices
  arm64: dts: apple: Add A9 devices
  arm64: dts: apple: Add A8X devices
  arm64: dts: apple: Add A8 devices
  arm64: dts: apple: Add A7 devices
  dt-bindings: arm: apple: Add A11 devices
  dt-bindings: arm: apple: Add A10X devices
  dt-bindings: arm: apple: Add A10 devices
  dt-bindings: arm: apple: Add A9X devices
  dt-bindings: arm: apple: Add A9 devices
  dt-bindings: arm: apple: Add A8X devices
  dt-bindings: arm: apple: Add A8 devices
  dt-bindings: arm: apple: Add A7 devices
  dt-bindings: pinctrl: apple,pinctrl: Add A7-A11 compatibles
  dt-bindings: watchdog: apple,wdt: Add A7-A11 compatibles
  dt-bindings: arm: cpus: Add Apple A7-A11 CPU cores

Link: https://lore.kernel.org/r/a8a19596-5d46-4562-9555-3b3ae7a5a3e5@marcan.st
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2024-11-12 23:03:12 +01:00
Arnd Bergmann
31257ea09c More new boards: Rock-5C, Banana Pi P2 Pro
HDMI output enabled on a huge number of rk3588 boards, now that we
 have the ability to do that.
 
 A new RK356x variant - the RK3566T (with lower max-frequencies). The
 variant was already in use on some boards which then encoded those OPP
 differences in the board files itself. This moves this to saner place.
 
 Fixed-regulator nowadays has a preferred node-naming scheme set in the
 binding and we had accumulated a number of different styles over time.
 A change brings all of them in line for arm64 dts files.
 -----BEGIN PGP SIGNATURE-----
 
 iQFEBAABCAAuFiEE7v+35S2Q1vLNA3Lx86Z5yZzRHYEFAmcyI5cQH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uweswjFmhwbIXBsc6pp0RKiB2zc1bOOIXL5ubpZ1l/t
 Tp81shdhC0NBuiLCTCE4ZQXr05dfB5HN6kqNt/zvMUDTZF/tU4Y45G/BQCnaADz8
 PTZN95kMlsNKmmtGaXOiDcy430//NN9pW/LEemZeTeW3OgLOoQQ=
 =hMi+
 -----END PGP SIGNATURE-----

Merge tag 'v6.13-rockchip-dts64-2' of https://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip into soc/dt

More new boards: Rock-5C, Banana Pi P2 Pro

HDMI output enabled on a huge number of rk3588 boards, now that we
have the ability to do that.

A new RK356x variant - the RK3566T (with lower max-frequencies). The
variant was already in use on some boards which then encoded those OPP
differences in the board files itself. This moves this to saner place.

Fixed-regulator nowadays has a preferred node-naming scheme set in the
binding and we had accumulated a number of different styles over time.
A change brings all of them in line for arm64 dts files.

* tag 'v6.13-rockchip-dts64-2' of https://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip: (24 commits)
  arm64: dts: rockchip: use less broad pinctrl for pcie3x1 on Radxa E25
  arm64: dts: rockchip: add Radxa ROCK 5C
  dt-bindings: arm: rockchip: add Radxa ROCK 5C
  arm64: dts: rockchip: orangepi-5-plus: Enable GPU
  arm64: dts: rockchip: enable USB3 on NanoPC-T6
  arm64: dts: rockchip: adapt regulator nodenames to preferred form
  arm64: dts: rockchip: Enable HDMI display for rk3588 Cool Pi GenBook
  arm64: dts: rockchip: Enable HDMI display for rk3588 Cool Pi 4B
  arm64: dts: rockchip: Enable HDMI0 for rk3588 Cool Pi CM5 EVB
  arm64: dts: rockchip: Enable HDMI on NanoPi R6C/R6S
  arm64: dts: rockchip: Enable GPU on NanoPi R6C/R6S
  arm64: dts: rockchip: Enable HDMI on Hardkernel ODROID-M2
  arm64: dts: rockchip: Remove non-removable flag from sdmmc on rk3576-sige5
  arm64: dts: rockchip: Enable HDMI0 on FriendlyElec CM3588 NAS
  arm64: dts: rockchip: add Banana Pi P2 Pro board
  dt-bindings: arm: rockchip: add Banana Pi P2 Pro board
  arm64: dts: rockchip: Add new SoC dtsi for the RK3566T variant
  arm64: dts: rockchip: Prepare RK356x SoC dtsi files for per-variant OPPs
  arm64: dts: rockchip: Update CPU OPP voltages in RK356x SoC dtsi
  arm64: dts: rockchip: Add OPP voltage ranges to RK3399 OP1 SoC dtsi
  ...

Link: https://lore.kernel.org/r/3313711.oiGErgHkdL@diego
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2024-11-12 23:02:17 +01:00
Shaoyun Liu
8521e3c5f0 drm/amd/amdgpu: limit single process inside MES
This is for MES to limit only one process for the user queues

Signed-off-by: Shaoyun Liu <shaoyun.liu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2024-11-12 17:02:04 -05:00
Arnd Bergmann
06fc642c53 Fixed-regulator nowadays has preferred node-naming scheme set in the
binding. This gets all boards on the same state for Rockchip arm32-dts.
 -----BEGIN PGP SIGNATURE-----
 
 iQFEBAABCAAuFiEE7v+35S2Q1vLNA3Lx86Z5yZzRHYEFAmcyH54QHGhlaWtvQHNu
 dGVjaC5kZQAKCRDzpnnJnNEdgQqLB/9wgQ7tMybGu8ruGGGVcuyDGq28yqp4F53l
 2KlIZGKSv9zDmNq/uKQhGAnomQLv7zNPemr7iqDK2QeWmPPm5GclLuxnKe7GA7sL
 FyQrWWMNgI2ruH+ms8c8LcjzhWR010Vb6sWA/kXBEezW78Y+7EYaPAVdji7ylVH7
 o3wgq6GWvc3AGXV7OSjBFeU680snsnwg8rW1DVjUdWVdPNmMyiN4sQlYxGdbTQN/
 Vu8rdtROv2qiVhO7KvHfyrwTms56qTon8b3amzmKlFnBGlWOv4svrbwklzL9s+ua
 aPJe0GWvkGlt9vCnRnh7fi9zLdOWNv7G/DQwJT+r2rXlYCng3CtB
 =onFR
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEiK/NIGsWEZVxh/FrYKtH/8kJUicFAmcz0AQACgkQYKtH/8kJ
 UidCuA//UXJ8LTdhUvr5uBde5DlXftiDYy9VlO6k1bMb+W7T0mGjeA6ysKENC588
 8j5fUtmtCRO2nzD/pMp/A02mvi3ZH1ErLEzUZo7HKLjFgIVG0ZoVW31dRbDgkAbx
 d9wCGC7BHNo681I2xsBucoZwM55mMyeSI/EALVg89V7QYyj9tSjyr7Wj834jMOPp
 7cTL/ZVtSkyNIG3+JlFndEQPF2tsYRNclWUUjf2wuWkQm/C9lVr84oi1H8QWtZop
 tEixFi/kppfV6HXxt2Odk2pWKs7wJivPBVXX1L4ch8rqXUnxigCBPsKm7hmOp7qd
 oTIm6bUofYzRZEVexnTwYm+Cbazg5b+TsPoB48/SVXeOsV9MuNHSzzmd3nktJj40
 pbDOXTu8IBB1TpGHMVcU6e4UyDySDlIZnHxLyZLh5Flmym51Ft+pcni7R2+QG++B
 VZqkPJ3/UqHPeIYOVk0B/2jG6n/fzMwXQGMO9xusgDEYM7+bs7QjutpTSlVE4p6c
 0EUxdsT0JmERyuNo4NfNwR4cBtPIpXASBdT7rxdQOGD5XRg2rEex0j66lk6Gty5+
 TPQM+F9PEaqYCYjkuWWQXTKEJ/2gA67OiKuFu4ny5bUHuYJHxtTHSnaQnmRdobW+
 c2I3o3oCdG2cYwSIUKgslGX115lhfwflG8xBHlyJKP7uyMyqcBw=
 =3uQG
 -----END PGP SIGNATURE-----

Merge tag 'v6.13-rockchip-dts32-2' of https://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip into soc/dt

Fixed-regulator nowadays has preferred node-naming scheme set in the
binding. This gets all boards on the same state for Rockchip arm32-dts.

* tag 'v6.13-rockchip-dts32-2' of https://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip:
  ARM: dts: rockchip: adapt regulator nodenames to preferred form
  ARM: dts: rockchip: Add Relfor Saib board
  dt-bindings: arm: rockchip: Add Relfor Saib board
  dt-bindings: vendor-prefixes: Add Relfor labs
  ARM: dts: rockchip: Add watchdog node for RV1126
  dt-bindings: watchdog: rockchip: Add rockchip,rv1126-wdt string

Link: https://lore.kernel.org/r/6740039.4vTCxPXJkl@diego
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2024-11-12 23:00:36 +01:00
Arnd Bergmann
36255ab493 Allwinner Device Tree changes for 6.13 part 2
- Remove accidental suniv duplicates in Makefile
 - Add second source magnetometer for Pine Phone
 - Add orientation (mount matrix) for Pine Phone's accelerometer and
   magnetometer
 - Enable eMMC and MMC on A100 Perf1
 -----BEGIN PGP SIGNATURE-----
 
 iQJCBAABCgAsFiEE2nN1m/hhnkhOWjtHOJpUIZwPJDAFAmcwtssOHHdlbnNAY3Np
 ZS5vcmcACgkQOJpUIZwPJDC+zA/9F1YbB88RHtaLKwN/WLQZ3vkQxADhulsixI8X
 BHQATpsI477csCxjFJre5VPCDT8w77Dy4v0NHzIfZ/vB74wcTsBXoaW7jsSS9SQs
 V7Z9kf33loRaeY9OUgaJNZLBP0vPCt4GZBlW6VdMsJtID5ZMO0Gl42bFrL+QI8Oo
 4ZnINz+gcTZtJFU6h+ZTiCzqGe13NJTD/Q8g/yEjMc38tyvVf3t/IhUyZBHCDHs+
 G4Fs0aIpLYbicecRfk4sNTla2vsAezzkyaCu+Kq/W5dWy2vxKKIyarYMNmTmUJfH
 zed8oRKqqYedAI/1THMhNMTVm1Zr5FluhYBAkbGGVQNeLldBv+5P6Lte4pAUGIFJ
 Gmg0hWDW2KkIpmAmyVMAKgLtSQXLrwPS5Cls6doDk+6dJBh9unPKgl7CUFGnkJo6
 giZSvUi10CKCCf2SEG7KQyHb/dOCwquQf2TMVQvglMbxK4cfdvdryaN4/9z318aE
 eMQbN9MNpFsLUGtfDMjQJ2cOQBhAGsQROJOwLpjf3cBXl62RXx2iQK2e/DIm6sU0
 ElFAAxN7ciq7YlMFZDteEsrAKv9uTsqU7oqxVJFJbwRMhC/hPpknMIsPAzmQSfPx
 WgM1xVUeECDF9suhWAHBWVXi4gY3fTUxUk0UgkRrpPwfAmcECyGqVLU0JOKwowGP
 4/xFtBs=
 =vpQK
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEiK/NIGsWEZVxh/FrYKtH/8kJUicFAmczz24ACgkQYKtH/8kJ
 Uie1ng/+MJ9Uwv80VTf/qSmm2706bDiDg8A7r1lMeSTD/o57rcg6sfUjHUfLfbRb
 9LWIxOPFgqh+9J3NsivlMC2s3aIGqCJIXzC/0AXgfmwnE5/fKac7gZgctbZRRbJD
 3Uz403tcmRgTHrNpOEg74Yak0HC61gQeR7AtqeuvDz2KbMCvUR3qbpOZ2EqChxxv
 JDGBXVgrke3x6Cexawsf+DX/lBt5A+MMuPPNRdUS9ZIem5T/l0QjboLJU0lHt8MW
 BSfCeZx4SrigHwhHqJxYjVs9KhNIS/se7/QQ0Huw3rBKq/rN+506KduwZ1+r2P5n
 x5TrUt12kzsYPIyruXNBOQLo7fwgQ5dxxiphCMoagVA7CwT1ggnGmuoEEQeWW1KB
 e8gCb2WajgQmNzk9Gd3fG/cr8OjxMI9c5YEu/dy8Gy0UFzh2XD5q8Z2mEDPx01JI
 L8hpaMsRHntoKHK5nWeEsG9q+PcNMgGco7UOC0wpdlxbZwAJP8Q5eRzt9GglMIoX
 6TbAoiEA7rXI04ijkCAJ7pL6cCEbSIt1QY5eIKIohZYhj27sKvVkT/Kt9VIghoy6
 +GqzstDCf6Stf7erlV7Vfp2bwYefxiQtxA099XDaB16hHO3UfCwxnv+wG4cVCFL2
 EmVTsALzS5c+WGoUAcXitCoWhD5VAPGVbCrGRFvu5rraW/wNFpw=
 =4WAW
 -----END PGP SIGNATURE-----

Merge tag 'sunxi-dt-for-6.13-2' of https://git.kernel.org/pub/scm/linux/kernel/git/sunxi/linux into soc/dt

Allwinner Device Tree changes for 6.13 part 2

- Remove accidental suniv duplicates in Makefile
- Add second source magnetometer for Pine Phone
- Add orientation (mount matrix) for Pine Phone's accelerometer and
  magnetometer
- Enable eMMC and MMC on A100 Perf1

* tag 'sunxi-dt-for-6.13-2' of https://git.kernel.org/pub/scm/linux/kernel/git/sunxi/linux:
  arm64: dts: allwinner: a100: perf1: Add eMMC and MMC node
  arm64: dts: allwinner: pinephone: Add mount matrix to accelerometer
  arm64: dts: sun50i-a64-pinephone: Add mount-matrix for PinePhone magnetometers
  arm64: dts: sun50i-a64-pinephone: Add AF8133J to PinePhone
  ARM: dts: allwinner: Remove accidental suniv duplicates
  arm64: allwinner: a100: Add MMC related nodes
  arm64: dts: allwinner: a100: add usb related nodes
  dt-bindings: usb: sunxi-musb: Add A100 compatible string
  dt-bindings: usb: Add A100 compatible string
  dt-bindings: phy: sun50i-a64: add a100 compatible
  arm64: dts: allwinner: a100: add watchdog node
  arm64: dts: allwinner: A100: Add PMU mode
  ARM: dts: sunxi: add support for RerVision A33-Vstar board
  dt-bindings: arm: sunxi: document RerVision A33-Vstar board
  arm64: dts: allwinner: Add disable-wp for boards with micro SD card
  arm64: dts: allwinner: h313/h616/h618/h700: Enable audio codec for all supported boards
  arm64: dts: allwinner: h616: Add audio codec node

Link: https://lore.kernel.org/r/ZzC-OF57MT_yCeWH@wens.tw
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2024-11-12 22:58:06 +01:00
Arnd Bergmann
6660a1236f RISC-V Devicetrees for v6.13
StarFive:
 Support for the DeepComputing FML13V01, a Framework laptop compatible
 with a JH7110. This board is fairly different to the more standard SBCs
 offerings that the kernel already supports, so there's also some
 refactoring of jh7110-common.dtsi to move out nodes unused on the new
 board.
 
 Spacemit:
 A vendor prefix I grabbed from the basic support series, since its
 dependencies are not yet ready but peripheral drivers have started being
 merged.
 
 Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
 -----BEGIN PGP SIGNATURE-----
 
 iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZy3atgAKCRB4tDGHoIJi
 0j5TAP94t5ZS+Twusvf5ll28KRGY3GWeFDquXgqSeb58PrXpvAEAmSMfmo4RtadB
 Juh06Pu7ZiqWpQ0/StFcDboQqdZZLgM=
 =K0KY
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEiK/NIGsWEZVxh/FrYKtH/8kJUicFAmczz0AACgkQYKtH/8kJ
 Uid6RxAAqDyGogK3WkI7NkecA8wjaRuOms7aLfsVLDaJOrB76Ef+R4GIzJyP+Blp
 X1cOydidIo0kn1VyIZfNXLFYN710SfKUs5sKGF1Io/qC4WPCW8psfWiFlLHboH/e
 2/m7mOFY8OrzSDXgNmqaouAq/BXMlE1HO2q4CxrDhYu9zxr0XI7hjdGHnL737n0z
 x/U/0FY+s5Jqtm4ilFuK9eAs8uwzpvOhGfsdXYidJE3RiVC0TWgbzt0/pMlM74Sr
 XAIpnNSEpyUZGAApVKnta64Z/or4i/Hvaa4t0AdfUFPC9lxPaXM83KSQlLmXUZDW
 ADpMirltR2PEWgLON5xW88lEJRNem6VPa20h4x5mClle5yEIrdcfeh42jMdqwkNA
 1/UwzbLFx8NVNNd4WdykALsrEOupVo4WO6QX0wWxnp60JpmHef0/hQ/eSVs3zlAS
 LBqQ+Ycd/yWh6BYjBjhIOxvE3pyYduO26beGZFaC/8MPnbmoJ+hX+wvGk9Mh27pH
 gNjqSJeGOSdqkaLhizkTmvjFiottmS2+4mCIj2yKrNV74baW7yaatMEgBShBhMuJ
 nU1HbGNxNZdWfDYH9arXvHdXSFL0E5NqgftPqiLYGU1gXudWNHAp8hOgBR1o5vBh
 4khWIPjp2M767LUZgICGdzDL51GRTttY/zoMwuC6/NWbdxB10Hc=
 =jxMB
 -----END PGP SIGNATURE-----

Merge tag 'riscv-dt-for-v6.13' of https://git.kernel.org/pub/scm/linux/kernel/git/conor/linux into soc/dt

RISC-V Devicetrees for v6.13

StarFive:
Support for the DeepComputing FML13V01, a Framework laptop compatible
with a JH7110. This board is fairly different to the more standard SBCs
offerings that the kernel already supports, so there's also some
refactoring of jh7110-common.dtsi to move out nodes unused on the new
board.

Spacemit:
A vendor prefix I grabbed from the basic support series, since its
dependencies are not yet ready but peripheral drivers have started being
merged.

Signed-off-by: Conor Dooley <conor.dooley@microchip.com>

* tag 'riscv-dt-for-v6.13' of https://git.kernel.org/pub/scm/linux/kernel/git/conor/linux:
  riscv: dts: starfive: add DeepComputing FML13V01 board device tree
  dt-bindings: riscv: starfive: add deepcomputing,fml13v01
  dt-bindings: vendor: add deepcomputing
  riscv: dts: starfive: jh7110-common: move usb0 config to board dts
  riscv: dts: starfive: jh7110-common: revised device node
  dt-bindings: vendor-prefixes: add spacemit

Link: https://lore.kernel.org/r/20241108-washboard-material-6b9ff196063d@spud
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2024-11-12 22:57:20 +01:00
Arnd Bergmann
4c06765010 mvebu dt64 for 6.13 (part 1)
armada-*: Drop undocumented SATA phy names
 -----BEGIN PGP SIGNATURE-----
 
 iF0EABECAB0WIQQYqXDMF3cvSLY+g9cLBhiOFHI71QUCZy3bAQAKCRALBhiOFHI7
 1RnaAJ9si+GQ11n0p3QIJKzJuBMw0SmSEgCgnMZmI+sQAZGD+MTDoHCS6pcrA/I=
 =q/MI
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEiK/NIGsWEZVxh/FrYKtH/8kJUicFAmczzxwACgkQYKtH/8kJ
 UifLtRAAihxi3iGmcXkXCaKBjCGTrB+9lYErB4pQjAcWljAk3yvuqaU4fkhhvRI8
 rX4RB1mfMAh01YaJs21OXF9gHXzO+vrvl7HMCvOYQfsykH1OT57j3S0IXL1vwAkt
 yuPiHKbZyI7jQQ98OnJIPgfxlNNoBoP4WTtOKMBJHfqEaHtF9Xg+1Zy8YhYyUAOm
 lbXfjylbE+Ea6mXn7XAh+DOIRfSG/eyxv2pJhANgsAJkklgYBsgoMBEDKOT7p6nC
 KBCqphMC7+TxXO6ksou7R70a7JvLuenWjzHMGc1sd5u7+68guHXRhAMnYlf5JJd4
 axjAky2+L4uvANJE4z8sdbmhU894puXGSc33G0XhVaXkgrKjQxR0gMYsVmFMTSfB
 axvrDGFbdcg6k1KSB5elwNNVlpSHP7gCEMAHWBj4AqOYqr3458NHacDMhsMRohjY
 iVDmAblC9QbFIoTpG3OLE8yo2j9yGrYhsa5nnRAl9VUiGKqlpYu95YjtAmXccPg9
 ak0X919IyDtqm2UgtLfDb1vib5sminunGIQSsypvOrk0+B+KpNIRiTOz7TtAZ6LU
 tRPa2bNTEwIPlk8tke8+3Bp3JThcIQ7riVY+W6WZfiLuQ6jKU1tacfYDDUsq9Nok
 aio6nyWhVF4XL/fk7sy75eVPshSg1oXNLGuO47r0g3VXUUZPdN8=
 =o0dX
 -----END PGP SIGNATURE-----

Merge tag 'mvebu-dt64-6.13-1' of https://git.kernel.org/pub/scm/linux/kernel/git/gclement/mvebu into soc/dt

mvebu dt64 for 6.13 (part 1)

armada-*: Drop undocumented SATA phy names

* tag 'mvebu-dt64-6.13-1' of https://git.kernel.org/pub/scm/linux/kernel/git/gclement/mvebu:
  arm64: dts: marvell: Drop undocumented SATA phy names

Link: https://lore.kernel.org/r/878qtu83vh.fsf@BLaptop.bootlin.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2024-11-12 22:56:44 +01:00
Arnd Bergmann
4bdb783791 mvebu dt for 6.13 (part 1)
turris-omnia: prepare device tree for LED brightness change detection
 kirkwood: fix at24 EEPROM node name
 -----BEGIN PGP SIGNATURE-----
 
 iF0EABECAB0WIQQYqXDMF3cvSLY+g9cLBhiOFHI71QUCZy3Z9AAKCRALBhiOFHI7
 1XsoAJ4pNATVd6wMB99OU5acH2NoJNTAwQCfd9MxQ5Jry32vZb+hlGhbcSYt0+g=
 =lmuu
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEiK/NIGsWEZVxh/FrYKtH/8kJUicFAmczzv0ACgkQYKtH/8kJ
 Uid/EA//ZnhQOYIAeZjcPQvzfI7Eyxrn3UNUqBrL54UNEgq0IxyYAZd58ayRzA1y
 GxrknNGxw9dhVY7xZhl6iZyng7Xszh02zNEfgQNg77YIsUzD2SdHun3yJf65+dTt
 EEGrq2eYnc1SYICDtKiWP7w38zocALemXNUi7wc9SzjXQwuhmhszKIVET5H+5nSE
 tR2KXMOK5eyPcMsyl7slxNIN0+meqJhD/b335CcqyAmkjPDPLYx2haSrC2BlgPZE
 QtF5CrYUDF5Bbf9DbHGxrTKEQh/KNuHp9sfiQXAztKGJ1fPCGNny16+jiVRDd8z+
 WW878haXKC5QxhGhE6IWwOfMCR31bGr35RkrxcIiLxqrPBpWlgHCGnp7Kgxql1g8
 Zh4rTR0a7g8BOS6Gwc1x8kmLQG2AaFKmZMCBlKA7D0zvqPej5kBpfHHV/R24kWHm
 qaJeTSRMDWAlDuyusId5U0ZIN0t1Wkhkfg2wD1qAfBih+OBbln3eAHGVUQy/A8/X
 M1itMn/eF9fvKvCXlfzBp7ngraukJsj92KPeyjHwJJ2Qr//Vj5A1ZKI50siBvDWm
 9xxvU6n6tOTH0IrqMcX1tJ0vAIGLGhqYdznG2X8E1CHP4JUl/M2bxCxVyDgn0dL5
 +RwhKSb21wHWYbfE9PhOi3Oegn/wp5PKegdPhC/3Iar7YWcAetU=
 =XOvv
 -----END PGP SIGNATURE-----

Merge tag 'mvebu-dt-6.13-1' of https://git.kernel.org/pub/scm/linux/kernel/git/gclement/mvebu into soc/dt

mvebu dt for 6.13 (part 1)

turris-omnia: prepare device tree for LED brightness change detection
kirkwood: fix at24 EEPROM node name

* tag 'mvebu-dt-6.13-1' of https://git.kernel.org/pub/scm/linux/kernel/git/gclement/mvebu:
  ARM: dts: turris-omnia: Add global LED brightness change interrupt
  ARM: dts: marvell: kirkwood: Fix at24 EEPROM node name

Link: https://lore.kernel.org/r/87bjyq83x0.fsf@BLaptop.bootlin.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2024-11-12 22:56:13 +01:00
Frank Li
c40655e331 hwmon: (tmp108) Add support for I3C device
Add support for I3C device in the tmp108 driver to handle the P3T1085
sensor. Register the I3C device driver to enable I3C functionality for the
sensor.

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Message-ID: <20241112-p3t1085-v4-2-a1334314b1e6@nxp.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2024-11-12 13:54:55 -08:00
Frank Li
700f325019 hwmon: (tmp108) Add helper function tmp108_common_probe() to prepare I3C support
Add help function tmp108_common_probe() to pave road to support i3c for
P3T1085(NXP) chip.

Use dev_err_probe() to simplify the code.

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Message-ID: <20241112-p3t1085-v4-1-a1334314b1e6@nxp.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2024-11-12 13:54:55 -08:00
Huisong Li
fabb1f813e hwmon: (acpi_power_meter) Fix fail to load module on platform without _PMD method
According to the ACPI specification, the _PMD method is optional. The
acpi_power_meter driver shouldn't fail to load if the platform has no
_PMD method.

Signed-off-by: Huisong Li <lihuisong@huawei.com>
Message-ID: <20241112021228.22914-1-lihuisong@huawei.com>
[groeck: Reworded commit description]
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2024-11-12 13:54:55 -08:00
Pei Xiao
57ee12b6c5 hwmon: (nct6775-core) Fix overflows seen when writing limit attributes
DIV_ROUND_CLOSEST() after kstrtoul() results in an overflow if a large
number such as 18446744073709551615 is provided by the user.
Fix it by reordering clamp_val() and DIV_ROUND_CLOSEST() operations.

Signed-off-by: Pei Xiao <xiaopei01@kylinos.cn>
Fixes: c3963bc0a0 ("hwmon: (nct6775) Split core and platform driver")
Message-ID: <7d5084cea33f7c0fd0578c59adfff71f93de94d9.1731375425.git.xiaopei01@kylinos.cn>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2024-11-12 13:54:55 -08:00
Marek Vasut
255ab27a07 hwmon: (pwm-fan) Introduce start from stopped state handling
Delta AFC0612DB-F00 fan has to be set to at least 30% PWM duty cycle
to spin up from a stopped state, and can be afterward throttled down to
lower PWM duty cycle. Introduce support for operating such fans which
need to start at higher PWM duty cycle first and can slow down next.

Introduce two new DT properties, "fan-stop-to-start-percent" and
"fan-stop-to-start-us". The former describes the minimum percent
of fan RPM at which it will surely spin up from stopped state. This
value can be found in the fan datasheet and can be converted to PWM
duty cycle easily. The "fan-stop-to-start-us" describes the minimum
time in microseconds for which the fan has to be set to stopped state
start RPM for the fan to surely spin up.

Adjust the PWM setting code such that if the PWM duty cycle is below
the minimum duty cycle needed by the fan to spin up from stopped state,
then first set the PWM duty cycle to the minimum duty cycle needed
by the fan to spin up from stopped state, then wait the time necessary
for the fan to spin up from stopped state, and finally set the PWM duty
cycle to the one desired by user.

Signed-off-by: Marek Vasut <marex@denx.de>
Message-ID: <20241106185925.223736-2-marex@denx.de>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2024-11-12 13:54:55 -08:00
Marek Vasut
80bc64201e dt-bindings: hwmon: pwm-fan: Document start from stopped state properties
Delta AFC0612DB-F00 fan has to be set to at least 30% PWM duty cycle
to spin up from a stopped state, and can be afterward throttled down to
lower PWM duty cycle. Introduce support for operating such fans which
need to start at higher PWM duty cycle first and can slow down next.

Document two new DT properties, "fan-stop-to-start-percent" and
"fan-stop-to-start-usec". The former describes the minimum percent
of fan RPM at which it will surely spin up from stopped state. This
value can be found in the fan datasheet and can be converted to PWM
duty cycle easily. The "fan-stop-to-start-usec" describes the minimum
time in microseconds for which the fan has to be set to stopped state
start RPM for the fan to surely spin up.

Signed-off-by: Marek Vasut <marex@denx.de>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Message-ID: <20241106185925.223736-1-marex@denx.de>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2024-11-12 13:54:55 -08:00
Frank Li
11d35624d7 hwmon: (tmp108) Add NXP p3t1085 support
Add compatible string 'nxp,p3t1085' since p3t1085's register layout is the
same as tmp108.

The p3t1085 supports I3C interface.

Update document tmp108.rst and Kconfig's help context.

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Message-ID: <20241111-p3t1085-v3-2-bff511550aad@nxp.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2024-11-12 13:54:55 -08:00
Frank Li
4585580781 dt-bindings: hwmon: ti,tmp108: Add nxp,p3t1085 compatible string
The register layout of P3T1085 is the same as ti,tmp108. Add compatible
string nxp,p3t1085 for it. The difference of P3T1085 is support I3C.

Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Frank Li <Frank.Li@nxp.com>
Message-ID: <20241111-p3t1085-v3-1-bff511550aad@nxp.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2024-11-12 13:54:55 -08:00
Abhinav Saxena
1f22c07257 hwmon: (sch5627, max31827) Fix typos in driver documentation
Fix some typos in hwmon/sch5627 and hwmon/max31827 reported by
checkpatch.pl. These changes are purely documentation cleanup with no
functional modifications.

Signed-off-by: Abhinav Saxena <xandfury@gmail.com>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Reviewed-by: Bagas Sanjaya <bagasdotme@gmail.com>
Message-ID: <20241108212201.144482-1-xandfury@gmail.com>
[groeck: Updated subject]
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2024-11-12 13:54:55 -08:00
Andy Shevchenko
c412d7af01 hwmon: (jc42) Drop of_match_ptr() protection
This prevents use of this driver with ACPI via PRP0001 and
is an example of an anti pattern I'm trying to remove from
the kernel. Hence drop from this driver.

Also switch of.h for mod_devicetable.h include given use of
struct of_device_id which is defined in that header.

Reported-by: Konstantin Aladyshev <aladyshev22@gmail.com>
Closes: https://lore.kernel.org/r/CACSj6VW7WKv5tiAkLCvSujENJvXq1Mc7_7vtkQsRSz3JGY0i3Q@mail.gmail.com
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Message-ID: <20241108124348.1392473-1-andriy.shevchenko@linux.intel.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2024-11-12 13:54:55 -08:00
Abhinav Saxena
2e5bdf8aa2 hwmon: (f71882fg) Fix grammar in fan speed trip points explanation
Fix several grammatical issues in the fan speed trip points documentation:
- Replace awkward "which % the fan should run at at" construction with
 clearer "that specify the percentage at which"
- Fix incorrect "is chip depended" to "are chip dependent" for correct
 verb agreement and adjective form
- Improve readability by reorganizing first sentence and separating the
 complex explanation into simpler parts
- Add hyphen before "see" to improve readability
- Remove redundant "at" in temperature description

No functional changes, documentation only.

Signed-off-by: Abhinav Saxena <xandfury@gmail.com>
Message-ID: <20241107013849.47833-1-xandfury@gmail.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2024-11-12 13:54:55 -08:00
Jerome Brunet
2fc032ec1d dt-bindings: hwmon: pmbus: add ti tps25990 support
Add DT binding for the Texas Instruments TPS25990 eFuse

Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Message-ID: <20241105-tps25990-v4-6-0e312ac70b62@baylibre.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2024-11-12 13:54:55 -08:00
Jerome Brunet
509c3a3626 hwmon: (pmbus/core) clear faults after setting smbalert mask
pmbus_write_smbalert_mask() ignores the errors if the chip can't set
smbalert mask the standard way. It is not necessarily a problem for the irq
support if the chip is otherwise properly setup but it may leave an
uncleared fault behind.

pmbus_core will pick the fault on the next register_check(). The register
check will fails regardless of the actual register support by the chip.

This leads to missing attributes or debugfs entries for chips that should
provide them.

We cannot rely on register_check() as PMBUS_SMBALERT_MASK may be read-only.

Unconditionally clear the page fault after setting PMBUS_SMBALERT_MASK to
avoid the problem.

Suggested-by: Guenter Roeck <linux@roeck-us.net>
Fixes: 221819ca4c ("hwmon: (pmbus/core) Add interrupt support")
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Message-ID: <20241105-tps25990-v4-5-0e312ac70b62@baylibre.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2024-11-12 13:54:55 -08:00
Jerome Brunet
7a750b3986 hwmon: (pmbus/core) allow drivers to override WRITE_PROTECT
Use _pmbus_read_byte_data() rather than calling smbus directly to check
the write protection status. This give a chance to device implementing
write protection differently to report back on the actual write protection
status.

Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Message-ID: <20241105-tps25990-v4-2-0e312ac70b62@baylibre.com>
[groeck: Fix page parameter of _pmbus_read_byte_data()]
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2024-11-12 13:54:39 -08:00
Arnd Bergmann
2f992e7346 STM32 DT for v6.13, round 1
Highlights:
 ----------
 
 - MPU:
   - STM32MP13:
     - ST DK board:
       - Add support of WLAN/BT Murata Type 1DX module.
     - DH SOM:
       - Add M24256E EEPROM suport.
 
   - STMP32MP15:
     - Use IWDG2 as wakeup source.
     - Add support of WLAN/BT Murata Type 1DX module on DK2 board.
 
   - STM32MP25:
     - Enable RTC.
     - Add DMA support for U(S)ART, I2C and SPI instances.
 -----BEGIN PGP SIGNATURE-----
 
 iQJRBAABCgA7FiEEctl9+nxzUSUqdELdf5rJavIecIUFAmctzAYdHGFsZXhhbmRy
 ZS50b3JndWVAZm9zcy5zdC5jb20ACgkQf5rJavIecIXE3RAAhDwMjvowY1XYAbOd
 sMY7SiIZCThBgys6E749zgkstMKATfNiRVPi/Xwhibfp8Dk7snijwI2SMd/Wc49i
 DnycNY/pBxgCWm4rx4QESgWFtBnh4jSN/OjITIf8EwIg2tvDFU8GCmpeHekaGDSn
 6rYQOSYM9G9EIFXHNJPfbsPfCERyinn89LQT0vql47EjN2oKZRwG02ZPPHJziIjs
 tAONJlp+5gWDnCgzophlqQA4+8q+sShQbW+AhCBlYTrwDqLPyP/83tOiKbcWzvNl
 VukPCnsKqyD8qCmyTDxjghprwoVd2crFxjeI+JiAIPb1h4SpkRmA9sv62hMKPJBM
 M3QSVOaLGi0VkXn6Aow4mdAvEX+aO1sfA6G/FCF99BcLUbR/gVoML+ZkPEXEFa4c
 KsjcZuk99A00msZ4VT/Z1ydftoWgajT5ZXbxzujArIKB7w+Nv/NhUQ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JziGo=
 =+sT+
 -----END PGP SIGNATURE-----

Merge tag 'stm32-dt-for-v6.13-1' of https://git.kernel.org/pub/scm/linux/kernel/git/atorgue/stm32 into soc/dt

STM32 DT for v6.13, round 1

Highlights:
----------

- MPU:
  - STM32MP13:
    - ST DK board:
      - Add support of WLAN/BT Murata Type 1DX module.
    - DH SOM:
      - Add M24256E EEPROM suport.

  - STMP32MP15:
    - Use IWDG2 as wakeup source.
    - Add support of WLAN/BT Murata Type 1DX module on DK2 board.

  - STM32MP25:
    - Enable RTC.
    - Add DMA support for U(S)ART, I2C and SPI instances.

* tag 'stm32-dt-for-v6.13-1' of https://git.kernel.org/pub/scm/linux/kernel/git/atorgue/stm32:
  arm64: dts: st: add DMA support on SPI instances of stm32mp25
  arm64: dts: st: add DMA support on I2C instances of stm32mp25
  arm64: dts: st: add DMA support on U(S)ART instances of stm32mp25
  arm64: dts: st: add RNG node on stm32mp251
  arm64: dts: st: enable RTC on stm32mp257f-ev1 board
  arm64: dts: st: add RTC on stm32mp25x
  ARM: dts: stm32: add support of WLAN/BT on stm32mp135f-dk
  ARM: dts: stm32: add support of WLAN/BT on stm32mp157c-dk2
  ARM: dts: stm32: rtc, add LSCO to WLAN/BT module on stm32mp135f-dk
  ARM: dts: stm32: rtc, add LSCO to WLAN/BT module on stm32mp157c-dk2
  ARM: dts: stm32: rtc, add pin to provide LSCO on stm32mp13
  ARM: dts: stm32: rtc, add pin to provide LSCO on stm32mp15
  ARM: dts: stm32: Describe M24256E write-lockable page in DH STM32MP13xx DHCOR SoM DT
  ARM: dts: stm32: Add IWDG2 EXTI interrupt mapping and mark as wakeup source

Link: https://lore.kernel.org/r/92d2d6df-cc5c-488f-8ebd-550b1903db12@foss.st.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2024-11-12 22:53:47 +01:00
Alexei Starovoitov
c748a255ae Merge branch 'selftests-bpf-fix-for-bpf_signal-stalls-watchdog-for-test_progs'
Eduard Zingerman says:

====================
selftests/bpf: fix for bpf_signal stalls, watchdog for test_progs

Test case 'bpf_signal' had been recently reported to stall, both on
the mailing list [1] and CI [2]. The stall is caused by CPU cycles
perf event not being delivered within expected time frame, before test
process enters system call and waits indefinitely.

This patch-set addresses the issue in several ways:
- A watchdog timer is added to test_progs.c runner:
  - it prints current sub-test name to stderr if sub-test takes longer
    than 10 seconds to finish;
  - it terminates process executing sub-test if sub-test takes longer
    than 120 seconds to finish.
- The test case is updated to await perf event notification with a
  timeout and a few retries, this serves two purposes:
  - busy loops longer to increase the time frame for CPU cycles event
    generation/delivery;
  - makes a timeout, not stall, a worst case scenario.
- The test case is updated to lower frequency of perf events, as high
  frequency of such events caused events generation throttling,
  which in turn delayed events delivery by amount of time sufficient
  to cause test case failure.

Note:

  librt pthread-based timer API is used to implement watchdog timer.
  I chose this API over SIGALRM because signal handler execution
  within test process context was sufficient to trigger perf event
  delivery for send_signal/send_signal_nmi_thread_remote test case,
  w/o any additional changes. Thus I concluded that SIGALRM based
  implementation interferes with tests execution.

[1] https://lore.kernel.org/bpf/CAP01T75OUeE8E-Lw9df84dm8ag2YmHW619f1DmPSVZ5_O89+Bg@mail.gmail.com/
[2] https://github.com/kernel-patches/bpf/actions/runs/11791485271/job/32843996871
====================

Link: https://lore.kernel.org/r/20241112110906.3045278-1-eddyz87@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
2024-11-12 13:53:28 -08:00
Eduard Zingerman
4edab4c55d selftests/bpf: update send_signal to lower perf evemts frequency
Similar to commit [1] sample perf events less often in
test_send_signal_nmi(). This should reduce perf events throttling.

[1] 7015843afc ("selftests/bpf: Fix send_signal test with nested CONFIG_PARAVIRT")

Signed-off-by: Eduard Zingerman <eddyz87@gmail.com>
Link: https://lore.kernel.org/r/20241112110906.3045278-5-eddyz87@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
2024-11-12 13:53:27 -08:00
Eduard Zingerman
3209139d00 selftests/bpf: allow send_signal test to timeout
The following invocation:

  $ t1=send_signal/send_signal_perf_thread_remote \
    t2=send_signal/send_signal_nmi_thread_remote  \
    ./test_progs -t $t1,$t2

Leads to send_signal_nmi_thread_remote to be stuck
on a line 180:

  /* wait for result */
  err = read(pipe_c2p[0], buf, 1);

In this test case:
- perf event PERF_COUNT_HW_CPU_CYCLES is created for parent process;
- BPF program is attached to perf event, and sends a signal to child
  process when event occurs;
- parent program burns some CPU in busy loop and calls read() to get
  notification from child that it received a signal.

The perf event is declared with .sample_period = 1.
This forces perf to throttle events, and under some unclear conditions
the event does not always occur while parent is in busy loop.
After parent enters read() system call CPU cycles event won't be
generated for parent anymore. Thus, if perf event had not occurred
already the test is stuck.

This commit updates the parent to wait for notification with a timeout,
doing several iterations of busy loop + read_with_timeout().

Signed-off-by: Eduard Zingerman <eddyz87@gmail.com>
Link: https://lore.kernel.org/r/20241112110906.3045278-4-eddyz87@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
2024-11-12 13:53:27 -08:00
Eduard Zingerman
03066ed310 selftests/bpf: add read_with_timeout() utility function
int read_with_timeout(int fd, char *buf, size_t count, long usec)

As a regular read(2), but allows to specify a timeout in
micro-seconds. Returns -EAGAIN on timeout.
Implemented using select().

Signed-off-by: Eduard Zingerman <eddyz87@gmail.com>
Link: https://lore.kernel.org/r/20241112110906.3045278-3-eddyz87@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
2024-11-12 13:53:27 -08:00
Eduard Zingerman
d9d4d127e8 selftests/bpf: watchdog timer for test_progs
This commit provides a watchdog timer that sets a limit of how long a
single sub-test could run:
- if sub-test runs for 10 seconds, the name of the test is printed
  (currently the name of the test is printed only after it finishes);
- if sub-test runs for 120 seconds, the running thread is terminated
  with SIGSEGV (to trigger crash_handler() and get a stack trace).

Specifically:
- the timer is armed on each call to run_one_test();
- re-armed at each call to test__start_subtest();
- is stopped when exiting run_one_test().

Default timeout could be overridden using '-w' or '--watchdog-timeout'
options. Value 0 can be used to turn the timer off.
Here is an example execution:

    $ ./ssh-exec.sh ./test_progs -w 5 -t \
      send_signal/send_signal_perf_thread_remote,send_signal/send_signal_nmi_thread_remote
    WATCHDOG: test case send_signal/send_signal_nmi_thread_remote executes for 5 seconds, terminating with SIGSEGV
    Caught signal #11!
    Stack trace:
    ./test_progs(crash_handler+0x1f)[0x9049ef]
    /lib64/libc.so.6(+0x40d00)[0x7f1f1184fd00]
    /lib64/libc.so.6(read+0x4a)[0x7f1f1191cc4a]
    ./test_progs[0x720dd3]
    ./test_progs[0x71ef7a]
    ./test_progs(test_send_signal+0x1db)[0x71edeb]
    ./test_progs[0x9066c5]
    ./test_progs(main+0x5ed)[0x9054ad]
    /lib64/libc.so.6(+0x2a088)[0x7f1f11839088]
    /lib64/libc.so.6(__libc_start_main+0x8b)[0x7f1f1183914b]
    ./test_progs(_start+0x25)[0x527385]
    #292     send_signal:FAIL
    test_send_signal_common:PASS:reading pipe 0 nsec
    test_send_signal_common:PASS:reading pipe error: size 0 0 nsec
    test_send_signal_common:PASS:incorrect result 0 nsec
    test_send_signal_common:PASS:pipe_write 0 nsec
    test_send_signal_common:PASS:setpriority 0 nsec

Timer is implemented using timer_{create,start} librt API.
Internally librt uses pthreads for SIGEV_THREAD timers,
so this change adds a background timer thread to the test process.
Because of this a few checks in tests 'bpf_iter' and 'iters'
need an update to account for an extra thread.

For parallelized scenario the watchdog is also created for each worker
fork. If one of the workers gets stuck, it would be terminated by a
watchdog. In theory, this might lead to a scenario when all worker
threads are exhausted, however this should not be a problem for
server_main(), as it would exit with some of the tests not run.

Signed-off-by: Eduard Zingerman <eddyz87@gmail.com>
Link: https://lore.kernel.org/r/20241112110906.3045278-2-eddyz87@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
2024-11-12 13:53:27 -08:00
Arnd Bergmann
d745bdcb7a TI K3 device tree updates for v6.13
Generic Fixups/Cleanups:
 - Cleanup bootph-* tags to limit to leaf nodes only
 - clock IDs for MCSPI instances fixed up across J7xx family
 - Misc indentation and whitespace cleanup across dts
 
 New SoC
 - J742s2 which is a cutdown of existing J784s4 and uses same EVM
 
 SoC Specific features and Fixes:
 - eQEP (counter) support across AM64/AM62/AM62A
 
 AM64
 - M4F Remoteproc support
 - stats collection support for ICSSGs via ti,pa-stats
 - Add PCIe EP overlays
 
 AM65
 - stats collection support for ICSSGs via ti,pa-stats
 
 AM62:
 - M4F Remoteproc support
 - eMMC/SD TAP value updates
 - dtbs_check fixes for opp_efuse_table
 
 AM62A
 - 1.4GHz opp entry
 
 AM62P
 - 1.4GHz opp entry
 
 J7200
 - Add PCIe EP overlays
 - Pinmux node reg range fixes
 
 Board Specific
 
 AM62
 - am62 verdin ivy carrier board support
 - am625-verdin TPM device support
 - am62 verdin ivy board support
 - Beagleplay Mikrobus PWM header support
 - am62-verdin increase SD regulator startup delay
 
 AM64
 - am642-phyboard-electra-rdk trickle charger support
 - am64-phy* drop buswidth from sdhci nodes
 -----BEGIN PGP SIGNATURE-----
 
 iQFEBAABCAAuFiEEyRC2zAhGcGjrhiNExEYeRXyRFuMFAmcp9KAQHHZpZ25lc2hy
 QHRpLmNvbQAKCRDERh5FfJEW40WlCAClaeiGzfL3a9da/KtAeee7H7Q+XWbjZod9
 rysiexvCisp+aG9XUnHgS+zuiyYXHBRwpXVnOF5tKxrcOvmxloqOLr/5ZjWCtJKT
 efCrgAmZfpwnBXlNQzUwYVmJ5j1hOTVowa01uMVZd5vGwMa+GUjaZe+jakbI+EOn
 4F7dlNW6YTnwFvpyIiFCkVd3vXLNYNmpsbOT+ax6+uuRzDJ7z4QFQuWNvHLy/c9r
 HG6AUXLR8EB2+MhJVSp41mrh8N4Tdwledtbs+VbzMMvMzlErMpx9AEeqOqp9cmo7
 vNGXu5K/Abaozp1PryaxH1r0OPpKxL1nyUZ5xT9FpuXI0NpTxAuk
 =E9iT
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEiK/NIGsWEZVxh/FrYKtH/8kJUicFAmczzh8ACgkQYKtH/8kJ
 Uid1jg//YlvVspOI+zVkGezhyToEvTxefDWs7pMmceo62Xu++i7XxIvZ/C9yUz7O
 gPJ4rp/pXGMkQuwZSkTH21DwGpXJC2xTbZ10meuSwiiDXys25VnYcQO3/PxqcY5j
 JEib8S0FVLqPBYwn6WCjKtznD+RKUNLiMbN/6vWvZfJMbpCVysJDP2LYTYWAmsm8
 0gvyJU45xxYN+lhMWqjQXdtbycjTCidT5ZRIedvvV3sp5XwLOzNZLXgnezqdrCIV
 EHCYZjai70atPAcUeBOjpr6RFN2NqKXx610vKdBNxjvltBYGCxk5vovYXJOjoxBl
 uWZz/uq4LIxUfRIov31vEE1BtOeP1/xorowSL6PTrYLT863D3kQ+OyqIBr/LJlsk
 S6OubK5dVJBJnuwohvpb/Vsqg3GuiHVRoRUAWGvfO27b7K1J752Zo7wJW4So/d+v
 39N0k240xjqunfcDL/A/08FPliCUfx1qma3PQQc7brPDVyOo9o94yrbZxpbJpjsn
 uRoIVnty9Zi2JAL+aYAAy3t0LFxQ2hDlCDIvcz9NhHQzpmc4FWzdRKbqptgnGaLf
 2ifDZPfNqYK/TTQT6QwGDI4EfQNTTqLIEJUo6FigyVaS3tyvKcUYyP0m/5zAk6GD
 Jo3F519d/mDCPTtJAtm5O0HPsXXvO4Z3NnIfVeoDPeU+zDk6wNw=
 =ngkz
 -----END PGP SIGNATURE-----

Merge tag 'ti-k3-dt-for-v6.13' of https://git.kernel.org/pub/scm/linux/kernel/git/ti/linux into soc/dt

TI K3 device tree updates for v6.13

Generic Fixups/Cleanups:
- Cleanup bootph-* tags to limit to leaf nodes only
- clock IDs for MCSPI instances fixed up across J7xx family
- Misc indentation and whitespace cleanup across dts

New SoC
- J742s2 which is a cutdown of existing J784s4 and uses same EVM

SoC Specific features and Fixes:
- eQEP (counter) support across AM64/AM62/AM62A

AM64
- M4F Remoteproc support
- stats collection support for ICSSGs via ti,pa-stats
- Add PCIe EP overlays

AM65
- stats collection support for ICSSGs via ti,pa-stats

AM62:
- M4F Remoteproc support
- eMMC/SD TAP value updates
- dtbs_check fixes for opp_efuse_table

AM62A
- 1.4GHz opp entry

AM62P
- 1.4GHz opp entry

J7200
- Add PCIe EP overlays
- Pinmux node reg range fixes

Board Specific

AM62
- am62 verdin ivy carrier board support
- am625-verdin TPM device support
- am62 verdin ivy board support
- Beagleplay Mikrobus PWM header support
- am62-verdin increase SD regulator startup delay

AM64
- am642-phyboard-electra-rdk trickle charger support
- am64-phy* drop buswidth from sdhci nodes

* tag 'ti-k3-dt-for-v6.13' of https://git.kernel.org/pub/scm/linux/kernel/git/ti/linux: (61 commits)
  arm64: dts: ti: k3-am62: use opp_efuse_table for opp-table syscon
  arm64: dts: ti: k3-am62p5-sk: add 1.4ghz opp entry
  arm64: dts: ti: k3-am62p: add opp frequencies
  arm64: dts: ti: k3-am62a7-sk: add 1.4ghz opp entry
  arm64: dts: ti: k3-am62a: add opp frequencies
  arm64: dts: ti: k3-am62-verdin: Add Ivy carrier board
  arm64: dts: ti: k3-am62-verdin: add label to som adc node
  dt-bindings: arm: ti: Add verdin am62 ivy board
  arm64: dts: ti: k3-am642-phyboard-electra-rdk: Enable trickle charger
  arm64: dts: ti: k3-am64-phycore-som: Add M4F remoteproc nodes
  arm64: dts: ti: k3-am62-phycore-som: Add M4F remoteproc nodes
  arm64: dts: ti: minor whitespace cleanup
  arm64: dts: ti: k3-am62x-phyboard-lyra: Fix indentation in audio-card
  arm64: dts: ti: k3-am642-phyboard-electra-rdk: Fix bus-width property in MMC nodes
  arm64: dts: ti: k3-am64-phycore-som: Fix bus-width property in MMC nodes
  arm64: dts: ti: k3-am642-evm: Add overlay for PCIe0 EP mode
  arm64: dts: ti: k3-j7200-evm: Add overlay for PCIE1 Endpoint Mode
  arm64: dts: ti: k3-am62-main: Update otap/itap values
  arm64: dts: ti: k3-am625-beagleplay: Enable MikroBUS PWM
  arm64: dts: ti: k3-am62-verdin: Fix SD regulator startup delay
  ...

Link: https://lore.kernel.org/r/3ded4795-2186-4e06-bda6-9c9a65a3fdb9@ti.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2024-11-12 22:52:31 +01:00