Commit Graph

70285 Commits

Author SHA1 Message Date
Christophe Leroy
e6c0c03245 mm: provide mm_struct and address to huge_ptep_get()
On powerpc 8xx huge_ptep_get() will need to know whether the given ptep is
a PTE entry or a PMD entry.  This cannot be known with the PMD entry
itself because there is no easy way to know it from the content of the
entry.

So huge_ptep_get() will need to know either the size of the page or get
the pmd.

In order to be consistent with huge_ptep_get_and_clear(), give mm and
address to huge_ptep_get().

Link: https://lkml.kernel.org/r/cc00c70dd384298796a4e1b25d6c4eb306d3af85.1719928057.git.christophe.leroy@csgroup.eu
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Reviewed-by: Oscar Salvador <osalvador@suse.de>
Cc: Jason Gunthorpe <jgg@nvidia.com>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: Nicholas Piggin <npiggin@gmail.com>
Cc: Peter Xu <peterx@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2024-07-12 15:52:15 -07:00
Chen Ni
fab451d158 xen/arm: Convert comma to semicolon
Replace a comma between expression statements by a semicolon.

Signed-off-by: Chen Ni <nichen@iscas.ac.cn>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
Message-ID: <20240710014208.1719662-1-nichen@iscas.ac.cn>
Signed-off-by: Juergen Gross <jgross@suse.com>
2024-07-11 08:48:28 +02:00
Chen Ni
acc3815db1 ARM: davinci: Convert comma to semicolon
Replace a comma between expression statements by a semicolon.

Fixes: efc1bb8a6f ("davinci: add power management support")
Signed-off-by: Chen Ni <nichen@iscas.ac.cn>
Acked-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2024-07-10 15:22:08 +02:00
Arnd Bergmann
505d66d1ab clone3: drop __ARCH_WANT_SYS_CLONE3 macro
When clone3() was introduced, it was not obvious how each architecture
deals with setting up the stack and keeping the register contents in
a fork()-like system call, so this was left for the architecture
maintainers to implement, with __ARCH_WANT_SYS_CLONE3 defined by those
that already implement it.

Five years later, we still have a few architectures left that are missing
clone3(), and the macro keeps getting in the way as it's fundamentally
different from all the other __ARCH_WANT_SYS_* macros that are meant
to provide backwards-compatibility with applications using older
syscalls that are no longer provided by default.

Address this by reversing the polarity of the macro, adding an
__ARCH_BROKEN_SYS_CLONE3 macro to all architectures that don't
already provide the syscall, and remove __ARCH_WANT_SYS_CLONE3
from all the other ones.

Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2024-07-10 14:23:38 +02:00
Arnd Bergmann
4b1a54b269 One more Arm32 DeviceTree update for v6.11
This fixes the DeviceTree validation warning about MSM8960 /memory node
 not having a unit address.
 -----BEGIN PGP SIGNATURE-----
 
 iQJJBAABCAAzFiEEBd4DzF816k8JZtUlCx85Pw2ZrcUFAmaNjB4VHGFuZGVyc3Nv
 bkBrZXJuZWwub3JnAAoJEAsfOT8Nma3FolIQAJN62TyBkhMZjpFYElEWswclY9mj
 yRi4s1M+3xbB6msrZh/EiTU9n6mjVQ4JXkdtWOVNGr8De4xvInP4N1x37G7zUUYG
 SDBx6j0tQo+exLuiMvIBGGwlEAVbG2uZ51miFr5U4XzdGYsmf7QWN4MrrmKSk4sT
 liUUjHCpeYPf/GbBl+or3K1c8Q+x9W4ut8t4RTDsCpcgv66jJ0KeyjH/AFkx8lJ4
 XKv4F5cMqPU4hzhYTecUTsr9+ZWub//0KEu1i5Im+fITrIKKJXnwvVyaW/BEL3/P
 DqMe98/a5cN7XcTYs1usTjVcdSUtJ4UPT+2tgTNhdlnJc+fIL9ihxFcTqXoOB+pO
 aoXumGd6wMszyIU+mwiTNOTkKg/sqTylPGivm04jv5nQ0QzffjBJniXcwAnO/6CC
 rf3Ngttd9a5fWs7v1QtpHhTfU/394GbIqRhsejRBdfgfrZmnt29Lysi+i3lfUvr5
 5imu50mRmeubH712f3DRFKymAuWNuwIAeiOoovlMpc9p2Ny2IHqEKaOb/2VpPx+u
 EU+jhfSH6T65BsxNyUdFb/i5YJ7TrKmSD1S9h4ojfL1xVu6klywxnRN/0k+kMhQt
 CYaw555L9kJjnHe6ZyIGo5qGTfr+kezJ864YAbdHVsjCXKPQ0OI7ebYiZ6NFvd55
 paMt4msZQbTP2m1r
 =hXOE
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEiK/NIGsWEZVxh/FrYKtH/8kJUicFAmaNqecACgkQYKtH/8kJ
 UifM3Q//cCpdmy37TRIEOTKvG0f1qIJnpRN+fL/0ooBtdu2tASHN+mzJz2Tu0Yu2
 WAjjeV5TrnNsz46I4ztnGpLt/fyKHAiNSIYSNKM1Q66McX4VNC10WAW23+h/tJTE
 xu4L+WS60AfLNCGQVczScm216DrFwROys4x8OVshZy/G7MxedLO36OITDeMDT56C
 ZGpHUMHB5EHj7dy8MqRP4ePnzIdNC3Ue05mGGfNtC/WTjjPYWvMUwA2HKwnZG/oL
 zdan+4iD6QRF6MIjBmN70Vm2Ky7n1r+9n9JjvhTyKB0sSJYE4XiWiXe26UvhLPDB
 WvzUDYDegY/oOX387c5jp6xTYB7rZDRmsJp5YnbJ5TbC3zYWfpU5fR7roOIU1cB8
 tgC5bINu/qqkFm8gfIX3dDHhABmq966XHO2JevNQpEce2IGREZyv85zwhWfgd0Id
 jx3mbbkZgg64Zxy5Alu1KaVWZg0KGpcDbwJNDl8V7bt1h2i1nJlhPOzELA14BxLG
 6AsY7IhY+k8XTkP83/n5LcPSxHYWwckw9i8Sn25qaSRYpcKqN1K4HPAm675P4xu5
 fy9b+zU+nrixTL1dDpbUKoZeWwo9dnY3VWsstUsXIOy8Sp5flwDv5QjOzcUY3+LO
 8g9xdl6pD0Nj6mSP76r6FKT5lICrzavaVhDxoyoho9/xU/PWi6c=
 =ehAY
 -----END PGP SIGNATURE-----

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

One more Arm32 DeviceTree update for v6.11

This fixes the DeviceTree validation warning about MSM8960 /memory node
not having a unit address.

* tag 'qcom-arm32-for-6.11-2' of https://git.kernel.org/pub/scm/linux/kernel/git/qcom/linux:
  ARM: dts: qcom: msm8960: correct memory base

Link: https://lore.kernel.org/r/20240709191506.3285-1-andersson@kernel.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2024-07-09 23:21:43 +02:00
Yanjun Yang
3ccea4784f ARM: Remove address checking for MMUless devices
Commit 169f9102f9 ("ARM: 9350/1: fault: Implement
copy_from_kernel_nofault_allowed()") added the function to check address
before use. However, for devices without MMU, addr > TASK_SIZE will
always fail.  This patch move this function after the #ifdef CONFIG_MMU
statement.

Signed-off-by: Yanjun Yang <yangyj.ee@gmail.com>
Acked-by: Ard Biesheuvel <ardb@kernel.org>
Closes: https://bugzilla.kernel.org/show_bug.cgi?id=218953
Fixes: 169f9102f9 ("ARM: 9350/1: fault: Implement copy_from_kernel_nofault_allowed()")
Link: https://lore.kernel.org/r/20240611100947.32241-1-yangyj.ee@gmail.com
Signed-off-by: Kees Cook <kees@kernel.org>
2024-07-09 08:53:59 -07:00
Linus Walleij
38b2482a27
ARM: spitz: Use software nodes for the ADS7846 touchscreen
Convert the Spitz to use software nodes to describe GPIOs for the
ADS7846 touchscreen. As part of the conversion switch from the custom
wait_for_sync() callback to defining hsync GPIO that can be used by
the ads7846 driver to detect hsync.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20240628180852.1738922-11-dmitry.torokhov@gmail.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2024-07-09 15:21:16 +02:00
Dmitry Torokhov
29c4e69f8e
ARM: spitz: Use software nodes to describe LED GPIOs
Convert Spitz to use software nodes for specifying GPIOs for the LEDs.

Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20240628180852.1738922-10-dmitry.torokhov@gmail.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2024-07-09 15:21:16 +02:00
Dmitry Torokhov
444b89875f
ARM: spitz: Use software nodes to describe MMC GPIOs
Convert Spitz to use software nodes for specifying GPIOs for the MMC.

Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20240628180852.1738922-9-dmitry.torokhov@gmail.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2024-07-09 15:21:15 +02:00
Dmitry Torokhov
1447c7df38
ARM: spitz: Use software nodes to describe LCD GPIOs
Convert Spitz to use software nodes for specifying GPIOs for the LCD.

Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20240628180852.1738922-8-dmitry.torokhov@gmail.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2024-07-09 15:21:15 +02:00
Dmitry Torokhov
9d91c7c39e
ARM: spitz: Use software nodes to describe audio GPIOs
Convert Spitz to use software nodes for specifying GPIOs for the audio
chip.

Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20240628180852.1738922-7-dmitry.torokhov@gmail.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2024-07-09 15:21:15 +02:00
Linus Walleij
224b9329fb
ARM: spitz: Use software nodes to describe SPI CS lines
Convert the Spitz to use software nodes for specifying SPI CS. Because
the SPI core can figure out the number of chipselects from the number
of GPIO handles specified in properties, setting "num-cs" property is
no longer needed.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20240628180852.1738922-6-dmitry.torokhov@gmail.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2024-07-09 15:21:15 +02:00
Dmitry Torokhov
6eabaf9d6e
ARM: spitz: Simplify instantiating SPI controller
platform_device_register_full() to instantiate SPI controller in one go
instead of allocating it, creating a software node, and registering the
platform device as separate steps.

Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20240628180852.1738922-5-dmitry.torokhov@gmail.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2024-07-09 15:21:15 +02:00
Dmitry Torokhov
f1d6588af9
ARM: pxa/gumstix: convert vbus gpio to use software nodes
Switch vbus gpios from using a custom GPIO lookup table to software
properties using PROPERTY_ENTRY_GPIO() constructs which closely mimic
device tree gpio properties.

Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20240628180852.1738922-4-dmitry.torokhov@gmail.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2024-07-09 15:21:15 +02:00
Dmitry Torokhov
917195d6f8
ARM: pxa: consolidate GPIO chip platform data
The platform data for the GPIO controllers for the boards using non-DT
setup is the same between PXA25x (gumstix) and PXA27x (Spitz) devices.
Move it into devices.c to consolidate code. It will help with conversion
to software nodes/properties.

Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20240628180852.1738922-3-dmitry.torokhov@gmail.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2024-07-09 15:21:15 +02:00
Dmitry Torokhov
78ab3d352f
ARM: spitz: fix GPIO assignment for backlight
GPIOs controlling backlight on Spitz and Akita are coming from GPIO
expanders, not the pxa27xx-gpio block, correct it.

Additionally GPIO lookup tables operate with pin numbers rather than
legacy GPIO numbers, fix that as well. Use raw numbers instead of legacy
GPIO names to avoid confusion.

Fixes: ee0c8e494c ("backlight: corgi: Convert to use GPIO descriptors")
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Link: https://lore.kernel.org/r/20240628180852.1738922-2-dmitry.torokhov@gmail.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2024-07-09 15:21:15 +02:00
Arnd Bergmann
696a2af228 ARM: tegra: Core changes for v6.11-rc1
Uses software nodes to describe rfkill instead of using a GPIO lookup
 table.
 -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEEiOrDCAFJzPfAjcif3SOs138+s6EFAmZ+3ToACgkQ3SOs138+
 s6ESPw/+M9tc/ZtTezSd6Fz3TbBmSZEMARWxK14VqPjol11xsUuvAofy2hQEvZVM
 BPH8McQ5VfZYzjW5WHWTPLbsFziG0g06qNyFcWNERPOvlUyOA4a7HUtnQ+WGR2/F
 RIPaNR8px6q+gK7/v45hlE67wPiljWZNditVDES2M6aNSVF54pyPJ4lfCHbk+vNB
 XBncuUeOAyLjWNGhGz2jlCpfedxLSVm6L86fJRVLpWt87XGPBrS1spT48pGZCavl
 OMeDsyB/YB0Nam+AmNiUxZbvkyUz4Sp6YuyOLUOAHAFhEbAQXeZuh1Y0zevMFREz
 kyTfwIthPdNJIaQjl5rViWC4xxMlSP3dpZoFIzdGrxPLL3dQTJYILFLhYUMjT7hP
 0pdIjvgK9lJqBjrK8joYF1wKSyIWb3HnCLJCuerFADjrydMFEAqRyf8/eXQuKv0K
 yHTtjVeFmptMKkq3H0Eut/BHWOu/PWpuXz3tMnSzSePrjgwI1TLtl5tSxa45FnIk
 Uu4evBiFSagniQbxskCp1oRpT5PsxNoPxrvEIb1wKU+fVjd5auJwyw9vLPzuTjrj
 JQ/bV/KaryDBWHdFLWqDUZrD2zwvi3yNO918xwkQQoZ8rP+qrevByftb/4mS413j
 F9HVg44oWflxpXJvyJHikKtpXVj8dSWWWGG9CDvjwJ382rFN4A0=
 =nfdq
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEiK/NIGsWEZVxh/FrYKtH/8kJUicFAmaNORQACgkQYKtH/8kJ
 UidmdQ/9G3dnoiLhvOIE/9Mnyuyo8S6VnyIA/5pTQvl6/cHMYmDcUKj7vFjCipNC
 zEufe+YWO+hqkkrDCJHwfL4xieh2oWlckCN5MlpVFSBLSMSD200AkhIQjhJ/pyVK
 mzx+W8D81YP15CX9uPrkoETQtXeyHwrV2yd01CKuhs4VKqOkfa0VWWFSVdfe+W4Y
 ZlitJrJker7r6dlioOIVx+SILwl/T7M0a0n6l9EafK1JlkhrR6TAsRt7AggXuA+Q
 Z2bMe/ZnoOaIjpBSTeoEv7ocg7rH7HOiNFbIZYTpQgPCacj28YWZjo+EK465llft
 JGKLbLipJwKz/5xrpOk9MZRWvcQCzYAy48XgU0h9+/VtYwthQKrynkg3btogA+1o
 isvkSliSWVBdyC3JxNbtfeG+pNAWc4Tm1w4JN9LS6Ug3SmIUixVyBUcHHycsrSVr
 Mt7rGCpS4wDsV/QPuqAjjJrTDBthz6FgMJ0ob3/sMmkHTHU8q11CuiRN7XthHL2M
 WZ2oJkzJ4QGOwKgWRluq/QM2bd2IuWyPlopNxCzjEf/VQn6mxiPDpsZS6nCdJ0Lf
 aKot75f1bBepC6CpapEo9q0dYkeh5BDLD28D1T/wEjcbfnzzccfB1X6aO5BjXBWk
 YMHbHKv/hS4vcab4f+v8xTKWyp3i/onSDc+m1uR7cVOTJt+u7qQ=
 =24qa
 -----END PGP SIGNATURE-----

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

ARM: tegra: Core changes for v6.11-rc1

Uses software nodes to describe rfkill instead of using a GPIO lookup
table.

* tag 'tegra-for-6.11-arm-core' of https://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux:
  ARM: tegra: paz00: Use software nodes to describe GPIOs for WiFi rfkill

Link: https://lore.kernel.org/r/20240628210818.3627404-2-thierry.reding@gmail.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2024-07-09 15:20:20 +02:00
Arnd Bergmann
05a01ce773 i.MX defconfig change for 6.11:
- Enable a few drivers needed by TQMa7x/MBa7x and i.MX53 QSB/QSRB in
   imx_v6_v7_defconfig
 - Enable IWLWIFI driver support in arm64 defconfig
 -----BEGIN PGP SIGNATURE-----
 
 iQFIBAABCgAyFiEEFmJXigPl4LoGSz08UFdYWoewfM4FAmaMkBMUHHNoYXduZ3Vv
 QGtlcm5lbC5vcmcACgkQUFdYWoewfM7NJAf/aclh+wyEjv6//5s+wgjwNeSgA+ED
 8wtLSKReHWRO18R2JD5fHzuGYJfucS8Q8cyoN9/0oAZz6FAPh0H2W47CoTUy0r+8
 uN9TDWnlPvHIR5j9J4/tFNC6FKjelf10cnX5EG1TRxtr6ep2OGiLBwV6J5HbmZZM
 MFiU3fcdO970iZmgazwXILPx99g/cO5JPKBzTr1cxbMmYsghPI89dvIwk/hc94sq
 GRIp/aBlwr5zZjwQCSxFm6Qa3hermjn+sjvTZ7Vm6XPVQauLzhvn6x8stZ8UHaXy
 NW4n/OYFuH4CaVGLbJffwkf9PKp9+yGheW7EeNyeFFjYAfeipOQT3OBcww==
 =aoed
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEiK/NIGsWEZVxh/FrYKtH/8kJUicFAmaM1uYACgkQYKtH/8kJ
 UifCmhAAyybWIPFdoorZbLKiPjDDYtduOO+zhArzjv58DUA4wMDBk59zFU5+2TkM
 RekyKv6mK8NtKPqYqxe3ohb72NLxWxrmEivbwGGf8CP0OYTEayv0w3syhB2pq26Y
 +3iJlQVm2sonMY2P8A2rk9LhVwLumCdAWfD7hXZDc9B8ttJQVD4tVs6ce7RQ+mKS
 cNB0wXOIqSQoPYF6hz3EED7qmfBP79aO/ltgqas5SQq2U1wokpn9rSydsgqdTFIF
 RgM6WlwU9MzttYksgGcYMX7O0Qw0Zr3OD2YzEnKJgnCRSFSnr67vuo5dr+XJmuUh
 mN/pcfJfxOakORIRD1yVaHKyWI2uf7GFFJkXYUxH5rm6zHyj+ouNyC742QPx8gqK
 riOA3yQa4WUdu4XEWIN4LUsdVgBvNF+z7shyVGqUSDJO4iDjtrcdReV8L7b2CgN2
 h17KaI80LWBogHRP7p0WmOXc5bqTYoDqS+P10FBvDMrXFfJNiGQjoyeiA8sfGRpl
 0Nn0heNPWJCqAj8pcLIKJ0CT9SN4NBfmozuzrJuHjCIfhC+xUuPOZy4mAOkIYt8O
 GWrNep3ug0aXaUFnBqf6SxhiZCQ+t+mLt/pXE5pmHnuAYJbJVP1F2FXA2UaU9n19
 vxvLxQ6pJetPqH6mZGFsOSvp4RN9CNxr7/PWUl83HhGSpGK0PPQ=
 =qdjg
 -----END PGP SIGNATURE-----

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

i.MX defconfig change for 6.11:

- Enable a few drivers needed by TQMa7x/MBa7x and i.MX53 QSB/QSRB in
  imx_v6_v7_defconfig
- Enable IWLWIFI driver support in arm64 defconfig

* tag 'imx-defconfig-6.11' of https://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux:
  arm64: defconfig: Enable the IWLWIFI driver
  ARM: imx_v6_v7_defconfig: enable DRM_SII902X and DRM_DISPLAY_CONNECTOR
  ARM: imx_v6_v7_defconfig: Enable drivers for TQMa7x/MBa7x

Link: https://lore.kernel.org/r/20240709012534.3106441-1-shawnguo2@yeah.net
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2024-07-09 08:21:26 +02:00
Christophe Roullier
d7d906675d
ARM: multi_v7_defconfig: Add MCP23S08 pinctrl support
Enable MCP23S08 I/O expanders to manage Ethernet PHY
reset in STM32MP135F-DK board.

Signed-off-by: Christophe Roullier <christophe.roullier@foss.st.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
Link: https://lore.kernel.org/r/20240705134407.2833659-1-alexandre.torgue@foss.st.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2024-07-08 21:31:12 +02:00
Arnd Bergmann
95b5b10f03 Microchip AT91 defconfig updates for v6.11
It contains:
 - Enable LVDS serializer support on at91_dt_defconfig
 -----BEGIN PGP SIGNATURE-----
 
 iHUEABYIAB0WIQTsZ8eserC1pmhwqDmejrg/N2X7/QUCZoA/MwAKCRCejrg/N2X7
 /dSNAQCDNV+ZprnP4X1ZYvN4C7BbTnzGHlTi3cvY/oxEtdmooQD9EMfBY5/J+OnT
 8j/+yigohrS2mmobkdIE9gqV5dUxugw=
 =+GsW
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEiK/NIGsWEZVxh/FrYKtH/8kJUicFAmaMC4kACgkQYKtH/8kJ
 Uif7Fw/+O6G7yudG1gt5ngNNenyPCcHGYtnrOVGwXCPPB9azpefBgbIcCNn9SiUk
 JleCzDv8hVBvIxU6H/hodwfes589hoq+l6UncCEapKMBGA+SPrztWr00Jb+XF9/1
 WpKRXgcbPzDZ+9JRIBniOtjB8v7iyu6hiQS/PIZ/+o5H43UrAXVGDkMLm/ulBCxm
 jQBCnQSqMOxtJMCvU4MLD6n7fSyiCj2o4sgbg5yduu7uJxVw6+oIkhFtl4hW51Vc
 vZ9IT+GfXQZpd0Q+NoZ7goNskM2oz2+YAfGdvvZHDMraqsI+g6h17CgrTZjrjn83
 AA77KyDbzN4h16L9lb/4nKLjC3wGRiCkkUCLfe9rVgEw+2Cfob68+Zk/SQfA78uV
 TANro5GLqlfyOJMLFynQlFUKpsyNrfAy1VzOEPcyXVjU0m2w6pL6KnuXgT0v9sMu
 t2pZ+9iGF76JNF6MSR3pUOww2ygfoh1rF0xNrwty3OL0g68pEMsXNLiVwSsOeFak
 oNQhOEpt8vQY7tW2T5dbb2MnUzZK8yYyonwQ5J3vB56lo0BmZTlRikFWi9GCbmJs
 R8dC0s8Tehp2XD705XcdHX76vNeDJSykmK/VNFh0huePNkK87fiO25etZAmdEStH
 aDwfnUw7B4BgheuXTqr6ZLJ/w8AD/1yFpLLChajIhuPNIcsUnBw=
 =wFgI
 -----END PGP SIGNATURE-----

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

Microchip AT91 defconfig updates for v6.11

It contains:
- Enable LVDS serializer support on at91_dt_defconfig

* tag 'at91-defconfig-6.11' of https://git.kernel.org/pub/scm/linux/kernel/git/at91/linux:
  ARM: configs: at91: Enable LVDS serializer support

Link: https://lore.kernel.org/r/20240629173634.664081-1-claudiu.beznea@tuxon.dev
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2024-07-08 17:53:45 +02:00
Arnd Bergmann
6cf4e8f4ca Removal of a fallback ethernet-phy compatible that is not conformant
to the binding.
 -----BEGIN PGP SIGNATURE-----
 
 iQFEBAABCAAuFiEE7v+35S2Q1vLNA3Lx86Z5yZzRHYEFAmaL/GwQHGhlaWtvQHNu
 dGVjaC5kZQAKCRDzpnnJnNEdgWJNCACij5V3V3cUQMdtbIOD36nqG6m4yExeSrfp
 XifZfkChBGNRK2QKSEF6ahNndFH1Q2SsADiGQligRbXpNwvM/ru0k4QhjS6i73nj
 ++9xQeebafCGRKxVR4r8JbN4pPo4gyfC4wSh6Pp96OMRoP0u5DMYlL/OPLI2SbZp
 TknTCVk66M/zQzd2jiMlUdlCczPBawlKK9Ucvkp3/OKhnvO47rDTYOz6JlpBNWmw
 jW0RzI9KWEMVUx3A5yWYllu+vMd1eIu9TDNDwqRjVcCz21gF200C9Q9PPRGHCPCr
 PASsrRj/jk5UoQS7gX4jyezR/wjEoSKbYj8yEVSPwevwM9Ga4Mnc
 =ibcF
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEiK/NIGsWEZVxh/FrYKtH/8kJUicFAmaMCoEACgkQYKtH/8kJ
 UiekEBAAkXZuK1Q6UWY3b3xXleY596ornzXNUOdSiDNdURWOXgXfvqqxoQ28lhmc
 djaBHL/Qj7i2I89pI/b5WGyW0nalgzEv05a46ZB13eO5Qk/RBABUpxyV53XUFE/g
 0U3KfqKvlxHRBF1gKA99n6VBcV+tCRGwSAWOoD2+pB2GpJBU2xhVQVOuvvyBCQAi
 xc9c6G5NXtpAZwWN9A4QT/rCZVpoCoR7XNBA4qN8TxDuJCJr6zms/5KCo+EvKvdD
 Zm05F5tJ7ToHLhbHikRudrZt9oK0gilBrA59WDsRg5Dvl9rCaoIie7I7ny3HqEM5
 h2dXAgqUrXEb4i1Z3c4jtReOXOwCaz+eADglK23FxpGHL3ZEMqWtRvNeEXulbxPd
 ht87/hOqllUAdJZiT0ND+cVtNQA22UXlhhm3cqohQDhCfgxK4CBpl0eBuYjCWiho
 Roi8b40KMPHjPdSc/0n2j7VFofwTYJBuns4SxELuB4gXXOmrfdppBKc89IpGmUNj
 harlskCFmjs+tVZQjMiUGbkHTDyyZ3inhJl9ky1fXYkq0aIDHaiiRzhy++wlDVG2
 eCwBPUOASPNpe6ev4eQgdEQ7y/Ukt2rOcEJsbJgqkg06eEKfvdwu+YgcdPu90ftR
 m6mEVVkIHz26CO9EuF03it6VttdQjxZa0OVcDAVaoIPpJhQfC+U=
 =mBR+
 -----END PGP SIGNATURE-----

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

Removal of a fallback ethernet-phy compatible that is not conformant
to the binding.

* tag 'v6.11-rockchip-dts32-2' of https://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip:
  ARM: dts: rockchip: Drop ethernet-phy-ieee802.3-c22 from PHY compatible string on edgeble-neu2

Link: https://lore.kernel.org/r/2169115.3Lj2Plt8kZ@diego
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2024-07-08 17:49:21 +02:00
Elinor Montmasson
6d174cc4f2
ASoC: fsl-asoc-card: merge spdif support from imx-spdif.c
The imx-spdif machine driver creates audio card to directly use an
S/PDIF device. However, it doesn't support interacting with an ASRC.
fsl-asoc-card already has the support to create audio card which can
use the ASRC.

Merge the S/PDIF support from imx-spdif into driver fsl-asoc-card
to extend the support of S/PDIF audio card with the use of ASRC devices.

fsl-asoc-card uses slightly different DT properties than imx-spdif:
* the "spdif-controller" property from imx-spdif is named "audio-cpu" in
  fsl-asoc-card.
* fsl-asoc-card uses codecs explicitly declared in DT
  with "audio-codec".
  With an SPDIF, codec drivers spdif_transmitter and
  spdif_receiver should be used.
  Driver imx-spdif used instead the dummy codec and a pair of
  boolean properties, "spdif-in" and "spdif-out".

To keep backward compatibility, support for "spdif-controller",
"spdif-in" and "spdif-out" is also added to fsl-asoc-card.
However, it is recommended to use the new properties if possible.
It is better to declare transmitter and/or receiver in DT
than using the dummy codec.

DTs using compatible "fsl,imx-audio-spdif" are still compatible, and
fsl-asoc-card will behave the same as imx-spdif
for these DTs.

Signed-off-by: Elinor Montmasson <elinor.montmasson@savoirfairelinux.com>
Link: https://patch.msgid.link/20240627083104.123357-5-elinor.montmasson@savoirfairelinux.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2024-07-08 16:09:38 +01:00
Arnd Bergmann
f01b3260d9 mvebu dt for 6.11 (part 1)
armada-385: Add 7-segment LED display on x530
 armada-385: Add Turris Omnia MCU related node
 armada-370 irqchip DT changes: Drop #size-cells from mpic node
 orion / kirkwood: few cleanups
 -----BEGIN PGP SIGNATURE-----
 
 iF0EABECAB0WIQQYqXDMF3cvSLY+g9cLBhiOFHI71QUCZofyagAKCRALBhiOFHI7
 1YuhAJ9Qc7eBqBn6AD1Ml73NNr8jOdRCvACeIX5xzCD93+PXCHi0PfxkdM5zpGk=
 =Nl7d
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEiK/NIGsWEZVxh/FrYKtH/8kJUicFAmaL+ZEACgkQYKtH/8kJ
 UicU4Q//QjPpRqPM+5OhhF3wSRffdSwa90hJoXSc7s68fj0cigL+TwskST4L2bRH
 nKIn0YLZ4YqNurSwSzg2SWj+TyDbb3IPscVZFDRfjgGYh2b1dzLT5orEDHfwd27U
 7iStTipohVj2olKZpsnQ5XeId0Idpzxl+yUoilBjl3lFcb/7rN5XocqyWBg404NJ
 dpcShI3JyKcCdjeX2p1bjKK8HXvwz9FUMAus4UHVj6M9YvpdNvRSk8wPkEzPX+4e
 ykYsL7s2B+6olkNSbzfyDvepDcALhhsBt2Rz2oKoBtN4UAJt00RjM3TU52+wjkOs
 XoFtFeGTe9gAFy+JZbvE1Z3LAg50Vws/ha0Xe7cvXTFp5twPZL0XOkE0yP5YPmiw
 B6/wLlvoB7/X2OnLe0z0FEhAUUyIoy3OdnAWVfEAyVZtNz93JRkOhPQUbl9XtnvL
 7H0ogjIcEwUIJPHu36vM6UBYyiOzQAWDRLVsXwPPEe1BWxWGMgBULWtMXO0Nz5S5
 BJKiav19MGFu9eww3U5qCay6JOpvoGxfFpYIqXRA4YSBj8GjI7H5SVvisndRVr95
 1hRiaVkgHh8f6sHM5YgXBChNDTlwAxX+US0G1dBEfSUc6mN5inlpMm2NXMCwrZqY
 5zSScOXOWqaaSB8+FnqSVZhyOl8thQO7e+jdNXxD8oHcL+XAxLE=
 =eOsv
 -----END PGP SIGNATURE-----

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

mvebu dt for 6.11 (part 1)

armada-385: Add 7-segment LED display on x530
armada-385: Add Turris Omnia MCU related node
armada-370 irqchip DT changes: Drop #size-cells from mpic node
orion / kirkwood: few cleanups

* tag 'mvebu-dt-6.11-1' of https://git.kernel.org/pub/scm/linux/kernel/git/gclement/mvebu:
  ARM: dts: turris-omnia: Add GPIO key node for front button
  ARM: dts: turris-omnia: Add MCU system-controller node
  ARM: dts: marvell: orion: align LED node name with bindings
  ARM: dts: marvell: orion5x-lswsgl: use 'gpios' property for LEDs
  ARM: dts: marvell: orion: drop incorrect address/size-cells in GPIO keys
  ARM: dts: marvell: orion: align GPIO keys node name with bindings
  ARM: dts: marvell: kirkwood: align LED node name with bindings
  ARM: dts: marvell: kirkwood: drop incorrect address/size-cells in GPIO keys
  ARM: dts: marvell: kirkwood: align GPIO keys node name with bindings
  ARM: dts: armada-{370-xp,375,38x,39x}: Drop #size-cells from mpic node
  ARM: dts: marvell: Add 7-segment LED display on x530

Link: https://lore.kernel.org/r/87zfqvixn4.fsf@BLaptop.bootlin.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2024-07-08 16:37:05 +02:00
Arnd Bergmann
03b4edd51f STM32 DT for v6.11, round 1
Highlights:
 ----------
 
 -MCU:
   - Add syscfg missing clock on stm32f429.
 
 - MPU:
   - STM32MP13:
     - Add camera support on stm32mp135f-dk bord using DCMIPP and
       GC2145 sensor.
     - Document PWM output for stm32mp135f-dk
     - Add goodix touchscreen support on stm32mp135f-dk board.
     - Add new DH DHCOR / DHSBC board (Som + carrier board) based on
       STM32MP135F SoC.
       SOM part contains: STM32MP135F SoC, 512MB DDR2L RAM and
       eMMC/SDIO wifi module.
       The carrier boards embedds 2 RGMII ETH ports, USB-A,USB-C
       and an extansion connector.
     - Add Ethernet controller support on stm32mp135f-dk.
       It uses LAN8742A PHY based on RMII.
 
   - STMP32MP15:
     - Rework Octavo OSD32MP1 split for USB phy.
     - Add OP-TEE IRQ for asynchronous notification support.
       It allows OP-TEE to trig Linux.
 
   - STM32MP25:
     - Add OP-TEE IRQ for asynchronous notification support.
       It allows OP-TEE to trig Linux.
     - Enable firewall for RCC.
     - Add all U(s)ART nodes for stm32mp25.
     - Add 3 power domains for low power modes.
     - Add HPDMA support.
     - Add Ethernet controller (ETH2) support on stm32mp257f-ev1.
       It uses Realtek PHY based on RGMII.
     - Add and enable SCMI regulator support.
 -----BEGIN PGP SIGNATURE-----
 
 iQJRBAABCgA7FiEEctl9+nxzUSUqdELdf5rJavIecIUFAmaH7ZodHGFsZXhhbmRy
 ZS50b3JndWVAZm9zcy5zdC5jb20ACgkQf5rJavIecIUnhg/+PwLoDlTR8+Mo5IXr
 81tN6imRXIS9EfV/XTsQAqAWFqpEtdtQOlcogrK1nOkdpRsjYTkrNmz/4dLthhoA
 6xFVLwxNBjqwSxM4pfDWr7pC01OLKCG92J+vnPU+ytXJGodwHj4c2cJKQqDPNcPZ
 b3C9MhYmY322O/oh6CxgsFZRqZmpELPPVOJTpI7V+E85+CngY55I5ovBMqFpo9P1
 rh2ubk7UdgUuawrkqJptrOLcceLgYWdEHTbzfNySROtwTuEZoVvOq11DMdcdFnLt
 6ojAvnJ2GTTVMHmCA53mBoOKKjME1kNbhnHuuJneZ6ZHyK3hY4z8xNVstZHE7zV5
 3HGCYkSBaLzp6G1JbXMTDUJQ+Nv0fIRoBB9cJLTXdsRyQTqf2f94EMZH2MbRADCi
 hoHbKpSyLMu2r8XmwA9e4+37+HmMrLyKqh1tk7kYrGuG+mwRw6iwFvO9UE0jr03D
 Ahzuwvle4OWOff85gZ166SacdM5ju0z6aQbj/N8zaasaxBx/aWfpYZfU8EdCR+ym
 +AWb9OCzt2Y7j/BAoUXWD4ckMiZn17yMZ7h5YyPLORCvjbR+RWU0ayQ6nT4MMfBq
 ttPWepJPDcxaH7dlrAThWAJ7p+H9iZPdHu0wZjhTBfPNrOL87OxNm5dwbznVLjdP
 22OIMoRg/t08hBeORECboSOeGxM=
 =sjji
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEiK/NIGsWEZVxh/FrYKtH/8kJUicFAmaL+KUACgkQYKtH/8kJ
 UiehdRAAn8dwWo+MPfd7fRIxQrYm0SOiiFTC4j4LHNzCDQd7JV93p5FjYo3TpHAA
 wXtKYqFDZ8rbxWca3say015iOkYvLmRWOXM9Zs19U6gpsoW0OeiJvQs0pnPYQdXL
 ZJxL2YOn3nFfZ3IHxlTcyzoayX5uPZ/KJ/HE6ZLfMk8hCOdzPXoixH/WH1YQgXgc
 0EXiSxVbthDb8XbSLF8mz4jZpW0neFwetskkjoUUUO4wbyUi53IThxShAMyyFnBf
 ypoG1XTl1bD3DZFOrTQeILh+gR2Hg+EMttvqzooP8B/OAzHC6R/v0H92k3muE+FD
 bH4PrFc7aYmV7NnZI61FJzAXjSLrZ8pRFkjyKbenGiSLN9De57pH8CVXC8yeoTzy
 HKvk6E9VXmOh+KOwAXY+oQTHp4HMamWH8wFvOSf3nDNyW77u4q4g+Mh60uPeCek5
 RlwO/qe+3aOZoem3KskZ4/68iUDftcs+4Ga9O3jceQi/EEjAhz6gV54dNYC9OYi2
 VwouIqkS0JWJwH/1hfAgmbYhPdxfKds4kbAGFBjb9rsrf2okjeg/MY0NuZgtehqu
 iJ2Q2wTfS8mpX+DbBRHZLXe/pxTiw83Ftkq/x0K8gAArfltJxbqzVuGec9aUdvJI
 xyZrekj5MmsSsV0FpqBsgiHDG6GP9yPOy2zkMDYK6//qn+tyvFQ=
 =EqEk
 -----END PGP SIGNATURE-----

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

STM32 DT for v6.11, round 1

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

-MCU:
  - Add syscfg missing clock on stm32f429.

- MPU:
  - STM32MP13:
    - Add camera support on stm32mp135f-dk bord using DCMIPP and
      GC2145 sensor.
    - Document PWM output for stm32mp135f-dk
    - Add goodix touchscreen support on stm32mp135f-dk board.
    - Add new DH DHCOR / DHSBC board (Som + carrier board) based on
      STM32MP135F SoC.
      SOM part contains: STM32MP135F SoC, 512MB DDR2L RAM and
      eMMC/SDIO wifi module.
      The carrier boards embedds 2 RGMII ETH ports, USB-A,USB-C
      and an extansion connector.
    - Add Ethernet controller support on stm32mp135f-dk.
      It uses LAN8742A PHY based on RMII.

  - STMP32MP15:
    - Rework Octavo OSD32MP1 split for USB phy.
    - Add OP-TEE IRQ for asynchronous notification support.
      It allows OP-TEE to trig Linux.

  - STM32MP25:
    - Add OP-TEE IRQ for asynchronous notification support.
      It allows OP-TEE to trig Linux.
    - Enable firewall for RCC.
    - Add all U(s)ART nodes for stm32mp25.
    - Add 3 power domains for low power modes.
    - Add HPDMA support.
    - Add Ethernet controller (ETH2) support on stm32mp257f-ev1.
      It uses Realtek PHY based on RGMII.
    - Add and enable SCMI regulator support.

* tag 'stm32-dt-for-v6.11-1' of https://git.kernel.org/pub/scm/linux/kernel/git/atorgue/stm32: (31 commits)
  arm64: dts: st: describe power supplies for stm32mp257f-ev1 board
  arm64: dts: st: add scmi regulators on stm32mp25
  regulator: Add STM32MP25 regulator bindings
  ARM: dts: stm32: omit unused pinctrl groups from stm32mp13 dtb files
  arm64: dts: st: enable Ethernet2 on stm32mp257f-ev1 board
  arm64: dts: st: add eth2 pinctrl entries in stm32mp25-pinctrl.dtsi
  arm64: dts: st: add ethernet1 and ethernet2 support on stm32mp25
  arm64: dts: st: add HPDMA nodes on stm32mp251
  ARM: dts: stm32: Add ethernet support for DH STM32MP13xx DHCOR DHSBC board
  ARM: dts: stm32: order stm32mp13-pinctrl nodes
  ARM: dts: stm32: add ethernet1 for STM32MP135F-DK board
  ARM: dts: stm32: add ethernet1/2 RMII pins for STM32MP13F-DK board
  ARM: dts: stm32: add ethernet1 and ethernet2 support on stm32mp13
  ARM: dts: stm32: Document output pins for PWMs on stm32mp135f-dk
  ARM: dts: stm32: OP-TEE async notif interrupt for ST STM32MP15x boards
  ARM: dts: stm32: Missing clocks for stm32f429's syscfg.
  ARM: dts: stm32: Add support for STM32MP13xx DHCOR SoM and DHSBC board
  ARM: dts: stm32: Add pinmux nodes for DH electronics STM32MP13xx DHCOR SoM and DHSBC board
  dt-bindings: arm: stm32: Add compatible string for DH electronics STM32MP13xx DHCOR DHSBC board
  ARM: dts: stm32: osd32: move pwr_regulators to common
  ...

Link: https://lore.kernel.org/r/8f10bd29-d067-4060-89ff-2e1a605f3141@foss.st.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2024-07-08 16:33:08 +02:00
Arnd Bergmann
a9fe0720f2 Qualcomm Arm32 DeviceTree updates for v6.11
This introduces new support for the Sony Xperia Z3 Compact, HTC One
 (M8), Samsung Galaxy Tab 4 8.0 Wi-Fi, Samsung Galaxy Grand 2, and
 Samsung Galaxy Note 3 devices.
 
 The Motorola Moto G and Motorola Moto G 4G gains accelerometer and
 magnetometer support, with the latter also getting framebuffer supplies
 and a temperature sensor wired up.
 
 The SMBB (charger block) is enabled across all MSM8x26 Lumia devices, as
 this is used for USB state changes.
 
 The operating mode for SDC regulator is set to HPM on Sony Xperia
 "Shinano" family to avoid brownouts on uSD-cards.
 
 The panel on LGE Nexus 5 is connected to the backlight, to make this
 turn off on blanking.
 
 MSM8974 is transitioned to use the mailbox-abstraction for invoking
 PC interrupts on remote processors.
 -----BEGIN PGP SIGNATURE-----
 
 iQJJBAABCAAzFiEEBd4DzF816k8JZtUlCx85Pw2ZrcUFAmaHaG0VHGFuZGVyc3Nv
 bkBrZXJuZWwub3JnAAoJEAsfOT8Nma3F3zEQANLGa1IUMLy785ggnWMPTTjoyDpz
 XAxcHmavAt8ApMV8NfnAPQINJ/CYoQoHdiu032VsLQhieP2Anl78NHIoYlGgxmba
 m4xqLBw04jwN0yQKQTOKuiSk1MsrGxHOQp+yjKs6aT3A6uablIItRzBc2iw/7HoA
 wyuf/en03ffV6F6wVF9zmiuFRLtB0e8OzCHj7HXFlw9HV0s7M8Wk/AX0niwipJ8y
 NWSjkeN76c71EXbd9QotL6UFC3pCYZa/CrNXJvKkK8IU2DIITb53XrpIBYFENHJu
 U1G2rwmkENqhWhbt2yUjGpu3bbHEnWqOSEuFArvyUc/ZZNisV+bmM4zQ6IM62f6X
 DCf5LkoUbQOWOALmbnIvQY3v9OKhCRrHdDPY+ignUuCLwiWXShWDRB2atCnvO332
 uC3YrV8Z5toSsPTUZMiybg30l6KLW5Bsp+mxadrzVQomaBqDsrXv/7W27Rh2/IzC
 vWNYTXbc1O/VTHCXpBphEfeN4ZAS9fbffNO/fHg0lyT7C4XUUeCHUlIg69dJX2lo
 LLwHaSIl94QgdfJGqo3OY9+f8Q6xr5M2pXMaGb8fupj3A3Dvbv4SB04JoNy30JJ2
 7oM4HwFmiTjEIrjpFWVFEoV8BjF491+pDscjg1pL/VYjYYXGZ345umDL7+bp7vyD
 QBHmK65e/I3+LKl3
 =oE6a
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEiK/NIGsWEZVxh/FrYKtH/8kJUicFAmaL+FMACgkQYKtH/8kJ
 Uifn1A//QrUJh68YiH8HIIF7JtqGxcWeOq4OE4Ndi1O7IK0WL/rdAe4qZECtFhC2
 5aSTZ/Cj7vmVxbivjJDTBXPp7RoSHNfW7JHUWsBUlFXz45BIuNsTbWy6f+O53x0v
 gXrKYeJpj+DoxOiTOJAc6UaxQRhQdRwCGa7mDUUM8Dc+8goOpA43TD7VBtbWF4q5
 6ThdPFhVNeBTvkmU0g6CLI1B+DcYJQUmTcS0lbSk3gPaFMuEFehSjL0RC3Jh7Hu6
 ONLJsabcFVJU6hnS7IsoSJRFxsOu3JdIWieK02Cm0quvQLXdHygXq6tBOJklVQ+B
 C0RH7vjMzLXJ67t3gDgU9J+jxGSRu5gcvmScRt7cUvQnhfzMWvhSyI18EozjsJ5l
 YcJZmw6Bps8mJNo7ag3X0ws16ursJFSg9SEzgwcY0F4MHzB5sEoSdxsJFE4krIra
 nmAnM14QDR0u/GTYj1Ohzf0ZMZntQ6jlGJT9g6E6d3W/fxo61YnTGn790lOK4gEk
 rP7+/4mag9C3GjNr1jnsyatzUvZBv0Pz8AFkONUPJVdW7EDY2x5c2A9LMTC8QO81
 arS0Fldoi028Zqn4BTwLc2LGWqsq5YfCDVkKKFrtrBJrMaNpSHMsHYW37mvlcnwY
 oGMzgVRCcsvsflt/033Rm0gQ00kp9LF9BKtOrolTDLnIm+GNu+4=
 =QlxS
 -----END PGP SIGNATURE-----

Merge tag 'qcom-arm32-for-6.11' of https://git.kernel.org/pub/scm/linux/kernel/git/qcom/linux into soc/dt

Qualcomm Arm32 DeviceTree updates for v6.11

This introduces new support for the Sony Xperia Z3 Compact, HTC One
(M8), Samsung Galaxy Tab 4 8.0 Wi-Fi, Samsung Galaxy Grand 2, and
Samsung Galaxy Note 3 devices.

The Motorola Moto G and Motorola Moto G 4G gains accelerometer and
magnetometer support, with the latter also getting framebuffer supplies
and a temperature sensor wired up.

The SMBB (charger block) is enabled across all MSM8x26 Lumia devices, as
this is used for USB state changes.

The operating mode for SDC regulator is set to HPM on Sony Xperia
"Shinano" family to avoid brownouts on uSD-cards.

The panel on LGE Nexus 5 is connected to the backlight, to make this
turn off on blanking.

MSM8974 is transitioned to use the mailbox-abstraction for invoking
PC interrupts on remote processors.

* tag 'qcom-arm32-for-6.11' of https://git.kernel.org/pub/scm/linux/kernel/git/qcom/linux: (24 commits)
  ARM: dts: qcom: qcom-msm8226-samsung-ms013g: Add initial device tree
  ARM: dts: qcom: apq8064: drop incorrect ranges from QFPROM
  ARM: dts: qcom: msm8926-motorola-peregrine: Add framebuffer supplies
  ARM: dts: qcom: msm8926-motorola-peregrine: Update temperature sensor
  ARM: dts: qcom: msm8926-motorola-peregrine: Add accelerometer, magnetometer, regulator
  ARM: dts: qcom: msm8974: Use mboxes in smsm node
  ARM: dts: qcom: msm8974-sony-shinano: increase load on l21 for sdhc2
  ARM: dts: qcom: Add Sony Xperia Z3 Compact smartphone
  ARM: dts: qcom: use generic node names for Adreno and QFPROM
  ARM: dts: qcom: motorola-falcon: add accelerometer, magnetometer
  ARM: dts: qcom: Add initial support for HTC One (M8)
  ARM: dts: qcom: msm8974: Use mboxes properties for APCS
  ARM: dts: qcom: mdm9615: drop #power-domain-cells property of GCC
  ARM: dts: qcom: ipq8064: drop #power-domain-cells property of GCC
  ARM: dts: qcom: ipq4019: drop #power-domain-cells property of GCC
  ARM: dts: qcom: msm8960: drop #power-domain-cells property of GCC
  ARM: dts: qcom: msm8660: drop #power-domain-cells property of GCC
  ARM: dts: qcom: apq8064: drop #power-domain-cells property of GCC
  ARM: dts: qcom: msm8974: Use proper compatible for APCS syscon
  ARM: dts: qcom: msm8974-hammerhead: Update gpio hog node name
  ...

Link: https://lore.kernel.org/r/20240705032926.13333-1-andersson@kernel.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2024-07-08 16:31:47 +02:00
Linus Walleij
8b5d415c4f
ARM: dts: ixp4xx: nslu2: beeper uses PWM
The beeper in the NSLU2 is just a GPIO connected to a
speaker, so we need to use PWM on the GPIO to get any kind
of sound out.

Tested with some random beeps by enabling INPUT_EVDEV and
running beep.c with e.g. beep 400 for a 400 Hz tone.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/20240627-ixp4xx-dts-v1-1-cdbbe1150873@linaro.org
Link: https://lore.kernel.org/r/20240703-ixp4xx-dts-v1-1-e5149da36f6e@linaro.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2024-07-08 16:31:25 +02:00
Arnd Bergmann
9289b97a67 Allwinner SoC device tree changes for 6.11
This includes a commit shared with the clk tree. This commit adds clock
 and reset indices to the device tree binding, and thus is needed for
 both the device tree and driver changes.
 
 ARM64 device tree and binding-only changes
 - Add LRADC (low resolution ADC for resistor network based keys) for H616 SoC
 - Add cache information for A64, H6, and H616 SoCs
 - Correct model names and descriptions for Pine64 boards
 - Add GPADC (general purpose ADC) for H616 SoC
 - Add ADC joysticks based on GPADC for anbernic-rg35xx-h board
 - Add additional CPU OPPs for the H700 on top of existing H616 ones
 - Enable DVFS for rg35xx boards
 - Add IOMMU for H616 SoC
 
 RISC-V device tree changes
 - Add system LDOs to D1s/T113 SoC
 - Add ClockworkPi and DevTerm device trees
 -----BEGIN PGP SIGNATURE-----
 
 iQJCBAABCgAsFiEE2nN1m/hhnkhOWjtHOJpUIZwPJDAFAmaC5BEOHHdlbnNAY3Np
 ZS5vcmcACgkQOJpUIZwPJDDszRAAohtAXVlhcOZUyY6jnToNDRhRDe4WR2dKNuth
 D/sM93uBxEtHkHsV11xKdmXALYszT3c1IxA84Cj3uwBvutIK4/KQUDbtDvGedz/o
 90v3bgAR1ETf7RrQFCxpQUFYNufpnXb5ZHA5jRSdxyg9coLR7sDab0r6UCh/EzyN
 rykvB2oSmjxyG0OjBUU3IcR0B5nliGRc9esVhdSW4cGblaJaT/NrlsmUGL39hXP2
 BayJ3FFfS2izs5uHMOeQUaveadBGssc/kzJvnwy/jeM+76uY4SlH58/dl0ivWM0/
 h5mifWbMIdl5kUEkUz7OaPT9O6K/1O1/heQYrQSHNKtgD6NN9uS4QWuGyfsWcpUo
 iRXnYrscWuGQH8ICAG9upNCto2RXn1nS3+FYv/CmNQ+Nl39RpGGWKW9KPesCttdr
 OgjWGgspyBT3xh4NhrxLbEOmZaCg6ZGfr8Vp4VrXLMbSOrV6Qu8VsJcRWkfwm3yb
 tg9ONSFrSBNwmWQIqjtpWt3j81sOKkz2WYV6+hNgDyQ5HZQZWNHhOUVQ2W912TNh
 vJ9d+3jgtn9wj2DyPdkzPRaNaVK+KqRbpUIXLc7TUAJaMcHzX6+ekt1576ZBNUYL
 hFOoMvzu6k02Fmr8qUe9PX2p5Ie6ubF+2/aWGkZ0pF2cdht1Q6IDiXsSX3PW+VBU
 acB1TT0=
 =3vmg
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEiK/NIGsWEZVxh/FrYKtH/8kJUicFAmaL9/8ACgkQYKtH/8kJ
 UifiHRAA0qHvjj5uaQiQnjJgOFF+Rmf3goNje2S9f35ziO2AGKqsfp651mBbZFpJ
 yFkIMlELMBLmgB9cEXfvoWlvUjITxduiMjn0aNfu4czRhhk1qiqwy+CVhDHT681g
 71s1crZ0gT/B9hNQkfHz6AmrvMl6k9NPHioaci4abRNXsGNrZuuSFNOAC82l8nrb
 PLJZtNOEbtkVP5pdBatTlsdJywOLpl1KwYvXbbC8oXvMobywUSsW/gjcHV0hUjlp
 4kwDEyi1cUGeNEuPAcp2Pp0H+WtHJsaTN1BhIy3kyCGiCXX3ShkZiaYIPwBGdUrz
 NJihJ/WoU2pMzlX5OH2L2d1KybZhOPB+kzSqw2TWyZuKNc+HY3BaXeZ8uVUz59Tv
 WSml2dz4+T816jDcBrK9sFC1uiJlbieKNJsH8Ol0FykJcfjD48tP7Y1uMhqN3ict
 y/FZ6nvPNEf7YPGGTXDjn0d5ifXAyGXLhIWxRXBP701HAzTkUPeTEdMLwj+6H1eh
 HBxFaa4yeAtH9+0c/Tf1Ge244OxbavwjJU4ufyD7X440nHqFVXQvF2FD451tBd5F
 HbXZ3cm+E8/zg55L0sAcY++5W+Aa2S+TvK64nrKcGEEDonBj3WwdNL5iwtzugWCv
 /AQg1UP3uQIyPvrwcyyoG8lenyHjOhZnACH3qbxpO9JnnwEIXQk=
 =Emn4
 -----END PGP SIGNATURE-----

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

Allwinner SoC device tree changes for 6.11

This includes a commit shared with the clk tree. This commit adds clock
and reset indices to the device tree binding, and thus is needed for
both the device tree and driver changes.

ARM64 device tree and binding-only changes
- Add LRADC (low resolution ADC for resistor network based keys) for H616 SoC
- Add cache information for A64, H6, and H616 SoCs
- Correct model names and descriptions for Pine64 boards
- Add GPADC (general purpose ADC) for H616 SoC
- Add ADC joysticks based on GPADC for anbernic-rg35xx-h board
- Add additional CPU OPPs for the H700 on top of existing H616 ones
- Enable DVFS for rg35xx boards
- Add IOMMU for H616 SoC

RISC-V device tree changes
- Add system LDOs to D1s/T113 SoC
- Add ClockworkPi and DevTerm device trees

* tag 'sunxi-dt-for-6.11' of https://git.kernel.org/pub/scm/linux/kernel/git/sunxi/linux:
  riscv: dts: allwinner: Add ClockworkPi and DevTerm devicetrees
  riscv: dts: allwinner: d1s-t113: Add system LDOs
  arm64: dts: allwinner: h616: add IOMMU node
  arm64: dts: allwinner: rg35xx: Enable DVFS CPU frequency scaling
  arm64: dts: allwinner: h616: add additional CPU OPPs for the H700
  arm64: dts: allwinner: anbernic-rg35xx-h: Add ADC joysticks
  arm64: dts: allwinner: h616: Add GPADC device node
  dt-bindings: clock: sun50i-h616-ccu: Add GPADC clocks
  ARM: dts: sunxi: remove duplicated entries in makefile
  arm64: dts: allwinner: Add cache information to the SoC dtsi for H616
  arm64: dts: allwinner: Add cache information to the SoC dtsi for A64
  arm64: dts: allwinner: Correct the model names for Pine64 boards
  dt-bindings: arm: sunxi: Correct the descriptions for Pine64 boards
  arm64: dts: allwinner: Add cache information to the SoC dtsi for H6
  ARM: dts: sun50i: Add LRADC node
  dt-bindings: input: sun4i-lradc-keys: Add H616 compatible

Link: https://lore.kernel.org/r/ZoQa8r1N8yi7FlPV@wens.tw
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2024-07-08 16:30:23 +02:00
Arnd Bergmann
f01448addc i.MX ARM device tree change for 6.11:
- A few changes from Krzysztof Kozlowski to fix dtschema issues
 - A series from Michael Walle to improve kontron-samx6i SoM support by
   fixing various errors and add kontron-samx6i-ads2 board
 - Add LVDS port data mapping for M53 Menlo board
 - Convert NVMEM usage to layout syntax on MBA6 boards
 -----BEGIN PGP SIGNATURE-----
 
 iQFIBAABCgAyFiEEFmJXigPl4LoGSz08UFdYWoewfM4FAmaDyIAUHHNoYXduZ3Vv
 QGtlcm5lbC5vcmcACgkQUFdYWoewfM5IYwgAgEqdpH/O+2tLqgx9AAoCWCoRhTZ7
 U6zBOStI9fRUSyxhneF/Eu0jLJWWEZdpwAUoQlYdGShE23ZjqeE2mVEqmFyAKrcT
 UDtuFIxROBWJ3Bi/QEL7YR+dTQoX9Y++evtF/UZJVwvDL6i5FY/XvBVzYmi0K2Jg
 hFv6YXMNt9ijgnezg47TtWUNWXH/XeIKe+NYqgr71wD7y04bKLjG8Q8zRSC+21sH
 j+eem6W5nixSGKU/0IS/hf8Fm7UTjftWhRnaLC0Ppu1ED3ycclLJkEXmgt9cWFF4
 dPUGKcSQ2M5+z2iitD4eXGLpIqVieix4iNY5a+VQ4noHj4aO7sgMedI5tg==
 =13Th
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEiK/NIGsWEZVxh/FrYKtH/8kJUicFAmaL91IACgkQYKtH/8kJ
 Uif31xAAvtTHq+r02agHjiFM0bLqKr7QWSpAEOrz+Ux8Oe2GStfGa2c/NsidtDFz
 qmqAAVReE+n+E41sl6FMg+FURYJpBnyRbUgeG+yVGs6cSy/V9xZOIP1CRM2Tw8Do
 vD5bzkXLV4IUPlFxpccopUU+E3CyGwAMWMB57M5TW6wWPGrlwcGXXZ9oFkpevxbn
 jpOl/YC79hr2v97vhGHdTlb8zdstEYDrqjVJyRZVycA8/gG19KwkoI/IqDJ6a+el
 5Ld3mhk0ytURyaKUUzbEsqlpTlSq/Bw8OKN720Hiqe4cLpFoNQI5v5njd2CMSrnt
 lo13glR10HCsq1obeSX6Jk7lI8g2Zh+GD8s+RJeIPH+Yrxv50FU3RJxFJ0bZ/dTM
 QsKlR+dYboEIcQdniiDNRjaZ8i6lLtSvgsO8Dn92TtNoLWof3WMYj9uDoCGovtWs
 auiUQbQ10ZMVrQmhOkWONvBXhKNgebIySu50tjGSCeBvXv01ULLsdGhK4yjM7tDd
 xVUcK7LuUtCzZ1J2a9Bdnr2lSU+tuSc5aORY8ExLcXZuomlcaMgtyH8BkNnq5rQ2
 Z4Zt1GbgUuDEHMLz8cFI9T+JcQd/FjRJFK4kH2n2zHfoO4oHHuJ68jPKZBvwYzSy
 MYovtNrLUQXm/nOJEXZvj+rMky9mCJmpRaDoiRmazi4VtWrATpQ=
 =20wv
 -----END PGP SIGNATURE-----

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

i.MX ARM device tree change for 6.11:

- A few changes from Krzysztof Kozlowski to fix dtschema issues
- A series from Michael Walle to improve kontron-samx6i SoM support by
  fixing various errors and add kontron-samx6i-ads2 board
- Add LVDS port data mapping for M53 Menlo board
- Convert NVMEM usage to layout syntax on MBA6 boards

* tag 'imx-dt-6.11' of https://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux:
  ARM: dts: imx6qdl-kontron-samx6i: add actual device trees
  ARM: dts: imx6qdl-kontron-samx6i: remove wake-up-gpio property
  ARM: dts: imx6qdl-kontron-samx6i: fix PCIe reset polarity
  ARM: dts: imx6qdl-kontron-samx6i: fix node names
  ARM: dts: imx6qdl-kontron-samx6i: add SDIO_PWR_EN support
  ARM: dts: imx6qdl-kontron-samx6i: always enable eMMC
  ARM: dts: imx6qdl-kontron-samx6i: fix product name
  ARM: dts: imx6qdl-kontron-samx6i: fix SPI0 chip selects
  ARM: dts: imx6qdl-kontron-samx6i: cleanup the PMIC node
  ARM: dts: imx6qdl-kontron-samx6i: fix board reset
  ARM: dts: imx6qdl-kontron-samx6i: fix PHY reset
  ARM: dts: imx6qdl-kontron-samx6i: fix phy-mode
  ARM: dts: nxp: imx6: convert NVMEM content to layout syntax
  ARM: dts: e60k02: fix aliases for mmc
  ARM: dts: imx: Add LVDS port data mapping on M53 Menlo
  ARM: dts: imx28-tx28: drop redundant 'panel-name' property
  ARM: dts: imx: drop redundant 'u-boot,panel-name' property
  ARM: dts: imx6dl-aristainetos2_4: drop redundant 'power-on-delay' property
  ARM: dts: imx: correct choice of panel native mode
  ARM: dts: imx: align panel timings node name with dtschema

Link: https://lore.kernel.org/r/20240702142153.413061-3-shawnguo2@yeah.net
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2024-07-08 16:27:30 +02:00
Arnd Bergmann
7120733d1d Minor improvements in ARM DTS for v6.11
Few cleanups and improvements which were missed by their maintainers:
 
 1. Add Krzysztof as odd-fixer for old ARM platforms: Alphascale, AXM
    LSI, Moxa, TI Nspire and VT8500 (with Alexey Charkov).
 
 2. VT8500: align node names with bindings (USB, panel timings).
 
 3. Cirrus: align node names with bindings (panel timings).
 
 4. TI Nspire: correct unit addresses, correct watchdog compatible and
    properties while making it disabled (never tested).
 
 5. Nuvoton, Aspeed: align node names with bindings (I2C).
 
    IMPORTANT: At least for Aspeed it is known to affect some user-space
    tools, because that user-space looks for specific node path via
    /sys/firmware/devicetree. The /sys/firmware/devicetree is not the ABI
    and any user-space relying on it:
     - Prevents any changes in DTS, e.g. node renaming or moving,
       changing unit addresses (re-arranging child bus addressing).
     - Is using undocumented interface.
     - Is neither reliable nor understandable.
 
 6. TI OMAP and Davinci: align node names with bindings (panel timings),
    drop incorrect property.
 
 7. STI: document in bindings codec child to fix dtbs_checks.
 -----BEGIN PGP SIGNATURE-----
 
 iQJEBAABCgAuFiEE3dJiKD0RGyM7briowTdm5oaLg9cFAmaDo2MQHGtyemtAa2Vy
 bmVsLm9yZwAKCRDBN2bmhouD11w4D/91rifKu3qPZcgEWq7OIfIrg7D/N0AxhleH
 J2Y8nOUiyS9dttw/a6TxyXxuAs+wgpDtN059BesepSsrnKc+tlAbHCJRO2Nd5jRV
 6k0k5R0eRYF/nbOTt4P1m4utpmSYKm2fogkrmpi/aK8qkhYrqcSoMccZNgPoUpyQ
 v5i3YX3KpID09aO+gL9JRjChUSnp72l79Bi5tRNpjSfUX9JhxVIEN5P/I7cWGw5b
 VbBoCKlE/H9K/oQrIrtCczPJfJT+h7qj2bFvS/vkam/aqQdOsM9qoMyTPhfZMDRa
 85v/TXVY9CuSE+931q0ffRwaVrI9yBgOPKsKs8wjj0/Yp0jpS1xyVIPXJcfbDYCo
 Ex67UylDDGXARiCCj6kV0a9p3z8NZ58SeJqV6fVfVvBADnK1RiHaT4hZjwdQuFsr
 ukA5VPjOlIcOjHKsfqiUTi5ulU6Upm4Q5NZJf7i/f2vU1JA+zAyBvTefFkNwzqxa
 Vo1TIEGBxBngUCEtxikgsIGhEtOK7H3JinmK+lbV8lu0rin5xvWJHWVGgZrfoF84
 mZ6C4xk+eCDuyDxwR5yEfrKdbrC9bV1XzTXCcYhgwfqysLZvqKKVHdvLeRLOEnjn
 7CSBI2z86mRc8aAjjnu6wjbK5pGGjNwc8T73ffp1iyH741B56eN+B1m1BXIgloBL
 mF5DftuonA==
 =lqZd
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEiK/NIGsWEZVxh/FrYKtH/8kJUicFAmaL9vYACgkQYKtH/8kJ
 Uid5MQ//QKqn0Ia/HftthVl/3u1vYrv4zY5Qq9XoP7oHS5Uk15AjCmfBp9iWxW5S
 H3GTwmxC4BUPlzOaNzyXEpZnYf8IfQ8MJ6uO6uGuikx1qs9yO7XR/go873AZF1Cl
 EB36B1cRuR+Zp29+rp9LDUk5WH1v7wrUPpO/FNrrmlSbD16P3L3Mlb/MV7dV5hIY
 5PApYA4WVqSO5VAEV5ZgY+efI/1AsTW9RzsKG6OMKAYr4yLtQLpzaN02Oupkne6g
 sBQcaEH/VdEAwky7lrfXMGMFfeiR4bVuBDRX6+EDyAgoyqKgZ0L5ofOEy1JOuXgA
 aVfosV2a5ISot7pjCrYTMaScayHfkDkxf3tcrfre5VpyYu34bdi6KwnXao1U1/yi
 47X/Am52gnlE3fEpuu7f/rWugkc6rt5Zcd/LL/M23K+cOJJ8fCV2XQkzeB0XhKIB
 +zjq/g2evkF+VDnzZqX99JhtGWazvEcthInbD0OwxBk7ugFsRI0A0mfFqvXLN8PY
 LGBz/K+yFjHzQXDMaMPZcoyR7wQp+FUoqBDx/DG41mq0hI1HfyrjskkBczBGMMzT
 5hBieyY1084utmUE+Shr69DYOwp/eCansdhzi+BSmnICtTL3QiEqu8PKb9dEGxMB
 OofFuwI0fAHVf4XaGdy0s8Hn7ZUKGsKcQrTbfuIpKwH3fZOe8pU=
 =gJI1
 -----END PGP SIGNATURE-----

Merge tag 'dt-cleanup-6.11' of https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux-dt into soc/dt

Minor improvements in ARM DTS for v6.11

Few cleanups and improvements which were missed by their maintainers:

1. Add Krzysztof as odd-fixer for old ARM platforms: Alphascale, AXM
   LSI, Moxa, TI Nspire and VT8500 (with Alexey Charkov).

2. VT8500: align node names with bindings (USB, panel timings).

3. Cirrus: align node names with bindings (panel timings).

4. TI Nspire: correct unit addresses, correct watchdog compatible and
   properties while making it disabled (never tested).

5. Nuvoton, Aspeed: align node names with bindings (I2C).

   IMPORTANT: At least for Aspeed it is known to affect some user-space
   tools, because that user-space looks for specific node path via
   /sys/firmware/devicetree. The /sys/firmware/devicetree is not the ABI
   and any user-space relying on it:
    - Prevents any changes in DTS, e.g. node renaming or moving,
      changing unit addresses (re-arranging child bus addressing).
    - Is using undocumented interface.
    - Is neither reliable nor understandable.

6. TI OMAP and Davinci: align node names with bindings (panel timings),
   drop incorrect property.

7. STI: document in bindings codec child to fix dtbs_checks.

* tag 'dt-cleanup-6.11' of https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux-dt:
  ARM: dts: omap am5729-beagleboneai: drop unneeded ti,enable-id-detection
  dt-bindings: soc: sti: st,sti-syscon: document codec node
  ARM: dts: ti: align panel timings node name with dtschema
  arm: dts: aspeed: Use standard 'i2c' bus node name
  arm: dts: nuvoton: Use standard 'i2c' bus node name
  MAINTAINERS: ARM: alphascale: add Krzysztof Kozlowski as maintainer
  ARM: dts: nspire: Add full compatible for watchdog node
  ARM: dts: nspire: Add unit name addresses to memory nodes
  MAINTAINERS: ARM: nspire: add Krzysztof Kozlowski as maintainer
  MAINTAINERS: ARM: vt8500: add Alexey and Krzysztof as maintainers
  MAINTAINERS: ARM: axm: add Krzysztof Kozlowski as maintainer
  MAINTAINERS: ARM: moxa: add Krzysztof Kozlowski as maintainer
  ARM: dts: cirrus: align panel timings node name with dtschema
  ARM: dts: vt8500: align panel timings node name with dtschema
  ARM: dts: vt8500: replace "uhci" nodename with generic name "usb"

Link: https://lore.kernel.org/r/20240702065359.7378-2-krzysztof.kozlowski@linaro.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2024-07-08 16:25:58 +02:00
David Heidelberg
c1842643a3 ARM: dts: qcom: msm8960: correct memory base
DeviceTree validation requires a unit address on the memory node, adjust
the base to match [Ref] and use this as unit address.

The bootloader will update the information with the actual values during
boot.

Ref: https://github.com/msm8916-mainline/lk2nd/blob/main/target/msm8960/rules.mk

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: David Heidelberg <david@ixit.cz>
Link: https://lore.kernel.org/r/20240706220041.241839-1-david@ixit.cz
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
2024-07-06 17:04:13 -05:00
Marek Behún
731daaa509 ARM: dts: turris-omnia: Add GPIO key node for front button
Now that we have the MCU device-tree node, which acts as a GPIO
controller, add GPIO key node for the front button.

Signed-off-by: Marek Behún <kabel@kernel.org>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
2024-07-05 14:45:47 +02:00
Marek Behún
cfa65ef7c8 ARM: dts: turris-omnia: Add MCU system-controller node
Turris Omnia's MCU provides various features that can be configured over
I2C at address 0x2a. Add device-tree node.

This does not carry a Fixes tag - we do not want this to get backported
to stable kernels for the following reason: U-Boot since v2022.10
inserts a phy-reset-gpio property into the WAN ethernet node pointing to
the MCU node if it finds the MCU node with a cznic,turris-omnia-mcu
compatible. Thus if this change got backported to a stable kernel, the
WAN interface driver would defer probe indefinitely (since it would wait
for the turris-omnia-mcu driver which would not be present).

Signed-off-by: Marek Behún <kabel@kernel.org>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
2024-07-05 14:45:46 +02:00
Alexandre Torgue
81e7b432f1 ARM: dts: stm32: omit unused pinctrl groups from stm32mp13 dtb files
stm32mp13-pinctrl.dtsi contains nearly all pinctrl groups collected from
all boards. Most of them end up unused by a board and only waste binary
space. Add /omit-if-no-ref/ to the groups to scrub the unused groups
from the dtbs.

Use the following regex to update the file and drop two useless newlines too:
s@^\t[^:]\+: [^ ]\+ {$@\t/omit-if-no-ref/\r&@

Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
2024-07-05 14:45:25 +02:00
Marek Vasut
1b02383c38 ARM: dts: stm32: Add ethernet support for DH STM32MP13xx DHCOR DHSBC board
Add ethernet support for the DH STM32MP13xx DHCOR DHSBC carrier board.
This carrier board is populated with two gigabit ethernet ports and two
Realtek RTL8211F PHYs, both are described in this DT patch.

Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
2024-07-05 14:45:24 +02:00
Alexandre Torgue
bf016e1db9 ARM: dts: stm32: order stm32mp13-pinctrl nodes
Keep alphabetic order for pins definition nodes for a better read.

Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
2024-07-05 14:45:24 +02:00
Christophe Roullier
e9442f1fa4 ARM: dts: stm32: add ethernet1 for STM32MP135F-DK board
Ethernet1: RMII with crystal
Ethernet2: RMII with no cristal, need "phy-supply" property to work,
today this property was managed by Ethernet glue, but should be present
and managed in PHY node. So I will push second Ethernet in next step.

PHYs used are SMSC (LAN8742A)

Signed-off-by: Christophe Roullier <christophe.roullier@foss.st.com>
Reviewed-by: Marek Vasut <marex@denx.de>
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
2024-07-05 14:45:24 +02:00
Christophe Roullier
fbbfbdfe03 ARM: dts: stm32: add ethernet1/2 RMII pins for STM32MP13F-DK board
Those pins are used for Ethernet 1 and 2 on STM32MP13F-DK board.
ethernet1: RMII with crystal.
ethernet2: RMII without crystal.
Add analog gpio pin configuration ("sleep") to manage power mode on
stm32mp13.

Signed-off-by: Christophe Roullier <christophe.roullier@foss.st.com>
Reviewed-by: Marek Vasut <marex@denx.de>
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
2024-07-05 14:45:24 +02:00
Christophe Roullier
0872f840ed ARM: dts: stm32: add ethernet1 and ethernet2 support on stm32mp13
Both instances ethernet based on GMAC SNPS IP on stm32mp13.
GMAC IP version is SNPS 4.20.

Signed-off-by: Christophe Roullier <christophe.roullier@foss.st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
2024-07-05 14:45:24 +02:00
Uwe Kleine-König
710d4f79bd ARM: dts: stm32: Document output pins for PWMs on stm32mp135f-dk
To simplify identifying the pins where the PWM output is routed to,
add a comment to each PWM device about the respective pin on the
expansion connector.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@baylibre.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
2024-07-05 14:45:24 +02:00
Etienne Carriere
3333d21af6 ARM: dts: stm32: OP-TEE async notif interrupt for ST STM32MP15x boards
Define the GIC interrupt (PPI 15) to be used on ST STM32MP15x boards
for OP-TEE async notif.

Signed-off-by: Etienne Carriere <etienne.carriere@foss.st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
2024-07-05 14:45:24 +02:00
Krzysztof Kozlowski
5b3566a75f ARM: dts: marvell: orion: align LED node name with bindings
Bindings expect the LED node names to follow certain pattern, see
dtbs_check warnings:

  orion5x-lswsgl.dtb: gpio-leds: led-alarm: Unevaluated properties are not allowed ('gpio' was unexpected)

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
2024-07-05 14:43:11 +02:00
Krzysztof Kozlowski
d8fff5ef3e ARM: dts: marvell: orion5x-lswsgl: use 'gpios' property for LEDs
The 'gpio' property in GPIO LEDs is deprecated, as reported by
dtbs_check:

  orion5x-lswsgl.dtb: gpio-leds: led-alarm: Unevaluated properties are not allowed ('gpio' was unexpected)

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
2024-07-05 14:43:11 +02:00
Krzysztof Kozlowski
7d751583a0 ARM: dts: marvell: orion: drop incorrect address/size-cells in GPIO keys
Bindings do not allow address/size-cells in GPIO keys and the GPIO keys
is not a bus, see dtbs_check warnings:

  orion5x-lacie-ethernet-disk-mini-v2.dtb: gpio-keys: '#address-cells', '#size-cells' do not match any of the regexes: '^(button|event|key|switch|...

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
2024-07-05 14:43:11 +02:00
Krzysztof Kozlowski
85860863a4 ARM: dts: marvell: orion: align GPIO keys node name with bindings
Bindings expect the GPIO key node names to follow certain pattern, see
dtbs_check warnings:

  orion5x-lacie-d2-network.dtb: gpio-keys: 'front_button', 'power_rocker_sw_off', 'power_rocker_sw_on' do not match any of the regexes: '^(button|event|key|switch| ...

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
2024-07-05 14:43:11 +02:00
Krzysztof Kozlowski
9d0120b72b ARM: dts: marvell: kirkwood: align LED node name with bindings
Bindings expect the LED node names to follow certain pattern, see
dtbs_check warnings:

  kirkwood-ds409slim.dtb: gpio-leds-alarm-12: 'hdd1-green' does not match any of the regexes: '(^led-[0-9a-f]$|led)', 'pinctrl-[0-9]+'

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
2024-07-05 14:43:11 +02:00
Krzysztof Kozlowski
28be5af95a ARM: dts: marvell: kirkwood: drop incorrect address/size-cells in GPIO keys
Bindings do not allow address/size-cells in GPIO keys and the GPIO keys
is not a bus, see dtbs_check warnings:

  kirkwood-openblocks_a7.dtb: gpio_keys: '#address-cells', '#size-cells' do not match any of the regexes: '^(button|event|key|switch|(button|event|key|switch)...

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
2024-07-05 14:43:11 +02:00
Krzysztof Kozlowski
b98a91911d ARM: dts: marvell: kirkwood: align GPIO keys node name with bindings
Bindings expect the GPIO key node names to follow certain pattern, see
dtbs_check warnings:

  kirkwood-laplug.dtb: gpio_keys: 'power' does not match any of the regexes: '^(button|event|key|switch|(button|event|key|switch)...

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
2024-07-05 14:43:11 +02:00
Marek Behún
e62f7f6b48 ARM: dts: armada-{370-xp,375,38x,39x}: Drop #size-cells from mpic node
The marvell,mpic interrupt controller has no children nodes. Drop the

Signed-off-by: Marek Behún <kabel@kernel.org>
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
2024-07-05 14:40:28 +02:00
Chris Packham
7852134db3 ARM: dts: marvell: Add 7-segment LED display on x530
The Allied Telesis x530 products have a 7-segment LED display which is
used for node identification when the devices are stacked. Represent
this as a gpio-7-segment device.

Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
Acked-by: Gregory CLEMENT <gregory.clement@bootlin.com>
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
2024-07-05 14:35:28 +02:00
Yanjun Yang
0fc78aa67b ARM: dts: stm32: Missing clocks for stm32f429's syscfg.
Without clock definition, SYSCFG will not work, EXTI interrupt for
port other than GPIOA will fail to operate.

Signed-off-by: Yanjun Yang <yangyj.ee@gmail.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
2024-07-05 11:46:02 +02:00
Marek Vasut
6331bddce6 ARM: dts: stm32: Add support for STM32MP13xx DHCOR SoM and DHSBC board
This stm32mp135f-dhcor-dhsbc board is a stack of DHCOR SoM based on
STM32MP135F SoC (900MHz / crypto capabilities) populated on DHSBC
carrier board.

The SoM contains the following peripherals:
- STPMIC (power delivery)
- 512MB DDR3L memory
- eMMC and SDIO WiFi module

The DHSBC carrier board contains the following peripherals:
- Two RGMII Ethernet ports
- USB-A Host port, USB-C peripheral port, USB-C power supply plug
- Expansion connector

Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
2024-07-05 11:45:51 +02:00
Marek Vasut
690c66656e ARM: dts: stm32: Add pinmux nodes for DH electronics STM32MP13xx DHCOR SoM and DHSBC board
Add new pinmux nodes for DH electronics STM32MP13xx DHCOR SoM and DHSBC board.
The following pinmux nodes are added:
- ADC pins
- ADC CC pins
- ETH1 pins
- ETH2 pins
- I2C5 pins
- MCAN1 pins
- MCAN2 pins
- PWM13 pins
- PWM5 pins
- QSPI pins
- SAI1 pins
- SDMMC2 D4..D7 pins
- SPI2 pins
- SPI3 pins
- UART4 pins
- UART7 pins
- USART1 pins
- USART2 pins

Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
2024-07-05 11:45:37 +02:00
Jakub Kicinski
76ed626479 Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
Cross-merge networking fixes after downstream PR.

Conflicts:

drivers/net/phy/aquantia/aquantia.h
  219343755e ("net: phy: aquantia: add missing include guards")
  61578f6793 ("net: phy: aquantia: add support for PHY LEDs")

drivers/net/ethernet/wangxun/libwx/wx_hw.c
  bd07a98178 ("net: txgbe: remove separate irq request for MSI and INTx")
  b501d261a5 ("net: txgbe: add FDIR ATR support")
https://lore.kernel.org/all/20240703112936.483c1975@canb.auug.org.au/

include/linux/mlx5/mlx5_ifc.h
  048a403648 ("net/mlx5: IFC updates for changing max EQs")
  99be56171f ("net/mlx5e: SHAMPO, Re-enable HW-GRO")
https://lore.kernel.org/all/20240701133951.6926b2e3@canb.auug.org.au/

Adjacent changes:

drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c
  4130c67cd1 ("wifi: iwlwifi: mvm: check vif for NULL/ERR_PTR before dereference")
  3f3126515f ("wifi: iwlwifi: mvm: add mvm-specific guard")

include/net/mac80211.h
  816c6bec09 ("wifi: mac80211: fix BSS_CHANGED_UNSOL_BCAST_PROBE_RESP")
  5a009b42e0 ("wifi: mac80211: track changes in AP's TPE")

Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2024-07-04 14:16:11 -07:00
Paul E. McKenney
f1b5644862 ARM: Emulate one-byte cmpxchg
Use the new cmpxchg_emu_u8() to emulate one-byte cmpxchg() on ARM systems
with ARCH == ARMv6K.

[ paulmck: Apply Arnd Bergmann and Nathan Chancellor feedback. ]
[ paulmck: Apply Linus Walleij feedback. ]

Reported-by: Mark Brown <broonie@kernel.org>
Closes: https://lore.kernel.org/all/54798f68-48f7-4c65-9cba-47c0bf175143@sirena.org.uk/
Reported-by: Naresh Kamboju <naresh.kamboju@linaro.org>
Closes: https://lore.kernel.org/all/CA+G9fYuZ+pf6p8AXMZWtdFtX-gbG8HMaBKp=XbxcdzA_QeLkxQ@mail.gmail.com/
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Tested-by: Nathan Chancellor <nathan@kernel.org>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Cc: "Russell King (Oracle)" <rmk+kernel@armlinux.org.uk>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Andrew Davis <afd@ti.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Eric DeVolder <eric.devolder@oracle.com>
Cc: Rob Herring <robh@kernel.org>
Cc: <linux-arm-kernel@lists.infradead.org>
2024-07-04 13:32:41 -07:00
Marek Vasut
9c29e5d7a2 ARM: dts: rockchip: Drop ethernet-phy-ieee802.3-c22 from PHY compatible string on edgeble-neu2
The rtl82xx DT bindings do not require ethernet-phy-ieee802.3-c22
as the fallback compatible string. There are fewer users of the
Realtek PHY compatible string with fallback compatible string than
there are users without fallback compatible string, so drop the
fallback compatible string from the few remaining users:

$ git grep -ho ethernet-phy-id001c....... | sort | uniq -c
      1 ethernet-phy-id001c.c816",
      2 ethernet-phy-id001c.c915",
      2 ethernet-phy-id001c.c915";
      5 ethernet-phy-id001c.c916",
     13 ethernet-phy-id001c.c916";

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202406290316.YvZdvLxu-lkp@intel.com/
Signed-off-by: Marek Vasut <marex@denx.de>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://lore.kernel.org/r/20240630034910.173552-1-marex@denx.de
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
2024-07-04 19:42:44 +02:00
Matthew Wilcox (Oracle)
06668257a3 mm: remove page_mapping()
All callers are now converted, delete this compatibility wrapper.  Also
fix up some comments which referred to page_mapping.

Link: https://lkml.kernel.org/r/20240423225552.4113447-7-willy@infradead.org
Link: https://lkml.kernel.org/r/20240524181813.698813-1-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: David Hildenbrand <david@redhat.com>
Cc: Eric Biggers <ebiggers@google.com>
Cc: Sidhartha Kumar <sidhartha.kumar@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2024-07-03 19:29:59 -07:00
Greg Kroah-Hartman
d69d804845 driver core: have match() callback in struct bus_type take a const *
In the match() callback, the struct device_driver * should not be
changed, so change the function callback to be a const *.  This is one
step of many towards making the driver core safe to have struct
device_driver in read-only memory.

Because the match() callback is in all busses, all busses are modified
to handle this properly.  This does entail switching some container_of()
calls to container_of_const() to properly handle the constant *.

For some busses, like PCI and USB and HV, the const * is cast away in
the match callback as those busses do want to modify those structures at
this point in time (they have a local lock in the driver structure.)
That will have to be changed in the future if they wish to have their
struct device * in read-only-memory.

Cc: Rafael J. Wysocki <rafael@kernel.org>
Reviewed-by: Alex Elder <elder@kernel.org>
Acked-by: Sumit Garg <sumit.garg@linaro.org>
Link: https://lore.kernel.org/r/2024070136-wrongdoer-busily-01e8@gregkh
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-07-03 15:16:54 +02:00
Rob Herring (Arm)
8d75537beb perf/arm: Move 32-bit PMU drivers to drivers/perf/
It is preferred to put drivers under drivers/ rather than under arch/.
The PMU drivers also depend on arm_pmu.c, so it's better to place them
all together.

Acked-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://lore.kernel.org/r/20240626-arm-pmu-3-9-icntr-v2-3-c9784b4f4065@kernel.org
Signed-off-by: Will Deacon <will@kernel.org>
2024-07-03 14:07:14 +01:00
Raymond Hackley
2a5454d0fe ARM: dts: qcom: qcom-msm8226-samsung-ms013g: Add initial device tree
Samsung Galaxy Grand 2 is a phone based on MSM8226. It's similar to the
other Samsung devices based on MSM8226 with only a few minor differences.

The device trees contain initial support with:
 - GPIO keys
 - Regulator haptic
 - SDHCI (internal and external storage)
 - UART (on USB connector via the TI TSU6721 MUIC)
 - Regulators
 - Touchscreen
 - Accelerometer

Signed-off-by: Raymond Hackley <raymondhackley@protonmail.com>
Reviewed-by: Luca Weiss <luca@lucaweiss.eu>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20240630132859.2885-3-raymondhackley@protonmail.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
2024-07-02 22:15:57 -05:00
Linus Walleij
657a292d67 ARM: 9408/1: mm: CFI: Fix some erroneous reset prototypes
I somehow got a few cpu_nn_reset() signatures wrong in my
patch. Fix it up.

Closes: https://lore.kernel.org/oe-kbuild-all/202406260432.6WGV2jCk-lkp@intel.com/

Fixes: 393999fa96 ("ARM: 9389/2: mm: Define prototypes for all per-processor calls")
Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Nathan Chancellor <nathan@kernel.org>
Reviewed-by: Sami Tolvanen <samitolvanen@google.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
2024-07-02 09:19:14 +01:00
Jinjie Ruan
2335c9cb83 ARM: 9407/1: Add support for STACKLEAK gcc plugin
Add the STACKLEAK gcc plugin to arm32 by adding the helper used by
stackleak common code: on_thread_stack(). It initialize the stack with the
poison value before returning from system calls which improves the kernel
security. Additionally, this disables the plugin in EFI stub code and
decompress code, which are out of scope for the protection.

Before the test on Qemu versatilepb board:
	# echo STACKLEAK_ERASING  > /sys/kernel/debug/provoke-crash/DIRECT
	lkdtm: Performing direct entry STACKLEAK_ERASING
	lkdtm: XFAIL: stackleak is not supported on this arch (HAVE_ARCH_STACKLEAK=n)

After:
	# echo STACKLEAK_ERASING  > /sys/kernel/debug/provoke-crash/DIRECT
	lkdtm: Performing direct entry STACKLEAK_ERASING
	lkdtm: stackleak stack usage:
	  high offset: 80 bytes
	  current:     280 bytes
	  lowest:      696 bytes
	  tracked:     696 bytes
	  untracked:   192 bytes
	  poisoned:    7220 bytes
	  low offset:  4 bytes
	lkdtm: OK: the rest of the thread stack is properly erased

Signed-off-by: Jinjie Ruan <ruanjinjie@huawei.com>
Acked-by: Ard Biesheuvel <ardb@kernel.org>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
2024-07-02 09:18:43 +01:00
Jinjie Ruan
4e7b4ff2dc ARM: 9406/1: Fix callchain_trace() return value
perf_callchain_store() return 0 on success, -1 otherwise, fix
callchain_trace() to return correct bool value. So walk_stackframe() can
have a chance to stop walking the stack ahead.

Fixes: 70ccc7c066 ("ARM: 9258/1: stacktrace: Make stack walk callback consistent with generic code")
Signed-off-by: Jinjie Ruan <ruanjinjie@huawei.com>
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
2024-07-02 09:17:00 +01:00
Krzysztof Kozlowski
2a89f2b7e4 ARM: dts: qcom: apq8064: drop incorrect ranges from QFPROM
There is no direct mapping between QFPROM children and parent/SoC MMIO
bus, so 'ranges' property is not correct.  Pointed by dtbs_check:

  qcom-apq8064-cm-qs600.dtb: efuse@700000: Unevaluated properties are not allowed ('ranges' was unexpected)

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202406292139.yqPYyUfi-lkp@intel.com/
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20240701062253.18149-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
2024-07-01 22:25:19 -05:00
Rob Herring (Arm)
04f08ef291
arm/arm64: dts: arm: Use generic clock and regulator nodenames
With the recent defining of preferred naming for fixed clock and
regulator nodes, convert the Arm Ltd. boards to use the preferred
names. In the cases which had a unit-address, warnings about missing
"reg" property are fixed.

Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Sudeep Holla <sudeep.holla@arm.com>
Link: https://lore.kernel.org/20240528191536.1444649-2-robh@kernel.org
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20240630-arm-dts-fixes-2-v1-1-a32ba57e5b1d@linaro.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2024-07-01 15:50:39 +02:00
Marek Behún
ade9906194 ARM: dts: turris-omnia: Add GPIO key node for front button
Now that we have the MCU device-tree node, which acts as a GPIO
controller, add GPIO key node for the front button.

Signed-off-by: Marek Behún <kabel@kernel.org>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Andy Shevchenko <andy@kernel.org>
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
Acked-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Acked-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/20240701113010.16447-9-kabel@kernel.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2024-07-01 15:47:15 +02:00
Marek Behún
04515932e5 ARM: dts: turris-omnia: Add MCU system-controller node
Turris Omnia's MCU provides various features that can be configured over
I2C at address 0x2a. Add device-tree node.

This does not carry a Fixes tag - we do not want this to get backported
to stable kernels for the following reason: U-Boot since v2022.10
inserts a phy-reset-gpio property into the WAN ethernet node pointing to
the MCU node if it finds the MCU node with a cznic,turris-omnia-mcu
compatible. Thus if this change got backported to a stable kernel, the
WAN interface driver would defer probe indefinitely (since it would wait
for the turris-omnia-mcu driver which would not be present).

Signed-off-by: Marek Behún <kabel@kernel.org>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Andy Shevchenko <andy@kernel.org>
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
Acked-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Acked-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/20240701113010.16447-8-kabel@kernel.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2024-07-01 15:47:15 +02:00
Arnd Bergmann
8181a2f151
Merge tag 'renesas-dts-for-v6.11-tag2-v2' of https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-devel into soc/dt
* tag 'renesas-dts-for-v6.11-tag2-v2' of https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-devel:
  arm64: dts: renesas: r8a779h0: R-Car Sound support
  arm64: dts: renesas: r8a779g0: Tidy up sound DT settings
  arm64: dts: renesas: Add interrupt-names to arch timer nodes
  ARM: dts: renesas: Add interrupt-names to arch timer nodes
  arm64: dts: renesas: r9a08g045: Add missing hypervisor virtual timer IRQ
  arm64: dts: renesas: r9a07g054: Add missing hypervisor virtual timer IRQ
  arm64: dts: renesas: r9a07g044: Add missing hypervisor virtual timer IRQ
  arm64: dts: renesas: r9a07g043u: Add missing hypervisor virtual timer IRQ
  arm64: dts: renesas: r8a779g0: Add missing hypervisor virtual timer IRQ
  arm64: dts: renesas: r8a779f0: Add missing hypervisor virtual timer IRQ
  arm64: dts: renesas: r8a779a0: Add missing hypervisor virtual timer IRQ
  arm64: dts: renesas: r8a779h0: Drop "opp-shared" from opp-table-0

Link: https://lore.kernel.org/r/cover.1719837594.git.geert+renesas@glider.be
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2024-07-01 15:35:24 +02:00
Arnd Bergmann
07917ee087 Apart from the regular dts fixes for wrong addresses, missing
or wrong properties, this reverts the previous move away from
 cd-gpios to the mmc-controller's internal card-detect.
 With this change applied, it was reported that boards could not
 detect card anymore, so this go reverted of course.
 -----BEGIN PGP SIGNATURE-----
 
 iQFEBAABCAAuFiEE7v+35S2Q1vLNA3Lx86Z5yZzRHYEFAmZ92SwQHGhlaWtvQHNu
 dGVjaC5kZQAKCRDzpnnJnNEdgSDBB/95oWtHr8L4LZYeedAQLuf6regICaIIfjas
 7skbt+e4Nryl5B0eaieHd9UtotS+FWw/1T6fOIoACMLILUsbqtffUOyhP+yJsG3O
 fXFvi+8Mn9OOCbY1X28UTMnaLG1BLfc4TnMKXZsl6Rxt+pV0ktL9ZVUPzZOMA1tW
 Ssj7xgNDfi/xqjx5PqNluHWM3XHXABWjUWwRjNebbgmyVWdo3vmU5QxayVPd0AzF
 iSisrWojWLEVfL4+aQi2ten7udfSre7eB80KIySIQIoWzArqpt88/8LF+KM1jYpU
 uTGqbC2azGXqAgOnSKcAlj/ogmZpkjb+oPdJKtBuFjPvgMBFAqQR
 =vK3N
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEiK/NIGsWEZVxh/FrYKtH/8kJUicFAmaCohgACgkQYKtH/8kJ
 Uif56g/9ESQjQdCzSxHxqjaBML3yaFfvoYgaRwLf2HGiplN5y8GLaVmvjhMYRR0B
 j9p2tZzSEe9kNTqPYfavaSd45OMJcJhDc3aiZ+NmSON2VS80zZoB+x7qiCGrskEj
 VBZQYAEDenUiIA6Um3ikaLMlGJIjWsqcP3+wrIPVEWUYnEG9DyLjPou4f8anSPZo
 Rx2tTFsuvnFfwaQE6q/OxoGu7m2aYNj6qSMAKrLgCu9sGnGafWrLrozZY/4LaW2K
 BaXEoK8/RFqGK+6rm3KpctnW0sn2tSQOsbeqZbMdYRR6ntkIjLKZO/JNOvsT3pWK
 ZDFXgKE/qaoQdhjFGs+3yjR8UenqLm2eoV8ubp5qpOPXyanRzHbK4M+wV0eAiSEI
 SbgfvVUe5tiF98Sw6QxZ+f+PJs19gzLAlvEIQp/ziLPypw8sxegSScx5DiC6kQV4
 NLQ8qtmNt/INczXaQplwTPjYwJUFcRIo6bMBlR6nkdOMwlsl00p4UqJ4tcHbUqHo
 EPzjM/X25JIEFLjcuPuKunaR0J3/oIC4jXwjBcJzS/8tziKw/bBe5oGo3zgvhNW7
 kmAjP3qbsvM6oN0UYE4iVKsyfKk8b2L3SUavkeesr+FgkIPiMrC0net7CL4mtBZ5
 2QtnDgqVO7j/kCO4OsVQPe1/sLnxOTpqkJx79fY71a+UVt7YQ8Q=
 =be1d
 -----END PGP SIGNATURE-----

Merge tag 'v6.10-rockchip-dtsfixes1' of git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip into arm/fixes

Apart from the regular dts fixes for wrong addresses, missing
or wrong properties, this reverts the previous move away from
cd-gpios to the mmc-controller's internal card-detect.
With this change applied, it was reported that boards could not
detect card anymore, so this go reverted of course.

* tag 'v6.10-rockchip-dtsfixes1' of git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip:
  arm64: dts: rockchip: Add sound-dai-cells for RK3368
  arm64: dts: rockchip: Fix the i2c address of es8316 on Cool Pi 4B
  arm64: dts: rockchip: fix PMIC interrupt pin on ROCK Pi E
  arm64: dts: rockchip: make poweroff(8) work on Radxa ROCK 5A
  Revert "arm64: dts: rockchip: remove redundant cd-gpios from rk3588 sdmmc nodes"
  ARM: dts: rockchip: rk3066a: add #sound-dai-cells to hdmi node
  arm64: dts: rockchip: Fix the value of `dlg,jack-det-rate` mismatch on rk3399-gru
  arm64: dts: rockchip: set correct pwm0 pinctrl on rk3588-tiger
  arm64: dts: rockchip: Rename LED related pinctrl nodes on rk3308-rock-pi-s
  arm64: dts: rockchip: Fix SD NAND and eMMC init on rk3308-rock-pi-s
  arm64: dts: rockchip: Fix rk3308 codec@ff560000 reset-names
  arm64: dts: rockchip: Fix the DCDC_REG2 minimum voltage on Quartz64 Model B

Link: https://lore.kernel.org/r/10237789.nnTZe4vzsl@diego
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2024-07-01 14:33:27 +02:00
Geert Uytterhoeven
9d30bd7bdf ARM: dts: renesas: Add interrupt-names to arch timer nodes
Add interrupt-names properties to device nodes that represent ARM
architected timers for clarity.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/b964e2f916cc23b6272e158c7b24597c971a82a5.1718890849.git.geert+renesas@glider.be
2024-07-01 11:35:08 +02:00
Dmitry Torokhov
237c5c9581 ARM: tegra: paz00: Use software nodes to describe GPIOs for WiFi rfkill
Complete conversion of the WiFi rfkill device to use device properties/
software nodes by utilizing PROPERTY_ENTRY_GPIO() instead of a lookup
table.

Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2024-06-28 17:52:16 +02:00
Arnd Bergmann
c5003718cb More attention for the rk3128 soc (dsi, i2c, spdif, sfc), hdmi-sound
for a rk3066a board and some minor cleanups.
 -----BEGIN PGP SIGNATURE-----
 
 iQFEBAABCAAuFiEE7v+35S2Q1vLNA3Lx86Z5yZzRHYEFAmZ938wQHGhlaWtvQHNu
 dGVjaC5kZQAKCRDzpnnJnNEdgcqdB/sG3WZ6hIWShGF20oDTREtJlxkOGenvGZDO
 d3DjFoq7s2zmsucDy95zsHB0Y3xd6yfZnKBqVs0UlYoegCA/Q+67Itj4o7g7nCn+
 SdgsTrc4B+EbS1OuHjeKGQbyDkk/vZ3Bhb37RBYMsfN0v5kErMdb5fh72ApXY3I3
 vMDlEMdSE4vYxChy3X+arW29EDQvExfk+aNRogksQdDDo4JbJYBrKXU5YiIJV7LN
 64jvzAyC83sy3wajmLf6p67wVaFAfWbKdh2oHP7s+Ra4dzsfnIDT30EDaMtic7gx
 YOpXxk+GJywGabYtHdUPDN5O39BQsebVkrCh3RjFVlDxXG1DVwkK
 =uH5O
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEiK/NIGsWEZVxh/FrYKtH/8kJUicFAmZ+3BsACgkQYKtH/8kJ
 UieZahAAy8/8lVgeJPNAhSXD5j6Ov+gLaJBRYaVJJ29LV7PVYvlwxVzgZS8GAY9g
 F5KJ0EN7TewhUCm++6sZ+u1vm6chf8tk7ijOVjeiMJL25ECAvz1RnSg/qGMYTC24
 ZI47IQYF+oOrV8cA3HT+5UnbsT/Jejbf4gTrLXKjvqOXjc1pXI95X74WMsnr5hH1
 EM5kLVhqiMJPuDHknQavkywf4HgByMdUf6UJKboUAymHzICgwxZOcUva/QIJWZui
 /Wx+GrVwGPrtGgtUwsraKg3bY/eFvNso0UWGU7LWOaSk/rytTPzU7sVwInaT3qaY
 6imlD27FMjmoKv5hBWK++ZN6IXMd+qCrRl1ZXTFHXN8z/ppfFnWwuhm1dqYC6dDP
 ypmGxC+KkEF+m8Y098XA+h1Ksdtad7XHrJuha5cvgD6ogGzfIX4/OWWpT5ia4DL2
 WkMPvx0U7cUWhSwX9jRRlmLTl8ulIMmAFtPapnR/QjVlZxoRSMYs18J/m9/RXMIa
 N5DrHdfSl3cCX7cN4652m+F39KOnGloG0CqVe6KFkRf1eweCSKrT6W0+IZywHqVx
 2Ko/2I8PoatbzLgq+b9+e+3DNWLbzGdYp6XPKOurz7rI8e6DWoU68aXIAc17rlPH
 1G11r3K7UX9dNPWnZKcsbPSSwSmhoUbJt7iQ1bOMSnyJ64aUxRM=
 =ZCNf
 -----END PGP SIGNATURE-----

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

More attention for the rk3128 soc (dsi, i2c, spdif, sfc), hdmi-sound
for a rk3066a board and some minor cleanups.

* tag 'v6.11-rockchip-dts32-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip:
  ARM: dts: rockchip: add #sound-dai-cells to hdmi node on rk3128
  ARM: dts: rockchip: add #sound-dai-cells to hdmi node no rk3036
  ARM: dts: rockchip: enable hdmi_sound and i2s0 for mk808 hdmi
  ARM: dts: rockchip: Add SFC for RK3128
  ARM: dts: rockchip: add hdmi-sound node to rk3066a
  ARM: dts: rockchip: Add spdif node for RK3128
  ARM: dts: rockchip: Add i2s nodes for RK3128
  ARM: dts: rockchip: Add DSI for RK3128
  ARM: dts: rockchip: Add D-PHY for RK3128
  dt-bindings: clock: rk3128: Add PCLK_MIPIPHY

Link: https://lore.kernel.org/r/2187283.irdbgypaU6@diego
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2024-06-28 17:51:55 +02:00
Arnd Bergmann
c48081f41e MediaTek ARM32 DTS updates for v6.11
This adds a single commit that cleans up the drive-strength
 value assignment on all devicetrees using the deprecated
 MTK_DRIVE_(x)mA definition.
 -----BEGIN PGP SIGNATURE-----
 
 iJ4EABYKAEYWIQQn3Xxr56ypAcSHzXSaNgTPrZeEeAUCZn6APSgcYW5nZWxvZ2lv
 YWNjaGluby5kZWxyZWdub0Bjb2xsYWJvcmEuY29tAAoJEJo2BM+tl4R4wesA/0Ll
 b9k4FkjiwHD8VIUbN6N1dxPlhXG7cJTAYa9Im+utAQDVG+PRkX1SzWjKBMDW+ewI
 wi4EOu3U8LB+yd9uktFKAA==
 =5M+u
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEiK/NIGsWEZVxh/FrYKtH/8kJUicFAmZ+2mEACgkQYKtH/8kJ
 UicEhQ//QU2tR/li/J5OegjPmTBmNXjyn97OPd5BZzaO7/AMJTLTi/G2+snTORVz
 N9tT7QJq5gK9GxI/SlhUXfmH9m+CGT8n7yLtwLDUIoo7IcgB6u4CsWoSANRuxM0n
 kWIWzMVg0C4tRUJljCtWrhOZsHLTbzNHeRrmlbWuSDkaKVmRiqMYuhMojvYOUgz7
 5z/1f48SBA5GGlENf7VaVlN98B9UaZ4UjplIGf1O7KjB96B7HLCHMEt9V4k+vywX
 oaSMtrbFW4cveBLk8TXqlsqcTj63w2Nr7H9eZh0pSv/roaEWSBMt8BQRPCxp8j7/
 lvoqhPcrKDyKbGDRWCZ+XJvBwAE4FftkceJzdsKxauGRHUQsrxEt9ygWDlxEQYNo
 4hcKSErhggLJbTFDSwDOrcdw7EsUEoW25XkArRezdOWc3KymEAFi+1dIdfDvM+9+
 AgfrPHW6OdfJadGZ+U/N8ovzHZWs6uJznMtBPqGdDTWJPSDIDhoK03FoYxQ9IqKW
 TMaeQkd47LEIHz0XqNgBRUezBEs4zn5M0d9psYBkJRIsumux6hj1VKva8u4ETHwH
 onsTI3j9CLf2N9f8abmgD+sXdR7fDYh93huPtZGEbsrmajDOZKnHweYCsmeT9ws2
 DGhQV1gHxL/akLkmX+nzkyWssUc79w07SJTgM5x0Yt5TpzNlNOY=
 =eCJ3
 -----END PGP SIGNATURE-----

Merge tag 'mtk-dts32-for-v6.11' of https://git.kernel.org/pub/scm/linux/kernel/git/mediatek/linux into soc/dt

MediaTek ARM32 DTS updates for v6.11

This adds a single commit that cleans up the drive-strength
value assignment on all devicetrees using the deprecated
MTK_DRIVE_(x)mA definition.

* tag 'mtk-dts32-for-v6.11' of https://git.kernel.org/pub/scm/linux/kernel/git/mediatek/linux:
  arm: dts: mediatek: Declare drive-strength numerically

Link: https://lore.kernel.org/r/20240628093801.126013-2-angelogioacchino.delregno@collabora.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2024-06-28 17:44:32 +02:00
Arnd Bergmann
7fd04cf257 STi DT for v6.11 :
_ Add #thermal-sensor-cells property on stih410.dtsi and stih418.dtsi
 _ Add thermal-zones support on stih418
 _
 -----BEGIN PGP SIGNATURE-----
 
 iQJQBAABCgA6FiEEXyrViUccKBz9c35Jysd4L3sz/6YFAmZ+clQcHHBhdHJpY2Uu
 Y2hvdGFyZEBmb3NzLnN0LmNvbQAKCRDKx3gvezP/phdhD/wNUl+56Hg/xmIuy0UC
 Fa6PV8V0K46iLwEWYepkMfigDPXibmFmMdRMypzuX2f3zu1NlQQE7aF7N6hocIVX
 TuoHPh7pCwcQwoTfV7XUtIaMZZfVyPr4GkSqYiu6KMDjcJglUzktiehcqrRp6w2j
 4CUxUuM0gdgL+PpomJm3ZefWYPQgUyEjeKF066w+36BghJ/uE/9ZSj0twmIexfGR
 /FXN5p9UUZBYfG/A8YwJsGrUByhgmhxIVt/mpr2OUQ2NP7frigjnwzHuyroaR4Jm
 AwdaIDkKHYPOET09kkzUY0gW+Vk4EgiLTqQPp6Qv7u8KANGZ9wtgz8bMjgEFkXoC
 KaSU3tv0P1mE/ZzW/j3M1BuaHnupuwQPZiNdvbJ82RkmBtDGJP0Kr0coMpKiXvGG
 VAp1XSsCO+1JmH3GDIK7sOcfZVSy8OI58DVZ+K9o7ZYRD8fDP57bhrcZivYDyHP5
 82Wqlm5NuMpuLPvlTSQyft6QW+V2woHqxSoybJEjB+YRS3gniYatyrCfc7ugTLGt
 SXYoUF2IJfVPAIMWyWXwEV/2kWtXLJjkHO5BNKkC8VhkLsK+MpVwDiEMKUDWz2A1
 hVD8VCYxoRB6FgwJPUQe4UVmyeN5Jw794aUy2Lk3UD627eGWYYvS11qmAdDIgIVQ
 QgZMxwXm2Fp4GotxxJDl26MkVQ==
 =lbQi
 -----END PGP SIGNATURE-----

Merge tag 'sti-dt-for-v6.11-round1' of https://git.kernel.org/pub/scm/linux/kernel/git/pchotard/sti into soc/dt

STi DT for v6.11 :

_ Add #thermal-sensor-cells property on stih410.dtsi and stih418.dtsi
_ Add thermal-zones support on stih418
_
2024-06-28 17:31:49 +02:00
Rob Herring
b1a4e71d4f
arm: dts: arm: Drop redundant fixed-factor clocks
There's not much reason to have multiple fixed-factor-clock instances
which are all the same factor and clock input. Drop the nodes, but keep
the labels to minimize the changes and keep some distinction of the
different clocks.

Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/20240528191536.1444649-1-robh@kernel.org
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20240627-arm-dts-fixes-v1-1-40a2cb7d344b@linaro.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2024-06-28 17:28:45 +02:00
Marek Behún
2af8d8a583
ARM: dts: armada-{370-xp,375,38x,39x}: Drop #size-cells from mpic node
The marvell,mpic interrupt controller has no children nodes. Drop the

Signed-off-by: Marek Behún <kabel@kernel.org>
Link: https://lore.kernel.org/r/20240624145355.8034-2-kabel@kernel.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2024-06-28 17:27:44 +02:00
Arnd Bergmann
0dabf24cf4 Arm Vexpress updates for v6.11
Remove obsolete RTSM DCSCB support which was only ever implemented
 on a software model which is neither available to download nor
 maintained. It predates the very first bL cluster based platforms.
 
 Other change include addition of the missing MODULE_DESCRIPTION
 macro in vexpress config bus driver.
 -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEEunHlEgbzHrJD3ZPhAEG6vDF+4pgFAmZz7QIACgkQAEG6vDF+
 4phSjBAAuuUpgUrG/LOniUoyOPXvX4SXGmwuSKMpicsgj9ojIlYjkVEeQGt67ERY
 abTZhyOO3l/6hhs0j1YeB2H0C5VgJMwgBG1ZObaD6QM6PtTvlJU5h5f1VSLFv7YY
 wV9SE2BQbfVjf4cH9U/p2r90VM+SZIjTcGpzgIB6d2/XdNnEMyohmuBhXsOtuS4C
 I5yfVKiAiT4AJdmO32JDmGvio5sudFQbBk3Q5y3ofukdxNVmeo1SHC3MasSakQt8
 T0TLaRa3UqEAIw93hKzhp1/k8K4uzYQyDbVB/PCao8rOlPeR6A3WOu1qpfv7FFp5
 noIS+87eAak2fILtFBGWpbun/gR+ewINJrP4iV8LiOIw4HLT6hKzANzKDztXeWAe
 yWs7A8xaC67DFygrRGSq9yxnElRBOEhegdaBY++2cG6jGzI3EJze1ufYmdKJ+WyF
 C8PIubi5IGzPN0NPQivui3fedT3mEV/Bv7NjiD7jx8auTOtxASqGMYY/rmiz4nJQ
 Dzd2kJ/b+4Tx9oIONfbB/4HsA5tkcdwh/aylsdhLKACrmREZVWQ2NzFtKnfA0fQv
 2+Dvmnw0NisQfXbHT0B5bp7beYg24pEJuzSGGapPaY4WzNTGFCNg6MRtR/dEiLJN
 UG6lobFmUKzs9KGMWorXKhlp+OhqQbNb2c8rYH8qA2QQo6ZcIAE=
 =VAfv
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEiK/NIGsWEZVxh/FrYKtH/8kJUicFAmZ+yKsACgkQYKtH/8kJ
 Uid8pw/5AeAKo8906bIaKuwrXy1s/iJaC+bfbxX5sQqbalLPwsifRtNGsx0E0FcT
 K+uh46GEt2Gczq8GMBmJjlDVK++xm+MszUdZV2qhtf+eF4tDiPHZAzuXTTzt5wgG
 rbjPeJu6HhMDPO9s9+xDSilcnQ4FB/24+9s3PIiV9zx83fBKnIfr7rb53XJKUh3p
 sgz6iHHkCtlmZB3+oHPlK+bd63j7lnbpdOBVOEUGZccZZu5xJ0xNg2br1b1nQkpN
 xgD4JkKNqqfA6LO2DziAAOR/LCRJGff1BmwaRAMX+hWNqGbRRGlbShZIIKwQ4ejQ
 OHDm43yvJNEVeCqKj4Cqa6gesUB9Myl2Pu8bKnjk7gm4P+LOpNQpNtMb5v7bgGd0
 /wX02IA5Y8RN+wDkYAaI08Eb8bmaJ8EdY73fUhNGQutNKiCzCEM38QRmvsBCEio8
 z6qLTXnZl/lFEp0q442ZPB6gxo6CwB2FgRBWrNLlPuPU2S2pnUcgh+FZQGipJklA
 RnODnMiZuNrlWkicb5nagX7X+INs3d81R23C/eJz8VapTlHPO36I2ZMIMPWbnln/
 WRFoIzv+tUWe1Z4HQ6nw7N+o3k/TPijlN9/YC8s+O2xN9cVPu9g4rcmy8fWFF3Q4
 UpehJDEfAFH8b2Smkfcbmx8uWe2pZZLoE4S2lLMYykvr5+6tZvk=
 =jv0e
 -----END PGP SIGNATURE-----

Merge tag 'vexpress-updates-6.11' of git://git.kernel.org/pub/scm/linux/kernel/git/sudeep.holla/linux into soc/arm

Arm Vexpress updates for v6.11

Remove obsolete RTSM DCSCB support which was only ever implemented
on a software model which is neither available to download nor
maintained. It predates the very first bL cluster based platforms.

Other change include addition of the missing MODULE_DESCRIPTION
macro in vexpress config bus driver.

* tag 'vexpress-updates-6.11' of git://git.kernel.org/pub/scm/linux/kernel/git/sudeep.holla/linux:
  bus: vexpress-config: Add missing MODULE_DESCRIPTION() macro
  dt-bindings: arm: Remove obsolete RTSM DCSCB binding
  arm: vexpress: Remove obsolete RTSM DCSCB support

Link: https://lore.kernel.org/r/20240620093924.375244-4-sudeep.holla@arm.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2024-06-28 16:28:59 +02:00
Raphael Gallais-Pou
b664f6f7a7 ARM: dts: sti: add thermal-zones support on stih418
Add a 'thermal-zones' node for stih418.

A thermal-zone needs three components:
  - thermal sensors, described in an earlier commit[1]
  - cooling devices, specified for each CPU
  - a thermal zone, describing the overall behavior.

The thermal zone needs references to both CPUs and thermal sensors,
which phandle are also added. The thermal management will then be
achieved on CPUs using the cpufreq framework.

[1] https://lore.kernel.org/lkml/20240320-thermal-v3-2-700296694c4a@gmail.com/

Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
Signed-off-by: Raphael Gallais-Pou <rgallaispou@gmail.com>
Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
2024-06-28 10:17:22 +02:00
Raphael Gallais-Pou
e00d100a94 ARM: dts: st: add thermal property on stih410.dtsi and stih418.dtsi
"#thermal-sensor-cells" is required and missing in thermal nodes.
Add it.

Signed-off-by: Raphael Gallais-Pou <rgallaispou@gmail.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
2024-06-28 10:16:57 +02:00
Jakub Kicinski
193b9b2002 Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
Cross-merge networking fixes after downstream PR.

No conflicts.

Adjacent changes:
  e3f02f32a0 ("ionic: fix kernel panic due to multi-buffer handling")
  d9c0420999 ("ionic: Mark error paths in the data path as unlikely")

Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2024-06-27 12:14:11 -07:00
Johan Jonker
313da6f69f ARM: dts: rockchip: add #sound-dai-cells to hdmi node on rk3128
'#sound-dai-cells' is required to properly interpret
the list of DAI specified in the 'sound-dai' property,
so add them to the 'hdmi' node for 'rk3128.dtsi'.

Signed-off-by: Johan Jonker <jbx6244@gmail.com>
Link: https://lore.kernel.org/r/9d0fabb0-70b0-4b4b-ac7c-389b1c7afe20@gmail.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
2024-06-27 20:57:05 +02:00
Johan Jonker
d45db4fcd3 ARM: dts: rockchip: add #sound-dai-cells to hdmi node no rk3036
'#sound-dai-cells' is required to properly interpret
the list of DAI specified in the 'sound-dai' property,
so add them to the 'hdmi' node for 'rk3036.dtsi'.

Signed-off-by: Johan Jonker <jbx6244@gmail.com>
Link: https://lore.kernel.org/r/55d302e5-c018-4b93-84c1-8cf75162e939@gmail.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
2024-06-27 20:57:00 +02:00
Arnd Bergmann
88d81c8643 Renesas DTS updates for v6.11
- Add support for the second and third Ethernet interfaces on the
     White Hawk development board,
   - Add support for the second Ethernet interface on the RZ/N1 SoC,
   - Add I2C EEPROM support for the Condor-I development board,
   - Add video capture support for the R-Car V4M SoC,
   - Miscellaneous fixes and improvements.
 -----BEGIN PGP SIGNATURE-----
 
 iHUEABYIAB0WIQQ9qaHoIs/1I4cXmEiKwlD9ZEnxcAUCZmv/jAAKCRCKwlD9ZEnx
 cNnMAQCcV1ReuhVkemL08Y18kumtj7Mb9L4DgrSuXHhg0h88+gD+OJ2IRa+50CV9
 wg830gqRhFvwdL+A3oAKvSKsfvjVIAI=
 =jGtG
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEiK/NIGsWEZVxh/FrYKtH/8kJUicFAmZ9eLwACgkQYKtH/8kJ
 UieK9Q//UQUqcgqmVwjtqzXPV6FDwk/mbi6VyoQ2p/8uckML3LnzpNWDo8uU6OG2
 epVsgCF3E3scJvx2O08B+T3Gd9cRsfP/bGVwfTlROG7CeZJ83yqBhKjr/lXuHL3g
 gLLtJBD7c989Tu+g+KWSE8oLhBJXor6nD7scUPJp8fHBmhwA64qH/E72+jEQpeRh
 wu2DKR6B3YGknfJCNy7DM7rKa1h2srG+Lg7qCNLXJ1c0wuGWxp4QYYmCNcR6KAh3
 9tvFMYy9ucRPY6SmEWlHWTt8WcBoE9sKwfY57XRJZDikxH8ijla6U8KyAhVbj7IH
 roF7mlv65Jg1oKhwdrY4g3xMu9ffedJ2+Y6DDvwvGPY1FdAzBsSK03Iz2zdBVEbV
 dV8HvZ/TPCEA1itk7U3isZMQDTTLsURoXORD8mI3nU2MfghMhABT2tnxUI31/wXR
 PXKWir5+BC3rIDseOP2J5p5oNI5bDqlzhLULxboYwRCyfPAkNi9C5iTiw1MQE9o7
 dDVjey38rddtZkxyDavAajIvbD01TkA4ttZM8PjPc1FaGRjjXVi20YbEF4rg9QQ0
 aFUHrWb5b/mSYUGQNWtOOL+U0OFC/paXZbTqfRa+M1rktYKjIyUPf7J/rGePyEX5
 PkQ7oH2IuYMwOIvj5O4lios51ICBiMP6Gqf1WDmq/C776A0kgnE=
 =guZW
 -----END PGP SIGNATURE-----

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

Renesas DTS updates for v6.11

  - Add support for the second and third Ethernet interfaces on the
    White Hawk development board,
  - Add support for the second Ethernet interface on the RZ/N1 SoC,
  - Add I2C EEPROM support for the Condor-I development board,
  - Add video capture support for the R-Car V4M SoC,
  - Miscellaneous fixes and improvements.

* tag 'renesas-dts-for-v6.11-tag1' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-devel:
  arm64: dts: renesas: r8a779h0: Add video capture nodes
  arm64: dts: renesas: r9a08g045: Update fallback string for SDHI nodes
  arm64: dts: renesas: rzg2l: Update fallback string for SDHI nodes
  arm64: dts: renesas: r9a09g011: Update fallback string for SDHI nodes
  arm64: dts: renesas: s4sk: Add aliases for I2C buses
  arm64: dts: renesas: spider-cpu: Add aliases for I2C buses
  arm64: dts: renesas: white-hawk-cpu: Add aliases for I2C buses
  arm64: dts: renesas: condor-i: Add I2C EEPROM
  arm64: dts: renesas: gray-hawk-single: Add aliases for I2C buses
  ARM: dts: renesas: r9a06g032: Describe GMAC1
  arm64: dts: renesas: white-hawk: ethernet: Describe AVB1 and AVB2
  arm64: dts: renesas: r8a779g0: Use MDIO node for all AVB devices

Link: https://lore.kernel.org/r/cover.1718355312.git.geert+renesas@glider.be
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2024-06-27 16:35:40 +02:00
Michael Walle
dac1c5043a ARM: dts: imx6qdl-kontron-samx6i: add actual device trees
For now, there wasn't any in-tree users of the dtsi files for the
Kontron SMARC-sAMX6i board. Let's add device trees, for this board on a
Kontron SMARC Eval 2.0 Carrier.

Signed-off-by: Michael Walle <mwalle@kernel.org>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2024-06-27 15:25:04 +08:00
Michael Walle
62ee222c92 ARM: dts: imx6qdl-kontron-samx6i: remove wake-up-gpio property
Remove the "wake-up-gpio" property within the PCIe controller node.
There is no such property, thus just remove it. This will also make the
schema validation happy.

Signed-off-by: Michael Walle <mwalle@kernel.org>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2024-06-27 15:25:02 +08:00
Michael Walle
df35c6e902 ARM: dts: imx6qdl-kontron-samx6i: fix PCIe reset polarity
The PCIe reset line is active low. Fix it.

Fixes: 2a51f9dae1 ("ARM: dts: imx6qdl-kontron-samx6i: Add iMX6-based Kontron SMARC-sAMX6i module")
Signed-off-by: Michael Walle <mwalle@kernel.org>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2024-06-27 15:25:00 +08:00
Michael Walle
ffd0b96c38 ARM: dts: imx6qdl-kontron-samx6i: fix node names
Rename the nodes according to the schema. In particular, rename the bit
bang I2C controller to "i2c-N" and the mux nodes of the audmux to
"mux-*". While at it, fix the typo "adu", which should have been "aud".

Signed-off-by: Michael Walle <mwalle@kernel.org>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2024-06-27 15:24:57 +08:00
Michael Walle
ad851864b4 ARM: dts: imx6qdl-kontron-samx6i: add SDIO_PWR_EN support
The module can enable/disable the SD card power supply and has
it's dedicated pin SDIO_PWR_EN for that reason. This is esp.
useful to be able to reset the SD card if it was in an UHS mode.

Signed-off-by: Michael Walle <mwalle@kernel.org>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2024-06-27 15:24:55 +08:00
Michael Walle
fa5a518c80 ARM: dts: imx6qdl-kontron-samx6i: always enable eMMC
There are no variants of this module without an eMMC.

Signed-off-by: Michael Walle <mwalle@kernel.org>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2024-06-27 15:24:53 +08:00
Michael Walle
2005b36923 ARM: dts: imx6qdl-kontron-samx6i: fix product name
The correct name of the product is "Kontron SMARC-sAMX6i". See also
https://www.kontron.com/en/products/smarc-samx6i/p89810

Signed-off-by: Michael Walle <mwalle@kernel.org>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2024-06-27 15:24:51 +08:00
Michael Walle
74e1c956a6 ARM: dts: imx6qdl-kontron-samx6i: fix SPI0 chip selects
There is a comment in the imx6q variant dtsi claiming that these
modules will have one more chip select than the imx6dl variant.
This is wrong. Ordinary GPIOs are used for chip selects and both
variants of the module share the very same PCB and both have this
GPIO routed to the SPI0_CS1# pin of the SMARC connector.

Fix it by moving the third chip select description to the common dtsi.

Fixes: 2125212785 ("ARM: dts: imx6qdl-kontron-samx6i: add Kontron SMARC SoM Support")
Signed-off-by: Michael Walle <mwalle@kernel.org>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2024-06-27 15:24:48 +08:00
Michael Walle
7324314624 ARM: dts: imx6qdl-kontron-samx6i: cleanup the PMIC node
Remove the comment, remove the unused phandle name for the
VGEN5 output. VGEN5 is not used at all.

Signed-off-by: Michael Walle <mwalle@kernel.org>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2024-06-27 15:24:46 +08:00
Michael Walle
b972d6b3b4 ARM: dts: imx6qdl-kontron-samx6i: fix board reset
On i.MX6 the board is reset by the watchdog. But in turn to do a
complete board reset, we have to assert the WDOG_B output which is
routed also to the CPLD which then do a complete power-cycle of the
board.

Fixes: 2125212785 ("ARM: dts: imx6qdl-kontron-samx6i: add Kontron SMARC SoM Support")
Signed-off-by: Michael Walle <mwalle@kernel.org>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2024-06-27 15:24:43 +08:00
Michael Walle
edfea889a0 ARM: dts: imx6qdl-kontron-samx6i: fix PHY reset
The PHY reset line is connected to both the SoC (GPIO1_25) and
the CPLD. We must not use the GPIO1_25 as it will drive against
the output buffer of the CPLD. Instead there is another GPIO
(GPIO2_01), an input to the CPLD, which will tell the CPLD to
assert the PHY reset line.

Fixes: 2a51f9dae1 ("ARM: dts: imx6qdl-kontron-samx6i: Add iMX6-based Kontron SMARC-sAMX6i module")
Fixes: 5694eed98c ("ARM: dts: imx6qdl-kontron-samx6i: move phy reset into phy-node")
Signed-off-by: Michael Walle <mwalle@kernel.org>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2024-06-27 15:24:41 +08:00
Michael Walle
0df3c7d7a7 ARM: dts: imx6qdl-kontron-samx6i: fix phy-mode
The i.MX6 cannot add any RGMII delays. The PHY has to add both the RX
and TX delays on the RGMII interface. Fix the interface mode. While at
it, use the new phy-connection-type property name.

Fixes: 5694eed98c ("ARM: dts: imx6qdl-kontron-samx6i: move phy reset into phy-node")
Signed-off-by: Michael Walle <mwalle@kernel.org>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2024-06-27 15:24:28 +08:00
Rafał Miłecki
e11997428f ARM: dts: nxp: imx6: convert NVMEM content to layout syntax
Use cleaner (and non-deprecated) bindings syntax. See commit
bd912c991d ("dt-bindings: nvmem: layouts: add fixed-layout") for
details.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Reviewed-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2024-06-27 14:10:34 +08:00
Krzysztof Kozlowski
90b6de4550 ARM: dts: omap am5729-beagleboneai: drop unneeded ti,enable-id-detection
There is a ti,enable-id-detection property in the Extcon Palmas
(extcon-palmas), but not in the Extcon USB GPIO binding and driver.

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202406152004.F2fNnorG-lkp@intel.com/
Link: https://lore.kernel.org/r/20240615174904.39012-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
2024-06-26 18:57:21 +02:00
Krzysztof Kozlowski
93ba8817f2 ARM: dts: ti: align panel timings node name with dtschema
DT schema expects panel timings node to follow certain pattern,
dtbs_check warnings:

  am335x-pdu001.dtb: display-timings: '240x320p16' does not match any of the regexes: '^timing', 'pinctrl-[0-9]+'

Linux drivers do not care about node name, so this should not have
effect on Linux.

Acked-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> # For DaVinci
Link: https://lore.kernel.org/r/20240509104813.216655-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
2024-06-26 13:25:26 +02:00
André Apitzsch
fed1c79fc7 ARM: dts: qcom: msm8926-motorola-peregrine: Add framebuffer supplies
Add regulators used by the framebuffer of Motorola Moto G 4G (2013).

Signed-off-by: André Apitzsch <git@apitzsch.eu>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20240617-peregrine-v2-3-c8835d2da7af@apitzsch.eu
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
2024-06-25 22:39:52 -05:00
André Apitzsch
c9c86387ea ARM: dts: qcom: msm8926-motorola-peregrine: Update temperature sensor
Add alert interrupt for the temperature sensor of Motorola Moto G 4G
(2013), although not used by the driver yet.

Signed-off-by: André Apitzsch <git@apitzsch.eu>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20240617-peregrine-v2-2-c8835d2da7af@apitzsch.eu
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
2024-06-25 22:39:52 -05:00
André Apitzsch
65ec35baeb ARM: dts: qcom: msm8926-motorola-peregrine: Add accelerometer, magnetometer, regulator
Add the accelerometer, magnetometer and regulator that are present on
the Motorola Moto G 4G (2013) device.

Signed-off-by: André Apitzsch <git@apitzsch.eu>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20240617-peregrine-v2-1-c8835d2da7af@apitzsch.eu
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
2024-06-25 22:39:52 -05:00