1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
Commit graph

23990 commits

Author SHA1 Message Date
Oleksij Rempel
56315b6bf7 ARM: dts: at91: ksz9477_evb: fix port/phy validation
Latest drivers version requires phy-mode to be set. Otherwise we will
use "NA" mode and the switch driver will invalidate this port mode.

Fixes: 65ac79e181 ("net: dsa: microchip: add the phylink get_caps")
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Link: https://lore.kernel.org/r/20220610081621.584393-1-o.rempel@pengutronix.de
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2022-06-14 22:11:02 -07:00
Linus Torvalds
54c2cc7919 USB / Thunderbolt changes for 5.19-rc1
Here is the "big" set of USB and Thunderbolt driver changes for
 5.18-rc1.  For the most part it's been a quiet development cycle for the
 USB core, but there are the usual "hot spots" of development activity.
 
 Included in here are:
 	- Thunderbolt driver updates:
 		- fixes for devices without displayport adapters
 		- lane bonding support and improvements
 		- other minor changes based on device testing
 	- dwc3 gadget driver changes.  It seems this driver will never
 	  be finished given that the IP core is showing up in zillions
 	  of new devices and each implementation decides to do something
 	  different with it...
 	- uvc gadget driver updates as more devices start to use and
 	  rely on this hardware as well
 	- usb_maxpacket() api changes to remove an unneeded and unused
 	  parameter.
 	- usb-serial driver device id updates and small cleanups
 	- typec cleanups and fixes based on device testing
 	- device tree updates for usb properties
 	- lots of other small fixes and driver updates.
 
 All of these have been in linux-next for weeks with no reported
 problems.
 
 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
 -----BEGIN PGP SIGNATURE-----
 
 iG0EABECAC0WIQT0tgzFv3jCIUoxPcsxR9QN2y37KQUCYpnZGw8cZ3JlZ0Brcm9h
 aC5jb20ACgkQMUfUDdst+ymQhwCeLVANsQjBcL4ys4skl+1In17y28gAn3rEZ7rQ
 Yv4uP9zadUqg3Cx0vjgf
 =3s5s
 -----END PGP SIGNATURE-----

Merge tag 'usb-5.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb

Pull USB / Thunderbolt updates from Greg KH:
 "Here is the "big" set of USB and Thunderbolt driver changes for
  5.18-rc1. For the most part it's been a quiet development cycle for
  the USB core, but there are the usual "hot spots" of development
  activity.

  Included in here are:

   - Thunderbolt driver updates:
       - fixes for devices without displayport adapters
       - lane bonding support and improvements
       - other minor changes based on device testing

   - dwc3 gadget driver changes.

     It seems this driver will never be finished given that the IP core
     is showing up in zillions of new devices and each implementation
     decides to do something different with it...

   - uvc gadget driver updates as more devices start to use and rely on
     this hardware as well

   - usb_maxpacket() api changes to remove an unneeded and unused
     parameter.

   - usb-serial driver device id updates and small cleanups

   - typec cleanups and fixes based on device testing

   - device tree updates for usb properties

   - lots of other small fixes and driver updates.

  All of these have been in linux-next for weeks with no reported
  problems"

* tag 'usb-5.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb: (154 commits)
  USB: new quirk for Dell Gen 2 devices
  usb: dwc3: core: Add error log when core soft reset failed
  usb: dwc3: gadget: Move null pinter check to proper place
  usb: hub: Simplify error and success path in port_over_current_notify
  usb: cdns3: allocate TX FIFO size according to composite EP number
  usb: dwc3: Fix ep0 handling when getting reset while doing control transfer
  usb: Probe EHCI, OHCI controllers asynchronously
  usb: isp1760: Fix out-of-bounds array access
  xhci: Don't defer primary roothub registration if there is only one roothub
  USB: serial: option: add Quectel BG95 modem
  USB: serial: pl2303: fix type detection for odd device
  xhci: Allow host runtime PM as default for Intel Alder Lake N xHCI
  xhci: Remove quirk for over 10 year old evaluation hardware
  xhci: prevent U2 link power state if Intel tier policy prevented U1
  xhci: use generic command timer for stop endpoint commands.
  usb: host: xhci-plat: omit shared hcd if either root hub has no ports
  usb: host: xhci-plat: prepare operation w/o shared hcd
  usb: host: xhci-plat: create shared hcd after having added main hcd
  xhci: prepare for operation w/o shared hcd
  xhci: factor out parts of xhci_gen_setup()
  ...
2022-06-03 11:17:49 -07:00
Arnd Bergmann
8eecf1c992 SoCFPGA dts updates for v5.19
- dtschema fix SPI NOR node
 - correct dt-bindings doc for Altera gpio driver
 - add support for n6000 Agilex platform and dt-bindings documentation
 -----BEGIN PGP SIGNATURE-----
 
 iQJIBAABCgAyFiEEoHhMeiyk5VmwVMwNGZQEC4GjKPQFAmKG0LsUHGRpbmd1eWVu
 QGtlcm5lbC5vcmcACgkQGZQEC4GjKPQx8BAAobw+3vYmzR6IkqygI1b2ZyE5qIxr
 oCt/8d5gVKXBwt9ZdUEwGGb2YlyUBQmZjW72SVT6Nzh3RG34IuPgHJmj6Hb5hjTJ
 ESqAmM0nX+Z+X5/94SQ9E6CieBfFXD00C6nINf319xzLMOcP0mtnRktzwEH83RdH
 3Qsp2U4Ax7yUO5+13i4VLY8EjauD3P9+mJKJyC0IQRPoUJJk3oT9JU2eUiFhdWTh
 kIza7yuwvkIamRUvzfq1Mpg//xp8Wsh0QjrsvvUFnOgyuZpC5l1FxTUCYtFwiH4d
 FUgtpp7GC8+SJcfoHMRqDSa6Gy6nDz2kXqAEHFbSXbo4ZbdusTnGvofBUPuKMU/c
 YlMoFrb4VW/aaM3NKDxmhpb/f/+94zQldayGbK35Tt47JEVBIQQAqQjdYSFWjLI3
 OdMwTLtQcZfHAdwYjnv+xktdUhnz9oT6zhLTEW5Gsr1DwyA32jLNzkyUgDqTwptj
 lv8pl7R0j8tMutApHHaRTaCL1MxRJ8pElslXnc2eijqmpOYJa/OE3fqXz6mfu8QL
 QzKWk3cVHjPb7+4146QykqSwxus1GUfdZJT18qYtgRtWU9b3GOn9VAGSI8XeJpb0
 J4yBap5MT4RTs7ix5nqhPZjZ1o7A/GnUOGbzAa+b4PZwlG96y4BieUsI5NVasMzf
 +pfQbOMhPiY8e5c=
 =lT9o
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEo6/YBQwIrVS28WGKmmx57+YAGNkFAmKUh5IACgkQmmx57+YA
 GNkvlhAAkDphJQguFDl1tiPAdfwJVHwYR+TfaBmRfixSzt7mJqIotey2DyAvwaSn
 EITcJcvfccvfPX9iJCfUUi3KTI4ZbayHviOWFHCALfm3ap+cH8nBNJMT7vBNovDf
 hzV12TQF36HQ/REPt/AljDJiiQlF417h5aq2cWLHA3i7ChhhFQ3+rYW/65uhJBZM
 n3fgznPiGeHL4SIgUpwlF5cn4y3p3Krq5qgo+LR77WhBaFLNo62UOCqRHZTazDE8
 8wS6R03ebDdODVGc0/ZLBreZo4VESm2q14mZHBa5z1gqoKFaAI+5X7FPjGdx1jSc
 hAx0nDZvdF9se/gxc86wJGJurKNWL8JFLR3ObhbEnPiSesShI8+ntFm3y/0IZBb6
 49Smc6EMDDQkb9ncsrthXmrt2L6YpUxtOJJHqgTHnJ2Yn4oYhBlx/cgnRugH7C1h
 N5V6YkMuMeYnLx0mAxXNk3TBNkJqO6oVmQTqWhwtCNJcNLox+ORGR0OCy0ljcXfL
 o/3FJPubep2LijaM4Oxlr/d41ILEsnrS9kh/N62qmKRA3GtnWRqkQsI6JDzFSdfN
 dWUDD1b9cuPn/aZA9V7sO7jFLED64EbpXtslcalpuPMclRwiDc9BKWk2welgSQVE
 ltocSgWawcP4TuAVqD6ZubZwApUMEvwlrswwGr42IBQGLlDIOQ8=
 =6Odl
 -----END PGP SIGNATURE-----

Merge tag 'socfpga_dts_updates_for_v5.19' of git://git.kernel.org/pub/scm/linux/kernel/git/dinguyen/linux into arm/late

SoCFPGA dts updates for v5.19
- dtschema fix SPI NOR node
- correct dt-bindings doc for Altera gpio driver
- add support for n6000 Agilex platform and dt-bindings documentation

* tag 'socfpga_dts_updates_for_v5.19' of git://git.kernel.org/pub/scm/linux/kernel/git/dinguyen/linux:
  arm64: dts: intel: add device tree for n6000
  dt-bindings: intel: add binding for Intel n6000
  dt-bindings: soc: add bindings for Intel HPS Copy Engine
  dt-bindings: gpio: altera: correct interrupt-cells
  ARM: dts: socfpga: align SPI NOR node name with dtschema

Link: https://lore.kernel.org/r/20220519232317.16079-1-dinguyen@kernel.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2022-05-30 11:00:02 +02:00
Arnd Bergmann
725523dd36 ASPEED device tree updates for 5.19
- New machine:
 
     * Nuvia's DC-SCM BMC
 
  - Enable AST2600 GFX, the BMC-driven graphics device
 
  - Add a bunch of devices for the AST2600 EVB
 
  - Updates to the AST2600 Bletchley machine
 
  - Backwards compatible changes to support the new spi-mem based SPI NOR
    driver
 -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEE+nHMAt9PCBDH63wBa3ZZB4FHcJ4FAmKHCtsACgkQa3ZZB4FH
 cJ6PBA/+IfEqanhJsAIazKKN1DaZSZrnAiny2AntwVjsCC/Ibx9Kb1g59dE3llDA
 UIJDARHNKXVPgKDUbt0ZKkGH0d9zT9GBFuuM0pcIooUTbq6yBCMqJxKWY8BOZWwd
 JezuePAAp4+yq+kTgeFvqh7Q8jL23oItVBPIoSVYmiPHNxrNW5fn1q0bNiAPvXk/
 2m0xfehUFN8eXjyheXb7JL4UuGUHWiCIuadZhby8/YUK0FLjAPi9SOZNyRCi/uSz
 cCbIp1BQimTO8orvaQlOS3gBLWLaNSlxnGuzOmndcWT9pKjXiCy4YSBgqqtxu156
 2GdRXqZX52Pg5rp1QWzL0h4d2F6zMG6ckZRgQTzZGRfofChR0VQVB1/eX+SdXKXq
 dkWhFJKtz6SIGSDtyxd5K0CwV5wuvdCEF2IpIbFFhsxzgyQBzUHdRUz40BPVFqX5
 9rbbeuOLGlazwqR5obd0EmCktTLmW18JDxOBG2nTKQ5LcmRqH9NxCaA9B95Iiw9k
 WYpwAbWiNa2mr3/n/EgZfZ+WLfhzOjn61CpabJZXLpGR233KQbe0dZgT8XRPFv0B
 EBYxLYx3AWHJv0ojoEi3GsVpreoJDl4++YpB6QZCjlUkmPRXMISGvUCVIwilYBRq
 Rwa2Vz83j3WGILVYMEXiuh0x+osI+/XoYXqFy+GzJUZV1gl2ZY4=
 =zNTs
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEo6/YBQwIrVS28WGKmmx57+YAGNkFAmKUh34ACgkQmmx57+YA
 GNlQjg/+KtU56+X+ZKMILoLcTGNJHfLBgvzV1kk5h95BlkM6Kk+DMiOIcLn/fP7V
 5XFH9QOYXxHivF9QcYyVW7kwLBcwNRBNLPaWW5pbDJbgd5zOCU68YNV/O5RLnVxK
 jJALzh9RcnlxjB8dPm4Z2aiGzyGcbw5qkS4KfnRoBm92CukzzYd6cnXwZcFMHabz
 lm+TkQPkisEI0KLRWam/z/562rpMvCss+l3EmTKh2xg8mEYyVDRzkffUpFgbleej
 hywEMaQfw/vgpF2zsZRqg+7yEMvTUg5y54HrEj8sxojDUq7aRr5i1NpAuPKuTMWj
 K5EqR5R7bV27UCLob0nZcwPNvGYI0UcZUIlnyueJsUJd21Q+MjclR7PgPib/ezk6
 q70pblq7dOTOooEaM+iSY3F2M/lbu3Nr5wMxa/xSydHua/vLTYgfB81dHqaKGlvE
 xrJ44wR1tHxIalo9qxuYCIAFiKvgqJ5FbjavNLVBNkQ25kf3cz/ZU7w+6w/TS+D3
 kRHDbiIBsQYR2aOI5w1/owUmFC7QkKWJsNNkUDK4h5b+M2q+zGpTZvRHdwVr3heG
 F6uO+lvAkVuWGFBmaSfopm4l3wOXk+cESdfVT0/7LlmggTGGXQBLuB31jA03Uk1g
 Qmmvj+aOBE2rLYwYOw3MWnfkmE8AK1CRzeufvJN0OKx1U+s6RCY=
 =VeqL
 -----END PGP SIGNATURE-----

Merge tag 'aspeed-5.19-devicetree' of git://git.kernel.org/pub/scm/linux/kernel/git/joel/bmc into arm/late

ASPEED device tree updates for 5.19

 - New machine:

    * Nuvia's DC-SCM BMC

 - Enable AST2600 GFX, the BMC-driven graphics device

 - Add a bunch of devices for the AST2600 EVB

 - Updates to the AST2600 Bletchley machine

 - Backwards compatible changes to support the new spi-mem based SPI NOR
   driver

* tag 'aspeed-5.19-devicetree' of git://git.kernel.org/pub/scm/linux/kernel/git/joel/bmc:
  ARM: dts: aspeed: ast2600-evb: Enable GFX device
  ARM: dts: aspeed: Add GFX node to AST2600
  ARM: dts: aspeed: ast2600-evb: Enable virtual hub
  ARM: dts: aspeed: ast2600-evb: Enable video engine
  ARM: dts: aspeed: everest, rainier: Add power-ffs-sync-history GPIO
  ARM: dts: aspeed: Add Nuvia DC-SCM BMC
  ARM: dts: aspeed: bletchley: add sample averaging for ADM1278
  ARM: dts: aspeed: bletchley: add eeprom node on each sled
  ARM: dts: aspeed: bletchley: add pca9536 node on each sled
  ARM: dts: aspeed: bletchley: update gpio0 line names
  ARM: dts: aspeed: bletchley: Enable mdio0 bus
  ARM: dts: aspeed: bletchley: switch spi2 driver to aspeed-smc
  ARM: dts: aspeed: bletchley: enable ehci0 device node
  ARM: dts: aspeed: Add USB2.0 device controller node
  ARM: dts: aspeed-g4: Set spi-max-frequency for all flashes
  ARM: dts: aspeed: Enable Dual SPI RX transfers
  ARM: dts: aspeed: Adjust "reg" property of FMC/SPI controllers
  ARM: dts: aspeed: ast2600-evb: Enable RX delay for MAC0/MAC1

Link: https://lore.kernel.org/r/CACPK8XfUmFxU8Y6C+aZ2+=dT7=fCfs2=2_aYqyRjoXCoeQaUWQ@mail.gmail.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2022-05-30 10:59:42 +02:00
Arnd Bergmann
440517772b Amba and clock fixes to conform better to actual dt-bindings.
-----BEGIN PGP SIGNATURE-----
 
 iQFEBAABCAAuFiEE7v+35S2Q1vLNA3Lx86Z5yZzRHYEFAmKRDfYQHGhlaWtvQHNu
 dGVjaC5kZQAKCRDzpnnJnNEdgQk8CACp6MnJPwdUL+pA0bjcP7FRCkja1NSdEiab
 Ks/bnfcWFx1D2uc6d5q20rXWPOfYuroG+BvHlh9VqfF/1nmO7Uxuwx4cznYpGmSN
 Lee8Ux0IF9WNvTTBjHbIhCtXTyz/NXtMeocbysw8Dsgl3yNb+rlnBzP12Acs108T
 SA3dIy8icBVYDnyzqcuQjtOuQNN9uMjz+58e9pv/YavNnQwu9Ex67nLQo+UQMVIK
 A0t6kezZQZVtYdgIAp8y2u/3ZcaTUebhK8nLRfuWayuzcPpCF26cDhqrPL3KoQVW
 M5o1hRf1NVSpdH56N56qDAwnBeQtyqSoAVK5QET0YoP1UZd0QIEQ
 =ywJC
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEo6/YBQwIrVS28WGKmmx57+YAGNkFAmKRMpAACgkQmmx57+YA
 GNmymBAAqjqz7YZUyb6/tGABamO5g2AxDshIARYHrmiUo8e8f8p7tMOt21RzTaua
 UB+snhRkpfdyWNPk+TlToU+fraEtvlvqbtVIcevjG4SsarDZ0FOZgRq1cGu0B3m4
 GTsmsV+McLgNepewVgrCbpT7kzvoAovGPuWVgbKj2h+CWP3kxCw23lVwR+trk4bz
 5oCcMcFX7RqKNti/mw3dfVJgdKC3z17cyT6djHiaxEMdbENJJABLsi6YoVBmbvat
 lBRvPJwXNmCJdko5u8gEf1X6W2kV9JvKR5Ax0PydsG8p9BU/dwAQuQIUjQkYPpFT
 Xv5sSw5mRY8co0FL0VDGjw7AdRdsgPO4cRnRKuiRyJhqG0W3pyUcKU+SvnfLpgfW
 EUrB/MflPgrxuoBlEjfTXC/w9uD5qByhq3NlODdABLUKR6jgzE9jU3kAuwZ2QZ7h
 cWt3KeIdgokWJbdnq13eQibB+lkt2uz/apk3aM1MPB8CbFd7AmSbcV5YrfEjDTu2
 /6yWqwCI74QMyw8KvXeiTt43gpyie7YQIowiTNR6aw9S6/dZbkof7aqAP2sMTOh0
 vDqw8YwfZ8tNxntnrvT36n77g8gmcEPAG8/q2FY8WKGhuJUkX10lQzinouATYANs
 hXtWDCBMgEWkhynWOAmw8hrxT0H+n3yDQpSQsqhUwMDJp5UdFWY=
 =RiRc
 -----END PGP SIGNATURE-----

Merge tag 'v5.19-rockchip-dts32-2' of git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip into arm/late

Amba and clock fixes to conform better to actual dt-bindings.

* tag 'v5.19-rockchip-dts32-2' of git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip:
  ARM: dts: rockchip: add clocks property to cru node rk3228
  ARM: dts: rockchip: add clocks property to cru node rk3036
  ARM: dts: rockchip: add clocks property to cru node rk3066a/rk3188
  ARM: dts: rockchip: add clocks property to cru node rk3288
  ARM: dts: rockchip: Remove "amba" bus nodes from rv1108
  ARM: dts: rockchip: add clocks property to cru node rv1108

Link: https://lore.kernel.org/r/4798587.jE0xQCEvom@phil
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2022-05-27 22:20:32 +02:00
Johan Jonker
840fc447d7 ARM: dts: rockchip: add clocks property to cru node rk3228
Add clocks and clock-names to the rk3228 cru node, because
the device has to have at least one input clock.

Signed-off-by: Johan Jonker <jbx6244@gmail.com>
Link: https://lore.kernel.org/r/20220330121923.24240-2-jbx6244@gmail.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
2022-05-27 19:27:00 +02:00
Johan Jonker
8dd85bffc5 ARM: dts: rockchip: add clocks property to cru node rk3036
Add clocks and clock-names to the rk3036 cru node, because
the device has to have at least one input clock.

Signed-off-by: Johan Jonker <jbx6244@gmail.com>
Link: https://lore.kernel.org/r/20220330114847.18633-2-jbx6244@gmail.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
2022-05-27 19:27:00 +02:00
Johan Jonker
25f417b563 ARM: dts: rockchip: add clocks property to cru node rk3066a/rk3188
Add clocks property to rk3066a/rk3188 cru node to fix warnings like:
'clocks' is a dependency of 'assigned-clocks'

Signed-off-by: Johan Jonker <jbx6244@gmail.com>
Link: https://lore.kernel.org/r/20220329111323.3569-2-jbx6244@gmail.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
2022-05-27 19:27:00 +02:00
Johan Jonker
9d66847be3 ARM: dts: rockchip: add clocks property to cru node rk3288
Add clocks property to rk3288 cru node to fix warnings like:
'clocks' is a dependency of 'assigned-clocks'.

Signed-off-by: Johan Jonker <jbx6244@gmail.com>
Link: https://lore.kernel.org/r/20220329113657.4567-2-jbx6244@gmail.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
2022-05-27 19:27:00 +02:00
Johan Jonker
e8cead54a6 ARM: dts: rockchip: Remove "amba" bus nodes from rv1108
The "amba" bus nodes wrapping all the DMA-330 nodes serve no useful
purpose, and certainly bear no relation at all to the actual underlying
interconnect topology. They appear to be cargo-cult copying from a
design misstep in the very early days of FDT adoption on ARM, which was
righted with the "arm,primecell" compatible, and the last trace of the
idea finally purged by commit 2ef7d5f342 ("ARM, ARM64: dts: drop
"arm,amba-bus" in favor of "simple-bus"").

As such, they can simply be removed and the DMA-330 nodes fitted into
the normal sort order.
The node names should be generic, so rename it to "dma-controller".

Signed-off-by: Johan Jonker <jbx6244@gmail.com>
Link: https://lore.kernel.org/r/20220330131608.30040-3-jbx6244@gmail.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
2022-05-27 19:27:00 +02:00
Johan Jonker
f7230dcfb4 ARM: dts: rockchip: add clocks property to cru node rv1108
Add clocks and clock-names to the rv1108 cru node, because
the device has to have at least one input clock.

Signed-off-by: Johan Jonker <jbx6244@gmail.com>
Link: https://lore.kernel.org/r/20220330131608.30040-2-jbx6244@gmail.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
2022-05-27 19:27:00 +02:00
Krzysztof Kozlowski
22a798d7b2
ARM: dts: da850: use new 'dma-channels' property
The '#dma-channels' property was deprecated in favor of one defined by
generic dma-common DT bindings.  Add new property while keeping old one
for backwards compatibility.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20220516142857.6419-3-krzysztof.kozlowski@linaro.org'
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2022-05-27 16:07:34 +02:00
Krzysztof Kozlowski
286b807354
ARM: dts: pxa: use new 'dma-channels/requests' properties
The '#dma-channels' and '#dma-requests' properties were deprecated in
favor of these defined by generic dma-common DT bindings.  Add new
properties while keeping old ones for backwards compatibility.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20220516142857.6419-2-krzysztof.kozlowski@linaro.org'
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2022-05-27 16:07:34 +02:00
Arnd Bergmann
2ef306e16e AT91 DT #2 for 5.19:
- at91: more DT compliance updates for RTC and RTT nodes
 - at91: sama7g5: add microphone support
 -----BEGIN PGP SIGNATURE-----
 
 iHUEABYIAB0WIQQ5TRCVIBiyi/S+BG4fOrpwrNPNDAUCYoO9aAAKCRAfOrpwrNPN
 DN9mAP9szQpIEeeBroDXXd1LEG0xaCuCIXHPi4RZMqo8otNpAQEAujMKinPEUGCo
 hdR2/foy+dxQUCPu8MK9ymOXFB+ynAw=
 =dwS8
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEo6/YBQwIrVS28WGKmmx57+YAGNkFAmKQ2KEACgkQmmx57+YA
 GNkbQg//b3wQfGwZkfi3UC4CVUJIOGBw4+45R0ftiFDfKF1I9JRRJXNHeDY7J/Cs
 QpZdGKH6XRv9Q1ucNVs15VIS94dncwLpyqSaiYeXgVRwsWVQDQ4YR3ptGnq9B9pq
 UCrHs6+1fJMui8+FnktMakX68y2V/885jinkdyCQgt93yLSS0EY8O3V2SlDJHFN7
 LcCMOHOiLXKbvYOu/lAHp3Dz5kD93Jtc15zN6av44hLuio8bdyF0Akf+vsxfc4Ki
 8avJkDkYkdhmdwm0BcpD+KooYJ1cVkD6n0H2a1ChA6rMxYrO9kfu2piMYAEfcHKo
 q6wUBvEIlWNRYUPO6VVROz2InO5r7gt/NCYv4wNzDWNGOX2AgCZ1QoH58WJRcMRd
 maZ9OnB5d1/6SoRJf4if95mTKiVmAkNeNRav3Aqmkseasq925P9t79DnrM6Zb5Gx
 qqOtOFo6GDtbQKALmcXTudMMe1x6cpEu1aFw4rDR18UDm/5OenUNOr6pWRkHSKHg
 CrOIStr9g5V9IPUThbukZuPovR8R/TWOd2J0CTVGQdAS6UaU36Sa78G3YUKc/Sfa
 LqA3iJ+JxLFJ++ipNTEaMdnXVaVPQD53voAPfDqkKTXnUaa+jzqpOGTO70UHkvt/
 VKP2gcSfAhzyO4VSSjeIFj8j8b9Ghi7jCp942w5xkvjWyeWDY7Y=
 =Rzo9
 -----END PGP SIGNATURE-----

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

AT91 DT #2 for 5.19:

- at91: more DT compliance updates for RTC and RTT nodes
- at91: sama7g5: add microphone support

* tag 'at91-dt-5.19-2' of git://git.kernel.org/pub/scm/linux/kernel/git/at91/linux:
  ARM: dts: at91: sama7g5ek: add node for PDMC0
  ARM: dts: at91: sama7g5: add nodes for PDMC
  ARM: dts: at91: Use the generic "rtc" node name for the rtt IPs
  ARM: dts: at91: Add the required 'atmel, rtt-rtc-time-reg' property

Link: https://lore.kernel.org/r/20220517153252.92393-1-nicolas.ferre@microchip.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2022-05-27 15:56:49 +02:00
Arnd Bergmann
3e11194631
Merge branch 'hpe/gxp-soc' into arm/late
Patch series from Nick Hawkins:

"The GXP is the HPE BMC SoC that is used in the majority of HPE current
 generation servers. Traditionally the asic will last multiple
 generations of server before being replaced.

 Info about SoC:

  HPE GXP is the name of the HPE Soc. This SoC is used to implement many
  BMC features at HPE. It supports ARMv7 architecture based on the Cortex
  A9 core. It is capable of using an AXI bus to which a memory controller
  is attached. It has multiple SPI interfaces to connect boot flash and
  BIOS flash. It uses a 10/100/1000 MAC for network connectivity. It has
  multiple i2c engines to drive connectivity with a host infrastructure.
  The initial patches enable the watchdog and timer enabling the host to
  be able to boot."

* hpe/gxp-soc:
  MAINTAINERS: Introduce HPE GXP Architecture
  ARM: dts: Introduce HPE GXP Device tree
  dt-bindings: arm: hpe: add GXP Support
  dt-bindings: timer: hpe,gxp-timer: Add HPE GXP Timer and Watchdog
  clocksource/drivers/timer-gxp: Add HPE GXP Timer
  watchdog: hpe-wdt: Introduce HPE GXP Watchdog
  ARM: configs: multi_v7_defconfig: Add HPE GXP ARCH
  ARM: hpe: Introduce the HPE GXP architecture

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2022-05-27 15:55:37 +02:00
Linus Torvalds
ae86218328 ARM: DT changes for 5.19, part 1
There are 40 branches this time, adding a lot of new hardware
 support, and cleanups. Krzysztof Kozlowski continues his treewide
 cleanups.
 
 There are a number of new SoCs, all of them as part of existing
 families, and typically added along with a reference board:
 
  - Renesas RZ/G2UL (R9A07G043) is the single-core version of the RZ/G2L
    general-purpose MPU.
 
  - Renesas RZ/V2M (R9A09G011) is a smart camera SoC
 
  - Renesas R-Car V4H (R8A779G0) is an automotive chip with Cortex-A76
    cores and deep learning accerlation.
 
  - Broadcom BCM47622 is a new broadband SoC based on a quad Cortex-A7
    and dual Wifi-6.
 
  - Corstone1000 is a generic platform from Arm that is used for designing
    custom SoCs, the support for now is for the Fixed Virtual Platform
    emulation for it.
 
  - Mediatek MT8195 (Kompanio 1200) is a high-end consumer chip used
    in upcoming Chromebooks.
 
  - NXP i.MXRT1050 is a Cortex-M7 based microcontroller, the first
    MMU-less SoC to be added in a while
 
 New machines based on already supported SoCs this time are mainly
 for 32-bit platforms and include:
 
  - Two wireless routers based on Broadcom bcm4708
 
  - 30 new boards based on NXP i.MX6, i.MX7 and i.MX8 families, mostly
    for the industrial embedded market, and on NXP LS1021A based
    IOT board.
 
  - Two ethernet switches based on Microchip LAN966
 
  - Eight Qualcomm Snapdragon based machines, including a smartwatch,
    a Chromebook board and some phones
 
  - Another phone based on the old ST-Ericsson Ux500 platform
 
  - Seven STM32MP1 based boards
 
  - Four single-board computers based on Rockchip RK3566/RK3568
 -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEo6/YBQwIrVS28WGKmmx57+YAGNkFAmKOp8cACgkQmmx57+YA
 GNk33hAAn/mY+QDyj8sUwtY4AAVtut2QgyBm7NBWLgiYDQx52yBwP7rUxeKyDqZF
 q6LK5z3NA7NN5REpfn6WKBEFo6wkzTzg4Gev/h+9hwLyozch8vl4etBfZGak4A7m
 cLCONZdw4FMCQ10oLq+ib/WJeJv2W700307OkJ3dN73qdbWLRF1hoyG+uMTHuEqL
 If755IR+EYhxYz8CfJhCYb2BcqhRq047n3sEqolZpFtz5oHUW2dADASgWpV+3yNc
 ql8cH0f5OTKbFS1lM4k7cWbMW2vHWx7jZnXZDyMfy3EE5SOb4V/s9JFJSS1pAfPQ
 OWuq194LT+SIXTTT3DQ+lSNcMhlkyeXQ0JQE1wAAp0vov4V8vHGvEGk0MCku5QHp
 zKKONPfcn9aoWtsh4GaCvt0cP0m7lKyjxJvNSjBy2C9dVW8t4UlIVZr+V8hR2Ufp
 SpCCzMbttrcUK6rHzQmWsR563mhfszzuzDfZi4RK2aFLJKhFi5hEQF2tDxLq8Y09
 vIY/OkRpSwahgbiyj/zhKrJtnhFHh1m6wZJG+Sk9lTJikEhaRinriy0lgu08xssG
 krBHPOVhNY11rqlzosBU39JOya1/J2iTxjo7ccNmGfO4MDanE+Cl41a5wSNjciw1
 ihi2zAUBClGg0TnQ+HJylFPS3ZFyGEtbYH/d6td25DtwaaIsaxU=
 =LsM7
 -----END PGP SIGNATURE-----

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

Pull ARM DT updates from Arnd Bergmann:
 "There are 40 branches this time, adding a lot of new hardware support,
  and cleanups. Krzysztof Kozlowski continues his treewide cleanups.

  There are a number of new SoCs, all of them as part of existing
  families, and typically added along with a reference board:

   - Renesas RZ/G2UL (R9A07G043) is the single-core version of the
     RZ/G2L general-purpose MPU.

   - Renesas RZ/V2M (R9A09G011) is a smart camera SoC

   - Renesas R-Car V4H (R8A779G0) is an automotive chip with Cortex-A76
     cores and deep learning accerlation.

   - Broadcom BCM47622 is a new broadband SoC based on a quad Cortex-A7
     and dual Wifi-6.

   - Corstone1000 is a generic platform from Arm that is used for
     designing custom SoCs, the support for now is for the Fixed Virtual
     Platform emulation for it.

   - Mediatek MT8195 (Kompanio 1200) is a high-end consumer chip used in
     upcoming Chromebooks.

   - NXP i.MXRT1050 is a Cortex-M7 based microcontroller, the first
     MMU-less SoC to be added in a while

  New machines based on already supported SoCs this time are mainly for
  32-bit platforms and include:

   - Two wireless routers based on Broadcom bcm4708

   - 30 new boards based on NXP i.MX6, i.MX7 and i.MX8 families, mostly
     for the industrial embedded market, and on NXP LS1021A based IOT
     board.

   - Two ethernet switches based on Microchip LAN966

   - Eight Qualcomm Snapdragon based machines, including a smartwatch, a
     Chromebook board and some phones

   - Another phone based on the old ST-Ericsson Ux500 platform

   - Seven STM32MP1 based boards

   - Four single-board computers based on Rockchip RK3566/RK3568"

* tag 'arm-dt-5.19' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc: (791 commits)
  ARM: dts: kswitch-d10: enable networking
  ARM: dts: lan966x: add switch node
  ARM: dts: lan966x: add serdes node
  ARM: dts: lan966x: add reset switch reset node
  ARM: dts: lan966x: add MIIM nodes
  ARM: dts: lan966x: add hwmon node
  ARM: dts: lan966x: add basic Kontron KSwitch D10 support
  ARM: dts: lan966x: add flexcom I2C nodes
  ARM: dts: lan966x: add flexcom SPI nodes
  ARM: dts: lan966x: add all flexcom usart nodes
  ARM: dts: lan966x: add missing uart DMA channel
  ARM: dts: lan966x: add sgpio node
  ARM: dts: lan966x: swap dma channels for crypto node
  ARM: dts: lan966x: rename pinctrl nodes
  ARM: dts: at91: sama7g5: remove interrupt-parent from gic node
  ARM: dts: at91: use generic node name for dataflash
  ARM: dts: turris-omnia: Add atsha204a node
  arm64: dts: mt8192: Follow binding order for SCP registers
  arm64: dts: mediatek: add mtk-snfi for mt7622
  arm64: dts: mediatek: mt8195-demo: enable uart1
  ...
2022-05-26 10:28:12 -07:00
Jakub Kicinski
d7e6f58360 Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
drivers/net/ethernet/mellanox/mlx5/core/main.c
  b33886971d ("net/mlx5: Initialize flow steering during driver probe")
  40379a0084 ("net/mlx5_fpga: Drop INNOVA TLS support")
  f2b41b32cd ("net/mlx5: Remove ipsec_ops function table")
https://lore.kernel.org/all/20220519040345.6yrjromcdistu7vh@sx1/
  16d42d3133 ("net/mlx5: Drain fw_reset when removing device")
  8324a02c34 ("net/mlx5: Add exit route when waiting for FW")
https://lore.kernel.org/all/20220519114119.060ce014@canb.auug.org.au/

tools/testing/selftests/net/mptcp/mptcp_join.sh
  e274f71540 ("selftests: mptcp: add subflow limits test-cases")
  b6e074e171 ("selftests: mptcp: add infinite map testcase")
  5ac1d2d634 ("selftests: mptcp: Add tests for userspace PM type")
https://lore.kernel.org/all/20220516111918.366d747f@canb.auug.org.au/

net/mptcp/options.c
  ba2c89e0ea ("mptcp: fix checksum byte order")
  1e39e5a32a ("mptcp: infinite mapping sending")
  ea66758c17 ("tcp: allow MPTCP to update the announced window")
https://lore.kernel.org/all/20220519115146.751c3a37@canb.auug.org.au/

net/mptcp/pm.c
  95d6865178 ("mptcp: fix subflow accounting on close")
  4d25247d3a ("mptcp: bypass in-kernel PM restrictions for non-kernel PMs")
https://lore.kernel.org/all/20220516111435.72f35dca@canb.auug.org.au/

net/mptcp/subflow.c
  ae66fb2ba6 ("mptcp: Do TCP fallback on early DSS checksum failure")
  0348c690ed ("mptcp: add the fallback check")
  f8d4bcacff ("mptcp: infinite mapping receiving")
https://lore.kernel.org/all/20220519115837.380bb8d4@canb.auug.org.au/

Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2022-05-19 11:23:59 -07:00
Joel Stanley
8dc7aa0a72 ARM: dts: aspeed: ast2600-evb: Enable GFX device
Enable the GFX device with a framebuffer memory region.

Signed-off-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Tommy Haung <tommy_huang@aspeedtech.com>
Reviewed-by: Joel Stanley <joel@jms.id.au>
Link: https://lore.kernel.org/r/20220302024930.18758-3-tommy_huang@aspeedtech.com
Signed-off-by: Joel Stanley <joel@jms.id.au>
2022-05-19 17:18:56 +09:30
Joel Stanley
4fa40bfa25 ARM: dts: aspeed: Add GFX node to AST2600
The GFX device is present in the AST2600 SoC.

Signed-off-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Tommy Haung <tommy_huang@aspeedtech.com>
Reviewed-by: Joel Stanley <joel@jms.id.au>
Link: https://lore.kernel.org/r/20220302024930.18758-2-tommy_huang@aspeedtech.com
Signed-off-by: Joel Stanley <joel@jms.id.au>
2022-05-19 17:18:56 +09:30
Howard Chiu
0ef77237c5 ARM: dts: aspeed: ast2600-evb: Enable virtual hub
Enable Aspeed VHub for HID emulation

Signed-off-by: Howard Chiu <howard_chiu@aspeedtech.com>
Link: https://lore.kernel.org/r/SG2PR06MB23155E8A6193118544A7DBF3E61E9@SG2PR06MB2315.apcprd06.prod.outlook.com
Signed-off-by: Joel Stanley <joel@jms.id.au>
2022-05-19 17:14:20 +09:30
Howard Chiu
08daf2c891 ARM: dts: aspeed: ast2600-evb: Enable video engine
Enable video engine and reserve memory for it.

Signed-off-by: Howard Chiu <howard_chiu@aspeedtech.com>
Link: https://lore.kernel.org/r/SG2PR06MB23159B914BF7EF937FEDD2B5E61E9@SG2PR06MB2315.apcprd06.prod.outlook.com
Signed-off-by: Joel Stanley <joel@jms.id.au>
2022-05-19 17:13:25 +09:30
Brandon Wyman
f6b6795004 ARM: dts: aspeed: everest, rainier: Add power-ffs-sync-history GPIO
The IBM Everest and Rainier systems have a GPIO line that goes to the
power supplies. It has a dual function: 1) Fans Full Speed, and 2) Sync
input history.

Signed-off-by: Brandon Wyman <bjwyman@gmail.com>
Link: https://lore.kernel.org/r/20220421213638.1151193-1-bjwyman@gmail.com
Signed-off-by: Joel Stanley <joel@jms.id.au>
2022-05-19 17:12:52 +09:30
Graeme Gregory
7b46aa7c00 ARM: dts: aspeed: Add Nuvia DC-SCM BMC
Add initial version of device tree for Nuvia DC-SCM BMC which is
equipped with Aspeed AST2600 BMC SoC.

Signed-off-by: Graeme Gregory <quic_ggregory@quicinc.com>
Signed-off-by: Jae Hyun Yoo <quic_jaehyoo@quicinc.com>
Link: https://lore.kernel.org/r/20220325190247.468079-1-quic_jaehyoo@quicinc.com
Signed-off-by: Joel Stanley <joel@jms.id.au>
2022-05-19 17:08:10 +09:30
Potin Lai
244839d0fe ARM: dts: aspeed: bletchley: add sample averaging for ADM1278
set number of sample averaging to 128 for both PWR_AVG and VI_AVG

Signed-off-by: Potin Lai <potin.lai@quantatw.com>
Reviewed-by: Patrick Williams <patrick@stwcx.xyz>
Link: https://lore.kernel.org/r/20220418094827.6185-1-potin.lai@quantatw.com
Signed-off-by: Joel Stanley <joel@jms.id.au>
2022-05-19 17:05:19 +09:30
Potin Lai
8c9e374387 ARM: dts: aspeed: bletchley: add eeprom node on each sled
Add eeprom (24c26) on each sled for storing sled fru information.

Signed-off-by: Potin Lai <potin.lai.pt@gmail.com>
Reviewed-by: Patrick Williams <patrick@stwcx.xyz>
Reviewed-by: Joel Stanley <joel@jms.id.au>
Link: https://lore.kernel.org/r/20220509151118.4899-7-potin.lai.pt@gmail.com
Signed-off-by: Joel Stanley <joel@jms.id.au>
2022-05-19 16:57:45 +09:30
Potin Lai
9495c6d570 ARM: dts: aspeed: bletchley: add pca9536 node on each sled
Add an ioexp node on each sled baseed on DVT schematic, address at 0x41.

P0: SLEDX_SWD_MUX
P1: SLEDX_XRES_SWD_N
P2: SLEDX_CLKREQ_N
P3: SLEDX_PCIE_PWR_EN

Signed-off-by: Potin Lai <potin.lai.pt@gmail.com>
Reviewed-by: Patrick Williams <patrick@stwcx.xyz>
Reviewed-by: Joel Stanley <joel@jms.id.au>
Link: https://lore.kernel.org/r/20220509151118.4899-6-potin.lai.pt@gmail.com
Signed-off-by: Joel Stanley <joel@jms.id.au>
2022-05-19 16:57:45 +09:30
Potin Lai
60280a214a ARM: dts: aspeed: bletchley: update gpio0 line names
Update GPIO line names based on DVT schematic

Signed-off-by: Potin Lai <potin.lai.pt@gmail.com>
Reviewed-by: Patrick Williams <patrick@stwcx.xyz>
Reviewed-by: Joel Stanley <joel@jms.id.au>
Link: https://lore.kernel.org/r/20220509151118.4899-5-potin.lai.pt@gmail.com
Signed-off-by: Joel Stanley <joel@jms.id.au>
2022-05-19 16:57:45 +09:30
Potin Lai
86ec3af52d ARM: dts: aspeed: bletchley: Enable mdio0 bus
Enable mdio0 bus based on DVT schematic.

TODO: Add Marvell 88E6191 Switch

Signed-off-by: Potin Lai <potin.lai.pt@gmail.com>
Reviewed-by: Patrick Williams <patrick@stwcx.xyz>
Reviewed-by: Joel Stanley <joel@jms.id.au>
Link: https://lore.kernel.org/r/20220509151118.4899-4-potin.lai.pt@gmail.com
Signed-off-by: Joel Stanley <joel@jms.id.au>
2022-05-19 16:57:45 +09:30
Potin Lai
cc82dc2673 ARM: dts: aspeed: bletchley: switch spi2 driver to aspeed-smc
Due to DVT schematic has stable spi signal, switch back to aspeed-smc
driver for improving performance.

Signed-off-by: Potin Lai <potin.lai.pt@gmail.com>
Reviewed-by: Patrick Williams <patrick@stwcx.xyz>
Reviewed-by: Joel Stanley <joel@jms.id.au>
Link: https://lore.kernel.org/r/20220509151118.4899-3-potin.lai.pt@gmail.com
Signed-off-by: Joel Stanley <joel@jms.id.au>
2022-05-19 16:57:44 +09:30
Potin Lai
ad0e053b5b ARM: dts: aspeed: bletchley: enable ehci0 device node
Enable ehci0 node for USB2 host feature

Signed-off-by: Potin Lai <potin.lai.pt@gmail.com>
Reviewed-by: Patrick Williams <patrick@stwcx.xyz>
Reviewed-by: Joel Stanley <joel@jms.id.au>
Link: https://lore.kernel.org/r/20220509151118.4899-2-potin.lai.pt@gmail.com
Signed-off-by: Joel Stanley <joel@jms.id.au>
2022-05-19 16:57:44 +09:30
Neal Liu
c9cb67c3a6 ARM: dts: aspeed: Add USB2.0 device controller node
Add USB2.0 device controller(udc) node to device tree
for AST2600.

Signed-off-by: Neal Liu <neal_liu@aspeedtech.com>
Link: https://lore.kernel.org/r/20220518062043.1075360-3-neal_liu@aspeedtech.com
Signed-off-by: Joel Stanley <joel@jms.id.au>
2022-05-19 16:39:36 +09:30
Tao Ren
f3e5996218 ARM: dts: aspeed-g4: Set spi-max-frequency for all flashes
Set "spi-max-frequency" to 50 MHz for all the flashes under the FMC
controller to ensure the clock frequency is calculated correctly.

Suggested-by: Cédric Le Goater <clg@kaod.org>
Tested-by: Jae Hyun Yoo <quic_jaehyoo@quicinc.com>
Signed-off-by: Tao Ren <rentao.bupt@gmail.com>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Link: https://lore.kernel.org/r/20220509175616.1089346-11-clg@kaod.org
Signed-off-by: Joel Stanley <joel@jms.id.au>
2022-05-19 13:09:49 +09:30
Cédric Le Goater
4a92d02fce ARM: dts: aspeed: Enable Dual SPI RX transfers
All these controllers support at least Dual SPI. Update the DTs.

Reviewed-by: Joel Stanley <joel@jms.id.au>
Tested-by: Joel Stanley <joel@jms.id.au>
Tested-by: Tao Ren <rentao.bupt@gmail.com>
Tested-by: Jae Hyun Yoo <quic_jaehyoo@quicinc.com>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Link: https://lore.kernel.org/r/20220509175616.1089346-10-clg@kaod.org
Signed-off-by: Joel Stanley <joel@jms.id.au>
2022-05-19 13:09:47 +09:30
Cédric Le Goater
651b79e8c9 ARM: dts: aspeed: Adjust "reg" property of FMC/SPI controllers
This is compatible with the current driver and addresses issues when
running 'make dt_binding_check'.

Cc: Chin-Ting Kuo <chin-ting_kuo@aspeedtech.com>
Tested-by: Joel Stanley <joel@jms.id.au>
Tested-by: Tao Ren <rentao.bupt@gmail.com>
Tested-by: Jae Hyun Yoo <quic_jaehyoo@quicinc.com>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Link: https://lore.kernel.org/r/20220509175616.1089346-2-clg@kaod.org
Signed-off-by: Joel Stanley <joel@jms.id.au>
2022-05-19 13:06:06 +09:30
Howard Chiu
4d338ee40b ARM: dts: aspeed: ast2600-evb: Enable RX delay for MAC0/MAC1
Since mac0/1 and mac2/3 are physically located on different die,
they have different properties by nature, which is mac0/1 has smaller delay step.

The property 'phy-mode' on ast2600 mac0 and mac1 is recommended to set to 'rgmii-rxid'
which enables the RX interface delay from the PHY chip.
Refer page 45 of SDK User Guide v08.00
https://github.com/AspeedTech-BMC/openbmc/releases/download/v08.00/SDK_User_Guide_v08.00.pdf

Fixes: 2ca5646b5c ("ARM: dts: aspeed: Add AST2600 and EVB")
Signed-off-by: Howard Chiu <howard_chiu@aspeedtech.com>
Link: https://lore.kernel.org/r/SG2PR06MB23152A548AAE81140B57DD69E6E09@SG2PR06MB2315.apcprd06.prod.outlook.com
Signed-off-by: Joel Stanley <joel@jms.id.au>
2022-05-19 13:04:54 +09:30
Josua Mayer
654cd22227 ARM: dts: imx6qdl-sr-som: update phy configuration for som revision 1.9
Since SoM revision 1.9 the PHY has been replaced with an ADIN1300,
add an entry for it next to the original.

As Russell King pointed out, additional phy nodes cause warnings like:
mdio_bus 2188000.ethernet-1: MDIO device at address 1 is missing
To avoid this the new node has its status set to disabled. U-Boot will
be modified to enable the appropriate phy node after probing.

The existing ar8035 nodes have to stay enabled by default to avoid
breaking existing systems when they update Linux only.

Co-developed-by: Alvaro Karsz <alvaro.karsz@solid-run.com>
Signed-off-by: Alvaro Karsz <alvaro.karsz@solid-run.com>
Signed-off-by: Josua Mayer <josua@solid-run.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2022-05-18 19:58:30 -07:00
Nick Hawkins
53658de4fa ARM: dts: Introduce HPE GXP Device tree
The HPE SoC is new to linux. A basic device tree layout with minimum
required for linux to boot including a timer and watchdog support has
been created.

The dts file is empty at this point but will be updated in subsequent
updates as board specific features are enabled.

Signed-off-by: Nick Hawkins <nick.hawkins@hpe.com>

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
2022-05-18 14:05:54 +02:00
Codrin Ciubotariu
821cb05f6b ARM: dts: at91: sama7g5ek: add node for PDMC0
SAMA7G5-EK has 4 PDM microphones connected to PDMC0. PDMC0 pinmux is in
conflict with gmac1, gmac1 being enabled by default.

Signed-off-by: Codrin Ciubotariu <codrin.ciubotariu@microchip.com>
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Link: https://lore.kernel.org/all/20220307122202.2251639-6-codrin.ciubotariu@microchip.com
Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
2022-05-17 17:14:42 +02:00
Codrin Ciubotariu
0c91107be3 ARM: dts: at91: sama7g5: add nodes for PDMC
Microchip's SAMA7G5 embeds two PDMCs. The PDMCs can be used to connect 2x4
PDM microphones.

Signed-off-by: Codrin Ciubotariu <codrin.ciubotariu@microchip.com>
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Link: https://lore.kernel.org/all/20220307122202.2251639-5-codrin.ciubotariu@microchip.com
Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
2022-05-17 17:14:42 +02:00
Sergiu Moga
6a743ea387 ARM: dts: at91: Use the generic "rtc" node name for the rtt IPs
As the DT specification recommends, the node names should be of a
generic nature. Thus, the most appropriate generic node name for
the at91 rtt IPs is the "rtc" node name.

Signed-off-by: Sergiu Moga <sergiu.moga@microchip.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Reviewed-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Link: https://lore.kernel.org/all/20220304161159.147784-3-sergiu.moga@microchip.com
Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
2022-05-17 17:14:42 +02:00
Sergiu Moga
52e0d23086 ARM: dts: at91: Add the required 'atmel, rtt-rtc-time-reg' property
Add the required 'atmel,rtt-rtc-time-reg' property to the "rtt" nodes
of the board files that were missing it.

Signed-off-by: Sergiu Moga <sergiu.moga@microchip.com>
Reviewed-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Link: https://lore.kernel.org/all/20220304161159.147784-2-sergiu.moga@microchip.com
Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
2022-05-17 17:14:30 +02:00
Arnd Bergmann
204637ece4 Delete no longer needed properties of MediaTek Larbs for MT2701.
-----BEGIN PGP SIGNATURE-----
 
 iQJLBAABCAA1FiEEUdvKHhzqrUYPB/u8L21+TfbCqH4FAmJ+DvUXHG1hdHRoaWFz
 LmJnZ0BnbWFpbC5jb20ACgkQL21+TfbCqH5aaQ//Xs3u3BsBGcCheCenMTEtNXmq
 PyK9UH3ri1eivYshyaxUEKziREoaZ0MjGoLWt993s15/9OwEGFCYqA8chNg+ReHk
 uKkhiwZ5tmZAcldbIaSxoF7a8Gz3TQQ1wnAiYflFER5JaN7/ZD4sH2e/UB3eMa64
 5XJvEcWIsz6Vc0GtIqGLyMSHj6KdbPmxgyZkOPJpIyy2NcHc42hfTfVnc2nE9h9v
 kTwetMKNYk/Se/1YRqAO6yVi1MeBkjGxFXiJQoAy1bJbkOWna8nDZkdOsp6OQQJC
 9/YW+SMEMteMtpW1WLEFRhn2QBdukhO0S9MdeuZZe+RP0nDyw9L7z45ePRfGmM+6
 jVqshU3ZLCj0JmUlQa9Hl2cGUUKxxHiQ3mdKe1HLNa1l30fl9u4pcH0UYVBw9WIT
 /mr5Sh0KLk0berBMRr+AwevvK8EZC+p4qmhqbHXJLrwOQ3rV73A8YU7pyhFWYlAa
 XhdSN7cFx0jzDi8v4WoBW9ltpYsRBhchUqeenL85Ker9tHLi33D+b5iYRRRQklLo
 2yUaWexskVSd1RhKFw4nWKbRjCt8zgB+ZNI6Or8F5pXSQ4Vcd8ECU5iHQL6VT0vt
 LwgSoJDOLBeMtAkeRmed3YduuDqBSm4lKreLqQoyq8wC0D/2EI8uffcVgc2QnWjk
 AavZy9YP5R6BpbsDmnU=
 =9HxU
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEo6/YBQwIrVS28WGKmmx57+YAGNkFAmJ+yo0ACgkQmmx57+YA
 GNn4fxAAkGag5OdLA5zMMZYJ+tXrnh30PFkW4ty2R7ol4l9mEfHUCdX2qeD9n+nw
 cbXiw1wLC5+fm+ieSTA31d+6VsEKqTW8/YLJYXeVTWGpZs8KxsSmjZi8eCanBNbm
 pidLcCcw66t49Tabbs35q8p0MnjiJTwRwRhmJG/J3aDan+7qdTqTOI3JKU5cj8+Y
 UDgb3CHOa6cXHE41dAJ1Q2v/qOoJYsKWWsUd5vjRqeb/auWaDKSc6hgEvzo3lamD
 5qzkbZd5e8wsZ4W1yJt02C3+iITMzoTQEpOq6lEhh3iDi6MnER2IojC+uao+mfVs
 s3enrBaYdHcivH2j0AjhqtVR+vXqKNHgL4j/Ct4TrIjPtcvCVP+Mzt1kKCwPaOu/
 7PhwC6HUzTxCkCh2WQ5JYhxU3pg1Hp+/KZxoc2PKEX66slJ6hYPzYlmfeyvkpgHT
 UptJsr7Ur1Sr8lw1W16aymdvYZizOPnIe0AvmDOyfdAfyPHs/Zl/Ar65XIeR695I
 EOvWrgxhLvefbEl72rYbLrvyEzdxhi7dJu+rYdH7AMi+HVFDhCR/jhsQbYnpKArd
 BwbgUwXtMkqEIUCY/Pr33/S9KdhS8zWzmm5gU2BVPjxWGoJQErOMhIRmRydkQS6N
 sZIIrkciZ71eLnGMm2G96LBXosEwx8t+eV82t1DBkKt/KVVaqK8=
 =iodE
 -----END PGP SIGNATURE-----

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

Delete no longer needed properties of MediaTek Larbs for MT2701.

* tag 'v5.18-next-dts32' of git://git.kernel.org/pub/scm/linux/kernel/git/matthias.bgg/linux:
  arm: dts: mediatek: Get rid of mediatek, larb for MM nodes

Link: https://lore.kernel.org/r/b4383f23-0adc-b9de-a1d9-abd1c2f82b27@gmail.com

This concludes a cleanup that was started back in 2019, with an
incompatible DT binding change. Kernels before 5.18 can no longer
use the updated dtb from 5.19, and the drivers no longer parse the
old properties, which breaks compatibility with older dtb files.

Link: https://lore.kernel.org/lkml/1546318276-18993-2-git-send-email-yong.wu@mediatek.com/
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2022-05-13 22:40:43 +02:00
Arnd Bergmann
8f311c09df AT91 & LAN966 DT #1 for 5.19:
- at91: DT compliance updates to gic and dataflash nodes
 - lan966: addition to many basic nodes for various peripherals
 - lan966: Kontron KSwitch D10: support for this new board
   and its network switch
 -----BEGIN PGP SIGNATURE-----
 
 iHUEABYIAB0WIQQ5TRCVIBiyi/S+BG4fOrpwrNPNDAUCYn6EUgAKCRAfOrpwrNPN
 DHsVAP4/nZEe35+Vkrxy81vy2R2YUHC7MiFioQduj0jjeKZAZQEAl8iEgdT+T2ef
 tnRy+lLuqkvYfWfNibWZ+Rsjos4L1gU=
 =I3+0
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEo6/YBQwIrVS28WGKmmx57+YAGNkFAmJ+tuoACgkQmmx57+YA
 GNlmJg//Te0+Az9FaIDVipszwjGhOAJ4MfiDqpc1QAXO9NFJ7yXtCNdUhD5Ggq91
 FaGIvLgjgST/EC3nq/mzvqHRnMBWl8xaHA33BVT6Jg6L9fXGPhEoAWFZB4vfrmxb
 d4N3hsO+kTVUfHsf5eDbIpEtag9yxeKZfROlixlL14nG1tx5QNFvwutvfcmvM/aG
 eSR6GYEkI+YNJlpZDnwRdK7dv4pj47c6XMLiCMv8X3XeoXmefWyDlgsvsd1k+JrY
 L6V/jDJnRKRR5QumF4ZeIhILssMfedH+2LR8vUAA4T/F3RF0ztnSAwPx4fEDuytV
 w6DuQoQWFi6XFRWYw4q75OFh7Z8PSfujVUvU1kDrlIwx8DAqkj8AHrTPCX+H5Qlr
 m4gTBAV7H2ytwHJ+MFBKyrI3VKkSrugl5FHrqUVeEYnVf7Q7V1jx2vcDhYNjTgcR
 clK6NGaYXp0Wwl/xmrRGQ8BNJlnzj/rhcvHTAYYRX2+wkgUz6qmUyd2fOGWiee+Y
 dCCa5mj3u121AtHu7bn0Q4pNLa76lN2ng5kh1ap06frkiRlGnNdqR82L5KUBaKPy
 V73U+JZN6KyXAdME5TWNM3NAu3fU+uVeaSRFqpmBK5Uw7YLLm1WK7DhH1xn8S3Vm
 TOhRfkxTN+rgByeswr7j3XGRUGyZLbqP6M2+cTtI/vMY/DqzegA=
 =cWTd
 -----END PGP SIGNATURE-----

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

AT91 & LAN966 DT #1 for 5.19:

- at91: DT compliance updates to gic and dataflash nodes
- lan966: addition to many basic nodes for various peripherals
- lan966: Kontron KSwitch D10: support for this new board
  and its network switch

* tag 'at91-dt-5.19' of git://git.kernel.org/pub/scm/linux/kernel/git/at91/linux:
  ARM: dts: kswitch-d10: enable networking
  ARM: dts: lan966x: add switch node
  ARM: dts: lan966x: add serdes node
  ARM: dts: lan966x: add reset switch reset node
  ARM: dts: lan966x: add MIIM nodes
  ARM: dts: lan966x: add hwmon node
  ARM: dts: lan966x: add basic Kontron KSwitch D10 support
  ARM: dts: lan966x: add flexcom I2C nodes
  ARM: dts: lan966x: add flexcom SPI nodes
  ARM: dts: lan966x: add all flexcom usart nodes
  ARM: dts: lan966x: add missing uart DMA channel
  ARM: dts: lan966x: add sgpio node
  ARM: dts: lan966x: swap dma channels for crypto node
  ARM: dts: lan966x: rename pinctrl nodes
  ARM: dts: at91: sama7g5: remove interrupt-parent from gic node
  ARM: dts: at91: use generic node name for dataflash

Link: https://lore.kernel.org/r/20220513162338.87717-1-nicolas.ferre@microchip.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2022-05-13 21:52:10 +02:00
Arnd Bergmann
7213d3a5a1 mvebu dt for 5.19 (part 1)
Add the crypto module atsha204a node for the turis omnia (Armada 385 bases)
 -----BEGIN PGP SIGNATURE-----
 
 iF0EABECAB0WIQQYqXDMF3cvSLY+g9cLBhiOFHI71QUCYn5TDgAKCRALBhiOFHI7
 1cRDAJ9di47qcayH1onpJvFmEot/PZiThwCdG7rJ5+7yezefokYi1q1wSa11uww=
 =jg2t
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEo6/YBQwIrVS28WGKmmx57+YAGNkFAmJ+a/kACgkQmmx57+YA
 GNkFRg/9F1dYnDo5Iu9vDv2fvW7pfbFLQZlv6VMgEtmrdlZc9IK8SK1kdqCgetnR
 U/mPn2BKiTXIjccbvwPFTFIkeMFf9w27biGWw2hdD2yhiKdK3bNpK7Zv44yHRE9w
 cY9dvRo4OyGNles+HrOahJDQ10wJDjOqPoky2mTHzB8eOJ94YnwEa5VOsYlKbnTR
 4m4xpUe/am2OtKjWGOxBOyJ5/9C7CIYHSC3JFJIpYsRM9VCdf/hSci9XjwlxqwvC
 Pz33HeqEFMGcqqSkGLu45U+Wwpja+2NnX1trXnz1PAIkbC/O/lEjrolmC2ZEVhyt
 tij2B9+4JWA5lMYFtgYY2i593JKb+mshO5XltSzUzoRkBullEz0hTRV7OCNntiEH
 cX14TxbWue7DaS40+zZmMPUcwYGhw/1dNKD+fCunGVNUM2foA329Y5AyUUIUrJAs
 8A1M7QIOnymzKD2u4JBuoUWrj5bvVJ3bIPe/89hJ6alsKdoh9CLTvqNXzDZhC8oQ
 6jSebY7kROsLtGGJsdxu8k/uVPRelUSAXw6yhzUNxVx1DaCsJMdB4oD/tN3TYZNZ
 yqofqEe3khkSeSsNjfHxmmC6A3tkXz5uBrrYXqKtOKS8y/eyKW/1SptC1byKG022
 DgJmhyN6B1HIufDo2FUJY31IZwyL+TiiJxhHIcR13Tg2KrSd3Y8=
 =rSnO
 -----END PGP SIGNATURE-----

Merge tag 'mvebu-dt-5.19-1' of git://git.kernel.org/pub/scm/linux/kernel/git/gclement/mvebu into arm/dt

mvebu dt for 5.19 (part 1)

Add the crypto module atsha204a node for the turis omnia (Armada 385 bases)

* tag 'mvebu-dt-5.19-1' of git://git.kernel.org/pub/scm/linux/kernel/git/gclement/mvebu:
  ARM: dts: turris-omnia: Add atsha204a node

Link: https://lore.kernel.org/r/87lev5r2rg.fsf@BL-laptop
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2022-05-13 16:32:25 +02:00
Michael Walle
46a9556d97 ARM: dts: kswitch-d10: enable networking
Enable all the necessary network related nodes, wire the pinctrl
configurations, add the PHYs and connect them to the corresponding
network ports.

Signed-off-by: Michael Walle <michael@walle.cc>
Reviewed-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Link: https://lore.kernel.org/r/20220502224127.2604333-14-michael@walle.cc
Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
2022-05-13 16:42:43 +03:00
Michael Walle
2952d32c06 ARM: dts: lan966x: add switch node
Add the switch node and its 8 children ports. All are disabled by default.

Signed-off-by: Michael Walle <michael@walle.cc>
Reviewed-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Tested-by: Horatiu Vultur <horatiu.vultur@microchip.com>
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Link: https://lore.kernel.org/r/20220502224127.2604333-13-michael@walle.cc
Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
2022-05-13 16:42:35 +03:00
Michael Walle
4d2a87042e ARM: dts: lan966x: add serdes node
Add the SerDes node. On the LAN966x SoC these SerDes are used to connect
network PHYs.

By default, that node is disabled.

Signed-off-by: Michael Walle <michael@walle.cc>
Reviewed-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Tested-by: Horatiu Vultur <horatiu.vultur@microchip.com>
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Link: https://lore.kernel.org/r/20220502224127.2604333-12-michael@walle.cc
Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
2022-05-13 16:42:27 +03:00
Michael Walle
ff85a7a9de ARM: dts: lan966x: add reset switch reset node
Add the switch reset node which will later be used by the switch driver.
The switch reset also resets the GPIO controller and the SGPIO
controller, thus it also has to be connectected to these nodes. This way
the reset will only issued once for the first device requesting the
reset.

Signed-off-by: Michael Walle <michael@walle.cc>
Reviewed-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Tested-by: Horatiu Vultur <horatiu.vultur@microchip.com>
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Link: https://lore.kernel.org/r/20220502224127.2604333-11-michael@walle.cc
Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
2022-05-13 16:42:19 +03:00
Michael Walle
6ad69e07de ARM: dts: lan966x: add MIIM nodes
Add the MDIO controller nodes. The integrated PHYs are connected to the
second controller. This controller also takes care of the resets of the
integrated PHYs, thus it has two memory regions. The first controller
is routed to the external MDIO/MDC pins.

By default, they are disabled.

Signed-off-by: Michael Walle <michael@walle.cc>
Reviewed-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Tested-by: Horatiu Vultur <horatiu.vultur@microchip.com>
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Link: https://lore.kernel.org/r/20220502224127.2604333-10-michael@walle.cc
Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
2022-05-13 16:42:11 +03:00
Michael Walle
63f295940d ARM: dts: lan966x: add hwmon node
Add the monitoring node which covers the temperature sensor as well as
the PWM controller and the FAN tacho input.

Signed-off-by: Michael Walle <michael@walle.cc>
Reviewed-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Tested-by: Horatiu Vultur <horatiu.vultur@microchip.com>
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Link: https://lore.kernel.org/r/20220502224127.2604333-9-michael@walle.cc
Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
2022-05-13 16:42:01 +03:00