The note /dev/vendor_storage include api to update loader,
this node must config root user access only, but some
project set this node`s owner as bluetooth ,it is a high
risk that the loader data will be corrupted.
Disable this api by default.
Change-Id: I6beb1b3cf51bffebd0ae05368d8c266439a61f91
Signed-off-by: Yifeng Zhao <zyf@rock-chips.com>
This patch adds the related dts binding document for Rockchip NAND
controller v9.
Change-Id: I783cb1cd957907744812ace2179bb861e7ca4e63
Signed-off-by: Yifeng Zhao <zyf@rock-chips.com>
The nand controller V9 driver for RK3326 and RKPX30.
Change-Id: Ife2190218c29f4ed33def72c092e1fe510c838d0
Signed-off-by: Yifeng Zhao <zyf@rock-chips.com>
This patch adds the related dts binding document for Rockchip NAND
controller v6.
Change-Id: Ib2b196d723a29f8aad95f56905a954547bc93e91
Signed-off-by: Yifeng Zhao <zyf@rock-chips.com>
Don't rechanged the params of dma_trx_obj if /dev/pcie-dev be opened more
than one time
Change-Id: Ie73870e12115d091dcd33afa604c8256388b82b9
Signed-off-by: Simon Xue <xxm@rock-chips.com>
1. Delete unused files
2. Add PCIe udma transfer support
3. Use default Max Payload size setting(128 Bytes)
It's safe to use default Max Payload size setting to support most
devices
Change-Id: I68b60192a90962e03fe52b907a17234e8567e4b4
Signed-off-by: Simon Xue <xxm@rock-chips.com>
RK1608 requires 24M mclk to power on. Some boards(like our
rk1608 board) use external clock source, some are not.
This patch adds 24M mclk reference in rk1608 driver, and
enables it when power on, disables when power off.
Change-Id: I97dc5eeb7c921b53aa2b1edc70926b43a6cc18cd
Signed-off-by: Shunqian Zheng <zhengsq@rock-chips.com>
rk1608 spi can not run at high speed (>40M) at boot time. It needs
initialization before switching to spi max speed.
Change-Id: I27e17d32271012fd48c7feeb8e4939082439b978
Signed-off-by: Shunqian Zheng <zhengsq@rock-chips.com>
To match trunk code of preisp, change some message id.
Change-Id: I08dfc21cc65edefc296901633f3366a5f5241a92
Signed-off-by: Hu Kejun <william.hu@rock-chips.com>
To support preisp post-processing and camera hal1,
let driver probe ok when no sensor device is connected.
Change-Id: I1830420f448b47a0bd327ee3950da0eb7af8d3fb
Signed-off-by: Hu Kejun <william.hu@rock-chips.com>
Support dtbo overlay reboot-mode for Android 10.
Change-Id: I49e2c561ea22da2f35212996ca44d7c7a4f622d5
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Support dtbo overlay reboot-mode for Android 10.
Change-Id: Ic007f0fec02277bbf34425866db9a40890faea1e
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
According to commit 529182e204 ("ramoops: use DT reserved-memory bindings")
Change-Id: Id79d816604f096f4f2e6c25918e65327875cc647
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
According to commit 529182e204 ("ramoops: use DT reserved-memory bindings")
Change-Id: I73efa992937e6faab5cb2987007d98c8e8294cb0
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
The device links used by rockchip-iommu and exynos-iommu are
completely managed by these drivers within the IOMMU framework,
so there is no reason to involve the driver core in the management
of these links.
For this reason, make rockchip-iommu and exynos-iommu pass
DL_FLAG_STATELESS in flags to device_link_add(), so that the device
links used by them are stateless.
[Note that this change is requisite for a subsequent one that will
rework the management of stateful device links in the driver core
and it will not be compatible with the two drivers in question any
more.]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Marek Szyprowski <m.szyprowski@samsung.com>
Acked-by: Joerg Roedel <jroedel@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit ea4f640025)
Change-Id: I5b7ff7d5e6b966f3f5b28ba21a395bde33d3b49a
Signed-off-by: Simon Xue <xxm@rock-chips.com>
Get iommu_ops from platform bus of dev if domain is NULL to avoid
kernel crash
Change-Id: I5554b06a450805fb3812f1ade60f335efa4d2a4e
Signed-off-by: Simon Xue <xxm@rock-chips.com>