Most of the sdio devices need a simple pwrseq that is referred by
mmc-pwrseq, otherwise the mmc host will be probed as -EPROBE_DEFER
result.
Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com>
Change-Id: I2db654076563d49ddf52d91342fff93d39b218e0
drivers/crypto/rockchip/rk_crypto_v2_pka.c:615:6: warning: no previous prototype for rk_pka_set_crypto_base [-Wmissing-prototypes]
drivers/crypto/rockchip/rk_crypto_v2_pka.c:629:5: warning: no previous prototype for rk_pka_expt_mod [-Wmissing-prototypes]
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: Ifd4335f6355ca173e391851bca536cb63ee7d5f5
When DP output in Tyep-C interface, HPD and HPD IRQ info are
send by PD message, and transfer to phy by mux set callback
function. The usbdp phy need tell the DP controller not only
the HPD info, but also HPD IRQ info.
According to DP Standard 1.4a 3.3 section, the HPD IRQ pulse
width should be in the range from 0.5 ms to 1 ms, setting
the low level time between 750 us nad 800 us to satisfied
the specification.
Signed-off-by: Zhang Yubing <yubing.zhang@rock-chips.com>
Change-Id: Ie6d6d0537e6633e6e5f12119ceafc4109e32e74e
The inno usb2 phy binding specifies the clock "phyclk",
however, some Rockchip SoCs (e.g. RV1106/RV1103) have
more than one clock, so this patch reworks the reading
of the clks from the dts to use devm_clk_bulk_get_all()
will fetch all the clocks specified in the dts together.
Signed-off-by: William Wu <william.wu@rock-chips.com>
Change-Id: I07b262e184ee043866b233314c5279f17845b9a4
Due to link order, dma_debug_init is called before debugfs has a chance
to initialize (via debugfs_init which also happens in the core initcall
stage), so the directories for dma-debug are never created.
Decouple dma_debug_fs_init from dma_debug_init and defer its init until
core_initcall_sync (after debugfs has been initialized) while letting
dma-debug initialization occur as soon as possible to catch any early
mappings, as suggested in [1].
[1] https://lore.kernel.org/linux-iommu/YIgGa6yF%2Fadg8OSN@kroah.com/
Change-Id: I615389d4c630cd4fa7482c99f4faef1e3bb87b3c
Fixes: 15b28bbcd5 ("dma-debug: move initialization to common code")
Signed-off-by: Anthony Iliopoulos <ailiop@suse.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
(cherry picked from commit 173735c346)
Modify crypto v3 compatible from "rockchip,crypto_v3" to
"rockchip,crypto-v3".
Signed-off-by: Lin Jinhan <troy.lin@rock-chips.com>
Change-Id: I1bf62136f095e668024969aae354207b37dc0c93
Add automatic check, can be automatically trimmed according
to the register supported algorithm.
Signed-off-by: Lin Jinhan <troy.lin@rock-chips.com>
Change-Id: Ie807cba240389466be1d1f177bbc9b35a47efecb
Add a new generation of Crypto IP drivers and add
multithreaded cipher/hash support.
Signed-off-by: Lin Jinhan <troy.lin@rock-chips.com>
Change-Id: Iaefda28a1efc9c5af29b71cd3453d108b6e9260a
Crypto V2 and Crypto V3 have a lot of code to reuse, so simplify
the code before importing Crypto V3.
Signed-off-by: Lin Jinhan <troy.lin@rock-chips.com>
Change-Id: Ifcd5314a78c56b8db5d2444863172aeceab310d0
When config dp show log as force output mode, it will not get
edid and detect the connect status(to avoid aux error because
sink may be not physical connected). So it should set default
color format and link info before show kernel logo, which will
be used when select the output color format.
Signed-off-by: Zhang Yubing <yubing.zhang@rock-chips.com>
Change-Id: I76ec29cebb101b8629e81eee3d82c93f53cc9102
Loop into each dmabuf and dump its info, including name, exp_name, size
and physical address range from the scatterlist table(sgt).
Since the sgt of dmabuf only exist after device attach/map, but some
dmabufs have not be attach/map by device yet. This patch creates a fake
platform device to do attach/map for a dmabuf who has a empty attachment
list, and unmap/detach after all.
Tested on RV1106 evb: cat /proc/rk_dmabuf
NAME EXPORT SIZE:KiB SGLIST
vmpi rk-dma-heap-cma 4 KiB 0: 0x04548000..0x04548fff
vmpi rk-dma-heap-cma 4 KiB 0: 0x04547000..0x04547fff
vmpi rk-dma-heap-cma 5584 KiB 0: 0x05400000..0x05973fff
vmpi rk-dma-heap-cma 920 KiB 0: 0x05300000..0x053e5fff
vmpi rk-dma-heap-cma 232 KiB 0: 0x045c0000..0x045f9fff
vmpi rk-dma-heap-cma 4 KiB 0: 0x04546000..0x04546fff
vmpi rk-dma-heap-cma 5584 KiB 0: 0x04d00000..0x05273fff
vmpi rk-dma-heap-cma 920 KiB 0: 0x04c00000..0x04ce5fff
vmpi rk-dma-heap-cma 232 KiB 0: 0x04580000..0x045b9fff
vmpi rk-dma-heap-cma 5400 KiB 0: 0x04600000..0x04b45fff
vmpi rk-dma-heap-cma 5400 KiB 0: 0x04000000..0x04545fff
(null) videobuf2_vmalloc 12 KiB
(null) videobuf2_vmalloc 12 KiB
(null) videobuf2_vmalloc 12 KiB
(null) videobuf2_vmalloc 12 KiB
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
Change-Id: Icf46e9d585847ef6dafbddcd24e589046e3ff015