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>
Otherwise now the RPM core will gate the clk and power domain,
so that the hotplug will be broken.
Change-Id: I9104ff1beb2db5ef2752179eb91730f48f3089d7
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
The req_op define had changed and add more operations, the driver
needs to add error handling to handle unsupported operations.
Change-Id: I1ba59ae50ac22f2cf730f21630b42c56f79a96c1
Signed-off-by: Yifeng Zhao <zyf@rock-chips.com>
The previous dtsi set the wrong vbus control GPIO.
Change-Id: Ie5b4062873483a167b5a6ed47bb9dde209124d3f
Signed-off-by: Ren Jianing <jianing.ren@rock-chips.com>
sound/soc/rockchip/rockchip_pdm.c: In function 'rockchip_pdm_hw_params':
sound/soc/rockchip/rockchip_pdm.c:179:3: warning: 'clk_out' may be used uninitialized in this function [-Wmaybe-uninitialized]
Change-Id: I10b240781043a61ce365e6349a102b625db433c7
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
mark rk8xx_is_enabled_wmsk_regmap as is_enable callback func for switch ops.
Change-Id: Id54b6181fd8a39fa51607322c69dc9f5da18593a
Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
Add DT bindings documentation for the px30 crypto drivers.
Change-Id: I15a7ce60cc56c5690d5d2640e78358060f4efa80
Signed-off-by: Lin Jinhan <troy.lin@rock-chips.com>
CONFIG_CPU_RV1108 should be CONFIG_CPU_RV110X
Fixes: b7a15f8858 ("clk: rockchip: build depends on CPU config")
Change-Id: I551a27bd8e76fc10fd7df4d558f3a1b04e4f53da
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Avoid disable the parent clock after the child clock has disabled.
Change-Id: I1ea91afe0b6bbefd3a5d8e88641e4a3af5a368a4
Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
Some divisor calculations were misrounded, causing higher than requested
rates on some clocks. Fix them up using DIV_ROUND_UP.
Change-Id: I8e68282ccfc9c46302913c0946196260ccef0701
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
I2S and UART may be application requirements higher than 30M frequency,
So increase the input frequency limit of the frac divider.
IC back-end emulation 800M is safety.
Change-Id: Ida63505b5124799ad8a64d70af4403eae121cbb8
Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>