Commit Graph

1072939 Commits

Author SHA1 Message Date
Thinh Nguyen
26eef0a006 UPSTREAM: usb: dwc3: gadget: Don't modify GEVNTCOUNT in pullup()
If the GEVNTCOUNT indicates events in the event buffer, the driver needs
to acknowledge them before the controller can halt. Simply let the
interrupt handler acknowledges the remaining event generated by the
controller while polling for DSTS.DEVCTLHLT. This avoids disabling irq
and taking care of race condition between the interrupt handlers and
pullup().

Change-Id: Ief1bc9deb10e02f84fdc952481a7bb98f9cf8b78
Signed-off-by: Thinh Nguyen <Thinh.Nguyen@synopsys.com>
Link: https://lore.kernel.org/r/ea306ec93c41ccafbdb5d16404ff3b6eca299613.1650593829.git.Thinh.Nguyen@synopsys.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
(cherry picked from commit 8f8034f493)
2022-11-11 20:03:32 +08:00
Thinh Nguyen
ac866b5b8b UPSTREAM: usb: dwc3: gadget: Refactor pullup()
Move soft-disconnect sequence out of dwc3_gadget_pullup(). No
functional change here.

Change-Id: I2ddbae436142ad57564142240129ef7c29f0a955
Signed-off-by: Thinh Nguyen <Thinh.Nguyen@synopsys.com>
Link: https://lore.kernel.org/r/4c0f259b17d95acaaa931f90276683a48a32fe22.1650593829.git.Thinh.Nguyen@synopsys.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
(cherry picked from commit 861c010a2e)
2022-11-11 20:03:32 +08:00
Thinh Nguyen
cf9aef9a99 UPSTREAM: usb: dwc3: gadget: Prevent repeat pullup()
Don't do soft-disconnect if it's previously done. Likewise, don't do
soft-connect if the device is currently connected and running. It would
break normal operation.

Currently the caller of pullup() (udc's sysfs soft_connect) only checks
if it had initiated disconnect to prevent repeating soft-disconnect. It
doesn't check for soft-connect. To be safe, let's keep the check here
regardless whether the udc core is fixed.

Change-Id: I07eaeb0ed388ef967eeb9c7513a9c1b260f8d9c5
Signed-off-by: Thinh Nguyen <Thinh.Nguyen@synopsys.com>
Link: https://lore.kernel.org/r/1c1345bd66c97a9d32f77d63aaadd04b7b037143.1650593829.git.Thinh.Nguyen@synopsys.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
(cherry picked from commit 69e131d1ac)
2022-11-11 20:03:32 +08:00
Wesley Cheng
80e501ef08 BACKPORT: usb: dwc3: EP clear halt leading to clearing of delayed_status
The usb_ep_clear_halt() API can be called from the function driver, and
translates to dwc3_gadget_ep_set_halt().  This routine is shared with when
the host issues a clear feature ENDPOINT_HALT, and is differentiated by the
protocol argument.  If the following sequence occurs, there can be a
situation where the delayed_status flag is improperly cleared for the wrong
SETUP transaction:

1. Vendor specific control transfer returns USB_GADGET_DELAYED_STATUS.
2. DWC3 gadget sets dwc->delayed_status to '1'.
3. Another function driver issues a usb_ep_clear_halt() call.
4. DWC3 gadget issues dwc3_stop_active_transfer() and sets
   DWC3_EP_PENDING_CLEAR_STALL.
5. EP command complete interrupt triggers for the end transfer, and
   dwc3_ep0_send_delayed_status() is allowed to run, as delayed_status
   is '1' due to step#1.
6. STATUS phase is sent, and delayed_status is cleared.
7. Vendor specific control transfer is finished being handled, and issues
   usb_composite_setup_continue().  This results in queuing of a data
   phase.

Cache the protocol flag so that DWC3 gadget is aware of when the clear halt
is due to a SETUP request from the host versus when it is sourced from a
function driver.  This allows for the EP command complete interrupt to know
if it needs to issue a delayed status phase.

Change-Id: If19e1628c151a109820a60e7b4c4c6f6128a2242
Signed-off-by: Wesley Cheng <quic_wcheng@quicinc.com>
Link: https://lore.kernel.org/r/20220414073902.21960-1-quic_wcheng@quicinc.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
(cherry picked from commit 2840d6dfcf)
2022-11-11 20:03:32 +08:00
Michael Grzeschik
0ec00e864a UPSTREAM: usb: dwc3: gadget: move cmd_endtransfer to extra function
This patch adds the extra function __dwc3_stop_active_transfer to
consolidate the same codepath.

Change-Id: I59d031db6eb52487f443fc6eef11214ca2d95234
Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
Link: https://lore.kernel.org/r/20220306211251.2281335-3-m.grzeschik@pengutronix.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
(cherry picked from commit e192cc7b52)
2022-11-11 20:03:32 +08:00
Thinh Nguyen
415b0d9d14 UPSTREAM: usb: dwc3: gadget: Skip checking Update Transfer status
If we're not setting CMDACT (from "No Response" Update Transfer
command), then there's no point in checking for the command status. So
skip it. This can reduce a register read delay and improve performance.

Change-Id: I00106aab2965b3c65de8a9ea5e4846e59472c101
Signed-off-by: Thinh Nguyen <Thinh.Nguyen@synopsys.com>
Link: https://lore.kernel.org/r/3dc31cf11581ae3ee82d9202dda3fc17d897d786.1638240306.git.Thinh.Nguyen@synopsys.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
(cherry picked from commit bc27117c7c)
2022-11-11 20:03:32 +08:00
Sandy Huang
a1be106ef0 drm/rockchip: add support vop3
Rockchip VOP3 is new VOP architecture base on VOP2, compared to the
VOP2, the biggest change is VOP overlay and post process module.

Signed-off-by: Sandy Huang <hjc@rock-chips.com>
Change-Id: I19ee4e91aa430ec8b80095702c697d08a696d52b
2022-11-11 19:45:35 +08:00
Lin Jinhan
fa0690beb7 ARM: dts: rockchip: rv1106-thunder-boot: remove MCLK_REF_MIPI0 control
On some sensors, the exposure configuration for the first frame
 will be lost if the MCLK was ever turned off before stream on.
(Such as GC2093.)

Signed-off-by: Lin Jinhan <troy.lin@rock-chips.com>
Change-Id: I06f7eb24fa4f13afaca32f66701956e216b552ec
2022-11-11 16:56:11 +08:00
Shunhua Lan
99edbfa6ee arm64: dts: rockchip: rk3588-evb: use rockchip,hdmi as hdmirx audio machine driver
Signed-off-by: Shunhua Lan <lsh@rock-chips.com>
Change-Id: I4b71a030a4880805eb3c62ecf3038c74f0494f77
2022-11-11 11:33:56 +08:00
Shunhua Lan
d8ca2c67b5 media: rockchip: hdmirx: report audio off event
For hdmirx controllers, audio interface always act as master And
will make system wait a long time for audio data, Here report a
audio off event to audio stream, Then applications can exit immediately

Signed-off-by: Shunhua Lan <lsh@rock-chips.com>
Change-Id: Ia8b458d5a45f8c84f17dfd10cf8bdae8d6a6016d
2022-11-11 11:32:48 +08:00
Herman Chen
25e0528c51 video: rockchip: mpp: Add reg range dump
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
Change-Id: I0999877a10767d90fec32b2858beff72642a0a55
2022-11-11 09:28:56 +08:00
Shunhua Lan
b22cb46be7 ASoC: hdmi-codec: pcm stop when plug out
Signed-off-by: Shunhua Lan <lsh@rock-chips.com>
Change-Id: I1507dc6b92a0342e6b3d86472618f90dc721e779
2022-11-10 19:19:18 +08:00
Jianqun Xu
5a4a287ae5 ARM: dts: rockchip: rk3288: move i2c0 to the front of other i2c
Move i2c0 node ahead before i2c1, make the i2c0 to be probed first.

Change-Id: I822622fc1f1ed41729851294858246cf6da8c202
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
2022-11-10 17:28:46 +08:00
Zefa Chen
da1b05c63b media: rockchip: vicap fixed frame_phase state with wake up mode
sometimes, cause buffer state error in thunderboot mode

Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
Change-Id: I1b750cbad21e29b112d8e7670029c6f1d0d53fc3
2022-11-10 17:12:47 +08:00
Jianhui Wang
651d51090c ARM: dts: rockchip: rk3288 support mpp
The defaultly vpu clock rate 600MHz makes reboot failure,
patch has assigned clock rates for vpu.

Change-Id: I986295b4dda6f99e524dcebeaa00128af87d51bf
Signed-off-by: Jianhui Wang <wjh@rock-chips.com>
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
2022-11-10 16:32:11 +08:00
Jianqun Xu
b84653d8ca ARM: dts: rockchip: rk3288-linux fix codingstyle issues
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
Change-Id: I65a7ee2ceba5369c09e18061e27915cfeda2c460
2022-11-10 16:00:23 +08:00
Jianqun Xu
8d9511e41e ARM: dts: rockchip: rk3288-evb-rk808-linux fix ak8963 node ref name
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
Change-Id: I90f139fd17abe4310d430946dd8ee9a9b73a1946
2022-11-10 15:59:53 +08:00
Jianqun Xu
c5157e245b ARM: dts: rockchip: rk3288-evb-rk808-linux remove power key node
Remove the duplicated power key node, which has existed in
rk3288-evb.dtsi file.

Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
Change-Id: I798fe8fc1096dc07243fa9573bb19ffc6636a358
2022-11-10 15:59:10 +08:00
Jianqun Xu
37b917281e ARM: dts: rockchip: rk3288-evb fix mmc nodes to use host type tags
Fixes: 78f9ac0daa ("treewide: Migrate rockchip dts file to use new host type tags")

Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
Change-Id: I4f5a4d676a450a706770f8ad0bface40a95f5d5e
2022-11-10 15:58:34 +08:00
Finley Xiao
89f92aa26c ARM: dts: rockchip: rk3288 add system monitor node
The reboot and fb notifiers are also need for some platfroms when enable
dmcfreq.

Change-Id: I7a02e43ebfff6f8cdccd050a30a9e6c270fc5b5e
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
2022-11-10 15:57:33 +08:00
Alex Zhao
569a73dcb7 net: wireless: rockchip_wlan: bcmdhd: enable WL_P2P_RAND
Signed-off-by: Alex Zhao <zzc@rock-chips.com>
Change-Id: I1a75eed43cb4a9e973c9950d28bf4fc274da4a70
2022-11-10 14:59:52 +08:00
Alex Zhao
997fef6bf4 arm64: dts: rockchip: rk356x-evb/tablet: add WIFI,poweren_gpio for wifi
Signed-off-by: Alex Zhao <zzc@rock-chips.com>
Change-Id: I24277480324db1a29db398bee0b003b163cb417a
2022-11-10 14:59:47 +08:00
Alex Zhao
bca955abde arm64: dts: rockchip: px30/rk3326-evb: add WIFI,poweren_gpio for wifi
Signed-off-by: Alex Zhao <zzc@rock-chips.com>
Change-Id: I72aedca603b4b780168697218041b41558437e19
2022-11-10 14:59:41 +08:00
Algea Cao
66d9343d63 phy: rockchip-samsung-hdptx-hdmi: FRL 8Gbps * 4 lanes mode use pll cascade mode
Vendor suggest FRL 8G * 4 lanes mode use ROPLL/LCPLL cascade mode.
ROPLL ref clock is from LCPLL.

Signed-off-by: Algea Cao <algea.cao@rock-chips.com>
Change-Id: If40f4ec55e44f1e53995cf932c68fa374662d636
2022-11-09 14:34:05 +08:00
Algea Cao
d97cce5a64 phy: rockchip-samsung-hdptx-hdmi: LCPLL is also used for low rate frl mode
In RK3588C, 24M clock noise is carried into the PHY ROPLL loop filter.
Due to the low noise frequency, it can pass through the low-pass loop
filter of ROPLL, resulting in hdmi clk jitter test fail.
The loop bandwidth of LCPLL is low, so LCPLL can be used to circumvent
this problem. RK3588 is also suitable for this scheme.

Signed-off-by: Algea Cao <algea.cao@rock-chips.com>
Change-Id: I1eafbc3db3daca6b86c97a6682d120f88b71dfa0
2022-11-09 14:34:05 +08:00
Damon Ding
0dc3443205 ARM: dts: rockchip: rv1106-evb: fix default bus-format of sii902x using bt656
The default bus-format should be MEDIA_BUS_FMT_UYVY8_2X8
according to sii902x datasheet.

Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
Change-Id: Ie22ae04fc0a0d339ea211c76891d40c5942e2a86
2022-11-09 14:27:33 +08:00
Damon Ding
5670b5a97d drm/rockchip: vop: add yc_swap check for BT656 interface
Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
Change-Id: Iecb8439661700f3f4ad4613baa7bbe0289042181
2022-11-09 14:27:09 +08:00
Tao Huang
dfa8d217eb usb: typec: displayport: depends on DRM_ROCKCHIP
To avoid the conflict of GKI, the drm_connector_oob_hotplug_event() is be
completed in rockchip drm driver, not the drm framework.
So add depends on DRM_ROCKCHIP, otherwise get following warning:

aarch64-none-linux-gnu-ld: drivers/usb/typec/altmodes/displayport.o: in function `dp_altmode_status_update':
drivers/usb/typec/altmodes/displayport.c:156: undefined reference to `drm_connector_oob_hotplug_event'

Fixes: 594af86e81 ("FORMLIST: usb: typec: altmodes/displayport: Notify drm subsys of hotplug events")
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: Id31efd89e5af47811138890ce9fbcb79da187b91
2022-11-09 09:40:07 +08:00
Tao Huang
4c1ad45c30 fiq_debugger: stop using alloc_tty_driver
According to upstream commit 39b7b42be4 ("tty: stop using alloc_tty_driver").

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I1f60a2066a2649c736e333a11161bfb49bef8ccb
2022-11-09 09:39:22 +08:00
Jon Lin
bda58d2941 mtd: spi-nor: normem: Add code
Support NM25Q128EVB.

Change-Id: Id781d499407b1d4db448db1cfff71b43bf6e8e93
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
2022-11-09 09:36:04 +08:00
Jon Lin
fdbfcf0f56 mtd: spi-nor: core: Add boya ids to manufacturers
Change-Id: I752c5a615982bea36ee7adf1ae66921242bc7bcf
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
2022-11-09 09:36:04 +08:00
Tao Huang
94867bdff1 drm/bridge: sii902x: select VIDEOMODE_HELPERS
aarch64-none-linux-gnu-ld: drivers/gpu/drm/bridge/sii902x.o: in function `sii902x_set_embedded_sync':
drivers/gpu/drm/bridge/sii902x.c:473: undefined reference to `drm_display_mode_to_videomode'

Fixes: a14c198318 ("drm/bridge: sii902x: add YUV422 input support")
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I770ae0f4cf3d50a90b881eb3fe074ce57d2db3ac
2022-11-08 20:06:46 +08:00
Jianwei Fan
fe80765808 video: rockchip: vehicle: fix some include files
Change-Id: I4b9ad93f17329dd4168a71cc92344af7789266ab
Signed-off-by: Jianwei Fan <jianwei.fan@rock-chips.com>
2022-11-08 17:24:12 +08:00
Jianqun Xu
569ea4ebd4 Revert "Revert "video: rockchip: mpp: use dma-buf-cache func""
This reverts commit e8f7a297a7.

Change-Id: I3b9ab8391312ebcf7496def522cb742e2d7c4036
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
2022-11-08 16:48:22 +08:00
Yandong Lin
f9114c28a3 video: rockchip: mpp: fix rkvenc-core1 cannot disable issue
Signed-off-by: Yandong Lin <yandong.lin@rock-chips.com>
Change-Id: I4884da641a2beba1bdbc2d734d9e969baf9026ad
2022-11-08 11:48:00 +08:00
Huang zhibao
66cc355d8f arm64: dts: rockchip: add rk3588-nvr-demo1-v21-android for nvr demo1 board
Signed-off-by: Huang zhibao <hzb@rock-chips.com>
Change-Id: I34996de4964e6be26d23a8fbd912231c27e06d13
2022-11-08 10:31:44 +08:00
Tao Huang
0de1c776b7 power: supply: rk818_battery: Fix compile warning
drivers/power/supply/rk818_battery.c: In function 'rk818_bat_calc_zero_linek':
drivers/power/supply/rk818_battery.c:1741:25: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
 1741 |                         else
      |                         ^~~~
drivers/power/supply/rk818_battery.c:45:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'
   45 |         do { \
      |         ^~
drivers/power/supply/rk818_battery.c:1743:33: note: in expansion of macro 'DBG'
 1743 |                                 DBG("ZERO-new: zero_linek adjust step6...\n");
      |                                 ^~~

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: Iefecf6fe6b44ba84850a89a6e8cc12637f801ac0
2022-11-08 09:25:51 +08:00
Tao Huang
b7e087fff7 input: touchscreen: gslx680_pad: Fix compile warning
drivers/input/touchscreen/gslx680_pad.c:1045:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
 1045 |     if(ret)
      |     ^~
In file included from ./include/linux/device.h:15,
                 from drivers/input/touchscreen/gslx680_pad.c:15:
./include/linux/dev_printk.h:118:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
  118 |         _dev_info(dev, dev_fmt(fmt), ##__VA_ARGS__)
      |         ^~~~~~~~~
drivers/input/touchscreen/gslx680_pad.c:1048:8: note: in expansion of macro 'dev_info'
 1048 |        dev_info(&ts->client->dev, "[tp-gsl] gsl_chip_id =[%d] \n",gsl_chip_id);
      |        ^~~~~~~~

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: If4366c867ab6985e37708a4f89ed6d5460c74795
2022-11-08 09:21:23 +08:00
Tao Huang
938849237a video: rockchip: rve: Fix compile warning
drivers/video/rockchip/rve/rve_drv.c: In function 'rve_irq_thread':
drivers/video/rockchip/rve/rve_drv.c:583:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
  583 |                 if (DEBUGGER_EN(INT_FLAG))
      |                 ^~
drivers/video/rockchip/rve/rve_drv.c:585:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
  585 |                         goto skip_job_done;
      |                         ^~~~

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: Ib934fce7d8ba4240bc92dddde326887a05eb781a
2022-11-08 09:17:22 +08:00
Tao Huang
6f45b03c8e thermal: rockchip: Sync with upstream
Add some comments on rk_tsadcv7_initialize().

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I5fa77880a0fd47a6c18e8e6ed1606ff8e327f0ad
2022-11-07 19:05:08 +08:00
Caesar Wang
35ef129870 media: rockchip: cif: Fix building error with gcc
Tested it with the below:

    export CROSS_COMPILE=arm-linux-gnueabihf-
    make ARCH=arm rockchip_linux_defconfig
    make ARCH=arm rk3288-evb-rk808-linux.img -j1

Have the built error as follows.

  CC      drivers/media/platform/rockchip/cif/capture.o
drivers/media/platform/rockchip/cif/capture.c: In function 'rkcif_dvp_g_ch_id':
drivers/media/platform/rockchip/cif/capture.c:6850:17: warning: this 'if'
clause does not guard... [-Wmisleading-indentation]
error, forbidden warning:capture.c:6850
 6850 |                 if ((frm_stat & DVP_CHANNEL2_FRM_READ) ==
      |                 ^~
drivers/media/platform/rockchip/cif/capture.c:6853:25: note: ...this statement,
but the latter is misleadingly indented as if it were guarded by the 'if'
 6853 |                         *intstat &= ~DVP_FRAME_END_ID2;
      |                         ^

Change-Id: I5339a6b6d3641dde71a17139b415852117e97574
Signed-off-by: Caesar Wang <wxt@rock-chips.com>
2022-11-07 18:18:21 +08:00
Caesar Wang
ece09991ef video: rockchip: rga3: Fix building error with gcc
Tested it with the below:

export CROSS_COMPILE=arm-linux-gnueabihf-
make ARCH=arm rockchip_linux_defconfig
make ARCH=arm rk3288-evb-rk808-linux.img -j1

Have the built error as follows.

  CC      drivers/video/rockchip/rga3/rga_policy.o
drivers/video/rockchip/rga3/rga_policy.c: In function 'rga_job_assign':
drivers/video/rockchip/rga3/rga_policy.c:243:25: warning: this 'if'
clause does not guard... [-Wmisleading-indentation]
error, forbidden warning:rga_policy.c:243
  243 |                         if (DEBUGGER_EN(MSG))
      |                         ^~
drivers/video/rockchip/rga3/rga_policy.c:245:33: note: ...this statement,
but the latter is misleadingly indented as if it were guarded by the 'if'
  245 |                                 continue;
      |                                 ^~~~~~~~

Change-Id: Ia39abe5fab5f857490b4709de516d97c5db567c0
Signed-off-by: Caesar Wang <wxt@rock-chips.com>
2022-11-07 18:18:01 +08:00
Elaine Zhang
87c43bed76 clk: rockchip: rk3288: fix up the clk register for hclk_vio
Change-Id: If07e27b1f88974fa0dcb2c8f719df6ba3c35dbcd
Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
2022-11-07 15:26:24 +08:00
Wyon Bi
88873a50fa clk/rockchip: rk3288: Add support for sclk_testout
Change-Id: Ibd521712a6517300984db4199ac0164a499dc0f7
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
Signed-off-by: Guochun Huang <hero.huang@rock-chips.com>
2022-11-07 15:26:02 +08:00
Finley Xiao
485bbe0375 clk: rockchip: rk3288: Add TSP clock
Change-Id: I02185c5ab7a1072d271cd51161f6d4b05d327673
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
2022-11-07 15:25:57 +08:00
Finley Xiao
4d1b83cce8 clk: rockchip: rk3288: Add id for i2s_src
Change-Id: I0d15dd656e96a3905012d42fef6640e152838888
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
2022-11-07 15:25:53 +08:00
Finley Xiao
6ec73dd7b7 clk: rockchip: rk3288: Add ids for pclk_vip_in and pclk_vip
Change-Id: Id7c4b9a69ca22ae5eaee75929adb5ec0c1f0165c
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
2022-11-07 15:25:48 +08:00
Jacob Chen
4d78dbf449 clk: rockchip: associate SCLK_MAC_PLL on rk3288
see:
http://elixir.free-electrons.com/linux/v4.8/source/Documentation/devicetree/bindings/net/rockchip-dwmac.txt#L32

Change-Id: Ibf94d88219b13f5dd16cfdeb02d1b255e695399f
Signed-off-by: Jacob Chen <jacob-chen@iotwrt.com>
Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
2022-11-07 15:25:42 +08:00
Finley Xiao
e9b2f6ce99 clk: rockchip: rk3288: add ddrc clock support
Add a ddrc clock into clk branches, so we can do ddr frequency
scaling on rk3288 platform in future.

Change-Id: Ia6c93e5ce82fa30475eddf051bc9ea2512b0cc07
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
2022-11-07 15:25:36 +08:00
Frank Wang
2550716315 clk: rockchip: rk3288: add gate id of hclk_usb_peri for usb otg
Change-Id: Ib45f6d97ec81329ec9a4a19e9e836efa0ea61fe2
Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
2022-11-07 15:25:26 +08:00