This patch remove nau8825 sound card node for rk3288-miniarm board,
because the change of hardware.
Change-Id: I2bc447bb247cbc5da9452591ee13dd3ae101c299
Signed-off-by: Nickey Yang <nickey.yang@rock-chips.com>
This reverts commit 2a1f2d1e89.
Refer to DWC3 databook, Table 7-7 Device Endpoint-n Events(DEPEVT),
XferNotReady is generated when the core responds NRDY to the host
on the USB. It is useful in the beginning of a transfer when
software wants to wait for the host to start polling the endpoint
before setting up TRBs. And also refer to 8.2.4 Transfer Setup
Recommendations, when using on-demand transfers, the XferNotRead
event must be enabled.
TEST=Set usb gadget work as RNDIS, connect to win7/win10, check
the RNDIS function
Change-Id: I091cd3ff4a3c93e6cc02fcc6714511c8989786bf
Signed-off-by: Wu Liang feng <wulf@rock-chips.com>
Both 3.3v and 1.8v are available on rk3288-miniarm board, so add sd
io-domain support in case need to deploy UHS speed mode.
Change-Id: I44a7c775620e32105c8c1b91219aac8b9d8b9e92
Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com>
New user encoder will send larger register size to kernel with extra
info right after the register file. The extra information will specify
the offset patch for address registers. This behavior will cause a lot
of noisy log. So we need to disable it.
Change-Id: I32609be325482b445ee6e97f7f4a245d6d0dc9c2
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
H546dlb01 is a 5.46 inch OLED screen with resolution 1080x1920.
Change-Id: I977f355c53c58f6dba46c4581fc8190bfce04cf2
Signed-off-by: bivvy <bivvy.bi@rock-chips.com>
The cpu class need independent governor tunables for big/little system.
Change-Id: I0c31f694b6790c05c18b0c3d5522fa75143f293e
Signed-off-by: Chen Liang <cl@rock-chips.com>
set port->cap_lanes to 0 when dp connected error last time, and allow
dp go on probing if there is only one fusb302.
Change-Id: I90169f77ac02a94f42da96f20aacfd51b898de09
Signed-off-by: wenping.zhang <wenping.zhang@rock-chips.com>
Enable the SPDIF optical output on rk3288-firefly boards.
Change-Id: I84701df1b193e69673a963045cbd9fb4069e9741
Signed-off-by: Nickey Yang <nickey.yang@rock-chips.com>
rk3288-firefly board needs vcca_33 to be always on.
Change-Id: Iffde1a2857b92d10bf8f306c2257480fdf7f091c
Signed-off-by: Nickey Yang <nickey.yang@rock-chips.com>
add feature of SUPPORT_RK_DISCRETE_VR for discrete vr device in dp,
and add sync code for nanoc vr device.
Change-Id: I5fe1f29ede8ac35f99b62e524bf541a7aaee4307
Signed-off-by: wenping.zhang <wenping.zhang@rock-chips.com>
In dwc3_gadget_suspend(), if fail to stop DWC3 controller,
and return without do __dwc3_gadget_stop(), it will not
disable ep0 and ep1, and the dep->flags stays in the state
DWC3_EP_ENABLED, this will casue gadget connect failed.
A typical case is:
DWC3 works as DRD mode, fist plug in OTG HOST cable and
works as HOST mode, then plug out HOST calbe, after this
operation, it will do runtime supend -> dwc3_gadget_suspend()
-> dwc3_gadget_run_stop() fail -> return without stop gadget,
and then plug in OTG device cable, fail to connect with PC.
Change-Id: I79daff8a9e8175cd13ac57e2abc63d4e5f694b1c
Signed-off-by: Wu Liang feng <wulf@rock-chips.com>
This patch adds runtime power management support for rockchip platform.
It depends on extcon notifier to do runtime resume and runtime suspend.
And since the dwc3 core dev is the only child of dwc3 rockchip dev, so
we need to ensure dwc3 core dev enter runtime suspend befer put dwc3
rockchip dev in runtime suspend. And after do runtime resume dwc3 core
dev, the PM core will resume dwc3 rockchip dev prior to dwc3 core dev
resume. With this patch, we can power off USB3 power domain and disable
clocks in runtime suspend.
Change-Id: Ib529889a8603d12dcdce80e9e0716be44c028bd3
Signed-off-by: Wu Liang feng <wulf@rock-chips.com>