vcc_bat has no voltage divider, so correct it.
Signed-off-by: Nickey Yang <nickey.yang@rock-chips.com>
Change-Id: Ibb3eb7b32c84414bf47677c422d2cbf3b1ddbac3
Now a regulator device can supply multiple consumers at the same time,
if a consumer starts and set a low voltage, another consumer doesn't
start in kernel but has been set a high frequency in bootloader will
abort.
This patch Adds support to limit min_uV during kernel startup to make
sure the voltage can suit the needs of all consumers.
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
Change-Id: I6b65a10d247564bea282e628ee338f7919cbb34d
This change allows the user to read and edit regulator information
in user space through the debugfs file system.
Base on msm work.
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
Change-Id: I038d2ad43ece4ed927db1ff36c7d1a644c1cf3d1
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