4170 Commits

Author SHA1 Message Date
Arnd Bergmann
ff9fb2e811 Samsung mach/soc changes for v5.19
Cleanup: drop unneeded CONFIG_S3C24XX_PWM and fix some typos.
 -----BEGIN PGP SIGNATURE-----
 
 iQJEBAABCgAuFiEE3dJiKD0RGyM7briowTdm5oaLg9cFAmJ01dkQHGtyemtAa2Vy
 bmVsLm9yZwAKCRDBN2bmhouD114LD/9l2h3ijQW0XFx9A52Kyj8igaeh5QLThk01
 TzEe+LbgxRhIJ8A9zj2RdXnttWktVHXDJONU4Nc+5WxI5nZ6o7rVLaOWWl42w4R8
 4X4h0n1+ZDgZxoH42AIUnBTginNkhYJ9z98tkWARjtow2HAHpN1qbcLPlksdsUim
 o0gouSq/aJAWJ19VX8R4wG2D7lQXs9gPHlQrTeXOUf0onoXqvaqpKGZZN+5yP1GC
 zgXHgYH8wSe10Vgk7XppejvshyMmSzeBGws4bQmlmR+pCbCr2aAkunjOT9slocVb
 IXVb1xHi6JKf9/YCqqN3pdVwmQTTwxPc8U+tRNIN9175XUepmdSaS+P4a6h0G0IQ
 SMAWAOX7OcdnNTcCtju7hwo9VepDwuYD/r+P7C5zISRrQzBDipGSoErXF1iwhbLD
 Slblnfsc/A6nwxTbpLzUo6AdKIZ/5mCgs52F1z5SoHWmDEguzrSo1uPYx8kU1MJU
 3N5zV4rN8bHLiiPK4LljfcUy2ReYH0B3aDp7phPLd/Q/afNZh+jrOjIeD+w8MCyT
 X0v/rq9ln/dPcRy55UGN5RTbghKE4AfN6y6YVUF9JZe560bAkrn6PBpuZCHU5KuQ
 jDfPUpFmsvwxSRYAuqUB+AXWcszQEDahayg+yJiqQUspXE4sgG95RkTpD4Cin0J2
 zEl4ZPNk+A==
 =Z5fr
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEo6/YBQwIrVS28WGKmmx57+YAGNkFAmJ1iIwACgkQmmx57+YA
 GNm2wg/+Jyywc34DiM+vF2MB1TA61nRQDh1apXET3CVvOtZgDlzuL1s2HOp2KRgy
 DzQHQgRG6WeS8bN2TDrAUFTxjCy6udNoqwnEGW4BjAxfXzOGkyq74F2QYI2WOsM7
 oVPM5V68LwePwbq50iub9J0fIQJntswSGyp00isMqGZ8mNYrWPTWxw5PptOS/mlQ
 XJZXvl4Nuk18tcCy323ryVxi9PqdqtL9m33us4hc0tdnPYZMvbweVGNKu579EGf5
 9HIb2jIE7WLPm5Z+j8+hLBf19Ksf05zQquKd7TSSveVxNuQ2ZT8yUYyu6OVIQKPF
 p4XgqOlTFHNpUPkVn0zF9ZA248ZuPGAGJhLvcNb7fUfRff1pRBnKjmlVfvPbbWzI
 V+ZVYfRkhH0gcQLKrQ9ZvnE8DGSV4Aw67E809AZkZ7tF9Hj+Ni8CPkOvJv8RC/l9
 Bn/+PxWU32KC5eJ/JYqkhacqDxA5jCYh+xFDrYO1Vx4ShkcEceSYdZg8mtpriWZD
 Z4JUes+8BCvpILNRenSF6UzLCcdij8rSTk+Baq+h8NrjmAXXZP+IhKnblTygf55y
 rkrTgbhlFVIG4qAPl6GEuUTt1iFwPb/nlhsNwd3IsOKv2t25hKuDK/INCpLhMYOg
 X0zs4VkvsEDilnND4nBfqRd1aHKgxzmO+QVmFcG961qaS3dOePc=
 =5wp0
 -----END PGP SIGNATURE-----

Merge tag 'samsung-soc-5.19' of git://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux into arm/soc

Samsung mach/soc changes for v5.19

Cleanup: drop unneeded CONFIG_S3C24XX_PWM and fix some typos.

* tag 'samsung-soc-5.19' of git://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux:
  ARM: s3c: fix typos in comments
  ARM: s3c: Drop config symbol S3C24XX_PWM

Link: https://lore.kernel.org/r/20220506081438.149192-6-krzysztof.kozlowski@linaro.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2022-05-06 22:43:56 +02:00
Nicolas Ferre
386d0503c1 ARM: configs: at91: Enable AUTOFS_FS required by systemd
Align all at91 defconfigs to required options for systemd.
The missing of autofs would cause warnings on boot
when not available.

Suggested-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
2022-05-06 10:05:59 +02:00
Mark Brown
44a26be079 ARM: configs: at91: Enable options required for systemd
Even smaller embedded systems are using systemd these days, as
are test automation systems like KernelCI, so it is useful to be
able to use systemd on these boards by default. Enable options
that are missing in the at91_dt_defconfig, cgroups which is
critical and autofs4 which is less critical but causes warnings
on boot when not available.

Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Link: https://lore.kernel.org/r/20220505171043.553079-1-broonie@kernel.org
2022-05-06 10:05:59 +02:00
Claudiu Beznea
7dac8e27c6 ARM: configs: at91: sama7: enable CONFIG_RESET_CONTROLLER
Enable CONFIG_RESET_CONTROLLER. It is necessary for resetting individual
in SoC devices.

Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Link: https://lore.kernel.org/r/20220408080031.2527232-11-claudiu.beznea@microchip.com
2022-05-06 10:05:46 +02:00
Codrin Ciubotariu
1cbc629160 ARM: configs: at91: sama7: add MCHP PDMC and DMIC drivers
Enable drivers needed for Microchip's PDMC and PDM microphones.

Signed-off-by: Codrin Ciubotariu <codrin.ciubotariu@microchip.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Link: https://lore.kernel.org/r/20220307122202.2251639-7-codrin.ciubotariu@microchip.com
2022-05-06 10:05:35 +02:00
Tudor Ambarus
a5f83aacf1 ARM: configs: at91: sama7: Enable MTD_UBI_BLOCK
Address read only block filesystems like SquashFS, and use MTD_UBI_BLOCK
to benefit of UBI's bit-flip handling and wear-levelling.

Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Link: https://lore.kernel.org/r/20220420134740.193563-3-tudor.ambarus@microchip.com
2022-05-06 09:41:56 +02:00
Tudor Ambarus
398a7f7ce7 ARM: configs: at91: sama7: Enable MTD_UBI_FASTMAP
Use fastmap to accelerate the attach procedure.

Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
[nicolas.ferre@microchip.com: removed unrelated changes]
Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Link: https://lore.kernel.org/r/20220420134740.193563-2-tudor.ambarus@microchip.com
2022-05-06 09:41:56 +02:00
Eugen Hristev
907080f0a5 ARM: configs: at91: sama7: add xisc and csi2dc
Enable XISC and CSI2DC drivers.

Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Link: https://lore.kernel.org/r/20220503095127.48710-5-eugen.hristev@microchip.com
2022-05-06 09:41:56 +02:00
Eugen Hristev
f095e413f9 ARM: multi_v7_defconfig: add atmel video pipeline modules
Add drivers for the atmel video capture pipeline: atmel isc, xisc and
microchip csi2dc.

Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Link: https://lore.kernel.org/r/20220503095127.48710-6-eugen.hristev@microchip.com
2022-05-06 09:41:56 +02:00
Tudor Ambarus
5c6f84728d ARM: configs: at91: Remove MTD_BLOCK and use MTD_UBI_BLOCK for read only block FS
Using mtdblock on raw flashes is generally a bad idea as it lacks
wear-leveling, bad block handling or power-cut management.
What happens when you use mtdblock and you change any sector of your
mtdblockX device, is that it reads the whole corresponding eraseblock into
the memory, erases the eraseblock, changes the sector in RAM, and writes
the whole eraseblock back. If you have a power failure when the eraseblock
is being erased, you lose all the block device sectors in it. The flash
will likely decay soon because the eraseblocks will wear out.

Remove this archaic tool as its use case should rather be only for debug
purposes. This means that write-capable block file systems like ext2,
ext3, FAT, etc. will no longer be addressed with at91 defconfigs. For
read only block filesystems like SquashFS, use MTD_UBI_BLOCK instead and
benefit of UBI's bit-flip handling and wear-levelling.

Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Link: https://lore.kernel.org/r/20220420134740.193563-1-tudor.ambarus@microchip.com
2022-05-06 09:41:56 +02:00
Arnd Bergmann
f68ec51423 This pull request contains Broadcom ARM-based SoC changes to the
multi_v7_defconfig file, please pull the following:
 
 - William enables the Broadcom BCA SoC Kconfig option to get build
   coverage for this newly added SoC
 -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEm+Rq3+YGJdiR9yuFh9CWnEQHBwQFAmJy5swACgkQh9CWnEQH
 BwSBTxAAjCrQy3eSWJvT1doM43nFVZFJUaGxCMGuQ+JdGzJgvreJQLDZruUh7Ryg
 Ui3xMoxDrAOG1I64oaSukr0OzhkGI5fyO135x3eAQL5xd1W/pPbBXmulwL9uzhgQ
 Khv2MAJr2XGPE/cVahlZ1pRBkMwT4Bup3UcM5Ruv48LXyz47esUud/waHSwJ1ofk
 f+efUb6peIIBr5NYIzjkfVJJZTTM9tl6b7NFWk3os5NDf6JV/4oiDaOekayGjFG+
 aHuR6+Ir5I4aDZKZxokuwZ2eEsmrouSRXgbYkibUePRUuId7g7IjdN/1t4H5xQBU
 ReRLksP5oHVsI4Ma7Wxb3NAu4Fitml09umdtUiXghc3lKdsfVvR6T0auwr9ap4O1
 9yawA/qXr1nzE0+CdKc64JL2wRJ5qKIdZscj2mruzLnzGL7Om7APqqG13i7jaKD2
 gmmDhKXHXsxKrFJEjx8XRvfcSXtOBB1RZhy8xP1dqRR+WVzo/RvcOMWP6zwRLVgp
 XEj7Mgh2zkM0MY15Qf079RQPEXRRKT1rk5/nMDHBLvOrmoyd+VkFsjXxO2gx+a0a
 79G7VFOlN2HZ8tGUGrdxvBe6rN3kjsaombaWkwi/CZJ/MbyBGEXBodEeslCps/Y5
 3CtM8iush1yt45oVhd9VdFhicWl9/4vB7s0rBDwy1DYiI3Ul5Yw=
 =pDeN
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEo6/YBQwIrVS28WGKmmx57+YAGNkFAmJ0H0EACgkQmmx57+YA
 GNlg7xAAnCFSZYzF93qEaHtJcgryZeA7FOIktiTsxxyao7I+0BtLprPR8q65SysH
 IN3tcCcfEAnHnHfN3AFHvB6gHQ7fJyA98pWNKGuYBALiRORmZkAbilOqk6QQa44q
 BiGXcrtf0NeFT3ckK9V7/2MDRDb4MwACkMcacq20VKqJ6rllEa7AMiH1vMHRCMRY
 68qcVE39LcgEz+POx7T4kG5+09U3sDzB3h2Wrr3kYJZLZiUxrG1UhyVxFOMewYG9
 TWytQw3s3KgIEW5qjaMcLakwrU65WDNsXTM+pQkpKZlOye9mLSkppRTYNfLKGYqp
 cumxziHAjK0g0WmU5bGhL/FyjFVu7+mZgtMl8puFEQ0rff+0SQi3vkgYvwkvAZUN
 MnXZebO/8lUqNi5fTPK9LOd4oWYS9mY87j+cCS06h8SK4cZc0XwhzsRcV3CEP0qF
 WWfX9T2ZhyRMVmdvlf17byCiQdEXV9feqh33HO2628AyVGOJqczil+lvf0qKvup2
 YvhXRNOGzlkrnZ3f/AsqtKkqdJq9SDPiNR5Sn63kErIZYUE0OK1aEDh3SXnS3XSM
 M9DD9cOuJzar1cNzdjRQ+webeEPgC1aBi/4ieJBTqMd6LJFLilM4sR51kKcDhgf3
 MZCbdy7lPy04VsNXInjefxF0OruvhuYlm6gDe66AdlFwKtt76NU=
 =dlgM
 -----END PGP SIGNATURE-----

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

This pull request contains Broadcom ARM-based SoC changes to the
multi_v7_defconfig file, please pull the following:

- William enables the Broadcom BCA SoC Kconfig option to get build
  coverage for this newly added SoC

* tag 'arm-soc/for-5.19/defconfig' of https://github.com/Broadcom/stblinux:
  ARM: multi_v7_defconfig: enable CONFIG_ARCH_BCMBCA in armv7 defconfig

Link: https://lore.kernel.org/r/20220504210942.1838248-1-f.fainelli@gmail.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2022-05-05 21:02:25 +02:00
Arnd Bergmann
efad535480 Defconfig changes for omaps
Changes to add tlv320aic3x and is176x drivers as loadable modules
 to omap2plus_defconfig.
 -----BEGIN PGP SIGNATURE-----
 
 iQJFBAABCAAvFiEEkgNvrZJU/QSQYIcQG9Q+yVyrpXMFAmJnrqMRHHRvbnlAYXRv
 bWlkZS5jb20ACgkQG9Q+yVyrpXPkZA/8D0GOnBM76JrP/EPo48PB1gK5HKTn0yXP
 ITZlS4h+G1LUWkUnQ0h1OzUMfEOv6MhorxOD9mEM039nVNCxxlgSjgY1XnpFUswN
 RB7DYB8lSGm7VFOznVGek+8I2loq2QrFfIVlj+wenQJaQ4HyvGZIaJdZC1EHvHTE
 t8/ue8Ppx01prJDyr+Ly1Dhh9GOZhGW++fW5bwWP/TQGCjVTo2EiFCk4HkMB3SBm
 K5f+OXpPpMUfecVfXAcoVSpbzjiXi8i56I8EfF7LlPGtdrjejUMAms5rmoer/EnM
 oIbe8Fruft5dLq5JKJ0o9l8IdLtb6fdwQHc5YGrSOoswpYLD4K1eZt+mSbuNjwfu
 kXmWfQ7RcafCgFNMyOKEck8FckEjg5G90r4RJNs2OyBsXabxWT+J3RD+0sv9yi/0
 TuibbQ1luInKw+2dkq3Co10nr1K0dvR+GQVgLP6rKqf738uI0qSfGDysmFwR3akK
 zmuDjP47OOwNVLS6HE172n4/2vGW+zBJwFLKpw9FVbmyLFCOIa4TWaMyNeIlsOxV
 XOyoJ03YQw4hIzjgeTpmyI4EUNTKdBqMuIx/lgEKgv4JyM801KxTrSLMAsYcT1pK
 GFLFUISQl/ZQGpg4kjqYc3FfhkbTNQZUH1nVnBJ8jHz6BEnpL3iTSYHdNiKkqWu/
 30b+0eby04Q=
 =8hXa
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEo6/YBQwIrVS28WGKmmx57+YAGNkFAmJxJfoACgkQmmx57+YA
 GNnKCQ/8DfRnEeiMbH0gjqXhgEydD6j2ZOqLVj7YOY4pDjVX1bVLuUh/zt7juX+y
 qvPwzXVS4Ha5eLtwzIbnkz07POLUkzSVyuH+dW2qtEVdHY1Cwdj9lyqk8+G1xAyu
 gUlQ75dRtUISgkkCB+oL3SRoUq3nJv1pw/NcIyMb8DiEE/ozI7XLT05X7T0vPp1Q
 8sg2AGZkCJ5wunjysB8XlgBkxIKvWTMfQTyjw6av8d/QxMrJ5+z+JX1QcCzDV21m
 K8RDi8lwn4+mua3jrXnznxaylXOG37AGs+g1hmI1RZCHW1viNhleRJxGAwOT/gA/
 5w61fng9eYDJVOs8h2IUgJ12GpOVLrhraK5qo3oO131N4VBUrlscb7bL+JQ0sJHm
 azacMY6Fryzkh1z1wmAfxgtAy/msaF7lP07VEq9F3c28xW4s8/uh9I72F8tPjIjg
 GID6QUEJHT39k0rrcUVd6bSksxVO8UaNpNgtZaZqCbz7WEMr0WYiRk8iRfnhC75W
 SG4SoCVTlkkdSAHsKN9SspGApG77ZInNz2Xu1LNFbRNYesvEccxYcXgznJZw+y6m
 21oaf0qPQNBq+zqpImtrRevyEKdCGX1GDZQpyZttYsYdfo7I8Gi/0pXgt2ts0LzE
 Q3hvthi4z8zFzITqSiiiZoMxTD5J5jl8R2omNKEuMHD4lsdWOiY=
 =1eXP
 -----END PGP SIGNATURE-----

Merge tag 'omap-for-v5.19/defconfig-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap into arm/defconfig

Defconfig changes for omaps

Changes to add tlv320aic3x and is176x drivers as loadable modules
to omap2plus_defconfig.

* tag 'omap-for-v5.19/defconfig-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap:
  ARM: omap2plus_defconfig: Enable ISP176x USB driver
  ARM: omap2plus_defconfig: enable TLV320AIC3X

Link: https://lore.kernel.org/r/pull-1651061256-836848@atomide.com-2
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2022-05-03 14:54:18 +02:00
Arnd Bergmann
65462ba7e1 Renesas ARM defconfig updates for v5.19
- Enable support for the Renesas RZ/V2L SoC and the Maxim MAX96712
     Quad GMSL2 Deserializer in the arm64 defconfig,
   - Refresh shmobile_defconfig for v5.18-rc1.
 -----BEGIN PGP SIGNATURE-----
 
 iHUEABYIAB0WIQQ9qaHoIs/1I4cXmEiKwlD9ZEnxcAUCYmJ3AwAKCRCKwlD9ZEnx
 cNa0APwJIXP3GulpMvVC07l9MISB0TuMIKJr7hpix4FWR3UgdAD/Qb4uzseyOt7P
 OR1bifu1lIXrha/ABr3dhZr77B2DYwQ=
 =9bw+
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEo6/YBQwIrVS28WGKmmx57+YAGNkFAmJxJeEACgkQmmx57+YA
 GNn0phAAwWQANXNwMdx0+yZp3rfqZzN13b/QIQS0qyRL9e3Rzf6rIxgzb3rkIaz5
 4oqWQeBSOfMmVyN4Q2Cznw+MWT16/xMZycJO8HicE075ivlnkxGlswAASQ2h1PMo
 E3vXSeVADVW4Vhwly4XUMClU11jmyplJzLtrI55GpsRGRcR5RARGf9CL4nBuscwD
 5zLIQGa0mbI/3vQFo4yvdQhtktmZA/KBoL9c4zJmGMtE/xJoFz+nC2mL/971PzFD
 E8FEYUukAiDsp86NvSxWE5flJV+5tCkBG1ZvHxbvfb68mwmB2G5qeEJgXCAktc1y
 CnftEDUpRQTLZkvNs8yc12ZcehP8xx4YFscVafs64YGlnvdpyPyQuYc/8+Ra47la
 RWrbEhkTDOTc6XEN2rW/gMB206cWbj2zVFCE/FmFu11HH5l4zlJpo4QI1PfotfHx
 opC7/69uttDWtnhEjrVmHfSr/lYGKJzzkc1TXgdFgMR9HPcYsP9CQa1QuFHPjBgL
 5Z2Qt93bxzGmqHIQNoM5AN7qXpkJDtkGDOFX4mhdz+S4f0NeFj/ZGRoPqDvOXEqS
 D4o8h96Ep+x7aAXy1EtRnt25g4rgEwzLxSbxbXcruWZqutnsu4STV4AYqcVu73YQ
 Yn89GECxUgxix7QsSIauqxAILb65pL2oLakpYnm8EYOZzGZJbS8=
 =W1C7
 -----END PGP SIGNATURE-----

Merge tag 'renesas-arm-defconfig-for-v5.19-tag1' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-devel into arm/defconfig

Renesas ARM defconfig updates for v5.19

  - Enable support for the Renesas RZ/V2L SoC and the Maxim MAX96712
    Quad GMSL2 Deserializer in the arm64 defconfig,
  - Refresh shmobile_defconfig for v5.18-rc1.

* tag 'renesas-arm-defconfig-for-v5.19-tag1' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-devel:
  ARM: shmobile: defconfig: Refresh for v5.18-rc1
  arm64: defconfig: Enable Maxim MAX96712 Quad GMSL2 Deserializer support
  arm64: defconfig: Enable ARCH_R9A07G054

Link: https://lore.kernel.org/r/cover.1650638503.git.geert+renesas@glider.be
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2022-05-03 14:53:53 +02:00
Linus Walleij
0af2de76a2
ARM: config: Refresh IXP4xx config after multiplatform
After converting to multiplatform the old IXP4xx defconfig
doesn't even activate the ethernet driver anymore, we need
to refresh this thoroughly.

- Drop options that ARCH_MULTI_V5 selects for us.
- Some options moved around because of multiplatform and
  because generic Kconfig movements.
- Drop all MACH_* that do not exist anymore.
- Compress the kernel and initramfs with XZ as the memory
  is often limited for these machines.
- Make sure IXP4XX_QMGR and IXP4XX_NPE is selected.
- Make sure the MTD_PHYSMAP_IXP4XX is selected and not
  the old MTD_IXP4XX (will be deleted).
- Activate CRYPTO_DEV_IXP4XX
- Add some very basic default drivers such as AT24 EEPROMs
  used in many routers.
- Add some kernel configs needed to bring up OpenWrt
  which is the only userspace for these devices:
  CGROUPS, DEVTMPFS, INOTIFY_USER, SIGNALFD, TIMERFD,
  EPOLL, OVERLAY_FS and SQUASHFS.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Cc: Arnd Bergmann <arnd@kernel.org>
Cc: Krzysztof Halasa <khalasa@piap.pl>
Cc: Imre Kaloz <kaloz@openwrt.org>
Link: https://lore.kernel.org/r/20220407204502.2470560-1-linus.walleij@linaro.org'
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2022-05-03 14:43:42 +02:00
Arnd Bergmann
310b663753 ARM: tegra: Default configuration fixes for v5.18
This contains two updates to the default configuration needed because of
 a Kconfig symbol name change. This fixes a failure that was detected in
 the NVIDIA automated test farm.
 -----BEGIN PGP SIGNATURE-----
 
 iQJHBAABCAAxFiEEiOrDCAFJzPfAjcif3SOs138+s6EFAmJrm1UTHHRyZWRpbmdA
 bnZpZGlhLmNvbQAKCRDdI6zXfz6zobdLD/wM72K2ZSTaYglcq3XH/UcoGFxdxX4T
 4HT3KtuudmLDuTHdSJXzWKHjcYn2Qkn6B7APBIihyXt74sfC1ZrrTv4RafkWGAnj
 SLMAL3U4XwHrSoc8L/sjCBE61Rybn+0hPR5gputvxJHFoX4WS+hNYV8o3mdJBXME
 tc8KJZhm1EPaa4fl3ep8lwzJBOgoNkv6yOk/k0skR7eGmz8iIMsH8QoQlzoMRD6f
 dt2Hih5nzoZKL8HKz2H0ct24eAp3ERXcrce5yCPChMO19/HTwHnjvICwtlxkJ3lm
 OAm13I1naURAwqyvdnH6KHb6gi1TINHY1MM3IIf6iLzfuY9iZELBS3AiT78GF3HA
 PI4sPl8OgODLBrZTiqIuDVWLEsje5kSNhb80a+OLp9KUuaGybdkogBulHXE0OPIf
 eafDRK23iJ7G8vu744uvdI9CcWdpKLTPOHlbvu9HVzVWsLdFUlUxSM2N3dg7XaBX
 jn4LWsx5OA95cMmnpcYVLs11DmbpQ9fVjpJDBXqgQqb+ra3bmEL312g9j0ReKick
 GV4HUR+ZDrZ9U+X60Fp3Lm+FOAjeZ8ZkuPUeI5CpaT57eGUieu67uUvAClrA970J
 s3Ptai5JX8KffBmD4/H7d5spz30BPjqv88OVhYR4GPSwP10TW9qedxCQWP5snuJz
 xKYuJ0BjdtyaXw==
 =AH48
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEo6/YBQwIrVS28WGKmmx57+YAGNkFAmJr+RIACgkQmmx57+YA
 GNkxsQ/9E3hL2ClQtrmTr3Zronjk/rtg++G0/V4LjWTtKD6UjcsbJU9hMDCROmw+
 FFTfzzeQxq5byvC19VByh6nlmMpFJ8dyrMfhNG1TKTiRyFkZKTwM67ZqneAgb84T
 8jaVp9P/iOvdcFUBBL7zDbsIZPjrSPDRiLZmw13y3DkWgFhvM3ixGhv7+tMaXYQU
 Yc3VPH9uurZ5Wdk52fX1Iu3hbRwaJw4lFVW+RSKX2O3DznaLCXHF1k/KTtWG2i+l
 PaNClQaCWYHG4cinGMKcXkvyhsUJeIcqVP9ESxAa7z7w69wN986tZBwSQbtnw/nR
 /lOHjo1mKpe9DU2C4LAxNHwdRWkg9j6In8Y5mccDPgDHHaJWIeVlmutmt/GYB1ek
 Gh2vqaqmEZXQr8FGL++sISLB3aspNyknXabtHHztKOPR7DBYyesLtB9L1JSCDVXN
 krqcVBO4+yQyhDjAlWLmG2xY+SOyNe158xFrRReUn54/u5WE/fJyFiRc/Zgt9cyD
 P4G14iHjVwDNshIKx4pi4aWL9gSf+zc/LIvGG19aW0Z8K5s7lXNYjUMgPZCg8XHX
 +H1s67AxoKLVv/+GWZ4Cg6PYH4yTw9PSSn3oXqaZfQ8L9LtEMpqri1Vn0eEq4AbH
 OxcPRt3C3GvpekTE7xLi07tTEXd7mnrYtRoCpbBfpZc/+R0kQms=
 =12TT
 -----END PGP SIGNATURE-----

Merge tag 'tegra-for-5.18-arm-defconfig-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux into arm/fixes

ARM: tegra: Default configuration fixes for v5.18

This contains two updates to the default configuration needed because of
a Kconfig symbol name change. This fixes a failure that was detected in
the NVIDIA automated test farm.

* tag 'tegra-for-5.18-arm-defconfig-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux:
  ARM: config: multi v7: Enable NVIDIA Tegra video decoder driver
  ARM: tegra_defconfig: Update CONFIG_TEGRA_VDE option

Link: https://lore.kernel.org/r/20220429080626.494150-1-thierry.reding@gmail.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2022-04-29 16:41:22 +02:00
William Zhang
1f61e9aa2e ARM: multi_v7_defconfig: enable CONFIG_ARCH_BCMBCA in armv7 defconfig
Enable CONFIG_ARCH_BCMBCA in multi_v7_defconfig. This config can be
used to build a basic kernel for BCM47622 booting to console.

Signed-off-by: William Zhang <william.zhang@broadcom.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
2022-04-22 14:20:24 -07:00
Eric W. Biederman
70578ff336 binfmt_flat: Remove shared library support
In a recent discussion[1] it was reported that the binfmt_flat library
support was only ever used on m68k and even on m68k has not been used
in a very long time.

The structure of binfmt_flat is different from all of the other binfmt
implementations because of this shared library support and it made
life and code review more effort when I refactored the code in fs/exec.c.

Since in practice the code is dead remove the binfmt_flat shared library
support and make maintenance of the code easier.

[1] https://lkml.kernel.org/r/81788b56-5b15-7308-38c7-c7f2502c4e15@linux-m68k.org

Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Reviewed-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Acked-by: Vladimir Murzin <vladimir.murzin@arm.com> # ARM
Tested-by: Patrice Chotard <patrice.chotard@foss.st.com>
Signed-off-by: Kees Cook <keescook@chromium.org>
Link: https://lore.kernel.org/r/87levzzts4.fsf_-_@email.froward.int.ebiederm.org
2022-04-22 10:57:18 -07:00
Adam Ford
5c81cfb6a6 ARM: omap2plus_defconfig: Enable ISP176x USB driver
The Logic PD Torpedo baseboard has an ISP1763 USB controller attached
to the GPMC bus.  Enable the driver as a module.

Signed-off-by: Adam Ford <aford173@gmail.com>

Message-Id: <20220221184107.2321951-1-aford173@gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2022-04-21 15:00:49 +03:00
Merlijn Wajer
76e26d985c ARM: omap2plus_defconfig: enable TLV320AIC3X
Commit a96d2ba2d824 ("ASoC: codecs: tlv320aic3x: move I2C to separated
file") split the driver into SPI and I2C code and also provided a
separate configuration option for it.

The RX51 audio fails to probe since this commit, so let's add this
non-obvious configuration option to the defconfig.

Signed-off-by: Merlijn Wajer <merlijn@wizzup.org>
Message-Id: <20211216150506.31163-1-merlijn@wizzup.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2022-04-21 15:00:44 +03:00
Geert Uytterhoeven
dcc1449554 ARM: shmobile: defconfig: Refresh for v5.18-rc1
Refresh the defconfig for Renesas ARM systems:
  - Move CONFIG_V4L_MEM2MEM_DRIVERS (moved in commit 256bf685691d8646
    ("media: platform: move platform menu dependencies to drivers")),
  - Move CONFIG_DEBUG_FS (moved in commit f9b3cd24578401e7
    ("Kconfig.debug: make DEBUG_INFO selectable from a choice")).

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/922ba60d81a71acfae5d88c1991d8c96bb2b3527.1649947421.git.geert+renesas@glider.be
2022-04-19 10:36:23 +02:00
Max Krummenacher
7fb061bbf6 ARM: imx_v6_v7_defconfig: Enable the ADC part of the STMPE MFD
The SoM Apalis/Colibri iMX6 use the ADC of a STMPE 811. Enable
its driver.

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2022-04-18 16:29:45 +08:00
Linus Walleij
24a4351e1c
ARM: config: Update Gemini defconfig
The Gemini defconfig needs to be updated due to DSA driver
Kconfig changes in the v5.18 merge window:
CONFIG_NET_DSA_REALTEK_SMI is now behind
CONFIG_NET_DSA_REALTEK and the desired DSA switch need
to be selected explicitly with
CONFIG_NET_DSA_REALTEK_RTL8366RB.

Take this opportunity to update some other minor config
options:

- CONFIG_MARVELL_PHY moved around because of Kconfig
  changes.

- CONFIG_SENSORS_DRIVETEMP should be selected since is
  regulates the system critical alert temperature on
  some devices, which is nice if it is handled even
  if initramfs or root fails to mount.

Fixes: 319a70a5fea9 ("net: dsa: realtek-smi: move to subdirectory")
Fixes: 765c39a4fafe ("net: dsa: realtek: convert subdrivers into modules")
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Cc: Hans Ulli Kroll <ulli.kroll@googlemail.com>
Cc: Luiz Angelo Daros de Luca <luizluca@gmail.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2022-04-14 22:59:24 +02:00
Arnd Bergmann
cfd08b94be Defconfig updates for kernel v5.18:
- Refresh defconfig with new and moved options
 - Add some new hardware drivers
 - Activate battery charging
 -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEElDRnuGcz/wPCXQWMQRCzN7AZXXMFAmJPXXkACgkQQRCzN7AZ
 XXMiOhAAvDch30iqj99/Ajlxhp8sO1HtLHHNqmFKD3jJy1/9CVIyZsGxmKdihy8N
 DS1TnY3CnpEEzPMQpfaB8sR0QAan5+tZawo+GHeVcmtovNqcUq7X6zuoAJ91e6hl
 Bj20x8vNJ3t46xX+ae0HKx/EL3VNfDWlrUH50h+0LahTkscyG33olNvqTAv4VtPk
 ptVuTQfjJ1j//HAC4uYea6vl+guzZYWsZ552hYj0ZZAnx8meyz9U6YT6m4dlOzr9
 RDZZaBQz84sgXTz88ZyIwzo5t2Y0hSw7Dr4kCfXF3I+z3LqbFCc/HD+D6/NN57e3
 PgTxCrLLZvVooptcY5rufnXR16cpPM4Mv/pVFL5o8UzG1brXPYc+EY3CsdLXGhav
 Vp0KyFpzeQsjgMvD3Tmky7WQrdIvzDB+m2k/3a9lKFfoLpdPKKrMPvgqSGjmMStA
 EIykmUgzlb4HMvDjrrg4wXpPHhri/Bkvfv+p5bj4HGr9PM9PQ9wcI7VaWUJIzIl1
 lchFEwBJ8fWj7LjKK5ZljUu5td9DBJIwqLoGXcpIwWOy0roHuRTisNwKte4YJL6y
 hJjaF34Krlu31/gxQJOz0ZJCyHyUCPazyKgufD6KnBIjx4Lb7vMPlD+QWOomXruF
 dTNZhaqk7bSKHoB6lLrQuum5UYLfXU5w0SJnGAn7wMpM6tQY5/w=
 =o2i8
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEo6/YBQwIrVS28WGKmmx57+YAGNkFAmJYiKAACgkQmmx57+YA
 GNkxbw/9HcVBM5eNK6v9VVv0HBSY86P2fF9PlZQAqTcJUm5oHSFZPzF/X4b36liG
 UromaduQnO+jaWNvBYxwDgtzNcAL2ZcPEPJoDF2KdjZdKgl25FZINWEjtuyaCAXJ
 hqoKVtOg/8yyMljr3r1FQ31jVubYoNAe3IrpMEqd21C+NILYBAAeslSXs69bMtie
 I/YqibI46MX7WBgO7uv65thfybiS3z6oTm4VyD5UzZ0/ubZs0GTDQPBFKi1CEper
 ZaleccKc0h6rdi5OMPxWGXDT3oc3wSlv/9RpOjUFo1370fSeUC3RKXR+OUo6t9qM
 zXd+nXX5slfiwUxnX+rsBcCDVR6AH32QUChMpI/MXaiGOHZLnmfkKN7p0+8e313D
 zwirZrgvOHFZtTmyLnx4e/qDlLjrdOae4vcc9QDz5PFDJQqNAC+kxqqv3LU803E7
 lWrJdAvuMIvQPmWBUR0xwoYkI1Mk/WBMHbGtrhBTLdmEDhyCzvn/lN/KLkV3VpTE
 eO/8OJ6vb4xWz7ooom50J+BXTfHHs+nGDB+4Qr3/TBFO10LuxZ3mTl2PQLTbjyz4
 y6QZdv0pxK7KRiH0qI+m6+p6izvyzMMzWQe7ii31fyw3Nrk+XpY+13pX4aPUOxaK
 NNJ/Z1MpvGr5MsLilsb4t9Ge57vchKeZZyW17ncyRtd7XQlZ3l4=
 =c6by
 -----END PGP SIGNATURE-----

Merge tag 'ux500-defconfig-soc-v5.18' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-nomadik into arm/fixes

Defconfig updates for kernel v5.18:

- Refresh defconfig with new and moved options
- Add some new hardware drivers
- Activate battery charging

* tag 'ux500-defconfig-soc-v5.18' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-nomadik:
  ARM: config: u8500: Re-enable AB8500 battery charging
  ARM: config: u8500: Add some common hardware
  ARM: config: Refresh U8500 defconfig

Link: https://lore.kernel.org/r/CACRpkdY+_Go4XNzOh+Rvc24QBnUud2k-S7VQuaH5d-j71_dJog@mail.gmail.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2022-04-14 22:48:32 +02:00
Arnd Bergmann
3d427228f7 ARM: ixp4xx: enable multiplatform support
After all the work that Linus Walleij did on this platform, it can be
part of a generic kernel build as well.

Note that there are known bugs in little-endian mode on ixp4xx, and
no other ARMv5 platform at this point supports big-endian mode, or is
likely to in the future, so there is limited practical value in this,
but it helps with build testing and ixp4xx little-endian support may
get fixed in the future.

Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Tested-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2022-04-08 17:20:55 +02:00
Arnd Bergmann
a3102fafdc ARM: iop32x: enable multiplatform support
After iop32x was converted to the generic multi-irq entry
code, nothing really stops us from building it into a
generic kernel.

The two last headers can simply be removed, the mach/irqs.h
gets replaced with the sparse-irq intiialization from the
board specific .nr_irqs value, and the decompressor debug
output can use the debug_ll hack that all other platforms
use.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2022-04-08 17:20:49 +02:00
Arnd Bergmann
8c1fb11b8a ARM: s3c: enable s3c24xx multiplatform support
With the custom ISA I/O and the missing sparse-irq support
out of the way, s3c24xx can now be built into the same
kernel as all other ARM9 based platforms.

Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2022-04-08 17:19:18 +02:00
Brian Masney
889b94dbc5 ARM: qcom_defconfig: enable debug fs support
Enable CONFIG_DEBUG_FS since this is useful to have around.

Signed-off-by: Brian Masney <bmasney@redhat.com>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20220311154919.1797920-3-bmasney@redhat.com
2022-04-07 22:25:22 -05:00
Brian Masney
7fb940d9f6 ARM: qcom_defconfig: enable options for Qualcomm random number generator
Enable the driver for the Qualcomm random number generator and the
userspace crypto API.

This was a tested on a Nexus 5 phone (msm8974 SoC).

Signed-off-by: Brian Masney <bmasney@redhat.com>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20220311154919.1797920-2-bmasney@redhat.com
2022-04-07 22:25:22 -05:00
Jonathan Cameron
1f5fb1dc74
arm: configs: imote2: Drop defconfig as board support dropped.
Missed the defconfig when removing the board files causing
failures in builds using this defconfig.

Fixes: 28f74201e37c ("ARM: pxa: remove Intel Imote2 and Stargate 2 boards")
Reported-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20220405135252.10283-1-Jonathan.Cameron@huawei.com'
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2022-04-07 13:58:36 +02:00
Dmitry Osipenko
39ad93d280 ARM: config: multi v7: Enable NVIDIA Tegra video decoder driver
Enable NVIDIA Tegra V4L2 video decoder driver.

Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2022-04-06 17:03:30 +02:00
Dmitry Osipenko
3739157768 ARM: tegra_defconfig: Update CONFIG_TEGRA_VDE option
The CONFIG_TEGRA_VDE has been deprecated and replaced with the new V4L
options after de-staging of the tegra-vde driver. Update the config entry.

Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2022-04-06 17:03:15 +02:00
Linus Walleij
62f6424514 ARM: config: u8500: Re-enable AB8500 battery charging
This is effectively a revert of the temporary disablement
patch. Battery charging now works!

We also enable static battery data for the Samsung SDI
batteries as used by the U8500 Samsung phones.

Cc: Lee Jones <lee.jones@linaro.org>
Fixes: a1149ae97554 ("ARM: ux500: Disable Power Supply and Battery Management by default")
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2022-04-06 14:41:41 +02:00
Linus Walleij
93bcdaca6e ARM: config: u8500: Add some common hardware
This activates display drivers that give console on the
different U8500 mobile phones, the GNSS subsystem and the
SIRF GNSS driver so we can manage the GPS chips, the regulator
LEDs as used in some phones and one more IIO light sensor driver.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2022-04-06 10:32:20 +02:00
Linus Walleij
82e32bc31e ARM: config: Refresh U8500 defconfig
This just updates the U8500 defconfig to reflect what has
happened in the Kconfig: DRM_PANEL_SONY_ACX424AKP is now
handled by DRM_PANEL_NOVATEK_NT35560, all ST sensors have
SPI version drivers that we don't use, and some debug
options moved around.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2022-04-06 00:55:40 +02:00
Uwe Kleine-König
a0861079a2 ARM: s3c: Drop config symbol S3C24XX_PWM
The only effect of this symbol is to select PWM_SAMSUNG. Drop it and fix
the affected defconfigs to still keep PWM_SAMSUNG=y. Developers using
MACH_NEO1973_GTA02 and/or MACH_RX1950 now have to manually select PWM and
PWM_SAMSUNG (and get the freedom to select is as a module or not at all).
A side effect of this change is that allmodconfig now contains
PWM_SAMSUNG=m (which was =y before).

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Link: https://lore.kernel.org/r/20220328082638.112185-1-u.kleine-koenig@pengutronix.de
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
2022-04-04 18:22:46 +02:00
Arnd Bergmann
09f6b27d5d ARM: dove: multiplatform support
The dove platform is now ready to be enabled for multiplatform
support, this patch does the switch over by modifying the Kconfig file,
the defconfig and removing the last mach/*.h header that becomes obsolete
with this.

This work was originally done in 2015 as all the ARMv7 machiens
gove moved over to multiplatform builds, but at the time it conflicted
with some patches that Russell was trying to upstream, so we
left it at that.

I hope that there is no longer a need to keep dove separate from the
rest, so we can either add it to the other ARMv7 platforms, or just
replace it with the DT based platform code for the same hardware
in mach-mvebu and remove mach-dove entirely.

Acked-by: Andrew Lunn <andrew@lunn.ch>
Cc: Russell King <linux@armlinux.org.uk>
Cc: Jason Cooper <jason@lakedaemon.net>
Cc: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Cc: Gregory Clement <gregory.clement@bootlin.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2022-04-04 10:22:37 +02:00
Arnd Bergmann
0361c7e504 ARM: ep93xx: multiplatform support
With the clock support and the interrupts out of the way, ep93xx can be
compiled into the same kernel image as the other ARMv4/v5 platforms. The
last obstacle are the two workarounds for broken boot loaders that
require us to re-initialize the ethernet controller and/or the watchdog
on certain machines.

Move this code into the decompressor sources directly, checking for
each possibly affected machine individually.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2022-04-04 10:22:37 +02:00
Mark Brown
64a1a4e04e
ARM: configs: Update multi_v5_defconfig for WM8731 bus refactoring
The WM8731 driver has been refactored so the I2C and SPI bus code is
separate modules. Refresh multi_v5_defconfig to reflect this.

Signed-off-by: Mark Brown <broonie@kernel.org>
Cc: soc@kernel.org
Acked-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20220325153121.1598494-8-broonie@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
2022-04-04 08:39:35 +01:00
Linus Torvalds
baaa68a979 ARM: SoC updates for 5.18
SoC specific code is generally used for older platforms that don't (yet)
 use device tree to do the same things.
 
  - Support is added for i.MXRT10xx, a Cortex-M7 based microcontroller
    from NXP. At the moment this is still incomplete as other portions
    are merged through different trees.
 
  - Long abandoned support for running NOMMU ARMv4 or ARMv5 platforms
    gets removed, now the Arm NOMMU platforms are limited to the
    Cortex-M family of microcontrollers
 
  - Two old PXA boards get removed, along with corresponding driver
    bits.
 
  - Continued cleanup of the Intel IXP4xx platforms, removing some
    remnants of the old board files.
 
  - Minor Cleanups and fixes for Orion, PXA, MMP, Mstar, Samsung
 
  - CPU idle support for AT91
 
  - A system controller driver for Polarfire
 -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEo6/YBQwIrVS28WGKmmx57+YAGNkFAmI7I0sACgkQmmx57+YA
 GNkfsQ/+KHy6byGCcPiB3T+be2/WFnc7ANnniYku4o27703BpROLCltNAr4VTiyM
 Ucin72wmuPx840RiP0o8st7D9Ms7fG3/j4hoxJDG6v1aHr8CazCSPZR2EgVAOVeD
 n4jGuLzICqP3RLw/qdfTT4lARKGqKBW1l5ss0D4PxFECyKq6kzqEOt9wCw29vAJy
 Vw8CmcDhGr9sI8voZYN1dMyIV4FujkmOm/mNSHNTKKN0vt+GFU0gVxDAG2i7Rh1g
 cO7593Vg/U4daw97231uoW0q+9vZ6OKajZt1Mm6LFe4AsGRpV+eN5UpQeZzkm7ET
 D6GFE8/NTkcJHm50OYYER7t69uHe1O/Sf5+MIax1l5pthuWRZGolb1xOBeWJ9Al7
 Qgym9XNCGf0AoaUeXIuxVbhxNp8GXqBzL35qMK1hV4WkdrJSRGq+2GQLBgtb6owi
 ZIpDYAFnUNFkYFdtX5qez8zXy4LHtUf5bO+qnLXPT2Sk0MtYWx9Gn0P4kgMqezkn
 HQg1inPRQS7PB40xE+7Ap3pzvE/1IWgYblsS8CFekJ4+Nm0X4IRx6/s9KEDHU1ZQ
 RADI6jwwVe/ioOSNen7S60GNrFKDyt9ZbLq/+x/GE3SkmdTeAmcd+RPmQvc5SHnl
 jvUnjN1nsyqhOICIGMwvdkFkW749/af713xoiXyCUedZKIxAgkc=
 =2fmA
 -----END PGP SIGNATURE-----

Merge tag 'arm-soc-5.18' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc

Pull ARM SoC updates from Arnd Bergmann:
 "SoC specific code is generally used for older platforms that don't
  (yet) use device tree to do the same things.

   - Support is added for i.MXRT10xx, a Cortex-M7 based microcontroller
     from NXP. At the moment this is still incomplete as other portions
     are merged through different trees.

   - Long abandoned support for running NOMMU ARMv4 or ARMv5 platforms
     gets removed, now the Arm NOMMU platforms are limited to the
     Cortex-M family of microcontrollers

   - Two old PXA boards get removed, along with corresponding driver
     bits.

   - Continued cleanup of the Intel IXP4xx platforms, removing some
     remnants of the old board files.

   - Minor Cleanups and fixes for Orion, PXA, MMP, Mstar, Samsung

   - CPU idle support for AT91

   - A system controller driver for Polarfire"

* tag 'arm-soc-5.18' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc: (29 commits)
  ARM: remove support for NOMMU ARMv4/v5
  ARM: PXA: fix up decompressor code
  soc: microchip: make mpfs_sys_controller_put static
  ARM: pxa: remove Intel Imote2 and Stargate 2 boards
  ARM: mmp: Fix failure to remove sram device
  ARM: mstar: Select ARM_ERRATA_814220
  soc: add microchip polarfire soc system controller
  ARM: at91: Kconfig: select PM_OPP
  ARM: at91: PM: add cpu idle support for sama7g5
  ARM: at91: ddr: fix typo to align with datasheet naming
  ARM: at91: ddr: align macro definitions
  ARM: at91: ddr: remove CONFIG_SOC_SAMA7 dependency
  ARM: ixp4xx: Convert to SPARSE_IRQ and P2V
  ARM: ixp4xx: Drop all common code
  ARM: ixp4xx: Drop custom DMA coherency and bouncing
  ARM: ixp4xx: Remove feature bit accessors
  net: ixp4xx_hss: Check features using syscon
  net: ixp4xx_eth: Drop platform data support
  soc: ixp4xx-npe: Access syscon regs using regmap
  soc: ixp4xx: Add features from regmap helper
  ...
2022-03-23 18:20:09 -07:00
Linus Torvalds
8ffa5709e5 ARM: defconfig updates for 5.18
Various updates for the 32-bit and 64-bit defconfig files, mostly to
 enable additional hardware drivers for more machines, specifically for
 the Allwinner F1C100, Altera SoCFPGA, Broadcom, Microchip, Qualcomm,
 Airoha, Tegra, Renesas, and i.NX.
 
 The multi_v5_defconfig for older ARMv5 configs gets a rework for Andre
 Przywara to cleans up the multi_v5_defconfig for some cruft that has
 accumulated and drivers that got disabled unintentionally, while Anders
 Roxell makes it more useful for running under Qemu.
 -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEo6/YBQwIrVS28WGKmmx57+YAGNkFAmI7TfIACgkQmmx57+YA
 GNl9zw/+P4ookmNEJ8KRh0qxaI1ER64Vz1XuyzDVa5MwCg7td6Xc8bWTPSK7E7Rd
 EUrAYmcYBHPLm1iKtGwvQW7Y5HXyI8boQC/aqNeq3FvvRFQ5XdIqC4pMW2V0VdPE
 PTrqbjI03W3W4PvruBHUw9G9+DgTcO8T+smvb/3YE93hrbU4sZA3KkDYu8vSczk5
 AX099vu3Gw9KtDuB/qE4ED1i0R0SA9S2qb1yYT3QSgHQ/p4ok7I6kauIASmBG5m9
 LQ98cTzOIbvUo1PUpCmxS0Q+ABT0k2g6TqUZK5bU/3pSNpUWhKWKJZdICVTwO9P+
 2dSk4GhGW3VQna88ikmId+1qwaRkVDy7ldWeX2ciNZqlQONbSqaLab6Bw+HaNmDu
 oew1NHrjOXoiJFZ7si5kwReQOuc4NDKm5CWH5iRagnQxA1bmzxlKKDAiEejuAyoY
 xG8g+WcI00BVi49yoYnzxqyBdMaFAuO1IJ//UjpcO6n6KzcsZoo3lewO6Y0rO1OJ
 U43TDPvCYH/PS0dIsHx7x1DmXE31uKYI9mnhgBQmtYfaalqu3alZjZfTvWc9oW7i
 kL5dye44+oSjFptJSadIZu/mJbezDogE8+DlCQeAiUe93vYEqRKhLoE4rO8Kt+qx
 vAhWINk19m67ok2ctwF6vvOT3Cco3BhKxjY6MjD59nLVOpnrUcA=
 =/9iL
 -----END PGP SIGNATURE-----

Merge tag 'arm-defconfig-5.18' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc

Pull ARM defconfig updates from Arnd Bergmann:
 "Various updates for the 32-bit and 64-bit defconfig files, mostly to
  enable additional hardware drivers for more machines, specifically for
  the Allwinner F1C100, Altera SoCFPGA, Broadcom, Microchip, Qualcomm,
  Airoha, Tegra, Renesas, and i.NX.

  The multi_v5_defconfig for older ARMv5 configs gets a rework for Andre
  Przywara to cleans up the multi_v5_defconfig for some cruft that has
  accumulated and drivers that got disabled unintentionally, while
  Anders Roxell makes it more useful for running under Qemu"

* tag 'arm-defconfig-5.18' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc: (41 commits)
  ARM: configs: multi_v5: Enable Allwinner F1C100
  ARM: configs: clean up multi_v5_defconfig
  ARM: configs: multi_v5_defconfig: re-enable DRM_PANEL and FB_xxx
  ARM: configs: multi_v5_defconfig: re-enable CONFIG_V4L_PLATFORM_DRIVERS
  ARM: configs: multi_v5_defconfig: remove deleted platforms
  ARM: defconfig: add SMB347 charger driver for p4note
  arm: multi_v5: enable configs for versatile
  arm64: defconfig: enable Layerscape SFP driver
  ARM: configs: at91: sama7: Unselect CONFIG_DMATEST
  ARM: configs: at91: add eic
  arm64: defconfig: enable the CVP driver
  ARM: multi_v7_defconfig: Add support for Airoha EN7523 SoC
  ARM: multi_v7_defconfig: Enable BCM23550 and BCM53573
  ARM: multi_v7_defconfig: Enable Broadcom STB USB drivers
  ARM: configs: at91: sama7: add config for cpufreq
  ARM: configs: at91: sama7: enable cpu idle
  ARM: configs: at91: sama7: Enable crypto IPs and software algs
  ARM: configs: at91: sama7: Enable UBIFS_FS
  ARM: configs: at91: sama7: Enable NAND / SMC
  arm64: defconfig: tegra: Enable GPCDMA
  ...
2022-03-23 18:11:04 -07:00
Andre Przywara
cf38326010
ARM: configs: multi_v5: Enable Allwinner F1C100
The Kconfig symbols required for the Allwinner F1C100 (MACH_SUNIV) are
currently not selected by any defconfig. sunxi_defconfig only covers the
v7 SoCs, but the F1C100s is ARMv5, so we cannot share a single image.

Add the required symbols to multi_v5_defconfig, to give people some sane
default config when playing around with this chip. This is probably more
important as there are surely not many distros out there supporting
ARMv5 out of the box.

This allows my LicheePi Nano board to boot to a busybox prompt.

The zImage size grows by about 50 KB, in detail:

    text    data     bss     dec     hex   filename
10510000  4400700  687740 15598440 ee0368 vmlinux-old
10588592  4469096  686812 15744500 f03df4 vmlinux-new

14922908			arch/arm/boot/Image-old
15067388			arch/arm/boot/Image-new
6388016				arch/arm/boot/zImage-old
6440064				arch/arm/boot/zImage-new

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Link: https://lore.kernel.org/r/20220317183043.948432-6-andre.przywara@arm.com'
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2022-03-23 11:16:59 +01:00
Andre Przywara
4bcf5f95c7
ARM: configs: clean up multi_v5_defconfig
Clean up some cruft accumulated over time:
- The default definition of CONFIG_ZBOOT_ROM_* got fixed in commit
  39c3e304567a ("ARM: 8984/1: Kconfig: set default ZBOOT_ROM_TEXT/BSS
  value to 0x0"), so we don't need the explicit setting anymore.
- CONFIG_ABX500_CORE now explicitly depends on the ARMv7 ARCH_U8500,
  so we don't need to disable that symbol explicitly anymore.
- CONFIG_DEBUG_FS was just moved around in the generated defconfig.

No change to the generated .config or savedefconfig.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Link: https://lore.kernel.org/r/20220317183043.948432-5-andre.przywara@arm.com'
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2022-03-19 22:34:42 +01:00
Andre Przywara
9c44d0805f
ARM: configs: multi_v5_defconfig: re-enable DRM_PANEL and FB_xxx
Commit 91185d55b32e ("drm: Remove DRM_KMS_FB_HELPER Kconfig option")
led to de-selection of CONFIG_FB, which was a prerequisite for
BACKLIGHT_CLASS_DEVICE, which CONFIG_DRM_PANEL_SIMPLE depended on.
Explicitly set CONFIG_FB, to bring DRM_PANEL_SIMPLE, DRM_PANEL_EDP,
FB_IMX and FB_ATMEL back into the generated .config.
This also adds some new FB related features like fonts and the
framebuffer console.

See also commit 8c1768967e27 ("ARM: config: mutli v7: Reenable FB
dependency"), which solved the same problem for multi_v7_defconfig.

This relies on [1], to fix a broken Kconfig dependency.

[1] https://lore.kernel.org/dri-devel/20220315084559.23510-1-tzimmermann@suse.de/raw

Fixes: 91185d55b32e ("drm: Remove DRM_KMS_FB_HELPER Kconfig option")
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Link: https://lore.kernel.org/r/20220317183043.948432-4-andre.przywara@arm.com'
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2022-03-19 22:34:41 +01:00
Andre Przywara
f5eb04d7a0
ARM: configs: multi_v5_defconfig: re-enable CONFIG_V4L_PLATFORM_DRIVERS
Commit 06b93644f4d1 ("media: Kconfig: add an option to filter in/out
platform drivers") introduced CONFIG_MEDIA_PLATFORM_SUPPORT, to allow
more fine grained control over the inclusion of certain Kconfig files.
multi_v5_defconfig was selecting some drivers described in
drivers/media/platform/Kconfig, which now wasn't included anymore.

Explicitly set the new symbol in multi_v5_defconfig to bring those
drivers back.
This enables some new V4L2 and VIDEOBUF2 features, but as modules only.

Fixes: 06b93644f4d1 ("media: Kconfig: add an option to filter in/out platform drivers")
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Link: https://lore.kernel.org/r/20220317183043.948432-3-andre.przywara@arm.com'
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2022-03-19 22:34:41 +01:00
Andre Przywara
30160c1955
ARM: configs: multi_v5_defconfig: remove deleted platforms
Some ARMv5 platforms got removed from the kernel over time, so we don't
need their symbols in the multi_v5_defconfig anymore:

- ARCH_U300 got removed with commit ce1380c9f4bc ("ARM: remove u300
  platform"), so CONFIG_ARCH_U300 is not around anymore.
- ARCH_U300 was the only platform selecting ARCH_AMBA, which I2C_NOMADIK
  depends on. So we won't need this symbol anymore, and can't select it
  anyway.
- i.MX27 got converted to DT in 879c0e5e0ac7 ("ARM: imx: Remove i.MX27
  board files"). Remove the now obsolete board file version symbols.

No change in the generated .config or savedefconfig.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Link: https://lore.kernel.org/r/20220317183043.948432-2-andre.przywara@arm.com'
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2022-03-19 22:34:41 +01:00
Martin Jücker
160d0603a1
ARM: defconfig: add SMB347 charger driver for p4note
The Summit SMB347 charger is part of the P4Note family of devices (e.g.
Samsung Galaxy Note 10.1 (GT-N8010/N8013), enable the driver in exynos
and multi_v7 defconfigs.

Signed-off-by: Martin Jücker <martin.juecker@gmail.com>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Link: https://lore.kernel.org/r/4f1f6a4f8200855d07f3faed80ec5cc320e40941.1643919230.git.martin.juecker@gmail.com
Link: https://lore.kernel.org/r/20220316154309.436028-3-krzysztof.kozlowski@canonical.com'
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2022-03-16 20:05:15 +01:00
Chuck Lever
f3e4080edd arch: Remove references to CONFIG_NFSD_V3 in the default configs
CONFIG_NFSD_V3 has been removed. NFSD support for NFSv3 can no
longer be disabled.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
2022-03-11 10:25:16 -05:00
Anders Roxell
42cc353b54
arm: multi_v5: enable configs for versatile
Make it possible to boot a versatile machine in qemu.

Boot command:
 /usr/bin/qemu-system-arm -cpu arm926 -machine versatilepb \
  -nographic -nic none -m 256M -monitor none -no-reboot \
  -kernel zImage -dtb versatile-pb.dtb \
  -append "console=ttyAMA0,115200 rootwait root=/dev/vda" \
  -drive armv5_rootfs.ext4,if=none,format=raw,id=hd0 \
  -device virtio-blk-pci,drive=hd0

When doing build and boot testing, it makes more sense to enable arch
vesatile, serial amba_pl011 and virtio (mmio|blk|pci) to
multi_v5_defconfig to make that boot out of the box, with a modern
virtio (mmio|blk|pci) driver. Using the above commandline. Another way
to build and boot would be to use tuxmake/tuxrun. Tuxmake [1] builds the
kernel, and Tuxrun [2] boots the kernel in qemu. Both projects uses
podman to do the build/tests inside.  This makes both project a good
tool to use when finding a regression that you would like someone else
to reproduce with the exact same setup.

tuxmake --runtime podman --target-arch arm \
        --toolchain gcc-11 --kconfig multi_v5_defconfig
tuxrun --tuxmake ~/.cache/tuxmake/builds/3072 --device qemu-armv5

[1] https://tuxmake.org/
[2] https://tuxrun.org/

Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Link: https://lore.kernel.org/r/20220308121933.3967868-1-anders.roxell@linaro.org'
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2022-03-08 16:48:20 +01:00
Arnd Bergmann
9a5872bab1 AT91: defconfig #2 for 5.18:
- Add EIC, remove DMATEST to sama7_defconfig
 -----BEGIN PGP SIGNATURE-----
 
 iHUEABYIAB0WIQQ5TRCVIBiyi/S+BG4fOrpwrNPNDAUCYiImHwAKCRAfOrpwrNPN
 DGu5AQCIlXOx8AyS5gbJsujup7uKG/27rwfEVmgSI9WlHKcuWgEAgpwXzSCyJd3O
 GirnSTMzrn480vxmnY+kkF89UaZAKgg=
 =zeL8
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEo6/YBQwIrVS28WGKmmx57+YAGNkFAmIneX4ACgkQmmx57+YA
 GNkP9w//QcdrC7Of3Qn4DSKVvDBJnJs+QpWsZ1dxOonNAEMLy9RVkM/Jkj8Ym4U4
 dbcJJlf+nejP/Txx9sLSl/PSiJD3zQ31LZC+PGc2vacedNuoDKy2+02hiAlQEfDP
 aXh3kvMX05dUuLzhRJ1bKlOZG7NP2dLRHKFKx0xUPNE1WAEHRIjuP/93XVn9YHtq
 Z/yoDJD1fX44ThvgBdlcSD03B5HzfKqfGe+2Qm90ESVVbLNXm+ZcUXrTj3XogXrv
 oX8tF5LIdZ25gzLG8JUZu/6u1lEGaRDo6SibWmJS9OrXGYdbZ905HWePgZUZVzU+
 di42pEALrAvTHX98QXdUeUZR917XZQAtrhH/DGzYsqJ2q18PrnS+oGuXn9maPbZX
 hpHpDRbSJUq2QOuKW9m7U5lGtYp4xPJZfX4RBGgFjOTH+rGvq+mj2D/v6t/mucYC
 fe0KYPmW1bCly/rduh8+MAuTwPCu8vGQQi/zMyEKpcWLB+cCWRDqvKh4O3zL9W19
 zOIUihUCDLo6PX5fl5gNSbEkVayfak4J9y8pUgd2hiaFY4BturQfp7hrySYORnaP
 5I9rVYYJ4bvQnF5x8dPuexm8c2EacJ7W8oh/D8sTjA8RNhUho1qP/VMwzCjcF9ND
 w8D+UBf3FO3d5H8iX0KEYuiPWF0sgSXgLNqVo/z45QljXL01isc=
 =0kcM
 -----END PGP SIGNATURE-----

Merge tag 'at91-defconfig-5.18-2' of git://git.kernel.org/pub/scm/linux/kernel/git/at91/linux into arm/defconfig

AT91: defconfig #2 for 5.18:

- Add EIC, remove DMATEST to sama7_defconfig

* tag 'at91-defconfig-5.18-2' of git://git.kernel.org/pub/scm/linux/kernel/git/at91/linux:
  ARM: configs: at91: sama7: Unselect CONFIG_DMATEST
  ARM: configs: at91: add eic

Link: https://lore.kernel.org/r/20220304144746.23779-1-nicolas.ferre@microchip.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2022-03-08 16:42:54 +01:00
Tudor Ambarus
5f5399843c ARM: configs: at91: sama7: Unselect CONFIG_DMATEST
The DMA test client should be selected only when one is debugging a DMA
Device driver. There's no need to select the DMA test client by default,
unselect it.

Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Link: https://lore.kernel.org/r/20220228085906.18508-1-tudor.ambarus@microchip.com
2022-03-04 12:53:15 +01:00