1. memory with diff case
2. fix higaus3_mode
3. lobypass_en=0, no support to switch
Change-Id: Ic7bdc5a924509806a7bb8668dcebcf01b95688f4
Signed-off-by: Cai YiWei <cyw@rock-chips.com>
The previous codes did not distinguish the saple rate was playback or
capture in uevent, so fix it.
Fixes: 1abe6982f8 ("BACKPORT: usb: gadget: u_audio: add uevent for set_alt and set_srate")
Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
Change-Id: I191ba7b303ba8289a6acc054b6be6d224b2f5f89
1/ Enable RK628 HDMI to CSI/BT1120
2/ Enable CONFIG_DRM_DISPLAY_CONNECTOR
Enable the bridge driver for VGA/DP/HDMI display connectors.
Signed-off-by: Caesar Wang <wxt@rock-chips.com>
Change-Id: Id57abfbc703367ebb8095fea28250c53dbe93697
After disable dp controller, reset it status to avoid something
wrong if the status is abnormal.
Signed-off-by: Zhang Yubing <yubing.zhang@rock-chips.com>
Change-Id: I9de6ab056317a09b104ef604a6ef4ec20610fb65
If dp send data by aux channel too fast after phy power on,
the aux may be not ready which will cause aux error. Adding
delay to avoid this issue.
Signed-off-by: Zhang Yubing <yubing.zhang@rock-chips.com>
Change-Id: I92075e729e637078456ae67897dfb1cbda5da1cb
On some platforms, the dmc driver uses internal rockchip_ddr_set_rate()
to set dmc clock rate, so the system monitor can't use clk_set_rate() to
change dmc clock rate.
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
Change-Id: If74f740d87a11f6a6563c3af35a8f335561a88af
-CONFIG_BLK_DEV_INITRD=y
which is used for ramdisk.
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Change-Id: I862718ba843a06c5e50938709966f2da8599294e
According to the specification, the controller should check the device
status before data transport. Generally, it can get the status of device
via CMD13. It's upset that command communication will produce a little
interrupt inside the controller.
To avoid interrupt storm whilst heavily I/O request, use card_busy
instead of send_status(CMD13).
Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com>
Change-Id: I3ba79ba2f563006112b0157b78aab5b31911b61a
Fixes:
Booting Linux on physical CPU 0x0
DT missing boot CPU MPIDR[23:0], fall back to default cpu_logical_map
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Change-Id: I02dea605ef1def0bed65e94363661eeb8368f1fb
The most time-consuming operation is the RSA private
key EXP_MOD operation, which sets the poll time separately.
Signed-off-by: Lin Jinhan <troy.lin@rock-chips.com>
Change-Id: I6307e6134e99dbdfbe2ce75539ba8bed1a703f43
spi-nand dts includes rv1106g-evb1-v10.dts to support
wifi and SDcard devices
Signed-off-by: Zhichao Guo <zhichao.guo@rock-chips.com>
Change-Id: Ife7b4fa5d8af70715f5d2b3defa7325f4e639342
When the CONFIG_DMA_CMA is selected, the atomic_pool will be initialized
and allocates 256 KiB defaultly from the default cma area.
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
Change-Id: I77045a0b9c9f185f33035a406794e4be4d0e2e66
Not to select DRM_MIPI_DSI and SND_SOC_HDMI_CODEC when
ROCKCHIP_MINI_KERNEL selected.
Fixed: 0dace269aa ("drm: bridge: fix LONTIUM use of mipi_dsi_() functions")
efaede77b8 ("drm/bridge: sii902x: Select SND_SOC_HDMI_CODEC if SND_SOC is configured")
Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
Change-Id: I639e35736f93b7304eac3614b983d6e3e83994ca
Some PC USB Hosts (e.g Dell laptop) fail to send
SetInterface(AltSet=0) to stop capture/playback
when PC enter suspend or play YouTube Video.
To be compatible with these PC, add this patch to
stop capture/playback prior to start again if the
stream_state is true.
Change-Id: Iced57de39b6b88a7c987897dcb123cf8d7cf6473
Signed-off-by: William Wu <william.wu@rock-chips.com>
Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
This patch add uevent to notify the application layer when it should
playback or capture and setting the accuration sample rate.
The event consists of three parts, namely USB_STATE, STREAM_DIRECTION
and STREAM_STATE. For example:
g_audio_work: sent uac uevent USB_STATE=SET_INTERFACE STREAM_DIRECTION=IN STREAM_STATE=OFF
g_audio_work: sent uac uevent USB_STATE=SET_INTERFACE STREAM_DIRECTION=OUT STREAM_STATE=ON
g_audio_work: sent uac uevent USB_STATE=SET_SAMPLE_RATE STREAM_DIRECTION=OUT SAMPLE_RATE=44100
Signed-off-by: Ren Jianing <jianing.ren@rock-chips.com>
(backported from develop-4.19 commit 55c7a54911)
Change-Id: I9115a8aa57875a440df96b67bb02c3d50f237b29
Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
According to USB Audio Device 1.0 Spec, Ch4.6.1.1:
The wMaxPacketSize of endpoint is defined as follows:
Maximum packet size of endpoint is capable of sending
or receiving when this configuration is selected. This
is determined by the audio bandwidth constraints of
the endpoint.
In current code, the wMaxPacketSize is limited to 200,
and the bInterval is set to 4 (1ms). That is, the maximum
bandwidth over USB bus is 200 * 1000 = 200000 bytes.
We find an issue about bandwidth limitation when we try to
support UAC1 with 8ch * 16bit * 16KHz on RK3308 platform,
which needs more bandwidth than it can support.
This patch sets the wMaxPacketSize dynamically according
to the parameters of UAC1. It is similar to the same thing
done earlier for f_uac2.
Signed-off-by: William Wu <william.wu@rock-chips.com>
(backported from develop-4.19 commit 573d2e1e2e)
Change-Id: I3304f9eb4d1eee18f4beb44af46a246940c2dfe3
Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
For integrated PHY, there is no stmmac_mdio_reset(), so add callback for
the PHY power control during ethernet interface up/down, and suspend/resume.
Signed-off-by: David Wu <david.wu@rock-chips.com>
Change-Id: Ib8ae375ee885aecefc7f5b9a6617523186a3f0e1
1. Free job resource when user exit to call release
2. Support rga_seesion.
Signed-off-by: Li Huang <putin.li@rock-chips.com>
Change-Id: I87d01ce24d80769bb379c6117798063133e922b3