Commit Graph

1255053 Commits

Author SHA1 Message Date
Finley Xiao
5eb44985ae video: rockchip: mpp: rkvdec2: remove old power model
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
Change-Id: I04ac1e8a9d2963f990fc7e0b8d22c5a18bf2f640
2023-05-31 16:24:03 +08:00
Finley Xiao
c407d3fd78 video: rockchip: mpp: rkvdec: remove old power model
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
Change-Id: I1b6307901c0e37f4ff46d63bd23baf0bb17a528f
2023-05-31 16:23:29 +08:00
Yandong Lin
53023d88f9 video: rockchip: mpp: iommu: fix adapt to kernel 6.1
Add mpp_iommu_reserve_iova api to implement reserve_iova.

Signed-off-by: Yandong Lin <yandong.lin@rock-chips.com>
Change-Id: Ie4873af15d461842ddedd5b21a05fabf5bfda837
2023-05-31 16:16:20 +08:00
Herman Chen
e520884467 video: rockchip: mpp: fix dma_buf_vmap/vunmap adapt to kernel 6.1
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
Change-Id: I9c6767ccf2711432c10674815139b9109d62af4e
2023-05-31 16:12:16 +08:00
Simon Xue
aebba681da dma-buf: rk_heaps: fix build error for kernel 6.1
Change-Id: Idd1f3c0bdada13049498be45da57f38c8c4da817
Signed-off-by: Simon Xue <xxm@rock-chips.com>
2023-05-30 20:18:19 +08:00
Guangming Cao
e413dfb738 FROMLIST: dma-buf: support users to change dma_buf.name
User space user can call DMA_BUF_SET_NAME to set dma_buf.name,
but until now we can't set it at kernel side, it's difficult to debug
kernel dma_buf users.

There are some kernel users of dma_heap also need it at MTK,
such as camera, it's also have a allocator for other camera part,
unlike most case in userspace, it's in kernel.
For debug buffer owner, we need add it to let it can set debug name
for each dmabuf, so that we can know dmabuf owner by dma_buf.name.

Bug: 193623372
Link: https://lore.kernel.org/patchwork/patch/1459719/
Change-Id: Iac5c6b8838b9b4d976f4525d000e17a3abab94f6
Signed-off-by: Guangming Cao <Guangming.Cao@mediatek.com>
Signed-off-by: Simon Xue <xxm@rock-chips.com>
2023-05-30 20:17:41 +08:00
Tao Huang
dd66c1b38f Merge commit '1013c54dc1e12db382e058d34b1038e0c1cad361'
* commit '1013c54dc1e12db382e058d34b1038e0c1cad361': (33 commits)
  input: touchscreen: gt1x: remove all usages of mm_segment_t
  Mali: bifrost: use task_tgid_vnr() and task_pid_vnr() to get tgid and pid
  MALI: rockchip: upgrade bifrost DDK to g18p0-01eac0, from g17p0-01eac0
  ARM: configs: rv1106: Add config for TEE support
  ARM: dts: rv1106: Add PSCI node
  ARM: dts: rv1106: Add Non-secure physical timer
  uapi/fec-config.h: Fix UAPI compile-test
  uapi/rk_vcm_head.h: Fix UAPI compile-test
  uapi/rk-camera-module.h: Fix UAPI compile-test
  uapi/rk-preisp.h: Fix UAPI compile-test
  uapi/rk-isp32-config.h: Fix UAPI compile-test
  uapi/rk-isp3-config.h: Fix UAPI compile-test
  uapi/rk-ispp-config.h: Fix UAPI compile-test
  uapi/rk-isp1-config.h: Fix UAPI compile-test
  uapi/rk-isp21-config.h: Fix UAPI compile-test
  uapi/rk-isp2-config.h: Fix UAPI compile-test
  uapi/rkcif-config.h: Fix UAPI compile-test
  uapi/rk-video-format.h: include types.h
  uapi/rockchip_drm.h: Fix UAPI compile-test
  uapi/dw_hdcp2.h: Fix UAPI compile-test
  ...

Fix drivers/gpu/arm/bifrost/csf/mali_kbase_csf_sync_debugfs.c fallthrough warning.
Fix drivers/gpu/drm/bridge/synopsys/dw-hdmi-qp.c atomic_commit argument.

Change-Id: I9ca9fad9694e31a7373b567eb3681fa6d7834c40
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
2023-05-30 19:16:57 +08:00
Wu Liangqing
1013c54dc1 input: touchscreen: gt1x: remove all usages of mm_segment_t
The struct mm_segment_t is required by this driver only in conjunction
with Linux 5.9.0 or older. Since the struct is removed in Linux 5.18, it
must be removed from the driver as well.

Change-Id: I993800f1f6f03962dfd267a9b8e3c95f37baffe5
Signed-off-by: Wu Liangqing <wlq@rock-chips.com>
2023-05-30 18:41:49 +08:00
Zhen Chen
e8df1af4f2 Mali: bifrost: use task_tgid_vnr() and task_pid_vnr() to get tgid and pid
To resolve the error of "Failed to get pid pointer for ...",
when running in container environment that uses pid_namespace.

Change-Id: Iff033d9cd8af33b9f2a536cbfbe2ae1e8d71bfba
Signed-off-by: Zhen Chen <chenzhen@rock-chips.com>
2023-05-30 18:41:29 +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
Sugar Zhang
038247591f ARM: configs: rv1106: Add config for TEE support
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Change-Id: Icbb212470faf7b6dc822d88061f10ffbce159090
2023-05-30 16:18:03 +08:00
Sugar Zhang
d159a00ad2 ARM: dts: rv1106: Add PSCI node
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Change-Id: I08d549b801f18f8337e7ce92b0b8ca46e63068d9
2023-05-30 16:18:03 +08:00
Sugar Zhang
8c6317e0fc ARM: dts: rv1106: Add Non-secure physical timer
We should introduce both Non-secure and Secure timer
to compatible for kernel with TEE or not.

As the chapter 2.3.2 PPIs of GIC-400 TRM says:

Interrupt ID   Source

30             Non-secure physical timer
29             Secure physical timer
27             Virtual timer
26             Hypervisor timer

Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Change-Id: If9441688d39930e71c5b217a4356f1c9972a8269
2023-05-30 16:18:03 +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
XiaoDong Huang
da9a7e29f0 ARM: configs: rockchip: Add rv1106-pm.config
Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com>
Change-Id: Id8375b10d5c9b240a45e451b0a027d362c7ca06a
2023-05-30 10:41:39 +08:00
Wyon Bi
c0ec4e0fa1 drm/panel: maxim-max96752f: Add support for ogm 101fhbllm01
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
Change-Id: I99ff2d7abd0d5e5ab7f44b6eda5b82669ab60ecf
2023-05-29 10:17:12 +08:00
Wyon Bi
b65cee7aa1 drm/bridge: max96745: Add tx_rate switch for twisted-pair cable
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
Change-Id: I02af1ca0325a0eeb41023f56d7d747da17afab99
2023-05-29 10:17:12 +08:00
Jianqun Xu
0c051c5aec soc: rockchip: iomux fix compile error
The commit 5e0fa7cfef ("pinctrl/rockchip: Sync with upstream") removed
the gpio head file from pinctrl-rockchip head file, but the iomux driver
depends on the gpio head file.

  CC      drivers/soc/rockchip/iomux.o
In file included from drivers/soc/rockchip/iomux.c:18:
drivers/soc/rockchip/../../pinctrl/pinctrl-rockchip.h:338:20: error: field has incomplete type 'struct gpio_chip'
        struct gpio_chip                gpio_chip;
                                        ^
drivers/soc/rockchip/../../pinctrl/pinctrl-rockchip.h:338:9: note: forward declaration of 'struct gpio_chip'
        struct gpio_chip                gpio_chip;
               ^
drivers/soc/rockchip/../../pinctrl/pinctrl-rockchip.h:339:28: error: field has incomplete type 'struct pinctrl_gpio_range'
        struct pinctrl_gpio_range       grange;
                                        ^
drivers/soc/rockchip/../../pinctrl/core.h:17:8: note: forward declaration of 'struct pinctrl_gpio_range'
struct pinctrl_gpio_range;
       ^
In file included from drivers/soc/rockchip/iomux.c:18:
drivers/soc/rockchip/../../pinctrl/pinctrl-rockchip.h:430:24: error: field has incomplete type 'enum pin_config_param'
        enum pin_config_param param;
                              ^
drivers/soc/rockchip/../../pinctrl/pinctrl-rockchip.h:425:6: note: forward declaration of 'enum pin_config_param'
enum pin_config_param;
     ^
drivers/soc/rockchip/../../pinctrl/pinctrl-rockchip.h:467:23: error: field has incomplete type 'struct pinctrl_desc'
        struct pinctrl_desc             pctl;
                                        ^
drivers/soc/rockchip/../../pinctrl/core.h:44:9: note: forward declaration of 'struct pinctrl_desc'
        struct pinctrl_desc *desc;
               ^
4 errors generated.

Change-Id: Ib9596eafe1d128de9be4b4d8462ec92842f7ff3f
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
2023-05-27 16:57:33 +08:00
XiaoDong Huang
59d0a1e8b2 firmware: rockchip_sip: fix error in cpu_logical_map_mpidr
If PE support multithread, the mpidr of cpu0~cpu3 in cluster0
and cpu4~cpu7 in cluster1 is as follow:
cpu0~3: 0x81000000, 0x81000100, 0x81000200, 0x81000300.
cpu4~7: 0x81010000, 0x81010100, 0x81010200, 0x81010300.

If PE doesn't support multithread, the mpidr of cpu0~cpu3 in cluster0
and cpu4~cpu7 in cluster1 is as follow:
cpu0~3: 0x80000000, 0x80000001, 0x80000002, 0x80000003.
cpu4~7: 0x80000100, 0x80000101, 0x80000102, 0x80000103.

Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com>
Change-Id: Ib2fb18ad280c6c275850910f18cb4f653c4a108f
2023-05-26 18:34:38 +08:00
Luo Wei
b9d6865a47 arm64: dts: rockchip: vehicle-display: set dsi resolution to 1920x720@60
Change-Id: I3fef41dc1a70b43a43229b4f520692b6ce23b7f2
Signed-off-by: Luo Wei <lw@rock-chips.com>
2023-05-26 18:33:14 +08:00
William Wu
9e36581320 phy: rockchip: inno-usb2: power on phy if linestate is SE1
Some special devices connected to host port, the linestate
maybe SE1 (DP/DM both in High level).

The below devices are the known special devices

Wireless HID: VID = 0xa604, PID = 0x0715
RK3308BS ADB: VID = 0x2207, PID = 0x0006

In order to support these special devices, this patch
handle the linestate SE1 as device connected state,
and power on the phy if it has already suspended.

Change-Id: I55fe83150c18d6c2629fbc857790ef04cdb68da5
Signed-off-by: William Wu <william.wu@rock-chips.com>
2023-05-26 14:26:28 +08:00
William Wu
5da9da3109 usb: dwc3: gadget: prepare at least twice txfifo for each ep
The current logic to assign only one max packet limit
for each IN endpoint txfifo, it's not enough for some
usb functions on Rockchip platforms.

For example, on RV1106 platform usb composite device
with UVC function, if it sets one max packet limit for
IN endpoint txfifo, the UVC function streaming ep may
be assigned with ep4-in or ep5-in which have default
HW value 1048B. But the UVC function needs to support
high bandwidth isochronous transaction in a microframe
(two or three transactions per microframe), the ep4-in
or ep5-in has not enough txfifo space to fit the UVC.

In addition, to meet performance requirement, a minimum
TxFIFO size of 2x MaxPacketSize for BULK/ISOC endpoints
is recommended in DWC3 databook.

So this patch prepares at least twice txfifo for each
IN endpoint on Rockchip platforms.

Fixes: 767a360826 ("UPSTREAM: usb: dwc3: gadget: Fix IN endpoint max packet size allocation")
Change-Id: If97eb74ab6ec1a32fe162758bc8f704c15fa4f3c
Signed-off-by: William Wu <william.wu@rock-chips.com>
2023-05-26 14:26:28 +08:00
Simon Xue
d575f032bb soc: rockchip: cma_procfs: fix build error for kernel 6.1
Change-Id: I53a19847d07969e7cec36eacfe0b57c556f5016a
Signed-off-by: Simon Xue <xxm@rock-chips.com>
2023-05-26 09:28:39 +08:00
Algea Cao
1a6d52236f drm/bridge: synopsys: dw-hdmi-qp: Achieve the same frequency color seamless switch
When the frequency before and after color switching is the
same, the resolution switching process is not performed.
Instead, go through the following process:

connector atomic check--->set avmute--->config hdmi controller
-->config vop-->connector atomic commit-->clear avmute.

This way the HDMI output will not be interrupted, the black
screen time will be shorter, and the user experience will be
better.

Signed-off-by: Algea Cao <algea.cao@rock-chips.com>
Change-Id: Ie12fd3c17c5b9ba56391cbe0e976e012dffae0ba
2023-05-25 20:22:56 +08:00
Simon Xue
d2d73e0a5a media: videobuf2-cma-sg: fix build error for kernel 6.1
Change-Id: I96d139b2a80080b0b5b8cdbb4b23bfaee7abbcf2
Signed-off-by: Simon Xue <xxm@rock-chips.com>
2023-05-25 20:10:20 +08:00
Algea Cao
91a23b0515 phy: rockchip-samsung-hdptx-hdmi: Fix hdmi Inter-Pair Skew exceed the limits
In hdmi2.0 resolution, the phase of D2 lane is probabilistically
ahead of other lanes.  Set phy deskew FIFO works on shared pointer
to fix this problem.

According to vendor, this patch is also available for frl mode.

Signed-off-by: Algea Cao <algea.cao@rock-chips.com>
Change-Id: Ic6f5111ede5a553fb6d6511bd340d4f2010f3fe7
2023-05-25 19:19:31 +08:00
Xing Zheng
5110d5de6d ASoC: rockchip: rk817-codec: Be stable PLL status during switch sample rate and mclk
Change-Id: I5f01035efb68fac9800fb62388221210bdb12d93
Signed-off-by: Xing Zheng <zhengxing@rock-chips.com>
2023-05-25 15:07:08 +08:00
William Wu
666bac0de5 FROMLIST: usb: xhci: account for num_trbs_free when invalidating TDs
If a ring has a number of TDs enqueued past the dequeue pointer, and the
URBs corresponding to these TDs are dequeued, then num_trbs_free isn't
updated to show that these TDs have been converted to no-ops and
effectively "freed". This means that num_trbs_free creeps downwards
until the count is exhausted, which then triggers xhci_ring_expansion()
and effectively leaks memory by infinitely growing the transfer ring.

This is commonly encounted through the use of a usb-serial port where
the port is repeatedly opened, read, then closed.

Move the num_trbs_free crediting out of the Set TR Dequeue Pointer
handling and into xhci_invalidate_cancelled_tds().

There is a potential for overestimating the actual space on the ring if
the ring is nearly full and TDs are arbitrarily enqueued by a device
driver while it is dequeueing them, but dequeues are usually batched
during device close/shutdown or endpoint error recovery.

Link: https://github.com/raspberrypi/linux/issues/5088
Change-Id: I858a32e6bcbb525cccff3a6d07fe77d2be67f5e7
Signed-off-by: William Wu <william.wu@rock-chips.com>
Signed-off-by: Jonathan Bell <jonathan@raspberrypi.com>
2023-05-25 15:02:08 +08:00
Elaine Zhang
fab2025cb5 thermal: rk_virtual_thermal: fix compile error for kernel 6.1
Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
Change-Id: I36986cff4ef2e43ca48444751767ce4b23c1be86
2023-05-25 10:43:20 +08:00
Tao Huang
7b08682c6f Merge commit 'a8f20dd9fbc65152558761362ba10260b35794c5'
* commit 'a8f20dd9fbc65152558761362ba10260b35794c5': (103 commits)
  arm64: dts: rockchip: rk3528: Add mbist-vmin for cpu gpu and dmc
  arm64: dts: rockchip: rk3528: Add 12500uV for cpu low frequencies
  arm64: dts: rockchip: rk3588: Change tx/rx queue to 1 for gmac
  arm64: dts: rockchip: Add uio nodes for rk3588
  MALI: midgard: Fix a bug of dereferencing possible ERR_PTR()
  drm/rockchip: dw_hdmi: Fix check yuv422 color format err
  crypto: rockchip: fixed probabilistic crashes in multithreading
  drm/rockchip: vop3: plane display size check use crtc_* parameter is more correct
  drm/rockchip: dw_hdmi: Fix double register HDR_OUTPUT_METADATA prop at non RK3588 platform
  ASoC: rockchip: i2s-tdm: Optimize TRCM on slave mode
  arm64: dts: rockchip: rk3588-vehicle-evb: initialize default pull up RK3308 reset pin
  drm/bridge: synopsys: dw-hdmi-qp: Fix cec irq register failed
  arm64: dts: rockchip: Add rk3308b-evb-amic-v10-amp.dts
  arm64: dts: rockchip: rk3588: Disable u1 and u2 state for USB OTG1 device
  drm/rockchip: dsi: get bus_flags from display_info in atomic_check
  dt-bindings: nvmem: add rockchip-secure-otp bindings
  arm64: dts: rockchip: rk3528: Add secure otp node
  nvmem: add Rockchip Secure OTP driver
  arm64: dts: rockchip: rk3588-vehicle-evb: add rgmii phy rtl9010a support
  net: phy: realtek: Add rtl9010a support
  ...

Change-Id: Iffa17911b28d40e322b48e3740977e3a9fb249d2

Conflicts:
	Documentation/devicetree/bindings/net/snps,dwmac.yaml
	arch/arm64/boot/dts/rockchip/Makefile
	arch/arm64/boot/dts/rockchip/rk3568.dtsi
	drivers/gpu/drm/rockchip/dw-mipi-dsi-rockchip.c
	drivers/gpu/drm/rockchip/rockchip_drm_logo.c
	drivers/media/i2c/Kconfig
	drivers/media/i2c/Makefile
	drivers/media/i2c/max96712.c
	drivers/media/i2c/nvp6188.c
	drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
	drivers/net/phy/realtek.c
	drivers/nvmem/Kconfig
	drivers/nvmem/Makefile
	drivers/phy/rockchip/phy-rockchip-naneng-combphy.c
	include/linux/stmmac.h
2023-05-25 09:19:01 +08:00
Finley Xiao
a8f20dd9fb arm64: dts: rockchip: rk3528: Add mbist-vmin for cpu gpu and dmc
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
Change-Id: I664731babae657181e94734b721ae6d1d6a39078
2023-05-24 18:10:07 +08:00
Finley Xiao
d4619c986e arm64: dts: rockchip: rk3528: Add 12500uV for cpu low frequencies
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
Change-Id: Icfe74c6edbbb1328a864fa8d42448e09e71a0a46
2023-05-24 18:08:46 +08:00
Tao Huang
62ba841def usb: gadget: u_audio: Add missing break in g_audio_work
Fixes: c740acfa34 ("usb: gadget: u_audio: add uevent for ppm compensation")
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I375a5cf21344ddd7d85eeaf66473bd2709c077ab
2023-05-24 16:50:59 +08:00
Badhri Jagan Sridharan
ac36012140 ANDROID: usb: gadget: configfs: Add Uevent to notify userspace
Android userspace UsbDeviceManager relies on the
uevents generated by the composition driver to
generate user notifications. This CL adds uevents
to be generated whenever USB changes its state
i.e. connected, disconnected, configured.

This CL also intercepts the setup requests from
the usb_core anb routes it to the specific
usb function if required.

Change-Id: I112662728edcc404e3f08fa0c2d9e4f7b17e1b43
Bug: 68755607
Bug: 120441124
[badhri: Migrate to using udc uevents from upstream sysfs.]
Signed-off-by: Badhri Jagan Sridharan <badhri@google.com>
[AmitP: Folded following android-4.9 commit changes into this patch
        9214c899f7 ("ANDROID: usb: gadget: configfs: handle gadget reset request for android")]
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
[astrachan: Folded change 5c899c9fd75d ("ANDROID: usb: gadget: configfs:
            fix null ptr in android_disconnect") into this patch]
Signed-off-by: Alistair Strachan <astrachan@google.com>
Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
(cherry picked from commit 7a160e2b96
 https://android.googlesource.com/kernel/common)
2023-05-24 16:45:02 +08:00
Badhri Jagan Sridharan
79b5303e24 ANDROID: usb: gadget: configfs: Add usb_function ptr to fi struct
Add a pointer to the usb_function inside the
usb_function_instance structure to service
functions specific setup requests even before
the function gets added to the usb_gadget

Bug: 63740241
Bug: 68755607
Bug: 78114713
Bug: 120441124
[badhri: This is a supporting patch for other patches which have
         replacements pipelined. It can be dropped when those
         implementations land.]
Change-Id: I6f457006f6c5516cc6986ec2acdf5b1ecf259d0c
Signed-off-by: Badhri Jagan Sridharan <badhri@google.com>
Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
(cherry picked from commit 2d89290aec
 https://android.googlesource.com/kernel/common)
2023-05-24 16:45:02 +08:00
Frank Wang
640eb99d42 phy: rockchip: inno-usb2: only disable usb480m clk in error path
This fix the usb480m clk disable error when phy power on.

Fixes: daf2796321 ("Merge commit '52f971ee6e023d89d24f9e3cd145d86d707e459c'")
Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
Change-Id: I79f84757cccdca56357794d3bb5bfdc8df6c0a1f
2023-05-24 16:12:58 +08:00