API snd_soc_register_component will try to rebind card per
each component register. and the ASoC allow no-pcm card instance.
devm_snd_soc_register_component
snd_soc_try_rebind_card
snd_soc_bind_card
snd_soc_add_pcm_runtime
devm_snd_dmaengine_pcm_register
So, we should register PCM before DAI component.
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Change-Id: I275e919495280568b6b732097532f466a0cc3a2a
API snd_soc_register_component will try to rebind card per
each component register. and the ASoC allow no-pcm card instance.
devm_snd_soc_register_component
snd_soc_try_rebind_card
snd_soc_bind_card
snd_soc_add_pcm_runtime
devm_snd_dmaengine_pcm_register
So, we should register PCM before DAI component.
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Change-Id: I8de05cf709187afd406775998f58ed5ebdb39d38
API snd_soc_register_component will try to rebind card per
each component register. and the ASoC allow no-pcm card instance.
devm_snd_soc_register_component
snd_soc_try_rebind_card
snd_soc_bind_card
snd_soc_add_pcm_runtime
devm_snd_dmaengine_pcm_register
So, we should register PCM before DAI component.
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Change-Id: Id099f4774e040263a370da36427529d45071c173
API snd_soc_register_component will try to rebind card per
each component register. and the ASoC allow no-pcm card instance.
devm_snd_soc_register_component
snd_soc_try_rebind_card
snd_soc_bind_card
snd_soc_add_pcm_runtime
devm_snd_dmaengine_pcm_register
So, we should register PCM before DAI component.
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Change-Id: I0f9f7efd932fc9572c7574aeefb3d61bc5838db2
API snd_soc_register_component will try to rebind card per
each component register. and the ASoC allow no-pcm card instance.
devm_snd_soc_register_component
snd_soc_try_rebind_card
snd_soc_bind_card
snd_soc_add_pcm_runtime
devm_snd_dmaengine_pcm_register
So, we should register PCM before DAI component.
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Change-Id: I45ade9943670312be7314604cc7c34c252f515e9
API snd_soc_register_component will try to rebind card per
each component register. and the ASoC allow no-pcm card instance.
devm_snd_soc_register_component
snd_soc_try_rebind_card
snd_soc_bind_card
snd_soc_add_pcm_runtime
devm_snd_dmaengine_pcm_register
So, we should register PCM before DAI component.
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Change-Id: Iff41cd4151a5dedb0ae5a45897a86dcccaffb62b
Before: THD is -91.34dB.
After: THD is -103.13dB.
Change-Id: Ieaf326326a36ca320effcd924825dce33c5775fc
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
The queue nodes will be deleted if
CONFIG_DTC_OMIT_EMPTY=y, the driver cannot get it, add
status "okay" attributes to avoid deletion.
Change-Id: I5405c85d549289572807a6387fda00f074d7b1aa
Signed-off-by: Zain Wang <wzz@rock-chips.com>
Signed-off-by: David Wu <david.wu@rock-chips.com>
Before:
text data bss dec hex filename
4090877 1838576 97992 6027445 5bf8b5 vmlinux
After:
text data bss dec hex filename
4826965 2076636 104008 7007609 6aed79 vmlinux
Change-Id: Ie1a185a043dc0444712ac4acbc7c53f5e69dc55c
Signed-off-by: Yao Xiao <xiaoyao@rock-chips.com>
This can clearly tell user the block size from dump dri summry info or
dump buffer name.
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
Change-Id: I94f830344e13f2f7c3ac5e4dbde16521caf431dd
We don't need adjust voltage at runtime, and don't want to
maintain pwm state to keep its voltage in system suspend.
Otherwise it's 0.81v but not 0.90v when system suspend.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: Ia3d0a0901fb0801d8af33f2fd509bab3f2d94a5b
-CONFIG_ARCH_HAS_STRICT_MODULE_RWX=y
-# CONFIG_STRICT_MODULE_RWX is not set
-CONFIG_VIDEOBUF2_CMA_SG
-CONFIG_VIDEOBUF2_DMA_CONTIG
-CONFIG_VIDEOBUF2_VMALLOC
-CONFIG_VIDEOBUF2_DMA_SG
-CONFIG_DRM_EDID
-CONFIG_DRM_DP
-CONFIG_ROCKCHIP_DRM_DEBUG
-CONFIG_SND_PCM_ELD
-CONFIG_SND_SOC_HDMI_CODEC
+CONFIG_DTC_OMIT_DISABLED=y
+CONFIG_DTC_OMIT_EMPTY=y
+CONFIG_MMC_QUEUE_DEPTH=1
before:
text data bss dec hex filename
4113328 1882232 96904 6092464 5cf6b0 vmlinux
after:
text data bss dec hex filename
4090837 1838576 97992 6027405 5bf88d vmlinux
Change-Id: Ie247122d435f7da79081b034822355f45f217f3f
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
1. Add extcon usb vbus_det/id gpios for otg0.
2. Fix the vbus control gpio for otg0.
3. Add vbus control gpio for otg1.
4. Set host mode for otg1.
Change-Id: Ia075889449559539c7a2e41a3c50e2b928a46ad0
Signed-off-by: Jianwei Zheng <jianwei.zheng@rock-chips.com>
Signed-off-by: William Wu <william.wu@rock-chips.com>
This patch enable usb2phy for rk3506g-evb1 and support
to use extcon usb gpio driver for usb2phy vbus and id
detection.
Change-Id: I389cf3801a302ff70b1db673803472e493888294
Signed-off-by: Jianwei Zheng <jianwei.zheng@rock-chips.com>
Signed-off-by: William Wu <william.wu@rock-chips.com>