27254 Commits

Author SHA1 Message Date
Konrad Dybcio
63f4e4b447 arm64: dts: qcom: msm8998: Use the correct GPLL0_DIV leg for MMCC
MMCC has its own GPLL0 legs - one for 1-1 and one for div-2 output.
We've already been using the correct one in the non-div case, start
doing so for the other one as well.

Reviewed-by: Jeffrey Hugo <quic_jhugo@quicinc.com>
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20230622-topic-8998clk-v2-8-6222fbc2916b@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
2023-08-13 19:52:09 -07:00
Konrad Dybcio
00ada6afea arm64: dts: qcom: msm8998: Use the correct GPLL0 leg for GPUCC
GPUCC has its own GPLL0 leg, switch to it to allow shutting it down
when it's unused.

Reviewed-by: Jeffrey Hugo <quic_jhugo@quicinc.com>
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20230622-topic-8998clk-v2-7-6222fbc2916b@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
2023-08-13 19:52:09 -07:00
Sridharan S N
0354e2d4d2 arm64: dts: qcom: ipq5332: enable GPIO based LEDs and Buttons
Add support for wlan-2g LED on GPIO 36 and wps buttons on GPIO 35.

Signed-off-by: Sridharan S N <quic_sridsn@quicinc.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20230616083238.20690-2-quic_sridsn@quicinc.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
2023-08-13 19:48:36 -07:00
Konrad Dybcio
76a6dd7bfc arm64: dts: qcom: sm8450: Add PRNG
Add the Qualcomm Pseudo-Random Number Generator.

Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20230811-topic-8450_prng-v1-3-01becceeb1ee@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
2023-08-13 19:39:44 -07:00
Bryan O'Donoghue
c27c73bb56 arm64: dts: qcom: apq8016-sbc: Enable camss for non-mezzanine cases
When we have no camera mezzanine attached it is still possible to run the
test-pattern generator of the CSID block.

As an example:

media-ctl --reset

yavta --no-query -w '0x009f0903 1' /dev/v4l-subdev2
yavta --list /dev/v4l-subdev2

media-ctl -d /dev/media0 -V '"msm_csid0":0[fmt:UYVY8_1X16/1920x1080 field:none]'
media-ctl -l '"msm_csid0":1->"msm_ispif0":0[1]'
media-ctl -d /dev/media0 -V '"msm_ispif0":0[fmt:UYVY8_1X16/1920x1080 field:none]'
media-ctl -l '"msm_ispif0":1->"msm_vfe0_rdi0":0[1]'
media-ctl -d /dev/media0 -V '"msm_vfe0_rdi0":0[fmt:UYVY8_1X16/1920x1080]'
media-ctl -d /dev/media0 -p

yavta -B capture-mplane --capture=5 -n 5 -I -f UYVY -s 1920x1080 --file=TPG-UYVU-1920x1080-000-#.bin /dev/video0

Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Link: https://lore.kernel.org/r/20230811234738.2859417-8-bryan.odonoghue@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
2023-08-13 19:38:32 -07:00
Bryan O'Donoghue
6823df3158 arm64: dts: qcom: apq8016-sbc-d3-camera-mezzanine: Move default ov5640 to a standalone dts
At the moment we define a single ov5640 sensor in the apq8016-sbc and
disable that sensor.

The sensor mezzanine for this is a D3 Engineering Dual ov5640 mezzanine
card. Move the definition from the apq8016-sbc where it shouldn't be to a
standalone dts.

Enables the sensor by default, as we are adding a standalone mezzanine
structure.

Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20230811234738.2859417-7-bryan.odonoghue@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
2023-08-13 19:38:32 -07:00
Bryan O'Donoghue
4facccb44a arm64: dts: qcom: apq8016-sbc: Rename ov5640 enable-gpios to powerdown-gpios
There are two control lines controlled by GPIO going into ov5640

- Reset
- Powerdown

The driver and yaml expect "reset-gpios" and "powerdown-gpios" there has
never been an "enable-gpios".

Fixes: 39e0ce6cd1bf ("arm64: dts: qcom: apq8016-sbc: Add CCI/Sensor nodes")
Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20230811234738.2859417-6-bryan.odonoghue@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
2023-08-13 19:38:32 -07:00
Bryan O'Donoghue
775d2f3f76 arm64: dts: qcom: apq8016-sbc: Set ov5640 assigned-clock
The driver for the ov5640 doesn't do a set-rate, instead it expects the
clock to already be set at an appropriate rate.

Similarly the yaml for ov5640 doesn't understand clock-frequency. Convert
from clock-rate to assigned-clock and assigned-clock-rate to remediate.

Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20230811234738.2859417-5-bryan.odonoghue@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
2023-08-13 19:38:32 -07:00
Bryan O'Donoghue
3652866ff4 arm64: dts: qcom: apq8016-sbc: Fix ov5640 data-lanes declaration
The yaml constraint for data-lanes is [1, 2] not [0, 2]. The driver itself
doesn't do anything with the data-lanes declaration save count the number
of specified data-lanes and calculate the link rate so, this change doesn't
have any functional side-effects.

Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Link: https://lore.kernel.org/r/20230811234738.2859417-4-bryan.odonoghue@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
2023-08-13 19:38:32 -07:00
Bryan O'Donoghue
43a6845808 arm64: dts: qcom: apq8016-sbc: Fix ov5640 regulator supply names
The ov5640 driver expects DOVDD, AVDD and DVDD as regulator supply names.

The ov5640 has depended on these names since the driver was committed
upstream in 2017. Similarly apq8016-sbc.dtsi has had completely different
regulator names since its own initial commit in 2020.

Perhaps the regulators were left on in previous 410c bootloaders. In any
case today on 6.5 we won't switch on the ov5640 without correctly naming
the regulators.

Fixes: 39e0ce6cd1bf ("arm64: dts: qcom: apq8016-sbc: Add CCI/Sensor nodes")
Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20230811234738.2859417-3-bryan.odonoghue@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
2023-08-13 19:38:32 -07:00
Bryan O'Donoghue
349a13a1e7 arm64: dts: qcom: msm8916: Define CAMSS ports in core dtsi
Each CSIPHY in CAMMS maps to a port here in the dtsi, since the number of
CSIPHYs is fixed per SoC define the 8916 ports for both available PHYs.

Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20230811234738.2859417-2-bryan.odonoghue@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
2023-08-13 19:38:32 -07:00
Greg Kroah-Hartman
e75850b457 Merge 6.5-rc6 into char-misc-next
We need the char/misc fixes in here as well to build on top of.

Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-08-13 22:14:51 +02:00
Francesco Dolcini
9e77200356 arm64: dts: ti: verdin-am62: Add DSI display support
Add MIPI-DSI support to Verdin AM62.

Verdin AM62 has a MIPI DSI interface on the edge connector, this is
provided with a Toshiba TC358778 DPI to MIPI-DSI bridge connected to the
DSS DPI port with a 18-bit width parallel bus.

Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
Link: https://lore.kernel.org/r/20230812191123.14779-1-francesco@dolcini.it
Signed-off-by: Nishanth Menon <nm@ti.com>
2023-08-13 07:58:55 -05:00
Mateusz Guzik
c8afaa1b0f locking: remove spin_lock_prefetch
The only remaining consumer is new_inode, where it showed up in 2001 as
commit c37fa164f793 ("v2.4.9.9 -> v2.4.9.10") in a historical repo [1]
with a changelog which does not mention it.

Since then the line got only touched up to keep compiling.

While it may have been of benefit back in the day, it is guaranteed to
at best not get in the way in the multicore setting -- as the code
performs *a lot* of work between the prefetch and actual lock acquire,
any contention means the cacheline is already invalid by the time the
routine calls spin_lock().  It adds spurious traffic, for short.

On top of it prefetch is notoriously tricky to use for single-threaded
purposes, making it questionable from the get go.

As such, remove it.

I admit upfront I did not see value in benchmarking this change, but I
can do it if that is deemed appropriate.

Removal from new_inode and of the entire thing are in the same patch as
requested by Linus, so whatever weird looks can be directed at that guy.

Link: https://git.kernel.org/pub/scm/linux/kernel/git/tglx/history.git/commit/fs/inode.c?id=c37fa164f793735b32aa3f53154ff1a7659e6442 [1]
Signed-off-by: Mateusz Guzik <mjguzik@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2023-08-12 09:18:47 -07:00
John Clark
a721e28dfa arm64: dts: rockchip: Add NanoPC T6 PCIe Ethernet support
Device tree entries for PCIe 2.5G Ethernet NICs

Signed-off-by: John Clark <inindev@gmail.com>
Link: https://lore.kernel.org/r/20230810003156.22123-1-inindev@gmail.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
2023-08-12 15:13:00 +02:00
Sebastian Reichel
8d81b77f4c arm64: dts: rockchip: add rk3588 PCIe2 support
Add all three PCIe2 IP blocks to the RK3588 DT. Note, that RK3588
also has two PCIe3 IP blocks, that will be handled separately.

Co-developed-by: Kever Yang <kever.yang@rock-chips.com>
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Tested-by: Jagan Teki <jagan@edgeble.ai> # edgeble-neu6a, 6b
Reviewed-by: Jagan Teki <jagan@edgeble.ai>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Link: https://lore.kernel.org/r/20230731165723.53069-6-sebastian.reichel@collabora.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
2023-08-12 14:18:59 +02:00
Stefan Nagy
eddf730297 arm64: dts: rockchip: Enable internal SPI flash for ROCK Pi 4A/B/C
The ROCK Pi 4A, ROCK Pi 4B and ROCK Pi 4C boards contain a nor-flash chip
connected to spi1. Enable spi1 and add the device node.

This patch has been tested on ROCK Pi 4A.

Signed-off-by: Stefan Nagy <stefan.nagy@ixypsilon.net>
Link: https://lore.kernel.org/r/20230811201118.15066-1-stefan.nagy@ixypsilon.net
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
2023-08-12 14:15:07 +02:00
Arnd Bergmann
75f27cbab5 Renesas ARM defconfig updates for v6.6
- Enable CSI driver support for Renesas RZ/V2M based platforms,
   - Enable MTU3a PWM and RAA215300 PMIC/RTC driver support, as used on
     Renesas RZ/{G2L,G2LC,G2UL,V2L} SMARC EVKs.
 -----BEGIN PGP SIGNATURE-----
 
 iHUEABYIAB0WIQQ9qaHoIs/1I4cXmEiKwlD9ZEnxcAUCZMOpLAAKCRCKwlD9ZEnx
 cFltAQDE0BHbviSB/m6mUQxM3S/Ubv3kcph3hAVdVIxcvSHLrgD+J/PnCRef7/UY
 WXKqPtMTdzscRSi99GIzLelCDKwrgQk=
 =S3yX
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEiK/NIGsWEZVxh/FrYKtH/8kJUicFAmTXUwMACgkQYKtH/8kJ
 UicOHQ//ctTZUiAI44Ska3r4Hio2kGjng+OBNQwCKOMDuTkQc1Zsb1RHJeCcNjBt
 juD4peeJ/vk6zP/wRMhEfujB0H9IzlwCqC6CGzoeL2e2uJyMfBbY0Ca44cKCxR98
 DComL5qXvbb2SmdQEWmwub5HX8+t4PF4NFURuqVWAKTTyZkdn/tik2oovUYAarqe
 viiqMhivPxIQ0mhrJiDjpjTV94bUU3jjvCgGhHtGywTXlfENwfGHYSu1hVJluf1o
 rhVdo6oaDRzTkyYCnHyMdGABImqDxQXFiKXIphjGfc+cXDsv+wMotRRZx+38RW01
 ORJyiiDsutACJetByH7SRCogJ+gIAbBwjZCEK1w0Mw40WkKtM0DA1WOOij5WKofB
 7OezWBlq1E8GWW09/CRZgDrkAV5jDxk16qSn0UfxyBZXSmoZZJ5r7EkggQs8Vwdn
 Zey9DGBFVksBSMmZzaJEfcUvOaqsB5O2J5aHCXexlTCDb9g1pqYpb0ZbJHNwoEq9
 gGUgfc6WVYOn43uMb/AgwlniJDU2rvFpSscbngzXuAB/sfB9/+wca+iUyHhkwsGz
 +J3eyDSKUaRhfx7/nKxibqLLRpdwFJsLm7CVcK6h7+hpaNLetUk2c5COIdRKJprp
 og5/4P6B6EA0gdj64zXD0BzyzGKPWrtllsVjmp0VuweKAnCQjwQ=
 =gHml
 -----END PGP SIGNATURE-----

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

Renesas ARM defconfig updates for v6.6

  - Enable CSI driver support for Renesas RZ/V2M based platforms,
  - Enable MTU3a PWM and RAA215300 PMIC/RTC driver support, as used on
    Renesas RZ/{G2L,G2LC,G2UL,V2L} SMARC EVKs.

* tag 'renesas-arm-defconfig-for-v6.6-tag1' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-devel:
  arm64: defconfig: Enable PMIC RAA215300 and RTC ISL 1208 configs
  arm64: defconfig: Enable Renesas MTU3a PWM config
  arm64: defconfig: Enable Renesas RZ/V2M CSI driver

Link: https://lore.kernel.org/r/cover.1690545141.git.geert+renesas@glider.be
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2023-08-12 11:38:11 +02:00
Arnd Bergmann
08caced488 Samsung DTS ARM64 changes for v6.6
1. Add dedicated compatibles for PWM block.
 2. Add PWM to ExynosAutov9 SADK board.
 3. Few white-space and other cleanups.
 -----BEGIN PGP SIGNATURE-----
 
 iQJEBAABCgAuFiEE3dJiKD0RGyM7briowTdm5oaLg9cFAmTU/eUQHGtyemtAa2Vy
 bmVsLm9yZwAKCRDBN2bmhouD14fKD/wMx4nnvu6VC4bRpsPxOf5otPZTXDtLF4qo
 t62yH6P8Z4M//nNA1bpO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xAF94Pm4uPgiIzp2acLr1FERqKCNozC0c/kyD
 Y44FVcrQko4oBTHbVGoJ2v0Aq2fDjwOjW6yw/gBxQKy+eVrFW2bkUKEWDo6fXvhV
 huZQJ76Ry60jm44DrocB7jJToActaFNpZqZb04wdOeX8XzznpZ/CS7GsVenYgi9v
 U1F1Xey3wQHCBrxZbdiXZH+vI8Jh036Vpw8YiBTMHG5b0KykTOuLFfq6CmxVD9lm
 ftY4W5Hdg4KvrwXYCkC2lnKCOkIhta64PYH4RGbqCLfAAX9VABP6VZeCiEOl6NFX
 /rTrPapCkb0PYB6jsoeN203Pz6Pn498L/qx0H+rWVJ0cckSQDjq81HXcP0q3LXGc
 uXW24mNsf4iHNJvoW6jqKd7l4GPt296yzs9e93zvIb3HpBZlj4U=
 =cJig
 -----END PGP SIGNATURE-----

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

Samsung DTS ARM64 changes for v6.6

1. Add dedicated compatibles for PWM block.
2. Add PWM to ExynosAutov9 SADK board.
3. Few white-space and other cleanups.

* tag 'samsung-dt64-6.6' of https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux:
  arm64: dts: exynos: exynos5433-tm2: drop redundant status=okay
  arm64: dts: exynos: add pwm node for exynosautov9-sadk
  dt-bindings: pwm: samsung: add exynosautov9 compatible
  arm64: dts: fsd: minor whitespace cleanup around '='
  arm64: dts: exynos: minor whitespace cleanup around '='
  arm64: dts: exynos: add missing space before {

Link: https://lore.kernel.org/r/20230810151250.220202-2-krzysztof.kozlowski@linaro.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2023-08-12 10:57:42 +02:00
Arnd Bergmann
594579e42c - Add D1 GPADC node
- Introduce support for OrangePi Zero 3 SBC
 - Enable DT overlay support for Allwinner H3 boards
 -----BEGIN PGP SIGNATURE-----
 
 iHUEABYIAB0WIQSPRixG1tysKC2PKM10Ba7+DO8kkwUCZM/gMQAKCRB0Ba7+DO8k
 kyuRAQChRx+hyhXWb1+5XVPiOHE1X4Ye/OosrT8rIhYkOETpCAEAvM2jYmUfk8rh
 /bQ+anyD713XahiEsGfbQDeKPXAfuwE=
 =9lad
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEiK/NIGsWEZVxh/FrYKtH/8kJUicFAmTXRwIACgkQYKtH/8kJ
 UieFnQ//ZQlp2eyKFJRov+HpBidPvBoxdwBovVsmyVvBUbrjg6JXIpOJAZYtvfS6
 SlrCcEurnbyGRmUlDViKonoaWwNz3rtMdXaf7wXdzAKUyfsCf+FGkPrkRXa2U6XV
 urgAhtd/ZVq36V2cW9otnJkXX0PaRkE0NGgyj/BNvT1AXDw6FnoAakJO1FqTWQkE
 g71wJvMbM3unbvyiLgUt4nnajMLDSeF4zJkofPytoFvnmpdDTu+UTW3XpZccS+TH
 1OHCAixaM7lFINm0kuACBO6sEGgi7KXInZDefZ7vM8j7mhbIzFiTiMc/pc7ZW/+v
 zB9PfdJ2mAQ5q1v+MOOBS/Djwe1MueYKX6XWoZoLHf4geTpTn1mhLgIO9e37uBDy
 g0A07l74w2hG+KYfiqwzsh3YOFZ5xaqk/B7kn4UdqMMEEJJUeTMhe2Voi0bK6SX4
 A/U8BqGxTGGSArpW1dbb79ANuYeGs7Ka83iTaPD3jjtXin8N99CuMtq2NReVf9uI
 P4chRVYsMA5DZT1JnGsc756CIA+1mgIK16xxKKtvlL45zSsS4akZUpU/mZXUoKWA
 bEXWi38L2cCsT6XaIggIkFhuk/CKWOHaf1Vjt4ihK/B1AnA82fQu0VkMJfV4s4VZ
 gA1eRDctDM3bF+p4Sh6WaWsLYoclQiBizXT5F2gf0fq5IHrYlwg=
 =tqQf
 -----END PGP SIGNATURE-----

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

- Add D1 GPADC node
- Introduce support for OrangePi Zero 3 SBC
- Enable DT overlay support for Allwinner H3 boards

* tag 'sunxi-dt-for-6.6-1' of https://git.kernel.org/pub/scm/linux/kernel/git/sunxi/linux:
  arm: dts: Enable device-tree overlay support for sun8i-h3 pi devices
  arm64: dts: allwinner: h616: Add OrangePi Zero 3 board support
  dt-bindings: arm: sunxi: document Orange Pi Zero 3 board name
  arm64: dts: allwinner: h616: Split Orange Pi Zero 2 DT
  riscv: dts: allwinner: d1: Add GPADC node

Link: https://lore.kernel.org/r/20230806180546.GA127039@jernej-laptop
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2023-08-12 10:46:58 +02:00
Rob Herring
c718f36c9b
arm64: dts: mediatek: Fix "status" values
The defined value for "status" is "disabled", not "disable".

Reviewed-by: Alexandre Mergnat <amergnat@baylibre.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20230804225813.12493-1-robh@kernel.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2023-08-12 10:46:37 +02:00
Arnd Bergmann
57af7d51e7 Amlogic ARM64 DT changes for v6.6:
- Add initial support for A311D2
 - Add AN400 board
 - Add gpio_intc, power domain for C3 SoC
 - Again some DT bindings fixes & cleanups
 -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEPVPGJshWBf4d9CyLd9zb2sjISdEFAmTM+OMACgkQd9zb2sjI
 SdGCeRAApGanQunwqR5sQWi0avWw+escuQd/zOLOdLIwGKWyeWT9CdXoECZzvcnA
 t3uyVD4WRzMjTvLyFX/cPFaJduYo68eDZ/WY2eJo18dkKAskIjKAeXxLXfOU6ZFH
 T4J+uvDKZOAI0NNsXSzQbbxGNUvJhDiWd+bd4d08k+bTbvy4YdEs/s/G55uEE7Rv
 u7B9D+yye8O6tmP71l/lEpkqMxuFfSfgdJth1GcxSREmazN2Q87m4zTUIcirDTla
 0YpHJirPrRLXI3llQDVVEbr1hBnAi2qruZxgyKjW9his5Lw1KTkJ6EfEg6T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fyd33mP0dQqcfSa+1oIpGqt
 iM3mQDZEc/nx7KP/bJEV6rWxPset3onE9r3s9wBRZBzXT0P7mxsdS9u30skqVQs9
 FMMgffLbLNzs6WoUPmRblHvMfBVUT+P7QGpD0xcDYqHnA/hgpJI=
 =IYLD
 -----END PGP SIGNATURE-----

Merge tag 'amlogic-arm64-dt-for-v6.6' of https://git.kernel.org/pub/scm/linux/kernel/git/amlogic/linux into soc/dt

Amlogic ARM64 DT changes for v6.6:
- Add initial support for A311D2
- Add AN400 board
- Add gpio_intc, power domain for C3 SoC
- Again some DT bindings fixes & cleanups

* tag 'amlogic-arm64-dt-for-v6.6' of https://git.kernel.org/pub/scm/linux/kernel/git/amlogic/linux:
  arm64: dts: amlogic: drop cooling-[min|max]-state from pwm-fan
  arm64: dts: amlogic: meson-g12-common: change aobus-pinctrl node name
  arm64: dts: amlogic: meson-g12b-odroid-n2: fix usb hub hog name
  arm64: dts: amlogic: drop redundant status=okay in sound nodes
  arm64: dts: amlogic: meson-g12b-bananapi: switch to enable-gpios
  arm64: dts: add support for C3 power domain controller
  arm64: dts: Add gpio_intc node and pinctrl node for Amlogic C3 SoCs
  arm64: dts: add board AN400
  dt-bindings: arm: amlogic: add board AN400
  arm64: dts: amlogic: minor whitespace cleanup around '='
  arm64: dts: amlogic-t7-a311d2-khadas-vim4: add initial device-tree
  dt-bindings: arm: amlogic: add Amlogic A311D2 bindings

Link: https://lore.kernel.org/r/d5f95654-ebcd-bd37-02f9-840e50b17e44@linaro.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2023-08-12 10:45:30 +02:00
Arnd Bergmann
2fec32345e Armv8 Juno/FVP update for v6.6
Just a single minor whitespace cleanup in couple of FVP device trees.
 -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEEunHlEgbzHrJD3ZPhAEG6vDF+4pgFAmTM07EACgkQAEG6vDF+
 4phuBRAAjCgTXNN6z3ltpP3ukClpAesNg8U0IPQHV0gVJeyQSCjal9BrvHZr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ZsIg+enQo2fqFkFpajKs
 1xy1XJlkecB1EQLsddWVaHei8mPS729wKzK4rn3M5+rHVWH4Ffj+dktLpysQixGC
 JSPB8Mwunnb3XgtKmGL8TW2dmHFqhMM/Cmk6qhktTeS2cIXWswnm0E/aPgZ9EQLW
 CBvWQyVczuQ/ahMnEsa4intXNexb6jWcPi+/wX4RMpFr5s/etyG51DDgMJVux2f/
 +F/IEAEXYK6heb8GZcQD6Ro/aksTZ1weamTTHLnW2ceGkp7sSjqO3ydeynTJLnaN
 KLah64bCg70v0yoHGgbbsZMphRWm9iSMfoEU60Ji2z+YgPP76b2MMwYj1V3txFb9
 kd6QTP+iA4qRgD+70qjmvg19WOKDWtZCxkYjsX/DlVj17lft2sU=
 =FqwV
 -----END PGP SIGNATURE-----

Merge tag 'juno-update-6.6' of git://git.kernel.org/pub/scm/linux/kernel/git/sudeep.holla/linux into soc/dt

Armv8 Juno/FVP update for v6.6

Just a single minor whitespace cleanup in couple of FVP device trees.

* tag 'juno-update-6.6' of git://git.kernel.org/pub/scm/linux/kernel/git/sudeep.holla/linux:
  arm64: dts: arm: minor whitespace cleanup around '='

Link: https://lore.kernel.org/r/20230804123223.3258086-1-sudeep.holla@arm.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2023-08-12 10:44:46 +02:00
Arnd Bergmann
e5963e1596 arm64: ZynqMP DT changes for v6.6
- Describe caches
 - Fix i2c gpio recovery description
 - Setting up default i2c frequency
 - Describe GEM TSU clock and assigned rates for SOMs
 - Reserved 1MB for internal firmware usage
 - Fix dwc3 IRQ description
 - Describe interrupts by using macros
 -----BEGIN PGP SIGNATURE-----
 
 iF0EABECAB0WIQQbPNTMvXmYlBPRwx7KSWXLKUoMIQUCZMzehwAKCRDKSWXLKUoM
 ISvjAJ4w2hMTWmidv38lFqEZbBo/g/YOswCeKEKGx7opgHWSi7mtArtN6i4lakw=
 =wtLU
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEiK/NIGsWEZVxh/FrYKtH/8kJUicFAmTXRlMACgkQYKtH/8kJ
 UidUnRAAgWC0N42rvgYRJmE/1BH4P+HmxghnE/1piXM9JdTz7i9VvHOY7yWNR3w5
 XUuvAQbZhx2VGtUFKvLPPsq7PcizLVPHetj9lNrs5a+8Oakfjjk6Y1Hsfob73e6z
 Z+Gg15xq921TCBGMq7usdOQ80vCj/j7P04hKY89koBQ4ZrF8czPEBcP0D2xjOllx
 wJnPn5N82HoqgExYLl/echjm80YD9LyzGu3jw1+G2QqclGtaQOzAVaeNXYgSnoBq
 SHkOGD6hxw7oUK5YNSA1l561kAZylivUuDljIO8JHCu8OiY3BwfMYiSAvRR3Q2zl
 MYaYtc9xYhMjDFp7r3aPcpoyYt4j72Tl3wxbMrB5DKCQqHMD90Ll+rI9DbEXgtcg
 lwSe1BJMb9noa6KrrxeSrUUEgXBrxJuWoYcNuLjVY9fL0lr6zzZ7uxZfnyNf9amZ
 RDaQA+6uw6lpRoL1niaSxlJLFWy8pBcqdHAjkSt4fP/RYvDtvUlFYguHWW+1QDtA
 mtdcxXLa+207y3M3KRaaHBI4XpFy/NCkWR7DzHBqw3tJG+H7T7Ibu9PCHPLUcVyz
 B4ZdObnrfg+uhzMv1C19NkXApCqr5kIIkLuZ8eU/u7Jf490OCYl7YcvEaJQAqQFO
 8aBiixjbK3k92kziTgqp9xMUiwljLoL+OsHnGjJ3v18TL6/6LaQ=
 =bVCE
 -----END PGP SIGNATURE-----

Merge tag 'zynqmp-dt-for-6.6' of https://github.com/Xilinx/linux-xlnx into soc/dt

arm64: ZynqMP DT changes for v6.6

- Describe caches
- Fix i2c gpio recovery description
- Setting up default i2c frequency
- Describe GEM TSU clock and assigned rates for SOMs
- Reserved 1MB for internal firmware usage
- Fix dwc3 IRQ description
- Describe interrupts by using macros

* tag 'zynqmp-dt-for-6.6' of https://github.com/Xilinx/linux-xlnx:
  arm64: zynqmp: Describe interrupts by using macros
  arm64: zynqmp: Fix dwc3 usb interrupt description
  arm64: zynqmp: Add memory reserved node for k26 Kria SOM board
  arm64: zynqmp: Assign TSU clock frequency for GEMs
  arm64: zynqmp: Setting default i2c clock frequency to 400kHz
  arm64: zynqmp: Fix open drain warning on ZynqMP
  arm64: zynqmp: Add L2 cache nodes

Link: https://lore.kernel.org/r/fde6d7b4-c751-219d-3ec5-04e5bad2aa17@monstr.eu
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2023-08-12 10:44:03 +02:00
Arnd Bergmann
a4cd6f2677 ARM64: DT: HiSilicon ARM64 DT updates for v6.6
- Miscellaneous fixes according the DTS coding style
 - Correct the clocks order of the sd0 for the hi3798cv200
 -----BEGIN PGP SIGNATURE-----
 
 iQJJBAABCgAzFiEEQeMYD8qOQTc1R/snC8hXbtmJZlwFAmTMYsAVHHh1d2VpNUBo
 aXNpbGljb24uY29tAAoJEAvIV27ZiWZcvsYP/3i2T7XnFR2KcGuASMbqgPRYTy4z
 8Ehfu9+ubul6RqGMt5zSYBbYEHH6woxg85Rgpz7xEhi98y7MY+dIaZrpmLZ7JqmU
 US6Rq2ADGACXPnJMhAJXBoUuKdH5NFapZdlIb95ao6bhpnH+Liyt6f078pFoFvLV
 ZEzQupbDVd9u5DRN7wKxhG0oFboVsdrupwR7UY+vLKAx33BZH2CvLpCwlWJtiXEU
 y7LvMsBzhoTUJADtsrRYUxSeck2gOx0seME+cRRD6/ElBvDAmyhZ8B4hW+lPaDRZ
 YmY846ySoKWh+E3FI2vsqPcKPYQ8HobZvtcTvBpYuKNhUHBQWqXydcxeVUqsjvbT
 7a2vVY1QxD0JPsUb4QzpbthlhLi2MobMIL7FqCxDIPW8jm55qIfL/jD81Tm6lteZ
 c2/Mp1aX4wWnRR8T+er1aKflBqDGr51y1KhqZZb/tmLOKNEnFNrRz6+eVa2rMC1Y
 Vr59nzptylswfrm7k6eEgTpqkwErxqSIjUJv+mUL0ms8oI3jBnM7nirzZOizuuNF
 UU4xODRowh91nIjxwaJeWk7noWq66rUJtMuv24yIRneJHu3V6z/hkKA9GIFiezqx
 zjBuFLKV9DqY9afc3m3Q2Ajtfb7NkZ0zAv8+GUHBSKKpOQ1NDsYYquinrit42k00
 XKHPyXYr82IsnW7y
 =T5Tw
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEiK/NIGsWEZVxh/FrYKtH/8kJUicFAmTXRgQACgkQYKtH/8kJ
 UieBZg//bDQbNyBOq62hVzCSKW0ruFa42ETJcJ7b+Exh9/VCRn5ZagIilPI6ux7U
 ZNpjg8Rx/q/Q78BSxsz/YXsD9nCePFAPPbCLv7i1QfrWVElqC0klPXyfm5b3X8n3
 LhtIgMkcHdzgmzOXgqVDMQ0h8AMqtJPECJvcIGMkBMiw0J3l8XuhGR4grFXp8V+q
 xGNbnOh0h7hwxlhkDrveSXCxvDVMu9hVc5FdyU9eXPjJKB4rI7ZDUkRblHl/rM9S
 o2dARhPkmgetFu7+mgx+BmR7FKTvn6nr/UMcIoeV979608PAEzWr1Of7GMQCgKOw
 3MYhIoi2sCUKqz9yGLT0hFtOxtYcBq4LQ4VnyBV0anz5Q0HH1xneb/SYAdmZHCKJ
 SCC3Ni/+HC+dnOM2Uyz2s++6Jf39qFpEdzhyrqhzXlcRZvz5V3g0xUhuAXATZO/w
 5SFjTEzQQr/siOnvSJotlDYI0LbQGRPqYi3vf/0f0JiVJzzwGQaB2/8PUNw/C5JG
 kXLVYxzTanYFSRGpWJO69RoJurJVBhgCA35viV4A20Rgj+MMyYLEAEHqssv+RrZx
 MP0iZrexNXuBlrl50A6K+1uBfBgv//IlEvPtuX3VQP47ErWD9LvR3X6zrLOVv5GX
 TBJuGH7phhqME2puhebN0chhaOSdL1KlR3e7isR70SpOe3M2VC0=
 =CyEJ
 -----END PGP SIGNATURE-----

Merge tag 'hisi-arm64-dt-for-6.6' of https://github.com/hisilicon/linux-hisi into soc/dt

ARM64: DT: HiSilicon ARM64 DT updates for v6.6

- Miscellaneous fixes according the DTS coding style
- Correct the clocks order of the sd0 for the hi3798cv200

* tag 'hisi-arm64-dt-for-6.6' of https://github.com/hisilicon/linux-hisi:
  arm64: dts: hi3798cv200: Fix clocks order of sd0
  arm64: dts: hisilicon: add missing space before {
  arm64: dts: hisilicon: minor whitespace cleanup around '='

Link: https://lore.kernel.org/r/64CC99A3.5030701@hisilicon.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2023-08-12 10:42:44 +02:00
Arnd Bergmann
a6fb5573a3 Microchip ARM64 device tree updates for 6.6
It contains:
 - one cleanup patch that removes whitespaces around '='
 -----BEGIN PGP SIGNATURE-----
 
 iI8EABYIADcWIQTsZ8eserC1pmhwqDmejrg/N2X7/QUCZMx7XxkcY2xhdWRpdS5i
 ZXpuZWFAZ21haWwuY29tAAoJEJ6OuD83Zfv9+fsBAM6LkmMJrAhMflWqjzj/S+l/
 j636+b7ODLKkqnKaGP39AP9m901naPZdvtdgaIlyzg/wr6al3HDgGMmWMN5vZ3KS
 Ag==
 =ZnN4
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEiK/NIGsWEZVxh/FrYKtH/8kJUicFAmTXRegACgkQYKtH/8kJ
 Uieqtg/8C63PjOi0b4fhHHoE7au48LTuhf/grF+CMgBFuGNo91R0txNZ44plFUrm
 0Vyy0Imx3ZDvCvp2xQ7qLyUBGrHID1SOFrn+w0i3tK+A59RksaaeDzksBHr3peVm
 QtH/eibbXZeByD0S5qMb8ONkT8oVsYI5GsOYRd2QbQpVOvqdOrQi3x90NZAx7oU9
 uDG6c9I8meDN4Ve7mIHmZxfAasfYJz9td593AobljveZbhMU+b45aquhNnW+6zUw
 nFJvnvV2VEJc9Dw+sNnqhv/7vZB8aRDmzBPDTO5Cd/UTwxoveFoq0hD8H43CiwJ+
 fJ9Nui1D3Zm9ivUI4gIoSWgwqauxQUG3K141iQKsRSkiJrzTfYjPOq5dYPGJXM0z
 S54nHf6rgAWzybEAHTSD/8p2Q4Nhazen8DlaaEkNLd/xRo6I/QUEEUZubujxisSs
 OQMDh5u2IsGeIPpFirJd4JsE8yCYXNXHLlI45EbJsXaR8M0kId2VLhad2fjnfdF8
 oz/sLLZo5WCnhLcUM6nt8t99dQGrypBQSuv0qYfSD+OJvwTvCloLiQ/JS9MBoMSW
 xoYkXvQ0Nf7D+pOg5FxTVUn5lnlRV4XaUT3/L40eDoMULLOar7kwvpTxEs+pc4B9
 KPE0lCRq3FpbRHQlUpY37OVrg69R4/l5LNKHRl+yuxhYKQPzf2M=
 =ODnn
 -----END PGP SIGNATURE-----

Merge tag 'microchip-dt64-6.6' of https://git.kernel.org/pub/scm/linux/kernel/git/at91/linux into soc/dt

Microchip ARM64 device tree updates for 6.6

It contains:
- one cleanup patch that removes whitespaces around '='

* tag 'microchip-dt64-6.6' of https://git.kernel.org/pub/scm/linux/kernel/git/at91/linux:
  arm64: dts: microchip: minor whitespace cleanup around '='

Link: https://lore.kernel.org/r/20230804044132.231508-1-claudiu.beznea@tuxon.dev
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2023-08-12 10:42:15 +02:00
Arnd Bergmann
8be4ee0ee0 Renesas DTS updates for v6.6
- Add Clocked Serial Interface (CSI) support for the RZ/V2M SoC,
   - Add PMIC, RTC, and PWM support for the RZ/G2L, RZ/G2LC, and RZ/V2L
     SMARC EVK development boards,
   - Add PWM (MTU3a) support for the RZ/G2UL and RZ/Five SoCs,
   - Add External interrupt (INTC-EX) support for the R-Car S4-8 SoC,
   - Add LED support for the Spider development board,
   - Miscellaneous fixes and improvements.
 -----BEGIN PGP SIGNATURE-----
 
 iHUEABYIAB0WIQQ9qaHoIs/1I4cXmEiKwlD9ZEnxcAUCZMOojAAKCRCKwlD9ZEnx
 cDCFAPsHgAfrHWFiL0x6AhhNOesqKAWvplGhosT0zArv7TNZtwEAq5QXAy3xFHS6
 v9HA2cskx4OaGCDrdNqz7DBj30IyZQM=
 =mRJ6
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEiK/NIGsWEZVxh/FrYKtH/8kJUicFAmTXRWAACgkQYKtH/8kJ
 UidYHg//YGa4bHI8SOS40hlTQ6exi4/aHMfqgolVDUjRSVPn/gu+7QLza3ErmSTW
 lHdm4IlkSFTk9OZTbVpbcsFnrv5vC5edMDhoKuV4n2rtu9iiHdBk23NqG+C9CGmC
 4eEVq3Q17jMetoCN2R8hijhqjVKoGC3VZqMfY7wI0GcVGJkBIi/jZRMqVFBI/D0L
 uk732qm6NgVWi49ZM5P1D2klZOhgJNNvgDcTLaB0BsvkSSodQP2WiaztC8jFB5gh
 Ti/ie6UCCEevMRrnYzUUfc4lSWUCfkJ3oLt2a8s9FxFKiZQf9+9rYZ3sVQEy+emI
 U48ZuEzf+7VQ+00zC9tuqgtOdjevoxjfCUMdcVd+j3AkjWc+PDWLxd90CYCA4Psu
 EVk2MR6DdgWJHq1CdynlPPbUoDFTlNKrZ/Mn/8km5goLefUsOFbhheazcVBkLPgR
 a9KY1BY/fP2J/1AvCIh5co5WrTrA5E4BcenHRzRINEzF69mCdESjkWGHaHRNaFc+
 4sFrJWfoHHjIgxfbPbqGhOQJYOWwftcUOjZxU+V7W1T3Ptc3Eq89BhSjANH5UA3y
 uAXgepbDs3cUd+F3NtARmMsUCMB4t7bG7vma2LdDqbYg819qDcMoDhGPJECHAOT4
 TOxS8Ve5iiT7w4MiImy9pAqZPKbjX/GRq2XdTHClhKkbbZoL+GQ=
 =GODg
 -----END PGP SIGNATURE-----

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

Renesas DTS updates for v6.6

  - Add Clocked Serial Interface (CSI) support for the RZ/V2M SoC,
  - Add PMIC, RTC, and PWM support for the RZ/G2L, RZ/G2LC, and RZ/V2L
    SMARC EVK development boards,
  - Add PWM (MTU3a) support for the RZ/G2UL and RZ/Five SoCs,
  - Add External interrupt (INTC-EX) support for the R-Car S4-8 SoC,
  - Add LED support for the Spider development board,
  - Miscellaneous fixes and improvements.

* tag 'renesas-dts-for-v6.6-tag1' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-devel:
  arm64: dts: renesas: spider-cpu: Add GP LEDs
  arm64: dts: renesas: r8a779f0: Add INTC-EX node
  arm64: dts: renesas: rzg2ul-smarc: Add support for enabling MTU3
  arm64: dts: renesas: r9a07g043: Add MTU3a node
  ARM dts: renesas: armadillo800eva: Switch to enable-gpios
  arm64: dts: renesas: rzg2lc-smarc-som: Enable PMIC and built-in RTC
  arm64: dts: renesas: rzg2lc-smarc-som: Add PHY interrupt support for ETH0
  riscv: dts: renesas: Clean up dtbs_check W=1 warning due to empty phy node
  arm64: dts: renesas: rzg2lc-smarc: Add support for enabling MTU3
  arm64: dts: renesas: rzg2l-smarc: Add support for enabling MTU3
  arm64: dts: renesas: Add missing space before {
  ARM: dts: renesas: Add missing space before {
  arm64: dts: renesas: Minor whitespace cleanup around '='
  arm64: dts: renesas: rzg2l-smarc-som: Enable PMIC and built-in RTC
  arm64: dts: renesas: r9a09g011: Add CSI nodes
  arm64: dts: renesas: rzg2l: Fix txdv-skew-psec typos
  arm64: dts: renesas: rzg2l: Update overfow/underflow IRQ names for MTU3 channels

Link: https://lore.kernel.org/r/cover.1690545144.git.geert+renesas@glider.be
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2023-08-12 10:40:00 +02:00
Arnd Bergmann
d64f140476 arm64: tegra: Device tree changes for v6.6-rc1
The majority of this is fixes all over the place for DT schema
 validation warnings. However, there are also cleanups for some things in
 DT and audio support is added on IGX Orin. Jetson Orin NX and Nano also
 gain a new thermal trip point to help keep the device cool at moderate
 loads.
 -----BEGIN PGP SIGNATURE-----
 
 iQJHBAABCAAxFiEEiOrDCAFJzPfAjcif3SOs138+s6EFAmTDh6gTHHRyZWRpbmdA
 bnZpZGlhLmNvbQAKCRDdI6zXfz6zoScQEACE+qavOgmAWl86a7+Nohl6UpdWG7gF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crVyU8ER7RNo53n1oXSUAARb7RBN1Nm2L9YTf8lZa4dDJ1p4l72Mmei
 x2AcOP1tpFGUkxui8IIOeXzgJHwQJTJwfrDu1blYuwcO4KuSS+YNO58DIu+osQVZ
 7lLm2cOAifK/tS//v8tmBALUTC/tiJmOD+9JzaTzehxKOR5jY9VL48kcHTxO3xKU
 60XMseMy7MdrHu69zVNr3gVZALLQWHZU9JfEv3n5eX6m1eI6TSXF4iQK46aMJT9D
 vKSb0fDqeWfJhfyof4ZTP1QFhvED1KRSrC7sRuY14yv3iOoy/pTM/V/5f5PdAMXk
 0SvUwIzZW48lCbv6HABthYYvwPfx/m+Y+vpF6/CrF9l3XiRmRmPJFba6EkpVaUJ4
 zvyfPSbcYzjwK4+x/gKi2JanfZ9mCJaTtNqLQEc0VQZBcIjFj8Y=
 =JIHb
 -----END PGP SIGNATURE-----

Merge tag 'tegra-for-6.6-arm64-dt' of git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux into soc/dt

arm64: tegra: Device tree changes for v6.6-rc1

The majority of this is fixes all over the place for DT schema
validation warnings. However, there are also cleanups for some things in
DT and audio support is added on IGX Orin. Jetson Orin NX and Nano also
gain a new thermal trip point to help keep the device cool at moderate
loads.

* tag 'tegra-for-6.6-arm64-dt' of git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux: (22 commits)
  arm64: tegra: Add blank lines for better readability
  arm64: tegra: Remove {clock,reset}-names from VIC powergate
  arm64: tegra: Drop incorrect maxim,disable-etr on Smaug
  arm64: tegra: Add SPI device tree nodes for Tegra234
  arm64: tegra: Enable UARTA and UARTE for Orin Nano
  arm64: tegra: Add UARTE device tree node on Tegra234
  arm64: tegra: Adapt to LP855X bindings changes
  arm64: tegra: Add PCIe and DP 3.3V supplies
  arm64: tegra: Add missing reset-names for Tegra HS UART
  arm64: tegra: Remove current-speed for SBSA UART
  arm64: tegra: smaug: Remove reg-shift for high-speed UART
  arm64: tegra: Remove dmas and dma-names for debug UART
  arm64: tegra: Add 35°C trip point for Jetson Orin NX/Nano
  arm64: tegra: Remove duplicate PCI nodes
  arm64: tegra: Sort PCI nodes correctly on Orin
  arm64: tegra: Add audio support for IGX Orin
  arm64: tegra: Update CPU OPP tables
  arm64: tegra: Fix HSUART for Smaug
  arm64: tegra: Fix HSUART for Jetson AGX Orin
  arm64: tegra: Add missing alias for NVIDIA IGX Orin
  ...

Link: https://lore.kernel.org/r/20230728094129.3587109-4-thierry.reding@gmail.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2023-08-12 10:39:04 +02:00
Arnd Bergmann
991e0d9dbb i.MX fixes for 6.5, 2nd round:
- Fix i.MX93 ANATOP 'reg' resource size to avoid overlapping with TMU
   memory area.
 - Fix RTC interrupt level on imx6qdl-phytec-mira board.
 - Remove LDB endpoint from from the common imx6sx.dtsi as it causes
   regression for boards that has the LCDIF connected directly to
   a parallel display.
 - Drop CSI1 PHY reference clock configuration from i.MX8MM/N device tree
   to avoid overclocking.
 - Set a proper default tuning step for i.MX6SX and i.MX7D uSDHC to fix
   a tuning failure seen with some SD cards.
 -----BEGIN PGP SIGNATURE-----
 
 iQFIBAABCgAyFiEEFmJXigPl4LoGSz08UFdYWoewfM4FAmTTYzIUHHNoYXduZ3Vv
 QGtlcm5lbC5vcmcACgkQUFdYWoewfM5THQf/bDZP+YPT8RxUdxVdL6jT2GGHR3t8
 wq3+vM1KVgg+1E9nMBcG0aT1fUTvPM22N5Ae72bGYd69HGbqS64UJ37JlvrSXfwW
 QtJHPb9mbDPsdyoLbWBuJq3bdY6NgdbzeKEEGRWlZAkJqvB5a1S63g3riJO89inp
 mMsm0dFGn7IZFkhflMtMFL9T0FOz4IwbJGBCm5WvRCR/5nH82MJe5w9JfWBGoRPY
 Y0+vm8bS8A/hjQrYVWyAxe1sRAjxNNPWEsjelY/F89gpqOcuBrTTFVmMhEVKX6sd
 BjgCQFFWzds4ezmTNloMTyB4dSnW/q2Nsg87A9MXVECW6eIzAeO9p2dINA==
 =pxhp
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEiK/NIGsWEZVxh/FrYKtH/8kJUicFAmTXPu4ACgkQYKtH/8kJ
 UieZnRAAnbxsC6/NT7qOwo/d6+hfX2Nh7Tgy9MDLBwIGtzdR822SD0WKwYRIb0K/
 iMQMt+6ItPcYDKOLUXKv1MY3QX3BcirvE4yDyPGVxgcnkmL1egeUlYJ4R2U8QnOq
 Vwn+cqAcA6RSQIYEV0w32gXHjeDBMdsToT+DlV7id5C6QyreQEkSRzrqf0zm1CTF
 zNWCXeaaLkTV+j7W4fb3yPhSMhnnfkwmZB3lVVd5K/vwt7x3OQc7WaSQVNPAcGTC
 jiWsbW5KF4HbcukUpb16hyxyyJlt94FxrqqUyN86mj/ONBS55Hf7ilgZX4x/KphG
 PJ2V7fnCDnrhIWVEUlknMxLZmPUXTMqaSVsXrx0JOOz+y3KSq6lZudswXPK5fvbV
 WGZw9YpC/Hm3hN7Xi+BBUZVJGB7r9pyjcZUcUZBqK1EOxDSRiDMogyC55cC6C6Z2
 uX4AfntpeDskj1nUtAgXK38bM1NLQ/jQnkZPVV69qpSkRQK/zLBwNuTSDUtW42vM
 ftbbSIyN4tEBQD5bmXy01ug7qxFJaeRQ9dW44UH03zYvDlH5QTrRM64tmySKIRZ+
 urab1ShoN0UNA7t9PFpj45bbLb9sndeI6EOh0Vi8RozQ+dCEq1I6HFt54K886qar
 sjcsnrJxMZysZnoGGf3q1REe3NjuQ1gRd2nwg4Rbj7VkytuInWI=
 =3ZEY
 -----END PGP SIGNATURE-----

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

i.MX fixes for 6.5, 2nd round:

- Fix i.MX93 ANATOP 'reg' resource size to avoid overlapping with TMU
  memory area.
- Fix RTC interrupt level on imx6qdl-phytec-mira board.
- Remove LDB endpoint from from the common imx6sx.dtsi as it causes
  regression for boards that has the LCDIF connected directly to
  a parallel display.
- Drop CSI1 PHY reference clock configuration from i.MX8MM/N device tree
  to avoid overclocking.
- Set a proper default tuning step for i.MX6SX and i.MX7D uSDHC to fix
  a tuning failure seen with some SD cards.

* tag 'imx-fixes-6.5-2' of git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux:
  arm64: dts: imx93: Fix anatop node size
  ARM: dts: imx: Set default tuning step for imx6sx usdhc
  arm64: dts: imx8mm: Drop CSI1 PHY reference clock configuration
  arm64: dts: imx8mn: Drop CSI1 PHY reference clock configuration
  ARM: dts: imx: Set default tuning step for imx7d usdhc
  ARM: dts: imx6: phytec: fix RTC interrupt level
  ARM: dts: imx6sx: Remove LDB endpoint

Link: https://lore.kernel.org/r/20230809100034.GS151430@dragon
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2023-08-12 10:12:29 +02:00
Guido Günther
95afa02c9e arm64: defconfig: Enable Redpine 91X wlan driver
The Librem 5 and it's devkit have it connected via SDIO.

Signed-off-by: Guido Günther <agx@sigxcpu.org>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2023-08-12 10:00:25 +08:00
Guido Günther
60ac8a775a arm64: dts: imx8mq-librem5-devkit: Drop power-supply
It's not a valid binding. Instead move the sdio_rst line to the power
sequence and use w_disable1 as the vmmc-supply bringing it more in line
with other SDIO M2 cards.

Resolves following warning:

arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dtb: mmc@30b50000: Unevaluated properties are not allowed ('power-supply' was unexpected)
        from schema $id: http://devicetree.org/schemas/mmc/fsl-imx-esdhc.yaml#

Reported-by: David Heidelberg <david@ixit.cz>
Signed-off-by: Guido Günther <agx@sigxcpu.org>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2023-08-12 10:00:05 +08:00
Guido Günther
74cec60c0e arm64: dts: imx8mq-librem5-devkit: Mark buck2 as always on
Otherwise the A53 cores are shut down which doesn't end well.

Reported-by: David Heidelberg <david@ixit.cz>
Tested-by: David Heidelberg <david@ixit.cz>
Signed-off-by: Guido Günther <agx@sigxcpu.org>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2023-08-12 09:59:28 +08:00
Bryan Brattlof
935c4047d4 arm64: dts: ti: Add support for the AM62P5 Starter Kit
Add basic support for the AM62P5 SK with UART console and
ramdisk as rootfs.

Schematics is at https://www.ti.com/lit/zip/sprr487

Signed-off-by: Bryan Brattlof <bb@ti.com>
Acked-by: Andrew Davis <afd@ti.com>
Reviewed-by: Dhruva Gole <d-gole@ti.com>
Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
Link: https://lore.kernel.org/r/20230811184432.732215-4-vigneshr@ti.com
Signed-off-by: Nishanth Menon <nm@ti.com>
2023-08-11 16:04:24 -05:00
Bryan Brattlof
29075cc09f arm64: dts: ti: Introduce AM62P5 family of SoCs
The AM62Px is an extension of the existing Sitara AM62x low-cost family
of application processors built for Automotive and Linux Application
development. Scalable Arm Cortex-A53 performance and embedded features,
such as: multi high-definition display support, 3D-graphics
acceleration, 4K video acceleration, and extensive peripherals make the
AM62Px well-suited for a broad range of automation and industrial
application, including automotive digital instrumentation, automotive
displays, industrial HMI, and more.

Some highlights of AM62P SoC are:
* Quad-Cortex-A53s (running up to 1.4GHz) in a single cluster.
  Dual/Single core variants are provided in the same package to allow HW
  compatible designs.
* One Device manager Cortext-R5F for system power and resource
  management, and one Cortex-R5F for Functional Safety or
  general-purpose usage.
* One 3D GPU up to 50 GLFOPS
* H.264/H.265 Video Encode/Decode.
* Display support: 3x display support over OLDI/LVDS (1x OLDI-DL, 1x or
  2x OLDI-SL), DSI, or DPI. Up to 3840x1080@60fps resolution
* Integrated Giga-bit Ethernet switch supporting up to a total of two
  external ports (TSN capable).
* 9xUARTs, 5xSPI, 6xI2C, 2xUSB2, 3xCAN-FD, 3xMMC and SD, GPMC for
  NAND/FPGA connection, OSPI memory controller, 3xMcASP for audio,
  1xCSI-RX-4L for Camera, eCAP/eQEP, ePWM, among other peripherals.
* Dedicated Centralized Hardware Security Module with support for secure
  boot, debug security and crypto acceleration and trusted execution
  environment.
* One 32-bit DDR Subsystem that supports LPDDR4, DDR4 memory types.
* Multiple low power modes support, ex: Deep sleep, Standby, MCU-only,
  enabling battery powered system design.

For those interested, more details about this SoC can be found in the
Technical Reference Manual here:

    https://www.ti.com/lit/pdf/spruj83

Signed-off-by: Bryan Brattlof <bb@ti.com>
Acked-by: Andrew Davis <afd@ti.com>
Reviewed-by: Dhruva Gole <d-gole@ti.com>
Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
Link: https://lore.kernel.org/r/20230811184432.732215-3-vigneshr@ti.com
Signed-off-by: Nishanth Menon <nm@ti.com>
2023-08-11 16:02:37 -05:00
Apurva Nandan
68501d3cc1 arm64: dts: ti: k3-am69-sk: Add phase tags marking
bootph-all as phase tag was added to dt-schema
(dtschema/schemas/bootph.yaml) to cover U-Boot challenges with DT.
That's why add it also to Linux to be aligned with bootloader requirement.

wkup_i2c0, mcu_uart0, main_uart8, main_sdhci0 and main_sdhci1 are required
for bootloader operation on TI K3 AM69-SK EVM. These IPs along with
pinmuxes need to be marked for all bootloader phases, hence add bootph-all
to these nodes in kernel dts.

Signed-off-by: Apurva Nandan <a-nandan@ti.com>
Reviewed-by: Udit Kumar <u-kumar1@ti.com>
Link: https://lore.kernel.org/r/20230811192030.3480616-4-a-nandan@ti.com
Signed-off-by: Nishanth Menon <nm@ti.com>
2023-08-11 15:54:18 -05:00
Apurva Nandan
c74d8de338 arm64: dts: ti: k3-j784s4-evm: Add phase tags marking
bootph-all as phase tag was added to dt-schema
(dtschema/schemas/bootph.yaml) to cover U-Boot challenges with DT.
That's why add it also to Linux to be aligned with bootloader requirement.

wkup_i2c0, mcu_uart0, main_uart8, fss, ospi0, ospi1, main_sdhci0 and
main_sdhci1 are required for bootloader operation on TI K3 J784S4 EVM.
These IPs along with pinmuxes need to be marked for all bootloader phases,
hence add bootph-all to these nodes in kernel dts.

Signed-off-by: Apurva Nandan <a-nandan@ti.com>
Reviewed-by: Udit Kumar <u-kumar1@ti.com>
Link: https://lore.kernel.org/r/20230811192030.3480616-3-a-nandan@ti.com
Signed-off-by: Nishanth Menon <nm@ti.com>
2023-08-11 15:54:18 -05:00
Apurva Nandan
3a40869856 arm64: dts: ti: k3-j784s4: Add phase tags marking
bootph-all as phase tag was added to dt-schema
(dtschema/schemas/bootph.yaml) to cover U-Boot challenges with DT.
That's why add it also to Linux to be aligned with bootloader requirement.

On TI K3 J784S4 SoC, only secure_proxy_mcu and secure_proxy_sa3 nodes are
exclusively used by R5 bootloader, rest of the dts nodes with bootph-* are
used by later boot stages also.

And secure_proxy_mcu and secure_proxy_sa3 are disabled in kernel device
tree, and will be only enabled in R5 bootloader device tree.
So, bootph-pre-ram for secure_proxy_mcu and secure_proxy_sa3 will be
added in R5 bootloader device tree only.

Add bootph-all for all other nodes that are used in the bootloader on
K3 J784S4 SoC, and bootph-pre-ram is not needed specifically for any node
in kernel dts.

Signed-off-by: Apurva Nandan <a-nandan@ti.com>
Reviewed-by: Udit Kumar <u-kumar1@ti.com>
Link: https://lore.kernel.org/r/20230811192030.3480616-2-a-nandan@ti.com
Signed-off-by: Nishanth Menon <nm@ti.com>
2023-08-11 15:54:18 -05:00
Aradhya Bhatia
d5c988b437 arm64: defconfig: Enable ITE_IT66121 HDMI transmitter
Enable CONFIG_DRM_ITE_IT66121.

ILITEK ITE-IT66121 is an HDMI transmitter, which takes parallel video
signals (DPI) as input. It is being used on TI's AM625 SoC based
BeaglePlay platform[0].

[0]: https://beagleboard.org/play

Signed-off-by: Aradhya Bhatia <a-bhatia1@ti.com>
Link: https://lore.kernel.org/r/20230809084559.17322-7-a-bhatia1@ti.com
Signed-off-by: Nishanth Menon <nm@ti.com>
2023-08-11 15:47:15 -05:00
Nishanth Menon
1f7226a5e5 arm64: dts: ti: k3-am625-beagleplay: Add HDMI support
The DSS outputs DPI signals via its second video port (VP2). The DPI
output from DSS is 24 bits (RGB888) and is forwarded to an HDMI
transmitter (ITE-IT66121) on the BeaglePlay platform. For audio output,
BeaglePlay uses mcasp1.

Add pinmux info for DSS DPI signals.

Further, add support for HDMI audio and video output.

Signed-off-by: Aradhya Bhatia <a-bhatia1@ti.com>
Link: https://lore.kernel.org/r/20230809084559.17322-6-a-bhatia1@ti.com
Signed-off-by: Nishanth Menon <nm@ti.com>
2023-08-11 15:31:51 -05:00
Jai Luthra
b50ccab9e0 arm64: dts: ti: am62x-sk: Add overlay for HDMI audio
Enable audio output over HDMI instead of the 3.5mm jack.

A FET switch (U65) on the EVM muxes serial audio lines coming from McASP
between the codec (tlv320aic3106) and the HDMI bridge (sii9022).

By default it uses the codec, but it can be toggled to use the HDMI
bridge by shorting a (J24) header on the board.

Signed-off-by: Jai Luthra <j-luthra@ti.com>
[a-bhatia1: Cosmetic changes]
Signed-off-by: Aradhya Bhatia <a-bhatia1@ti.com>
Link: https://lore.kernel.org/r/20230809084559.17322-5-a-bhatia1@ti.com
Signed-off-by: Nishanth Menon <nm@ti.com>
2023-08-11 15:31:51 -05:00
Aradhya Bhatia
db6e8237cf arm64: dts: ti: k3-am62x-sk-common: Add HDMI support
The DSS outputs DPI signals via its second video port (VP2). The DPI
output from DSS is 24 bits (RGB888) and is forwarded to an HDMI
transmitter (SIL9022) on the board.

Add pinmux info for DSS DPI output.

Add DT nodes for SIL9022 HDMI transmitter (TX), and the HDMI connector
on the AM625 SK and AM62-LP SK platforms.

Additionally, connect the output of DSS (VP2) with input of the HDMI TX,
and the output of HDMI TX to the input of the HDMI connector.

Signed-off-by: Aradhya Bhatia <a-bhatia1@ti.com>
Link: https://lore.kernel.org/r/20230809084559.17322-4-a-bhatia1@ti.com
Signed-off-by: Nishanth Menon <nm@ti.com>
2023-08-11 15:31:51 -05:00
Aradhya Bhatia
8ccc1073c7 arm64: dts: ti: k3-am62-main: Add node for DSS
Add Display SubSystem (DSS) DT node for the AM625 SoC.

The DSS supports one each of video pipeline (vid) and video-lite
pipeline (vidl1). It outputs OLDI signals on one video port (VP1) and
DPI signals on another (VP2). The video ports are connected to the
pipelines via 2 identical overlay managers (ovr1 and ovr2).

Also add the DT node for DSS clock divider. This is a fixed-factor-clock
and does not have any register. This comes into effect whenenver OLDI
display is used. The input to this divider is a serial clock used by
OLDI TXes. The divider divides the input clock by 7, and provides the
pixel clock to VP1.

Signed-off-by: Aradhya Bhatia <a-bhatia1@ti.com>
Link: https://lore.kernel.org/r/20230809084559.17322-3-a-bhatia1@ti.com
Signed-off-by: Nishanth Menon <nm@ti.com>
2023-08-11 15:31:51 -05:00
Aradhya Bhatia
73387da70f arm64: dts: ti: k3-am62x-sk-common: Update main-i2c1 frequency
The Display Data Channel (DDC) transactions between an HDMI transmitter
(SIL9022A in this case) and an HDMI monitor, occur at a maximum of
100KHz. That's the maximum supported frequency within DDC standards.

While the SIL9022A can transact with the core at 400KHz, it needs to
drop the frequency to 100KHz when communicating with the monitor,
otherwise, the i2c controller times out and shows warning like this.

[  985.773431] omap_i2c 20010000.i2c: controller timed out

That feature, however, has not been enabled in the SIL9022 driver.

Since, dropping the frequency doesn't affect any other devices on the
bus, drop the main-i2c1 frequency from 400KHz to 100KHz.

Fixes: a841581451af ("arm64: dts: ti: Refractor AM625 SK dts")
Signed-off-by: Aradhya Bhatia <a-bhatia1@ti.com>
Link: https://lore.kernel.org/r/20230809084559.17322-2-a-bhatia1@ti.com
Signed-off-by: Nishanth Menon <nm@ti.com>
2023-08-11 15:31:51 -05:00
Sricharan Ramabadhran
7f0c87348f arm64: defconfig: Enable IPQ5018 SoC base configs
Enables clk & pinctrl related configs, required to boot the IPQ5018
platform.

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Sricharan Ramabadhran <quic_srichara@quicinc.com>
Link: https://lore.kernel.org/r/1690533192-22220-7-git-send-email-quic_srichara@quicinc.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
2023-08-11 13:04:15 -07:00
Sricharan Ramabadhran
570006756a arm64: dts: Add ipq5018 SoC and rdp432-c2 board support
Add initial device tree support for the Qualcomm IPQ5018 SoC and
rdp432-c2 board.

Few things like 'reboot' does not work because, couple of more 'SCM'
APIS are needed to clear some TrustZone settings. Those will be
posted separately.

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Co-developed-by: Varadarajan Narayanan <quic_varada@quicinc.com>
Signed-off-by: Varadarajan Narayanan <quic_varada@quicinc.com>
Co-developed-by: Gokul Sriram Palanisamy <quic_gokulsri@quicinc.com>
Signed-off-by: Gokul Sriram Palanisamy <quic_gokulsri@quicinc.com>
Signed-off-by: Sricharan Ramabadhran <quic_srichara@quicinc.com>
Link: https://lore.kernel.org/r/1690533192-22220-6-git-send-email-quic_srichara@quicinc.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
2023-08-11 10:55:09 -07:00
Bartosz Golaszewski
27eb552ef5 arm64: dts: qcom: sa8775p-ride: enable EMAC1
Enable the second MAC on sa8775p-ride.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Tested-by: Andrew Halaney <ahalaney@redhat.com>
Link: https://lore.kernel.org/r/20230810080909.6259-10-brgl@bgdev.pl
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
2023-08-11 10:34:06 -07:00
Bartosz Golaszewski
fdc051e392 arm64: dts: qcom: sa8775p-ride: add an alias for ethernet0
Once we add a second ethernet node, the MDIO bus names will conflict
unless we provide aliases. Add one for the existing ethernet node.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Tested-by: Andrew Halaney <ahalaney@redhat.com>
Link: https://lore.kernel.org/r/20230810080909.6259-9-brgl@bgdev.pl
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
2023-08-11 10:34:06 -07:00
Bartosz Golaszewski
f8be0c50ce arm64: dts: qcom: sa8775p-ride: sort aliases alphabetically
For improved readability order the aliases alphabetically for
sa8775p-ride.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Suggested-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Tested-by: Andrew Halaney <ahalaney@redhat.com>
Link: https://lore.kernel.org/r/20230810080909.6259-8-brgl@bgdev.pl
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
2023-08-11 10:34:06 -07:00
Bartosz Golaszewski
1a00a068de arm64: dts: qcom: sa8775p-ride: add the second SGMII PHY
Add a second SGMII PHY that will be used by EMAC1 on sa8775p-ride.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Tested-by: Andrew Halaney <ahalaney@redhat.com>
Link: https://lore.kernel.org/r/20230810080909.6259-7-brgl@bgdev.pl
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
2023-08-11 10:34:06 -07:00
Bartosz Golaszewski
1e7ef41b5f arm64: dts: qcom: sa8775p-ride: index the first SGMII PHY
We'll be adding a second SGMII PHY on the same MDIO bus, so let's index
the first one for better readability.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Reviewed-by: Andrew Halaney <ahalaney@redhat.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Tested-by: Andrew Halaney <ahalaney@redhat.com>
Link: https://lore.kernel.org/r/20230810080909.6259-6-brgl@bgdev.pl
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
2023-08-11 10:34:05 -07:00