The sensor-dev framework and device drivers depend on each other,
causing sensor initialization to fail. eg:
[ 2.907011] i2c i2c-4: sensor_probe: mpu6500_acc,000000006539f8ba
[ 2.907626] sensors 4-0068: sensor_chip_init:ops is null,sensor name is mpu6500_acc
[ 2.908318] i2c i2c-4: sensor_probe failed -1
Signed-off-by: Wang Jie <dave.wang@rock-chips.com>
Change-Id: Ic1f320a7c40bde0c4e3db3dc43542302d9270f42
The removectl drivers may be build as driver, set Kconfig to tristate to
support it.
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Change-Id: Id786747e0eb0748644dc0fe76110e2805d4f2500
- Export API for other drivers;
- Add a local cpu_logical_map() implementation since
cpu_logical_map() is not export.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: I784dbbbaf76efaca0bbdcf0d183518be88a7f0c7
1.support module
2.export symbol of rockchip_debug_dump_pcsr,
rockchip_debug_dump_pcsr is called by fiq debugger
Change-Id: I28776fa2f6c34042a3771de82d43f1365bd01f4c
Signed-off-by: Huibin Hong <huibin.hong@rock-chips.com>
emmc_disk is not used now, so remove it.
Change-Id: I8fb0fa17873bc3289c968db4c98f61040b02572c
Fixes: de208e40d9 ("mmc: porting legacy tactices into 4.19")
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
The WiFi needs a always-on 32.768k clock on rv1126-battery-v10 board.
The original driver disables the clock whilst registering the
*rtc_clk*, we have to avoid *disable* to make sure WiFi is available.
Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com>
Change-Id: Ia612b17a3d9fdef2a3d37ca2862c46b81db9133d
The current code resize the txfifos for all assigned endpoints
when enable ep. If we config the USB function as UVC, the txfifos
will be resized every time when we open UVC. It's safely to resize
the txfifos if only UVC is used. However, if we config the USB
as a composite device (UVC + RNDIS), and if we resize the txfifos
when the RNDIS data transfer in progress, it may make the controller
broken.
To fix this issue, we only resize the txfifos the first time we
enable the isoc eps.
Change-Id: I6b4fa093bff1a9752fbbd7bd4401b998ff02ad23
Signed-off-by: William Wu <william.wu@rock-chips.com>
When dst needs to write data to the virtual address,
it needs to make the dst page invlaid after rga runs.
Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com>
Change-Id: I7abf580fbca302dba043bb0f84d32cb0369e4e48
Use dma_map_page/dma_unmap_page to flush cache.Users
need to call rga2_blit_flush_cache() to flush cache
according to their needs.
Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com>
Change-Id: Ic929d3d4e5c1d23fae542481ca90ab6ba1680e0e
In order to suppot the case probing both EMMC and SFC
with pinctrl enabled, we'd better to set GPIO0_D6 iomux
EMMC pins.
Change-Id: Ia9dccfff3acfae31c153222d191391dbc5e7ac12
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
This board is the same as rv1126-38x38-v10-emmc.dts,
except camera sensor.
Signed-off-by: Weiwen Chen <cww@rock-chips.com>
Change-Id: Ib0850951b5c4e6cb7d33a71aa8fb4956b03df20a
Make the pclk of gpio controller on Rockchip SoCs always on.
Change-Id: I00b54ff7d3125bf7939dc10b68072e21994c2611
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
fix report wrong log when short time < middle time or middle time < long time
Signed-off-by: Hu Kejun <william.hu@rock-chips.com>
Change-Id: I7a9a17d82412d1a5b56488da3b6bcdf9f4f58dbf
SPI NAND is driven by SFC, so disable nandc because do not need
Signed-off-by: Nickey Yang <nickey.yang@rock-chips.com>
Change-Id: I47027c0118dadbede3b47d0d25d49ff47bde306a