Commit Graph

134 Commits

Author SHA1 Message Date
Albin Törnqvist
a3a4be32b6 arm: dts: ti: omap: Fixup pinheader typo
This commit fixes a typo introduced in commit
ee368a10d0 ("ARM: dts: am335x-boneblack.dts: unique gpio-line-names").
gpio0_7 is located on the P9 header on the BBB.
This was verified with a BeagleBone Black by toggling the pin and
checking with a multimeter that it corresponds to pin 42 on the P9
header.

Signed-off-by: Albin Törnqvist <albin.tornqvist@codiax.se>
Link: https://lore.kernel.org/r/20250624114839.1465115-2-albin.tornqvist@codiax.se
Fixes: ee368a10d0 ("ARM: dts: am335x-boneblack.dts: unique gpio-line-names")
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2025-07-07 14:24:57 -07:00
Felix Brack
539e87dd66 ARM: dts: am335x-pdu001: Fix RS-485 transceiver switching
The wiring of the RS-485 transceiver of UART0 of the PDU-001 board
allows sending or receiving date exclusively. In other words: no
character transmitted will ever be received.
Hence the tx-filter counter in the OMAP serial driver can't work
correctly as it relies on receiving the transmitted characters.
This in turn will prevent reception of data unless we disable the
tx-filter counter.
This patch disables the tx-filter counter by enabling the DTS setting
rs485-rx-during-tx. This might sound like the opposite to be done but
it uses the enabling of rs485-rx-during-tx not for receiving the data
transmitted but for disabling the tx-fiter counter.

Tested-by: Felix Brack <fb@ltec.ch>
Signed-off-by: Felix Brack <fb@ltec.ch>
Link: https://lore.kernel.org/r/20250529135324.182868-1-fb@ltec.ch
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2025-07-07 14:21:44 -07:00
Kory Maincent
6d04ead94d arm: dts: omap: Add support for BeagleBone Green Eco board
SeeedStudio BeagleBone Green Eco (BBGE) is a clone of the BeagleBone Green
(BBG). It has minor differences from the BBG, such as a different PMIC,
a different Ethernet PHY, and a larger eMMC.

Signed-off-by: Kory Maincent <kory.maincent@bootlin.com>
Reviewed-by: Andreas Kemnade <andreas@kemnade.info>
Tested-by: Judith Mendez <jm@ti.com>
Link: https://lore.kernel.org/r/20250620-bbg-v5-3-84f9b9a2e3a8@bootlin.com
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2025-06-30 10:55:51 -07:00
Kory Maincent
297bd457c8 arm: dts: omap: am335x-bone-common: Rename tps to generic pmic node
Rename tps@24 to the generic pmic@24 node name.

Signed-off-by: Kory Maincent <kory.maincent@bootlin.com>
Reviewed-by: Andreas Kemnade <andreas@kemnade.info>
Tested-by: Judith Mendez <jm@ti.com>
Link: https://lore.kernel.org/r/20250620-bbg-v5-1-84f9b9a2e3a8@bootlin.com
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2025-06-30 10:55:51 -07:00
Frank Li
8eb22dcfe5 Revert "ARM: dts: Update pcie ranges for dra7"
This reverts commit c761028ef5.

The commit being reverted updated the "ranges" property for the sake of
readability. However, this change is no longer appropriate due to the
following reasons:

- On many SoCs, the PCIe parent bus translates CPU addresses to different
values before passing them to the PCIe controller.
- The reverted commit introduced a fake address translation, which violates
the fundamental DTS principle: the device tree should reflect actual
hardware behavior.

Reverting this change prepares for the cleanup of the driver's
cpu_addr_fixup() hook.

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Link: https://lore.kernel.org/r/20250411153454.3258098-1-Frank.Li@nxp.com
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2025-06-23 16:07:55 -07:00
Krzysztof Kozlowski
dccb920a08 ARM: dts: omap: am335x: Use non-deprecated rts-gpios
The 'rts-gpio' (without trailing 's') is deprecated in favor of
'rts-gpios'.  Kernel supports both variants, so switch the DTS to
preferred one.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20250514125158.56285-2-krzysztof.kozlowski@linaro.org
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2025-06-23 16:07:55 -07:00
Linus Torvalds
ec71f661a5 soc: devicetree updates for 6.16
There are 11 newly supported SoCs, but these are all either new
 variants of existing designs, or straig reuses of the existing
 chip in a new package:
 
  - RK3562 is a new chip based on the old Cortex-A53 core, apparently
    a low-cost version of the Cortex-A55 based RK3568/RK3566.
 
  - NXP i.MX94 is a minor variation of i.MX93/i.MX95 with a different
    set of on-chip peripherals.
 
  - Renesas RZ/V2N (R9A09G056) is a new member of the larger RZ/V2 family
 
  - Amlogic S6/S7/S7D
 
  - Samsung Exynos7870 is an older chip similar to Exynos7885
 
  - WonderMedia wm8950 is a minor variation on the wm8850 chip
  - Amlogic s805y is almost idential to s805x
 
  - Allwinner A523 is similar to A527 and T527
 
  - Qualcomm MSM8926 is a variant of MSM8226
 
  - Qualcomm Snapdragon X1P42100 is related to R1E80100
 
 There are also 65 boards, including reference designs for the chips
 above, this includes
 
  - 12 new boards based on TI K3 series chips, most of them from
    Toradex
 
  - 10 devices using Rockchips RK35xx and PX30 chips
 
  - 2 phones and 2 laptops based on Qualcomm Snapdragon designs
 
  - 10 NXP i.MX8/i.MX9 boards, mostly for embedded/industrial uses
 
  - 3 Samsung Galaxy phones based on Exynos7870
 
  - 5 Allwinner based boards using a variety of ARMv8 chips
 
  - 9 32-bit machines, each based on a different SoC family
 
 Aside from the new hardware, there is the usual set of cleanups and
 newly added hardware support on existing machines, for a total of 965
 devicetree changesets.
 -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEo6/YBQwIrVS28WGKmmx57+YAGNkFAmg5zYMACgkQmmx57+YA
 GNl1Ag/8CX35g42Gwxyr2X8wit+O2eU0axGoxM+SD1cmIcSnutZjMGu17lDGduOO
 8FC524yLE6Z9HxAUa2/cd+5fOiJcsd6Ggi5WXEFc+dHz0+P5End2DNsdIANbGcFU
 OAhCpuSB63/Mb5dcecoUULw+LIXIBffwt3FCJ0AaXFDi4RvWr0WatzQxHk/G63ci
 IoE5pAs/6W9mFvQ5R8Kt4jKISy1zF3JgqOmzy+JIsczPHlyMsbFosZRDxBWMRDza
 PenoULO/RSe3k37PGe8XCU1sja0lSCVEeJINUB11mSVGoIKRZ9Wxf57O9J81cEqF
 8HiqQ58vA/HpStPKfWZV3rXSlc3U3XGUj0lbG4iUSIOE4gMKnjWbPVuBTrr5mYsc
 cJ1pnzbZ0gbylufeS088GkCCKY/ej40aH0vLeoXEHwGh9LoWudI2xMrTJgwX5AlM
 H+X9kmP+JaC/woMmY7fr9XpMYuggraIMvDzI1j3qfohGnAUFCG7kh2IvfqkLNAEM
 o2dJkI/r/PY+fPeHBPw6EvsP6ZJhcorczwB7CxVEYJ8fqKOOunATs+aECa6HLPpv
 toh86d9rnKUrR9+hbuxacx5xxE/YT30muzh66lnV2p1rCS1RJcnzhAkFzeFNJEXf
 lpNLMauW1D3Elmk/qawKIxICazeuh4NJyQtNfdrCt/9hEpnmmeM=
 =ewvq
 -----END PGP SIGNATURE-----

Merge tag 'soc-dt-6.16' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc

Pull SoC devicetree updates from Arnd Bergmann:
 "There are 11 newly supported SoCs, but these are all either new
  variants of existing designs, or straight reuses of the existing chip
  in a new package:

   - RK3562 is a new chip based on the old Cortex-A53 core, apparently a
     low-cost version of the Cortex-A55 based RK3568/RK3566.

   - NXP i.MX94 is a minor variation of i.MX93/i.MX95 with a different
     set of on-chip peripherals.

   - Renesas RZ/V2N (R9A09G056) is a new member of the larger RZ/V2
     family

   - Amlogic S6/S7/S7D

   - Samsung Exynos7870 is an older chip similar to Exynos7885

   - WonderMedia wm8950 is a minor variation on the wm8850 chip

   - Amlogic s805y is almost idential to s805x

   - Allwinner A523 is similar to A527 and T527

   - Qualcomm MSM8926 is a variant of MSM8226

   - Qualcomm Snapdragon X1P42100 is related to R1E80100

  There are also 65 boards, including reference designs for the chips
  above, this includes

   - 12 new boards based on TI K3 series chips, most of them from
     Toradex

   - 10 devices using Rockchips RK35xx and PX30 chips

   - 2 phones and 2 laptops based on Qualcomm Snapdragon designs

   - 10 NXP i.MX8/i.MX9 boards, mostly for embedded/industrial uses

   - 3 Samsung Galaxy phones based on Exynos7870

   - 5 Allwinner based boards using a variety of ARMv8 chips

   - 9 32-bit machines, each based on a different SoC family

  Aside from the new hardware, there is the usual set of cleanups and
  newly added hardware support on existing machines, for a total of 965
  devicetree changesets"

* tag 'soc-dt-6.16' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc: (956 commits)
  MAINTAINERS, mailmap: update Sven Peter's email address
  arm64: dts: renesas: rzg3e-smarc-som: Reduce I2C2 clock frequency
  arm64: dts: nuvoton: Add pinctrl
  ARM: dts: samsung: sp5v210-aries: Align wifi node name with bindings
  arm64: dts: blaize-blzp1600: Enable GPIO support
  dt-bindings: clock: socfpga: convert to yaml
  arm64: dts: rockchip: move rk3562 pinctrl node outside the soc node
  arm64: dts: rockchip: fix rk3562 pcie unit addresses
  arm64: dts: rockchip: move rk3528 pinctrl node outside the soc node
  arm64: dts: rockchip: remove a double-empty line from rk3576 core dtsi
  arm64: dts: rockchip: move rk3576 pinctrl node outside the soc node
  arm64: dts: rockchip: fix rk3576 pcie unit addresses
  arm64: dts: rockchip: Drop assigned-clock* from cpu nodes on rk3588
  arm64: dts: rockchip: Add missing SFC power-domains to rk3576
  Revert "arm64: dts: mediatek: mt8390-genio-common: Add firmware-name for scp0"
  arm64: dts: mediatek: mt8188: Address binding warnings for MDP3 nodes
  arm64: dts: mt6359: Rename RTC node to match binding expectations
  arm64: dts: mt8365-evk: Add goodix touchscreen support
  arm64: dts: mediatek: mt8188: Add missing #reset-cells property
  arm64: dts: airoha: en7581: Add PCIe nodes to EN7581 SoC evaluation board
  ...
2025-05-31 08:08:56 -07:00
Adam Ford
55da73fa7a ARM: dts: davinci: da850-evm: Increase fifo threshold
When operating at low speeds, the display may throw an underflow
error and the display itself goes blank.  Increasing the fifo-th
value appears to correct this problem and the display can now
operate when the system is operating at speeds as low as 100MHz.

Signed-off-by: Adam Ford <aford173@gmail.com>
Link: https://lore.kernel.org/r/20250504102959.81830-1-aford173@gmail.com
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
2025-05-14 17:37:54 +02:00
Arnd Bergmann
153e2d0791 ARM: dts: omap updates for v6.16
-----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEEe4dGDhaSf6n1v/EMWTcYmtP7xmUFAmgg0Q0ACgkQWTcYmtP7
 xmWO8Q//Rv/pq7J+oWy15HUPKZ1iUmvJMPnjMFnVFLdsloHMUHjTd7SLbnx/yQQE
 Ie2R0CDR7riHwSUwwsMKvRFuXlJpnfACjOAgMlZwuhP6QgDK511c+w8FtUls8hAi
 3mTWHC1lp/TQoOdsFfw3mjmN/JzK5Wu0ciJAJLcuaWx2b7jUdbgnU5bxH7+u29Al
 anskZP2BjZCLDy+WarE3QbhpxeBgZ6tyFeAsM/e4wgAMRG+Ywnf2UXIeg520Zfor
 FVY2Rzt9c/rHM9MnbafPGIWdGqFaOB/Hp/kMkwUB/CVt6MhRZzsauwANWm81wKrW
 vVgGYwWFcVIjo50gqlarOZ/w2lmffysKnOJtq+gL9wXSTyCPcsTDDpKxsb8lE29Y
 pjXEeGZvgBYXfPYZ66SchDem/RBPlR1C2IFDXBSEt6JM4eB4mBpio3SVX1x/wOc8
 j7fKzYl0yAF97PvRGNil0uGba+zmNNyc4bUz3abdF7J3TLSVBJ1Purma44gZpqpW
 AaYZNZhBhG5JhyxiwEdm1QyPBH1YWb7ean3bl+ZiB/LLZu+IIONFM1RT9xTk1r1I
 PZJkgdJAf18RSLWs48xmQ1ydpKhYaVehWhY6KtiBw6X/WVbHnQZUkOdNldKP0Mha
 4u0LHD1/5K9ySq28b7Kb62MqpJHAg+iQrxZjuyJz1ZPiw+CVq0w=
 =B5CB
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEiK/NIGsWEZVxh/FrYKtH/8kJUicFAmghr0IACgkQYKtH/8kJ
 UieqIRAAv8ANlPb/hXWIZA9cBCitaESxr2euRGbS+mM3XgeLj9wujDHs4y5ckpZM
 l1qrhJKvDAW+A6dDfCAEJJxuLNT9VUrKjoTAXh2Wze/AvqQAQS3ZATlb22oW74KM
 0yVvBV/y+loknOf2v9BL1mXXAii5KHgq8v192+t3XH/aJZyWd3PIq75z9p5yl5cw
 MdatL426Y4K3+Ik0s+Xjc7r7nEVmOy1UzPzhayxnBYaWCzKb3QsUreC8LP7jeRUj
 dN1wpwgt28FuWdWPYRdGXv1a15RK9IAbyGOC7BahD+QJkBggPhkNu82s83yn3tjo
 v5aESbzs5P+xjblMSI/I2keh9+zVaP3hECob+T3dni1zS2HMzRTQ7UkTcvOAsen+
 b+KkxSnYLmRmqocqZQWCwyveT5iBIt5qAAM4Cw4dvs+rkcH+5erEtBemQMIXWjS9
 DORgCQTBPpEggdZJdPx5AJiURszV021w7Z6lUUiPRMIH6s2clB6ATJcspnhs3F0V
 5VOQMUOXZdSnRwdMLHgNrVQaWiNwZSKSD+yldSE9CwpGgxawgFjjpld2AF2refqS
 gFEjDdkjO8DaC/UbFC+82jjMOWFpiwI7briqCGim11fvvVflQ42Y4LlOiONUUNMV
 SxiW9dpMM2/Zw4/yIVYIiYEgf/d8WSJFN5aZTOegTIetwMXKPbA=
 =YpBL
 -----END PGP SIGNATURE-----

Merge tag 'omap-for-v6.16/dt-signed' of https://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-omap into soc/dt

ARM: dts: omap updates for v6.16

* tag 'omap-for-v6.16/dt-signed' of https://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-omap:
  ARM: dts: am335x: Set wakeup-source for UART0
  ARM: dts: omap4: panda: cleanup bluetooth
  ARM: dts: omap4: panda: fix resources needed for Wifi
  ARM: dts: nokia n900: remove useless io-channel-cells property

Link: https://lore.kernel.org/r/7hecwvrtmx.fsf@baylibre.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2025-05-12 10:20:18 +02:00
Wolfram Sang
a31e23eb5e
ARM: dts: ti: omap: use correct ohci/ehci node names
They should be named "usb@".

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Link: https://lore.kernel.org/r/20250330193833.21970-11-wsa+renesas@sang-engineering.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2025-05-09 22:31:19 +02:00
Sukrut Bellary
550e5608c2 ARM: dts: am335x: Set wakeup-source for UART0
On am335x evm[1], UART0(UART1-HW) has a wakeup capability.
Set wakeup-source, which will be used in the omap serial driver to enable
the device wakeup capability.

[1] https://www.ti.com/tool/TMDXEVM3358
[2] AM335x TRM - https://www.ti.com/lit/ug/spruh73q/spruh73q.pdf

Signed-off-by: Sukrut Bellary <sbellary@baylibre.com>
Tested-by: Judith Mendez <jm@ti.com>
Link: https://lore.kernel.org/r/20250318230042.3138542-4-sbellary@baylibre.com
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2025-05-08 06:15:58 -07:00
Andreas Kemnade
a2db9bbcf6 ARM: dts: omap4: panda: cleanup bluetooth
Bluetooth is available on the other Panda board versions, too, so move
stuff to common and specify the needed clock properly.

Signed-off-by: Andreas Kemnade <andreas@kemnade.info>
Reviewed-by: Roger Quadros <rogerq@kernel.org>
Link: https://lore.kernel.org/r/20250427052735.88133-3-andreas@kemnade.info
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2025-05-01 11:09:37 -07:00
Andreas Kemnade
1132bb4df2 ARM: dts: omap4: panda: fix resources needed for Wifi
The Pandaboard needs a 32k clock in the TWL6030 to be enabled
for Wifi to work.
With some luck, it is enabled by some U-Boot fork.
Do not rely on it and properly specify the requirement.

Signed-off-by: Andreas Kemnade <andreas@kemnade.info>
Reviewed-by: Roger Quadros <rogerq@kernel.org>
Link: https://lore.kernel.org/r/20250427052735.88133-2-andreas@kemnade.info
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2025-05-01 11:09:37 -07:00
David Heidelberg
614665105d ARM: dts: nokia n900: remove useless io-channel-cells property
This property is irrelevant for the ad5820 DAC,
the driver nor the hardware indicate use of channel cells.

Fixes: d510d12f26 ("ARM: dts: nokia n900: update dts with camera support")
Signed-off-by: David Heidelberg <david@ixit.cz>
Link: https://lore.kernel.org/r/20250213203208.93316-1-david@ixit.cz
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2025-04-10 17:40:15 -07:00
Arnd Bergmann
370ce5aa40 ARM: dts: misc. OMAP updates for v6.15
-----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEEe4dGDhaSf6n1v/EMWTcYmtP7xmUFAmfYaEYACgkQWTcYmtP7
 xmV6Bw/+OSo5cQWJbSLhztQ5hHaw/2EHCFC6A6HCLdaavPv7R+UaogFtg2SF9NbC
 rR4kgTCJzGE+bQ0ory+AA6IrL+dZiOywP4b+eepb+ZRc1a0LDBm5VtXgVaF4CLp3
 BPyLIV7d5OUEX+KD7GTvoQJd1zB0PY5JjorsghrwlD0SVCJslqlfDdiGjUoRFyqC
 E0RKf4HN5TiyMlPegrxp557koLe2FXWxwl+3vajKyr0j3G+VOsiX6x1tH2xYa7+U
 C7bJYL1InY5pMoDC5wtXSEzL29sfbUXphoha8a4ybCC8ecVa5qaEAuMG+mWM58P+
 Ucld+DUYmVw7E8OrEd/VgKfNC/B7U/kMMjf80xQqdX0RhN3+jTw1lJAUg8OYmkQZ
 inJqVf1A06l6QkjG1W0jMYItJLw8nS740SifrOOvqNE2YGnbY3asu3CSiOB6PTHJ
 z1bNwBkNJFG3QeCjhi1YC9lGT0dYn3PUQpfOyPEudH0/gVzOLIxno4Rcs+Y3s8kr
 bgG8mvraRjbrzLCH67qNgaEDE1ADScvpUROe/udvOCci7vJzLvMgHIvJmz295K/Z
 b01A/rfLirIFL2a8QxGxKO3mGubrNMXpeyaKnTDRJWsaYMokxeP+MPjn/DpbarDA
 sy34b8q3Kz3BsMiGx7g64cYF+fUlw/hqtCKBjpVZPOQcEAYvMkI=
 =HgLA
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEiK/NIGsWEZVxh/FrYKtH/8kJUicFAmfbM8UACgkQYKtH/8kJ
 UifQbRAAl+/+f01DhxNKL0NPjUGOk23iS3GdvaNLTBpoYAY4qgPKF1sgpl3UrpcS
 QbBTWrZsiB4vY88j4eRxYYqiKVTWx/o1QGW7ZROa4KL8dgCdXRVcpsOdOyrQ0uBI
 2Ly9ys1tOXkpgwoJ1SXA0TQqsDy3WxJY25UJ2Cy3+zxvzpfu88NhJGAnsYwOKxzM
 OwuUBKO0EYnBD7pTB/eQ98MAGshiND2PzFamv0dbS4dyFR9rVG0Qov4LHoMBK0cb
 ki/IVokSXh7zCrN2UTnSwzrLPfEvje6qHEeQb250jlloaWFP3zvs8bP74y77IhkG
 jTXRbLzHWUMi1JCoHNyuj/vGm8nQkgPRj3AVQGLaaTtLdGIJs0OL9rFDw5nZriH6
 1N6FLdYJXCXih4PMchPtBdONUiHwT1pYjYDbavHvPMLWAoraZidrN3A0HbcBZW5c
 pGoLtvy/0qtX+1aoc9Z3SfRWjW/0kvjdS7POOsjrTHdPwly++BHdvaEIq014Wwt5
 hLTYyS9cdglM6PQyXCBJbHcPrIMqee5apXuvBzY6C+llHURuGYZiQSmACc7Ug7EX
 Rf4cVk/CZJLFhzEFyG1SGKJEciqQ2CGrZmr/ys16xate/D5NgC8xLgIh4Ajj2ulU
 FwN7fBJTtAe1l0OzP0rfb24IunAivQyWzuwwUHQ7duPaSpx8AFU=
 =DvON
 -----END PGP SIGNATURE-----

Merge tag 'omap-for-v6.15/dt-signed' of https://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-omap into soc/dt

ARM: dts: misc. OMAP updates for v6.15

* tag 'omap-for-v6.15/dt-signed' of https://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-omap:
  ARM: dts: omap4-panda-a4: Add missing model and compatible properties
  dt-bindings: omap: Add TI Pandaboard A4 variant
  ARM: dts: ti/omap: omap4-serial: fix interrupts syntax
  ARM: dts: ti: omap: Align GPIO hog name with bindings

Link: https://lore.kernel.org/r/7hiko7qzud.fsf@baylibre.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2025-03-19 22:14:45 +01:00
Tom Rini
ea07a4775d ARM: dts: omap4-panda-a4: Add missing model and compatible properties
When moving the model and compatible properties out of the common
Pandaboard files and in to the specific boards, the omap4-panda-a4
file wasn't updated as well and so has lacked a model and compatible
entry ever since.

Fixes: a1a57abaaf ("ARM: dts: omap4-panda: Fix model and SoC family details")
Signed-off-by: Tom Rini <trini@konsulko.com>
Link: https://lore.kernel.org/r/20250123174901.1182176-2-trini@konsulko.com
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2025-02-05 16:26:34 -08:00
Andreas Kemnade
13203d24dd ARM: dts: ti/omap: omap4-serial: fix interrupts syntax
Usually interrupts are overwritten in the board file to specify a
mux-dependent dedicated wakeup irq, so there is interrupts and
interrupts-extended property which is not allowed. That has generated a
lot of noise during dts changes if just a phandle involved has randomly
changed.

Avoid that mess by specifying interrupts-extended in the dtsi file.

Signed-off-by: Andreas Kemnade <andreas@kemnade.info>
Reported-by: Rob Herring <robh@kernel.org>
Closes: https://lore.kernel.org/linux-omap/173558214240.2262575.18233884215338168789.robh@kernel.org/
Closes: https://lore.kernel.org/linux-omap/172784021601.525825.18405282128990798038.robh@kernel.org/
Reviewed-by: Roger Quadros <rogerq@kernel.org>
Link: https://lore.kernel.org/r/20241230195556.112118-1-andreas@kemnade.info
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2025-02-05 16:26:34 -08:00
Krzysztof Kozlowski
10a71ea103 ARM: dts: ti: omap: Align GPIO hog name with bindings
Bindings expect GPIO hog names to end with 'hog' suffix, so correct it
to fix dtbs_check warning:

  omap3-evm.dtb: en_on_board_gpio_61: $nodename:0: 'en_on_board_gpio_61' does not match '^.+-hog(-[0-9]+)?$'

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20250115211648.194016-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2025-02-05 16:26:34 -08:00
Krzysztof Kozlowski
58abc69e47 ARM: dts: ti: davinci: Align GPIO hog name with bindings
Bindings expect GPIO hog names to end with 'hog' suffix, so correct it
to fix dtbs_check warnings like:

  da850-lego-ev3.dtb: batt_volt_en: $nodename:0: 'batt_volt_en' does not match '^.+-hog(-[0-9]+)?$'

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-by: David Lechner <david@lechnology.com>
Link: https://lore.kernel.org/r/20250116090030.87452-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
2025-02-03 09:11:33 +01:00
Andreas Kemnade
dd504db5cd ARM: dts: ti/omap: omap3-gta04: use proper touchscreen properties
Specify the dimensions of the touchscreen propertly so that
no userspace configuration is needed for it.
Tested with x11 and weston on Debian bookworm.

What is in now is some debris from earlier tries to handle
scaling in kernel:

https://lore.kernel.org/linux-input/cover.1482936802.git.hns@goldelico.com/

Signed-off-by: Andreas Kemnade <andreas@kemnade.info>
Link: https://lore.kernel.org/r/20241205204413.2466775-3-akemnade@kernel.org
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2025-01-07 14:59:51 -08:00
Judith Mendez
3623e1024e ARM: dts: ti: am437x-l4: remove autoidle for UART
According to the TRM [0] in 21.5.1.42 UART_SYSC Register,
the autoidle bit should not be set for UART, so remove the
appropriate SYSC_OMAP2_AUTOIDLE flag.

[0] https://www.ti.com/lit/ug/spruhl7i/spruhl7i.pdf

Signed-off-by: Judith Mendez <jm@ti.com>
Reviewed-by: Sukrut Bellary <sbellary@baylibre.com>
Link: https://lore.kernel.org/r/20241220223523.2125278-1-jm@ti.com
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2025-01-07 14:48:15 -08:00
Andreas Kemnade
0cfbd7805f ARM: dts: ti/omap: gta04: fix pm issues caused by spi module
Despite CM_IDLEST1_CORE and CM_FCLKEN1_CORE behaving normal,
disabling SPI leads to messages like when suspending:
Powerdomain (core_pwrdm) didn't enter target state 0
and according to /sys/kernel/debug/pm_debug/count off state is not
entered. That was not connected to SPI during the discussion
of disabling SPI. See:
https://lore.kernel.org/linux-omap/20230122100852.32ae082c@aktux/

The reason is that SPI is per default in slave mode. Linux driver
will turn it to master per default. It slave mode, the powerdomain seems to
be kept active if active chip select input is sensed.

Fix that by explicitly disabling the SPI3 pins which used to be muxed by
the bootloader since they are available on an optionally fitted header
which would require dtb overlays anyways.

Fixes: a622310f7f ("ARM: dts: gta04: fix excess dma channel usage")
CC: stable@vger.kernel.org
Signed-off-by: Andreas Kemnade <andreas@kemnade.info>
Reviewed-by: Roger Quadros <rogerq@kernel.org>
Link: https://lore.kernel.org/r/20241204174152.2360431-1-andreas@kemnade.info
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2025-01-07 14:48:15 -08:00
Romain Naour
c1472ec1dc ARM: dts: dra7: Add bus_dma_limit for l4 cfg bus
A bus_dma_limit was added for l3 bus by commit cfb5d65f25
("ARM: dts: dra7: Add bus_dma_limit for L3 bus") to fix an issue
observed only with SATA on DRA7-EVM with 4GB RAM and CONFIG_ARM_LPAE
enabled.

Since kernel 5.13, the SATA issue can be reproduced again following
the SATA node move from L3 bus to L4_cfg in commit 8af15365a3
("ARM: dts: Configure interconnect target module for dra7 sata").

Fix it by adding an empty dma-ranges property to l4_cfg and
segment@100000 nodes (parent device tree node of SATA controller) to
inherit the 2GB dma ranges limit from l3 bus node.

Note: A similar fix was applied for PCIe controller by commit
90d4d3f4ea ("ARM: dts: dra7: Fix bus_dma_limit for PCIe").

Fixes: 8af15365a3 ("ARM: dts: Configure interconnect target module for dra7 sata").
Link: https://lore.kernel.org/linux-omap/c583e1bb-f56b-4489-8012-ce742e85f233@smile.fr/
Cc: stable@vger.kernel.org # 5.13
Signed-off-by: Romain Naour <romain.naour@skf.com>
Link: https://lore.kernel.org/r/20241115102537.1330300-1-romain.naour@smile.fr
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2024-12-06 12:55:40 -08:00
Andreas Kemnade
13be2307b5 ARM: dts: omap4-kc1: fix twl6030 power node
dtbs_check was moaning about twl6030-power, use the standard property
instead.
Apparently that twl6030 power snippet slipped in without the
corresponding driver. Now it is handled by the standard property.

CC: Paul Kocialkowski <contact@paulk.fr>
Signed-off-by: Andreas Kemnade <andreas@kemnade.info>
Reviewed-by: Paul Kocialkowski <contact@paulk.fr>
Link: https://lore.kernel.org/r/20240915193527.1071792-1-andreas@kemnade.info
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2024-11-04 10:59:46 -08:00
Geert Uytterhoeven
929d8490f8 ARM: dts: am335x-bone-common: Increase MDIO reset deassert delay to 50ms
Commit b9bf561261 ("ARM: dts: am335x-bone-common: Increase MDIO
reset deassert time") already increased the MDIO reset deassert delay
from 6.5 to 13 ms, but this may still cause Ethernet PHY probe failures:

    SMSC LAN8710/LAN8720 4a101000.mdio:00: probe with driver SMSC LAN8710/LAN8720 failed with error -5

On BeagleBone Black Rev. C3, ETH_RESETn is controlled by an open-drain
AND gate.  It is pulled high by a 10K resistor, and has a 4.7µF
capacitor to ground, giving an RC time constant of 47ms.  As it takes
0.7RC to charge the capacitor above the threshold voltage of a CMOS
input (VDD/2), the delay should be at least 33ms.  Considering the
typical tolerance of 20% on capacitors, 40ms would be safer.  Add an
additional safety margin and settle for 50ms.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Roger Quadros <rogerq@kernel.org>
Link: https://lore.kernel.org/r/9002a58daa1b2983f39815b748ee9d2f8dcc4829.1730366936.git.geert+renesas@glider.be
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2024-11-04 10:59:12 -08:00
Andreas Kemnade
a2c06140b9 ARM: dts: ti/omap: omap4-epson-embt2ws: add charger
Add charger and battery definition for the Epson Moverio BT-200 to make
charging working.

Signed-off-by: Andreas Kemnade <andreas@kemnade.info>
Link: https://lore.kernel.org/r/20241019111121.331477-1-andreas@kemnade.info
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2024-10-29 16:47:58 -07:00
Andreas Kemnade
96a64e9730 ARM: dts: omap36xx: declare 1GHz OPP as turbo again
Operating stable without reduced chip life at 1Ghz needs several
technologies working: The technologies involve
- SmartReflex
- DVFS

As this cannot directly specified in the OPP table as dependecies in the
devicetree yet, use the turbo flag again to mark this OPP as something
special to have some kind of opt-in.

So revert commit
5f1bf7ae84 ("ARM: dts: omap36xx: Remove turbo mode for 1GHz variants")

Practical reasoning:
At least the GTA04A5 (DM3730) has become unstable with that OPP enabled.
Furthermore nothing enforces the availability of said technologies,
even in the kernel configuration, so allow users to rather opt-in.

Cc: Stable@vger.kernel.org
Fixes: 5f1bf7ae84 ("ARM: dts: omap36xx: Remove turbo mode for 1GHz variants")
Signed-off-by: Andreas Kemnade <andreas@kemnade.info>
Link: https://lore.kernel.org/r/20241018214727.275162-1-andreas@kemnade.info
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2024-10-29 16:47:04 -07:00
Andreas Kemnade
d61ceb5a52 ARM: ti/omap: omap3-gta04a5: add Bluetooth
The GTA04A5 model has a wl1837 WLAN/Bluetooth combo chip, add
it.

Signed-off-by: Andreas Kemnade <andreas@kemnade.info>
Link: https://lore.kernel.org/r/20241018214842.275194-1-andreas@kemnade.info
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2024-10-29 16:45:46 -07:00
Andreas Kemnade
d0bdd8bb7f ARM: dts: ti/omap: dra7: fix redundant clock divider definition
Clock specifies ti,dividers as well as ti,max-div. That is in this case
redundant and not allowed by schema. Both specify possible dividers of
1 or 2. Remove redundant definition.

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202410252030.8B2JoTuq-lkp@intel.com/
Signed-off-by: Andreas Kemnade <andreas@kemnade.info>
Link: https://lore.kernel.org/r/20241025164622.431146-1-andreas@kemnade.info
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2024-10-29 16:42:44 -07:00
Andreas Kemnade
55f96ea329 ARM: dts: ti/omap: use standard node name for twl4030 charger
Use the established node name for the charger.

Signed-off-by: Andreas Kemnade <andreas@kemnade.info>
Link: https://lore.kernel.org/r/20241016080314.222674-4-andreas@kemnade.info
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2024-10-29 16:41:08 -07:00
Andreas Kemnade
358e912ed0 ARM: dts: omap: omap4-epson-embt2ws: add GPIO expander
Define the GPIO expander which controls at least some camera gpios.

Signed-off-by: Andreas Kemnade <andreas@kemnade.info>
Reviewed-by: Roger Quadros <rogerq@kernel.org>
Link: https://lore.kernel.org/r/20241010122957.85164-5-andreas@kemnade.info
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2024-10-29 16:24:48 -07:00
Andreas Kemnade
60fdc97131 ARM: dts: omap: omap4-epson-embt2ws: add unknown gpio outputs
Set them to the state seen in a running system, initialized
by vendor u-boot or kernel. Add line names where they are defined in the
vendor kernel.
gpio15 resets something in the display, otherwise meaning of the
gpios is not known.

Signed-off-by: Andreas Kemnade <andreas@kemnade.info>
Reviewed-by: Roger Quadros <rogerq@kernel.org>
Link: https://lore.kernel.org/r/20241010122957.85164-4-andreas@kemnade.info
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2024-10-29 16:24:48 -07:00
Andreas Kemnade
1423851475 ARM: dts: omap: omap4-epson-embt2ws: wire up regulators
Wire up the regulators where usage is plausible. Do not
wire them if purpose/usage is unclear like 5V for
many things requiring lower voltages.

Tested on vendor kernel that backlight definitively does not react
on blc_[rl] GPIOs.

Signed-off-by: Andreas Kemnade <andreas@kemnade.info>
Reviewed-by: Roger Quadros <rogerq@kernel.org>
Link: https://lore.kernel.org/r/20241010122957.85164-3-andreas@kemnade.info
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2024-10-29 16:24:48 -07:00
Andreas Kemnade
11dcae1890 ARM: dts: omap: omap4-epson-embt2ws: define GPIO regulators
To properly have things running after cold boot, define
GPIO regulators. Naming is based on board file.

In the vendor kernel they are enabled in a function
called bt2ws_dcdc_init() if the system is not booted just
to charge the battery.

Signed-off-by: Andreas Kemnade <andreas@kemnade.info>
Reviewed-by: Roger Quadros <rogerq@kernel.org>
Link: https://lore.kernel.org/r/20241010122957.85164-2-andreas@kemnade.info
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2024-10-29 16:24:48 -07:00
Marcus Folkesson
76a4c6c215 ARM: dts: ti: dra7: Remove double include of clock bindings
There is no need to include the same file twice.

Signed-off-by: Marcus Folkesson <marcus.folkesson@gmail.com>
Link: https://lore.kernel.org/r/20240925-dra7-v1-1-3fe33a84bcd7@gmail.com
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2024-10-04 14:43:05 -07:00
Roger Quadros
9fe9af0ba2 ARM: dts: ti: omap3434-sdp: drop linux,mtd-name from onenand node
linux,mtd-name is only applicable for PHYSMAP driver and not for
OneNAND.

Fixes the below dtbs_check warning

"omap3430-sdp.dtb: onenand@2,0: Unevaluated properties are not allowed ('linux,mtd-name' was unexpected)"

Signed-off-by: Roger Quadros <rogerq@kernel.org>
Link: https://lore.kernel.org/r/20240903-gpmc-dtb-v1-3-380952952e34@kernel.org
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2024-10-04 14:32:14 -07:00
Roger Quadros
a9c81b1d47 ARM: dts: ti: omap: am335x-baltos: drop "gpmc,device-nand" from NAND node
"gpmc,device-nand" is not used any more and leads to below dtbs_check
warning so drop it.

"nand@0,0: Unevaluated properties are not allowed ('gpmc,device-nand' was unexpected)"

Signed-off-by: Roger Quadros <rogerq@kernel.org>
Link: https://lore.kernel.org/r/20240903-gpmc-dtb-v1-2-380952952e34@kernel.org
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2024-10-04 14:32:14 -07:00
Roger Quadros
ea453dc2d4 ARM: dts: ti: drop linux,mtd-name from NAND nodes
linux,mtd-name is only supported by PHYSMAP driver and not applicable
to NAND controller/flash nodes.

Fixes the below dtbs_check warning on many OMAP boards.

"nand@0,0: Unevaluated properties are not allowed ('linux,mtd-name' was unexpected)"

Signed-off-by: Roger Quadros <rogerq@kernel.org>
Link: https://lore.kernel.org/r/20240903-gpmc-dtb-v1-1-380952952e34@kernel.org
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2024-10-04 14:32:14 -07:00
Rob Herring (Arm)
47048d5bcf ARM: dts: ti/omap: Fix at24 EEPROM node names
at24.yaml defines the node name for at24 EEPROMs as 'eeprom'.

Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Acked-by: hns@goldelico.com # for GTA04
Link: https://lore.kernel.org/r/20240910215942.824137-1-robh@kernel.org
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2024-10-04 14:17:36 -07:00
Linus Torvalds
7b17f5ebd5 soc: devicetree updates for 6.12
New SoC support for Broadcom bcm2712 (Raspberry Pi 5) and Renesas
 R9A09G057 (RZ/V2H(P)) and Qualcomm Snapdragon 414 (MSM8929), all three
 of these are variants of already supported chips, in particular the last
 one is almost identical to MSM8939.
 
 Lots of updates to Mediatek, ASpeed, Rockchips, Amlogic, Qualcomm,
 STM32, NXP i.MX, Sophgo, TI K3, Renesas, Microchip at91, NVIDIA Tegra,
 and T-HEAD.
 
 The added Qualcomm platform support once again dominates the changes,
 with seven phones and three laptops getting added in addition to
 many new features on existing machines. The Snapdragon X1E support
 specifically keeps improving.
 
 The other new machines are:
 
  - eight new machines using various 64-bit Rockchips SoCs, both
    on the consumer/gaming side and developer boards
  - three industrial boards with 64-bit i.MX, which is a very
    low number for them.
  - four more servers using a 32-bit Speed BMC
  - three boards using STM32MP1 SoCs
  - one new machine each using allwinner, amlogic, broadcom
    and renesas chips.
 -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEiK/NIGsWEZVxh/FrYKtH/8kJUicFAmboLzkACgkQYKtH/8kJ
 Uid+1g/+J8rQQxIjLxxbx+TkhECt5X1u5mQZTZBIeCZmJQz2rNvmo3bm89ZAR32Z
 FnjSN0fXw7eZqnxImwNAIU7g7RBhj5zs1gKXsB2lb0vv7722KyQ1xz2Fh1NQWQ09
 OMCVjI1+19zBZYCB0C1Y2WTsFRUl5ISE3H3Wx8MJT1GWDDao/D2ULkEda0uTSu3i
 CBYBNwCtBJU7TsGe5a04P7rGKvOlDdVj+2VvMKaX6bFa+MDxoMtlABWLZRJCwOy8
 04+Oz9AO0r6HpsrAKOgxxNod7Jkw13UUG22PoTS4+B2Bc7/9oXTcJM8e+44BEe4J
 nyJButDCAf7IsqOuB0S/4J0YxtcDGnzJXNQrUg11owwVXC+uzVvkUExOneRBXqUc
 179OlY5tCXaaRtmoeUTOH9C4rk5x6o5jHCLs2DJNf9TsOwD2VjzUvUWp5WBhDDG4
 qxIUvflGm2pXhF9OeK+7fPllTc1pUmA2/LZ9LXc/13Zn3eZKGn/Kql1SNFC0CIi0
 8kQnIcV0dOh7E+zPcYENR+NGuTUU2GH3iQM9frHIaPc+KcaXPRVJDqREe/RNYRqN
 qDY7yIGkeqmH9mKhdV+WQGBjJ6z3ElOMYVST6Kq3JBDiF12UaCPEhG2t8inmvEsA
 t7nL84iWpeC1Gh+AT8UJBlRSFzQoafIrVav26pqwCvOrK7UHMZk=
 =r07W
 -----END PGP SIGNATURE-----

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

Pull SoC devicetree updates from Arnd Bergmann:
 "New SoC support for Broadcom bcm2712 (Raspberry Pi 5) and Renesas
  R9A09G057 (RZ/V2H(P)) and Qualcomm Snapdragon 414 (MSM8929), all three
  of these are variants of already supported chips, in particular the
  last one is almost identical to MSM8939.

  Lots of updates to Mediatek, ASpeed, Rockchips, Amlogic, Qualcomm,
  STM32, NXP i.MX, Sophgo, TI K3, Renesas, Microchip at91, NVIDIA Tegra,
  and T-HEAD.

  The added Qualcomm platform support once again dominates the changes,
  with seven phones and three laptops getting added in addition to many
  new features on existing machines. The Snapdragon X1E support
  specifically keeps improving.

  The other new machines are:

   - eight new machines using various 64-bit Rockchips SoCs, both on the
     consumer/gaming side and developer boards

   - three industrial boards with 64-bit i.MX, which is a very low
     number for them.

   - four more servers using a 32-bit Speed BMC

   - three boards using STM32MP1 SoCs

   - one new machine each using allwinner, amlogic, broadcom and renesas
     chips"

* tag 'soc-dt-6.12' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc: (672 commits)
  arm64: dts: allwinner: h5: NanoPi NEO Plus2: Use regulators for pio
  arm64: dts: mediatek: add audio support for mt8365-evk
  arm64: dts: mediatek: add afe support for mt8365 SoC
  arm64: dts: mediatek: mt8186-corsola: Disable DPI display interface
  arm64: dts: mediatek: mt8186: Add svs node
  arm64: dts: mediatek: mt8186: Add power domain for DPI
  arm64: dts: mediatek: mt8195: Correct clock order for dp_intf*
  arm64: dts: mt8183: add dpi node to mt8183
  arm64: dts: allwinner: h5: NanoPi Neo Plus2: Fix regulators
  arm64: dts: rockchip: add CAN0 and CAN1 interfaces to mecsbc board
  arm64: dts: rockchip: add CAN-FD controller nodes to rk3568
  arm64: dts: nuvoton: ma35d1: Add uart pinctrl settings
  arm64: dts: nuvoton: ma35d1: Add pinctrl and gpio nodes
  arm64: dts: nuvoton: Add syscon to the system-management node
  ARM: dts: Fix undocumented LM75 compatible nodes
  arm64: dts: toshiba: Fix pl011 and pl022 clocks
  ARM: dts: stm32: Use SAI to generate bit and frame clock on STM32MP15xx DHCOM PDK2
  ARM: dts: stm32: Switch bitclock/frame-master to flag on STM32MP15xx DHCOM PDK2
  ARM: dts: stm32: Sort properties in audio endpoints on STM32MP15xx DHCOM PDK2
  ARM: dts: stm32: Add MECIO1 and MECT1S board variants
  ...
2024-09-17 10:41:21 +02:00
Rob Herring
ef1e32cb63
ARM: dts: Fix undocumented LM75 compatible nodes
"lm75" without any vendor is undocumented. It works with the Linux
kernel since the I2C subsystem will do matches of the compatible string
without a vendor prefix to the i2c_device_id and/or driver name.

Mostly replace "lm75" with "national,lm75" as that's the original part
vendor and the compatible which matches what "lm75" matched with. In a
couple of cases the node name or compatible gives a clue to the actual
part and vendor and a more specific compatible can be used. In these
cases, it does change the variant the kernel picks.

"nct75" is an OnSemi part which is compatible with TI TMP75C based on
a comparison of the OnSemi NCT75 datasheet and configuration the Linux
driver uses. Adding an OnSemi compatible would be an ABI change.

"nxp,lm75" is most likely an NXP part. Alexander Stein says the i.MX53
boards are a NXP LM75A as well. NXP makes a LM75A and LM75B. Both are
11-bit resolution and 100ms sample time. The "national,lm75a" is
9-bit, so "national,lm75b" is the closest match for both NXP variants.

While we're here, fix the node names to use the generic name
"temperature-sensor".

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Kevin Hilman <khilman@baylibre.com> # am335x-nano.dts
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Reviewed-by: Alexander Stein <alexander.stein@ew.tq-group.com> # imx53-mba53.dts, imx53-tqma53.dtsi
Link: https://lore.kernel.org/r/20240816164717.1585629-1-robh@kernel.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2024-09-05 14:37:43 +00:00
Sicelo A. Mhlongo
5062d9c0cb ARM: dts: omap3-n900: correct the accelerometer orientation
Negate the values reported for the accelerometer z-axis in order to
match Documentation/devicetree/bindings/iio/mount-matrix.txt.

Fixes: 14a213dcb0 ("ARM: dts: n900: use iio driver for accelerometer")

Signed-off-by: Sicelo A. Mhlongo <absicsz@gmail.com>
Reviewed-By: Andreas Kemnade <andreas@kemnade.info>
Link: https://lore.kernel.org/r/20240722113137.3240847-1-absicsz@gmail.com
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2024-08-05 11:02:39 -07:00
Dominik Haller
22644cc044 ARM: dts: ti: omap: am335x-wega: Fix audio clock provider
Bit clock and frame clock are provided by the mcasp. Change the
simple card settings regarding the clock provider and the mclk-fs for
usage with typical 44.1 kHz and 48 kHz sample rates.

Signed-off-by: Dominik Haller <d.haller@phytec.de>
Link: https://lore.kernel.org/r/20240730092353.10209-2-d.haller@phytec.de
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2024-07-30 15:19:13 -07:00
Steffen Hemer
65dcab6970 ARM: dts: ti: omap: am335x-regor: Fix RS485 settings
RTS pin seems to have inverted behavior on am335x, other than expected
with default "rs485-rts-active-high" (instead of low on idle, high on send,
it is the opposite). Transceiver datasheet also suggests a pulldown.
Add includes to pin definitions that are used.

Signed-off-by: Steffen Hemer <s.hemer@phytec.de>
Signed-off-by: Dominik Haller <d.haller@phytec.de>
Link: https://lore.kernel.org/r/20240730092353.10209-1-d.haller@phytec.de
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2024-07-30 15:19:13 -07:00
Rafał Miłecki
cf399f182c ARM: dts: omap: am335x-bone: convert NVMEM content to layout syntax
Use cleaner (and non-deprecated) bindings syntax. See commit
bd912c991d ("dt-bindings: nvmem: layouts: add fixed-layout") for
details.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Link: https://lore.kernel.org/r/20240523042750.26238-1-zajec5@gmail.com
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2024-07-30 15:19:12 -07:00
Colin Foster
b9bf561261 ARM: dts: am335x-bone-common: Increase MDIO reset deassert time
Prior to commit df16c1c51d ("net: phy: mdio_device: Reset device only
when necessary") MDIO reset deasserts were performed twice during boot.
Now that the second deassert is no longer performed, device probe
failures happen due to the change in timing with the following error
message:

SMSC LAN8710/LAN8720: probe of 4a101000.mdio:00 failed with error -5

Restore the original effective timing, which resolves the probe
failures.

Signed-off-by: Colin Foster <colin.foster@in-advantage.com>
Link: https://lore.kernel.org/r/20240531183817.2698445-1-colin.foster@in-advantage.com
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2024-07-30 15:19:12 -07:00
Krzysztof Kozlowski
90b6de4550 ARM: dts: omap am5729-beagleboneai: drop unneeded ti,enable-id-detection
There is a ti,enable-id-detection property in the Extcon Palmas
(extcon-palmas), but not in the Extcon USB GPIO binding and driver.

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

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

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

Acked-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> # For DaVinci
Link: https://lore.kernel.org/r/20240509104813.216655-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
2024-06-26 13:25:26 +02:00
Arnd Bergmann
832cf6e176 Keystone2 device tree updates for v6.10
Generic Cleanups/Fixes:
 -  Remove custom ti,system-reboot-controller property
 -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEE+KKGk1TrgjIXoxo03bWEnRc2JJ0FAmYyNAUACgkQ3bWEnRc2
 JJ0dDRAAqA8DfN5AUvrh2rpamsF857Y05JSjkF719oko5kMBj5c9u1VBLEBb2IH9
 OgzD4Lv+85oG5GrmdGFp6GM/8SKsWGM9Hq3OKtyuWzL0p8g2LrsH9ztq3m1eJduO
 Wcc+zP6pnvcLia03BLMb5sDdDzEYMR0DIew81rfgZ/iTD7cdWO8YI+E+FLv1G75e
 zBB9RZpFZRMdRPgGjtmeHr1d0MtILJXCJ11hCVOKYyMPTXKOYk77n3nrwyestXMI
 /j4W03A7RnDBsOdVsP7I0RK5ebhwrQy9Lh+ZRgrtthpN2Ycf+o56xVhQs2H4qGF6
 +tewXLAKfloBZ72rJdGQQsPI2ap/Sg5B5ArmgsDWVCm4A4MddlK/rhcA+r2XZYMn
 q0+NeCkZ8esjoJoAY/Ki5IugEOeXrVvq65OOyEohbUdhPOLB3iW7z1pvteoTC3D3
 BxNdSPMu5cSzhiG78a16Y0Kes7uBDoa2g2HaKgqZdyOWaAztPOwJnvANSOeb6wfG
 g36e6i7/Rg+hdvuoic7BW15C3jRdb+syTeS3Q+SeHW2DD6RGs0J6Om4K2iXL2IHR
 L8KaJoQbN62eyElfZVhS/hRI9iAPiNYeAUshB2wAgoI2iMvtAs10SYnyjDpD1O8r
 qiIrqVhmtqcSku9jAi2i/K9XBd1qdU2lb1umYyIrNh+ckuEVL5c=
 =dudM
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEiK/NIGsWEZVxh/FrYKtH/8kJUicFAmYzkDMACgkQYKtH/8kJ
 UidP9RAAj3zAHLx+JMQBA9yLibYxjCuX6Iap2QqchxAth/XfQa7yAzzU0OB6NS7r
 ueoXFTtXtc4YX056/jrcL/PFQMThnlAWJwR76kxbFIyGClYKPF4n2yDhjdGhNpbq
 Mk30S3k3kZ5z1Yrh1Mx795gZHzgDt969ibgvIkoxNUoKfBzZrVddIAvTZmIkJrb2
 aQUpgYqb1cVaBoVqpH1gKN84xbGfrNt71YKUzlv5H14+N7EY3ApbS2FrxIjXxS5w
 XhMWA2bnl2HvleMVcX5S1khGd1cNu/8dnczRz4YoIj0n3Qgf4TeBE0ZpW0hDkFMf
 LZ8mNYMrShkiAP+MqMT8OC0KDrCLrGogXw3EFjTSZUiYhUaWQW8rRmti30lOunQ2
 qCBhd8iOB/vcxF2OofdW0ecugr2L15032QWgR/N+1xrA9cvR9wfHo8P+l3RLvD3C
 uy8TOUCvjAwlXqG/olmXj6zTKcuqBnbHnCdu9z8y1uNU8lBxV1N9UugT/5B6+jQV
 xcAkVV3qx2pIUEH7FeratatfS6WkvEwZfZ7Ot8ZTnu5fVAa7lJwgs2toerBBxX9v
 avijQkagYcMQQucGqkM84cFXVHIZXuoP/jCLK1vdVQ+4irMQjKpcGzePOaKF2SC8
 RgHbhn0cNu5lQQcMBaKRKqA7JlR9IP/MnO7PUZoD+HsgSWKs1G8=
 =kEQo
 -----END PGP SIGNATURE-----

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

Keystone2 device tree updates for v6.10

Generic Cleanups/Fixes:
-  Remove custom ti,system-reboot-controller property

* tag 'ti-keystone-dt-for-v6.10' of https://git.kernel.org/pub/scm/linux/kernel/git/ti/linux:
  dt-bindings: arm: keystone: Remove ti,system-reboot-controller property
  ARM: dts: ti: keystone: k2g: Remove ti,system-reboot-controller property

Link: https://lore.kernel.org/r/20240501124309.3cj5b3gjf3cpimut@outsell
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2024-05-02 15:08:02 +02:00
Arnd Bergmann
e8325e3396 Minor improvements in ARM DTS for v6.10
1. TI: add missing white-spaces for code readability.
 2. Aspeed: add vendor prefix to compatibles, to properly describe
    hardware, even though Linux drivers match by device name.
 -----BEGIN PGP SIGNATURE-----
 
 iQJEBAABCgAuFiEE3dJiKD0RGyM7briowTdm5oaLg9cFAmYud58QHGtyemtAa2Vy
 bmVsLm9yZwAKCRDBN2bmhouD10wOEACTZg2LEJoa54P2Ie6RpuNtcTXFWKD4NKTe
 dBqJoHKUvo7vdtnf1izPWn3LHs0vo9mll7JSTKt8jUBa56GsAFCrCrqoEmC70Tyx
 ZfvJONBT1s8Zs15GlAycUyYkBCM93KKt0S5b54vXJl3oyrGOi5OfQ0jQwdzmWOns
 jpf9PD/F7Ha2DKL1VrdEt54tkykX6kF2Rdfg7Wqbjy+qg6SyuOsJntI0qMhS8W9z
 82bI/R74z8ux3MpKfKSrht96MLDHBOhDoMQesFzOI/TIJUJNXJ8ZNh6KZKb7eTX2
 8i9MebCk2MEti8R8qvNk2KeiTybBc0n46aY/pNJIwp00ZU0oouuERXzE1koqIHfM
 BbsH/c2LbIMLPVk3VGCdEUiF67c9Elgv+sP1mUwzGgDc2os7MusCdhwE2YPSpAyW
 tQDXiTLnqhGBhT9P4kozrG25mhTQQ1E34ImQ9R9TmAopjm9z2KgaSsOYtOmaspdU
 8mUP93hw1S5yCB1za/pHTP2AehZPRBLMKpMcxRAeiF2AZYkz6w2jmcabTwFbSJlf
 zOQUe4XoUDbBao2Pb19LQ1m14rlKvFqra+58I+Vaa6qSmqv/YoYbprT/Yo5wg/Vy
 C51J59suYBHemrVFgwdkDKSVXtmQIGS7MPhfOWNLifVbnQG0QsgzdWIrhGgdEJC4
 2nhP0mBdlA==
 =IBkV
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEiK/NIGsWEZVxh/FrYKtH/8kJUicFAmYvx0wACgkQYKtH/8kJ
 UidAJQ/9FvjPy9uBoZ87kSbjk5FnzpMZr+LCC5ul+WfeyR1qJTjWi4HLEw+FIiAF
 yT4dotKhGwkF/0JY3KyZKGk5eL8nkztO+yRDkXHUgx7sgj7ObGVsHzFP4QIpoAjB
 JNCVA+GiesgW+mMW6NqtVPlh0bhDeIBHKy3Ow442/RVOyY3i1sKSf04CKbbuntWO
 5lO684fZzBcOAdtOLyZsElbNnhxc8w3oMjnyqaUf/dGTcvXSlzWhEu9kvbvBVCa5
 HNBHSi4XlbJc2UVYHCetnQk5+nnVqutWOAUq/8WlggA5Zh/t8+8TjiLft2Alsc/K
 paIkFMnBj7+Lv72ZGSqY3YifqBzArooR9Jk+X9jPKVh2RfgiQqzRdiI+uVvvWhu+
 U+0+ndCJQf/4dcovw4Yqqhvee+iq7/jfiCY/Q8uyN2adKhz+awCCdgqmthmObTTs
 hWeg7vcVLGbIAKybymyc9p/mfYAsp4/BcL31Aq6h1zfD4Th93V1n/GvIDRFOUeNH
 bdUXlj5WGhXLrHUuaIozgO5Oyk98X5Dv9sishjE85s5d8TEYPPjG3oR+IyGCYeCH
 4R00QhMwI4vG626Ynq4KoONXe9qoHld7w/a09wm4DwfwCH+OP0vZ0u0/u5lugeVf
 XQLP1T0rsfPSlZwPRiReaSUBoEeN3lCykkSScfUnsd+O3CMmjsY=
 =cHxl
 -----END PGP SIGNATURE-----

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

Minor improvements in ARM DTS for v6.10

1. TI: add missing white-spaces for code readability.
2. Aspeed: add vendor prefix to compatibles, to properly describe
   hardware, even though Linux drivers match by device name.

* tag 'dt-cleanup-6.10' of https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux-dt:
  ARM: dts: aspeed: Add vendor prefixes to lm25066 compat strings
  ARM: dts: ti: omap: minor whitespace cleanup

Link: https://lore.kernel.org/r/20240428163316.28955-2-krzysztof.kozlowski@linaro.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2024-04-29 18:14:04 +02:00