Support to reserve memory region for ion device.
Change-Id: Ib951abd2f24560a204de94f3d51b79c7c1ad75da
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
Add deinit gpiod for camera sensor when probe failed.
The video_device->ctrl_handler = NULL in soc_camera, in order to
VIDIOC_CTRL call v4l2_ioctl_ops.
Change-Id: Idf2d8bf2c8d56ec921084dcd74220ed3c5541427
Signed-off-by: Peng Zhou <benjo.zhou@rock-chips.com>
As the cpu frequency is less than 816MHz, the HDMI display maybe
probably cause a flower screen as below log[0]. And Kylin used the rk3036g
series SoCs that the max cpu frequency supported the 1GHz, not 1.2GHz.
In a word, keep the cpu frequency to 1GHz for kylin board.
log[0]:
[26.498843] rk_iommu 10118300.iommu: Enable stall request timed out,
status: 0x000011
[26.528809] rk_iommu 10118300.iommu: Disable paging request timed out,
status: 0x000011
[26.598849] rk_iommu 10118300.iommu: Enable stall request timed out,
status: 0x000011
[26.607579] rockchip-vop 10118000.vop: Failed to attach iommu device
[26.614916] rockchip-vop 10118000.vop: failed to attach dma mapping, -110
..
Change-Id: I8e1d4527b649d8857a9d80a121c10935a4cd1030
Signed-off-by: Caesar Wang <wxt@rock-chips.com>
As the ap6212 used on kylin board, the kylin always got the error log
when we connected the AP. Says:
..
[ 70.169440] CFG80211-ERROR) wl_cfg80211_get_station :
wl_cfg80211_get_station: if_counters not supported ret=-23
[ 70.184371] CFG80211-ERROR) wl_cfg80211_get_station :
wl_cfg80211_get_station: if_counters not supported ret=-23
..
And the normal status, the ap6212 wifi always print the ssid and channel
message for output. Says:
..
[ 125.172243] wl_run_escan: LEGACY_SCAN sync ID: 4, bssidx: 0
[ 178.181897] wl_run_escan: LEGACY_SCAN sync ID: 5, bssidx: 0
[ 241.192452] wl_run_escan: LEGACY_SCAN sync ID: 6, bssidx: 0
..
The AP6212 don't need these logs for default status.
Change-Id: I43455bcc277e380daf15ee91a1436cdc81a95039
Signed-off-by: Caesar Wang <wxt@rock-chips.com>
Some platform doesn't support that, disable this feature at
the probing time.
Change-Id: I80618ea52a6796f932ce5748288c4fa61bef51ea
Signed-off-by: Randy Li <randy.li@rock-chips.com>
When printk to pstore console, we ignore log level. So
/sys/fs/pstore/console-ramoops-0 should keep full kernel log.
Change-Id: I87ea3418741c117523a9e872ae7ace4dac0cd9d3
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
update rtl8723cs wifi driver to version v5.2.1.7_25082.20171108_COEX20170626-1a00
Change-Id: Ibe11dcb9b3592dfd7f554c20814b3233da87ff24
Signed-off-by: Alex Zhao <zzc@rock-chips.com>
update rtl8723ds wifi driver to version v5.2.15.1_25011.20171107_COEX20171025-2020
Change-Id: Ifbf94c2ebc7c7d8e529910d77f6094d0ae4f7907
Signed-off-by: Alex Zhao <zzc@rock-chips.com>
Move cif from rk3368-android.dtsi to rk3368-px5-evb-android.dts.
Redefine pinctrl for isp in rk3368-px5-evb-android.dts.
Change-Id: Ie8cd56cef507482b7d5e974a02f79279f0984aed
Signed-off-by: Peng Zhou <benjo.zhou@rock-chips.com>
rate is not correct in interrupt mode, so just return and we
always use poll mode
Change-Id: I494600852907a8fff6599305195f5b4ccdb0bf7c
Signed-off-by: Zorro Liu <lyx@rock-chips.com>
snd_timer_notify1() is called outside the spinlock and it retakes the
lock after the unlock. This is rather racy, and it's safer to move
snd_timer_notify() call inside the main spinlock.
The patch also contains a slight refactoring / cleanup of the code.
Now all start/stop/continue/pause look more symmetric and a bit better
readable.
Bug: 37240993
Change-Id: Ib90099f88c8b04928a8cdd2808cd9e16da6d519c
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Siqi Lin <siqilin@google.com>
Use regmap method instead of iomap for dwc_otg_310 driver.
Change-Id: I78e91f99196f7619c84b53a579909925167b145c
Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
Since the DWC USB2.0 host of Rockchip use dwc2 driver instead of
dwc_otg_310 driver, so delete these legacy hack code which contain
the old cru-soft-rst API directly.
Change-Id: I2990c111481a14084c8aa96a54192b9fe88aa61c
Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
1) coding style
2) gsensor calibration by user
3) make sensor rate setting effective
Change-Id: I123674ad2fde72b0aa84e6135669ce1f44d5229d
Signed-off-by: Zorro Liu <lyx@rock-chips.com>