History log of /src/sys/arch/arm/rockchip/files.rockchip
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.31 06-Sep-2025 thorpej

Step towards modularizing the Flattened Device Tree code.

Define attributes for each of the specific device bindings: clock,
dai, dma, gpio, i2c, iommu, mbox, mmc_pwrseq, phy, power, power domain,
pwm, regulator, reset controller, spi, system controller, pin
controller. Include these support files only if either a provider
or consumer with one of these attributes is present in the kernel
config.

Add the necessary attributes to the device / attach declarations for
each provider and consumer.

There are some bindings that are consumed by generic code (iommu, pinctrl,
power, power domain). Provide weak stubs for these routines to handle
situations where there is no provider.

No actual code changed; NFCI.


Revision tags: perseant-exfatfs-base-20250801 netbsd-11-base
# 1.30 03-Jun-2025 rjs

Add driver for Rockchip USB-C PHY, mostly from OpenBSD.

Only implements USB3 for now, not DP.


Revision tags: netbsd-10-1-RELEASE perseant-exfatfs-base-20240630 perseant-exfatfs-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 thorpej-ifq-base thorpej-altq-separation-base netbsd-10-0-RC1 netbsd-10-base
# 1.29 19-Nov-2022 yamt

branches: 1.29.8;
arm/rockchip: fix build w/o MULTIPROCESSOR


Revision tags: bouyer-sunxi-drm-base
# 1.28 23-Aug-2022 ryo

add eqos(4) for RK3588


# 1.27 23-Aug-2022 ryo

Add initial support for RK3588 SoC (CRU and IOMUX)


# 1.26 20-Jul-2022 riastradh

drm: Use CPPFLAGS.drmkms in all local drm drivers too.

This way we don't pollute the NetBSD kernel namespace with all the
Linux compat shim definitions needed to build drm, except for the
local drm drivers that need the API.


# 1.25 12-Nov-2021 jmcneill

arm: rockchip: Add support for RK3288 SoC.

The Rockchip RK3288 is a quad core Cortex-A17 SoC.


Revision tags: thorpej-i2c-spi-conf2-base thorpej-futex2-base thorpej-cfargs2-base cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base thorpej-i2c-spi-conf-base thorpej-cfargs-base thorpej-futex-base
# 1.24 17-May-2020 riastradh

Rockchip crypto engine RNG driver.

As found on the rk3288 and rk3399. This driver only supports the
TRNG, not the rest of the crypto engine, although it uses the AES unit
to do a self-test at attach time to verify that the engine works.

There seem to be two versions of the Rockchip crypto engine, v1 and
v2; this one is for v1. Can't name a driver `rkcryptov1' so we'll
clumsily call it `rkv1crypto' instead to leave room for `rkv2crypto'
later on.

The crypto binding derived from the Rockchip BSP Linux kernel, in the
location it appears on the rk3399, is in rk3399-crypto.dtsi, since
there doesn't seem to be a better place to put it at the moment among
this twisty maze of inclusions, all different.


Revision tags: bouyer-xenpvh-base2 phil-wifi-20200421 bouyer-xenpvh-base1 phil-wifi-20200411 bouyer-xenpvh-base is-mlppp-base phil-wifi-20200406 ad-namecache-base3 ad-namecache-base2 ad-namecache-base1 ad-namecache-base
# 1.23 19-Dec-2019 jakllsch

add Rockchip (RK3399) glue for Analogix DisplayPort core


Revision tags: phil-wifi-20191119
# 1.22 16-Nov-2019 jmcneill

Add driver for Rockchip I2S/PCM controller.


# 1.21 09-Nov-2019 jmcneill

WIP display driver for Rockchip RK3399


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


Revision tags: netbsd-9-base phil-wifi-20190609
# 1.19 01-May-2019 jmcneill

branches: 1.19.2;
Add support for RK3399 PWM controller.


# 1.18 26-Apr-2019 mrg

implement TSADC driver for rockchip RK3328 and RK3399. so far, only
tested on RK3399 but the RK3328 looks mostly the same and has a good
chance of working too.

add clock entries for "clk_tsadc" and "pclk_tsadc" to cru.

exports "CPU" and "GPU" temp sensors. these currently limited to 5
degC resolution but can be reduced to sub 1 degC resolution with some
interpolation.

todo list:

- handle setting various temp values
- add interpolation between the 5degC intervals in sample data
- handle DT trips/temp value defaults
- interrupts aren't triggered (test by lowering warn/crit values),
and once they work, make the interrupt do something
- test on RK3328, and port to other rockchips (will require moving
some part into per-chipset sections, such as code<->temp tables)


thanks to jmcneill for help.


Revision tags: isaki-audio2-base
# 1.17 10-Mar-2019 jmcneill

Add support for Rockchip eMMC PHY


# 1.16 07-Mar-2019 jakllsch

Add RK3399 PCIe host bridge support.

Not enabled yet due to occasional hangs during boot, and needing
__BUS_SPACE_HAS_PROBING_METHODS enabled.

Uses slightly non-standard DT bindings to avoid suboptimality of the
Linux binding. This allows for much more flexibility and efficency
in allotment of the limited apertures into PCI spaces.


Revision tags: pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906
# 1.15 12-Aug-2018 jmcneill

Add support for Rockchip RK3399 SoC.


Revision tags: pgoyette-compat-0728
# 1.14 01-Jul-2018 jmcneill

Add driver for Rockchip I2C controller.


Revision tags: phil-wifi-base pgoyette-compat-0625
# 1.13 16-Jun-2018 jmcneill

branches: 1.13.2;
Add initial support for Rockchip RK3328 SoC.


Revision tags: pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base
# 1.12 08-Feb-2018 jmcneill

branches: 1.12.2;
Move Rockchip port to the attic. It is not very useful.


Revision tags: netbsd-8-3-RELEASE netbsd-8-2-RELEASE netbsd-8-1-RELEASE netbsd-8-1-RC1 netbsd-8-0-RELEASE netbsd-8-0-RC2 netbsd-8-0-RC1 tls-maxphys-base-20171202 matt-nb8-mediatek-base nick-nhusb-base-20170825 perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 jdolecek-ncq-base pgoyette-localcount-20170320 nick-nhusb-base-20170204 bouyer-socketcan-base pgoyette-localcount-20170107 nick-nhusb-base-20161204 pgoyette-localcount-20161104 nick-nhusb-base-20161004 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529 nick-nhusb-base-20160422 nick-nhusb-base-20160319 nick-nhusb-base-20151226 nick-nhusb-base-20150921 nick-nhusb-base-20150606 nick-nhusb-base-20150406
# 1.11 29-Mar-2015 jmcneill

branches: 1.11.2; 1.11.18;
Use shared armv7_generic_space


# 1.10 17-Jan-2015 jmcneill

Add Rockchip PX2 support, from FUKAUMI Naoki <fun@naobsd.org>


# 1.9 04-Jan-2015 jmcneill

Add Rockchip ethernet driver, untested.


# 1.8 03-Jan-2015 jmcneill

attach devices marked "crit 1" first


# 1.7 02-Jan-2015 jmcneill

Add driver for RK3188 64-bit timer.


# 1.6 02-Jan-2015 jmcneill

Add RK3188/RK3188+ CPU frequency setting support.


# 1.5 30-Dec-2014 jmcneill

Actually set slave addr / reg. Wait for start irq after sending start before
transferring data. Add RKIIC_DEBUG kernel option.


# 1.4 30-Dec-2014 jmcneill

add I2C driver


# 1.3 27-Dec-2014 jmcneill

More clock fixes, debugging.


# 1.2 26-Dec-2014 jmcneill

Map all of core0 and core1 space and let drivers use bus_space_subregion
instead of bus_space_map. Fill in rockchip_reset.


# 1.1 26-Dec-2014 jmcneill

Initial support for Rockchip RK3066 / RK3188 SoCs, from Hiroshi Tokuda
<tokuda@tokuda.net> on port-arm:

http://mail-index.netbsd.org/port-arm/2014/10/09/msg002651.html