Keystone clk changes for 5.3 merge window.

- Add support for 32 bit clock IDs for sci-clks, this is needed
   for the new J721e SoC which has a few devices that have more than
   255 clocks associated to them.
 - Clock probing done from DT by default instead of firmware side.
   Scanning clocks from DT is much faster than firmware, and also we
   can omit unnecessary clocks which saves even more time. This has been
   done in the interest of saving boot time.
 - Remove the device tree node path from the registered sci-clk names.
   This mainly makes the debugfs interface more readable.
 - Also contains a single drivers/firmware change which needs to go in
   via this pull-request; to support the 32bit clock IDs.
 -----BEGIN PGP SIGNATURE-----
 
 iQJEBAABCAAuFiEEtQ6szHmfiBT7fujkyvq9MXlQGhEFAl0A5lQQHHQta3Jpc3Rv
 QHRpLmNvbQAKCRDK+r0xeVAaEfDsD/9GOPy5k4DL4MX7CuaqZI2/4Nj5aiXBxXnx
 9DBpmO2Cg2+2Vema8fdSBmCyJeafYhacxmg9ZcZUZG4JNViVTidRAGRnH3GVLZHN
 CbSQHomIyOrkA4lEAw+tN1t+J7xFjiEdr425QL3Tj4mCJ3s144IIh3MVw52wee9G
 O5ny6ODSzlTW3pasHjfQi32Lo5Hfl6iku7N4Nb7b1zLukflPpBcnQwuRgzRypg1O
 UfRjkaN4sYo4fBakcW8C8+gss3RCD0BFObMBoevD5vRy0pzU2rAtkoQwYpwJgIe0
 w7rgwwa+nF5D2PX0dcKl4SMY/pIJBYzFYz5Y6wMTHsYYEZinCCyT8ymRQwiEGlMv
 HI5hIpCbnwUkK3BBF3Mdt6gSYFscP/GMdIJBDrIsSPyNpWTJbC6Sg2I9AYJBiTSp
 vF4oby97HNyKeqhfipdR8I/4gTuk6IGp24GIC8a3xJXUpXyDFwJoXVCCX93Q+ByT
 /GDDVji+GGC/IGn9fHL07/mYxw+JSuT4e7MR/WqPZtMjfbsq5kFeyn30MfsD25Lq
 rV0OPMJ4OzKkDYoVzVvwSZZZ/cUbYhMYCZjmvC7gZksSzR5BzxpX1aAjANedkrax
 qwA/rEMVqDiIqsXRq80zP6k6CIp8EHyCmtdc7m/qFWC9Am/UzWjCQ/wCYVo7fPIH
 b8WW4IV31A==
 =E+kQ
 -----END PGP SIGNATURE-----

Merge tag 'keystone-clk-for-5.3-v2' of git://git.kernel.org/pub/scm/linux/kernel/git/kristo/linux into clk-ti

Pull TI Keystone clk driver changes from Tero Kristo:

 - Add support for 32 bit clock IDs for sci-clks, this is needed
   for the new J721e SoC which has a few devices that have more than
   255 clocks associated to them.
 - Clock probing done from DT by default instead of firmware side.
   Scanning clocks from DT is much faster than firmware, and also we
   can omit unnecessary clocks which saves even more time. This has been
   done in the interest of saving boot time.
 - Remove the device tree node path from the registered sci-clk names.
   This mainly makes the debugfs interface more readable.
 - Also contains a single drivers/firmware change which needs to go in
   via this pull-request; to support the 32bit clock IDs.

* tag 'keystone-clk-for-5.3-v2' of git://git.kernel.org/pub/scm/linux/kernel/git/kristo/linux:
  firmware: ti_sci: extend clock identifiers from u8 to u32
  clk: keystone: sci-clk: extend clock IDs to 32 bits
  clk: keystone: sci-clk: probe clocks from DT instead of firmware
  clk: keystone: sci-clk: split out the fw clock parsing to own function
  clk: keystone: sci-clk: cut down the clock name length
This commit is contained in:
Stephen Boyd 2019-06-24 17:52:29 -07:00
commit 0af69227ed
5 changed files with 362 additions and 94 deletions