-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
When import/release buffer frequently called in parallel, may cause
RGA3 timeout.
IOMMU op need pm_runtime_get_sync to flush tlb.
Signed-off-by: Li Huang <putin.li@rock-chips.com>
Change-Id: I5dd61f287740da682975189fa69dce73ee570f04
Some devices need more #PERST inactive time, so we need expose
DT property.
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Change-Id: I95e2236f7c2005942c2c6247f069ebe24ba5c182
When call pm_runtime_get_sync(), the runtime callback will change clock
source to normal pll, but now pm_runtime_get_sync() is called in a delay
work and the wakelock seems to be invalid on linux system,
so when suspend the pm_runtime_get_sync() may not be called.
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
Change-Id: I0a951b455c10158ca63d747e35e9001cdbdde91c
1. Fixup misc_register fail
2. Close power always on
3. Move timer init after register success
Signed-off-by: Li Huang <putin.li@rock-chips.com>
Change-Id: I4b7753b6e6fe5f7c1dc3a8b4591ea7ccce690421
Powergood integrated on npor is an interrupt signal that triggers
an interrupt when a specific level value is detected.
Do some software protection for the system when the interrupt is
triggered.
Change-Id: I928c05e9dd7c7ac76af54135c7ea73d377c22807
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>