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>
Modify SENSOR_CALIBRATION_ID from 13 to 14 and add
SENSOR_CALIBRATION_ID.
Signed-off-by: Yifeng Zhao <yifeng.zhao@rock-chips.com>
Change-Id: Id10be9960c1d7015edebaa7ccf646d8f16cf1d15
Most of the sdio devices need a simple pwrseq that is referred by
mmc-pwrseq, otherwise the mmc host will be probed as -EPROBE_DEFER
result.
Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com>
Change-Id: I2db654076563d49ddf52d91342fff93d39b218e0