linux/drivers
Joseph Chen 16f512f1e1 clk: rockchip: Add clock controller for the RK3528
Add the clock tree definition for the new RK3528 SoC.

gmac1 clocks are all controlled by GRF, but CRU helps to abstract
these two clocks for gmac1 since the clock source is from CRU.

The io-in clocks are module phy output clock, gating child
clocks by disabling phy output but not CRU gate.

Add gmac0 clocks.
They are all orphans if clk_gmac0_io_i is not registered by
GMAC driver. But it's fine that GMAC driver only get it but
not to set/get rate.

Add CLK_SET_RATE_PARENT for mclk_sai_i2s0/1.
Allowed to change parent rate.

Add CLK_SET_RATE_NO_REPARENT for dclk_vop0.
dclk_vop0 is often used for HDMI, it prefers parent clock from
clk_hdmiphy_pixel_io for better clock quality and any rate.
It assigns clk_hdmiphy_pixel_io as parent in dts and hope not to
change parent any more.

Add CLK_SET_RATE_PARENT for aclk_gpu.
Allow aclk_gpu and aclk_gpu_mali to change parent rate.

Add CLK_SET_RATE_PARENT for aclk_rkvdec_pvtmux_root.
Allow aclk_rkvdec_pvtmux_root and aclk_rkvdec to change parent rate.

set aclk_m_core = core_clk/2.
aclk_m_core signoff is 550M, but we set div=2 for better
performance.

Add CLK_IS_CRITICAL for clk_32k.
Mainly for pvtpll during reboot stage.

Add CLK_IS_CRITICAL for all IOC clocks.
IOC doesn't share clock with GRF. The iomux can't be changed if they
are disabled.

Disable aclk_{vpu,vpu_l,vo}_root rate change
They are all shared by multiple modules, disable rate change
by modules.

Don't register clk_uart_jtag
It's for force jtag uart delay counter. It must be open
for box product without tf card but with uart0.

Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
Change-Id: I09745b6a31484d6a27f04e608268d9738c1fe224
2022-12-21 19:21:22 +08:00
..
accessibility speakup-dectlk: Restore pitch setting 2022-02-16 12:54:30 +01:00
acpi PCI: rockchip: Add ACPI support 2022-07-22 16:14:12 +08:00
amba amba: Make the remove callback return void 2022-04-08 14:40:02 +02:00
android Merge tag 'ASB-2022-07-05_12-5.10' of https://android.googlesource.com/kernel/common 2022-07-15 18:11:10 +08:00
ata Merge tag 'ASB-2022-06-05_12-5.10' of https://android.googlesource.com/kernel/common 2022-07-15 17:58:38 +08:00
atm atm: eni: Add check for dma_map_single 2022-03-23 09:13:27 +01:00
auxdisplay auxdisplay: ht16k33: Fix frame buffer device blanking 2021-11-18 14:04:24 +01:00
base MALI: rockchip: upgrade bifrost DDK to g15p0-01eac0, from g13p0-01eac0 2022-11-22 14:13:04 +08:00
bcma
block Merge tag 'android12-5.10.110_r01' into android12-5.10 2022-05-27 09:24:14 -07:00
bluetooth Merge tag 'ASB-2022-06-05_12-5.10' of https://android.googlesource.com/kernel/common 2022-07-15 17:58:38 +08:00
bus mips: cdmm: Fix refcount leak in mips_cdmm_phys_base 2022-04-08 14:40:20 +02:00
cdrom
char hwrng: rockchip: add RK_RNG support 2022-12-16 10:15:56 +08:00
clk clk: rockchip: Add clock controller for the RK3528 2022-12-21 19:21:22 +08:00
clocksource Merge tag 'ASB-2022-06-05_12-5.10' of https://android.googlesource.com/kernel/common 2022-07-15 17:58:38 +08:00
connector
counter counter: stm32-lptimer-cnt: remove iio counter abi 2022-01-27 10:54:08 +01:00
cpufreq cpufreq: rockchip: Add support for rk3588j 2022-12-07 17:21:51 +08:00
cpuidle This is the 5.10.80 stable release 2021-11-19 11:50:41 +01:00
crypto crypto: rockchip: add crypto v4 support 2022-12-16 09:22:07 +08:00
dax dax: make sure inodes are flushed before destroy cache 2022-04-08 14:40:16 +02:00
dca
devfreq PM / devfreq: rockchip_dmc: Add SYS_STATUS_VIDEO_4K_60P 2022-12-01 16:48:32 +08:00
dio
dma Merge tag 'ASB-2022-06-05_12-5.10' of https://android.googlesource.com/kernel/common 2022-07-15 17:58:38 +08:00
dma-buf dma-buf: heaps: sram_heap: init sram-heap depend on sram driver 2022-10-21 17:35:13 +08:00
edac EDAC: Fix calculation of returned address and next offset in edac_align_ptr() 2022-02-23 12:01:07 +01:00
eisa
extcon UPSTREAM: extcon: Add EXTCON_DISP_CVBS and EXTCON_DISP_EDP 2022-11-16 09:52:56 +08:00
firewire
firmware firmware: rockchip_sip: export some interfaces for hdmirx module 2022-12-12 15:56:17 +08:00
fpga fpga: machxo2-spi: Fix missing error code in machxo2_write_complete() 2021-09-30 10:11:04 +02:00
fsi fsi: Aspeed: Fix a potential double free 2022-04-08 14:40:23 +02:00
gnss
gpio Revert "gpio: Add support for Maxim MAX96752F GPIO controller" 2022-11-23 00:51:55 +00:00
gpu drm/rockchip: inno_hdmi: add rk3128 hdmi support 2022-12-21 10:10:06 +08:00
greybus greybus: svc: fix an error handling bug in gb_svc_hello() 2022-04-08 14:39:50 +02:00
headset_observe rk_headset: enable rk_headset and fix complie error 2021-10-29 18:06:44 +08:00
hid Merge tag 'ASB-2022-06-05_12-5.10' of https://android.googlesource.com/kernel/common 2022-07-15 17:58:38 +08:00
hsi HSI: core: Fix return freed object in hsi_new_client 2022-01-27 10:54:12 +01:00
hv hv_balloon: rate-limit "Unhandled message" warning 2022-04-08 14:40:19 +02:00
hwmon hwmon: (pwm-fan) Add system monitor notifier 2022-09-29 14:16:27 +08:00
hwspinlock hwspinlock: rockchip: amend to use new helpers 2022-09-21 15:43:01 +08:00
hwtracing This is the 5.10.110 stable release 2022-04-18 17:41:18 +02:00
i2c i2c: rk3x: adjust the divisor after mcu is done for thunder-boot 2022-12-13 18:47:16 +08:00
i3c
ide
idle
iio iio: light: ucs12cm0: reapply settings at resume 2022-09-20 19:38:53 +08:00
infiniband This is the 5.10.110 stable release 2022-04-18 17:41:18 +02:00
input Revert "input: touchscreen: gt1x: ignore pin of reset and support power invert" 2022-11-22 17:43:26 +08:00
interconnect Revert "treewide: Change list_sort to use const pointers" 2021-10-04 11:07:40 +02:00
iommu iommu/rockchip: refactor shootdown_entire to simplify code 2022-12-15 11:12:36 +08:00
ipack ipack: ipoctal: fix module reference leak 2021-10-06 15:56:01 +02:00
irqchip irqchip/gic-v3: get free page instead of kmalloc for itt 2022-12-07 18:15:05 +08:00
isdn isdn: hfcpci: check the return value of dma_set_mask() in setup_hw() 2022-03-16 14:15:57 +01:00
leds leds: leds-rgb13h: fix compile error 2022-05-21 17:43:58 +08:00
lightnvm
macintosh
mailbox mailbox: rockchip: initcall early when CONFIG_ROCKCHIP_THUNDER_BOOT=y 2022-08-15 19:58:54 +08:00
mcb mcb: fix error handling in mcb_alloc_bus() 2021-09-30 10:11:00 +02:00
md Merge tag 'android12-5.10.110_r01' into android12-5.10 2022-05-27 09:24:14 -07:00
media media: rockchip: isp: fix 3a to ddr iommu err for isp30 two readback mode 2022-12-21 11:34:26 +08:00
memory This is the 5.10.110 stable release 2022-04-18 17:41:18 +02:00
memstick memstick: jmb38x_ms: use appropriate free function in jmb38x_ms_alloc_host() 2021-11-18 14:04:07 +01:00
message
mfd Revert "mfd: Add support for Maxim MAX96776" 2022-11-23 09:48:37 +08:00
misc misc: rk803: add retry while reading device id. 2022-12-16 17:06:24 +08:00
mmc UPSTREAM: mmc: hsq: Fix data stomping during mmc recovery 2022-12-02 18:42:28 +08:00
most most: fix control-message timeouts 2021-11-18 14:03:51 +01:00
mtd mtd: spi-nor: core: Support misc devices 2022-11-17 12:06:59 +08:00
mux
net net: phy: add motorcomm yt8512 support 2022-12-14 09:25:04 +08:00
nfc BACKPORT: nfc: nfcmrvl: main: reorder destructive operations in nfcmrvl_nci_unregister_dev to avoid bugs 2022-06-30 11:50:02 +01:00
ntb ntb: intel: fix port config status offset for SPR 2022-03-08 19:09:32 +01:00
nubus
nvdimm nvdimm/region: Fix default alignment for small regions 2022-04-08 14:40:26 +02:00
nvme This is the 5.10.110 stable release 2022-04-18 17:41:18 +02:00
nvmem Merge tag 'ASB-2022-04-05_12-5.10' of https://android.googlesource.com/kernel/common 2022-07-15 17:40:39 +08:00
of Merge tag 'ASB-2022-04-05_12-5.10' of https://android.googlesource.com/kernel/common 2022-07-15 17:40:39 +08:00
opp Merge tag 'ASB-2022-04-05_12-5.10' of https://android.googlesource.com/kernel/common 2022-07-15 17:40:39 +08:00
oprofile
parisc parisc: Fix sglist access in ccio-dma.c 2022-02-23 12:00:57 +01:00
parport parport: remove non-zero check on count 2021-09-18 13:40:34 +02:00
pci PCI: rockchip: Activate power domain 2022-12-21 10:02:12 +08:00
pcmcia pcmcia: fix setting of kthread task states 2022-01-27 10:54:03 +01:00
perf
phy phy: rockchip-snps-pcie3: update fw when init 2022-12-06 14:27:00 +08:00
pinctrl pinctrl: rockchip: add rk3528 support 2022-12-21 18:54:03 +08:00
platform This is the 5.10.110 stable release 2022-04-18 17:41:18 +02:00
pnp
power power: supply: rk818_battery: Fix compile warning 2022-11-08 09:25:51 +08:00
powercap
pps
ps3
ptp ptp_pch: Load module automatically if ID matches 2021-10-13 10:04:27 +02:00
pwm Merge tag 'ASB-2022-06-05_12-5.10' of https://android.googlesource.com/kernel/common 2022-07-15 17:58:38 +08:00
rapidio
ras
regulator regulator: wl2868c: add suspend/resume functions 2022-08-01 15:10:21 +08:00
remoteproc FROMLIST: remoteproc: Fix dma_mem leak after rproc_shutdown 2022-05-31 17:47:14 +00:00
reset This is the 5.10.80 stable release 2021-11-19 11:50:41 +01:00
rk_nand drivers: rk_nand: fix compile warning 2022-11-17 16:46:48 +08:00
rkflash drivers: rkflash: Fix the error definition of SFC dll cells 2022-12-01 22:59:08 +08:00
rknpu driver: rknpu: Implement set_soc_info and set_soc_info for rk3588 2022-12-07 17:21:51 +08:00
rpmsg This is the 5.10.96 stable release 2022-02-07 11:17:58 +01:00
rtc Merge tag 'ASB-2022-06-05_12-5.10' of https://android.googlesource.com/kernel/common 2022-07-15 17:58:38 +08:00
s390 This is the 5.10.96 stable release 2022-02-07 11:17:58 +01:00
sbus
scsi Merge tag 'ASB-2022-06-05_12-5.10' of https://android.googlesource.com/kernel/common 2022-07-15 17:58:38 +08:00
sfi
sh maple: fix wrong return value of maple_bus_init(). 2021-11-26 10:39:12 +01:00
siox
slimbus
soc soc: rockchip: cpuinfo: Export rockchip_soc_id_init symbol 2022-12-15 17:17:45 +08:00
soundwire soundwire: intel: fix wrong register name in intel_shim_wake 2022-04-08 14:40:24 +02:00
spi spi: rockchip: Support rkspi-devN misc devices 2022-10-09 19:33:54 +08:00
spmi
ssb
staging fiq_debugger: stop using alloc_tty_driver 2022-11-09 09:39:22 +08:00
switch
target This is the 5.10.101 stable release 2022-02-16 15:16:06 +01:00
tc
tee optee: use driver internal tee_context for some rpc 2022-03-02 11:42:47 +01:00
thermal thermal: rockchip: Sync with upstream 2022-11-07 19:05:08 +08:00
thunderbolt thunderbolt: Runtime PM activate both ends of the device link 2022-01-27 10:54:14 +01:00
tty Merge tag 'ASB-2022-06-05_12-5.10' of https://android.googlesource.com/kernel/common 2022-07-15 17:58:38 +08:00
uio
usb usb: dwc2: gadget: Disable nak interrupt when get first isoc in token 2022-12-19 09:37:39 +08:00
vdpa vdpa/mlx5: should verify CTRL_VQ feature exists for MQ 2022-04-08 14:39:47 +02:00
vfio amba: Make the remove callback return void 2022-04-08 14:40:02 +02:00
vhost Revert "vsock: each transport cycles only on its own sockets" 2022-03-23 14:30:38 +01:00
video video: rockchip: rga3: add RGA3 limit on offset 2022-12-19 15:04:25 +08:00
virt
virtio This is the 5.10.106 stable release 2022-03-18 15:02:31 +01:00
visorbus
vlynq
vme
w1 w1: Misuse of get_user()/put_user() reported by sparse 2022-01-27 10:54:22 +01:00
watchdog watchdog: rti-wdt: Add missing pm_runtime_disable() in probe function 2022-04-08 14:40:41 +02:00
xen xen/gnttab: fix gnttab_end_foreign_access() without page specified 2022-03-11 12:11:54 +01:00
zorro
Kconfig rk_headset: enable rk_headset and fix complie error 2021-10-29 18:06:44 +08:00
Makefile rk_headset: enable rk_headset and fix complie error 2021-10-29 18:06:44 +08:00