Commit Graph

10969 Commits

Author SHA1 Message Date
Tao Huang
360d892f93 Merge commit '270c1dfde4111ba347868d1092ebd60aaf658951'
* commit '270c1dfde4111ba347868d1092ebd60aaf658951': (35 commits)
  ARM: dts: rockchip: add rv1106g-evb2-v12-nofastae-spi-nor
  ARM: dts: rockchip: add rv1106g-evb2-v12-nofastae-emmc
  ARM: dts: rockchip: Add rv1106 nofastae dtsi
  ARM: configs: rockchip: Add rv1106-tb-nofastae.config
  ASoC: codecs: Add tda7803 amplifier driver support
  clk: rockchip: rk3568: Add protect clocks
  drm/bridge: dw-hdmi-qp: Don't read edid again if edid is exist
  drm/bridge: dw-hdmi-qp: Add hdcp driver
  arm64: dts: rockchip: rk3588: Add hdmitx hdcp14 ext memory
  arm64: configs: rockchip_linux_defconfig: enable CONFIG_DTC_SYMBOLS
  arm64: dts: rockchip: rk3568: add rk3568-evb8-lp4-v10 support
  ARM: dts: rockchip: rv1106-evb-cam: add sc3338
  ARM: configs: rv1106-smart-door: enable SC230AI and SC301IOT
  arm64: dts: rockchip: fix timing configs of panel k350c4516t for rk3308/rk3562 evb
  media: rockchip: vicap fixes error of buffer state while start stream failed
  media: i2c: nvp6158: add g_frame_interval ops
  clk: rockchip: rk3328: set ddr clk with sip call
  Revert "dt-bindings: regulator: Document Rockchip RK860X regulators"
  arm64: dts: rockchip: rk3568-evb: assign DCLK_VOP2 to PLL_GPLL
  ARM: dts: rockchip: update rk5640 and hdmi sound for rk3288 evb boards
  ...

Change-Id: I0429c2d6884649bdc3a4cb4938d8923ba790dde6
2023-09-07 14:10:21 +08:00
Hu Kejun
31a0da2dca media: i2c: otp_eeprom: add pd_offset in pdaf part
Signed-off-by: Hu Kejun <william.hu@rock-chips.com>
Change-Id: Ifa901449d7f7d5ffaeeec1498bbed4c4ee5a14f1
2023-08-30 14:23:12 +08:00
Tao Huang
dfcec998e2 Merge commit '8c9c0c25d5bdbb8720caa726c810e340f9e86a01'
* commit '8c9c0c25d5bdbb8720caa726c810e340f9e86a01': (133 commits)
  arm64/configs: add rk3308bs_mipi_display.config for support mipi display
  arm64: dts: rockchip: rk3399-evb: use multicodecs instead simple card
  media: rockchip: vicap: fixes create dummuy buffer fail with size 0
  drm/bridge/synopsys: dw-hdmi-qp: Add support for external bridge
  video: rockchip: vehicle: remove vehicle dev when exit
  PCIe: dw: rockchip: rework compliance test settings
  drm/rockchip: direct_show: add cached buf cpu access begin & end
  media: rockchip: isp: add api get isp work mode for rockit
  media: i2c: rk628: fix 5V detect event report
  media: rockchip: isp: fix refer to sram info for multi sensor
  media: rockchip: isp: fix stream init pause state
  mtd: spinand: xtx: Fix XT26G11C ecc status ops
  net: can: rockchip: support rk3568 can v2
  drm/rockchip: dsi: set vop2 standby before command mode in rk3566/rk3568
  phy: rockchip: csi2-dphy: fixes hw_dev num error for rk3562
  video: rockchip: mpp: fix share reset_group do not take effect
  arm64: dts: rockchip: update rk3399-sapphire-excavator-lp4-linux.dts
  ARM: dts: rockchip: fix timing configs of panel k350c4516t for rv1103/rv1106 evb
  drm/rockchip: rgb: add mcu_max_dclk_rate for mode_valid check
  drm/rockchip: drv: fix the dclk calculation of mcu interface
  ...

Change-Id: I5e119fe1707975aa9d2859d02f4c7ac9462f91c4
2023-08-11 15:17:47 +08:00
Zhang Yubing
bf9c5670ae drm/rockchip: vop2: report vividhdr feature by property
Signed-off-by: Zhang Yubing <yubing.zhang@rock-chips.com>
Change-Id: I2d680b2066050ca2eeba0947936cc43a8855cbb1
2023-07-31 11:47:49 +08:00
Cai YiWei
57de878a74 media: rockchip: isp: version to v2.2.2
Change-Id: I3c446f6e0e9a8a8ad3cd269a629524128387ad43
Signed-off-by: Cai YiWei <cyw@rock-chips.com>
2023-07-20 20:04:10 +08:00
Zefa Chen
c929ccacbb include: rk-camera-module: support get/set capture info
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
Change-Id: Ic1f117afcb53b035086f6835deb0ccf2733ee972
2023-07-19 11:48:20 +08:00
Zefa Chen
f23f29d334 include: rkcif-config: support set multi csi info
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
Change-Id: I8509ed952b9554659c0238024a383e547620825b
2023-07-19 11:48:20 +08:00
Tao Huang
99b39ad171 Merge commit 'eefc3b7404f9d5bd38cd265240a4d1ca7340f2d6'
* commit 'eefc3b7404f9d5bd38cd265240a4d1ca7340f2d6': (162 commits)
  ARM: dts: rockchip: add rv1106g-evb1-v11-facial-gate for spi-nor flash
  rtc: rk808: fix the rtc alarm status clean
  usb: gadget: uvc: fix error return in bulk mode
  ARM: configs: rv1106-tee.config: enable ROCKCHIP_SIP
  firmware: rockchip_sip: support the MCU config
  arm64: dts: rockchip: rk3562: modify the default drive strength of lcdc pins
  drm/rockchip: vop2: Fix plane parameter check error at interlace mode
  mtd: spinand: skyhigh: The vendor requires the devices to be patched
  mtd: spinand: foresee: Support new device F35UQA001G-WWT
  mtd: spinand: foresee: Support new device F35UQA002G-WWT
  mtd: spinand: fmsh: Support new device FM25S01BI3
  mtd: spinand: fmsh: Modify incorrect information despite not used
  drm/bridge: analogix_dp: add support split area prop
  drm/rockchip: dsi2: add support split area prop
  drm/rockchip: analogix_dp: support split mode with other display interface
  drm/bridge: analogix_dp: support dual connector with other display interface
  drm/rockchip: dsi2: support split mode with other display interface
  drm/rockchip: drv: Add crtc_clock convert in drm_mode_convert_to_{split,origin}_mode()
  drm/bridge: analogix_dp: mv mode_set to bridge .atomic_pre_enable
  drm/rockchip: dsi2: mv mode set to encoder .atomic_enable
  ...

Change-Id: I09e6af0610634963b21ea688209326362abb9fd2

Conflicts:
	arch/arm64/kernel/smp.c
2023-07-17 15:40:05 +08:00
Damon Ding
e59bb483a2 media: uapi: add MEDIA_BUS_FMT_RGB666_3X6 media bus format
Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
Change-Id: Idee22ed5875a58e22c89f7013c7c790a072a2e1a
2023-06-28 16:45:14 +08:00
Tao Huang
495689db2e Merge commit '73b5dde370957bcfddb30e2ac5a3cd4f56197824'
* commit '73b5dde370957bcfddb30e2ac5a3cd4f56197824': (223 commits)
  MALI: bifrost: Not to call kbase_ipa_reset_data() if rockchip simple-power-model is used
  arm64: dts: rockchip: add camera dtsi on rk3562-evb2-ddr4-v10-linux.dts
  arm64: dts: rockchip: Assign VOP_ACLK to 750MHZ for rk3588-linux.dtsi
  pwm: rockchip: enable dclk scale function in oneshot mode
  soc: rockchip_system_monitor: Fix TPYE -> TYPE typo
  media: i2c: max96712: version 1.05.00
  drm/panel: maxim-max96752f: Fix pin assignment
  soc: rockchip: tb_service: unmask mcu_done after all registered cb were finished
  arm64: dts: rockchip: rk3588s: Fix low-volt-mem-read-margin
  arm64: dts: rockchip: rk3588: Fixed the rkvenc1 init frequency
  phy: rockchip: samsung-dcphy: restart rx after apb reset when rx is streaming
  fiq_debugger: tty write to tty fifo
  ARM: dts: rockchip: rv1106 boards: Add sdmmc idle state support
  ARM: dts: rockchip: rv1126: Add sdmmc idle state support
  ARM: dts: rockchip: add idle state for sdmmc of rv1106-pinctrl
  ARM: dts: rockchip: add idle state for sdmmc of rv1126-pinctrl
  media: i2c: max96712: version 1.04.00
  media: rockchip: vicap: fixes s_selection, support to set crop area
  media: rockchip: vicap: only enum outout formats that terminal sensor support to use
  media: rockchip: vicap: add security testing for output format
  ...

Change-Id: Ie80fc4f1a5e335dccf6aa564515adfd78f69d62f
2023-06-14 15:24:28 +08:00
Xiao Ya peng
e45c069df7 PCI: rockchip: dw_ep: Update pcie ep status.
Add the rkep device mode definition and sync with SPL.

Signed-off-by: Xiao Ya peng <yp.xiao@rock-chips.com>
Change-Id: I60e4809119cf60ddcafe45f6b5ccb11a19aa56e6
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
2023-06-01 09:34:35 +08:00
Zhen Chen
7a76350c1e MALI: rockchip: upgrade bifrost DDK to g18p0-01eac0, from g17p0-01eac0
Change-Id: I2c7e002c4b1a1834f89c52e4113e3b2f48f9cba6
Signed-off-by: Zhen Chen <chenzhen@rock-chips.com>
2023-05-30 18:41:29 +08:00
Tao Huang
03e8db0382 uapi/fec-config.h: Fix UAPI compile-test
./usr/include/linux/fec-config.h:14:2: error: unknown type name 'u32'

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I14edf55fe45b52f21bc18fba90f9d434a8882cfa
2023-05-30 16:09:11 +08:00
Tao Huang
9a2fdb9b46 uapi/rk_vcm_head.h: Fix UAPI compile-test
./usr/include/linux/rk_vcm_head.h:88:2: error: unknown type name 's32'
./usr/include/linux/rk_vcm_head.h:111:30: error: field has incomplete type 'struct __kernel_old_timeval'
./usr/include/linux/rk_vcm_head.h:116:23: error: field has incomplete type 'struct old_timeval32'

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I603502aaac87c71de8ae6ad027652de23cdcf73d
2023-05-30 16:09:11 +08:00
Tao Huang
9392fc185f uapi/rk-camera-module.h: Fix UAPI compile-test
./usr/include/linux/rk-camera-module.h:180:2: error: unknown type name 'u8'

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I388d47ea658b5829df148c8b10eb5c466160a0e7
2023-05-30 16:09:11 +08:00
Tao Huang
4100ee9184 uapi/rk-preisp.h: Fix UAPI compile-test
./usr/include/linux/rk-preisp.h:65:2: error: unknown type name 's32'

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: Ib1812da340c745600b4e2286ca299db2c1922bce
2023-05-30 16:09:11 +08:00
Tao Huang
d2c8cecdbc uapi/rk-isp32-config.h: Fix UAPI compile-test
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: Iddda89ca94260056fee99b15c72c0c83cf02a8e1
2023-05-30 16:09:11 +08:00
Tao Huang
36d41c6a18 uapi/rk-isp3-config.h: Fix UAPI compile-test
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I26016e6d1c3dbea0717ea97f80798677ac1b8823
2023-05-30 16:09:11 +08:00
Tao Huang
6c9d8b3eab uapi/rk-ispp-config.h: Fix UAPI compile-test
./usr/include/linux/rk-ispp-config.h:21:43: warning: // comments are not allowed in this language [-Wcomment]
./usr/include/linux/rk-ispp-config.h:132:2: error: unknown type name 'u32'

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I5d9a79af6c1f72a8e969b0664e6b48fbf9e0199f
2023-05-30 16:07:14 +08:00
Tao Huang
97cb4e6b74 uapi/rk-isp1-config.h: Fix UAPI compile-test
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I1bacf9575ded157a7c720472c24dfb32ff59c8e1
2023-05-30 16:06:44 +08:00
Tao Huang
7ea15737d0 uapi/rk-isp21-config.h: Fix UAPI compile-test
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: Id8c9c89b79b621aac379e3f937dfc488772c1b2f
2023-05-30 16:06:44 +08:00
Tao Huang
7e16cc6ce6 uapi/rk-isp2-config.h: Fix UAPI compile-test
./usr/include/linux/rk-isp2-config.h:277:21: error: implicit declaration of function 'BIT' [-Werror,-Wimplicit-function-declaration]
./usr/include/linux/rk-isp2-config.h:288:2: error: unknown type name 'u32'

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I2f98bdcf50638cbe328b310d17d9417b382ab551
2023-05-30 16:06:44 +08:00
Tao Huang
1f70949faa uapi/rkcif-config.h: Fix UAPI compile-test
./usr/include/linux/rkcif-config.h:63:2: error: unknown type name 'u8'

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: Ic1c8f6c71c7fcaffd3f44ea8c88fcbeba19f3f7d
2023-05-30 16:06:44 +08:00
Tao Huang
1f72923c99 uapi/rk-video-format.h: include types.h
usr/include/linux/rk-video-format.h:10: found __[us]{8,16,32,64} type without #include <linux/types.h>

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I3071683240e04039186c3a1d506835bd732c6716
2023-05-30 16:06:44 +08:00
Tao Huang
35d4f2a5df uapi/rockchip_drm.h: Fix UAPI compile-test
./usr/include/drm/rockchip_drm.h:19:10: fatal error: 'drm/drm_file.h' file not found

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I987b8bb26023e9e7b652962e54b45c24a0231d57
2023-05-30 16:06:44 +08:00
Tao Huang
018299a4ca uapi/dw_hdcp2.h: Fix UAPI compile-test
./usr/include/misc/dw_hdcp2.h:15:1: warning: // comments are not allowed in this language [-Wcomment]

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: Ib68c8b37acdc7e7cb11abeae15d1bfd27ec945b3
2023-05-30 16:06:44 +08:00
Tao Huang
78e874e69c uapi/rkflash_vendor_storage.h: include types.h
./usr/include/misc/rkflash_vendor_storage.h:11:2: error: unknown type name '__u32'

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: Ia912e65b2f87d2c6bd57eb76019431c4084f6549
2023-05-30 16:06:44 +08:00
Tao Huang
a2577d6b5b Merge commit '006505ca766963bee10937a6546a070cca722cba'
* commit '006505ca766963bee10937a6546a070cca722cba': (207 commits)
  misc: add rockchip standard EP function driver
  PCI: add rockchip vendor id
  drm/rockchip: dw-dp: use vsc sdp only output yuv420 or hdr
  drm/rockchip: dw_hdmi: Fix hdmi2.0 mode no signal when plug out before hdmi bind
  drm/rockchip: dw_hdmi: hdmi plug out don't check mode valid when play hdr video
  media: rockchip: hdmirx: enhance compatibility and stability
  media: rockchip: vicap: hdr buffer sync detect by fe timestamp
  media: rockchip: vicap: fixes dvp capture not config buffer in rockit mode
  arm64: configs: rockchip_gki: support PX30 RK3399
  arm64: dts: rockchip: add px30 ddr4 v10 evb for linux
  arm64: dts: rockchip: rk3588-android: add reserved memory for vendor storage
  arm64: dts: rockchip: rk3568-android: add reserved memory for vendor storage
  arm64: dts: rockchip: rk3399-android: add reserved memory for vendor storage
  arm64: dts: rockchip: px30-android: add reserved memory for vendor storage
  arm64: dts: rockchip: rk3562: add reserved memory for vendor storage
  rtc: rockchip: fix the rtc compensation wait time
  rtc: rockchip: Add timeout judgment for update rtc status
  soc: rockchip: vendor_storage: add ram buffer for gki
  soc: rockchip: vendor_storage: move some defines to common header file
  drm/rockchip: vop3: add rb_swap check for serial rgb format
  ...

Change-Id: I30b3981c0e62de8aa933e7b9aca9094732741a80
2023-04-26 09:30:05 +08:00
Zefa Chen
e4906d8a0a include: uapi/linux/rk-camera-module.h add RKMODULE_GET_GROUP_ID/RKMODULE_SET_GROUP_ID
for support multi group of sync mode

Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
Change-Id: If5e5ab05ee083eb3ecf206d3196896baad74ef60
2023-04-19 18:39:47 +08:00
Cai YiWei
d297b6606c media: rockchip: isp: version to v2.2.1
Change-Id: I0a14c0eb03337658812e63b325b4639105d86db3
Signed-off-by: Cai YiWei <cyw@rock-chips.com>
2023-04-06 16:55:13 +08:00
Cai YiWei
17e4013e9e media: rockchip: rename isp and ispp uapi head
Change-Id: I768baae0c406efc0bdc9b13dc2ac745f1365cf45
Signed-off-by: Cai YiWei <cyw@rock-chips.com>
2023-03-27 09:18:24 +08:00
Jon Lin
014c17ee5f PCI: rockchip: dw: Using __u32 instead of u32
Change-Id: I58cbbb23c6cb74a073da130d70eeb5519b09e121
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
2023-03-27 09:03:27 +08:00
Tao Huang
97b6545824 Merge commit 'd6fb546c185800776c1d001cd135c80ccb7cf51f'
* commit 'd6fb546c185800776c1d001cd135c80ccb7cf51f': (79 commits)
  media: rockchip: isp: version v2.2.0
  media: rockchip: isp: fix read BP_WR_CTRL reg
  ARM: dts: rockchip: rv1106-evb-cam: change os04a10 module name and lens name
  arm64: configs: rk3588_edge: Enable CONFIG_SENSORS_PWM_FAN
  backlight: pwm_bl: set bl brightness 0 when reboot quiescent
  arm64: dts: rockchip: rk3588s: add reboot mode quiescent
  dt-bindings: soc: rockchip: add reboot mode quiescent
  media: i2c: imx577: fix gain step
  PCI: rockchip: dw: Double check LTSSM
  arm64: dts: rockchip: adaptive rk3399-sapphire-excavator
  ARM: dts: rockchip: add rv1106g-evb2-v10-dual-camera.dts
  ARM: dts: rockchip: rv1106-thunder-boot: reserved_mem add rkisp1_thunderboot
  drivers: rkflash: Fixes compiler warnings
  arm64: dts: rockchip: rk3588-toybrick-x0: Enable pwm fan
  drm/rockchip: dw_hdmi: Set default color base on previous color
  arm64: dts: rockchip: rk3588-pcie-ep-demo: fix i2c port error
  Revert "drm/rockchip: dsi2: set escape clk 10MHz default"
  dma-buf: destructor only with CONFIG_DMABUF_CACHE
  PCI: rockchip: dw-dmatest: Suppport rc dma
  PCI: rockchip: dw: Support ep information
  ...

Change-Id: I2d9f4392987e060da9755fb9d97ad4c6096518cd
2023-03-24 12:16:49 +08:00
Tao Huang
2cf392ecb9 Merge tag 'android13-5.10-2023-02_r1' of https://android.googlesource.com/kernel/common
android13-5.10 February 2023 release 1

Artifacts:
  https://ci.android.com/builds/submitted/9611411/kernel_aarch64/latest

* tag 'android13-5.10-2023-02_r1': (5234 commits)
  ANDROID: GKI: rockchip: add symbols for drm hdcp
  BACKPORT: PCI: dwc: Support multiple ATU memory regions
  ANDROID: cpuidle-psci: Fix suspicious RCU usage
  ANDROID: Update the ABI representation
  ANDROID: fix up struct task_struct ABI change in 5.10.162
  ANDROID: struct io_uring ABI preservation hack for 5.10.162 changes
  ANDROID: add flags variable back to struct proto_ops
  UPSTREAM: io_uring: pass in EPOLL_URING_WAKE for eventfd signaling and wakeups
  UPSTREAM: eventfd: provide a eventfd_signal_mask() helper
  UPSTREAM: eventpoll: add EPOLL_URING_WAKE poll wakeup flag
  UPSTREAM: Revert "proc: don't allow async path resolution of /proc/self components"
  UPSTREAM: Revert "proc: don't allow async path resolution of /proc/thread-self components"
  UPSTREAM: net: remove cmsg restriction from io_uring based send/recvmsg calls
  UPSTREAM: task_work: unconditionally run task_work from get_signal()
  UPSTREAM: signal: kill JOBCTL_TASK_WORK
  UPSTREAM: io_uring: import 5.15-stable io_uring
  UPSTREAM: task_work: add helper for more targeted task_work canceling
  UPSTREAM: kernel: don't call do_exit() for PF_IO_WORKER threads
  UPSTREAM: kernel: stop masking signals in create_io_thread()
  UPSTREAM: x86/process: setup io_threads more like normal user space threads
  ...

Change-Id: I470528ec3aa69693220e7c0e5b52077b60aebe81

Conflicts:
	Makefile
	drivers/gpu/drm/bridge/analogix/analogix_dp_core.c
	drivers/gpu/drm/bridge/synopsys/dw-hdmi.c
	drivers/gpu/drm/rockchip/analogix_dp-rockchip.c
	drivers/gpu/drm/rockchip/rockchip_drm_vop.c
	drivers/media/usb/uvc/uvc_driver.c
	drivers/media/usb/uvc/uvcvideo.h
	drivers/mmc/core/mmc.c
	drivers/pinctrl/pinctrl-rockchip.c
	drivers/regulator/core.c
	drivers/usb/dwc3/core.h
	drivers/usb/dwc3/gadget.c
	drivers/usb/gadget/function/f_hid.c
	drivers/usb/gadget/function/f_uvc.c
	drivers/usb/gadget/function/uvc.h
	drivers/usb/gadget/function/uvc_configfs.c
	drivers/usb/gadget/function/uvc_queue.c
	drivers/usb/gadget/function/uvc_v4l2.c
	drivers/usb/gadget/function/uvc_video.c
	drivers/usb/host/xhci.h
	drivers/usb/storage/unusual_uas.h
	drivers/usb/typec/altmodes/displayport.c
	mm/cma.c
	sound/core/pcm_dmaengine.c
	include/linux/stmmac.h
	sound/drivers/aloop.c
2023-03-23 21:08:05 +08:00
Cai YiWei
d6fb546c18 media: rockchip: isp: version v2.2.0
Change-Id: I58699277e15b23c7eb8d4730c8d043164fb4746b
Signed-off-by: Cai YiWei <cyw@rock-chips.com>
2023-03-23 18:41:04 +08:00
Jon Lin
051e4d7cf0 PCI: rockchip: dw: Add the specification of ep information
Definition rockchip ep device information, like drivers version
and devices dma status. These information will be store in BAR0
in default.

Change-Id: I33dcc00e9923d10ad63d706ce16ba646f0049480
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
2023-03-21 14:27:27 +08:00
Zhen Chen
25b2037af2 MALI: rockchip: upgrade bifrost DDK to g17p0-01eac0, from g15p0-01eac0
In addition, add some more modifications, according to
commit ccf3f0670c ("MALI: bifrost: from ARM: Remove references to PageMovable()").

Note, the corresponding mali_csffw.bin for DDK g15 MUST be used.

Change-Id: Ie233cd29d8d169202d5b80b00a97ccb90e6bd3f2
Signed-off-by: Zhen Chen <chenzhen@rock-chips.com>
2023-03-16 19:13:26 +08:00
Cai YiWei
d0edc7b3e7 media: rockchip: isp: thunder boot with multi sensor
Change-Id: I20efdaf70a24e9b892b40bed6420b2988b8125b4
Signed-off-by: Cai YiWei <cyw@rock-chips.com>
2023-03-16 16:30:52 +08:00
Tao Huang
cc17504307 Merge tag 'android12-5.10-2023-02_r1' of https://android.googlesource.com/kernel/common
android12-5.10 February 2023 release 1

Artifacts:
  https://ci.android.com/builds/submitted/9611440/kernel_aarch64/latest

* tag 'android12-5.10-2023-02_r1': (5560 commits)
  ANDROID: GKI: Enable ARM64_ERRATUM_2454944
  ANDROID: dma-ops: Add restricted vendor hook
  ANDROID: arm64: Work around Cortex-A510 erratum 2454944
  ANDROID: mm/vmalloc: Add override for lazy vunmap
  ANDROID: cpuidle-psci: Fix suspicious RCU usage
  ANDROID: ABI: update allowed list for galaxy
  FROMGIT: f2fs: add sysfs nodes to set last_age_weight
  FROMGIT: f2fs: fix wrong calculation of block age
  ANDROID: struct io_uring ABI preservation hack for 5.10.162 changes
  ANDROID: fix up struct task_struct ABI change in 5.10.162
  ANDROID: add flags variable back to struct proto_ops
  UPSTREAM: io_uring: pass in EPOLL_URING_WAKE for eventfd signaling and wakeups
  UPSTREAM: eventfd: provide a eventfd_signal_mask() helper
  UPSTREAM: eventpoll: add EPOLL_URING_WAKE poll wakeup flag
  UPSTREAM: Revert "proc: don't allow async path resolution of /proc/self components"
  UPSTREAM: Revert "proc: don't allow async path resolution of /proc/thread-self components"
  UPSTREAM: net: remove cmsg restriction from io_uring based send/recvmsg calls
  UPSTREAM: task_work: unconditionally run task_work from get_signal()
  UPSTREAM: signal: kill JOBCTL_TASK_WORK
  UPSTREAM: io_uring: import 5.15-stable io_uring
  ...

Change-Id: I2b16474d6e3a91f1d702486ec6d1565a7bc310e3

Conflicts:
	Documentation/ABI/testing/configfs-usb-gadget-uac2
	Documentation/usb/gadget-testing.rst
	Makefile
	arch/arm/boot/dts/rk3288-evb-act8846.dts
	arch/arm64/mm/Makefile
	drivers/dma-buf/dma-buf.c
	drivers/gpu/drm/bridge/analogix/analogix_dp_core.c
	drivers/gpu/drm/bridge/synopsys/dw-hdmi.c
	drivers/gpu/drm/rockchip/analogix_dp-rockchip.c
	drivers/gpu/drm/rockchip/rockchip_drm_vop.c
	drivers/mmc/core/mmc.c
	drivers/pci/controller/dwc/pcie-designware-host.c
	drivers/pinctrl/pinctrl-rockchip.c
	drivers/regulator/core.c
	drivers/usb/dwc3/ep0.c
	drivers/usb/dwc3/gadget.c
	drivers/usb/gadget/function/f_hid.c
	drivers/usb/gadget/function/f_uac1.c
	drivers/usb/gadget/function/f_uac2.c
	drivers/usb/gadget/function/u_audio.c
	drivers/usb/gadget/function/u_audio.h
	drivers/usb/gadget/function/u_uac2.h
	drivers/usb/host/xhci.h
	drivers/usb/storage/unusual_uas.h
	drivers/usb/typec/altmodes/displayport.c
	include/linux/page_ext.h
	mm/cma.c
	mm/page_ext.c
	sound/core/pcm_dmaengine.c
	sound/soc/codecs/hdmi-codec.c
	include/linux/stmmac.h
	sound/drivers/aloop.c
	drivers/pci/controller/dwc/pcie-designware.h
2023-03-14 09:44:51 +08:00
Tao Huang
0bc532ac34 Merge commit '5071891c1714b30b39bf79e4e0aa8ac953f4940c'
* commit '5071891c1714b30b39bf79e4e0aa8ac953f4940c': (258 commits)
  arm64: dts: rockchip: rk3562-evb: fix uart_rts_gpios
  drm/rockchip: vop3: update ygt2/4 triger condition for rk3528
  ARM: dts: rockchip: rk3128-evb-ddr3-v10-linux: Fix sdmmc
  ARM: dts: rockchip: rk3128: redefine sdmmc_pwren as GPIO function
  drm/rockchip: dw-dp: Add support for drm_panel usage
  ARM: dts: rockchip: rk312x: Update sdmmc node
  video: rockchip: mpp: fix rkvdec2 link info err
  soc: rockchip: opp_select: Fix restricting voltage error
  arm64: dts: rockchip: rk3528: Set mclkin freq as 0 Hz default
  arm64: dts: rockchip: rk3588: Set mclkin freq as 0 Hz default
  arm64: dts: rockchip: rk3562: Set mclkin freq as 0 Hz default
  drm/rockchip: vop3: add cluster frame reset
  clk: rockchip: rk3528: Allow disable clk_400m_src
  clk: rockchip: rk3128: fix up the sdmmc drv and sample set phase failed
  drm/rockchip: vop2: adjust writeback commit time
  media: rockchip: vicap fixes tasklet error for vb_done
  media: rockchip: vicap: rk3562 add csirx data clk
  arm64: dts: rockchip: rk3562: vicap add csirx data clk control
  arm64: dts: rockchip: rk3528: Add SAIx_MCLK{OUT,IN} nodes
  video: rockchip: mpp: change the way to refresh the dma cache
  ...

Change-Id: I50fef612c158b31c7def89895c13cc3757523be4
2023-02-22 17:17:48 +08:00
Cai YiWei
ebb21b9936 media: rockchip: ispp: fec support in out diff size
Change-Id: I469876b24fb96a856703625a0bec23d2e0dbd3e5
Signed-off-by: Cai YiWei <cyw@rock-chips.com>
2023-02-16 18:45:29 +08:00
Cai YiWei
3080b1c4e8 Revert "media: rockchip: isp: extend pixel to 32 for isp30 unite mode"
This reverts commit b3260da5e9.

Signed-off-by: Cai YiWei <cyw@rock-chips.com>
Change-Id: I3c322a0d187fcfcf38daac2dbd0f4ada6fd89fe4
2023-02-15 14:13:27 +08:00
Cai YiWei
e83e121d6f media: rockchip: isp: add iqtool video for isp32 lite
Change-Id: If5d31fc2b75e9aa0980044c47a8e429cc7e2a1b5
Signed-off-by: Cai YiWei <cyw@rock-chips.com>
2023-02-14 09:54:27 +08:00
Cai YiWei
b38fc755a5 media: rockchip: isp: add isp32 lite
Change-Id: I3cdd29809e629df7903605d07e2dd2da40bcef01
Signed-off-by: Cai YiWei <cyw@rock-chips.com>
2023-02-14 09:54:06 +08:00
Jens Axboe
5e4839b5bd UPSTREAM: eventpoll: add EPOLL_URING_WAKE poll wakeup flag
[ Upstream commit caf1aeaffc ]

We can have dependencies between epoll and io_uring. Consider an epoll
context, identified by the epfd file descriptor, and an io_uring file
descriptor identified by iofd. If we add iofd to the epfd context, and
arm a multishot poll request for epfd with iofd, then the multishot
poll request will repeatedly trigger and generate events until terminated
by CQ ring overflow. This isn't a desired behavior.

Add EPOLL_URING so that io_uring can pass it in as part of the poll wakeup
key, and io_uring can check for that to detect a potential recursive
invocation.

Cc: stable@vger.kernel.org # 6.0
Change-Id: Ifafcb236b2cfe3ca3e7254a0155625fce00fd038
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 2f09377502)
Bug: 268174392
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2023-02-08 08:27:43 +00:00
Jens Axboe
76050cdc5c UPSTREAM: io_uring: import 5.15-stable io_uring
No upstream commit exists.

This imports the io_uring codebase from 5.15.85, wholesale. Changes
from that code base:

- Drop IOCB_ALLOC_CACHE, we don't have that in 5.10.
- Drop MKDIRAT/SYMLINKAT/LINKAT. Would require further VFS backports,
  and we don't support these in 5.10 to begin with.
- sock_from_file() old style calling convention.
- Use compat_get_bitmap() only for CONFIG_COMPAT=y

Change-Id: I7ce5226d6b39763ffc246fd6357cece9aafd4b59
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 788d082426)
Bug: 268174392
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2023-02-08 08:27:42 +00:00
Jens Axboe
11430cec4f UPSTREAM: fs: expose LOOKUP_CACHED through openat2() RESOLVE_CACHED
[ Upstream commit 99668f6180 ]

Now that we support non-blocking path resolution internally, expose it
via openat2() in the struct open_how ->resolve flags. This allows
applications using openat2() to limit path resolution to the extent that
it is already cached.

If the lookup cannot be satisfied in a non-blocking manner, openat2(2)
will return -1/-EAGAIN.

Cc: Al Viro <viro@zeniv.linux.org.uk>
Change-Id: Iddb58268e0a2b8adfc54e56192da43dda1868d8c
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 5683caa735)
Bug: 268174392
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2023-02-08 08:27:36 +00:00
Jens Axboe
d7a47b29d5 UPSTREAM: eventpoll: add EPOLL_URING_WAKE poll wakeup flag
[ Upstream commit caf1aeaffc ]

We can have dependencies between epoll and io_uring. Consider an epoll
context, identified by the epfd file descriptor, and an io_uring file
descriptor identified by iofd. If we add iofd to the epfd context, and
arm a multishot poll request for epfd with iofd, then the multishot
poll request will repeatedly trigger and generate events until terminated
by CQ ring overflow. This isn't a desired behavior.

Add EPOLL_URING so that io_uring can pass it in as part of the poll wakeup
key, and io_uring can check for that to detect a potential recursive
invocation.

Cc: stable@vger.kernel.org # 6.0
Change-Id: Ifafcb236b2cfe3ca3e7254a0155625fce00fd038
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 2f09377502)
Bug: 268174392
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2023-02-07 13:38:16 +00:00
Jens Axboe
5e6347b586 UPSTREAM: io_uring: import 5.15-stable io_uring
No upstream commit exists.

This imports the io_uring codebase from 5.15.85, wholesale. Changes
from that code base:

- Drop IOCB_ALLOC_CACHE, we don't have that in 5.10.
- Drop MKDIRAT/SYMLINKAT/LINKAT. Would require further VFS backports,
  and we don't support these in 5.10 to begin with.
- sock_from_file() old style calling convention.
- Use compat_get_bitmap() only for CONFIG_COMPAT=y

Change-Id: I7ce5226d6b39763ffc246fd6357cece9aafd4b59
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 788d082426)
Bug: 268174392
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2023-02-07 13:38:15 +00:00
Jens Axboe
2507b99d9a UPSTREAM: fs: expose LOOKUP_CACHED through openat2() RESOLVE_CACHED
[ Upstream commit 99668f6180 ]

Now that we support non-blocking path resolution internally, expose it
via openat2() in the struct open_how ->resolve flags. This allows
applications using openat2() to limit path resolution to the extent that
it is already cached.

If the lookup cannot be satisfied in a non-blocking manner, openat2(2)
will return -1/-EAGAIN.

Cc: Al Viro <viro@zeniv.linux.org.uk>
Change-Id: Iddb58268e0a2b8adfc54e56192da43dda1868d8c
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 5683caa735)
Bug: 268174392
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2023-02-07 13:38:08 +00:00