Home | History | Annotate | Download | only in rockchip
History log of /src/sys/arch/arm/rockchip/rk_spi.c
RevisionDateAuthorComments
 1.11  10-Sep-2025  thorpej Garbage-collect fdtbus_attach_spibus(). spibus_attach() does everything
now.
 1.10  10-Sep-2025  thorpej Register the SPI controller with FDT in spi_attach(), not in each
driver.
 1.9  10-Sep-2025  thorpej It is not necessary to pass the phandle separately to fdtbus_spi_*(); it
can be retrieved from the device_t.
 1.8  10-Sep-2025  thorpej Don't bother registering a function that returns a SPI controller; just
register the controller directly.
 1.7  15-May-2021  mrg branches: 1.7.8;
add SPI support to rk3328, tested on rock64.

simply adding the SPI clocks (and pwm while here) and enabling
the config match was sufficient, though my first rock64 seems
to have a deal SPI now (does not probe in u-boot or netbsd.)
 1.6  27-Jan-2021  thorpej branches: 1.6.4; 1.6.6;
Rename of_match_compat_data() to of_compatible_match(). Similarly,
rename of_search_compatible() to of_compatible_lookup().

Standardize on of_compatible_match() for driver matching, and adapt
all call sites.
 1.5  15-Jan-2021  ryo use fdtbus_intr_establish_xname
 1.4  01-Apr-2020  tnn branches: 1.4.4; 1.4.6;
Don't fail if we cannot compute the clock divider because the master
clock is too slow for what the slave device requested.
Instead warn and select the highest available slave clock rate.
Should fix boot hang on Pinebook Pro when using spiflash(4).
 1.3  13-Aug-2019  tnn branches: 1.3.2;
rk_spi: register controller with fdt
 1.2  13-Aug-2019  tnn ensure spibus_attach_args is zero'ed
 1.1  05-Aug-2019  tnn rk_spi: Rockchip SPI driver

Match only on RK3399 for now, but should work on RK3328 as well with
the proper CRU support. If you can, please test and enable for RK3328.
 1.3.2.2  20-Nov-2019  martin Pull up following revision(s) (requested by tnn in ticket #458):

sys/arch/arm/rockchip/rk3399_cru.c: revision 1.9
sys/arch/arm/rockchip/rk_spi.c: revision 1.1
sys/arch/evbarm/conf/GENERIC64: revision 1.104
sys/arch/arm/rockchip/files.rockchip: revision 1.20

rk3399_cru: add definitions for SPI clocks

rk_spi: Rockchip SPI driver

Match only on RK3399 for now, but should work on RK3328 as well with
the proper CRU support. If you can, please test and enable for RK3328.

rkspi* at fdt?
 1.3.2.1  13-Aug-2019  martin file rk_spi.c was added on branch netbsd-9 on 2019-11-20 16:49:58 +0000
 1.4.6.1  03-Apr-2021  thorpej Sync with HEAD.
 1.4.4.2  13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.4.4.1  01-Apr-2020  martin file rk_spi.c was added on branch phil-wifi on 2020-04-13 08:03:37 +0000
 1.6.6.1  31-May-2021  cjep sync with head
 1.6.4.2  17-Jun-2021  thorpej Sync w/ HEAD.
 1.6.4.1  19-May-2021  thorpej - As with i2c, just register the spi_controller directly.
- fdtbus_attach_spibus() is no longer anything other than a wrapper
around config_found(); just get rid of it and make its callers
look like all of the other SPI controller drivers.
 1.7.8.2  18-Jan-2022  thorpej G/C fdtbus_register_spi_controller(); it serves no purpose in the new
universe.
 1.7.8.1  09-Aug-2021  thorpej Port over the changes from thorpej-i2c-spi-conf to thorpej-i2c-spi-conf2,
which is based on a newer HEAD revision.

RSS XML Feed