irq trigger level flags only support HIGH for GIC.
Fix this warning:
genirq: Setting trigger mode 8 for irq 188 failed (gic_set_type+0x0/0x74)
Change-Id: I3ef2bb7d26003595b8c6dafb932512a0f5eae450
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
This patch enables usb OHCI/EHCI/xHCI controllers
and usb 2.0 phy.
Change-Id: I77671a75a1291b4fcf949a429d3c8cc58ce5b1a3
Signed-off-by: William Wu <william.wu@rock-chips.com>
The dwc3 controller on rk1808 evb with Type-A interface can
act as static host and static device. However, the dwc3 driver
can't switch host and device mode well, so we set dwc3 in gadget
only mode for the time being.
Change-Id: Iaa2af5791dacecdd1e2c784d50f0fea6b3a9deb4
Signed-off-by: William Wu <william.wu@rock-chips.com>
Add PSCI node for RK1808 SoC, and cpu node enable-method property is
set to "psci".
Change-Id: I08c0f49633ec65c6b054c683556add168dd89e48
Signed-off-by: shengfei Xu <xsf@rock-chips.com>
The spi on rv1108 is the same as other rockchip based
socs, add compatible string for it.
Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
(cherry picked from commit 6b860e69e8)
Change-Id: Ia89f3d1392ae27ce36352d5601255a0aca9d1f8f
Tried to correct the right things for buildroot:
* remove rockchip_jtag
* keep console as FIQ0
* add "root=" boot option
* "earlyprintk=uart8250-32bit" -> "earlycon=uart8250,mmio32"
Change-Id: I82fa22ca7e2198dbfacbbf3ac6e951a571c3811c
Signed-off-by: Zain Wang <wzz@rock-chips.com>
The procedure of rpm_idle() is as follows.
rpm_idle
->rpm_suspend
->pm_genpd_runtime_suspend
->pm_clk_suspend
->clk_disable
->genpd_poweroff
Pm_runtime_put(dev) causes rpm_idle() to be queued up, when
pm_clk_suspend() is executed, the rockchip dmcfreq lock is
released, vop clocks may be closed while changing ddr frequency.
Use pm_runtime_put_sync() instead of pm_runtime_put(), so that
rpm_idle can be executed before the lock is released.
Change-Id: Ibf4ff70b65782427eaf0fe9f7566ebff602d3757
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
The permissions of /proc/iomem currently are -r--r--r--. Everyone can
see its content. As iomem contains information about the physical memory
content of the device, restrict the information only to root.
Fix sts testPocCVE_2015_8944
Change-Id: If0be35c3fac5274151bea87b738a48e6ec0ae891
CRs-Fixed: 786116
Signed-off-by: Biswajit Paul <biswajitpaul@codeaurora.org>
Signed-off-by: Avijit Kanti Das <avijitnsec@codeaurora.org>
(cherry picked from https://android.googlesource.com/kernel/msm
commit 60c6b65403b4c9567b53baadca0740915f698ca8)
There is a hardware mistake on firefly board, it will cause the
vdd_log is too low based on previous parameter, so we change the
pwm parameter to make sure the vdd_log is about 0.9v.
Change-Id: I2d63cfe201c02a1351eebae21d1c7d449385087e
Signed-off-by: Wenping Zhang <wenping.zhang@rock-chips.com>
As the external/rkwifibt will callback the wifi module to instead of build-in
for linux.
Change-Id: Id6daabc21c06fb48e6fc1a74cc3d6ad1db6898f1
Signed-off-by: Caesar Wang <wxt@rock-chips.com>
syr827 use for rk1808 NPU power suppply. The default voltage is 1.0v,
we need to set it to 0.85v when board boot up.
Change-Id: Id4f0c400b931d0f97801b9a70760d9ebd351ce4e
Signed-off-by: Lin Huang <hl@rock-chips.com>
If cpu frequency was 1.0 GHz, bluetooth music is unstable. But it
is stable when cpu frequency is 400 MHz. Although I had test the
uart dma driver many days on rk3088, maybe the cpu frequency was low,
and I couldn't produce the issue. In one word, the code is unlogical.
The new logic is that increase the fifo water level, if dmac bursts
before it, wait until dmac finishes and read the rest data.
If dmac doesn't burst after it, then read data from fifo directly.
Change-Id: I6fec42a0895df8a0faeba97d05fd36b761744fa2
Signed-off-by: Huibin Hong <huibin.hong@rock-chips.com>