Commit Graph

844279 Commits

Author SHA1 Message Date
William Wu
955bb70bf1 phy: add cp_test callback
There are several SoCs (e.g. rk3228h and rk3328) that integrated
with Inno USB3 PHY, they can't toggle CP test pattern when do
USB3 compliance test by default.

This patch add a cp_test callback for USB3 controller to enable
the special USB3 PHY to toggle the CP test pattern.

Change-Id: I2d603202723a4c044d4231af10cfe2c60ec0e988
Signed-off-by: William Wu <wulf@rock-chips.com>
2019-10-16 17:35:55 +08:00
Simon Xue
72dd89e1ca PCI: rockchip: Add Rockchip DW PCIe controller support
1. Add support for DW PCIe controller found on RK1808 SoC platform
2. Add support PCIe udma transfer

Change-Id: Ic6d638782d1f55f965d663f73eee14bafa392740
Signed-off-by: Simon Xue <xxm@rock-chips.com>
2019-10-16 17:34:16 +08:00
Shawn Lin
61ba789f0c PCI: dwc: Skip allocating own MSI domain if using external MSI domain
On some platform, external MSI domain is using instead of the one
created by designware driver. For instance, if using GIC-V3-ITS
as a MSI domain, we only need set msi-map in the devicetree but
never need any bit in the designware driver to handle MSI stuff.
So skip allocating its own MSI domain for that case.

Change-Id: Ic4f5f0a1a1833c778c4e4750cb88f34a5b37a198
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Signed-off-by: Simon Xue <xxm@rock-chips.com>
2019-10-16 17:33:00 +08:00
Lin Jinhan
67e7bc4cc0 arm64: dts: rockchip: add rng node for rk3399
use rng of crypto1

Change-Id: Ic8cd339d43012a356d981284726ac4d8158a2316
Signed-off-by: Lin Jinhan <troy.lin@rock-chips.com>
2019-10-16 15:30:36 +08:00
Lin Jinhan
689282bdce hwrng: rockchip: fix bugs on read trng output regs
memcpy_fromio requrie 8 byte align on arm64 while crypto v1 trng output
regs offset is 0x204.

Change-Id: Ida2239a3d493bd9910c63ae4c4be1c23f9cc1212
Signed-off-by: Lin Jinhan <troy.lin@rock-chips.com>
2019-10-16 15:29:35 +08:00
Lin Jinhan
f80caf71dd hwrng: rockchip - add support for Rockchip CRYPTO V1 HW RNG
Change-Id: Ic01b8d40730506a9deee301bccbbe9b91b1dd6a8
Signed-off-by: Lin Jinhan <troy.lin@rock-chips.com>
2019-10-16 15:29:11 +08:00
Lin Jinhan
45f41e9f7f dt-bindings: rng: Document the Rockchip CRYPTO V1 HW RNG bindings
Change-Id: Ie266005701812b96647ea7835e6d4bdf035ba0f9
Signed-off-by: Lin Jinhan <troy.lin@rock-chips.com>
2019-10-16 15:28:55 +08:00
Simon Xue
4ea884cd60 phy: add PCIE_EP and PCIE_RC modes
Innosilicon combophy for PCIe still need different
configuration between EP and RC mode.

Change-Id: Ie1f14e63785f44d84a2b3a154990c6a54eb1156e
Signed-off-by: Simon Xue <xxm@rock-chips.com>
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
2019-10-16 15:26:13 +08:00
Tao Huang
8de6f25db1 arm64: rockchip_defconfig: remove nonexistent config
-CONFIG_DEFAULT_USE_ENERGY_AWARE
-CONFIG_MEMORY_STATE_TIME
-CONFIG_GPIO_RK8XX
-CONFIG_MMC_BLOCK_BOUNCE
-CONFIG_ANDROID_TIMED_GPIO
-CONFIG_ANDROID_LOW_MEMORY_KILLER
-CONFIG_SYNC
-CONFIG_SW_SYNC_USER
-CONFIG_ION_ROCKCHIP
-CONFIG_TIMER_STATS
-CONFIG_DEBUG_SET_MODULE_RONX

Change-Id: I2bf328e70a54878e28084becb9de1f791cc12b1e
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
2019-10-16 10:39:18 +08:00
Tao Huang
d2460b1714 arm64: rockchip_defconfig: disable CC_OPTIMIZE_FOR_SIZE
For better performance.

Change-Id: I7f4a64644078140f5882dac655ec34e25a4b648d
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
2019-10-15 18:08:43 +08:00
Tao Huang
d767344a13 power: supply: rk818_charger: fix gcc warning
drivers/power/supply/rk818_charger.c: In function 'rk818_cg_usb_get_property':
drivers/power/supply/rk818_charger.c:448:11: warning: 'fake_offline' may be used uninitialized in this function [-Wmaybe-uninitialized]
   else if (fake_offline)
           ^

Change-Id: I07ccf6e136d47c75db56004de1c78436e570a356
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
2019-10-15 18:08:43 +08:00
Tao Huang
7b74e8b780 power: supply: rk818_battery: fix gcc warning
drivers/power/supply/rk818_battery.c: In function 'rk818_bat_calc_zero_linek':
drivers/power/supply/rk818_battery.c:1582:6: warning: 'cnt' may be used uninitialized in this function [-Wmaybe-uninitialized]
   cnt++;
   ~~~^~
drivers/power/supply/rk818_battery.c: In function 'rk818_battery_resume':
drivers/power/supply/rk818_battery.c:3465:20: warning: 'time_step' may be used uninitialized in this function [-Wmaybe-uninitialized]
  int interval_sec, time_step, pwroff_vol;
                    ^~~~~~~~~

Change-Id: I405e7c1b3a3b567693244b40acdf8ed924331cf7
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
2019-10-15 18:08:43 +08:00
Tao Huang
20e4b440ce power: supply: rk817_battery: fix gcc warning
drivers/power/supply/rk817_battery.c: In function 'rk817_bat_pm_resume':
drivers/power/supply/rk817_battery.c:3290:34: warning: 'time_step' may be used uninitialized in this function [-Wmaybe-uninitialized]
      (battery->sleep_dischrg_sec > time_step)) {
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~

Change-Id: I5ca86f00471e467448145bcb001d17b0ed242c49
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
2019-10-15 18:08:43 +08:00
Tao Huang
3854c061b9 net: rockchip_wlan: bcmdhd: fix gcc warning
drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/bcmsdh_sdmmc.c: In function 'sdioh_request_packet_chain':
drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/bcmsdh_sdmmc.c:1291:77: warning: '*((void *)&before+8)' may be used uninitialized in this function [-Wmaybe-uninitialized]
    write, ttl_len, now.tv_sec-before.tv_sec, now.tv_nsec/1000-before.tv_nsec/1000));
                                                                             ^
drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/bcmsdh_sdmmc.c:1107:23: note: 'before' was declared here
  struct timespec now, before;
                       ^~~~~~

Change-Id: I34e1b7132ad2771932e53475788dd4f3607f0233
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
2019-10-15 18:08:43 +08:00
Tao Huang
6664bfef49 input: sensors: mc3230: fix gcc warning
drivers/input/sensors/accel/mc3230.c: In function 'sensor_report_value':
drivers/input/sensors/accel/mc3230.c:602:4: warning: 'result' may be used uninitialized in this function [-Wmaybe-uninitialized]
  x = mc3230_convert_to_int(buffer[0]) * g_value;
  ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/input/sensors/accel/mc3230.c:521:6: note: 'result' was declared here
  int result;
      ^~~~~~

Change-Id: I817bbd56a2a194388bde705cbfa350f8d33b6efa
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
2019-10-15 18:08:43 +08:00
Tao Huang
8959d2a951 thermal: rk3368: fix gcc warning
drivers/thermal/rk3368_thermal.c: In function 'rk3368_thermal_get_temp':
drivers/thermal/rk3368_thermal.c:580:12: warning: 'val_cpu' may be used uninitialized in this function [-Wmaybe-uninitialized]
   old_data = tsadc_data;
   ~~~~~~~~~^~~~~~~~~~~~
drivers/thermal/rk3368_thermal.c:529:6: note: 'val_cpu' was declared here
  int val_cpu;
      ^~~~~~~

Change-Id: I365441507082cbbd0f7be01e5f0a09674af6230d
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
2019-10-15 18:08:43 +08:00
Jon Lin
e2a024e1cc drivers: rkflash: remove using memzero func
Change-Id: I4310c9f0aa75c5d1b0abbd31ba84746a74e1f655
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
2019-10-15 16:13:55 +08:00
Tao Huang
52d7b98f85 ARM: rockchip_defconfig: enable HZ_1000
For save boot time.

Change-Id: Id7c7db00f23a528445ffc651679d6efac65673fe
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
2019-10-15 14:48:55 +08:00
Tao Huang
9a883c648a arm64: rockchip_defconfig: enable HZ_1000
For save boot time.

Change-Id: I46496ae86e462882cfd3e357a3b0ee3cfc3117da
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
2019-10-15 14:35:16 +08:00
Bian Jin chen
985ebcf8d2 arm64: rockchip_defconfig: enable CONFIG_HW_RANDOM
Enable the Rockchip HW random driver to prevent Android init
from hang due to low entropy.

Change-Id: I0f2c2c1c27c4c91002a42c8cb77e44809815bd03
Signed-off-by: Bian Jin chen <kenjc.bian@rock-chips.com>
2019-10-15 14:19:06 +08:00
Zhen Chen
de4888b119 MALI: bifrost: Add necessary calling of dev_pm_opp_put()
According to
commit 8a31d9d942 ("PM / OPP: Update OPP users to put reference")

Fixes: b0ad177659 ("MALI: rockchip: upgrade Bifrost DDK to r20p0-01rel0, from r12p0-01rel0")
Change-Id: I2df7c7ddab0ae740e75579a0f620c3d918f0eed5
Signed-off-by: Zhen Chen <chenzhen@rock-chips.com>
2019-10-15 12:02:31 +08:00
Liang Chen
70537fcbc1 Revert "FROMLIST: sched/topology: Make Energy Aware Scheduling depend on schedutil"
We use cpufreq_interactive governor with Energ Aware Scheduling.

This reverts commit 1e6b1214f1.

Change-Id: I782bed880c858537a89e8928921cbecaeb31d593
Signed-off-by: Liang Chen <cl@rock-chips.com>
2019-10-15 11:14:27 +08:00
Liang Chen
0543e06990 arm64: rockchip_defconfig: enable ENERGY_MODEL and CPU_FREQ_GOV_SCHEDUTIL
Change-Id: Id6205d8e81c0250ca486465c8236f4c54a0f14bf
Signed-off-by: Liang Chen <cl@rock-chips.com>
2019-10-15 11:14:18 +08:00
Liang Chen
7af7d04714 cpufreq: interactive: New 'interactive' governor
Change-Id: I23b6b07b5dc44f51e18bd6430d4908b49c1c1813
Signed-off-by: Liang Chen <cl@rock-chips.com>
2019-10-15 11:10:31 +08:00
Jianqun Xu
2fb26d6cd9 arm64: dts: rockchip: rk1808: pick commits about rk1808 dtsi from v4.4
This patch do these operation:

42a2c3610d88 Revert "Revert "arm64: dts: rockchip: update iommu clk name from "hclk" to "iface"""
ca40255ac827 arm64: dts: rockchip: adjust dmc opp-table for rk1808
3c867de9a7f3 arm64: dts: rockchip: rk1808: set PCIe as RC default
5eab28bdf11e arm64: dts: rockchip: rk1808: add usb3phy_grf_p for combo phy
a3bb2719be95 arm64: dts: rockchip: rk1808: set min voltage for dmc when low temperature
e0d40e1af1dd arm64: dts: rockchip: limit vdd_npu to 0.88V for rk1808 SoCs
ccffc153ed72 arm64: dts: rockchip: rk1808: add mipi csi dts config
ca3c7ea638a7 arm64: dts: rockchip: rk1808: Add wide-temperature configure
6d4c56b8202a arm64: dts: rockchip: Add system monitor node
77cd099b752f arm64: dts: rockchip: rk1808: disable peri ms and sram auto CS
f4eb4471e1c2 arm64: dts: rockchip: rk1808: Correct the drive strength for rgmii/rmii
302df1d57c63 arm64: dts: rockchip: modify io driver strength for rk1808
6a8dfe606a0a arm64: dts: rockchip: rk1808: assigned-clock-parents for clk_32k_ioe
c2901bf3f30e soc: rockchip: Change the parameter of power model for cpu and npu
71812e7394a4 arm64: dts: rockchip: add soc_bus support for rk1808
2463e3323cd7 arm64: dts: rockchip: adjust opp-table for rk1808 SoCs
4c3b6ea9751c arm64: dts: rockchip: rk1808: support cpu idle
e2037aa67f8f Revert "arm64: dts: rockchip: rk1808: Correct the drive strength for rgmii/rmii"
bca7a337bb60 Revert "soc: rockchip: Change the parameter of power model for cpu and npu"
63f5e887d360 Revert "arm64: dts: rockchip: Add system monitor node"
d691a5bf4b5f Revert "arm64: dts: rockchip: update iommu clk name from "hclk" to "iface""

Change-Id: Ic5915c50019710b57d28e6d1833a6132af57c870
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
2019-10-15 10:46:29 +08:00
Zhen Chen
b0ad177659 MALI: rockchip: upgrade Bifrost DDK to r20p0-01rel0, from r12p0-01rel0
I replace "sg_dma_len" with "MALI_SG_DMA_LEN"
and rename configs which have duplicated names in midgard/, as before.

Note that drivers/gpu/arm/bifrost on DDK r20
depends on drivers/base/memory_group_manager.

Change-Id: Ie51fda035a98b5151f25a0fcf7294b88d4ecc978
Signed-off-by: Zhen Chen <chenzhen@rock-chips.com>
2019-10-15 10:10:21 +08:00
Zhen Chen
14a1d81065 arm64: configs: rockchip_defconfig: enable CONFIG_MALI_MEMORY_GROUP_MANAGER
Change-Id: Ie62e63c7222da4da289e8fd9767f6237de1dcbf8
Signed-off-by: Zhen Chen <chenzhen@rock-chips.com>
2019-10-15 10:10:21 +08:00
Zhen Chen
2ec8b27024 Add memory_group_manager introduced by Bifrost DDK r20p0-01rel0
drivers/gpu/arm/bifrost on DDK r20 depends on this module.

Change-Id: I175fbd2429aa1b8a658c431ce71503c67976db3d
Signed-off-by: Zhen Chen <chenzhen@rock-chips.com>
2019-10-15 10:10:21 +08:00
Marc Zyngier
0f1d09351e UPSTREAM: arm64: dts: rockchip: Add capacity-dmips-mhz attributes to rk3399
The RK3399 has the interesting property to be a so called "big-little"
system, where not all the CPUs are equal (the A53s are much weaker
than the A72s).

So far, we're not telling the OS that there is such a difference in
processing capacity, and Linux assumes that they are equal. Too bad.

Let's tell the OS about this by using the capacity-dmips-mhz
property. The values used here are those used on the Juno platform,
which is quite similar. This leads to the scheduler knowing that
it can pack more tasks on the A72s, and leads to a better interactive
experience.

Tested-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
(cherry picked from commit 97df3aa76b)
Signed-off-by: Liang Chen <cl@rock-chips.com>

Change-Id: I778b5decfbee73c8f78d9f746c9546ecff065039
2019-10-15 09:45:01 +08:00
Jianqun Xu
02a77f287b pinctrl: rockchip: add support for rk1808 SoCs
Add support for pinctrl on RK1808 SoCs.

Squash these patches:
'b2828bc4417c pinctrl: rockchip: add support for rk1808 SoCs'
'12db436a6307 pinctrl: rockchip: add rk1808 mux route'
'9fe8305b6824 pinctrl: rockchip: Fix the register offset of drive for rk1808'
'fb4f9d860bcd pinctrl: rockchip: fix rk1808_mux_route_data'
'0d9f037d8219 picntrl: rockchip: fix pull register offset for rk1808'
'56850f2349be pinctrl: rockchip: Add spi1/spi2 route select function for rk1808'

Change-Id: I0688a61af139cc24363b7515036c80d25ff6a738
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
2019-10-15 09:44:02 +08:00
Shengfei Xu
647c53f05e power: battery: setup_timer() -> timer_setup()
Change-Id: I4980d5665d2465ddba0df8a078f44a83037ce285
Signed-off-by: Shengfei Xu <xsf@rock-chips.com>
2019-10-15 09:41:07 +08:00
Shengfei Xu
833f9df6a7 power: charger: replace the extcon API
This patch replaces the deprecated extcon API as following:
- extcon_get_cable_state_() -> extcon_get_state()

Change-Id: Id800b939bad8695f23841d5534c285b51dd60fb0
Signed-off-by: Shengfei Xu <xsf@rock-chips.com>
2019-10-15 09:41:07 +08:00
Shengfei Xu
74f151bae8 power: battery/charger: move battery/charger drivers to power/supply
Change-Id: I70092715368a9d5c7241258a97dc51e55659499b
Signed-off-by: Shengfei Xu <xsf@rock-chips.com>
2019-10-15 09:41:07 +08:00
Faiz Abbas
c79c899dea FROMLIST: mmc: cqhci: commit descriptors before setting the doorbell
Add a write memory barrier to make sure that descriptors are actually
written to memory before ringing the doorbell.

Change-Id: Ia9e6b72d49969c3fff49386a3a6c0d2fd5d88237
Signed-off-by: Faiz Abbas <faiz_abbas@ti.com>
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
(cherry picked from https://patchwork.kernel.org/patch/11189311/)
2019-10-15 08:58:15 +08:00
Shengfei xu
c17beee83e mfd: RK808: update the "pm_power_off" initalization conditons
Only the powerofff callback feature is supported through the
rockchip,system-power-controller.

Change-Id: I55e73c05a749edab6c3710e304ee86c03812ab6f
Signed-off-by: Shengfei xu <xsf@rock-chips.com>
2019-10-14 10:24:41 +08:00
shengfei Xu
39eba75127 rtc: rk808: check the rtc is available for rk816
Change-Id: I383c08cd5ad7cb282c0ec0aa12e9e84c9df52ba3
Signed-off-by: shengfei Xu <xsf@rock-chips.com>
2019-10-14 10:24:41 +08:00
Wyon Bi
c771f313d2 arm64: dts: rockchip: Change rk618 clkin rate to 11.2896MHz
Change-Id: I5d4b00855d29bc4f2ccf6754eb191e70f1632f51
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
2019-10-14 10:07:33 +08:00
Wu Jingchen
7e2c9c679c arm64: dts: rockchip: px30-evb-ext-rk618: Create a new dtsi for rk618
Change-Id: I7511599eba331044f8e386dcc5d5840a1eec5457
Signed-off-by: Wu Jingchen <oven.wu@rock-chips.com>
2019-10-14 10:07:33 +08:00
Wu Jingchen
675c418862 arm64: dts: rockchip: px30-evb-ext-rk618-avb: Add rule in Makefile
Change-Id: I2b1d636e4be4b7758007ea5d8fbdefb9c040713b
Signed-off-by: Wu Jingchen <oven.wu@rock-chips.com>
2019-10-14 10:07:33 +08:00
Wu Jingchen
311d725cbd arm64: dts: rockchip: px30-evb-ext-rk618-avb: Add dts for 9.0 double-screen display
Change-Id: I1d6470d5fe163f8ef59a5ee2593fe2c73e3dbdfa
Signed-off-by: Wu Jingchen <oven.wu@rock-chips.com>
2019-10-14 10:07:33 +08:00
Arnd Bergmann
5520c24000 BACKPORT: soc: rockchip: work around clang warning
clang emits a warning about a negative shift count for an
unused part of a conditional constant expression:

drivers/soc/rockchip/pm_domains.c:795:21: error: shift count is negative [-Werror,-Wshift-count-negative]
        [RK3328_PD_VIO]         = DOMAIN_RK3328(-1, 8, 8, false),
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/soc/rockchip/pm_domains.c:129:2: note: expanded from macro 'DOMAIN_RK3328'
        DOMAIN_M(pwr, pwr, req, (req) + 10, req, wakeup)
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/soc/rockchip/pm_domains.c:105:33: note: expanded from macro 'DOMAIN_M'
        .status_mask = (status >= 0) ? BIT(status) : 0, \
                                       ^~~~~~~~~~~
include/linux/bits.h:6:24: note: expanded from macro 'BIT'

This is a bug in clang that will be fixed in the future, but in order
to build cleanly with clang-8, it would be helpful to shut up this
warning. This file is the only instance reported by kernelci at the
moment.

The best solution I could come up with is to move the BIT() usage
out of the macro into the instantiation, so we can avoid using
BIT(-1).

Link: https://lore.kernel.org/r/20190703153112.2767411-1-arnd@arndb.de
Link: https://bugs.llvm.org/show_bug.cgi?id=38789
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Nathan Chancellor <natechancellor@gmail.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
(cherry picked from commit b27aca2e55)

Change-Id: Iaab1301533c185524d17fa95182e87ab9dd2d428
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
2019-10-14 09:40:28 +08:00
Ziyuan Xu
7a3d3a4938 arm64: dts: rockchip: px30: add rng node for crypto v2 hwrng
Note that rng and crypto employ the same hardware resource, they're
incomatible.

Change-Id: I1ec49380bcc8b7ca23c1bf6b98220f0bb8b53938
Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com>
2019-10-12 17:03:16 +08:00
Tao Huang
b2fcbc0d96 video: rockchip: rga2: fix clang warning
drivers/video/rockchip/rga2/rga2_mmu_info.c:284:20: warning: explicitly assigning value of variable of type 'uint32_t' (aka 'unsigned int') to itself [-Wself-assign]
            stride = stride;
            ~~~~~~ ^ ~~~~~~

Change-Id: I1c5d3b2f3354437777c8431ad027a98815f1fe70
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
2019-10-12 15:27:57 +08:00
Tao Huang
8b3fb89340 input: sensors: gyro: fix clang warning
drivers/input/sensors/gyro/l3g4200d.c:175:21: warning: address of array 'pdata->orientation' will always evaluate to 'true' [-Wpointer-bool-conversion]
        if(pdata && pdata->orientation)
                 ~~ ~~~~~~~^~~~~~~~~~~

drivers/input/sensors/gyro/l3g20d.c:175:21: warning: address of array 'pdata->orientation' will always evaluate to 'true' [-Wpointer-bool-conversion]
        if(pdata && pdata->orientation)
                 ~~ ~~~~~~~^~~~~~~~~~~

drivers/input/sensors/gyro/ewtsa.c:386:21: warning: address of array 'pdata->orientation' will always evaluate to 'true' [-Wpointer-bool-conversion]
        if(pdata && pdata->orientation)
                 ~~ ~~~~~~~^~~~~~~~~~~

Change-Id: Ic4f9f33ac1654711434a9ab383da02bfade5ab13
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
2019-10-12 15:27:57 +08:00
Tao Huang
17b4bef55c video: rockchip: vpu: Update OPP users to put reference
According to
commit 8a31d9d942 ("PM / OPP: Update OPP users to put reference")

Change-Id: I38bd7f57b8836f8caa9d7046c22fdf5232b78bae
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
2019-10-12 15:25:20 +08:00
Tao Huang
b66185cc7e RK3368 GPU: Update OPP users to put reference
According to
commit 8a31d9d942 ("PM / OPP: Update OPP users to put reference")

Change-Id: Iece900f2814f84d14e1f67fb3d78d724b3ad9dc3
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
2019-10-12 15:25:20 +08:00
Tao Huang
088f84bf55 GPU: Rogue_M: Update OPP users to put reference
According to
commit 8a31d9d942 ("PM / OPP: Update OPP users to put reference")

Change-Id: I5a2e62f5dbac3e2b894445274dce2d3c1644f192
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
2019-10-12 15:25:20 +08:00
Tao Huang
d525a9ab3d Mali: midgard_for_linux: Update OPP users to put reference
According to
commit 8a31d9d942 ("PM / OPP: Update OPP users to put reference")

Change-Id: Id38e4632f951242bcbebef3fba066c118d2203e3
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
2019-10-12 15:25:20 +08:00
Tao Huang
a4513fc9c7 Mali: midgard: Update OPP users to put reference
According to
commit 8a31d9d942 ("PM / OPP: Update OPP users to put reference")

Change-Id: I355e2752197b0625123e3af61fcbd871a59f0c71
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
2019-10-12 15:25:20 +08:00
Tao Huang
643e24b271 Mali: utgard: Update OPP users to put reference
According to
commit 8a31d9d942 ("PM / OPP: Update OPP users to put reference")

Change-Id: Ic142e054b3366737f0fcdc34ac0a19fc7dcd78d6
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
2019-10-12 15:25:20 +08:00