The NetBSD Project

CVS log for src/sys/arch/arm/rockchip/rk_spi.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / arch / arm / rockchip

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.7.8.2 / (download) - annotate - [select for diffs], Tue Jan 18 00:14:20 2022 UTC (2 years, 2 months ago) by thorpej
Branch: thorpej-i2c-spi-conf2
Changes since 1.7.8.1: +2 -4 lines
Diff to previous 1.7.8.1 (colored) to branchpoint 1.7 (colored)

G/C fdtbus_register_spi_controller(); it serves no purpose in the new
universe.

Revision 1.7.8.1 / (download) - annotate - [select for diffs], Mon Aug 9 00:30:07 2021 UTC (2 years, 8 months ago) by thorpej
Branch: thorpej-i2c-spi-conf2
Changes since 1.7: +9 -17 lines
Diff to previous 1.7 (colored)

Port over the changes from thorpej-i2c-spi-conf to thorpej-i2c-spi-conf2,
which is based on a newer HEAD revision.

Revision 1.6.4.2 / (download) - annotate - [select for diffs], Thu Jun 17 04:46:18 2021 UTC (2 years, 10 months ago) by thorpej
Branch: thorpej-i2c-spi-conf
Changes since 1.6.4.1: +2 -4 lines
Diff to previous 1.6.4.1 (colored) to branchpoint 1.6 (colored) next main 1.7 (colored)

Sync w/ HEAD.

Revision 1.6.6.1 / (download) - annotate - [select for diffs], Mon May 31 22:15:11 2021 UTC (2 years, 10 months ago) by cjep
Branch: cjep_staticlib_x
Changes since 1.6: +2 -4 lines
Diff to previous 1.6 (colored) next main 1.7 (colored)

sync with head

Revision 1.6.4.1 / (download) - annotate - [select for diffs], Wed May 19 02:58:26 2021 UTC (2 years, 11 months ago) by thorpej
Branch: thorpej-i2c-spi-conf
Changes since 1.6: +10 -17 lines
Diff to previous 1.6 (colored)

- 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.

Revision 1.7 / (download) - annotate - [select for diffs], Sat May 15 08:46:00 2021 UTC (2 years, 11 months ago) by mrg
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf-base, thorpej-futex2-base, thorpej-futex2, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-altq-separation-base, thorpej-altq-separation, netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Branch point for: thorpej-i2c-spi-conf2
Changes since 1.6: +2 -4 lines
Diff to previous 1.6 (colored)

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.)

Revision 1.4.6.1 / (download) - annotate - [select for diffs], Sat Apr 3 22:28:18 2021 UTC (3 years ago) by thorpej
Branch: thorpej-futex
Changes since 1.4: +10 -9 lines
Diff to previous 1.4 (colored) next main 1.5 (colored)

Sync with HEAD.

Revision 1.6 / (download) - annotate - [select for diffs], Wed Jan 27 03:10:19 2021 UTC (3 years, 2 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-futex-base, thorpej-cfargs-base, thorpej-cfargs, cjep_staticlib_x-base
Branch point for: thorpej-i2c-spi-conf, cjep_staticlib_x
Changes since 1.5: +8 -8 lines
Diff to previous 1.5 (colored)

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.

Revision 1.5 / (download) - annotate - [select for diffs], Fri Jan 15 18:42:41 2021 UTC (3 years, 3 months ago) by ryo
Branch: MAIN
Changes since 1.4: +4 -3 lines
Diff to previous 1.4 (colored)

use fdtbus_intr_establish_xname

Revision 1.4.4.2 / (download) - annotate - [select for diffs], Mon Apr 13 08:03:37 2020 UTC (4 years ago) by martin
Branch: phil-wifi
Changes since 1.4.4.1: +532 -0 lines
Diff to previous 1.4.4.1 (colored) to branchpoint 1.4 (colored) next main 1.5 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.4.4.1, Wed Apr 1 20:37:32 2020 UTC (4 years ago) by martin
Branch: phil-wifi
Changes since 1.4: +0 -532 lines
FILE REMOVED

file rk_spi.c was added on branch phil-wifi on 2020-04-13 08:03:37 +0000

Revision 1.4 / (download) - annotate - [select for diffs], Wed Apr 1 20:37:32 2020 UTC (4 years ago) by tnn
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh
Branch point for: thorpej-futex, phil-wifi
Changes since 1.3: +8 -4 lines
Diff to previous 1.3 (colored)

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).

Revision 1.3.2.2 / (download) - annotate - [select for diffs], Wed Nov 20 16:49:58 2019 UTC (4 years, 4 months ago) by martin
Branch: netbsd-9
CVS Tags: netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1
Changes since 1.3.2.1: +517 -0 lines
Diff to previous 1.3.2.1 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored)

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?

Revision 1.3.2.1, Tue Aug 13 17:15:55 2019 UTC (4 years, 8 months ago) by martin
Branch: netbsd-9
Changes since 1.3: +0 -528 lines
FILE REMOVED

file rk_spi.c was added on branch netbsd-9 on 2019-11-20 16:49:58 +0000

Revision 1.3 / (download) - annotate - [select for diffs], Tue Aug 13 17:15:55 2019 UTC (4 years, 8 months ago) by tnn
Branch: MAIN
CVS Tags: phil-wifi-20191119, is-mlppp-base, is-mlppp, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Branch point for: netbsd-9
Changes since 1.2: +18 -8 lines
Diff to previous 1.2 (colored)

rk_spi: register controller with fdt

Revision 1.2 / (download) - annotate - [select for diffs], Tue Aug 13 17:03:10 2019 UTC (4 years, 8 months ago) by tnn
Branch: MAIN
Changes since 1.1: +3 -2 lines
Diff to previous 1.1 (colored)

ensure spibus_attach_args is zero'ed

Revision 1.1 / (download) - annotate - [select for diffs], Mon Aug 5 15:22:59 2019 UTC (4 years, 8 months ago) by tnn
Branch: MAIN

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.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>