Commit Graph

64285 Commits

Author SHA1 Message Date
Dmitry Osipenko 8d78c750e3 ARM: tegra: acer-a500: Add interrupt to temperature sensor node
The TEMP_ALERT pin of LM90 temperature sensor is connected to Tegra SoC.
Add interrupt property to the temperature sensor for completeness.

Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2021-08-13 13:11:22 +02:00
Dmitry Osipenko b844468615 ARM: tegra: nexus7: Add interrupt to temperature sensor node
The TEMP_ALERT pin of LM90 temperature sensor is connected to Tegra SoC.
Add interrupt property to the temperature sensor for completeness.

Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2021-08-13 13:11:20 +02:00
Dmitry Osipenko 155bfaf7ee ARM: tegra: paz00: Add interrupt to temperature sensor node
The TEMP_ALERT pin of LM90 temperature sensor is connected to Tegra SoC.
Add interrupt property to the temperature sensor for completeness.

Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2021-08-13 13:11:17 +02:00
Dmitry Osipenko da0ad8983c ARM: tegra: ouya: Add interrupt to temperature sensor node
The TEMP_ALERT pin of LM90 temperature sensor is connected to Tegra SoC.
Add interrupt property to the temperature sensor and enable it in pinmux,
for completeness.

Tested-by: Matt Merhar <mattmerhar@protonmail.com>
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2021-08-13 13:11:14 +02:00
Dmitry Osipenko 13a2a5ea1a ARM: tegra: Add SoC thermal sensor to Tegra30 device-trees
Add the on-chip SoC thermal sensor to Tegra30 device-trees. Now CPU
temperature reporting and thermal throttling is available on all Tegra30
devices universally.

Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2021-08-13 13:11:08 +02:00
Tao Ren 40cb6373b4 ARM: dts: aspeed: Add Facebook Fuji (AST2600) BMC
Add initial version of device tree for Facebook Fuji (AST2600) BMC.

Fuji is Facebook's next generation switch platform with an AST2600 BMC
integrated for health monitoring purpose.

Signed-off-by: Tao Ren <rentao.bupt@gmail.com>
Signed-off-by: Joel Stanley <joel@jms.id.au>
Link: https://lore.kernel.org/r/20210805222818.8391-7-rentao.bupt@gmail.com
Signed-off-by: Joel Stanley <joel@jms.id.au>
2021-08-13 11:02:11 +09:30
Tao Ren 2f31f8c2a3 ARM: dts: aspeed: Add Facebook Elbert (AST2600) BMC
Add initial version of device tree for Facebook Elbert (AST2600) BMC.

Elbert is Facebook's next generation switch platform with an AST2600 BMC
integrated for health monitoring purpose.

Signed-off-by: Tao Ren <rentao.bupt@gmail.com>
Signed-off-by: Joel Stanley <joel@jms.id.au>
Link: https://lore.kernel.org/r/20210805222818.8391-6-rentao.bupt@gmail.com
Signed-off-by: Joel Stanley <joel@jms.id.au>
2021-08-13 11:02:11 +09:30
Tao Ren 0ccdd60e51 ARM: dts: aspeed: Add Facebook Cloudripper (AST2600) BMC
Add initial version of device tree for Facebook Cloudripper (AST2600) BMC.

Cloudripper is Facebook's next generation switch platform with an AST2600
BMC integrated for health monitoring purpose.

Signed-off-by: Tao Ren <rentao.bupt@gmail.com>
Signed-off-by: Joel Stanley <joel@jms.id.au>
Link: https://lore.kernel.org/r/20210805222818.8391-5-rentao.bupt@gmail.com
Signed-off-by: Joel Stanley <joel@jms.id.au>
2021-08-13 11:02:11 +09:30
Tao Ren 0c6881e86d ARM: dts: aspeed: Common dtsi for Facebook AST2600 Network BMCs
This common descirption is included by all Facebook AST2600 Network BMC
platforms to minimize duplicated device entries across Facebook Network
BMC device trees.

Signed-off-by: Tao Ren <rentao.bupt@gmail.com>
Signed-off-by: Joel Stanley <joel@jms.id.au>
Link: https://lore.kernel.org/r/20210805222818.8391-4-rentao.bupt@gmail.com
Signed-off-by: Joel Stanley <joel@jms.id.au>
2021-08-13 11:02:11 +09:30
Tao Ren 2cbc14749a ARM: dts: aspeed: wedge400: Use common flash layout
Simplify wedge400 flash layout by using the common layout defined in
"facebook-bmc-flash-layout-128.dtsi".

Signed-off-by: Tao Ren <rentao.bupt@gmail.com>
Signed-off-by: Joel Stanley <joel@jms.id.au>
Link: https://lore.kernel.org/r/20210805222818.8391-3-rentao.bupt@gmail.com
Signed-off-by: Joel Stanley <joel@jms.id.au>
2021-08-13 11:02:11 +09:30
Tao Ren b74759f753 ARM: dts: Add Facebook BMC 128MB flash layout
This is the layout used by Facebook BMC systems. It describes the fixed
flash layout of a 128MB mtd device.

Signed-off-by: Tao Ren <rentao.bupt@gmail.com>
Signed-off-by: Joel Stanley <joel@jms.id.au>
Link: https://lore.kernel.org/r/20210805222818.8391-2-rentao.bupt@gmail.com
Signed-off-by: Joel Stanley <joel@jms.id.au>
2021-08-13 11:02:11 +09:30
Arnd Bergmann cbfece7518 ARM: ixp4xx: fix building both pci drivers
When both the old and the new PCI drivers are enabled
in the same kernel, there are a couple of namespace
conflicts that cause a build failure:

drivers/pci/controller/pci-ixp4xx.c:38: error: "IXP4XX_PCI_CSR" redefined [-Werror]
   38 | #define IXP4XX_PCI_CSR                  0x1c
      |
In file included from arch/arm/mach-ixp4xx/include/mach/hardware.h:23,
                 from arch/arm/mach-ixp4xx/include/mach/io.h:15,
                 from arch/arm/include/asm/io.h:198,
                 from include/linux/io.h:13,
                 from drivers/pci/controller/pci-ixp4xx.c:20:
arch/arm/mach-ixp4xx/include/mach/ixp4xx-regs.h:221: note: this is the location of the previous definition
  221 | #define IXP4XX_PCI_CSR(x) ((volatile u32 *)(IXP4XX_PCI_CFG_BASE_VIRT+(x)))
      |
drivers/pci/controller/pci-ixp4xx.c:148:12: error: 'ixp4xx_pci_read' redeclared as different kind of symbol
  148 | static int ixp4xx_pci_read(struct ixp4xx_pci *p, u32 addr, u32 cmd, u32 *data)
      |            ^~~~~~~~~~~~~~~

Rename both the ixp4xx_pci_read/ixp4xx_pci_write functions and the
IXP4XX_PCI_CSR macro. In each case, I went with the version that
has fewer callers to keep the change small.

Fixes: f7821b4934 ("PCI: ixp4xx: Add a new driver for IXP4xx")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Cc: soc@kernel.org
Link: https://lore.kernel.org/r/20210721151546.2325937-1-arnd@kernel.org'
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2021-08-12 23:10:09 +02:00
Linus Walleij 813bacf410
ARM: configs: Update the nhk8815_defconfig
The platform lost the framebuffer due to a commit solving a
circular dependency in v5.14-rc1, so add it back in by explicitly
selecting the framebuffer.

Also fix up some Kconfig options that got dropped or moved around
while we're at it.

Fixes: f611b1e762 ("drm: Avoid circular dependencies for CONFIG_FB")
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Cc: Kees Cook <keescook@chromium.org>
Link: https://lore.kernel.org/r/20210807225518.3607126-1-linus.walleij@linaro.org'
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2021-08-12 23:09:47 +02:00
Arnd Bergmann 20904527a7 Amlogic ARM configs change for v5.15:
- Enable CONFIG_MMC_MESON_MX_SDHC controller used on meson8/8b
 -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEPVPGJshWBf4d9CyLd9zb2sjISdEFAmEH5eUACgkQd9zb2sjI
 SdE0HhAArSrDt0X8nhKPhBRLUgwZj4U1MjcoE3+dNhC6mkrK3OrF8aFCXZASFqFT
 wyPcPatFMEKBYhFI9KxL7lvbUFm8pI7QBprgq3m97lllqXHU1lq7a128HSXA5ACT
 jQyeCD9/LrtFgPV4RFWmK2WNAa36pevD/G4L2AlLHRdlY04QRK0eSKrSBElKScFm
 jqNjDziNlsESUHO9XwPTdzwoRgV8E3jp/eCv2Jk6pjREHbIn4b3mdlysW9Rhk4jb
 rJxZbftd8cDNp2dVY1N2VsFbncRYaLaDcp+0LPaUXf6sS8nagxps3/U9vaGLhVPU
 w+Dw5Eozl444OKDm7mwQCneUHjGdPi0WZgvdWKdVbLJ4W4ztVS9WkYLxuadxFDSV
 C1M3eu1+SK8amFQm00x33f7P781Dw8wGsNxoMvZPbWnEy/j2CZmARbN95IGHUHDA
 xHpSwBsOlyhbmu/S2ER0JiWP4Q4lJ7rRgMCekV75ZYbfFSEEPSJ5PoFa2y3C28qF
 dKmckxB44MiAjC15zRohnjAXc/nk7J7J2MvKtg66oH39DFylH/LI1LCyll9X/X3k
 uUVQU2jri952Q3Y3maBJAn9DKUIfYgADDJbnaxCtXz/xT9F1mCenYkUMu93PM2aF
 5sp6Yoyg6kRhqY7A/DeFpfFWlpE7VUhkvNKLx3zVzNfAsOuHjPw=
 =EI5u
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEo6/YBQwIrVS28WGKmmx57+YAGNkFAmEVjW0ACgkQmmx57+YA
 GNklnQ//YcEge5R4C3btD5NzMf7SMzv0SrIPotzZ0Hf0XUmdh132GkRBaLRt9oHR
 WQfD7ErX7IdFRAgRfC7/OxgdyRFtJ5EIXnPwlqDX6DWV+MLowjoeZhAQSMiW9Wly
 b///1C307Ykj90bcc2PElEn8XxGBjm6PHPwBRSer+NbWWul6Udla4YmyQLzbmVy9
 v8zp6Py8++ue3sq35S6ggV39IJFhajmzGf1bImd80yNU6U3F9bngS+dzbfQhGf2M
 +2b7JAaljpJcUQ6IymR4L7wAJBCOsiqNv/jsYBeNZWEDt7qxFcEXUoFrGVCGlQhG
 pww8zkS990zvI608PdJat46Trgf5O0dzE0pORrZidw0DVEOZQ6MS0098SF+cpMP1
 +9B6VgO5BlQEUd7bL6VjeeZm5hPtPtZbmM6lhFiu07jOY9MJzKGaOt1S81iMnhcL
 JhRNB0IBnSsB/6uASqGxOz/kO6A2FaHy0U2N+l086ueZGW1ZQQ/ScSKzDnrybZqH
 VHE32wMcXMh9kfdL7bW6u0oazYA0BUACJnlo6owijHFsIzWBVoCQ2YO4ZPmcSpA6
 lP5nw7aFMDer7vuDBPHOBlYOKtWO1SYZbYH+V+eAvRzpmGkkgo4fGFa7q2tij+0s
 FqkKuw/OuF7vk0QMJSlOMceVRrkDeO4gkUmnBO3QjqEu9EFC8iw=
 =nDzj
 -----END PGP SIGNATURE-----

Merge tag 'amlogic-arm-configs-for-v5.15' of git://git.kernel.org/pub/scm/linux/kernel/git/amlogic/linux into arm/defconfig

Amlogic ARM configs change for v5.15:
- Enable CONFIG_MMC_MESON_MX_SDHC controller used on meson8/8b

* tag 'amlogic-arm-configs-for-v5.15' of git://git.kernel.org/pub/scm/linux/kernel/git/amlogic/linux:
  ARM: multi_v7_defconfig: Enable CONFIG_MMC_MESON_MX_SDHC

Link: https://lore.kernel.org/r/8e2b5139-86e6-0da3-75c4-d8df66448d51@baylibre.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2021-08-12 23:06:53 +02:00
Arnd Bergmann b528dede9b AT91 defconfig for 5.15:
- add defconfig entries for new SoC: SAMA7G5
   - dedicated sama7_defconfig which avoids having to carry older drivers
     and dependencies from the sama5 family:
     CACHE_L2X0, CAN_AT91, TOUCHSCREEN_ADC, AT91SAM9X_WATCHDOG,
     VIDEO_ATMEL_ISI, SND_ATMEL_SOC_I2S, MMC_ATMELMCI, AT_HDMAC, AT91_ADC,
     REGULATOR_ACT*
     Addition of new drivers that are not part of any sama5 SoC:
     SND_MCHP_SOC_I2S_MCC, SND_MCHP_SOC_SPDIFTX|RX, MICROCHIP_PIT64B
     plus upcoming MIPI pipeline, audio sample rate converter, ...
     It also maintains both sama5 and sama7 defconfig tailored for their
     respective families and easy to identify.
   - addition to the generic multi_v7_defconfig
 -----BEGIN PGP SIGNATURE-----
 
 iHUEABYIAB0WIQQ5TRCVIBiyi/S+BG4fOrpwrNPNDAUCYREvjgAKCRAfOrpwrNPN
 DBc1AP4/HkSrWp57ElCSIwIY2vCZrOEbeRROxOgO5j/mdoB4qwEArsEEnZGHwpO3
 TYjdyGt4yLR9kmaYBmWnDfI8loz0HQw=
 =sVC8
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEo6/YBQwIrVS28WGKmmx57+YAGNkFAmEVjV8ACgkQmmx57+YA
 GNkWJw/8Dx4/DlgH+mKyGTYbZ1ItS5wOtx0NV/FsvLAKrfLJIjeqG0caJ3gs2Aom
 kL8VhjYWXy3M0aZpPu01ruyPMB2pWKfV/ozNITONP//bBCE3hr+WU7+D37XAy2Vr
 V3itZCKHNnNlxR5sbOYZULN/1/lhHB2S5o83RaXsLQCX5n+7vTa63LhegmphFCAd
 FnTORSbeMXAwyg80nTE1T1PxreUxK/YCukLe5qFIjLiU0RcPR7MZJOQNAhbKi5cz
 o2vFQg+c6ajwKwP0ifxFIctCs0BmAzntioS4MLvyitiU0dRIGQTl85MK9JfEIexh
 x+oYE8Ir1+UY7FmBR+GdpnT6x4Bj5EqVlXPU6E3sqVu+G5DSbSRKvjd53m+tLYDc
 aSk5XoYnaoZtr3mKGrZmC/kyMLTPKkeKenwa8qQ3VFVB/HYXCp8NTF8N44XbtwVu
 Leo+8I5/XS1Jwh5IBcWFTqWC8ZIbJTDy+dPabUcBZb4z2GAuIZx4PIidsEV1BkMp
 F2jMpTjPqLVzLTcy+mo/ndMWC0MHeMaxy1tj4eLvPFcSJ9gE2CkSem6iUTizfptc
 1mB5pb07J+8Vx0h7iZqqLm/87LBKxGWTrUMZOuSRM2Tuv72pydY50qAolb3QtXuo
 4a67RKX4EQmHqrxleN18blIlACqrkZ/C2yW1KXNknQ9iaNOAETY=
 =g9Op
 -----END PGP SIGNATURE-----

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

AT91 defconfig for 5.15:

- add defconfig entries for new SoC: SAMA7G5
  - dedicated sama7_defconfig which avoids having to carry older drivers
    and dependencies from the sama5 family:
    CACHE_L2X0, CAN_AT91, TOUCHSCREEN_ADC, AT91SAM9X_WATCHDOG,
    VIDEO_ATMEL_ISI, SND_ATMEL_SOC_I2S, MMC_ATMELMCI, AT_HDMAC, AT91_ADC,
    REGULATOR_ACT*
    Addition of new drivers that are not part of any sama5 SoC:
    SND_MCHP_SOC_I2S_MCC, SND_MCHP_SOC_SPDIFTX|RX, MICROCHIP_PIT64B
    plus upcoming MIPI pipeline, audio sample rate converter, ...
    It also maintains both sama5 and sama7 defconfig tailored for their
    respective families and easy to identify.
  - addition to the generic multi_v7_defconfig

* tag 'at91-defconfig-5.15' of git://git.kernel.org/pub/scm/linux/kernel/git/at91/linux:
  ARM: multi_v7_defconfig: add sama7g5 SoC
  ARM: configs: at91: add defconfig for sama7 family of SoCs

Link: https://lore.kernel.org/r/20210809134521.10155-1-nicolas.ferre@microchip.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2021-08-12 23:06:39 +02:00
Arnd Bergmann 81b6a28573 Changes for am3 cpsw and SanCloud for v5.15
A series of changes to update am3 to use cpsw switch driver and
 few updates to earlier SanCloud changes. The plan was to send the
 cpsw switch driver changes earlier but looks like I never tagged
 the mail thread in my inbox to apply for v5.15.
 -----BEGIN PGP SIGNATURE-----
 
 iQJFBAABCAAvFiEEkgNvrZJU/QSQYIcQG9Q+yVyrpXMFAmEUxPQRHHRvbnlAYXRv
 bWlkZS5jb20ACgkQG9Q+yVyrpXObZQ//Wtoib8IwHgRi+RtGxz5ThZciiXEkORjK
 s91xVX6dTYavWFC03XhlncsQaYd4c0E872aAWjeV7AeJdSfCbvadq9g4IWv3ZCuN
 2CYQzpuRt8yKEYR94qPyGVNOJbhYA7DGsm/lXSaC3yRvL/H5Yvt9vEUzRh0I668E
 mZaCnSuC0RLUixFVC67HV0qQ6igciTxIX1JAuRRHvW7fET2gGILNzzD3CtTWNYyO
 Ne7lz5D4CYdmQlwnW2YDJyIvhoQ/TP/8hIEWZQphDGE6u2uwnZBU2G8sZ/yao+IB
 gY3kE3qzh4dX7xfrtG12P1f9kZt7IRmQO37lbkxPP36a5Lg++c2PUql2yy4h5oBO
 cYAWXG0ZhCy6SXuVUsIIRz7vZlKvLb9i8fjQIw/JMW/b/CET9IQ4e9hT/fUBLmA4
 nNRnwfoNDXIZjCYq/CspjAmOAXVdP73xTaEplPL/HCTd7VJTnh+aV/PniYZkxVE8
 ujSRDcuP2TyuI3nVSgoKVmZ3kKBu0cmSa2e8SetgXo+QE1O6JvM1as6DEKm6EkE+
 DVXkhkudJRpnHuhPML9BSchLP2yfzpFBuEuRYtHDgonXY1vS1/gyTyq+PEw+UthN
 dyFQla8Q4dqHvOmi4q2oq3duTh9d4Laiv/pH8rZ7sNnLIZnO1dBlYPh4zuH5C0D2
 K8gM2UG3TdM=
 =qPV9
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEo6/YBQwIrVS28WGKmmx57+YAGNkFAmEVivsACgkQmmx57+YA
 GNmy3RAAnpqWhBfjpFXfHSKEnmZ4O83KpSADsZc9SW8NOPF0YOWD50GU07bg7AOO
 gGZYQXwBOn25qxr1/aotSHS/9PCXTOXd157uviE+TPNuba8nQBRVDPWmrSJkcm/7
 8RxhYqJo6LquO5HNECAYP8eMS3kzePy5rLD8o+rkCkB21W5iTuXIx59+p+wNUpTf
 hg6spRjPQ64gCcpwpp/4br9+CIE8cgMQLER/twlpBzhHR8hPCtTN3JAFL+QD2ii2
 J59OOI6NAL9FTyNRce8Xg/V2gUCKbMnTlWEWCKJjPYW15uvtrIiEPwXP4rgstxeX
 sZKd7l4/Yo0Vs681WMEa6O/3TLnRr2A/9sDJktcCiqc3kdRPWauOpKxaAySHFMAO
 WVroAEvZnTthnoEbbSq4z/KTuTfq5rdattj8RIC/XoL4eYzvy+y3n8aREMI7FKia
 hBLyGT+5/zuyt/I01Y8F0x2Kitgp1pKsSXmcTz2txqEk6gSNguAQYc/tz9282Srg
 q5/0nP2T+av56CLOQRES/Nr/AvtX2hQgPUmq/PTe6ouHm7mpRSzuP4T+dcibT2MC
 N67DjQYVq+u+hbOmqYh1uN5TLKkA11pVUC9tavmjzTFiI+SAiHLsmVxOA/XxEUWB
 VKqbD3aPjpLdYgC6tCC5Yb5k1aTm5fmhuB/+ZmqIA7vQyzpLZWw=
 =7Hv9
 -----END PGP SIGNATURE-----

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

Changes for am3 cpsw and SanCloud for v5.15

A series of changes to update am3 to use cpsw switch driver and
few updates to earlier SanCloud changes. The plan was to send the
cpsw switch driver changes earlier but looks like I never tagged
the mail thread in my inbox to apply for v5.15.

* tag 'omap-for-v5.15/dt-am3-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap:
  ARM: dts: am335x-sancloud-bbe: Drop usb wifi comment
  ARM: dts: am335x-sancloud-bbe: Fix missing pinctrl refs
  ARM: dts: am335x-bone: switch to new cpsw switch drv
  ARM: dts: am33xx: update ethernet aliases
  ARM: dts: am335x-sl50: switch to new cpsw switch drv
  ARM: dts: am335x-shc: switch to new cpsw switch drv
  ARM: dts: am335x-phycore: switch to new cpsw switch drv
  ARM: dts: am335x-pepper: switch to new cpsw switch drv
  ARM: dts: am335x-pdu001: switch to new cpsw switch drv
  ARM: dts: am335x-osd3358-sm-red: switch to new cpsw switch drv
  ARM: dts: am335x-myirtech: switch to new cpsw switch drv
  ARM: dts: am335x-moxa-uc: switch to new cpsw switch drv
  ARM: dts: am335x-lxm: switch to new cpsw switch drv
  ARM: dts: am335x-igep0033: switch to new cpsw switch drv
  ARM: dts: am335x-cm-t335: switch to new cpsw switch drv
  ARM: dts: am335x-chiliboard: switch to new cpsw switch drv
  ARM: dts: am335x-nano: switch to new cpsw switch drv
  ARM: dts: am335x-baltos: switch to new cpsw switch drv

Link: https://lore.kernel.org/r/pull-1628751694-126144@atomide.com-3
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2021-08-12 22:56:26 +02:00
Arnd Bergmann 0b72a27e1d Samsung DTS ARM changes for v5.15
Add CPU topology to all Exynos DTSI files.
 -----BEGIN PGP SIGNATURE-----
 
 iQJEBAABCgAuFiEE3dJiKD0RGyM7briowTdm5oaLg9cFAmETjzoQHGtyemtAa2Vy
 bmVsLm9yZwAKCRDBN2bmhouD1/AxD/9I+BF35zzUFFlHSTxsPxMFdP+ciTyjs+SZ
 D5oVs2lrW/52LptsQRvVgTYsEuzkP0/+L54JqdQVl0mBclP1mei83irbMCaRlGxZ
 yy/f5tLzQ1pW52x+s7Fg7v/f1Rl5+W9ib0j7jyveuLPydRhqQDxdeWBVTBFo0EQM
 q99Wi4v798l/ss3z8HBLZJ68Kn161nrcssRkPBW8ZIfSjvTTU14duBbvLC0neVwH
 FWBtnqdLdrsOXqqC8fTyzgvHZrJyRL0gr6eFkp6+FHjNB7EUMDTaVGc2jRjpMM/M
 FHhXVHqo+X6XVA4loKpZidgmh7zsQ5/+zch2wKdeYLzdkoFwjyGogn5ckpjtWcQY
 tLzLQFf248X0dYxh6lxVZxlyaJXBHQWYw4k27IUTgeAhEh6usNKDegKjJ62NWj5g
 +tYaphxENeZ+Y/yS8dYfJ4tvj9/FO7pg5yu7etBboxgw+8PNqPjwYonSbTrAkR6P
 5MXJZu/pzG1b1BZ9vdh9HqLylrvnraQXokjjvwpo3RQHBjLDgM1W7KUj+LOhs/eX
 MQg32VZP3xLz9FUYTzqinJf8kLFqlh2I3RUb13tLQmWo0TjkSBR9QPsYoeEQ7j3+
 M6v1wl39YqOH2VyXgBHJDtRPN0Pf8Njf+Xzqls75XUe6QDQ8PXIwCgBZPB/QHZjV
 n+EH/ewZVg==
 =YDU9
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEo6/YBQwIrVS28WGKmmx57+YAGNkFAmEVirYACgkQmmx57+YA
 GNkVjw//ZROx4Nw4UfmRpu4w8W8UPpNTGadZp6J3AjiLvGLOf3z9BWGwgHiUIo7Q
 pKwmiTttqJcAPrhwFfjtalx7iSEkl8SuJ+MI2dTo8tb6DZDe3ZAP7WMcJiUipgp0
 5IaTTH9wIaEtsO1kGfmZLchBEVSXzf06F4PeP+rrxTPJZPYGRmo441Scw+c+lzRz
 Q9IsbGq0TytLb7DROVVyke0rFP5hfOTT5dgEmBz6lavmCjv14cafa3o1NxEbyIj1
 K0ekJNNrtPIdQfDiiHnHcGmDTGG2iSgqPQtIeQIem9OKFLhqgOQLzKPk+UE7kRJy
 VRECPqwsN4JdAUo8Pd/hQDdOf+Hcw3oXpdtaldIPQ1x/9WGpl9sQfcDLLZeXlAKJ
 HFtK6pBexLzqGhEPTk8SjUT/OTmiwthMfst1PR6/RGETwJ6RjYmGjKMhcAeXD4qH
 EFyHL2rHsQsbQvW5pmm1Ltn0g8LZ0zfIcb/RRXh+u0hlKC2j2DTnH4eaR+B6wTRF
 h4UeXWFsokqWsYX6bCVuOhnvQ4w9d6rrIGQxn9Io6Ck2Tw3UKnstiPTXsTKX5vwC
 Hagpte+pt438IAf4eUOEKcY691TTx/vF4f/If5kJ3hCpgJRjQNACyG75I4t5jgoa
 sEhhkPaUGXjwObVZblN003gBaAhOresT4U4200ShMmHraZX17v0=
 =588k
 -----END PGP SIGNATURE-----

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

Samsung DTS ARM changes for v5.15

Add CPU topology to all Exynos DTSI files.

* tag 'samsung-dt-5.15' of git://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux:
  ARM: dts: exynos: add CPU topology to Exynos5422
  ARM: dts: exynos: add CPU topology to Exynos5420
  ARM: dts: exynos: add CPU topology to Exynos5260
  ARM: dts: exynos: add CPU topology to Exynos5250
  ARM: dts: exynos: add CPU topology to Exynos4412
  ARM: dts: exynos: add CPU topology to Exynos4210
  ARM: dts: exynos: add CPU topology to Exynos3250

Link: https://lore.kernel.org/r/20210811085128.30103-1-krzysztof.kozlowski@canonical.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2021-08-12 22:55:18 +02:00
Arnd Bergmann c2632c3afe Amlogic ARM DT changes for v5.15:
- meson8: use a default higher default GPU clock to solve probe failure
 - meson: add AIU audio controller and codec for ec100
 - meson8b: fix pwm regulator supply property name
 -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEPVPGJshWBf4d9CyLd9zb2sjISdEFAmEH5TwACgkQd9zb2sjI
 SdGKEhAAn0mDqAmZ7dzN9EgAlPOs0u+9/qxotPWcQBes6J7+uGUK/p6iFOC6/E3Q
 GlE4OkfmO2z0B+PYzE+B2E5OXXcPeUxYEFSP6umW0d+7CV95pADvr32KXpXyumUQ
 7CTJaVoHzvyaa/mtuZaCYJ1oknZP2iIxEc4Z/3drBULscEroJDRWHDFbFMYsGKud
 6z2fPcHPM0HktSX6d2/O61PBcy35ZAbIFC0HcWbwrx5+JqRu981LS5frCo+NYljs
 lXr+j91pfuQ2N1JfV21dTZcgiuA0CTV51Z3TiK32nE/gS5afTOiNuYNBMIKCMRj5
 0XQmlBNn018/xUJhJzEmm+369nGVAdo5TqAXVD2i84XpGtk1fLNNyM28bgcLpJnJ
 8CzMhOCqrMkjBKKtP95TvAjsePcxP+aUNXkCJesk7OD8cKNvPnWSJ4WySXTusTqZ
 ltJIaIHEzGL2oJxqZt1cJDhBZ7xA9KjM6sUQ8KalSH4OwOk7d3OosEaqLv6SyZ9k
 NJPQctHEH8gP81ixMhXkqRnWQGh1oTRG/fU8RTCZA2IsRrf3SDuodYXd97BmZK3b
 LYn21sft0u288D6lhpPN8lb3YyYWW0USZIA+UOaZn5YlNIeEEk/9buL2fJRCvUsJ
 Q43FWeuhwui5/vSX+5if1o9lEzunbuFWG2cCLyFdBz7KFkbZtzE=
 =FIGS
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEo6/YBQwIrVS28WGKmmx57+YAGNkFAmEVipsACgkQmmx57+YA
 GNnZ/Q//ec7yJts7yu4afsYtlxw4zokNjdd6uCsJLhykEr79Y7pe7D0+nmQQKGLb
 OsOk/zIN2VuoKWTXXL3EDtk0T+XtFD7eiiHQh2TyQ/y6J7LMUXxrz5GUBute1XTU
 kKC6ci5WwcKmdc7HQjmLDoelCcnMIQCyIpMRS2cK5NwJDJiVB9TLZbUTKxnC3+9C
 gTqYaEfiRS9T0K/H3p27DhNOeXDLSVg5TGHb9/F1swefXmmP/8WzKCOHBobxJN/S
 HXdpxDY/5hBPTCrGU+bUwSBxVD9pYjjGBeFbzVogWj13HzdvO3sFFV3BpZ3DOnZb
 IgYhdVe5oJ1p01vvPxZ5UDa/sqnGNrBD+AV+9PA9TBh9W+GRio8bxJ1ynb7zdb+C
 UnoZN4NiYIIC2+lTn8Sr2ZCXvkm9CMsA/2QXRnr+aqgvfSXl33kEaMsBwUMqTQqI
 Zg4k/tqzhTCzu2QCEv0UwhDYM4k7Znyl+Xi5xgTBJ2gxgIaAVWabBbxp02yTGZjY
 gu5SU335bTcBFLzD+kmGGNLbwRcpWev5gw0NywuMXyaLCb3GFmV4Xdjgj29EE1nq
 V09mymLTP/2Zp0ZKdEOnS5dF9UldwKES/YjwqMIJLRUoAbBCIfpYIb1r1vScYeWd
 gSfU7+iut2gelXxYy6IOFMR9JKd4grUKOj/ii2XR2AR2BLfqk4Y=
 =UeS0
 -----END PGP SIGNATURE-----

Merge tag 'amlogic-arm-dt-for-v5.15' of git://git.kernel.org/pub/scm/linux/kernel/git/amlogic/linux into arm/dt

Amlogic ARM DT changes for v5.15:
- meson8: use a default higher default GPU clock to solve probe failure
- meson: add AIU audio controller and codec for ec100
- meson8b: fix pwm regulator supply property name

* tag 'amlogic-arm-dt-for-v5.15' of git://git.kernel.org/pub/scm/linux/kernel/git/amlogic/linux:
  ARM: dts: meson8b: ec100: Fix the pwm regulator supply properties
  ARM: dts: meson8b: mxq: Fix the pwm regulator supply properties
  ARM: dts: meson8b: odroidc1: Fix the pwm regulator supply properties
  ARM: dts: meson8b: ec100: wire up the RT5640 audio codec
  ARM: dts: meson: Add the AIU audio controller
  ARM: dts: meson8: Use a higher default GPU clock frequency

Link: https://lore.kernel.org/r/87519792-c9e7-76a6-5db5-0e955286b564@baylibre.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2021-08-12 22:54:51 +02:00
Arnd Bergmann eaf05c1fdc Increase trip point on MT7623
-----BEGIN PGP SIGNATURE-----
 
 iQJLBAABCAA1FiEEUdvKHhzqrUYPB/u8L21+TfbCqH4FAmERFOcXHG1hdHRoaWFz
 LmJnZ0BnbWFpbC5jb20ACgkQL21+TfbCqH5wbBAAjBc/xpY1m4eysR2ijTXP8erF
 bTyeeSK+GQ8y3dgAq6Fw94RCfpMJq3vtqH+UQr1pWTcSeDsB0bDhtsDdUl2c3Dj2
 00xtcjKNYQ9cvrv05KzGzrhBjeC9kapfrs2EGbEvnI6fsDl3tCfSQsklGS2I59XL
 9PCOHLoPy1J85w8w/126oBv2gTHnTOtfXIkKDRUhoBwlNTdDgn0x+f1D9CQvRP+/
 KXGbS0oRtgmmaNkqMiW5iRCT9IjXszHSeqghslQJvuuu5bMKdRlpsQSXUkuXLbcG
 SY0HXfRaEpgDmVk5rLNMF36PJuDVyWdpuQgdje6jGD0xZ4by1sAA4XxMoZKqpo4S
 9tBwEI9LRNq/ruaQYePiX9CUGD0Nc+GU/NSRTBHQPgO25KLGGJQE1+kRuzrxWLCm
 2oBEvDpe5RM9EkcupkQbywOkhxkOXAz7p6ARuqm0F0wFjULJlePDOYEe6rZSGOOA
 I3ANPlBhxsuMO2P0fKUIUO13MxprP4Ajw/aynbD9aBA2BHIU2JcKvRvY/dhjXL8w
 Vp30UxrjueKLPBbR2iRnsfHGeaoRgeZ7c3S7JVDw1bO+IOvb13he3TvkcKP3haAm
 NwOJiXJ09e22LvYdRLWMWbCO1Ogk7t5ZmhW5LlLZPtarB1vR1SgYLIy6/lOtCtKO
 K/w7irLiB3dFi17cVZ4=
 =QwnP
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEo6/YBQwIrVS28WGKmmx57+YAGNkFAmEVicwACgkQmmx57+YA
 GNmsJhAAthMyiCIO7jG+AUMA3swAZyhzyuNjaGc1bo/GhZrOb9jP6zYPULwq1bGm
 vfJJIkePbF1yawlJ3evSlJWFQ3AAoCQ4A3+DPdSSWwj8Bb0uFuwOgLC22ib6y8bA
 B34QrHX41bMmWy5hTUhTF2UZoY36vrWgNiBmkieaxn9K1Ut59cPhvmgUNPE9FKpb
 DUJQ43l54dGQhcHBIW4/BBL8HXgZrj0AuCs4Bg96WedlrTWaKp+5AWJ7ifZcrZ/3
 5p9QrTGH5JQjt5AqShRSZITuktW9Qcv7hA+Qx3oTNMoB8Bji5+q/zLlqzKrtN5o2
 g1uYvvIRujVYFpmY5Z+KcR5AsWWpHtvhCSR21+0fRBvFpHarVIjqWtFcUfRJLw+K
 aBzL9AGO+U9iokDO33kTTdiiP1yh1ANQfDH32Mu/bURzbhAN0geOGefrSYeE6sUS
 Os1PRTdc8Z5o3HNoDjW1rBW2TSM4fMVYYziNKFFWlYbHyaRN18sTU3U8dEYKS1Z5
 8pRA0vBD+pOKAJ1Wq1PtYk64PSpNBdlC7ME5cdH/8ewHxdTTJTh8qQGCLr/k3ktO
 n1Qwvqc/JSuS+M3ECZ0NT5ZkvH80bGNjX7EhCE9SUGyS7pMpWRyT8GZUJRfX50H/
 osr2S0Qi+Q/RLhTxhMZIT/4I9viWNC59km6Ktst/uV7MQ4Sb4fk=
 =PZIV
 -----END PGP SIGNATURE-----

Merge tag 'v5.14-next-dts32' of git://git.kernel.org/pub/scm/linux/kernel/git/matthias.bgg/linux into arm/dt

Increase trip point on MT7623

* tag 'v5.14-next-dts32' of git://git.kernel.org/pub/scm/linux/kernel/git/matthias.bgg/linux:
  arm: dts: mt7623: increase passive cooling trip

Link: https://lore.kernel.org/r/289ded1c-dae7-54ef-6b56-9433bfcaf9de@gmail.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2021-08-12 22:51:23 +02:00
Arnd Bergmann 34827ffe35 IXP4xx DTS file updates for the v5.15 kernel cycle:
- Fix up some (non-urgent) IRQ flags for the PCI buses.
 
 - Add the second UART to the generic ixp4xx.dtsi
 
 - Make use of the new expansion bus driver in all device
   trees with e.g. flash memory on the expansion bus.
 
 - Adds the CF card slot to the Gateworks GW2358.
 
 - Add new device trees for:
   - Iomega NAS 100D
   - D-Link DSM-G600
   - Netgear WG302v2
   - Arcom Vulcan
   - Gateworks Avila GW2348
   - Intel IXPD425 and siblings
   - Coyote and IXDPG425
   - Linksys WRV54G
 -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEElDRnuGcz/wPCXQWMQRCzN7AZXXMFAmEQcFAACgkQQRCzN7AZ
 XXPNMxAAy16o6ou1gt6KCMGckTD3kyASAFZ3tk+dxgdZbBAU/fR6YR/ck1svUmuC
 R4JUJpq5ToR7uWVCca1dHv5pN7e0hd06sM/+nyk5xJG2w1Ow2CuvAGBXpwz0sBf7
 hvw2z23CUSTIesK3df9HZtuoagwhL3nsmfES3km0R+u2dQeS7rZDtHX6x++7c41q
 9MPMqokhaEM0MV+7e2P7dQ6tTmLBLB9AijxEBdS2x3hsSyD0wom6J8ZlxZyDyQrG
 OlhDm/FSPjJKtvwx78c8fSBLkQeql02CuG21L/L1Nicm5jG1sWjZ9fJUu8yrh9zb
 RqfjFAhAOGdLDBVk/SEoMa9+6BdMLgy+MbenhX5FWdlLW9OVEAdzABtlEK2XiSRs
 LDyWvEAi1Jii5kHT4HldHw+Luk3dD1hQiuPWWDK7xGnxahwTtwoJACHrYIsFjH1t
 hz5ZB/Q74qGmDLgcBgGZrpQ9/RXEhh1scxk7OGO7/yzZlfHby+wWp0aGHe28pB7N
 KPyXbP85EbucVhZ5V1Vu1FHQbZ9qp+u381Lj7OtQFIyPRAuGGy+55/3sQqfoq7lE
 0+JVZIhTZUrZIpjtymfk7g2nkSbZU5Se4vswlx2awVuPf6Uz766M07swaR+YP9YU
 Byp5QTAmebrvoIHHo2t7sT8bi5k94/2Lko8d5aKENSdQohs7yaM=
 =ig2J
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEo6/YBQwIrVS28WGKmmx57+YAGNkFAmEViYoACgkQmmx57+YA
 GNnvDw/+KU4vgACfZqdeM1F4GTdyjN0kZ/sKNkRyGIQpveQn/+rA7Yv0xLhofPiM
 NRC8pekw8HcEGKQ7TpP0u7wveBOWZbpKFb0fbQytHIQlHQsVQI8aqSkhoFzZbSoT
 vJJdq0kN+U0/TxIHT3qnQ/FeSNUjtKLcWYbKpIgVXbpqgCrcxeODfCJOwD5f914x
 XY+MMpc6byoFygLfn78tNfJg6QfmXIsnQ70sOqdgua8hSRJUnzWLL8ej3eayRMyX
 JlfpPiyxbSaHtZvI0JT0X+mZgy4OhpEeELxEK3DLEsYxbkR/2QAf+SSOY4TOlPux
 ikyIzSRG1naeV0xfGJ3flIcjq04KxIneyO1V2CYSxOCocw88fPAAOrWOdq1dzgLg
 qFwoWWaBNp8LthPLvkFl4Gy7ScjpceDKE/yk2xRv8p2E64s3JLs2wicFZHAmZlWM
 R9ECiFfQkMQg9Y1inmIyeFS9GTxF4HA2J/jnK52b6yAAljG/FnKs31X9WfOrYsqm
 6eIcEdelTSrOoiqa0jPCte2uOzvsdMdtUTGJNjUoTuOZTb4scVihNe6WjsPg8Ftw
 S3Mv0NlebijZzFDa/fk/u53/6kayh83XftyhB0OlirDKjKnRsgD+1op5jr0FTlHo
 rX2j4ihbRfvTWk3lfV6B13xxqFAMewfCF1Zo7fmlFf2uLWoUDqY=
 =8Yz2
 -----END PGP SIGNATURE-----

Merge tag 'ixp4xx-dts-arm-soc-v5.15-1' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-nomadik into arm/dt

IXP4xx DTS file updates for the v5.15 kernel cycle:

- Fix up some (non-urgent) IRQ flags for the PCI buses.

- Add the second UART to the generic ixp4xx.dtsi

- Make use of the new expansion bus driver in all device
  trees with e.g. flash memory on the expansion bus.

- Adds the CF card slot to the Gateworks GW2358.

- Add new device trees for:
  - Iomega NAS 100D
  - D-Link DSM-G600
  - Netgear WG302v2
  - Arcom Vulcan
  - Gateworks Avila GW2348
  - Intel IXPD425 and siblings
  - Coyote and IXDPG425
  - Linksys WRV54G

* tag 'ixp4xx-dts-arm-soc-v5.15-1' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-nomadik:
  ARM: dts: ixp4xx: Add a devicetree for Freecom FSG-3
  ARM: dts: ixp4xx: Add devicetree for Linksys WRV54G
  ARM: dts: ixp4xx: Add device trees for Coyote and IXDPG425
  ARM: dts: ixp4xx: Add Intel IXDP425 etc reference designs
  ARM: dts: ixp4xx: Add CF to GW2358
  ARM: dts: ixp4xx: Add Gateworks Avila GW2348 device tree
  ARM: dts: ixp4xx: Add Arcom Vulcan device tree
  ARM: dts: ixp4xx: Add devicetree for Netgear WG302v2
  ARM: dts: ixp4xx: Use the expansion bus
  ARM: dts: ixp4xx: Add second UART
  ARM: dts: ixp4xx: Add devicetree for D-Link DSM-G600 rev A
  ARM: dts: ixp4xx: Move EPBX100 flash to external bus node
  ARM: dts: ixp4xx: Add devicetree for Iomega NAS 100D
  ARM: dts: ixp4xx: Fix up bad interrupt flags

Link: https://lore.kernel.org/r/CACRpkdY19AvWT--OcmEKbwFue_EcThVs7uZeHkzORten7xj-RA@mail.gmail.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2021-08-12 22:50:18 +02:00
Arnd Bergmann 57798ff216 STM32 DT for v5.15, round 1
Highlights:
 ----------
 
 -MPU:
  - ST boards:
   - Add coporcessor detach mailbox on ED and DKx boards
   - Fix dtbs_check SAI warnings
 
  - DH boards:
   -Fix some dtbs_check warnings: usb, backlight, hdmi
 -----BEGIN PGP SIGNATURE-----
 
 iQJRBAABCgA7FiEEctl9+nxzUSUqdELdf5rJavIecIUFAmENE9wdHGFsZXhhbmRy
 ZS50b3JndWVAZm9zcy5zdC5jb20ACgkQf5rJavIecIVMMBAAmmosVC7cvZNmE/Vw
 rK4xrjURFowNDZOSjVjtx9P/CSlM1BD8MpN0OtZiWO83iy/RmrQkhlWBEJFZdRoe
 Rr7dFe1+dWxaRKyMNed3oalMDcKQeJODOqrJmvPOZVVaKiuZlkGJhZK7r0BQPbDT
 Tw6ZBQMqEflQk7JMJ6KMJBWxBDxu/NuMjhziYjGnaKmcqHrTJQw5Ojw3mWinJi6o
 nrwqh6vPtFdzd1jnnRkIAePVMWn1HIfLyACEx0u9uLIYeJHoJLPtFifVg5Px+KUk
 V+yuYPqlAxrnsm5hhyhqCLwWhH7C710ojMQHyzWW6qXId8V3lhBAZ3MnYDe4yerO
 i70ivN7TRYwvoZY5nKMDAx1kSNzELhCEYJHKSnDriuAo5o4nNB89fdf1phl6AUFo
 gIFCD0zLDcbD+eQgzWqJ82YszmMtcwKcUzLZv9GFW7LastOlV15UfbO4GXPnlGhj
 /yW4Zyi8GscX5+7VsbkCHBDAo7umuodRB5kU8nqyls5B9LReo2vyyvtNIooEnje5
 F7rowSMUY3PlVu1DvTpXPghqMHLTEEDIMqC68UyH1L88mXWrjhpz9OrLOMwz2+rZ
 Q2Ps8ofZ+xgLVo+WaqPaNSYOc9WfMovdsHrPcqqa7zmBCvv4Yh+drP7XgiZqAVAJ
 mtEFr+M10C+UxY0NWWVPeJ2cjRE=
 =lf0F
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEo6/YBQwIrVS28WGKmmx57+YAGNkFAmEViVIACgkQmmx57+YA
 GNnXFRAAvAUVpOgWbYCPl7UVsTWIdGwbwec+IEgu8UnG01JM9LlY+hUB84f/lz4E
 2OwhVI31kljYRQT0GTiYiSrDWou2en68d5DEKoV7iDi9Wu09QHrUGHow8TtCCB0h
 d3MEEgFEk9cq/CF6JO+PZWEtZGBXYJvPo0YV4MfCtJcSZJ/vdEHCIwGrvInZGqXa
 lCh4G9ApAGf5JPVmh/QzcfzMs5Uk3GDAdXGaWksRVR9utvE9+UxeUGkEdSAL5BlJ
 hxfaoGThJBHp77wAXiNqsYIFKBVYObJHdFz+zVKedMl1owZFOkpovfsum4P1cwne
 QyNR4kE7QXN7vlVAI01tb3zuhHugmW014GjZzfDKa8rNxaMyonAwzYRIt4MME6IP
 nIkKg8cS3LbRD+KRmsTIjWLo8VhLIVkXPLqjrfFDTnbkLYz9Mzntbq/ZVBtYxWq3
 CuKGFbFUReRe9FlH+i81sZicBweRpCMpPpcmDRqBlS+GCuWNCjpZC8Ru1XtTj+0A
 91tdhXK8g0DMFM8RS9LA0849oMcBcH84WSzYmnstaNJZDW+AMkZvPtybxdJOI/MQ
 vOY7OrcQU9EDCqf8txYB5bgoDISNc7JgQ6+gZ1+McrhxMABk1RKIbHoCC8hC5EVR
 GIwGaekRpZB3RdstfA4tGRAsWGL1wKylogX8YYwQZOY10lMWtcA=
 =DIxH
 -----END PGP SIGNATURE-----

Merge tag 'stm32-dt-for-v5.15-1' of git://git.kernel.org/pub/scm/linux/kernel/git/atorgue/stm32 into arm/dt

STM32 DT for v5.15, round 1

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

-MPU:
 - ST boards:
  - Add coporcessor detach mailbox on ED and DKx boards
  - Fix dtbs_check SAI warnings

 - DH boards:
  -Fix some dtbs_check warnings: usb, backlight, hdmi

* tag 'stm32-dt-for-v5.15-1' of git://git.kernel.org/pub/scm/linux/kernel/git/atorgue/stm32:
  ARM: dts: stm32: Update AV96 adv7513 node per dtbs_check
  ARM: dts: stm32: Set {bitclock,frame}-master phandles on ST DKx
  ARM: dts: stm32: Add coprocessor detach mbox on stm32mp15x-dkx boards
  ARM: dts: stm32: Add coprocessor detach mbox on stm32mp157c-ed1 board
  ARM: dts: stm32: Add usbphyc_port1 supply on DHCOM SoM
  ARM: dts: stm32: Add backlight and panel supply on DHCOM SoM
  ARM: dts: stm32: Set {bitclock,frame}-master phandles on DHCOM SoM
  ARM: dts: stm32: Fix touchscreen IRQ line assignment on DHCOM
  ARM: dts: stm32: Disable LAN8710 EDPD on DHCOM
  ARM: dts: stm32: Prefer HW RTC on DHCOM SoM

Link: https://lore.kernel.org/r/e4f0bea3-4065-38d5-f1b2-007e4094c4a8@foss.st.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2021-08-12 22:49:21 +02:00
Arnd Bergmann f3e22d32e4 Highlights:
-----------
   - Introduce 4KOpen STiH418-b2264 board
   - Remove clk_ignore_unused from STi boards DT
   - Remove clock-output-names and clk_critical properties
   - Update some clock compatible
 -----BEGIN PGP SIGNATURE-----
 
 iQJQBAABCgA6FiEEXyrViUccKBz9c35Jysd4L3sz/6YFAmEM5kYcHHBhdHJpY2Uu
 Y2hvdGFyZEBmb3NzLnN0LmNvbQAKCRDKx3gvezP/pt+4EACLu2Vmvhm1BLWOd9gn
 wYrN5q8XORdRMfEkYyKdy9NaDGB1luauyTbPZv750PpzWFoY9tPDKYAvlSQikdc9
 0QSbt0XhkUyXQ1JflhfcSOPsiX8/5B4W3gXIxQsMVNwhyjKUjsBa6A9JrUhEp6Yo
 CL/l2vHg1Z7wk8q7zNisoSlY9w9xgxJkuh9JUPlMTb8tkAlkj6cWUio96VqEWcSY
 oqVQk4lIBUzsLmG4iMkbR9hsIa2TWtx4T5Z+suM041/mmfXtt4Z/G1mEybOA4kkp
 pgrQe5XadqBoq813CMnAW0vFREL6unO4kPLtJc/vyjc42dr+d8SytoPAPLljGaHB
 9uAMMKsxfwnuSrGIpEnzp/hzQB5NuegTzNElLTAA1SCEp3vkvTg1iNG6h9O1Dicl
 GSnM93jmdXRqjuWW+ImLQ7fO/pgquqqkEMIs0FeUX9omJQIaQuNfGX7JkKTsCjib
 Hp4RGxfcHLWP3/mx0ehjPgjb/z9UV826m0fxM/hFjtIqVZftE8yLx4V2IeXYfH9K
 fqisghfBy8Jnyu+4NW4x0RlwVgUUMf58EgCxxZ8ZmY7aUeZ5TNAkYJh+l6TXo44o
 Jke1olJ63ewYzYcJXinTGK3UPD0L8RysKjgNuKyTem8xwdAbClwdRPJW8pluaXjl
 swtNHBKS7GpU7JX5AV0uT9d6wQ==
 =m43r
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEo6/YBQwIrVS28WGKmmx57+YAGNkFAmEViREACgkQmmx57+YA
 GNkk9w/+J+Bw1eVBj5PX2D5okNyirlPCNz3YCeGoxEOFi3cnbAEc3zMYgkLMDTtd
 5YIoLWMXomOhoP7oPY6tPXZMejQdw4Z+E/l0h4raEV+ZjzKF123KNfTnhl40YToV
 ZCbMRGS3kPMWCMWCPhwJcq11CBO3MM6S/cMXbhPcnEf15iSEvI3lsfY+KbC5+sYH
 CCJC0Np34flI62DHhbwPHNEsfKcm8w2jxGIrdoElWjgTyeYO8gol0tKeqlqvJGVx
 vMVfaGRdGNHdFRdBWxGDpzFA/f9eYQNldEsrKXGgOJJaiD5DOXkg1i42TaKjxyEe
 D8OJk5Q3eM3l7hiZOAMnpqOA8CNvQknuvOmfSCt/eT8Outc5cHZYsjAvZ0MOS6iN
 CD+uLFvhRHC6pXlyNltMUFjZRXUah9HufU1c1etr1iUV2TbjERKiR8Gz+vlc8zJ6
 MbepqEulj9N9e2zgdY/bEdzel1WgWwHYbkBs7MD0auhmsx7yPXsRcduAmlB1d0da
 NBaNu0MDHBhEzm6bhwCM9wrCamXqpsnYHGVNZuQjVlX34qQ/ZPROjTF5iox5l4nc
 FbW8BoWGubY6A8j23lCL5O5JPAKOwVQQHrxLk7gRVRUa3Y68Bx5UkqsSl0OAykZ2
 NsjkvwZiNySkC69HWPr3G954cbAbAmruahNdTH/RKpcPe9jAPec=
 =8R1J
 -----END PGP SIGNATURE-----

Merge tag 'sti-dt-for-v5.15-round1' of git://git.kernel.org/pub/scm/linux/kernel/git/pchotard/sti into arm/dt

Highlights:
-----------
  - Introduce 4KOpen STiH418-b2264 board
  - Remove clk_ignore_unused from STi boards DT
  - Remove clock-output-names and clk_critical properties
  - Update some clock compatible

* tag 'sti-dt-for-v5.15-round1' of git://git.kernel.org/pub/scm/linux/kernel/git/pchotard/sti:
  ARM: dts: sti: remove clk_ignore_unused from bootargs for stih410-b2260
  ARM: dts: sti: remove clk_ignore_unused from bootargs for stih418-b2199
  ARM: dts: sti: remove clk_ignore_unused from bootargs for stih410-b2120
  ARM: dts: sti: remove clk_ignore_unused from bootargs for stih407-b2120
  ARM: dts: sti: Introduce 4KOpen (stih418-b2264) board
  ARM: dts: sti: add the thermal sensor node within stih418
  ARM: dts: sti: disable rng11 on the stih418 platform
  ARM: dts: sti: add the spinor controller node within stih407-family
  ARM: dts: sti: update clkgen-fsyn entries in stih418-clock
  ARM: dts: sti: update clkgen-fsyn entries in stih410-clock
  ARM: dts: sti: update clkgen-fsyn entries in stih407-clock
  ARM: dts: sti: update clkgen-pll entries in stih418-clock
  ARM: dts: sti: update clkgen-pll entries in stih410-clock
  ARM: dts: sti: update clkgen-pll entries in stih407-clock
  ARM: dts: sti: update flexgen compatible within stih410-clock
  ARM: dts: sti: update flexgen compatible within stih407-clock
  ARM: dts: sti: update flexgen compatible within stih418-clock

Link: https://lore.kernel.org/r/1d95209f-9cb4-47a3-2696-7a93df7cdc05@foss.st.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2021-08-12 22:48:17 +02:00
Arnd Bergmann 3df512524f Devicetree changes for omaps for v5.15
Devicetree changes for omaps to configure more devices, and
 add support for new SoC variants and devices:
 
 - Add add gpio-line-names for am335x-boneblue
 
 - Add support for dra762 abz package
 
 - Two patches for McASP support on omap4
 
 - Three patches to add support for am335x-sancloud-bbe-lite
 
 - A series of changes to configure PRUSS for am3/4/5
 -----BEGIN PGP SIGNATURE-----
 
 iQJFBAABCAAvFiEEkgNvrZJU/QSQYIcQG9Q+yVyrpXMFAmELpF8RHHRvbnlAYXRv
 bWlkZS5jb20ACgkQG9Q+yVyrpXNSmg/+OSmuwyu5yQn0nibALyLH07uZPwpXVlIH
 VRL423lwLYpamfZMjegNygwHDIx1gk/RAqWI/UEjhPzKsqLvaJpg+BTW2rNBdEOO
 ZVGX0S7EmzxLQPQTbUAzpHwP5BK1/WNwi5AN+eMVTuFgSSQ24Rq2chrlhPKD/4w5
 bDtZ967IMFYEPs0mAiInYPme2M2oFb16EYLA4BK6qKnWE644D3juqXGmhRZS8FFv
 rKg8rH0bmnRSRDO5vl+/BO+27Df8g+bzftRuUp9zF5QYzp3jkLi9NHNLz5XvLBwQ
 eT7wRCsXOaeEdVMidvqVRsHkflxZmfz2pP8M9PgOKjym/EdUD8NMv6R5Ina4sKEK
 761lZVr1BAq2kKtnBgRVMOyKkvp+1HLVWf5H+Ri/0Rjpit2RByLJYfDIImOtOpuY
 46L0hYSVx9nGPG1xKbIlT9238opfgs6OELTcn7diisJkDYrjToQairEKDA9ypQyq
 xpW74iMd/PedHlX30mYV0ie3wTqoMdZ3UzAcQrxgd03GXPO5QBjet6diyoXHDkFG
 608mIflZHzzF14IY93JGF/rex2NhxnmcyKA3TjKKWq9daK3T0uNY2aS6fA72Ay4Q
 EdU49ymbN43m4WxV6hgXZWnzfqmvk0822ANs+uUaJfDlM3g0ajmFf0cqSMkxFLO7
 upb8FcNMhEc=
 =tnQt
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEo6/YBQwIrVS28WGKmmx57+YAGNkFAmEViMYACgkQmmx57+YA
 GNm6ng/+IWb2/djgTs3GXgnHaNVZ4DI2GIDqSjxjkWrWnQ42qc8zwhz18TmoDU6Y
 K6fvftSJ/QjnBibI+riSRaQQHkiGKR0Ipl15/a+cwjSO7rVtSI+mDsOPorQaKQ49
 /EILoRzSWeb0G2MV8L+Zo6OHKs7l/6WhRqvNrbEeN6zWb7JTG3R05PuyZLC81eQj
 tqHKvAfWL4dgDfqekeEaaj3duH4E36miR+z47s5Gf96qlKryUS8HGSQgIiuWm172
 ZJj3nrkI8VUE4mR4toO37T0ytLA0Ac/RxmMaNYe/8tgV6pREZD6gBAjHqPEZMxL0
 Z8ayKAPrfMAmn1HyBi8QTGbXsl5Cktt05RbPkvug1q8RAPfyyiXK4i1iY1BuriYi
 +zSrlaaVMboowh3RgAsatNJo3H5USIR0JTbeCRCsIrHW7hxlRQ4wF/IDMVOlUHQa
 TFFsBNCxi5uBzmWuTV4vFCUoQGZYxyp494gzH3CsLsn2SOe7QxS+eezDmwXRCRoC
 cMiz5RGeuW3pfwrh6lyDSmOsX/BpZI3CYBNExRd+XbwGloqURoKJsJdDOwn+202s
 lDEWv/reDvEAMzFQJz9DimnHJPFobkZsY+FVCYCQH7PblitRB2332n9Ses7bzoQn
 yiU20IzmjccoAF3w4gHiStlIhejk+ovjjnXX0+qsTiZ3WOxe1Hc=
 =7+WI
 -----END PGP SIGNATURE-----

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

Devicetree changes for omaps for v5.15

Devicetree changes for omaps to configure more devices, and
add support for new SoC variants and devices:

- Add add gpio-line-names for am335x-boneblue

- Add support for dra762 abz package

- Two patches for McASP support on omap4

- Three patches to add support for am335x-sancloud-bbe-lite

- A series of changes to configure PRUSS for am3/4/5

* tag 'omap-for-v5.15/dt-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap:
  ARM: dts: am57xx: Add PRUSS MDIO controller nodes
  ARM: dts: am57xx: Add PRU-ICSS nodes
  ARM: dts: am4372: Add PRUSS MDIO controller node
  ARM: dts: am4372: Add the PRU-ICSS0 DT node
  ARM: dts: am4372: Add the PRU-ICSS1 DT node
  ARM: dts: am335x-icev2: Enable PRU-ICSS module
  ARM: dts: am335x-evmsk: Enable PRU-ICSS module
  ARM: dts: am335x-evm: Enable PRU-ICSS module
  ARM: dts: am335x-bone-common: Enable PRU-ICSS node
  ARM: dts: am33xx-l4: Add PRUSS MDIO controller node
  ARM: dts: am33xx-l4: Add PRUSS node
  ARM: dts: am335x-sancloud-bbe-lite: New devicetree
  ARM: dts: am335x-sancloud-bbe: Extract common code
  ARM: dts: am335x-boneblack: Extract HDMI config
  ARM: dts: omap4-l4-abe: Add McASP configuration
  ARM: dts: omap4-l4-abe: Correct sidle modes for McASP
  ARM: dts: Add support for dra762 abz package
  ARM: dts: am335x-boneblue: add gpio-line-names

Link: https://lore.kernel.org/r/pull-1628153040-834155@atomide.com-3
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2021-08-12 22:47:02 +02:00
Arnd Bergmann 0dc76ecbbf Memory controller drivers for v5.15
Few minor fixes: maintainer pattern, unused-function warning in
 Tegra186 and suspend/resume in OMAP GPMC.
 -----BEGIN PGP SIGNATURE-----
 
 iQJEBAABCgAuFiEE3dJiKD0RGyM7briowTdm5oaLg9cFAmERSK8QHGtyemtAa2Vy
 bmVsLm9yZwAKCRDBN2bmhouD14iXD/0ZezLNssI+oRQL0kQPxS8npV6Q5Ka1kYmX
 YvuHolFO730K8jVhiLmfSoS5VBGVgAdpUonHFLlsmuL+CG6sOkdbxK+bAsS3IhVm
 /X28JRIECJNUs4z+b0fdMDjIHMjLVBmdfvqOrR/pEW52SEPU8CkrwG+tGzepg+If
 8AMp6DuhEuJhEOqYG33URM/u9w+sI4KwUxPMs13PnbTmHKkzcAVAwYLifxPfdDCd
 YFaZWs8rR2cVSZGwAWeUwzbOMhjj+oXmpIbpoGvYQd5Yy0tZDp/cruDhtY5ahYxT
 2bIK07BKOQa/D35i7ndU97V9R3Kcra7/Pjcl5l29kxu9lSQeYDapTQrcuS022Z52
 f3os3VGdoac3FmEm057wTa0T3NVy4FSvXcaf/STiE9SMnbHqXUztY/CT6d7xIlbj
 i6d0QakQEjzWZ7LHheqgoEV8qd0NxdgUn1jcdM4A+iEwl5C3gkGB2rJUxaReZ/cF
 yNNM5pw5ozBjfHEsjJJPCAcNjTKbOLf51o06Qr1WLJjlDGkH0YoPVMn/hHDpicVs
 dwyPIPvmP3UxzgTjkGWFeNnriq1YqFqdn2oXux6ggPXFvMNtvhxuwrOnF+LfZDmj
 MSH3S69LuCq3phJLmLJIAQHf2qsod1ObyDvagyAyBK19lcshFEeDt8sadLvFEAMo
 L9mpZuVWPQ==
 =/XIr
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEo6/YBQwIrVS28WGKmmx57+YAGNkFAmEVhmgACgkQmmx57+YA
 GNlE4hAAgLNVHCkk4C3jivy+/m2acNfV1WJ1oXUSNhMQa1lhfDt7iaE2g0KF3tCG
 YkBDVFKLWbapA51WZzQVQtrLI4nBqvDe0bchtE5ZFFoZvFPa9H2YaX8umqG9C8oK
 V81NZfQTAPJhFXgOBQ84Lki7fjD7I6VPhBm9/6UbbiNmzQ8LJQioRGtaEXvj0Jw2
 eDrBaGRHoY6U5yPtaT/7N2dq6CKvxEMz+ArppSlYnjtPGn2WMXSB1DPQibZHIDZ7
 YpJDhlagFJ7vxx1SV3Ae5H1jL7qZvz+RS+Z+h8fVOI1EFPcI0oOn6VoU8o3/uzBO
 /NBbrMKVSOoQfGxkqTmZQglluGM4siGL9DHKqzB3J7pXaEhIkgZMjDDyzXCehJZa
 7D/m2akP3EPwLU0o5X+QnSW0tZCaRdkZ+cfqI/OlDLUt5RDDqjVKukfBetFEj+1n
 uGL3Gbt/iwFUfLI0SYrWtHIJ7AH3O9Rkg9DMBCmnQnFNh2xnxyWXYuh7QdHWqXC9
 TDnHqnBpwoZhYDYLAYhmy2eeq3mS6h+3wxSPLsjrHHFE2PvnIhVTnYmlHrpefIRr
 4wEEok/qk/4vYp7O0OCZmUnCBb2pl+yI7WD6uh3EgrKYgaENvTSaMBwe0EOFdBSE
 qjgLgp8zdFr/ZQqTd+rmcSJh9hNNaouUvAq5wQZAdYpjVnYY3Fw=
 =FK0Y
 -----END PGP SIGNATURE-----

Merge tag 'memory-controller-drv-5.15' of git://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux-mem-ctrl into arm/drivers

Memory controller drivers for v5.15

Few minor fixes: maintainer pattern, unused-function warning in
Tegra186 and suspend/resume in OMAP GPMC.

* tag 'memory-controller-drv-5.15' of git://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux-mem-ctrl:
  memory: omap-gpmc: Drop custom PM calls with cpu_pm notifier
  memory: omap-gpmc: Clear GPMC_CS_CONFIG7 register on restore if unused
  MAINTAINERS: update arm,pl353-smc.yaml reference
  memory: tegra: fix unused-function warning

Link: https://lore.kernel.org/r/20210809152639.110576-1-krzysztof.kozlowski@canonical.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2021-08-12 22:36:56 +02:00
Arnd Bergmann a41461b6c4 i.MX eCSPI errata handling for 5.15:
It includes all required changes for handling i.MX6/7 eCSPI errata
 ERR009165, which causes FIFO transfer to be sent twice in DMA mode.
 Both SPI and DMA maintainers agree to merge it through arm-soc tree.
 -----BEGIN PGP SIGNATURE-----
 
 iQFIBAABCgAyFiEEFmJXigPl4LoGSz08UFdYWoewfM4FAmEQ1REUHHNoYXduZ3Vv
 QGtlcm5lbC5vcmcACgkQUFdYWoewfM7w5ggAhpcDrpO7eimqPmkr/8FxI6WLGh/t
 OjsAM+WVlAlHMPRC53r94Ot8q1XbenkA8Cr3hA88cJS+Hx2WunyXL4szUO+Bh/A5
 o/ZpMPbitea7wQRVJkVX0AsBrvJ4hj+MQmlk31Kd2Jk7Ptpo3hoPb1J7Lg2Fou3K
 g6nAELMSxa8+/1xt2AkNJppnDp6eRcOsc3yqO+7SsTGlr2JzB6SN21yvOzLWd8+Y
 4v3J3a84G/w6vUlSa5mloIbGOOkyxEYitLBPrgjc5AvPjJEc0m/QlArmnuaGn1j+
 LXfPFNDIlG5EIvF5HzrXMl6z8E4pGx7hWgDG/4SDWvYcbhlggtLnmra4Tg==
 =bmM2
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEo6/YBQwIrVS28WGKmmx57+YAGNkFAmEVheUACgkQmmx57+YA
 GNlsqw/+I1blQeIvrsMDMuHmJuL+ecb+qNhH2nKLMj+78jJ7TVr6XOe5jWaCR2Pt
 MhtFV/xvLMZ+klJ3x6UBu+3jr7SDdJhkqRJb4znLr1vZCYZcEZEzyMLW+PExS/d8
 B2K3kDghTG1Ex5FkfzaZxogEeQbA2csxpRlk4BMuvfHlQACX5cjqUETo7bbCMFBw
 n+CCsme1cOG2AJNb/g/YjYfeaicSfcyxW8QMUxS9dsiBLS+qan15G/LlzUJa7ssi
 CmrCOsu2lEM6JGbcFEQ91vpCJu8ZUzx0rT5tFPzK+Os4no0yjTYaGZqWgLFSHzXL
 eeG8EUiNVJ17sgyf9Yx1f92an41TeJ4W8lCFOB/hBCN1mpDK4YxQFmYXf+Bd0QgP
 5GdkbjDAHei3mU31WsUPfdKt6qr/6jms8fqq/qsdMLZyvYX8CrSS+rX0sGHvIIbV
 Raicaj2/9mPEJ1BEAzWxeI0vy3k/iJmJyWa/VYZojCXZ0HC/Qe1SnxspewCCDvW5
 06oec9ZoADMH2nGLLbE9U1YlTKwzMqM7e2Y+oNPyeZiG1euSuNKlML4+7i2wHHOb
 3WinUwKtkRkYKCYaohCW0uFKwdpIc2U2cBZoprlqavCg8iWTDwr4FZT1SbLr2bGY
 WOOHbDPgxXzzwuaLMXoqV9KyMrzaj9+0A4ppcwIgYDDGFTH+JP0=
 =iV7U
 -----END PGP SIGNATURE-----

Merge tag 'imx-ecspi-5.15' of git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux into arm/drivers

i.MX eCSPI errata handling for 5.15:

It includes all required changes for handling i.MX6/7 eCSPI errata
ERR009165, which causes FIFO transfer to be sent twice in DMA mode.
Both SPI and DMA maintainers agree to merge it through arm-soc tree.

* tag 'imx-ecspi-5.15' of git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux:
  dmaengine: imx-sdma: add terminated list for freed descriptor in worker
  dmaengine: imx-sdma: add uart rom script
  dma: imx-sdma: add i.mx6ul compatible name
  dmaengine: imx-sdma: remove ERR009165 on i.mx6ul
  spi: imx: remove ERR009165 workaround on i.mx6ul
  spi: imx: fix ERR009165
  dmaengine: imx-sdma: add mcu_2_ecspi script
  dmaengine: dma: imx-sdma: add fw_loaded and is_ram_script
  dmaengine: imx-sdma: remove duplicated sdma_load_context
  Revert "dmaengine: imx-sdma: refine to load context only once"
  Revert "ARM: dts: imx6: Use correct SDMA script for SPI cores"
  Revert "ARM: dts: imx6q: Use correct SDMA script for SPI5 core"

Link: https://lore.kernel.org/r/20210809071838.GF30984@dragon
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2021-08-12 22:34:45 +02:00
Arnd Bergmann e694952772 Two missed SoC changes for omaps for v5.15
I managed to miss applying two out of three Kconfig changes earlier
 to drop unused entries, here are the missed changes.
 -----BEGIN PGP SIGNATURE-----
 
 iQJFBAABCAAvFiEEkgNvrZJU/QSQYIcQG9Q+yVyrpXMFAmEUwlURHHRvbnlAYXRv
 bWlkZS5jb20ACgkQG9Q+yVyrpXOT0Q//afoTNhbXlhBOHOS3OUZnASixU6oso+RW
 zF/fkplKuNHPlBURKtrKS6PNjecIkqZXgEIUsLzcM6MlBoEfmCZDIFJ++q/Xrt3U
 94CsdfCp3xeEC4BoJLJEz4KdvnXTIv+sLYeitN+SUGGlGHM+Zpx3z/Rp0RQSuN6u
 t/aiOlJaoNJ7C6n6xBf64zBpBK9uKoZvxmtPqwDzFsL5O8kz0JNqTzzwga6BqOKI
 BvpctC18yJQh4uHcGEsEI2W1AaKa2G0mfBJjBrQgeAEcWMPOETSdJzDeVbsVbnqB
 PMRXHZK79jQauGT6oLXroEmiSimLT1m1xHmtEIrh1ZhBMsdxgj3IpukbELps92i0
 Ah2SIKNM+Xk8mfWr7tymt5M6P/KPLaUgBoFz8yDzpzUPTbY1in3g+RQTleAIaRX1
 xN6In62nUk0Yd6jw64t57OE2DHjgrPbaHEewTXAokEAYYALUrUmxWq7WtdI4lTcf
 e5J7pKjCDgOta1SaPC1+oV+WkCbkaZFOTaKnGTZVqLVkaVM0QLI49PAVcCtcu8al
 SjqhCKp0hIVjmaHjDVy/ub7EFWFrzaNzchNVFaNzIf3z9eaRun1mQ+o1eIf7TLIi
 li9isk2bQ4nXfJAt380OQt2DduukFfMuAt5KkDtX7PgFSSwAJZUVgW2PujmTirfu
 dGQXvcBa0UA=
 =JGa6
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEo6/YBQwIrVS28WGKmmx57+YAGNkFAmEVhL8ACgkQmmx57+YA
 GNmEKQ/+PFkdgXfP4reCFWAK9R7GtKfukNdPtVq29TWVgiVyci1/ZMrIg3X1qsEr
 qzLRSs3CBr0q/MDRxkH5kD0weK6FQDsCKNf43CdHbVgPl2fmdbI8iNe4q0vIvxyb
 xZtjABMGKBYBxOX7g3kwXxDqS6ZMjJHfh6hkhBjgMZZ0htn+sJ+o3sqk9jqUpfNO
 riwSgQqHUhyijqd3VI44IJWVssC/DgEctyRYf8ks8rEqNN1r3c8p3e+Mg7ILXXrJ
 K9omz3dYS1gFy1brNp9VLnAoGoDkIXxmtr82LaPfn1sDE2x6cvbT3HPJ+VLw0yYE
 OHALQYrFtTntE+8N30gxZsnTk97jde/u6Bi+b3ME8GP9rwJJauG9T9BYhCla9A+k
 j9OwMoK3OQkCV0byEiO1kvGDpbUF1hRW5zeD3aGhbRrANS3AAEGLZ4K4ya0Cwwsx
 hX1rTsdT5CyABdaALPMfWDtZHk2XHwz1cDf6nssa4i2iCsJdQwocin8fQpZmWuxE
 3Bkm60uNKL5lJ25tnMvpF8qZmh3jBY4kPlhCxV633s6KXTjt4iPc2LwhB4neLvSf
 9ppHH4wJxxFSDxFdwfUOjpiCsrU2M8Kxh/kuy2CLLoacejXBaB3dBON2Cglgc4w1
 93JJyIz4oV5/dNZiS6hH3CrFNKTGeLPrew7C5KZExmtTbb3UMQ8=
 =YvnO
 -----END PGP SIGNATURE-----

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

Two missed SoC changes for omaps for v5.15

I managed to miss applying two out of three Kconfig changes earlier
to drop unused entries, here are the missed changes.

* tag 'omap-for-v5.15/soc-late-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap:
  arm: omap2: Drop the unused OMAP_PACKAGE_* KConfig entries
  arm: omap2: Drop obsolete MACH_OMAP3_PANDORA entry

Link: https://lore.kernel.org/r/pull-1628751694-126144@atomide.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2021-08-12 22:29:51 +02:00
Arnd Bergmann 4108b6cc7a SoC changes for omaps for v5.15
Update MAINTAINERS for SanCloud devices and drop unused old Kconfig
 -----BEGIN PGP SIGNATURE-----
 
 iQJFBAABCAAvFiEEkgNvrZJU/QSQYIcQG9Q+yVyrpXMFAmELpA8RHHRvbnlAYXRv
 bWlkZS5jb20ACgkQG9Q+yVyrpXNEVRAAuTdbT4pA+5an7QmP/Iw0fFejWjTU+4lZ
 LCT1L0E5xKtPZAWky12PAmNo1u3xKWk+/6/2ZVnrPYR2IMrWREwQZ7320ChBogNS
 l2z5T9Yqux7ClvtE1AYrGMTPulI13+lFYPeRa4xBMcYrpbZWNttIDJqwb7WohSnY
 qs/zn8ukr4+VXt4azXFUxWwFwKnc516Id4agLRKlV8LCJDaiwx0PISLLytsPsKO2
 NaVoQ0lyi4BgLl6Cm9dt8WpUFWl61VMZLB6PEWbRIhe90Mwq3AQEQCVG2loAXkbT
 KRp2qlnNJ/EX+IhyZCFYG2o8mplcNgmlj3zBtcpBJPvqA89nkT14NvdLAK3NPhOy
 FKdeV0ugGmH5+hOhI4fXrkg+o77AEtCpr6qJtAY8ZGrxz9EXFniKtbCYQt4LRkZk
 6stzMahHBoOCZiJcg7eJl4EdyWhhgTJYoRGqISz/6qVs4QuBdZpH0yy/8gQQ2XbZ
 qiSTaVqJ7tByjTnXbGKp7gLF42SEqVIklYTcnAOswZjz5VGjk6XxCO+QXNl5JjaH
 lF92+CMntm8YZA7e6TSeZI+wpPt169U4Gkn1gkJQz980Z+mhiV2mVmrp58OoOMe7
 EaPhPaSfrnbl8hz0hSn9KbmBRS2ZVKxDXL65FYmtr5/wBtuy899ahkleDO3337mk
 /USzDaTShx0=
 =QGk+
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEo6/YBQwIrVS28WGKmmx57+YAGNkFAmEVg7cACgkQmmx57+YA
 GNn1Uw/7Bxr4Z8RPe+fCf+/OvaSXSa/BbE6nLbYuTQgPJDucjel6irV6EqJgSm0a
 rsPzGy6INgOOup9tf8jvxTEz/+dQIT8kfC4bisSG1+hxne1tVWXV4+6SKGAbuqRo
 oUiqEkA0ATl7AhGTlpZQ1rGfyhqOXUBGd0+eZyJil9QAiOxfHZdyARwINICxEGy4
 CJOfgmyjO/8gbsUpTh8CI7FCcijzJmiSw59GP/a/x4QwywFrrme/Fx6yPSVZsAhI
 q1n8/TddE4xAlaKcyETap/OUsw862Gph8Q23po1+bUV5cSuwFicYZHblN9w5AJYR
 t0XcwugliR7xxkiH6vVm4bB0yMICWydGiFfXcEQD7SUzbY2osRO0yQDiysFG023e
 yDKjcAq8qBadQfhPq9xmYsO+ugIfb4KIYNY6vqjrdqh6MflP7nD0m8M4l4Or/R70
 Cp1QWRbbot9nSWbDfry/l8T+PQUp/36tEwA0j1KqtkP1C2A3uQIDouP0fWB/sus6
 MLSjc3p4u2iQSV3JR52d1wn15SIZauFo1XYsw9/xyCngs6CzB+xgNWyAAcrP5edo
 lPdfrzP2Y0W7NXq4I+rg6BfFxk9EnhcA8VTrejn7+aufg3KTmdTKc6Ci4nf2/T4H
 +AxWwGWSTprK7mEmgf0+cHFQFrV388+2NKBYjtQ2sLRVefPb86w=
 =7kjb
 -----END PGP SIGNATURE-----

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

SoC changes for omaps for v5.15

Update MAINTAINERS for SanCloud devices and drop unused old Kconfig

* tag 'omap-for-v5.15/soc-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap:
  MAINTAINERS: Adopt SanCloud dts files as supported
  arm: omap2: Drop MACH_OMAP3517EVM entry

Link: https://lore.kernel.org/r/pull-1628153040-834155@atomide.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2021-08-12 22:25:26 +02:00
Geert Uytterhoeven 1db70c0277 ARM: dts: rza: Add I2C interrupt-names
Add "interrupt-names" properties to the I2C device nodes of the RZ/A1H
and RZ/A2M DTS files, to make it easier to review the interrupt mappings.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Link: https://lore.kernel.org/r/7a073439e37f6672e4809af0a2ee9cd4ac820ec6.1626267422.git.geert+renesas@glider.be
2021-08-12 12:43:41 +02:00
Marc Zyngier a1e5cd9650 ARM: Bulk conversion to generic_handle_domain_irq()
Wherever possible, replace constructs that match either
generic_handle_irq(irq_find_mapping()) or
generic_handle_irq(irq_linear_revmap()) to a single call to
generic_handle_domain_irq().

Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
2021-08-12 11:39:39 +01:00
Dmitry Osipenko 806b99206b ARM: multi_v7_defconfig: Enable CONFIG_TEGRA30_TSENSOR
Enable NVIDIA Tegra30 SoC thermal sensor driver in multi_v7_defconfig.

Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2021-08-11 12:15:48 +02:00
Dmitry Osipenko 7fa990a028 ARM: multi_v7_defconfig: Enable Acer A500 drivers
Enable EC controller drivers of the Acer A500 tablet.

Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2021-08-11 12:15:12 +02:00
Maxim Schwalm a1bff9474f ARM: tegra: Rebuild default configuration
Run "make tegra_defconfig; make savedefconfig" to rebuild tegra_defconfig.

Signed-off-by: Maxim Schwalm <maxim.schwalm@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2021-08-11 12:14:48 +02:00
Maxim Schwalm 6c3f29edd7 ARM: tegra: Enable CONFIG_CROS_EC
Updating the tegra_defconfig was omitted, when the ChromeOS EC config
options were renamed by a previous commit. Fix it.

Fixes: 67c70aa86f ("arm/arm64: defconfig: Update configs to use the new CROS_EC options")
Signed-off-by: Maxim Schwalm <maxim.schwalm@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2021-08-11 12:14:18 +02:00
Dmitry Osipenko 9265d64e84 ARM: tegra: Enable Acer A500 drivers
Enable EC controller drivers of the Acer A500 tablet.

Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2021-08-11 12:13:23 +02:00
Dmitry Osipenko a422eec5be ARM: tegra: Enable CONFIG_FB
Previously CONFIG_FB was auto-selected, now it's not. We completely lost
framebuffer in tegra_defconfig. Select the CONFIG_FB to fix it.

Fixes: f611b1e762 ("drm: Avoid circular dependencies for CONFIG_FB")
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2021-08-11 12:12:48 +02:00
Dmitry Osipenko 4398a03fd1 ARM: tegra: Enable CONFIG_TEGRA30_TSENSOR
Enable NVIDIA Tegra30 SoC thermal sensor driver in tegra_defconfig.

Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2021-08-11 12:12:08 +02:00
Dmitry Osipenko 9c93ccfc86 soc/tegra: pmc: Prevent racing with cpuilde driver
Both PMC and cpuidle drivers are probed at the same init level and
cpuidle depends on the PMC suspend mode. Add new default suspend mode
that indicates whether PMC driver has been probed and reset the mode in
a case of deferred probe of the PMC driver.

Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2021-08-11 11:51:39 +02:00
Hsin-Yi Wang 3acd5d8b7c arm: dts: mt8135: Move pinfunc to include/dt-bindings/pinctrl
Move mt8135-pinfunc.h into include/dt-bindings/pinctrl so that we can
include it in yaml examples.

Signed-off-by: Hsin-Yi Wang <hsinyi@chromium.org>
Link: https://lore.kernel.org/r/20210804044033.3047296-1-hsinyi@chromium.org
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2021-08-11 10:49:43 +02:00
Dave Airlie 9efba20291 Bus: Make remove callback return void tag
Tag for other trees/branches to pull from in order to have a stable
 place to build off of if they want to add new busses for 5.15.
 
 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
 -----BEGIN PGP SIGNATURE-----
 
 iG0EABECAC0WIQT0tgzFv3jCIUoxPcsxR9QN2y37KQUCYPkvsg8cZ3JlZ0Brcm9h
 aC5jb20ACgkQMUfUDdst+yl8pwCff+mL/zOaU8M1KwIHrEvNH6LgF58AoKgBAeCb
 58Lenmw44ofP5itzU5x3
 =J5mO
 -----END PGP SIGNATURE-----

Merge tag 'bus_remove_return_void-5.15' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core into drm-next

Bus: Make remove callback return void tag

Tag for other trees/branches to pull from in order to have a stable
place to build off of if they want to add new busses for 5.15.

Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>

[airlied: fixed up merge conflict in drm]
From:   Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://patchwork.freedesktop.org/patch/msgid/YPkwQwf0dUKnGA7L@kroah.com
2021-08-11 08:47:08 +10:00
David Heidelberg b30d0289de ARM: 9105/1: atags_to_fdt: don't warn about stack size
The merge_fdt_bootargs() function by definition consumes more than 1024
bytes of stack because it has a 1024 byte command line on the stack,
meaning that we always get a warning when building this file:

arch/arm/boot/compressed/atags_to_fdt.c: In function 'merge_fdt_bootargs':
arch/arm/boot/compressed/atags_to_fdt.c:98:1: warning: the frame size of 1032 bytes is larger than 1024 bytes [-Wframe-larger-than=]

However, as this is the decompressor and we know that it has a very shallow
call chain, and we do not actually risk overflowing the kernel stack
at runtime here.

This just shuts up the warning by disabling the warning flag for this
file.

Tested on Nexus 7 2012 builds.

Acked-by: Nicolas Pitre <nico@fluxnic.net>
Signed-off-by: David Heidelberg <david@ixit.cz>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: <stable@vger.kernel.org>
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
2021-08-10 12:17:42 +01:00
Linus Walleij 463dbba4d1 ARM: 9104/2: Fix Keystone 2 kernel mapping regression
This fixes a Keystone 2 regression discovered as a side effect of
defining an passing the physical start/end sections of the kernel
to the MMU remapping code.

As the Keystone applies an offset to all physical addresses,
including those identified and patches by phys2virt, we fail to
account for this offset in the kernel_sec_start and kernel_sec_end
variables.

Further these offsets can extend into the 64bit range on LPAE
systems such as the Keystone 2.

Fix it like this:
- Extend kernel_sec_start and kernel_sec_end to be 64bit
- Add the offset also to kernel_sec_start and kernel_sec_end

As passing kernel_sec_start and kernel_sec_end as 64bit invariably
incurs BE8 endianness issues I have attempted to dry-code around
these.

Tested on the Vexpress QEMU model both with and without LPAE
enabled.

Fixes: 6e121df14c ("ARM: 9090/1: Map the lowmem and kernel separately")
Reported-by: Nishanth Menon <nmenon@kernel.org>
Suggested-by: Russell King <rmk+kernel@armlinux.org.uk>
Tested-by: Grygorii Strashko <grygorii.strashko@ti.com>
Tested-by: Nishanth Menon <nmenon@kernel.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
2021-08-10 12:17:25 +01:00
Linus Walleij 6fec92d9b2 ARM: 9103/1: Drop ARCH_NR_GPIOS definition
The conditional by the generic header is the same,
hence drop unnecessary duplication.

Link: https://lore.kernel.org/r/20210510114107.43006-1-andriy.shevchenko@linux.intel.com

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
2021-08-10 12:16:07 +01:00
Masahiro Yamada d7bcc5e229 ARM: 9102/1: move theinstall rules to arch/arm/Makefile
Currently, the (z/u)install targets in arch/arm/Makefile descend into
arch/arm/boot/Makefile to invoke the shell script, but there is no
good reason to do so.

arch/arm/Makefile can run the shell script directly.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
2021-08-10 12:16:07 +01:00
Randy Dunlap c755238d2c ARM: 9099/1: crypto: rename 'mod_init' & 'mod_exit' functions to be module-specific
Rename module_init & module_exit functions that are named
"mod_init" and "mod_exit" so that they are unique in both the
System.map file and in initcall_debug output instead of showing
up as almost anonymous "mod_init".

This is helpful for debugging and in determining how long certain
module_init calls take to execute.

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Jason A. Donenfeld <Jason@zx2c4.com>
Cc: linux-arm-kernel@lists.infradead.org
Cc: patches@armlinux.org.uk
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
2021-08-10 12:15:27 +01:00
Paul Barker 29fabf5274 ARM: dts: am335x-sancloud-bbe: Drop usb wifi comment
The wifi chip on USB port 4 may not be present on all BBE variants.

Signed-off-by: Paul Barker <paul.barker@sancloud.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2021-08-10 09:52:41 +03:00
Paul Barker 7244c8af76 ARM: dts: am335x-sancloud-bbe: Fix missing pinctrl refs
pinctrl settings for the USB hub, barometer & accelerometer need to be
referenced from the relevant nodes to work.

Signed-off-by: Paul Barker <paul.barker@sancloud.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2021-08-10 09:52:35 +03:00
Logan Gunthorpe 9cf88ec5e0 ARM/dma-mapping: don't set failed sg dma_address to DMA_MAPPING_ERROR
Setting the ->dma_address to DMA_MAPPING_ERROR is not part of the
->map_sg calling convention, so remove it.

Link: https://lore.kernel.org/linux-mips/20210716063241.GC13345@lst.de/
Suggested-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Logan Gunthorpe <logang@deltatee.com>
Cc: Russell King <linux@armlinux.org.uk>
Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Signed-off-by: Christoph Hellwig <hch@lst.de>
2021-08-09 17:13:05 +02:00
Martin Oliveira 6506932b32 ARM/dma-mapping: return error code from .map_sg() ops
The .map_sg() op now expects an error code instead of zero on failure.
In the case of a DMA_MAPPING_ERROR, -EIO is returned. Otherwise,
-ENOMEM or -EINVAL is returned depending on the error from
__map_sg_chunk().

Signed-off-by: Martin Oliveira <martin.oliveira@eideticom.com>
Signed-off-by: Logan Gunthorpe <logang@deltatee.com>
Cc: Russell King <linux@armlinux.org.uk>
Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Signed-off-by: Christoph Hellwig <hch@lst.de>
2021-08-09 17:13:05 +02:00
Thomas Perrot 0c4d733739 ARM: dts: imx7: add ftm nodes for Flex Timers
The i.MX7 has two possible Flex Timers, disabled by default. Moreover, the
block is the same as LS1021a, then the drivers can be used as-is.

Signed-off-by: Thomas Perrot <thomas.perrot@bootlin.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2021-08-09 16:11:13 +08:00
Christoph Niedermaier a0c1748f36 ARM: dts: imx6qdl-dhcom: Add DHSOM based DRC02 board
Add DT for DH DRC02 unit, which is a universal controller device.
The system has two ethernet ports, two CANs, RS485 and RS232, USB,
capacitive buttons and an OLED display.

Signed-off-by: Christoph Niedermaier <cniedermaier@dh-electronics.com>
Cc: Shawn Guo <shawnguo@kernel.org>
Cc: Fabio Estevam <festevam@denx.de>
Cc: Marek Vasut <marex@denx.de>
Cc: NXP Linux Team <linux-imx@nxp.com>
Cc: kernel@dh-electronics.com
To: linux-arm-kernel@lists.infradead.org
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2021-08-09 15:39:58 +08:00
Christoph Niedermaier 317d26e921 ARM: dts: imx6qdl-dhcom: Add DHCOM based PicoITX board
Add DT for DH PicoITX unit, which is a bare-bones carrier board for
the DHCOM. The board has ethernet port, USB, CAN, LEDs and a custom
board-to-board expansion connector.

Signed-off-by: Christoph Niedermaier <cniedermaier@dh-electronics.com>
Cc: Shawn Guo <shawnguo@kernel.org>
Cc: Fabio Estevam <festevam@denx.de>
Cc: Marek Vasut <marex@denx.de>
Cc: NXP Linux Team <linux-imx@nxp.com>
Cc: kernel@dh-electronics.com
To: linux-arm-kernel@lists.infradead.org
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2021-08-09 15:37:52 +08:00
Christoph Niedermaier fa0cae9556 ARM: dts: imx6qdl-dhcom: Split SoC-independent parts of DHCOM SOM and PDK2
The DH electronics PDK2 can be populated with SoM with i.MX6S/DL/D/Q
variants. Split the SoC-independent parts of the SoM and PDK2 into the
imx6qdl-dhcom-*.dtsi and reduce imx6q-dhcom-pdk2.dts to example of
adding i.MX6S/DL/D/Q variants of the SoM into a PDK2 carrier board.

Signed-off-by: Christoph Niedermaier <cniedermaier@dh-electronics.com>
Cc: Shawn Guo <shawnguo@kernel.org>
Cc: Fabio Estevam <festevam@denx.de>
Cc: Marek Vasut <marex@denx.de>
Cc: NXP Linux Team <linux-imx@nxp.com>
Cc: kernel@dh-electronics.com
To: linux-arm-kernel@lists.infradead.org
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2021-08-09 15:36:08 +08:00
Christoph Niedermaier fea4e8a9d5 ARM: dts: imx6q-dhcom: Cleanup of the devicetrees
Following cleanups of the devicetrees done, no change in function:
- Remove parentheses from the license
- Update copyright date
- Alphabetical sorting
- Add comments
- Update pinctrl names
- Hex values in lower case
- Set 3rd values of fixed regulators gpio property to 0
- Replace interrupt type with a define
- Remove superfluous property max-speed from the fec node

Signed-off-by: Christoph Niedermaier <cniedermaier@dh-electronics.com>
Reviewed-by: Marek Vasut <marex@denx.de>
Cc: Shawn Guo <shawnguo@kernel.org>
Cc: Fabio Estevam <festevam@denx.de>
Cc: Marek Vasut <marex@denx.de>
Cc: NXP Linux Team <linux-imx@nxp.com>
Cc: kernel@dh-electronics.com
To: linux-arm-kernel@lists.infradead.org
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2021-08-09 15:35:09 +08:00
Christoph Niedermaier 1f58e94c54 ARM: dts: imx6q-dhcom: Rearrange of iomux
Move iomux to the end, no change in function.

Signed-off-by: Christoph Niedermaier <cniedermaier@dh-electronics.com>
Reviewed-by: Marek Vasut <marex@denx.de>
Cc: Shawn Guo <shawnguo@kernel.org>
Cc: Fabio Estevam <festevam@denx.de>
Cc: Marek Vasut <marex@denx.de>
Cc: NXP Linux Team <linux-imx@nxp.com>
Cc: kernel@dh-electronics.com
To: linux-arm-kernel@lists.infradead.org
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2021-08-09 15:34:21 +08:00
Christoph Niedermaier 00342c631e ARM: dts: imx6q-dhcom: Rework of the DHCOM GPIO pinctrls
The function of each SoM pins is defined in the DHCOM standard [1] and
subset of them is defined as GPIOs (pins A-W). To ensure the interchange-
ability of the DHCOM SoMs, the function of the pins are fixed and cannot
be changed. On board level the DHCOM GPIOs can be used associated with
different blocks e.g. for interrupt or reset, but the function is always
GPIO. If not used, they can be freely used in the user space.

Therefore the whole configuration of SoM pins is made in the SoM DT.
Defining the DHCOM GPIO pins as a separate pinctrl nodes makes moving a
subset of them to an appropriate block pinctrl group easier on board level,
since it is not necessary to have a large pinctrl hog group containing
unrelated pinmux entries on board level. This also makes it easy to update
the SoM DT without having to update all the board DTs too. If necessary it
is also possible to change the electrical properties of the DHCOM GPIOs by
overwriting the pinctrl on board level.

[1] https://wiki.dh-electronics.com/images/2/2e/DOC_DHCOM-Standard-Specification_R01_2016-11-17.pdf

Signed-off-by: Christoph Niedermaier <cniedermaier@dh-electronics.com>
Cc: Shawn Guo <shawnguo@kernel.org>
Cc: Fabio Estevam <festevam@denx.de>
Cc: Marek Vasut <marex@denx.de>
Cc: NXP Linux Team <linux-imx@nxp.com>
Cc: kernel@dh-electronics.com
To: linux-arm-kernel@lists.infradead.org
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2021-08-09 15:30:35 +08:00
Christoph Niedermaier 298591bf72 ARM: dts: imx6q-dhcom: Use 1G ethernet on the PDK2 board
The PDK2 board is capable of running both 100M and 1G ethernet. However,
the i.MX6 has only one ethernet MAC, so it is possible to configure
either 100M or 1G Ethernet. In case of 100M option, the PHY is on the
SoM and the signals are routed to a RJ45 port. For 1G the PHY is on
the PDK2 board with another RJ45 port. 100M and 1G ethernet use
different signal pins from the i.MX6, but share the MDIO bus.

This SoM board combination is used to demonstrate how to enable 1G
ethernet configuration.

Signed-off-by: Christoph Niedermaier <cniedermaier@dh-electronics.com>
Cc: Shawn Guo <shawnguo@kernel.org>
Cc: Fabio Estevam <festevam@denx.de>
Cc: Marek Vasut <marex@denx.de>
Cc: NXP Linux Team <linux-imx@nxp.com>
Cc: kernel@dh-electronics.com
To: linux-arm-kernel@lists.infradead.org
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2021-08-09 15:29:51 +08:00
Greg Kroah-Hartman bd935a7b21 Merge 5.14-rc5 into driver-core-next
We need the driver core fixes in here as well.

Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-08-09 09:03:47 +02:00
Greg Kroah-Hartman 813272ed52 Merge 5.14-rc5 into char-misc-next
We need the fixes in here as well, and resolves some merge issues with
the mhi codebase.

Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-08-09 08:57:03 +02:00
Linus Walleij f2841e3ab1 ARM: dts: ixp4xx: Add a devicetree for Freecom FSG-3
This adds a devicetree for the Freecom FSG-3, a combined router
and NAS.

Cc: Rod Whitby <rod@whitby.id.au>
Cc: Marc Zyngier <maz@kernel.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2021-08-09 01:55:59 +02:00
Linus Walleij 0ceddb06be ARM: dts: ixp4xx: Add devicetree for Linksys WRV54G
This adds a device tree for the Linksys WRV54G also known as
Gemtek GTWX5715. Some enhancements have been folded in from the
OpenWrt patches.

This supports everything in the upstream kernel with placeholders
for the out-of-tree multiphy which exist in OpenWrt.

Cc: phj@phj.hu
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2021-08-09 01:55:56 +02:00
Linus Walleij e664f7720a ARM: dts: ixp4xx: Add device trees for Coyote and IXDPG425
This adds device trees for the ADI Engineering Coyote and the
Intel IXDPG425 reference design. The ethernet set-up on the
IXDPG425 is a bit dubious because I think it uses a DSA
switch chip, but this is a good as it gets right now.

The Coyote boardfile claims an IDE port exist at 0xFFFE1000
but the implementation does not use this. If you have the
board and can/want to test, please contact me.

Cc: Deepak Saxena <dsaxena@plexity.net>
Cc: Vladimir Barinov <vladimir.barinov@cogentembedded.com>
Cc: Zoltan HERPAI <wigyori@uid0.hu>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2021-08-09 01:55:48 +02:00
Linus Walleij ec0384026c ARM: dts: ixp4xx: Add Intel IXDP425 etc reference designs
The IXDP425, IXCDP1100, KIXRP435 and IXDP465 are similar Intel reference
designs for IXP42x, IXP43x and IXP4[56]x.

This adds device trees for these so the board files can be migrated.

Cc: Deepak Saxena <dsaxena@plexity.net>
Cc: Vladimir Barinov <vladimir.barinov@cogentembedded.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2021-08-09 01:55:42 +02:00
Linus Walleij 16d8d49b56 ARM: dts: ixp4xx: Add CF to GW2358
This adds support for the compact flash card slot on the
Gateworks GW2358 router.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2021-08-09 01:55:39 +02:00
Linus Walleij ae751e6325 ARM: dts: ixp4xx: Add Gateworks Avila GW2348 device tree
This adds a device tree file for the Gateworks Avila GW2348 platform
supporting all the features of the in-kernel boardfiles.

There are more boards in the Avila family, but this is the one that
is supported out-of-the-box by the current boardfiles. Some extra
features have been folded in from the upstream OpenWrt sources,
such as proper ethernet setup for both ethernet ports.

More variants can be added based on this device tree. Some of those
have DSA switches, multiple LEDs, multiple serial ports and similar
and would need some more elaborate work.

Cc: Michael-Luke Jones <mlj28@cam.ac.uk>
Cc: Deepak Saxena <dsaxena@plexity.net>
Cc: Tom Billman <kernel@giantshoulderinc.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2021-08-09 01:55:36 +02:00
Linus Walleij 36eb2640d3 ARM: dts: ixp4xx: Add Arcom Vulcan device tree
This adds a device tree for the Arcom Vulcan IXP42x board.

Cc: Marc Zyngier <maz@kernel.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2021-08-09 01:55:28 +02:00
Linus Walleij 6fb89c46d4 ARM: dts: ixp4xx: Add devicetree for Netgear WG302v2
This adds a devicetree for the Netgear WG302v2 router.

The DTS is mostly based on the upstream boardfile but I also
added in the ethernet from OpenWrt to get a more complete
system.

Cc: Imre Kaloz <kaloz@openwrt.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2021-08-09 01:55:22 +02:00
Linus Walleij f2791ed731 ARM: dts: ixp4xx: Use the expansion bus
Replace the "simple-bus" simplification by the proper bus for
IXP4xx memory or device expansion.

Use chip-select addressing with two address cells on all the
flashes mounted on the IXP4xx devices. This includes all flash
chips.

Change the unit-name from @50000000 to @c4000000 as the DTS
validation screams. The registers for controlling the bus are
at c4000000 but the actual memory windows and ranges are at
50000000. Well it is just syntax, we can live with it.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2021-08-09 01:55:10 +02:00
Linus Walleij e647167967 ARM: dts: ixp4xx: Add second UART
The IXP4xx has two UARTs and some platforms make use of the
second one so add this to the include DTSI.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2021-08-09 01:55:08 +02:00
Linus Walleij 94e8b34be2 ARM: dts: ixp4xx: Add devicetree for D-Link DSM-G600 rev A
This adds a devicetree for the D-Link DSM-G600 Wireless Network
Storage Enclosure so that we can delete the boardfile. The boardfile
does not even define an ethernet interface as it has an external
ethernet on PCI. This devicetree is for revision A using IXP420
the rev B version uses PowerPC.

Cc: Michael-Luke Jones <mlj28@cam.ac.uk>
Cc: Rod Whitby <rod@whitby.id.au>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Cc: Michael Westerhof <mwester@dls.net>
Cc: Deepak Saxena <dsaxena@plexity.net>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2021-08-09 01:55:05 +02:00
Linus Walleij 5a68c91d1c ARM: dts: ixp4xx: Move EPBX100 flash to external bus node
This moves the EPBX100 flash under the external bus on CS0
like on the other IXP4xx systems.

Cc: Corentin Labbe <clabbe@baylibre.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2021-08-09 01:55:03 +02:00
Linus Walleij 5900dc0850 ARM: dts: ixp4xx: Add devicetree for Iomega NAS 100D
This creates a more or less fully featured device tree for the
IXP42x-based Iomega NAS 100D.

We can't read out the raw flash contents for ethernet MAC, and
we cannot handle a power-off-button inside the kernel like the
boardfile does. These two things are normally done in userspace.

This conversion is part of moving all of the IXP4xx board files
over to device tree to modernize the IXP4xx kernel.

Cc: Rod Whitby <rod@whitby.id.au>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2021-08-09 01:54:59 +02:00
Linus Walleij f775d2150c ARM: dts: ixp4xx: Fix up bad interrupt flags
The PCI hosts had bad IRQ semantics, these are all active low.
Use the proper define and fix all in-tree users.

Suggested-by: Marc Zyngier <maz@kernel.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2021-08-09 01:54:56 +02:00
Michael Walle c387eea58f ARM: dts: ebaz4205: enable NAND support
The board features a 128MiB NAND chip and recently linux gained support
for the NAND controller on the Zynq SoC. Thus add the corresponding
devicetree nodes.

Signed-off-by: Michael Walle <michael@walle.cc>
Link: https://lore.kernel.org/r/20210616155437.27378-4-michael@walle.cc
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
2021-08-06 12:22:40 +02:00
Michael Walle 3bf9899f87 ARM: dts: zynq: add NAND flash controller node
Recently, a driver for the ARM Primecell PL35x static memory controller
(including NAND controller) was added in linux. Add the corresponding
device tree node.

Signed-off-by: Michael Walle <michael@walle.cc>
Link: https://lore.kernel.org/r/20210616155437.27378-3-michael@walle.cc
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
2021-08-06 12:22:40 +02:00
Michael Walle 75b4c5deef ARM: configs: multi_v7: enable PL35x NAND controller
After years, linux finally got a driver for the PL35x NAND controller
found on the Xilinx Zynq-7000 SoC for example. Enable support for this
driver.

Signed-off-by: Michael Walle <michael@walle.cc>
Link: https://lore.kernel.org/r/20210616155437.27378-2-michael@walle.cc
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
2021-08-06 12:19:05 +02:00
Patrice Chotard f9807f9cb3 ARM: dts: sti: remove clk_ignore_unused from bootargs for stih410-b2260
Remove clk_ignore_unused from bootargs as it's no more needed.

Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
2021-08-06 09:30:03 +02:00
Patrice Chotard 4e80af1fd6 ARM: dts: sti: remove clk_ignore_unused from bootargs for stih418-b2199
Remove clk_ignore_unused from bootargs as it's no more needed.

Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
2021-08-06 09:30:03 +02:00
Patrice Chotard bd642467c2 ARM: dts: sti: remove clk_ignore_unused from bootargs for stih410-b2120
Remove clk_ignore_unused from bootargs as it's no more needed.

Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
2021-08-06 09:30:03 +02:00
Patrice Chotard c2026910fc ARM: dts: sti: remove clk_ignore_unused from bootargs for stih407-b2120
Remove clk_ignore_unused from bootargs as it's no more needed.

Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
2021-08-06 09:30:02 +02:00
Alain Volmat 41e202f9d9 ARM: dts: sti: Introduce 4KOpen (stih418-b2264) board
4KOpen (B2264) is a board based on the STMicroelectronics STiH418 soc:
  - 2GB DDR
  - HDMI
  - Ethernet 1000-BaseT
  - PCIe (mini PCIe connector)
  - MicroSD slot
  - USB2 and USB3 connectors
  - Sata
  - 40 pins GPIO header

Signed-off-by: Alain Volmat <avolmat@me.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
2021-08-06 09:30:02 +02:00
Alain Volmat 11061d6caf ARM: dts: sti: add the thermal sensor node within stih418
The STiH418 embedded the same sensor as the STiH410.
This commit adds the corresponding node, relying on the st_thermal
driver.

Signed-off-by: Alain Volmat <avolmat@me.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
2021-08-06 09:30:02 +02:00
Alain Volmat 7b22ec0c72 ARM: dts: sti: disable rng11 on the stih418 platform
The rng11 is not available on the STiH418 hence is disabled in the
stih418.dtsi

Signed-off-by: Alain Volmat <avolmat@me.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
2021-08-06 09:30:02 +02:00
Alain Volmat 5d296faf3f ARM: dts: sti: add the spinor controller node within stih407-family
The STiH407 family (and further versions STiH410/STiH418) embedded
a serial flash controller allowing fast access to SPI-NOR.
This commit adds the corresponding node, relying on the st-spi-fsm
drivers.

Signed-off-by: Alain Volmat <avolmat@me.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
2021-08-06 09:30:02 +02:00
Alain Volmat a1b68d6b02 ARM: dts: sti: update clkgen-fsyn entries in stih418-clock
The clkgen-fsyn driver now embed the clock names (assuming the
right compatible is used). Remove all clock-output-names property
and update when necessary the compatible.

Signed-off-by: Alain Volmat <avolmat@me.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
2021-08-06 09:30:02 +02:00
Alain Volmat 7f9ed95dda ARM: dts: sti: update clkgen-fsyn entries in stih410-clock
The clkgen-fsyn driver now embed the clock names (assuming the
right compatible is used). Remove all clock-output-names property
and update when necessary the compatible.

Signed-off-by: Alain Volmat <avolmat@me.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
2021-08-06 09:30:02 +02:00
Alain Volmat 21b6069c3a ARM: dts: sti: update clkgen-fsyn entries in stih407-clock
The clkgen-fsyn driver now embed the clock names (assuming the
right compatible is used). Remove all clock-output-names property
and update when necessary the compatible.

Signed-off-by: Alain Volmat <avolmat@me.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
2021-08-06 09:30:01 +02:00
Alain Volmat 19007a65aa ARM: dts: sti: update clkgen-pll entries in stih418-clock
The clkgen-pll driver now embed the clock names (assuming the
right compatible is used). Remove all clock-output-names property
and update when necessary the compatible.

Signed-off-by: Alain Volmat <avolmat@me.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
2021-08-06 09:30:01 +02:00
Alain Volmat b26ba00c3b ARM: dts: sti: update clkgen-pll entries in stih410-clock
The clkgen-pll driver now embed the clock names (assuming the
right compatible is used). Remove all clock-output-names property
and update when necessary the compatible.

Signed-off-by: Alain Volmat <avolmat@me.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
2021-08-06 09:30:01 +02:00
Alain Volmat 9528bb46b6 ARM: dts: sti: update clkgen-pll entries in stih407-clock
The clkgen-pll driver now embed the clock names (assuming the
right compatible is used). Remove all clock-output-names property
and update when necessary the compatible.

Signed-off-by: Alain Volmat <avolmat@me.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
2021-08-06 09:30:01 +02:00
Alain Volmat d767090d73 ARM: dts: sti: update flexgen compatible within stih410-clock
With the introduction of new flexgen compatible within the clk-flexgen
driver, remove the clock-output-names entry from the flexgen nodes
and set the new proper compatible corresponding.

Signed-off-by: Alain Volmat <avolmat@me.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
2021-08-06 09:30:01 +02:00
Alain Volmat 7c44e1515c ARM: dts: sti: update flexgen compatible within stih407-clock
With the introduction of new flexgen compatible within the clk-flexgen
driver, remove the clock-output-names entry from the flexgen nodes
and set the new proper compatible corresponding.

Signed-off-by: Alain Volmat <avolmat@me.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
2021-08-06 09:30:01 +02:00
Alain Volmat a7056e0423 ARM: dts: sti: update flexgen compatible within stih418-clock
With the introduction of new flexgen compatible within the clk-flexgen
driver, remove the clock-output-names entry from the flexgen nodes
and set the new proper compatible corresponding.

Signed-off-by: Alain Volmat <avolmat@me.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
2021-08-06 09:30:00 +02:00
Peter Robinson 4297d1c083 arm: omap2: Drop the unused OMAP_PACKAGE_* KConfig entries
The OMAP_PACKAGE_* Kconfig entries are no longer referenced
in the kernel so can be dropped as they're obsolete.

Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2021-08-06 09:40:26 +03:00
Peter Robinson c8d9a986d0 arm: omap2: Drop obsolete MACH_OMAP3_PANDORA entry
The MACH_OMAP3_PANDORA is no longer referenced anywhere in the kernel
options so it can now be dropped as the board has long moved to DT.

Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2021-08-06 09:40:20 +03:00
Grygorii Strashko c477358e66 ARM: dts: am335x-bone: switch to new cpsw switch drv
The dual_mac mode has been preserved the same way between legacy and new
driver, and one port devices works the same as 1 dual_mac port - it's safe
to switch drivers.

So, Switch BeagleBone boards to use new cpsw switch driver. Those boards
have or 2 Ext. port wired and configured in dual_mac mode by default, or
only 1 Ext. port.

For am335x-sancloud-bbe-common.dtsi also removed duplicated davinci_mdio DT
nodes which already defined in am335x-bone-common.dtsi.

Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2021-08-06 09:26:51 +03:00
Grygorii Strashko d22e0e1afa ARM: dts: am33xx: update ethernet aliases
Update ethernet aliases to point at CPSW switchdev driver.

Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2021-08-06 09:25:38 +03:00
Grygorii Strashko 0a8eb8d7f0 ARM: dts: am335x-sl50: switch to new cpsw switch drv
The dual_mac mode has been preserved the same way between legacy and new
driver, and one port devices works the same as 1 dual_mac port - it's safe
to switch drivers.

So, switch Toby Churchill SL50 Series to use new cpsw switch driver.
Those boards have or 2 Ext. port wired and configured in dual_mac mode by
default, or only 1 Ext. port.

Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2021-08-06 09:25:37 +03:00
Grygorii Strashko a5cacca25e ARM: dts: am335x-shc: switch to new cpsw switch drv
The dual_mac mode has been preserved the same way between legacy and new
driver, and one port devices works the same as 1 dual_mac port - it's safe
to switch drivers.

So, switch Bosch SHC to use new cpsw switch driver.
Those boards have or 2 Ext. port wired and configured in dual_mac mode by
default, or only 1 Ext. port.

Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2021-08-06 09:25:37 +03:00
Grygorii Strashko a71c1446b5 ARM: dts: am335x-phycore: switch to new cpsw switch drv
The dual_mac mode has been preserved the same way between legacy and new
driver, and one port devices works the same as 1 dual_mac port - it's safe
to switch drivers.

So, switch Phytec AM335x phyCORE SOM, phyBOARD-WEGA, phyBOARD-REGOR,
PCM-953 to use new cpsw switch driver. Those boards have or 2 Ext. port
wired and configured in dual_mac mode by default, or only 1 Ext. port.

Cc: Teresa Remmet <t.remmet@phytec.de>
Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2021-08-06 09:25:37 +03:00
Grygorii Strashko 2bd4332705 ARM: dts: am335x-pepper: switch to new cpsw switch drv
The dual_mac mode has been preserved the same way between legacy and new
driver, and one port devices works the same as 1 dual_mac port - it's safe
to switch drivers.

So, switch Gumstix Pepper to use new cpsw switch driver.
Those boards have or 2 Ext. port wired and configured in dual_mac mode by
default, or only 1 Ext. port.

Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2021-08-06 09:25:36 +03:00
Grygorii Strashko a2f2cd466e ARM: dts: am335x-pdu001: switch to new cpsw switch drv
The dual_mac mode has been preserved the same way between legacy and new
driver, and one port devices works the same as 1 dual_mac port - it's safe
to switch drivers.

So, switch EETS,PDU001 to use new cpsw switch driver. Those boards have or
2 Ext. port wired and configured in dual_mac mode by default, or only 1
Ext. port.

Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2021-08-06 09:25:36 +03:00
Grygorii Strashko c2fe8276b3 ARM: dts: am335x-osd3358-sm-red: switch to new cpsw switch drv
The dual_mac mode has been preserved the same way between legacy and new
driver, and one port devices works the same as 1 dual_mac port - it's safe
to switch drivers.

So, switch Octavo Systems OSD3358-SM-RED to use new cpsw switch driver.
Those boards have or 2 Ext. port wired and configured in dual_mac mode by
default, or only 1 Ext. port.

Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2021-08-06 09:25:35 +03:00
Grygorii Strashko 4c0b47f322 ARM: dts: am335x-myirtech: switch to new cpsw switch drv
The dual_mac mode has been preserved the same way between legacy and new
driver, and one port devices works the same as 1 dual_mac port - it's safe
to switch drivers.

So, switch MYIR MYC-AM335X/MYD-AM335X to use new cpsw switch driver. Those
boards have or 2 Ext. port wired and configured in dual_mac mode by
default, or only 1 Ext. port.

Cc: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2021-08-06 09:25:35 +03:00
Grygorii Strashko 5578b73024 ARM: dts: am335x-moxa-uc: switch to new cpsw switch drv
The dual_mac mode has been preserved the same way between legacy and new
driver, and one port devices works the same as 1 dual_mac port - it's safe
to switch drivers.

So, switch Moxa am335x-moxa-uc-210x/8100 to use new cpsw switch driver.
Those boards have or 2 Ext. port wired and configured in dual_mac mode by
default, or only 1 Ext. port.

Cc: Johnson Chen <johnsonch.chen@moxa.com>
Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2021-08-06 09:25:35 +03:00
Grygorii Strashko 843470ac18 ARM: dts: am335x-lxm: switch to new cpsw switch drv
The dual_mac mode has been preserved the same way between legacy and new
driver, and one port devices works the same as 1 dual_mac port - it's safe
to switch drivers.

So, switch NovaTech OrionLXm to use new cpsw switch driver. Those boards
have or 2 Ext. port wired and configured in dual_mac mode by default, or
only 1 Ext. port

Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2021-08-06 09:25:35 +03:00
Grygorii Strashko 45b2c44aa5 ARM: dts: am335x-igep0033: switch to new cpsw switch drv
The dual_mac mode has been preserved the same way between legacy and new
driver, and one port devices works the same as 1 dual_mac port - it's safe
to switch drivers.

So, switch am335x-igep0033 to use new cpsw switch driver. Those boards have
or 2 Ext. port wired and configured in dual_mac mode by default, or only 1
Ext. port.

Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2021-08-06 09:25:34 +03:00
Grygorii Strashko 1d3e27982c ARM: dts: am335x-cm-t335: switch to new cpsw switch drv
The dual_mac mode has been preserved the same way between legacy and new
driver, and one port devices works the same as 1 dual_mac port - it's safe
to switch drivers.

So, switch CompuLab CM-T335 to use new cpsw switch driver. Those boards
have or 2 Ext. port wired and configured in dual_mac mode by default, or
only 1 Ext. port.

Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2021-08-06 09:25:34 +03:00
Grygorii Strashko 17d03506dd ARM: dts: am335x-chiliboard: switch to new cpsw switch drv
The dual_mac mode has been preserved the same way between legacy and new
driver, and one port devices works the same as 1 dual_mac port - it's safe
to switch drivers.

So, switch AM335x Chiliboard to use new cpsw switch driver. Those boards
have or 2 Ext. port wired and configured in dual_mac mode by default, or
only 1 Ext. port.

Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2021-08-06 09:25:33 +03:00
Grygorii Strashko 0a8c054def ARM: dts: am335x-nano: switch to new cpsw switch drv
The dual_mac mode has been preserved the same way between legacy and new
driver, and one port devices works the same as 1 dual_mac port - it's safe
to switch drivers.

So, switch Newflow AM335x NanoBone to use new cpsw switch driver. Those
boards have or 2 Ext. port wired and configured in dual_mac mode by
default, or only 1 Ext. port.

Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2021-08-06 09:25:33 +03:00
Grygorii Strashko 1c7ba565e7 ARM: dts: am335x-baltos: switch to new cpsw switch drv
The dual_mac mode has been preserved the same way between legacy and new
driver, and one port devices works the same as 1 dual_mac port - it's safe
to switch drivers.

So, switch OnRISC Baltos and NetCom/Cam boards to use new cpsw switch
driver. Those boards have or 2 Ext. port wired and configured in dual_mac
mode by default, or only 1 Ext. port.

Cc: Yegor Yefremov <yegorslists@googlemail.com>
Cc: Christina Quast <cquast@hanoverdisplays.com>
Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2021-08-06 09:25:33 +03:00
Matthew Hagan f95c4c56d6 ARM: dts: qcom: add ahb reset to ipq806x-gmac
Add GMAC_AHB_RESET to the resets property of each gmac node.

Signed-off-by: Matthew Hagan <mnhagan88@gmail.com>
Link: https://lore.kernel.org/r/20210605173546.4102455-2-mnhagan88@gmail.com
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
2021-08-05 09:24:37 -05:00
Linus Walleij 4cae3413c5 ARM: dts: qcom: Fix up APQ8060 DragonBoard license
This file is licensed in some kind of BSD manner, put it under
the combined GPL+BSD license like what the bindings use, it
seems most helpful.

I wrote the whole file so whatever. Those are my principles,
if you don't like them: I have others.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20210409124954.320529-1-linus.walleij@linaro.org
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
2021-08-05 09:24:37 -05:00
Bjorn Andersson 8822c0d49c ARM: dts: qcom: msm8974: castor: Add Bluetooth-related nodes
Castor has a BCM4339 attached to BLSP2 UART7, add the necessary nodes to
define the uart as well as the serdev BCM.

Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Julian Weigt <juw@posteo.de>
Link: https://lore.kernel.org/r/20210723202101.65371-2-juw@posteo.de
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
2021-08-05 09:24:33 -05:00
Craig Tatlor b05f82b152 ARM: dts: qcom: msm8974: Add blsp2_uart7 for bluetooth on sirius
Signed-off-by: Craig Tatlor <ctatlor97@gmail.com>
Signed-off-by: Julian Weigt <juw@posteo.de>
Link: https://lore.kernel.org/r/20210723202101.65371-1-juw@posteo.de
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
2021-08-05 09:24:29 -05:00
Sebastian Reichel cd7cd5b716 ARM: dts: imx53-ppd: Fix ACHC entry
PPD has only one ACHC device, which effectively is a Kinetis
microcontroller. It has one SPI interface used for normal
communication. Additionally it's possible to flash the device
firmware using NXP's EzPort protocol by correctly driving a
second chip select pin and the device reset pin.

Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Link: https://lore.kernel.org/r/20210802172309.164365-3-sebastian.reichel@collabora.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-08-05 14:29:27 +02:00
Krzysztof Kozlowski 6cad6db752 ARM: dts: exynos: add CPU topology to Exynos5422
Describe Exynos5422 CPU topology.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Link: https://lore.kernel.org/r/20210731092409.31496-7-krzysztof.kozlowski@canonical.com
2021-08-05 09:24:04 +02:00
Krzysztof Kozlowski a73d3069f6 ARM: dts: exynos: add CPU topology to Exynos5420
Describe Exynos5420 CPU topology.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Link: https://lore.kernel.org/r/20210731092409.31496-6-krzysztof.kozlowski@canonical.com
2021-08-05 09:24:02 +02:00
Krzysztof Kozlowski fa0c56dbc3 ARM: dts: exynos: add CPU topology to Exynos5260
Describe Exynos5260 CPU topology.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Link: https://lore.kernel.org/r/20210731092409.31496-5-krzysztof.kozlowski@canonical.com
2021-08-05 09:24:00 +02:00
Krzysztof Kozlowski fc6d5c9953 ARM: dts: exynos: add CPU topology to Exynos5250
Describe Exynos5250 CPU topology.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Link: https://lore.kernel.org/r/20210731092409.31496-4-krzysztof.kozlowski@canonical.com
2021-08-05 09:23:56 +02:00
Krzysztof Kozlowski 1fb5b5b0dc ARM: dts: exynos: add CPU topology to Exynos4412
Describe Exynos4412 CPU topology.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Link: https://lore.kernel.org/r/20210731092409.31496-3-krzysztof.kozlowski@canonical.com
2021-08-05 09:23:51 +02:00
Krzysztof Kozlowski 900dd07d13 ARM: dts: exynos: add CPU topology to Exynos4210
Describe Exynos4210 CPU topology.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Link: https://lore.kernel.org/r/20210731092409.31496-2-krzysztof.kozlowski@canonical.com
2021-08-05 09:23:49 +02:00
Krzysztof Kozlowski a2798e309f ARM: dts: exynos: add CPU topology to Exynos3250
Describe Exynos3250 CPU topology.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Link: https://lore.kernel.org/r/20210731092409.31496-1-krzysztof.kozlowski@canonical.com
2021-08-05 09:23:48 +02:00
Frank Wunderlich 293cb6b0ea arm: dts: mt7623: increase passive cooling trip
MT7623/BPI-R2 has idle temperature after bootup from 48 degrees celsius
increase the passive trip temp threshold to not trottle CPU frequency at
this temperature

Signed-off-by: Frank Wunderlich <frank-w@public-files.de>
Link: https://lore.kernel.org/r/20210725163451.217610-1-linux@fw-web.de
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
2021-08-04 19:14:26 +02:00
Arnd Bergmann 318845985f AT91 soc for 5.15:
- add new SoC based on a Cortex-A7 core: the SAMA7G5 family
   - mach-at91 entry, Kconfig and header files
   - Power Management Controller (PMC) code and associated power management
     changes. Support for suspend/resume, Ultra Low Power modes and
     Backup with Memory in Self-Refresh mode.
   - Power management association with DDR controller and
     shutdown controller for addressing this variety of modes.
 -----BEGIN PGP SIGNATURE-----
 
 iHUEABYIAB0WIQQ5TRCVIBiyi/S+BG4fOrpwrNPNDAUCYQpPnQAKCRAfOrpwrNPN
 DJyeAQDvS538E7jFPdsmUn3iZhMhV4zCZVsPk9fox9ptV8ewEAD/QuWFZg78YkZE
 vGe/AXlxjA4V/TMiGElf0/nbZ8xLiw4=
 =YucO
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEo6/YBQwIrVS28WGKmmx57+YAGNkFAmEKnQEACgkQmmx57+YA
 GNnU8g/+OZx39NCFnyUcUUmdFHEl/tn6Vkcirs9abdkpjSSylXLJnIVuimHZy0d5
 oxDc3H83dIhCxLO5my27y8QH5e41dhCD7gVIxf+MF/RCYzGt+BjXiImt6YTOvrK9
 hEFzO49XkiBSTtXpNER6hk5BWuIVAg4b1bFnzrhH9ajGxMCboubsxuRMlRP7t4ad
 Vg8Rgf4TOY1AgMm6P5zVjjMAij4C3uKcOO8WLZA9zVGFlKdftdDCvYBfojitctho
 O97Hg4tSYb4N+l8UPcD+dIie0L7Pp8QtgNjV2MiT/Nyuhewdf1DyH14cFSNxIrmA
 laVeRU5WPXJwxNdnEYukb1yI6TEKFQDHTksGWkHr0cQkxalHhuegNUczVwHgZaEZ
 j6pk1yskhRtqmwMyt/810lrEB/o01aPX2TldGda3h3XUxe4q/mw4QR7j9fIFDzjY
 06S5LH/kL36kJ7QAV6ppQLFjBJ5+UJFHymHSXnsCNnaeD6mSZxncaLDoNt+O90kE
 IdALvvwq1ggbKDTQVgpIyU1XfYaNdXcbX1hACXP2LO5/MQejgQ2KJNtS1Qk1aLCC
 T161nfyi/YW5o7h70JGpNK9go5lj/60MgGtocQ5d+zxzyUKNCARaiYRjy0xP7/KR
 1eftv0qgk+J+3+NYOGroLaixVbfLWlIjD9hyaMDnGKzYB857nSY=
 =+KcA
 -----END PGP SIGNATURE-----

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

AT91 soc for 5.15:

- add new SoC based on a Cortex-A7 core: the SAMA7G5 family
  - mach-at91 entry, Kconfig and header files
  - Power Management Controller (PMC) code and associated power management
    changes. Support for suspend/resume, Ultra Low Power modes and
    Backup with Memory in Self-Refresh mode.
  - Power management association with DDR controller and
    shutdown controller for addressing this variety of modes.

* tag 'at91-soc-5.15' of git://git.kernel.org/pub/scm/linux/kernel/git/at91/linux: (26 commits)
  ARM: at91: pm: add sama7g5 shdwc
  ARM: at91: pm: add pm support for SAMA7G5
  ARM: at91: sama7: introduce sama7 SoC family
  ARM: at91: pm: add sama7g5's pmc
  ARM: at91: pm: add backup mode support for SAMA7G5
  ARM: at91: pm: save ddr phy calibration data to securam
  ARM: at91: pm: add sama7g5 ddr phy controller
  ARM: at91: pm: add sama7g5 ddr controller
  ARM: at91: pm: wait for ddr power mode off
  ARM: at91: pm: add support for 2.5V LDO regulator control
  ARM: at91: pm: add support for MCK1..4 save/restore for ulp modes
  ARM: at91: pm: add self-refresh support for sama7g5
  ARM: at91: ddr: add registers definitions for sama7g5's ddr
  ARM: at91: sfrbu: add sfrbu registers definitions for sama7g5
  ARM: at91: pm: add support for waiting MCK1..4
  ARM: at91: pm: s/CONFIG_SOC_SAM9X60/CONFIG_HAVE_AT91_SAM9X60_PLL/g
  ARM: at91: pm: avoid push and pop on stack while memory is in self-refersh
  ARM: at91: pm: use r7 instead of tmp1
  ARM: at91: pm: do not initialize pdev
  ARM: at91: pm: check for different controllers in at91_pm_modes_init()
  ...

Link: https://lore.kernel.org/r/20210804084316.12641-1-nicolas.ferre@microchip.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2021-08-04 15:58:25 +02:00
Arnd Bergmann 8e816b9915 AT91 dt for 5.15:
- add sama7g5 SoC and associated evaluation kit, the sama7g5-ek
 - adaptation of some DT for sama5d27 som1 ek, sama5d4 xplained and
   sama5d2 icp boards
 - fixes to gpio and shutdown controller nodes for all boards
 -----BEGIN PGP SIGNATURE-----
 
 iHUEABYIAB0WIQQ5TRCVIBiyi/S+BG4fOrpwrNPNDAUCYQpSOAAKCRAfOrpwrNPN
 DJOsAP0XC3docVgm+Bw+EZH/FgoIQQCaKcBjx23IhjhWXPx6rwD9Hvze215rDL5V
 YH41Nuq2nDAd5xl3/S0mJIjlupo3RgQ=
 =OhbX
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEo6/YBQwIrVS28WGKmmx57+YAGNkFAmEKiKQACgkQmmx57+YA
 GNnfRhAAijy8RW+Nfo09sKyxdZMfuv+Sh44HA0cUhWtUNrtWWL4ZslY+D3Sv2uHs
 PnIwrvoSDzbGZmfn3fI0QDv6DBpTItMvspEsrd8jx8fWVcBkHGbyKjmj+k62GR/3
 2e/QL5bw8zq0mM33GXODgVyqFok3RF3BQ1R0uXU6d0Z/D638E3EjNLJ7B6XiOsO8
 OdiXZnwSmYTIpplrk+IhOLlEv1XTy1TLcbtlKuSPPdNBBAQZ8J1enzGNArV90aYO
 JcYDZsmcUXmC8Qm3hPu5r6N/8XGWSz4v3/2FvA0oAOrTB1cDUFFKJ3nn+8uRgPuy
 c+86vIdFaDaAUJkoSa6Nq2DvSCLrRVi2C6HHMMOVTA2IqxcNpy+RN4VsEuNdQkbo
 tQlqqFsgULs/dWD63VNEasyKVomhUi3FRUAQh01i0LzYiaqEmeK3g3gOyRQROEcu
 OzhYBWRktQjzWwHwrOs1a6qWpe6Uc6jrW9vnehccd+4/iIYrxMQmRq21aVDGC8b8
 sbeWTJuo301ySx0t32aw3jUj6s0YlGz8aL/O2bho5KX0nWHgKA+onRQXPDmfh0fu
 UbeN6I/IriuVchoDY2w3VAS5fMyMok2tk7BhTOVYjVwhjYePrngceXew25qfCs80
 b7M07RllA3uWSN2C7TSd0c9Da71JTtxYIFiO7Dm5ylKm9BAzr/A=
 =tynn
 -----END PGP SIGNATURE-----

Merge tag 'at91-dt-5.15' of git://git.kernel.org/pub/scm/linux/kernel/git/at91/linux into arm/dt

AT91 dt for 5.15:

- add sama7g5 SoC and associated evaluation kit, the sama7g5-ek
- adaptation of some DT for sama5d27 som1 ek, sama5d4 xplained and
  sama5d2 icp boards
- fixes to gpio and shutdown controller nodes for all boards

* tag 'at91-dt-5.15' of git://git.kernel.org/pub/scm/linux/kernel/git/at91/linux:
  ARM: dts: at91: use the right property for shutdown controller
  ARM: dts: at91: sama5d2_icp: enable digital filter for I2C nodes
  ARM: dts: at91: sama5d4_xplained: change the key code of the gpio key
  ARM: dts: at91: add conflict note for d3
  ARM: dts: at91: add pinctrl-{names, 0} for all gpios
  ARM: dts: at91: sama5d27_som1_ek: enable ADC node
  ARM: dts: at91: sama5d4_xplained: Remove spi0 node
  dt-bindings: atmel-sysreg: add bindings for sama7g5
  ARM: dts: at91: add sama7g5 SoC DT and sama7g5-ek
  dt-bindings: ARM: at91: document sama7g5ek board

Link: https://lore.kernel.org/r/20210804085000.13233-1-nicolas.ferre@microchip.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2021-08-04 14:31:32 +02:00
Arnd Bergmann 72ee3b4dc2 Ux500 Device Tree updates for the v5.15 kernel cycle:
- New device trees for these mobile phones:
   - Samsung Gavini
   - Samsung Codina
   - Samsung Kyle
 - Flag eMMC cards as non-SD non-SDIO to save time
 - Link USB PHY to USB controller in the device tree
 - Fix up the operating points to the actual clock frequencies
 -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEElDRnuGcz/wPCXQWMQRCzN7AZXXMFAmEJNBcACgkQQRCzN7AZ
 XXPiEg//f4j8kXx378712gZHS3niZTkYh2Vu7onxo288b8JZ0ZjSQwvx6f2y479O
 SQKrn72lU/rguHbOTZ++73A3XUNTWsLQYgaNB2CmUnwQ5lvMfD7/ajCtc7Pyg/29
 t4a8ZYN7T1DjLa9LDpn3nuc1AAqQOnpU8XS8yPKz1k1ApnYg/wqd2LZEelHeYFwJ
 QjR7kdpJL3LF91dtsGu38f3VGOx8dTTH4VP4FM5U9bSL6jtGbJJlzbKCTJV7YyEm
 7DLUXiuQ/1rw8WU/o7nA0FbRKtinYt3Yj843oRChuRjTS28CZvQUIN1OERujaylA
 oNebCR5EE4HRl1HVNnLIBMcEQ4QYR9Bk0Ek2V6t7ihEaRQYbVO4I1m+FkCTdXaPz
 RsHR/fcEhZVKEeGYEsvz6HuTAGzFC/Ju1AwoTO4gambDnv3ejLApjtLkFVNR5mrx
 QVf4GOicmZbgTtzfQZ+X1v+bxkuNTMJaDDFOnX2aMrxv/oeW4B4e2cxIQ2JRqOrA
 baQ78zb1Ar1J/xxACiEOSRyrQw3SNOerHQAePHhes47/b/0oAYywvLXKb59FJyLX
 3tk0fQ5b5Yhz+FA09coTfpw8GgjMnJCodZO3aoCz1FEgVhFyjETBEhZMFjGt8+Nr
 bJuhCiraPspGwj81URMhPcQ+HKVpfp7+A/Ot2ueu86L2YCzZUR0=
 =iBYE
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEo6/YBQwIrVS28WGKmmx57+YAGNkFAmEKiGUACgkQmmx57+YA
 GNmk8Q/+Nmd8xEef4lRZDdoOU30bcgbImOHTTFZ6oyTrDyEIM2KZ4VqDr6yI/A/F
 QILKi/GE4CGaPmebmYw+KG2dN1ZClRWywKKHUHUbaqGJKyuR17CxYMdBJYmWTfyN
 QOiIrjYjUONfzr9mYbk/DCYZAwwrVyawV5kNJtbfCXtvS0VsPqt8/CAupviPBm+N
 hzqikMX0RTWIjm9zOtakLg2uzars9rV6iKiUw3gO7gACj8ik3FR5FTxijo4p5X1n
 resPiYtEwBaqS5a4LXl6xX7grp6m4lcCOvHx6lk4BhRvkNG0d0JOW/xsPnDABfhU
 dB9loFXVfm5sNaQAiG+QkE0F/f9Bbc7+6ED/+uod0R5oNqOF1P5iAk75xWXRVIvC
 vC3ZoFqgAO1LujUaa7omfr31i/8y2MuSJf6v1l/9hm6zlwH6e2Z76Jgu2GEaup/z
 HoVwr3LATY4toqpXFW4xTxYKneO8rlTmvSGLrO5qwem9fgpwjgwWzdE/aOx2TrqO
 hsByw/cN2RpQShhpU6SyuHF0TGIn2Xqp8DkvQA2msO+F5fEqL3tKF0LvGiQAGf6v
 ujB+w5MjTDN68pDotv0ykAtNDAdp8Y6Re3S4RWPceY6A8mEZXz4vrunAulKYQbfw
 38DBz/IKGL5yqCCBCbci1C0rGi5AfBBhFZBC9kredp5z4CE+FPU=
 =xBsz
 -----END PGP SIGNATURE-----

Merge tag 'ux500-dts-v5.15-1' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-nomadik into arm/dt

Ux500 Device Tree updates for the v5.15 kernel cycle:

- New device trees for these mobile phones:
  - Samsung Gavini
  - Samsung Codina
  - Samsung Kyle
- Flag eMMC cards as non-SD non-SDIO to save time
- Link USB PHY to USB controller in the device tree
- Fix up the operating points to the actual clock frequencies

* tag 'ux500-dts-v5.15-1' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-nomadik:
  ARM: dts: ux500: Adjust operating points to reality
  ARM: dts: ux500: Add a device tree for Kyle
  ARM: dts: ux500: Add devicetree for Codina
  ARM: dts: ux500: ab8500: Link USB PHY to USB controller node
  ARM: dts: ux500: Flag eMMCs as non-SDIO/SD
  ARM: dts: ux500: Add device tree for Samsung Gavini

Link: https://lore.kernel.org/r/CACRpkdbjBv5ywZZD8rK07d5sLcHsG8o4iYD-3jHO=HLg6-nKnA@mail.gmail.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2021-08-04 14:30:29 +02:00
Arnd Bergmann 12c3dca25d ARM: ep93xx: remove MaverickCrunch support
The MaverickCrunch support for ep93xx never made it into glibc and
was removed from gcc in its 4.8 release in 2012. It is now one of
the last parts of arch/arm/ that fails to build with the clang
integrated assembler, which is unlikely to ever want to support it.

The two alternatives are to force the use of binutils/gas when
building the crunch support, or to remove it entirely.

According to Hartley Sweeten:

 "Martin Guy did a lot of work trying to get the maverick crunch working
  but I was never able to successfully use it for anything. It "kind"
  of works but depending on the EP93xx silicon revision there are still
  a number of hardware bugs that either give imprecise or garbage results.

  I have no problem with removing the kernel support for the maverick
  crunch."

Unless someone else comes up with a good reason to keep it around,
remove it now. This touches mostly the ep93xx platform, but removes
a bit of code from ARM common ptrace and signal frame handling as well.

If there are remaining users of MaverickCrunch, they can use LTS
kernels for at least another five years before kernel support ends.

Link: https://lore.kernel.org/linux-arm-kernel/20210802141245.1146772-1-arnd@kernel.org/
Link: https://lore.kernel.org/linux-arm-kernel/20210226164345.3889993-1-arnd@kernel.org/
Link: https://github.com/ClangBuiltLinux/linux/issues/1272
Link: https://gcc.gnu.org/legacy-ml/gcc/2008-03/msg01063.html
Cc: "Martin Guy" <martinwguy@martinwguy@gmail.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2021-08-04 13:30:04 +02:00
Fabio Estevam ae4443ba2f ARM: imx_v6_v7_defconfig: Let CONFIG_SCSI_LOWLEVEL be selected
When using Yocto's Ptest DISTRO_FEATURE the CONFIG_SCSI_DEBUG=m option
is added, but it cannot be selected as it depends on CONFIG_SCSI_LOWLEVEL.

This generates a build warning saying that the CONFIG_SCSI_DEBUG=m option
is discarded.

Fix this by letting CONFIG_SCSI_LOWLEVEL to be selected.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2021-08-04 17:01:46 +08:00
Fabio Estevam 3d1fc360ac ARM: imx_v6_v7_defconfig: Select CONFIG_KPROBES
Building lttng-modules without CONFIG_KPROBES selected gives a build
error.

Select CONFIG_KPROBES by default.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2021-08-04 17:01:36 +08:00
Arnd Bergmann 19c1eb3605 Fixes for omaps for v5.14-rc series
Some fixes for regressions and boot issues for various devices:
 
 - Fix gpt12 system timer regression on earlier beagleboard revisions
 
 - Fix potential NULL pointer access for omap_hwmod_get_pwrdm()
 
 - Disable RNG on secure am335x variants as it's not accessible
 
 - Fix flakey DCDC2 voltage causing hangs on am43x-epos-evm by reducing
   i2c0 bus speed for tps65218
 
 - Fix typo for am437x-l4 can@0 node
 
 - Fix omap5 regression caused by vdds_1v8_main fixed-regulator
 -----BEGIN PGP SIGNATURE-----
 
 iQJFBAABCAAvFiEEkgNvrZJU/QSQYIcQG9Q+yVyrpXMFAmEJPoMRHHRvbnlAYXRv
 bWlkZS5jb20ACgkQG9Q+yVyrpXPG3hAAkohFQj9teK5ZXtIaER7oxMpSu+ziYFY8
 jZOKIk0c3h9KfTy+9DhnYbEgbZLVGyfkcPTysvmZmDk+mBQ4QnCGYQIcNBxX86CS
 8cnjbP3+yE1YuYSuNyK556ISm/WPIBNCvcP0OZIiCQ5eN4lzLHZAC7UXeleIAZrb
 wl93IhYXtyFKlnG/sRj3+3Qc18wJXGYStfRZ137fKvjDDrkFgYGRL/GRcFBsq0Gx
 PyyZHxA+sKw96UtaROLqSRoNtpWRS4nOb4I3tXm8Ma3l0Dlja1Rbh1v+UO7yLzgJ
 b/tZSla32YE26vmHYAPJbhLois/6tKkA9EAJSWgaQFTY6f28WrXPz1FKZgq7n2yU
 0ebrC34YiWDCb72xW5RTAzjCsw2i5jSLIVZxtmZQVs8hPlGfNQxRYMWd+FZ3NX+9
 J1QUPmu16lQvL6q2S3xdh2ZZe9FjFpnb+d9hPnAUjeRJmgHksh0mNtR/AD0TowpT
 I7l7sjikJ36klMuZm1Pll2ngo5FPMrm0+dc8nbZhWEkZqlvLIvLVQ8IRPzl+9JJx
 /XwiJxQ07KMn3z3wt1bpDj/izrkDYWUEGo9eB3ph+3Jx59UXGvRFodJ3BNjDQO6I
 L6HVOahB6l7hwDq6VKEmyCMj+I7l5XJZWTv0r6yWZnlxCRbqnehy2b4VUes9viYT
 J1UNbh1jPy8=
 =Ismq
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEo6/YBQwIrVS28WGKmmx57+YAGNkFAmEJW0AACgkQmmx57+YA
 GNluWA//QYOXdp8o1fYbbUlT57TM7LS9I1YtdIkRd/W52itgStpFKA9O5mPd74zT
 JChQOKD2zkv23H8sGy5DMppCxnYAyvv+NHDSanb/Abnshojj1XKj7KNIQ6C53CiG
 Ppaac2ADn4UaHgBrnnAOWKsH5tUnLTaoFOmLaRFg/EX/yOICnkOelP9rr9o/HSU+
 75fvzgxx//UyHVOpUwxM909nGwhnYgPAEeaCaZ4qot4DmfiHqYig2C+Vh83T6Qb8
 4Bv391i/J9WsnzsfTKaxReruMgwd+P9d4N4eAGHc4sXk+DldJd6mcBG+19GKpyef
 SNWIkiLrSM17FFSfXBZ5FtwOAk9cAsPE3GBcS8bO/ug7NV6JYoz46Gk1CLyKDL2n
 b5l71aEPcCRLbbLguySSoZ4F/LQfyTITbzeuUqw1ojpywL79XXS+twj5EpyG3Akp
 VZ/W5wZ5uY0pmLctyHJRu6bNcepOh3beWcrq+xho7ov5/fxny+O+uszlkH1QJ0W+
 W3XuhrOTGmYsukasxwPgYHTpsiNmB0zMANz27zausoq5wYhWdGkcXPUtnYdIOv/C
 s0gr7qiyuEE3k/yM0o+iqYXpUrnrZdkwcHADGiCoWn9T6VMtW6f/h2b2LCYZx/oC
 IJVC8j/84aygv79rjMO0Riso0oKcr1U8KS6W85L8aED0r4rQOI4=
 =2UNB
 -----END PGP SIGNATURE-----

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

Fixes for omaps for v5.14-rc series

Some fixes for regressions and boot issues for various devices:

- Fix gpt12 system timer regression on earlier beagleboard revisions

- Fix potential NULL pointer access for omap_hwmod_get_pwrdm()

- Disable RNG on secure am335x variants as it's not accessible

- Fix flakey DCDC2 voltage causing hangs on am43x-epos-evm by reducing
  i2c0 bus speed for tps65218

- Fix typo for am437x-l4 can@0 node

- Fix omap5 regression caused by vdds_1v8_main fixed-regulator

* tag 'omap-for-v5.14/fixes-rc5-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap:
  omap5-board-common: remove not physically existing vdds_1v8_main fixed-regulator
  ARM: dts: am437x-l4: fix typo in can@0 node
  ARM: dts: am43x-epos-evm: Reduce i2c0 bus speed for tps65218
  bus: ti-sysc: AM3: RNG is GP only
  ARM: omap2+: hwmod: fix potential NULL pointer access
  bus: ti-sysc: Fix gpt12 system timer issue with reserved status

Link: https://lore.kernel.org/r/pull-1627995895-406133@atomide.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2021-08-03 17:05:36 +02:00
Suman Anna 8c054cd281 ARM: dts: am57xx: Add PRUSS MDIO controller nodes
The PRUSSs on AM57xx SoCs contain an MDIO controller that can
be used to control external PHYs associated with the Industrial
Ethernet peripherals within each PRUSS. The MDIO module used
within the PRU-ICSS is an instance of the MDIO Controller used
in TI Davinci SoCs. The same bus frequency of 1 MHz is chosen as
the regular MDIO node.

The nodes are added in the common am57-pruss.dtsi file and enabled
by default, but are disabled in all the existing AM57xx board dts
files. These nodes need pinctrl lines, and so should be enabled
only on boards where they are actually wired and pinned out for
PRUSS Ethernet. Any new board dts file should disable these if
they are not sure.

Signed-off-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Andrew F. Davis <afd@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2021-08-03 15:25:14 +03:00
Suman Anna b8afeaee9d ARM: dts: am57xx: Add PRU-ICSS nodes
Add the DT nodes for the PRU-ICSS1 and PRU-ICSS2 processor subsystems
that are present on AM57xx family of SoCs. Each PRU-ICSS instance is
represented by a pruss node and other child nodes. The two PRU-ICSSs
are identical to each other. They are not supported on DRA7xx SoCs in
general, so the nodes are added under the respective interconnect target
module nodes in a common am57-pruss.dtsi file. The file is already
included only in the AM57xx related board files.

The PRU-ICSSs on AM57xx are very similar to the PRUSS in AM33xx and AM437x
except for variations in the RAM sizes and the number of interrupts coming
into the MPU INTC. The interrupt events into the PRU-ICSS also requires
programming of the corresponding crossbars properly.

The PRUSS subsystem node contains the entire address space. The various
sub-modules of the PRU-ICSS are represented as individual child nodes
(so platform devices themselves) of the PRUSS subsystem node. These
include the two PRU cores and the interrupt controller. All the Data
RAMs are represented within a child node of its own named 'memories'
without any compatible. The Real Time Media Independent Interface
controller (MII_RT), and the CFG sub-module are represented as syscon
nodes. The PRUSS CFG module has a clock mux for IEP clock, this clk
node is added under the CFG child node 'clocks'. The default source
for this mux clock is the ICSS_IEP_CLK clock.

The DT nodes use all standard properties. The regs property in the PRU
nodes define the addresses for the Instruction RAM, the Debug and Control
sub-modules for that PRU core. The firmware for each PRU core is defined
through a 'firmware-name' property.

The default names for the firmware images for each PRU core are defined
as follows (these can be adjusted either in derivative board dts files or
through sysfs at runtime if required):
    PRU-ICSS1 PRU0 Core: am57xx-pru1_0-fw
    PRU-ICSS1 PRU1 Core: am57xx-pru1_1-fw
    PRU-ICSS2 PRU0 Core: am57xx-pru2_0-fw
    PRU-ICSS2 PRU1 Core: am57xx-pru2_1-fw

Note:
1. There are few more sub-modules like the Industrial Ethernet Peripheral
   (IEPs), MDIO, UART, eCAP that do not have bindings and so will be added
   in the future.
2. The PRUSS INTC on AM57xx SoCs also connect the host interrupts 6 and 7
   as possible DMA events, so use the 'ti,irqs-reserved' property in
   derivative board dts files _if_ any of them should not be handled by
   the host OS.

Signed-off-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2021-08-03 15:25:14 +03:00
Andrew F. Davis 670be468b3 ARM: dts: am4372: Add PRUSS MDIO controller node
The PRU-ICSS1 instance on AM437x SoCs has a MDIO sub-module that
can be used to control external PHYs associated with the Industrial
Ethernet peripherals within the PRUSS. The MDIO module used within
this PRU-ICSS is an instance of the MDIO Controller used in TI
Davinci SoCs. The same bus frequency of 1 MHz is chosen as the
regular MDIO node. Note that there is no MDIO node added to the
smaller PRU-ICSS0 instance as the MDIO pins are not pinned out.

The node is added and enabled in the common am4372.dtsi file by
default, and disabled in all the existing AM437x board dts files.
This node needs pinctrl lines, and so should be enabled only on
boards where they are actually wired and pinned out for PRUSS
Ethernet. Any new board dts file should disable these if they
are not sure.

Signed-off-by: Andrew F. Davis <afd@ti.com>
[s-anna@ti.com: fix reg address, add commit description]
Signed-off-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2021-08-03 15:25:13 +03:00
Suman Anna 0de8049ed4 ARM: dts: am4372: Add the PRU-ICSS0 DT node
The AM4376+ SoCs have a second smaller PRU-ICSS subsystem (PRUSS0) in
addition to the primary PRUSS1 instance. The PRUSS0 has less DRAM
per PRU, and no Shared DRAM among other minor differences. The IEP
and MII_RT modules even though present within the IP are not pinned
out.

This PRUSS0 instance has a weird SoC integration. It shares the same
L3 OCP interconnect interface with PRUSS1, and also shares its reset
line and clocks. Any external accesses from PRUSS0 requires the PRUSS1's
PRUSS_SYSCFG register to be programmed properly. That said, it is its
own IP instance (a cut-down version), and so it has been added as an
independent node (sibling node to PRUSS1 node) and a child node of the
corresponding PRUSS target module interconnect node. This allows the
PRUSS0 instance to be enabled/disabled independently of the PRUSS1
instance.

The nodes are added under the corresponding interconnect target module
node in the common am4372 dtsi file. The PRU-ICSS instances are not
supported on AM4372 SoC though in the AM437x family, so the interconnect
target module node should be disabled in any derivative board dts file that
uses AM4372 SoCs. The individual PRUSS node can be disabled in the
corresponding board dts file if desired.

The default names for the firmware images for each PRU core are defined
as follows (these can be adjusted either in derivative board dts files or
through sysfs at runtime if required):
     PRU-ICSS0 PRU0 Core: am437x-pru0_0-fw
     PRU-ICSS0 PRU1 Core: am437x-pru0_1-fw

Note:
1. There are few more sub-modules like the Industrial Ethernet Peripheral
   (IEP), eCAP, UART, that do not have bindings and so will be added in the
   future. Only UART is pinned out, so others should be added in disabled
   state if added.
2. The PRUSS0 INTC on AM437x SoCs routes the host interrupt 5 to the other
   PRUSS1, so it is already marked reserved through the 'ti,irqs-reserved'
   property.

Signed-off-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2021-08-03 15:25:13 +03:00
Suman Anna 152b53b41d ARM: dts: am4372: Add the PRU-ICSS1 DT node
Add the DT node for the PRU-ICSS1 instance on the AM437x family of SoCs.
Each PRU-ICSS instance is represented by a pruss node and other child
nodes. The nodes are added under the interconnect target module node in
the common am4372 dtsi file. The PRU-ICSS instances are supported only
on AM4376+ SoCs though in the AM437x family, so the interconnect target
module node should be disabled in any derivative board dts file that
uses AM4372 SoCs.

The PRU-ICSS1 on AM437x is very similar to the PRUSS in AM33xx, except
for variations in the RAM sizes, bus addresses and the number of
interrupts coming into the MPU INTC (host interrupt 5 is routed to
the other PRUSS instead of MPU).

The PRUSS subsystem node contains the entire address space. The various
sub-modules of the PRU-ICSS are represented as individual child nodes
(so platform devices themselves) of the PRUSS subsystem node. These
include the two PRU cores and the interrupt controller. All the Data
RAMs are represented within a child node of its own named 'memories'
without any compatible. The Real Time Media Independent Interface
controller (MII_RT), and the CFG sub-module are represented as syscon
nodes. The PRUSS CFG module has a clock mux for IEP clock, this clk
node is added under the CFG child node 'clocks'. The default source
for this mux clock is the PRU_ICSS_IEP_GCLK clock.

The DT nodes use all standard properties. The regs property in the PRU
nodes define the addresses for the Instruction RAM, the Debug and Control
sub-modules for that PRU core. The firmware for each PRU core is defined
through a 'firmware-name' property.

The default names for the firmware images for each PRU core are defined
as follows (these can be adjusted either in derivative board dts files
or through sysfs at runtime if required):
     PRU-ICSS1 PRU0 Core: am437x-pru1_0-fw
     PRU-ICSS1 PRU1 Core: am437x-pru1_1-fw

Note:
1. There are few more sub-modules like the Industrial Ethernet Peripheral
   (IEP), MDIO, UART, eCAP that do not have bindings and so will be added
   in the future.
2. The PRUSS INTC on AM437x SoCs also connect the host interrupt 0 to ADC0
   and ADC1; 6 and 7 as possible DMA events, so use the 'ti,irqs-reserved'
   property in derivative board dts files _if_ any of them should not be
   handled by the host OS. Host interrupt 5 is already marked reserved as
   it is connected to the other PRUSS instance.

Signed-off-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2021-08-03 15:25:12 +03:00
Suman Anna 8668711b00 ARM: dts: am335x-icev2: Enable PRU-ICSS module
The PRU-ICSS target module node was left in disabled state in the
base am33xx-l4.dtsi file. PRU-ICSS is supported on the AM335x ICEv2
board, so enable this node to support PRUSS on this board. The PRUSS
node and most of its child nodes are already enabled in the base dts
file, and so become effective automatically with the enabling of
this PRU-ICSS target module node.

The corresponding PRU nodes can be disabled later on if there are
no use-cases defined to use a particular PRU core or the whole
PRU-ICSS subsystem itself if both its PRU cores are unused.

Signed-off-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2021-08-03 15:25:11 +03:00
Suman Anna 7acf5661b6 ARM: dts: am335x-evmsk: Enable PRU-ICSS module
The PRU-ICSS target module node was left in disabled state in the
base am33xx-l4.dtsi file. PRU-ICSS is supported on the AM335x SK
EVM board, so enable this node to support PRUSS on this board. The
PRUSS node and most of its child nodes are already enabled in the
base dts file, and so become effective automatically with the
enabling of this PRU-ICSS target module node.

The corresponding PRU nodes can be disabled later on if there are
no use-cases defined to use a particular PRU core or the whole
PRU-ICSS subsystem itself if both its PRU cores are unused.

Signed-off-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2021-08-03 15:25:11 +03:00
Suman Anna 6bcf2b67e0 ARM: dts: am335x-evm: Enable PRU-ICSS module
The PRU-ICSS target module node was left in disabled state in the
base am33xx-l4.dtsi file. PRU-ICSS is supported on the AM335x EVM,
so enable this node on the AM335x EVM. The PRUSS node and most of
its child nodes are already enabled in the base dts file, and so
become effective automatically with the enabling of this PRU-ICSS
target module node.

The corresponding PRU nodes can be disabled later on if there are
no use-cases defined to use a particular PRU core or the whole
PRU-ICSS subsystem itself if both its PRU cores are unused.

Signed-off-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2021-08-03 15:25:10 +03:00
Suman Anna 7c6a0fdcd4 ARM: dts: am335x-bone-common: Enable PRU-ICSS node
The PRU-ICSS target module node was left in disabled state in the base
am33xx-l4.dtsi file. Enable this node on all the AM335x beaglebone
boards as they mostly use a AM3358 or a AM3359 SoC which do contain
the PRU-ICSS IP. The PRUSS node and most of its child nodes are already
enabled in the base dts file, and so become effective automatically
with the enabling of this PRU-ICSS target-module node.

The corresponding PRU nodes can be disabled later on if there are
no use-cases defined to use a particular PRU core or the whole
PRU-ICSS subsystem itself if both its PRU cores are unused.

Signed-off-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2021-08-03 15:25:09 +03:00
Suman Anna 984ba7ee45 ARM: dts: am33xx-l4: Add PRUSS MDIO controller node
The PRUSS on AM335x SoCs has a MDIO sub-module that can be used
to control external PHYs associated with the Industrial Ethernet
peripherals within the PRUSS. The MDIO module used within the
PRU-ICSS is an instance of the MDIO Controller used in TI Davinci
SoCs. The same bus frequency of 1 MHz is chosen as the regular
MDIO node.

The node is added to the common am33xx-l4.dtsi file and is disabled.
This needs to be enabled in the respective board files using the
relevant AM335x SoCs supporting PRUSS and where the ethernet is
pinned out and connected properly.

Signed-off-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2021-08-03 15:25:09 +03:00
Suman Anna 9b694bea4b ARM: dts: am33xx-l4: Add PRUSS node
Add the DT nodes for the PRU-ICSS on AM33xx family of SoCs. The AM33xx
SoCs contain a single PRU-ICSS instance and is represented by a pruss
node and other child nodes. PRU-ICSS is supported only on AM3356+ SoCs
though in the AM33xx family, so the nodes are added under the
corresponding disabled interconnect target module node in the common
am33xx-l4 dtsi file. The target module node should be enabled in only
those derivative board files that use a SoC containing PRU-ICSS.

The PRUSS subsystem node contains the entire address space. The various
sub-modules of the PRU-ICSS are represented as individual child nodes
(so platform devices themselves) of the PRUSS subsystem node. These
include the two PRU cores and the interrupt controller. All the Data
RAMs are represented within a child node of its own named 'memories'
without any compatible. The Real Time Media Independent Interface
controller (MII_RT), and the CFG sub-module are represented as syscon
nodes. The PRUSS CFG module has a clock mux for IEP clock, this clk
node is added under the CFG child node 'clocks'. The default source
for this mux clock is the PRU_ICSS_IEP_GCLK clock.

The DT nodes use all standard properties. The regs property in the PRU
nodes define the addresses for the Instruction RAM, the Debug and Control
sub-modules for that PRU core. The firmware for each PRU core is defined
through a 'firmware-name' property.

The default names for the firmware images for each PRU core are defined
as follows (these can be adjusted either in derivative board dts files
or through sysfs at runtime if required):
     PRU-ICSS PRU0 Core: am335x-pru1_0-fw
     PRU-ICSS PRU1 Core: am335x-pru1_1-fw

Note:
1. There are few more sub-modules like the Industrial Ethernet Peripheral
   (IEP), MDIO, UART, eCAP that do not have bindings and so will be added
   in the future.
2. The PRUSS INTC on AM335x SoCs also connect the host interrupts 0 to
   TSC_ADC; 6 and 7 as possible DMA events, so use the 'ti,irqs-reserved'
   property in derivative board dts files _if_ any of them should not be
   handled by the host OS.

Signed-off-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2021-08-03 15:25:08 +03:00
Steven Lee dbc9776532 ARM: dts: aspeed-g5: Remove ngpios from sgpio node.
Remove ngpios property from sgpio node as it should be defined in the
platform dts.

Signed-off-by: Steven Lee <steven_lee@aspeedtech.com>
Reviewed-by: Andrew Jeffery <andrew@aj.id.au>
Link: https://lore.kernel.org/r/20210712100317.23298-5-steven_lee@aspeedtech.com
Signed-off-by: Joel Stanley <joel@jms.id.au>
2021-08-03 15:22:39 +09:30
Steven Lee 09eccdc9eb ARM: dts: aspeed-g6: Add SGPIO node.
AST2600 supports 2 SGPIO master interfaces one with 128 pins another one
with 80 pins.

Signed-off-by: Steven Lee <steven_lee@aspeedtech.com>
Link: https://lore.kernel.org/r/20210712100317.23298-4-steven_lee@aspeedtech.com
Signed-off-by: Joel Stanley <joel@jms.id.au>
2021-08-03 15:22:39 +09:30
Arnd Bergmann 272614ec1b Renesas ARM DT updates for v5.15
- Switches support for the Draak and Ebisu development boards,
   - I2C support on RZ/G2L,
   - I2C EEPROM support on the Ebisu development board,
   - Sound support for the R-Car D3 SoC and the Draak development board,
   - Support for the new R-Car H3e-2G and M3e-2G SoCs on the Salvator-XS
     and ULCB development boards,
   - IOMMU support for DMAC, EtherAVB, and SDHI on the R-Car M3-W+ SoC,
   - Miscellaneous fixes and improvements.
 -----BEGIN PGP SIGNATURE-----
 
 iHUEABYIAB0WIQQ9qaHoIs/1I4cXmEiKwlD9ZEnxcAUCYQP5swAKCRCKwlD9ZEnx
 cM9LAPoDlEbU8ZrWeJIg627jDFrlXoV349RvxDddpPkI61fftQEAp4HiOe2hvCUW
 AlTISLtTnjgJkqx26eIhByQuAtcqRgs=
 =AMJC
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEo6/YBQwIrVS28WGKmmx57+YAGNkFAmEH8coACgkQmmx57+YA
 GNlO4RAAod5A4vHAT1GmTL07BRt2srNDf7i2U6Jw+DqvXYs+M8JOQ7P9ZCHoFNCM
 SXOqTbfriLrQ1gVTVcq9fP/Z7/eCRz8a4MBqQaZjfgtsBvd3PQAkrviY+mesZZpA
 oVATEu22ilyE5YTnMOiYjFCX8aCc4wEeAKaxnjA1V4pdwuEOpxrSUH59o3Jx3tLZ
 bwixhjX3yBbDexr0CZb+1qwQSsb15hCNKMIJSI16RHMpYwezegjKXzXfa9y6TUzZ
 omE+llDoF5z+ubDhQvmKFckGf4WPnaWJ2tLrIY7Whbj1PfD0EM57FTfJtmbrnkKw
 MAVCXfZFl6ULmDGcIqL0s1bn51B/GvZJYW7fbxDDGYQcuAgA0emwsfFrO5HWZ3uv
 a/htVS8JoU8Wxxa6Rd1/NAniolq1S4s+X2Fzm6JKhdpf2UBZ+Kj2+ltZeYrmoBNY
 /R0GiRdF8KU6ViIUwYfJMdzRj2T4ibqojuA8s1Wd09dZxeRc6hAZuyqZiYunLMY0
 yKdVDZT72t433pAtAcxQH0wOSuylL5ahcBvcDnL22/egKuvr2fIRG61YqU/L7hl/
 JHMWUf3P4tP4oWYPIeSZWGm3AwUU/G/POMF1MoKwztUXZClo7KeelAWT7Lqtt0XC
 jMguRQyBDveuV4vf1rOgQlOYBNrPF/0zEhFBmmC0RJRAmvW+A3Q=
 =T8YY
 -----END PGP SIGNATURE-----

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

Renesas ARM DT updates for v5.15

  - Switches support for the Draak and Ebisu development boards,
  - I2C support on RZ/G2L,
  - I2C EEPROM support on the Ebisu development board,
  - Sound support for the R-Car D3 SoC and the Draak development board,
  - Support for the new R-Car H3e-2G and M3e-2G SoCs on the Salvator-XS
    and ULCB development boards,
  - IOMMU support for DMAC, EtherAVB, and SDHI on the R-Car M3-W+ SoC,
  - Miscellaneous fixes and improvements.

* tag 'renesas-arm-dt-for-v5.15-tag1' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-devel: (29 commits)
  arm64: dts: renesas: r8a77961: Add iommus to ipmmu_ds[01] related nodes
  arm64: dts: renesas: Add support for M3ULCB+Kingfisher with R-Car M3e-2G
  arm64: dts: renesas: Add support for M3ULCB with R-Car M3e-2G
  arm64: dts: renesas: Add support for Salvator-XS with R-Car M3e-2G
  arm64: dts: renesas: Add support for H3ULCB+Kingfisher with R-Car H3e-2G
  arm64: dts: renesas: Add support for H3ULCB with R-Car H3e-2G
  arm64: dts: renesas: Add support for Salvator-XS with R-Car H3e-2G
  arm64: dts: renesas: Add Renesas R8A779M3 SoC support
  arm64: dts: renesas: Add Renesas R8A779M1 SoC support
  arm64: dts: renesas: hihope-rzg2-ex: Add EtherAVB internal rx delay
  arm64: dts: renesas: r8a77995: draak: Add R-Car Sound support
  arm64: dts: renesas: r8a77995: Add R-Car Sound support
  arm64: dts: renesas: rcar-gen3: Add SoC model to comment headers
  arm64: dts: renesas: r8a77990: ebisu: Add I2C EEPROM for PMIC
  arm64: dts: renesas: r8a77995: draak: Remove bogus adv7511w properties
  arm64: dts: renesas: beacon: Enable micbias
  arm64: dts: renesas: r9a07g044: Add I2C nodes
  arm64: dts: renesas: r8a779a0: Restore sort order
  arm64: dts: renesas: r8a77990: ebisu: Add SW4 support
  arm64: dts: renesas: r8a77995: draak: Add SW56 support
  ...

Link: https://lore.kernel.org/r/cover.1627650696.git.geert+renesas@glider.be
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2021-08-02 15:23:22 +02:00
Cristian Ciocaltea 062f82a0b7
ARM: dts: owl-s500-roseapplepi: Add ethernet support
Add pinctrl configuration for enabling the Ethernet MAC on RoseapplePi
SBC. Additionally, provide the necessary properties for the generic S500
ethernet node in order to setup PHY and MDIO.

Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@gmail.com>
Signed-off-by: Manivannan Sadhasivam <mani@kernel.org>
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Link: https://lore.kernel.org/r/d0e1fbf81984127f0352eb740c7129424b5e40f9.1623401998.git.cristian.ciocaltea@gmail.com
Link: https://lore.kernel.org/r/20210628072817.8269-3-mani@kernel.org'
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2021-08-02 15:22:55 +02:00
Cristian Ciocaltea df5060dce7
ARM: dts: owl-s500: Add ethernet support
Add Ethernet MAC device tree node for Actions Semi S500 SoC.

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@gmail.com>
Signed-off-by: Manivannan Sadhasivam <mani@kernel.org>
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Link: https://lore.kernel.org/r/222ee0c2cb431619f558dce9726585ac92f65e00.1623401998.git.cristian.ciocaltea@gmail.com
Link: https://lore.kernel.org/r/20210628072817.8269-2-mani@kernel.org'
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2021-08-02 15:22:55 +02:00
Arnd Bergmann b07bf042e6 STM32 DT fixes for v5.14, round 1
Highlights:
 -----------
 
  -Fixes are for DHCOM/DHCOR boards:
   - Set HW RTC ad default RTC
   - Disable EDPD LAN8710 feature as it is not a stable feature.
   - Fix touchscreen IRQ line assignment
 -----BEGIN PGP SIGNATURE-----
 
 iQJRBAABCgA7FiEEctl9+nxzUSUqdELdf5rJavIecIUFAmEEA3EdHGFsZXhhbmRy
 ZS50b3JndWVAZm9zcy5zdC5jb20ACgkQf5rJavIecIWF/g/+LI5Ld4tVk7QaLGgw
 5AraxEPXuSObEwUbF1uAiip3Z4clhzaM7DfWx6SYr5GfP4sFyjblCaIQeTHEqVBJ
 bM8x4BJaoSbZwbDXFAcMCcgObyuJbxXKWk8vfJfEyWcTxhLcnCJT/FBigEbQHeY6
 PCRngyNEABBzxTEkwjBEFtnZXJA6rHp77Iy4hY6ZhjmAfb3CR+IkFJJD10EoTgM1
 J3Zuu7syAXhWJUgMBhfDuwHFca2nwbmznSYSNBE8U2fj0QYzZIgSqupCev8IjIou
 GR/2z8Hvdn2hGmwQ9aJU35bxdUPZdMu1hL78Da0MYbDvEXM5XxhvV0w5tUPMLxyJ
 pBKLUTqJQybQXdFSWk1BEqlGo6Wh+ApFgnsqFRVyCW3tajWH5iptjHzpA85Dtt09
 kwvSWo86yCT5jriamZoN3UnlbCmwRneutBnXcLY5hgxCmxs/vJiJDlIf9ttMezbj
 D0lltk+TTSwgwVx3xX5yKSocDKkrS00NOUI2jvRbWl7ZYbKe7qxtorzkWJeowIkH
 y5eos86g+pKsBaujhBaUVLSGym2cm8CrNdAOvmnOSS8encUExf3QeYysCE2ojfSR
 pZQ8vJ5AK1LAMeKjmYZiOVMK5zOcSaL9EHaoUpa5il9BDz+B/Lxx1TQWtnI/zabz
 bO2aE28TkYvM7IFQESTG3TqeOAg=
 =kMxX
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEo6/YBQwIrVS28WGKmmx57+YAGNkFAmEH5voACgkQmmx57+YA
 GNm38RAAlFjVh8J8w5Qx9iLl8JRWbb5kHXmMOw040tXc6niO+SqN3BF80WTG6Ii1
 4xp7/eqQFCY2m5T3dSiHw3IaUGsYqgMgtc07Z5EuyeXIKI5++m78Ism7BufGRx8u
 pv2D26mudumc4wKzgsdV6yfzUIdxqU5VaDK4N8LDW3mY7vRC6xqU3f6rwvZxjlPQ
 dKQRsCotAWrqfTvEOWfOWZHSY9m5rgrWk2dr9Im3RdGOksD2xxDvBzSFLH2UHYYd
 LGk0Ol+TB2pjymHZwrpMj7WA+7iI3TDRHKVtYRBMUXDHRqWL2d83VFSU2qfkURmp
 SgIrLnVGVPM6fSxC0aysvhIqqX3ikJtAqzDHntR+i1oh527rnQ3lyLHW501JvIc3
 ZpkRkaIxCs1NRR4JT9pwf+pdvbJQhOQHck2RKyDvax4xeWADYN7uSXrtcIPfvN6R
 BqVkN8foCMlkKwliQenet6xsgCDoGdSidP0QyGhbLim9PSPC41I+fbe518nwu6OW
 merUOdM7Q8olFWnYkcpHZa/XSKnWcLQmtKB4GwsXQI/ZFkV06xhZCULkKl7N7qsu
 2iF1JfeJiv7TCllg3TmUXjXYl+YMv+OOKB6B94HUo4jbJ5kli/G451EX+W75A0mY
 Gcgjsj6X2TzjXPDqaQKk1yVfa2bMgn86M74EUSW3Gk6e+v3pCI8=
 =2yIl
 -----END PGP SIGNATURE-----

Merge tag 'stm32-dt-for-v5.14-fixes-1' of git://git.kernel.org/pub/scm/linux/kernel/git/atorgue/stm32 into arm/fixes

STM32 DT fixes for v5.14, round 1

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

 -Fixes are for DHCOM/DHCOR boards:
  - Set HW RTC ad default RTC
  - Disable EDPD LAN8710 feature as it is not a stable feature.
  - Fix touchscreen IRQ line assignment

* tag 'stm32-dt-for-v5.14-fixes-1' of git://git.kernel.org/pub/scm/linux/kernel/git/atorgue/stm32:
  ARM: dts: stm32: Fix touchscreen IRQ line assignment on DHCOM
  ARM: dts: stm32: Disable LAN8710 EDPD on DHCOM
  ARM: dts: stm32: Prefer HW RTC on DHCOM SoM

Link: https://lore.kernel.org/r/c0b6031b-2de7-2ef8-71b2-a0af8f475932@foss.st.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2021-08-02 14:37:14 +02:00
Arnd Bergmann bee7574851 i.MX fixes for 5.14:
- A couple of fixes on MMDC driver to add missing iounmap() and
   clk_disable_unprepare(), and a follow-up fix.
 - Fix missing-prototypes warning in SRC driver.
 - Revert commit 7d981405d0 ("soc: imx8m: change to use platform
   driver"), which breaks i.MX8M system that has CAAM driver enabled.
 - One fix on imx53-m53menlo pinctrl configuration.
 - Increase the PHY reset duration for imx6qdl-sr-som to fix intermittent
   issues where the PHY would be unresponsive every once in a while.
 - Add missing flag for in-band signalling between PHY and MAC on
   kontron-sl28-var2 board to fix network support.
 - Limit the SDIO Clock on Colibri iMX6ULL to 25MHz for fixing wireless
   noise issue.
 - Fix sysclk node name for LS1028A so that U-Boot is able to update the
   "clock-frequency" property.
 -----BEGIN PGP SIGNATURE-----
 
 iQFIBAABCgAyFiEEFmJXigPl4LoGSz08UFdYWoewfM4FAmD+HlIUHHNoYXduZ3Vv
 QGtlcm5lbC5vcmcACgkQUFdYWoewfM6hLQf/eioNfOs4vSi6Kgjy3xSsB/6dmybK
 0kTs9ReNYPBRC/VSMqogR1NpUSC9lnIqBc7LqlyearNdcdbM4OPiiei883vGsm/X
 4pI5nc+INp1efSwkKJGaBiUMNjQ5XlNUyr9mR7jYjD0FOngFF/FXrE2vjH498Jk6
 6v/I3blGMC6v/eRwAGP/54JdvVNT1VK9+IaGMQhm/cfKFk3dvCVmYaeboiATtR4L
 Nfn3Q5FjyBQFw1vpDWf1r13ZFVfcvFENHhrqtYa/PzeRe3aJXRXweanfstVHi2W3
 4uBD4wl8G5ll56Xkn4r0jSBkyxQAis/AbTLIJDeDoPhmSI4F9xxWqP+MCg==
 =MJbS
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEo6/YBQwIrVS28WGKmmx57+YAGNkFAmEH5ikACgkQmmx57+YA
 GNm4wBAAxEWPoUxTyprNIlDg580DlS9j6J5XNIhg7Etp5IHMEFbcI+A5LuZq+0H9
 OdX0usFt6H+Cy/y1Ixy/2jtH+ytBzfkIzZ5K8AoSwb5XmD2ambNyFw2vTKRUxSQm
 8sazNjVPC/3orE+0k/wAszV/BvzO/nQG1chJ5ae8mX9+w6VdQFDXwHB7UbgaKodH
 RHtqDDU7+3EyaGtnQ+WdpOMfo/+UELv961WznS2ueXDJW4MlDO9sqXSbEVs9v7XD
 DwsKcVfEIhxfnoOgv9aNNfCD1TiBUYQtZyVhz7CN3+Wv37YZP6pcZAJcSugYvxpf
 dXK8Jn+yaI7/s/2Q7a39sRCXimRwFVGgeeRhfYF9RSf6z+Eoqgfpltmm+A60s3AL
 Wq+Cg5pPpCQOJqn5sbtROjSC2xrCzMiSxx/m7UyMobyzv1OcQ/urNIDt+IiCd8eS
 O7oUnKsUa8Oo2RnaXLmHdp+95a3HS/UfYJ0LmfKa+YUMsP85nftCOjekkwA+EBz6
 VW6T1uBlge5dv5OZwJ1s39cWhS7HILzKKJuI/ConRVNyczmtdzIZ6n8Iw0C+JXuo
 LFrSBqvv4bPPfQ7trjvyE7NKYo+uGOvubeMP149ObQl1fCh6Eu+w1viZm3f4VvxB
 AE5erDwx8qw5FpW/H4uz+hJ7P+aDG4PGpdXqdhMmsYt4v0ckZzY=
 =W2Y5
 -----END PGP SIGNATURE-----

Merge tag 'imx-fixes-5.14' of git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux into arm/fixes

i.MX fixes for 5.14:

- A couple of fixes on MMDC driver to add missing iounmap() and
  clk_disable_unprepare(), and a follow-up fix.
- Fix missing-prototypes warning in SRC driver.
- Revert commit 7d981405d0 ("soc: imx8m: change to use platform
  driver"), which breaks i.MX8M system that has CAAM driver enabled.
- One fix on imx53-m53menlo pinctrl configuration.
- Increase the PHY reset duration for imx6qdl-sr-som to fix intermittent
  issues where the PHY would be unresponsive every once in a while.
- Add missing flag for in-band signalling between PHY and MAC on
  kontron-sl28-var2 board to fix network support.
- Limit the SDIO Clock on Colibri iMX6ULL to 25MHz for fixing wireless
  noise issue.
- Fix sysclk node name for LS1028A so that U-Boot is able to update the
  "clock-frequency" property.

* tag 'imx-fixes-5.14' of git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux:
  ARM: dts: imx: Swap M53Menlo pinctrl_power_button/pinctrl_power_out pins
  ARM: imx: fix missing 3rd argument in macro imx_mmdc_perf_init
  ARM: dts: colibri-imx6ull: limit SDIO clock to 25MHz
  arm64: dts: ls1028: sl28: fix networking for variant 2
  Revert "soc: imx8m: change to use platform driver"
  ARM: dts: imx6qdl-sr-som: Increase the PHY reset duration to 10ms
  ARM: imx: common: Move prototype outside the SMP block
  ARM: imx: add missing clk_disable_unprepare()
  ARM: imx: add missing iounmap()
  arm64: dts: ls1028a: fix node name for the sysclk

Link: https://lore.kernel.org/r/20210726023221.GF5901@dragon
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2021-08-02 14:33:45 +02:00
Arnd Bergmann 796a8c85b1
ARM: ixp4xx: goramo_mlr depends on old PCI driver
When this driver is disabled, the board file fails to build,
so add a dependency:

arch/arm/mach-ixp4xx/goramo_mlr.c: In function 'gmlr_pci_preinit':
arch/arm/mach-ixp4xx/goramo_mlr.c:472:9: error: implicit declaration of function 'ixp4xx_pci_preinit'; did you mean 'iop3xx_pci_preinit'? [-Werror=implicit-function-declaration]
  472 |         ixp4xx_pci_preinit();
      |         ^~~~~~~~~~~~~~~~~~
      |         iop3xx_pci_preinit
arch/arm/mach-ixp4xx/goramo_mlr.c: In function 'gmlr_pci_postinit':
arch/arm/mach-ixp4xx/goramo_mlr.c:481:22: error: implicit declaration of function 'ixp4xx_pci_read' [-Werror=implicit-function-declaration]
  481 |                 if (!ixp4xx_pci_read(addr, NP_CMD_CONFIGREAD, &value)) {
      |                      ^~~~~~~~~~~~~~~
arch/arm/mach-ixp4xx/goramo_mlr.c:231:35: error: 'IXP4XX_UART1_BASE_PHYS' undeclared here (not in a function)
  231 |                 .start          = IXP4XX_UART1_BASE_PHYS,
      |                                   ^~~~~~~~~~~~~~~~~~~~~~
arch/arm/mach-ixp4xx/goramo_mlr.c: In function 'gmlr_init':
arch/arm/mach-ixp4xx/goramo_mlr.c:376:9: error: implicit declaration of function 'ixp4xx_sys_init' [-Werror=implicit-function-declaration]
  376 |         ixp4xx_sys_init();
      |         ^~~~~~~~~~~~~~~

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: soc@kernel.org
Link: https://lore.kernel.org/r/20210721151620.2373500-1-arnd@kernel.org'
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2021-08-02 14:32:53 +02:00
Sudeep Holla 47091f473b
ARM: dts: nomadik: Fix up interrupt controller node names
Once the new schema interrupt-controller/arm,vic.yaml is added, we get
the below warnings:

	arch/arm/boot/dts/ste-nomadik-nhk15.dt.yaml:
	intc@10140000: $nodename:0: 'intc@10140000' does not match
	'^interrupt-controller(@[0-9a-f,]+)*$'

Fix the node names for the interrupt controller to conform
to the standard node name interrupt-controller@..

Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Cc: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20210617210825.3064367-2-sudeep.holla@arm.com
Link: https://lore.kernel.org/r/20210626000103.830184-1-linus.walleij@linaro.org'
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2021-08-02 14:23:02 +02:00
Nicolas Ferre 818c459343 ARM: dts: at91: use the right property for shutdown controller
The wrong property "atmel,shdwc-debouncer" was used to specify the
debounce delay for the shutdown controler. Replace it with the
documented and implemented property "debounce-delay-us", as mentioned
in v4 driver submission. See:
https://lore.kernel.org/r/1458134390-23847-3-git-send-email-nicolas.ferre@atmel.com/

Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Reported-by: Clément Léger <clement.leger@bootlin.com>
Reviewed-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Link: https://lore.kernel.org/r/20210730172729.28093-1-nicolas.ferre@microchip.com/
2021-08-02 12:34:09 +02:00
Linus Walleij fe2fc0fd37 ARM: dts: ux500: Adjust operating points to reality
The operating points should correspond to the actual frequencies
supported for the CPU. Other patches have fixed so these are
rounded and reported properly, this fixes the device trees to
match.

The Codina variant has a lower frequency than other devices so
indicate this in the device tree.

Cc: phone-devel@vger.kernel.org
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2021-08-02 01:41:59 +02:00
Jakub Kicinski d2e11fd2b7 Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
Conflicting commits, all resolutions pretty trivial:

drivers/bus/mhi/pci_generic.c
  5c2c853159 ("bus: mhi: pci-generic: configurable network interface MRU")
  56f6f4c4eb ("bus: mhi: pci_generic: Apply no-op for wake using sideband wake boolean")

drivers/nfc/s3fwrn5/firmware.c
  a0302ff590 ("nfc: s3fwrn5: remove unnecessary label")
  46573e3ab0 ("nfc: s3fwrn5: fix undefined parameter values in dev_err()")
  801e541c79 ("nfc: s3fwrn5: fix undefined parameter values in dev_err()")

MAINTAINERS
  7d901a1e87 ("net: phy: add Maxlinear GPY115/21x/24x driver")
  8a7b46fa79 ("MAINTAINERS: add Yasushi SHOJI as reviewer for the Microchip CAN BUS Analyzer Tool driver")

Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2021-07-31 09:14:46 -07:00
Linus Torvalds c7d1022326 Networking fixes for 5.14-rc4, including fixes from bpf, can, WiFi (mac80211)
and netfilter trees.
 
 Current release - regressions:
 
  - mac80211: fix starting aggregation sessions on mesh interfaces
 
 Current release - new code bugs:
 
  - sctp: send pmtu probe only if packet loss in Search Complete state
 
  - bnxt_en: add missing periodic PHC overflow check
 
  - devlink: fix phys_port_name of virtual port and merge error
 
  - hns3: change the method of obtaining default ptp cycle
 
  - can: mcba_usb_start(): add missing urb->transfer_dma initialization
 
 Previous releases - regressions:
 
  - set true network header for ECN decapsulation
 
  - mlx5e: RX, avoid possible data corruption w/ relaxed ordering and LRO
 
  - phy: re-add check for PHY_BRCM_DIS_TXCRXC_NOENRGY on the BCM54811 PHY
 
  - sctp: fix return value check in __sctp_rcv_asconf_lookup
 
 Previous releases - always broken:
 
  - bpf:
        - more spectre corner case fixes, introduce a BPF nospec
          instruction for mitigating Spectre v4
        - fix OOB read when printing XDP link fdinfo
        - sockmap: fix cleanup related races
 
  - mac80211: fix enabling 4-address mode on a sta vif after assoc
 
  - can:
        - raw: raw_setsockopt(): fix raw_rcv panic for sock UAF
        - j1939: j1939_session_deactivate(): clarify lifetime of
               session object, avoid UAF
        - fix number of identical memory leaks in USB drivers
 
  - tipc:
        - do not blindly write skb_shinfo frags when doing decryption
        - fix sleeping in tipc accept routine
 
 Signed-off-by: Jakub Kicinski <kuba@kernel.org>
 -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEE6jPA+I1ugmIBA4hXMUZtbf5SIrsFAmEEWm8ACgkQMUZtbf5S
 Irv84A//V/nn9VRdpDpmodwBWVEc9SA00M/nmziRBLwRyG+fRMtnePY4Ha40TPbh
 LL6orth08hZKOjVmMc6Ea4EjZbV5E3iAKtAnaX6wi1HpEXVxKtFYnWxu9ydwTEd9
 An1fltDtWYkNi3kiq7il+Tp1/yZAQ+NYv5zQZCWJ47kkN3jkjULdAEBqODA2A6Ul
 0PQgS1rKzXukE19PlXDuaNuEekhTiEfaTwzHjdBJZkj1toGJGfHsvdQ/YJjixzB9
 44SjE4PfxIaMWP0BVaD6hwzaVQhaZETXhZZufdIDdQd7sDbmd6CPODX6mXfLEq4u
 JaWylgobsK+5ScHE6siVI+ZlW7stq9l1Ynm10ADiwsZVzKEoP745484aEFOLO6Z+
 Ln/IqDQCP/yJQmnl2i0+TfqVDh6BKYoIfUUK/+nzHw4Otycy0m3kj4P+74aYfjOv
 Q+cUgbXUemcrpq6wGUK+zK0NyNHVILvdPDnHPMMypwqPk18y5ZmFvaJAVUPSavD9
 N7t9LoLyGwK3i/Ir4l+JJZ1KgAv1+TbmyNBWvY1Yk/r/vHU3nBPIv26s7YarNAwD
 094vJEJ0+mqO4h+Xj1Nc7HEBFi46JfpN2L8uYoM7gpwziIRMdmpXVLmpEk43WmFi
 UMwWJWqabPEXaozC2UFcFLSk+jS7DiD+G5eG+Fd5HecmKzd7RI0=
 =sKPI
 -----END PGP SIGNATURE-----

Merge tag 'net-5.14-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net

Pull networking fixes from Jakub Kicinski:
 "Networking fixes for 5.14-rc4, including fixes from bpf, can, WiFi
  (mac80211) and netfilter trees.

  Current release - regressions:

   - mac80211: fix starting aggregation sessions on mesh interfaces

  Current release - new code bugs:

   - sctp: send pmtu probe only if packet loss in Search Complete state

   - bnxt_en: add missing periodic PHC overflow check

   - devlink: fix phys_port_name of virtual port and merge error

   - hns3: change the method of obtaining default ptp cycle

   - can: mcba_usb_start(): add missing urb->transfer_dma initialization

  Previous releases - regressions:

   - set true network header for ECN decapsulation

   - mlx5e: RX, avoid possible data corruption w/ relaxed ordering and
     LRO

   - phy: re-add check for PHY_BRCM_DIS_TXCRXC_NOENRGY on the BCM54811
     PHY

   - sctp: fix return value check in __sctp_rcv_asconf_lookup

  Previous releases - always broken:

   - bpf:
       - more spectre corner case fixes, introduce a BPF nospec
         instruction for mitigating Spectre v4
       - fix OOB read when printing XDP link fdinfo
       - sockmap: fix cleanup related races

   - mac80211: fix enabling 4-address mode on a sta vif after assoc

   - can:
       - raw: raw_setsockopt(): fix raw_rcv panic for sock UAF
       - j1939: j1939_session_deactivate(): clarify lifetime of session
         object, avoid UAF
       - fix number of identical memory leaks in USB drivers

   - tipc:
       - do not blindly write skb_shinfo frags when doing decryption
       - fix sleeping in tipc accept routine"

* tag 'net-5.14-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net: (91 commits)
  gve: Update MAINTAINERS list
  can: esd_usb2: fix memory leak
  can: ems_usb: fix memory leak
  can: usb_8dev: fix memory leak
  can: mcba_usb_start(): add missing urb->transfer_dma initialization
  can: hi311x: fix a signedness bug in hi3110_cmd()
  MAINTAINERS: add Yasushi SHOJI as reviewer for the Microchip CAN BUS Analyzer Tool driver
  bpf: Fix leakage due to insufficient speculative store bypass mitigation
  bpf: Introduce BPF nospec instruction for mitigating Spectre v4
  sis900: Fix missing pci_disable_device() in probe and remove
  net: let flow have same hash in two directions
  nfc: nfcsim: fix use after free during module unload
  tulip: windbond-840: Fix missing pci_disable_device() in probe and remove
  sctp: fix return value check in __sctp_rcv_asconf_lookup
  nfc: s3fwrn5: fix undefined parameter values in dev_err()
  net/mlx5: Fix mlx5_vport_tbl_attr chain from u16 to u32
  net/mlx5e: Fix nullptr in mlx5e_hairpin_get_mdev()
  net/mlx5: Unload device upon firmware fatal error
  net/mlx5e: Fix page allocation failure for ptp-RQ over SF
  net/mlx5e: Fix page allocation failure for trap-RQ over SF
  ...
2021-07-30 16:01:36 -07:00
Linus Torvalds f6c5971bb7 libata-5.14-2021-07-30
-----BEGIN PGP SIGNATURE-----
 
 iQJEBAABCAAuFiEEwPw5LcreJtl1+l5K99NY+ylx4KYFAmEEEyMQHGF4Ym9lQGtl
 cm5lbC5kawAKCRD301j7KXHgppZeEADdqROLANHp21UFSPyqllHumXVrCK3jXk9d
 ZHahUqT+xQqYZ3BC0hyP7vYuq+FWpr5Rumk6nah46JRv8RnvEHLOjkBqravGl6SV
 Zw2qvGe2R7LueBshsbG9m79D0cR2hcrMj2DYvsNIriTxkDVIo2wReaAg3V/vaep6
 +kpvcjEFB9G4K/ypG2qPJnZ2TCoBmi/iJK5wTbQOpPAxQJxBCJGffBLXg/Olfy74
 k6Oovp0bQWTEziAXNlgawn/Tiwav617/eZgz4ZxgnqzeVD1jJK8bPSf+O1UbNH6z
 lmULEdrc7fMTDgTbv5mElmxtXv+Ba5WZnZgzBFASt1BgvW/BSRNhs191T9Mq4U4L
 gLWDL/oRPhnCOP/AYQVhXzaV98hlOD+UBH3zypbBsCuWLGgDOoZOqjYyTOk+9PwB
 0LFEZr5i/ZAQmgvtYSOH8u9NowhfOThVDhvfWmoD6ByoF0rPeVyPUUr0P910aVwW
 R2JkHKdixqCvyxIZqxwWfTjzApn8fzBGlcY6skMeXbh5pDo9F5HL/QbkKedoUpbj
 fcbklkr/Aggz3pLWq49RqeTtUZiFnolOtUpz09sojA75BxBV0Aa11FYf8JNSKUx+
 8RWLIT80PIxKiPV7Ym4ZG9qJKfzob7Oq/XwKxtReKCnfFcGdF2imroajggvawsmS
 8UtOqwsHjg==
 =m5TP
 -----END PGP SIGNATURE-----

Merge tag 'libata-5.14-2021-07-30' of git://git.kernel.dk/linux-block

Pull libata fixlets from Jens Axboe:

 - A fix for PIO highmem (Christoph)

 - Kill HAVE_IDE as it's now unused (Lukas)

* tag 'libata-5.14-2021-07-30' of git://git.kernel.dk/linux-block:
  arch: Kconfig: clean up obsolete use of HAVE_IDE
  libata: fix ata_pio_sector for CONFIG_HIGHMEM
2021-07-30 10:56:47 -07:00
Lukas Bulwahn 094121ef81 arch: Kconfig: clean up obsolete use of HAVE_IDE
The arch-specific Kconfig files use HAVE_IDE to indicate if IDE is
supported.

As IDE support and the HAVE_IDE config vanishes with commit b7fb14d3ac
("ide: remove the legacy ide driver"), there is no need to mention
HAVE_IDE in all those arch-specific Kconfig files.

The issue was identified with ./scripts/checkkconfigsymbols.py.

Fixes: b7fb14d3ac ("ide: remove the legacy ide driver")
Suggested-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Link: https://lore.kernel.org/r/20210728182115.4401-1-lukas.bulwahn@gmail.com
Reviewed-by: Christoph Hellwig <hch@lst.de>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2021-07-30 08:19:09 -06:00
Marek Vasut 1e6bc5987a ARM: dts: stm32: Update AV96 adv7513 node per dtbs_check
Swap reg and reg-names order and drop adi,input-justification
and adi,input-style to fix the following dtbs_check warnings:
arch/arm/boot/dts/stm32mp157a-dhcor-avenger96.dt.yaml: hdmi-transmitter@3d: adi,input-justification: False schema does not allow ['evenly']
arch/arm/boot/dts/stm32mp157a-dhcor-avenger96.dt.yaml: hdmi-transmitter@3d: adi,input-style: False schema does not allow [[1]]
arch/arm/boot/dts/stm32mp157a-dhcor-avenger96.dt.yaml: hdmi-transmitter@3d: reg-names:1: 'edid' was expected
arch/arm/boot/dts/stm32mp157a-dhcor-avenger96.dt.yaml: hdmi-transmitter@3d: reg-names:2: 'cec' was expected

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Alexandre Torgue <alexandre.torgue@foss.st.com>
Cc: Patrice Chotard <patrice.chotard@foss.st.com>
Cc: Patrick Delaunay <patrick.delaunay@foss.st.com>
Cc: linux-stm32@st-md-mailman.stormreply.com
To: linux-arm-kernel@lists.infradead.org
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
2021-07-30 15:38:11 +02:00
Marek Vasut 8aec45d788 ARM: dts: stm32: Set {bitclock,frame}-master phandles on ST DKx
Fix the following dtbs_check warning:
cs42l51@4a: port:endpoint@0:frame-master: True is not of type 'array'
cs42l51@4a: port:endpoint@0:bitclock-master: True is not of type 'array'

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Alexandre Torgue <alexandre.torgue@foss.st.com>
Cc: Patrice Chotard <patrice.chotard@foss.st.com>
Cc: Patrick Delaunay <patrick.delaunay@foss.st.com>
Cc: linux-stm32@st-md-mailman.stormreply.com
To: linux-arm-kernel@lists.infradead.org
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
2021-07-30 15:38:11 +02:00
Arnaud Pouliquen 6257dfc1c4 ARM: dts: stm32: Add coprocessor detach mbox on stm32mp15x-dkx boards
To support the detach feature, add a new mailbox channel to inform
the remote processor on a detach. This signal allows the remote processor
firmware to stop IPC communication and to reinitialize the resources for
a re-attach.

Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@foss.st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
2021-07-30 15:38:11 +02:00
Arnaud Pouliquen 9542ca9e9a ARM: dts: stm32: Add coprocessor detach mbox on stm32mp157c-ed1 board
To support the detach feature, add a new mailbox channel to inform
the remote processor on a detach. This signal allows the remote processor
firmware to stop IPC communication and to reinitialize the resources for
a re-attach.

Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@foss.st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
2021-07-30 15:38:11 +02:00
Marek Vasut e24e70aa76 ARM: dts: stm32: Add usbphyc_port1 supply on DHCOM SoM
The port is unused, but shares the same supply with port0, so fill the
DT property in. This fixes the following dtbs_check warning:
arch/arm/boot/dts/stm32mp153c-dhcom-drc02.dt.yaml: usbphyc@5a006000: usb-phy@1: 'phy-supply' is a required property

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Alexandre Torgue <alexandre.torgue@foss.st.com>
Cc: Patrice Chotard <patrice.chotard@foss.st.com>
Cc: Patrick Delaunay <patrick.delaunay@foss.st.com>
Cc: kernel@dh-electronics.com
Cc: linux-stm32@st-md-mailman.stormreply.com
To: linux-arm-kernel@lists.infradead.org
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
2021-07-30 15:38:11 +02:00
Marek Vasut 10ba166b11 ARM: dts: stm32: Add backlight and panel supply on DHCOM SoM
Fix the following dtbs_check warning:
arch/arm/boot/dts/stm32mp157c-dhcom-pdk2.dt.yaml: display-bl: 'power-supply' is a required property
arch/arm/boot/dts/stm32mp157c-dhcom-pdk2.dt.yaml: panel: 'power-supply' is a required property

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Alexandre Torgue <alexandre.torgue@foss.st.com>
Cc: Patrice Chotard <patrice.chotard@foss.st.com>
Cc: Patrick Delaunay <patrick.delaunay@foss.st.com>
Cc: kernel@dh-electronics.com
Cc: linux-stm32@st-md-mailman.stormreply.com
To: linux-arm-kernel@lists.infradead.org
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
2021-07-30 15:38:11 +02:00
Marek Vasut a79e78c391 ARM: dts: stm32: Set {bitclock,frame}-master phandles on DHCOM SoM
Fix the following dtbs_check warning:
arch/arm/boot/dts/stm32mp157c-dhcom-pdk2.dt.yaml: codec@a: port:endpoint@0:frame-master: True is not of type 'array'
arch/arm/boot/dts/stm32mp157c-dhcom-pdk2.dt.yaml: codec@a: port:endpoint@0:bitclock-master: True is not of type 'array'

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Alexandre Torgue <alexandre.torgue@foss.st.com>
Cc: Patrice Chotard <patrice.chotard@foss.st.com>
Cc: Patrick Delaunay <patrick.delaunay@foss.st.com>
Cc: kernel@dh-electronics.com
Cc: linux-stm32@st-md-mailman.stormreply.com
To: linux-arm-kernel@lists.infradead.org
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
2021-07-30 15:38:11 +02:00
Marek Vasut 15f68f027e ARM: dts: stm32: Fix touchscreen IRQ line assignment on DHCOM
While 7e5f3155dc ("ARM: dts: stm32: Fix LED5 on STM32MP1 DHCOM PDK2")
fixed the LED0 assignment on the PDK2 board, the same commit did not
update the touchscreen IRQ line assignment, which is the same GPIO line,
shared between the LED0 output and touchscreen IRQ input. To make this
more convoluted, the same EXTI input (not the same GPIO line) is shared
between Button B which is Active-Low IRQ, and touchscreen IRQ which is
Edge-Falling IRQ, which cannot be used at the same time. In case the LCD
board with touchscreen is in use, which is the case here, LED0 must be
disabled, Button B must be polled, so the touchscreen interrupt works as
it should.

Update the touchscreen IRQ line assignment, disable LED0 and use polled
GPIO button driver for Button B, since the DT here describes baseboard
with LCD board.

Fixes: 7e5f3155dc ("ARM: dts: stm32: Fix LED5 on STM32MP1 DHCOM PDK2")
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Alexandre Torgue <alexandre.torgue@foss.st.com>
Cc: Patrice Chotard <patrice.chotard@foss.st.com>
Cc: Patrick Delaunay <patrick.delaunay@foss.st.com>
Cc: linux-stm32@st-md-mailman.stormreply.com
To: linux-arm-kernel@lists.infradead.org
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
2021-07-30 15:34:51 +02:00
Marek Vasut 36862c1ebc ARM: dts: stm32: Disable LAN8710 EDPD on DHCOM
The LAN8710 Energy Detect Power Down (EDPD) functionality might cause
unreliable cable detection. There are multiple accounts of this in the
SMSC PHY driver patches which attempted to make EDPD reliable, however
it seems there is always some sort of corner case left. Unfortunatelly,
there is no errata documented which would confirm this to be a silicon
bug on the LAN87xx series of PHYs (LAN8700, LAN8710, LAN8720 at least).

Disable EDPD on the DHCOM SoM, just like multiple other boards already
do as well, to make the cable detection reliable.

Fixes: 34e0c7847d ("ARM: dts: stm32: Add DH Electronics DHCOM STM32MP1 SoM and PDK2 board")
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Alexandre Torgue <alexandre.torgue@foss.st.com>
Cc: Patrice Chotard <patrice.chotard@foss.st.com>
Cc: Patrick Delaunay <patrick.delaunay@foss.st.com>
Cc: linux-stm32@st-md-mailman.stormreply.com
To: linux-arm-kernel@lists.infradead.org
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
2021-07-30 15:10:52 +02:00
Marek Vasut 3a06708249 ARM: dts: stm32: Prefer HW RTC on DHCOM SoM
The DHCOM SoM has two RTC, one is the STM32 RTC built into the SoC
and another is Microcrystal RV RTC. By default, only the later has
battery backup, the former does not. The order in which the RTCs
are probed on boot is random, which means the kernel might pick up
system time from the STM32 RTC which has no battery backup. This
then leads to incorrect initial system time setup, even though the
HW RTC has correct time configured in it.

Add DT alias entries, so that the RTCs get assigned fixed IDs and
the HW RTC is always picked by the kernel as the default RTC, thus
resulting in correct system time in early userspace.

Fixes: 34e0c7847d ("ARM: dts: stm32: Add DH Electronics DHCOM STM32MP1 SoM and PDK2 board")
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Alexandre Torgue <alexandre.torgue@foss.st.com>
Cc: Patrice Chotard <patrice.chotard@foss.st.com>
Cc: Patrick Delaunay <patrick.delaunay@foss.st.com>
Cc: linux-stm32@st-md-mailman.stormreply.com
To: linux-arm-kernel@lists.infradead.org
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
2021-07-30 15:08:34 +02:00
Linus Walleij 8ac1247089 ARM: dts: ux500: Add a device tree for Kyle
This adds a basic device tree for the Samsung SGH-I407
mobile phone also known as Kyle.

Cc: newbyte@disroot.org
Cc: Stephan Gerhold <stephan@gerhold.net>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2021-07-30 11:31:25 +02:00
Linus Walleij 9b58fc860e ARM: dts: ux500: Add devicetree for Codina
This adds a devicetree for Samsung GT-I8160 also known as Codina.

Cc: newbyte@disroot.org
Cc: Stephan Gerhold <stephan@gerhold.net>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2021-07-30 11:23:48 +02:00
Stephan Gerhold 68cc0c0696 ARM: dts: ux500: ab8500: Link USB PHY to USB controller node
At the moment the AB8500 USB PHY driver still uses the old USB PHY
subsystem instead of the generic PHY subsystem. This means that there
is no explicit link between the USB controller and the USB PHY.

In U-Boot the PHY driver is integrated in the generic PHY subsystem,
so we need to use the typical PHY device tree bindings to specify
which PHY belongs to the USB controller.

Add the link between USB controller and PHY to both ste-ab8500.dtsi
and ste-ab8505.dtsi. This is mainly for U-Boot for now and will just
be ignored in Linux. However, if the AB8500 USB PHY driver in Linux
is moved to the generic PHY subsystem at some point these device tree
changes can be used as well.

Signed-off-by: Stephan Gerhold <stephan@gerhold.net>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2021-07-30 11:18:55 +02:00
Linus Walleij a345142d01 ARM: dts: ux500: Flag eMMCs as non-SDIO/SD
We use the no-sdio and no-sd flags to indicate that these eMMCs
are neither, so that the operating system can skip trying to
identify them as SDIO or SD during boot, which just takes time.

Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2021-07-30 11:17:59 +02:00
Linus Walleij 4efdd31bfd ARM: dts: ux500: Add device tree for Samsung Gavini
This adds a device tree for the Samsung Galaxy Beam GT-I8530
also known as Gavini.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2021-07-30 11:17:59 +02:00
Arnd Bergmann e6226997ec asm-generic: reverse GENERIC_{STRNCPY_FROM,STRNLEN}_USER symbols
Most architectures do not need a custom implementation, and in most
cases the generic implementation is preferred, so change the polariy
on these Kconfig symbols to require architectures to select them when
they provide their own version.

The new name is CONFIG_ARCH_HAS_{STRNCPY_FROM,STRNLEN}_USER.

The remaining architectures at the moment are: ia64, mips, parisc,
um and xtensa. We should probably convert these as well, but
I was not sure how far to take this series. Thomas Bogendoerfer
had some concerns about converting mips but may still do some
more detailed measurements to see which version is better.

Cc: "James E.J. Bottomley" <James.Bottomley@HansenPartnership.com>
Cc: Anton Ivanov <anton.ivanov@cambridgegreys.com>
Cc: Christian Borntraeger <borntraeger@de.ibm.com>
Cc: Heiko Carstens <hca@linux.ibm.com>
Cc: Helge Deller <deller@gmx.de>
Cc: Jeff Dike <jdike@addtoit.com>
Cc: Max Filippov <jcmvbkbc@gmail.com>
Cc: Richard Weinberger <richard@nod.at>
Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Cc: Vasily Gorbik <gor@linux.ibm.com>
Cc: linux-ia64@vger.kernel.org
Cc: linux-mips@vger.kernel.org
Cc: linux-parisc@vger.kernel.org
Cc: linux-s390@vger.kernel.org
Cc: linux-um@lists.infradead.org
Cc: linux-xtensa@linux-xtensa.org
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: Helge Deller <deller@gmx.de> # parisc
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2021-07-30 10:30:21 +02:00
Gustavo A. R. Silva 696e572dc8 ARM: riscpc: Fix fall-through warning for Clang
Fix the following fallthrough warning:

arch/arm/mach-rpc/riscpc.c:52:2: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough]
           default:
           ^
arch/arm/mach-rpc/riscpc.c:52:2: note: insert 'break;' to avoid fall-through
           default:
           ^
           break;

Reported-by: kernel test robot <lkp@intel.com>
Link: https://lore.kernel.org/lkml/202107260355.bF00i5bi-lkp@intel.com/
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
2021-07-29 12:51:00 -05:00
Tony Lindgren 77ed5e9dec memory: omap-gpmc: Drop custom PM calls with cpu_pm notifier
We can now switch over to using cpu_pm instead of custom calls and make
the context save and restore functions static.

Let's also move the save and restore functions to avoid adding forward
declarations for them. And get rid of the static data pointer while at it.

Cc: Roger Quadros <rogerq@kernel.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Link: https://lore.kernel.org/r/20210727101034.32148-2-tony@atomide.com
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
2021-07-29 09:02:27 +02:00
David S. Miller fc16a5322e Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf
Daniel Borkmann says:

====================
pull-request: bpf 2021-07-29

The following pull-request contains BPF updates for your *net* tree.

We've added 9 non-merge commits during the last 14 day(s) which contain
a total of 20 files changed, 446 insertions(+), 138 deletions(-).

The main changes are:

1) Fix UBSAN out-of-bounds splat for showing XDP link fdinfo, from Lorenz Bauer.

2) Fix insufficient Spectre v4 mitigation in BPF runtime, from Daniel Borkmann,
   Piotr Krysiuk and Benedict Schlueter.

3) Batch of fixes for BPF sockmap found under stress testing, from John Fastabend.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>
2021-07-29 00:53:32 +01:00
Daniel Borkmann f5e81d1117 bpf: Introduce BPF nospec instruction for mitigating Spectre v4
In case of JITs, each of the JIT backends compiles the BPF nospec instruction
/either/ to a machine instruction which emits a speculation barrier /or/ to
/no/ machine instruction in case the underlying architecture is not affected
by Speculative Store Bypass or has different mitigations in place already.

This covers both x86 and (implicitly) arm64: In case of x86, we use 'lfence'
instruction for mitigation. In case of arm64, we rely on the firmware mitigation
as controlled via the ssbd kernel parameter. Whenever the mitigation is enabled,
it works for all of the kernel code with no need to provide any additional
instructions here (hence only comment in arm64 JIT). Other archs can follow
as needed. The BPF nospec instruction is specifically targeting Spectre v4
since i) we don't use a serialization barrier for the Spectre v1 case, and
ii) mitigation instructions for v1 and v4 might be different on some archs.

The BPF nospec is required for a future commit, where the BPF verifier does
annotate intermediate BPF programs with speculation barriers.

Co-developed-by: Piotr Krysiuk <piotras@gmail.com>
Co-developed-by: Benedict Schlueter <benedict.schlueter@rub.de>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: Piotr Krysiuk <piotras@gmail.com>
Signed-off-by: Benedict Schlueter <benedict.schlueter@rub.de>
Acked-by: Alexei Starovoitov <ast@kernel.org>
2021-07-29 00:20:56 +02:00
Joel Stanley db2d7420f8 ARM: dts: aspeed: ast2500evb: Enable built in RTC
Enable this device so the RTC driver can be tested on the EVB.

Signed-off-by: Joel Stanley <joel@jms.id.au>
Link: https://lore.kernel.org/r/20210727034639.474458-1-joel@jms.id.au
2021-07-28 10:41:51 +09:30
Joel Stanley dc2de6ed7e ARM: dts: aspeed: tacoma: Add TPM reset GPIO
The GPIO is used to place the BMC-connected TPM in reset.

The net is called BMC_TPM_RST_N on Tacoma.

Signed-off-by: Joel Stanley <joel@jms.id.au>
Reviewed-by: Andrew Jeffery <andrew@aj.id.au>
Link: https://lore.kernel.org/r/20210727033319.473152-3-joel@jms.id.au
2021-07-28 10:40:29 +09:30
Joel Stanley a3034e895a ARM: dts: rainier, everest: Add TPM reset GPIO
The GPIO is used to place the BMC-connected TPM in reset. This state is
latched until the BMC is next reset, blocking access to the TPM for that
boot.

On both machines this net is called TPM_RESET_LATCH_B.

Signed-off-by: Joel Stanley <joel@jms.id.au>
Reviewed-by: Andrew Jeffery <andrew@aj.id.au>
Link: https://lore.kernel.org/r/20210727033319.473152-2-joel@jms.id.au
2021-07-28 10:40:29 +09:30
Codrin Ciubotariu 72d609dad0 ARM: dts: at91: sama5d2_icp: enable digital filter for I2C nodes
SAMA5D2's I2C controller supports digital filter, so let's enable it.

Signed-off-by: Codrin Ciubotariu <codrin.ciubotariu@microchip.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Link: https://lore.kernel.org/r/20210727134115.1353494-1-codrin.ciubotariu@microchip.com
2021-07-27 16:44:15 +02:00
Ludovic Desroches c1f00edce5 ARM: dts: at91: sama5d4_xplained: change the key code of the gpio key
Having a button code and not a key code causes issues with libinput.
udev won't set ID_INPUT_KEY. If it is forced, then it causes a bug
within libinput.

Signed-off-by: Ludovic Desroches <ludovic.desroches@microchip.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Link: https://lore.kernel.org/r/20210727091351.44475-1-nicolas.ferre@microchip.com
2021-07-27 11:53:55 +02:00
Claudiu Beznea 9907f382a7 ARM: dts: at91: add conflict note for d3
Pin feeding d3 led may be in conflict with EBI CS0, USART2 CTS.
Add a note for this.

Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Link: https://lore.kernel.org/r/20210727074006.1609989-2-claudiu.beznea@microchip.com
2021-07-27 10:55:34 +02:00
Claudiu Beznea bf781869e5 ARM: dts: at91: add pinctrl-{names, 0} for all gpios
Add pinctrl-names and pinctrl-0 properties on controllers that claims to
use pins to avoid failures due to
commit 2ab73c6d83 ("gpio: Support GPIO controllers without pin-ranges")
and also to avoid using pins that may be claimed my other IPs.

Fixes: b7c2b61570 ("ARM: at91: add Atmel's SAMA5D3 Xplained board")
Fixes: 1e5f532c27 ("ARM: dts: at91: sam9x60: add device tree for soc and board")
Fixes: 38153a0178 ("ARM: at91/dt: sama5d4: add dts for sama5d4 xplained board")
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Link: https://lore.kernel.org/r/20210727074006.1609989-1-claudiu.beznea@microchip.com
Cc: <stable@vger.kernel.org> # v5.7+
2021-07-27 10:54:50 +02:00
Paul Barker e48d54c1df ARM: dts: am335x-sancloud-bbe-lite: New devicetree
This adds support for the Sancloud BBE Lite which shares a common
hardware base with the non-Lite version of the BBE.

Signed-off-by: Paul Barker <paul.barker@sancloud.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2021-07-27 11:53:01 +03:00
Paul Barker 3ed9265373 ARM: dts: am335x-sancloud-bbe: Extract common code
The Sancloud BBE, BBE Lite and BBE Extended+WiFi share a common hardware
base so we can avoid duplication via a dtsi file.

Signed-off-by: Paul Barker <paul.barker@sancloud.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2021-07-27 11:52:54 +03:00
Paul Barker feb29cf359 ARM: dts: am335x-boneblack: Extract HDMI config
Move the HDMI hardware configuration for the BeagleBone Black out of the
boneblack common dtsi file and into its own separate dtsi file. This
allows the devicetree for BeagleBone Black derivatives which lack the
hdmi encoding hardware to include the common dtsi file without needing
to duplicate configuration or override the status of all hdmi-related
nodes.

Signed-off-by: Paul Barker <paul.barker@sancloud.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2021-07-27 11:52:46 +03:00
Eugen Hristev 289be44b6c ARM: dts: at91: sama5d27_som1_ek: enable ADC node
Enable the ADC for AN pins on Mikrobus1 and Mikrobus2 on the board.
These correspond to channels AD6 and AD7 in the controller.

 # cat /sys/bus/iio/devices/iio\:device0/in_voltage6_raw
 240
 # cat /sys/bus/iio/devices/iio\:device0/in_voltage7_raw
 16380

Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Link: https://lore.kernel.org/r/20210622101742.14535-1-eugen.hristev@microchip.com
2021-07-27 10:48:00 +02:00
Peter Ujfalusi ae3c05cf20 ARM: dts: omap4-l4-abe: Add McASP configuration
OMAP4 has a single McASP instance with single serializer and locked for DIT
mode.
To be able to enable the support the following fixes needed:
- Add the DAT port ranges to the target module's ranges

We can already fill in the op-mode and serial-dir  for McASP as it only
supports this configuration, but keep the module disabled as there is no
known device available where it is used.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2021-07-27 11:47:42 +03:00
Peter Ujfalusi 591c091705 ARM: dts: omap4-l4-abe: Correct sidle modes for McASP
McASP only supports  Force-idle, No-idle and Smart-idle modes

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2021-07-27 11:47:29 +03:00
Lokesh Vutla 176f26bcd4 ARM: dts: Add support for dra762 abz package
dra762 abz package is pin compatible with dra742 and few peripherals
like DDR with upgraded speed. Add dt support for this SoC.

Reported-by: Praneeth Bajjuri <praneeth@ti.com>
Tested-by: Praneeth Bajjuri <praneeth@ti.com>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
[khilman: forward port from ti-linux-5.4.y]
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2021-07-27 11:42:29 +03:00
David Lechner cb31bbfa49 ARM: dts: am335x-boneblue: add gpio-line-names
This adds gpio-line-names to the BeagleBone Blue DTS. The line names
are based on the BeagleBone Blue rev A2 schematic.

Signed-off-by: David Lechner <david@lechnology.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2021-07-27 11:40:58 +03:00
Peter Robinson ae92d42119 arm: omap2: Drop MACH_OMAP3517EVM entry
The MACH_OMAP3517EVM was added back in commit 549f95ed20 due to
being used by the ASoC driver, but this driver was dropped in
commit 2c2596f3ab as the audio for this board had been moved to
a simple-audio-card configuration so MACH_OMAP3517EVM is now
properly unuused and can be dropped.

Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2021-07-27 11:32:09 +03:00
H. Nikolaus Schaller c68ef4ad18 omap5-board-common: remove not physically existing vdds_1v8_main fixed-regulator
This device tree include file describes a fixed-regulator
connecting smps7_reg output (1.8V) to some 1.8V rail and
consumers (vdds_1v8_main).

This regulator does not physically exist.

I assume it was introduced as a wrapper around smps7_reg
to provide a speaking signal name "vdds_1v8_main" as label.

This fixed-regulator without real function was not an issue
in driver code until

  Commit 98e48cd928 ("regulator: core: resolve supply for boot-on/always-on regulators")

introduced a new check for regulator initialization which
makes Palmas regulator registration fail:

[    5.407712] ldo1: supplied by vsys_cobra
[    5.412748] ldo2: supplied by vsys_cobra
[    5.417603] palmas-pmic 48070000.i2c:palmas@48:palmas_pmic: failed to register 48070000.i2c:palmas@48:palmas_pmic regulator

The reason is that the supply-chain of regulators is too
long and goes from ldo3 through the virtual vdds_1v8_main
regulator and then back to smps7. This adds a cross-dependency
of probing Palmas regulators and the fixed-regulator which
leads to probe deferral by the new check and is no longer
resolved.

Since we do not control what device tree files including this
one reference (either &vdds_1v8_main or &smps7_reg or both)
we keep both labels for smps7 for compatibility.

Fixes: 98e48cd928 ("regulator: core: resolve supply for boot-on/always-on regulators")
Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2021-07-27 11:14:55 +03:00
Dario Binacchi 0162a99643 ARM: dts: am437x-l4: fix typo in can@0 node
Replace clock-name with clock-names.

Fixes: 2a4117df9b ("ARM: dts: Fix dcan driver probe failed on am437x platform")
Signed-off-by: Dario Binacchi <dariobin@libero.it>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2021-07-27 11:11:38 +03:00
Dave Gerlach 20a6b3fd8e ARM: dts: am43x-epos-evm: Reduce i2c0 bus speed for tps65218
Based on the latest timing specifications for the TPS65218 from the data
sheet, http://www.ti.com/lit/ds/symlink/tps65218.pdf, document SLDS206
from November 2014, we must change the i2c bus speed to better fit within
the minimum high SCL time required for proper i2c transfer.

When running at 400khz, measurements show that SCL spends
0.8125 uS/1.666 uS high/low which violates the requirement for minimum
high period of SCL provided in datasheet Table 7.6 which is 1 uS.
Switching to 100khz gives us 5 uS/5 uS high/low which both fall above
the minimum given values for 100 khz, 4.0 uS/4.7 uS high/low.

Without this patch occasionally a voltage set operation from the kernel
will appear to have worked but the actual voltage reflected on the PMIC
will not have updated, causing problems especially with cpufreq that may
update to a higher OPP without actually raising the voltage on DCDC2,
leading to a hang.

Signed-off-by: Dave Gerlach <d-gerlach@ti.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2021-07-27 11:11:38 +03:00
Tero Kristo b070f9ca78 ARM: omap2+: hwmod: fix potential NULL pointer access
omap_hwmod_get_pwrdm() may access a NULL clk_hw pointer in some failure
cases. Add a check for the case and bail out gracely if this happens.

Reported-by: Dan Murphy <dmurphy@ti.com>
Signed-off-by: Tero Kristo <t-kristo@ti.com>
Cc: stable@vger.kernel.org # v5.10+
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2021-07-27 11:10:37 +03:00
John Ogness 85e3e7fbbb printk: remove NMI tracking
All NMI contexts are handled the same as the safe context: store the
message and defer printing. There is no need to have special NMI
context tracking for this. Using in_nmi() is enough.

There are several parts of the kernel that are manually calling into
the printk NMI context tracking in order to cause general printk
deferred printing:

    arch/arm/kernel/smp.c
    arch/powerpc/kexec/crash.c
    kernel/trace/trace.c

For arm/kernel/smp.c and powerpc/kexec/crash.c, provide a new
function pair printk_deferred_enter/exit that explicitly achieves the
same objective.

For ftrace, remove the printk context manipulation completely. It was
added in commit 03fc7f9c99 ("printk/nmi: Prevent deadlock when
accessing the main log buffer in NMI"). The purpose was to enforce
storing messages directly into the ring buffer even in NMI context.
It really should have only modified the behavior in NMI context.
There is no need for a special behavior any longer. All messages are
always stored directly now. The console deferring is handled
transparently in vprintk().

Signed-off-by: John Ogness <john.ogness@linutronix.de>
[pmladek@suse.com: Remove special handling in ftrace.c completely.
Signed-off-by: Petr Mladek <pmladek@suse.com>
Link: https://lore.kernel.org/r/20210715193359.25946-5-john.ogness@linutronix.de
2021-07-26 15:09:44 +02:00
Anand Moon 72ccc373b0 ARM: dts: meson8b: ec100: Fix the pwm regulator supply properties
After enabling CONFIG_REGULATOR_DEBUG=y we observer below debug logs.
Changes help link VCCK and VDDEE pwm regulator to 5V regulator supply
instead of dummy regulator.

[    7.117140] pwm-regulator regulator-vcck: Looking up pwm-supply from device tree
[    7.117153] pwm-regulator regulator-vcck: Looking up pwm-supply property in node /regulator-vcck failed
[    7.117184] VCCK: supplied by regulator-dummy
[    7.117194] regulator-dummy: could not add device link regulator.8: -ENOENT
[    7.117266] VCCK: 860 <--> 1140 mV at 986 mV, enabled
[    7.118498] VDDEE: will resolve supply early: pwm
[    7.118515] pwm-regulator regulator-vddee: Looking up pwm-supply from device tree
[    7.118526] pwm-regulator regulator-vddee: Looking up pwm-supply property in node /regulator-vddee failed
[    7.118553] VDDEE: supplied by regulator-dummy
[    7.118563] regulator-dummy: could not add device link regulator.9: -ENOENT

Fixes: 087a1d8b4e ("ARM: dts: meson8b: ec100: add the VDDEE regulator")
Fixes: 3e7db1c1b7 ("ARM: dts: meson8b: ec100: improve the description of the regulators")

Cc: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Anand Moon <linux.amoon@gmail.com>
Reviewed-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Link: https://lore.kernel.org/r/20210705112358.3554-4-linux.amoon@gmail.com
2021-07-26 10:05:36 +02:00
Anand Moon 632062e540 ARM: dts: meson8b: mxq: Fix the pwm regulator supply properties
After enabling CONFIG_REGULATOR_DEBUG=y we observer below debug logs.
Changes help link VCCK and VDDEE pwm regulator to 5V regulator supply
instead of dummy regulator.
Add missing pwm-supply for regulator-vcck regulator node.

[    7.117140] pwm-regulator regulator-vcck: Looking up pwm-supply from device tree
[    7.117153] pwm-regulator regulator-vcck: Looking up pwm-supply property in node /regulator-vcck failed
[    7.117184] VCCK: supplied by regulator-dummy
[    7.117194] regulator-dummy: could not add device link regulator.8: -ENOENT
[    7.117266] VCCK: 860 <--> 1140 mV at 986 mV, enabled
[    7.118498] VDDEE: will resolve supply early: pwm
[    7.118515] pwm-regulator regulator-vddee: Looking up pwm-supply from device tree
[    7.118526] pwm-regulator regulator-vddee: Looking up pwm-supply property in node /regulator-vddee failed
[    7.118553] VDDEE: supplied by regulator-dummy
[    7.118563] regulator-dummy: could not add device link regulator.9: -ENOENT

Fixes: dee51cd0d2 ("ARM: dts: meson8b: mxq: add the VDDEE regulator")
Fixes: d94f60e3df ("ARM: dts: meson8b: mxq: improve support for the TRONFY MXQ S805")

Cc: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Anand Moon <linux.amoon@gmail.com>
Reviewed-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Link: https://lore.kernel.org/r/20210705112358.3554-3-linux.amoon@gmail.com
2021-07-26 10:05:36 +02:00
Anand Moon 876228e9f9 ARM: dts: meson8b: odroidc1: Fix the pwm regulator supply properties
After enabling CONFIG_REGULATOR_DEBUG=y we observe below debug logs.
Changes help link VCCK and VDDEE pwm regulator to 5V regulator supply
instead of dummy regulator.

[    7.117140] pwm-regulator regulator-vcck: Looking up pwm-supply from device tree
[    7.117153] pwm-regulator regulator-vcck: Looking up pwm-supply property in node /regulator-vcck failed
[    7.117184] VCCK: supplied by regulator-dummy
[    7.117194] regulator-dummy: could not add device link regulator.8: -ENOENT
[    7.117266] VCCK: 860 <--> 1140 mV at 986 mV, enabled
[    7.118498] VDDEE: will resolve supply early: pwm
[    7.118515] pwm-regulator regulator-vddee: Looking up pwm-supply from device tree
[    7.118526] pwm-regulator regulator-vddee: Looking up pwm-supply property in node /regulator-vddee failed
[    7.118553] VDDEE: supplied by regulator-dummy
[    7.118563] regulator-dummy: could not add device link regulator.9: -ENOENT

Fixes: 524d96083b ("ARM: dts: meson8b: odroidc1: add the CPU voltage regulator")
Fixes: 8bdf38be71 ("ARM: dts: meson8b: odroidc1: add the VDDEE regulator")

Tested-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Cc: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Anand Moon <linux.amoon@gmail.com>
Reviewed-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
[narmstrong: fixed typo in commit s/observer/observe/]
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Link: https://lore.kernel.org/r/20210705112358.3554-2-linux.amoon@gmail.com
2021-07-26 10:04:32 +02:00