Commit Graph

603731 Commits

Author SHA1 Message Date
Vivek Gautam
33273664b2 UPSTREAM: phy: Group vendor specific phy drivers
Adding vendor specific directories in phy to group
phy drivers under their respective vendor umbrella.

Also updated the MAINTAINERS file to reflect the correct
directory structure for phy drivers.

Change-Id: I94a1894be5f5134dfe819aee266d735b44a44ada
Signed-off-by: Vivek Gautam <vivek.gautam@codeaurora.org>
Acked-by: Heiko Stuebner <heiko@sntech.de>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Acked-by: Krzysztof Kozlowski <krzk@kernel.org>
Acked-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
Cc: Kishon Vijay Abraham I <kishon@ti.com>
Cc: David S. Miller <davem@davemloft.net>
Cc: Geert Uytterhoeven <geert+renesas@glider.be>
Cc: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Cc: Guenter Roeck <linux@roeck-us.net>
Cc: Heiko Stuebner <heiko@sntech.de>
Cc: Viresh Kumar <viresh.kumar@linaro.org>
Cc: Maxime Ripard <maxime.ripard@free-electrons.com>
Cc: Chen-Yu Tsai <wens@csie.org>
Cc: Sylwester Nawrocki <s.nawrocki@samsung.com>
Cc: Krzysztof Kozlowski <krzk@kernel.org>
Cc: Jaehoon Chung <jh80.chung@samsung.com>
Cc: Stephen Boyd <stephen.boyd@linaro.org>
Cc: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-arm-msm@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Cc: linux-omap@vger.kernel.org
Cc: linux-renesas-soc@vger.kernel.org
Cc: linux-rockchip@lists.infradead.org
Cc: linux-samsung-soc@vger.kernel.org
Cc: linux-usb@vger.kernel.org
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
2017-09-28 14:12:47 +08:00
Mark Yao
49648963fb arm64: dts: rockchip: add gamma lut for rk3399 evb3 android
Change-Id: I08fc9a93047886df23f97ddd249abb591a9b47ff
Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
2017-09-28 14:10:19 +08:00
Mark Yao
3343d6569e drm/rockchip: vop: support parse dsp-lut from dts
Change-Id: I2d827f44457aa06250a672e421cf31347254b57c
Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
2017-09-27 15:16:41 +08:00
Mark Yao
e7942c8835 drm/rockchip: logo: remove logo memory when show logo failed
Change-Id: I8191581a802b6dc74c23fc08d74f226ce4b38d40
Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
2017-09-27 10:39:08 +08:00
Mark Yao
973913b813 drm/rockchip: logo: fixup display state when show logo failed
Change-Id: I7c2afa8803d56333252306bd5039eddf4083c1f0
Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
2017-09-27 10:39:08 +08:00
Mark Yao
39d2b5207c drm/rockchip: vop: correct afbc atomic check
Afbc only check the new state, If new atomic state has no plane state,
But old plane state has afbdc, the afbc check would be wrong, and cause
display abnormal.

Change-Id: I078241149c302ca137bec69f310555c7c37c6992
Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
2017-09-27 10:16:40 +08:00
buluess.li
18506aa60b ARM: dts: rockchip: add peripheral for rk3229-evb
enable the following peripherals:hdmi/wifi/
hdmi_sound/spdif/sdio/sdmmc/hym8563(rtc);
enable the integrated phy for gmac by default.

Change-Id: I92f10e02c5c783c044ab4a080f6f553458d5a971
Signed-off-by: Xinhuang Li <buluess.li@rock-chips.com>
2017-09-26 18:11:12 +08:00
Mark Yao
2d604c4ebc video/rockchip: rga2: using common dma_buf api for ion dma fd
Change-Id: Iea8e6104f06341a5cadecec84ebdbd01d0512af1
Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
2017-09-26 16:00:24 +08:00
Wyon Bi
aec25fa538 drm/rockchip: dsi: fix logic error in rockchip_dsi_host_attach()
At this point in time, dsi->slave is always NULL, so fix it.

Change-Id: I4f5a75d2547b1083751fcbbb0c7e0c568dc19028
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
2017-09-26 15:59:48 +08:00
Wyon Bi
1a604d130e ARM: dts: rockchip: rk3288: add reset for dsi node
Change-Id: I99213f8c44c5b9123f5adc9cbc5b3db1660ed363
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
2017-09-26 15:59:31 +08:00
Wyon Bi
11e801adcc drm/rockchip: dsi: properly check return value of some functions
Fixes: d6dfcd07b7 ("drm/rockchip: dw-mipi-dsi: analyze the platform parameters in the probe function")
Change-Id: Iecf9532f52a1b27ea063556701f840329881a2e2
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
2017-09-26 15:59:22 +08:00
David Wu
30027c2fda ARM: rockchip_defconfig: Enable CONFIG_KEYBOARD_ADC
Change-Id: I04aeb6a78ef37fa97ae190ac985cd67d00493041
Signed-off-by: David Wu <david.wu@rock-chips.com>
2017-09-26 15:58:48 +08:00
Liang Chen
9872adb6f4 ARM: dts: add key event for rk3126-evb
Change-Id: Id50dcb060dc505a9c938ac63daa335455eb0d741
Signed-off-by: Liang Chen <cl@rock-chips.com>
2017-09-26 15:57:24 +08:00
Huibin Hong
7d71393f5e serial: 8250_dma: set rx_running 0 when release
Fix issue like, rx_running is set 1 after first start rx.
But rx_running is still 1 after stop rx, which causes
dma can not be started when second start rx.

Change-Id: Id2f3a535da1b3609e8af287edbcc2e25fb7ae922
Signed-off-by: Huibin Hong <huibin.hong@rock-chips.com>
2017-09-26 14:16:26 +08:00
Huibin Hong
f5e7c42ed2 serial: 8250_dw: Allow hardware flow control to be used
In the most common use case, the Synopsys DW UART driver does not
set the set_termios callback function.  This prevents UPSTAT_AUTOCTS
from being set when the UART flag CRTSCTS is set.  As a result, the
driver will use software flow control as opposed to hardware flow
control.

To fix the problem, the set_termios callback function is set to the
DW specific function.  The logic to set UPSTAT_AUTOCTS is moved so
that any clock error will not affect setting the hardware flow
control.

Change-Id: Iea1e99512f0818eaa1642d25eb1ad02da049e8c6
Signed-off-by: Huibin Hong <huibin.hong@rock-chips.com>
2017-09-26 14:16:16 +08:00
Huibin Hong
796b13f24a dmaengine: pl330: pl330_tasklet init power_down by pch->active
To fix issue like this:
dma-pl330 ff6d0000.dma-controller: pl330_update:1733 Unexpected!
dma-pl330 ff6d0000.dma-controller: DMAC halted!

The root cause is DMA clk is closed when DMA interrupt is
in service. This may happen, as follow:

1. When pl330_terminate_all is called, and set pch->active false,
power_down is true, call pm_runtime_put_autosuspend.
2. Then pl330_tasklet is called, if power_down is also true, call
pm_runtime_put_autosuspend again.
3. DMA is opened again, because the autosuspend is asyn, it may close
the DMA clk. If DMA interrupt is coming, it causes the issue.

Change-Id: Ib1feb508c16afb4bc9ced0c3660f2b6b4a19c068
Signed-off-by: Huibin Hong <huibin.hong@rock-chips.com>
2017-09-26 14:13:03 +08:00
Huang jianzhi
d148748aba ARM: dts: rockchip: fix incorrect settings of keys for rk3288-evb-android-act8846-edp
Change-Id: Ic524250720bbaba9c2c0cec3999ce9a9ac4baa1b
Signed-off-by: Huang jianzhi <jesse.huang@rock-chips.com>
2017-09-25 21:10:17 +08:00
Mark Yao
ef13fd40c5 drm/rockchip: vop: fix bandwidth data overflow
Change-Id: I89df60f92f30452c1ff265ba380f6f8029d02163
Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
2017-09-25 21:07:30 +08:00
zhangyunlong
59ad2045cb camera: rockchip: camsys_drv: v0.0x22.5
gpio base start from 1000,adapt to it.

Change-Id: I6cef14c4698d2e3dedb84f0bc4e84ee79788c495
Signed-off-by: zhangyunlong <dalon.zhang@rock-chips.com>
2017-09-25 16:52:34 +08:00
Randy Li
77a680a340 video: rockchip: vpu: remove map to kernel method
The scaling list buffer handle under the pps unit
will be translated into the DMA address for the device,
but the processing is done under the kernel, so the
iommu of the device won't be invoked. We don't need to
cache it.

Using the standard kernel method is enough to access
the memory under the kernel space, so all the map to
kernel methods of the memory management are removed.

A few steps for memory mapping are also merged in
this patch.

Change-Id: Ia3f6f38568aed8021baff757720453c4eea03b90
Signed-off-by: ayaka <ayaka@soulik.info>
Signed-off-by: Randy Li <randy.li@rock-chips.com>
2017-09-25 11:47:10 +08:00
Mark Yao
49a36bd0f6 drm/rockchip: vop bandwidth interface
Change-Id: I1970d4e613775626481f471865f6945c378de6a7
Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
2017-09-25 10:57:56 +08:00
Zhen Chen
fbb30d6372 ARM: dts: rk312x: fix incorrect settings of GPU
Change-Id: I1ad7f60eea5c79f266aaad25ba4180d3ea84a170
Signed-off-by: Zhen Chen <chenzhen@rock-chips.com>
2017-09-25 10:51:16 +08:00
wlq
0f72d66f64 ASoC: codecs: tc358749x adjust power on timing
Change-Id: I4e702b556cd7304c2ab19a62d871634243ea9147
Signed-off-by: wlq <wlq@rock-chips.com>
2017-09-25 10:31:19 +08:00
Xinhuang Li
51115317ed ARM: dts: rk322x: add video decoder nodes
Change-Id: Ie21008c35b22855f252a1ef21a8caa981660530a
Signed-off-by: Xinhuang Li <buluess.li@rock-chips.com>
2017-09-22 17:55:56 +08:00
Sandy Huang
f98dd69d61 drm/panel: simple: add power-invert for some special hardwre
if power-invert exist the panel power need to disable ldo when
power on and enable ldo when power off otherwise it's opposite.

example:
	panel {
		...

		power-invert;

		...
	};

Change-Id: Ida5718d01044873cdd7c753c4e8b872dc1e52099
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
2017-09-22 15:03:50 +08:00
Sugar Zhang
28a95ab086 ARM: dts: rockchip: split i2s mclk pinctrl from i2s bus
because currently mclk is handled by codec side, so the
associated pinctrl should be handled by codec too.

Change-Id: I0611b7a291351a20f72b5124c501dc79d92787d6
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
2017-09-22 15:03:08 +08:00
Sugar Zhang
721e28dd91 arm64: dts: rockchip: split i2s mclk pinctrl from i2s bus
because currently mclk is handled by codec side, so the
associated pinctrl should be handled by codec too.

Change-Id: I55db6e9a0181cae0cb414b9dcacae7ff0214b50c
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
2017-09-22 15:03:03 +08:00
Alex Zhao
281a69cea9 ARM: dts: rockchip: add ap6255 support for rk3229-gva-sdk
1.set vccio2 to 1.8v
2.add sdio 3.0 support

Change-Id: Iee26c339b1a38543d9275dc0fa9e5bfbba0b7c3e
Signed-off-by: Alex Zhao <zzc@rock-chips.com>
2017-09-22 11:50:50 +08:00
Alex Zhao
2f76124072 ARM: dts: rockchip: add ap6255 support for rk3229-echo-v10
1.set vccio2 to 1.8v
2.add sdio 3.0 support

Change-Id: I7acfbd174bf0f4fb4c0b5625ceacd71826785ec5
Signed-off-by: Alex Zhao <zzc@rock-chips.com>
2017-09-22 11:50:32 +08:00
Jason Song
ea5b7fb141 arm64: dts: rockchip: add android dts for px5 evb v11.
Change-Id: I76ade321e2b17c9c46629bb4e83a55f3f650d194
Signed-off-by: Jason Song <sxj@rock-chips.com>
2017-09-22 09:38:43 +08:00
Jacob Chen
5ab215ee7f media: videobuf2: quick fix for dmabuf type
It's a bug in 4.4 kernel

Change-Id: I38807830d1a4289af65ebaed9c9ab179d2328827
Signed-off-by: Jacob Chen <jacob2.chen@rock-chips.com>
2017-09-21 19:10:12 +08:00
Jacob Chen
1750e8d84e media: rk-isp10: test suite 'v4l2-ctl' passed
Initialize default format for current stream and set stream state
to 'READY' in case of streaming on by user without passing format
to driver. Default format will be overridden by VIDIOC_S_FMT.

Implement VIDIOC_G_FMT and application can get the format info
of current stream now. This will become necessary when enable
'--set-fmt-video' option of v4l2-ctl test suite,

Set bytesused of each plane to its real size to prevent confusing.

The IO mode of vb2 queue 'VB2_DMABUF' is now supported.

Change-Id: Id52da502df8aea796b3405ebf472541a394afd80
Signed-off-by: Jacob Chen <cc@rock-chips.com>
2017-09-21 10:38:49 +08:00
Mark Yao
7f8599fc1a arm64: dts: rockchip: rk3366: add dma-coherent for rga device
When import dma_buf to rga driver, dma_map_sg will always do
cpu cache sync, it cause low performance.

Actually we don't want to do cpu cache sync on this context,
So set rga device with dma-coherent to skip cpu cache sync.

Change-Id: Ie256db6a072481953befafb5b8003b9c1e713436
Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
2017-09-21 10:37:06 +08:00
Mark Yao
f1df54b88e ARM: dts: rk3288-android: add dma-coherent for rga device
When import dma_buf to rga driver, dma_map_sg will always do
cpu cache sync, it cause low performance.

Actually we don't want to do cpu cache sync on this context,
So set rga device with dma-coherent to skip cpu cache sync.

Change-Id: Idfeb0de2e1d92873dcbd560cec40a4f9f8807013
Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
2017-09-21 10:36:47 +08:00
zhoupeng
15f6b54578 arm64: dts: rk3399-sapphire-excavator-linux: add camera node
dts: support adv7181 sensor

Change-Id: Ie6e53a94f87d6a2a5c9ad9e4ae23e56244a4312b
Signed-off-by: zhoupeng <benjo.zhou@rock-chips.com>
2017-09-21 10:33:59 +08:00
zhoupeng
b4eb07282a media: soc_camera: add adv7181 sensor driver
Change-Id: I09f9e18ae61cdb165236c77ff467449ba6ae2537
Signed-off-by: Peng Zhou <benjo.zhou@rock-chips.com>
2017-09-21 10:33:44 +08:00
David Wu
3b7424f332 pinctrl: rockchip: Make the gpio base started from 1000
If the gpio base is started from 1000, the "gpio = 0" will
be invalid, that can avoid something unforeseen. The real
pin number is "gpio number - 1000".

If you cat the gpio log, you will see the log like this:
rk3399:/ # cat d/gpio
GPIOs 1000-1031, platform/pinctrl, gpio0:
 gpio-1004 (                    |bt_default_wake_host) in  lo
 gpio-1005 (                    |power               ) in  hi
 gpio-1009 (                    |bt_default_reset    ) out lo
 gpio-1010 (                    |reset               ) out lo
 gpio-1011 (                    |?                   ) out hi

GPIOs 1032-1063, platform/pinctrl, gpio1:
 gpio-1034 (                    |int-n               ) in  hi
 gpio-1035 (                    |vbus-5v             ) out lo
 gpio-1036 (                    |vbus-5v             ) out lo
 gpio-1045 (                    |enable              ) out hi
 gpio-1046 (                    |vsel                ) out lo
 gpio-1049 (                    |vsel                ) out lo
 gpio-1056 (                    |int-n               ) in  hi

GPIOs 1064-1095, platform/pinctrl, gpio2:
 gpio-1083 (                    |bt_default_rts      ) in  hi
 gpio-1090 (                    |bt_default_wake     ) in  hi

GPIOs 1096-1127, platform/pinctrl, gpio3:
 gpio-1111 (                    |mdio-reset          ) out hi

GPIOs 1128-1159, platform/pinctrl, gpio4:
 gpio-1150 (                    |?                   ) out hi
 gpio-1153 (                    |vcc5v0_host         ) out hi
 gpio-1156 (                    |hp det              ) in  hi

Change-Id: I744ddc1df6075b0a044d65c65622e2a59f3a332e
Signed-off-by: David Wu <david.wu@rock-chips.com>
2017-09-20 14:45:39 +08:00
Wyon Bi
4548e24e06 clk: rockchip: rk3366: remove CLK_IGNORE_UNUSED flag from DPHY related clocks
Change-Id: I05052257140d31e18de8e4bbd58ce72530042670
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
2017-09-20 11:42:53 +08:00
Wyon Bi
bd1f544337 arm64: dts: rockchip: rk3366: add power-domains for mipi-dphy node
Change-Id: I581242c5b04cfbd3d6c124455d075d8152598942
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
2017-09-20 11:42:40 +08:00
Wyon Bi
4e400b8842 phy: rockchip-inno-mipi-dphy: add runtime pm support
Change-Id: I06c311a282e2bd97c51e551306b999dbdedcdce5
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
2017-09-20 11:40:52 +08:00
Wyon Bi
05949ca09c arm64: dts: rockchip: rk3368: add power-domains for mipi-dphy node
Change-Id: I7e4e03628efc4e29f04d465ec91969953881c332
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
2017-09-20 11:40:28 +08:00
Wyon Bi
728ba28fc0 clk: rockchip: rk3368: remove CLK_IGNORE_UNUSED flag from DPHY related clocks
This flag was in place to prevent important clocks from getting gated
while they had no users. Now that the driver supports clocks
properly, we can drop this.

Change-Id: I91d0a5c000ed7215bf55dbc871e175ac79a1cd2a
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
2017-09-20 11:40:21 +08:00
YouMin Chen
a1ce792af5 dt-bindings: dram: add the document for rk3399_dram_timing
Change-Id: I2412fb9d75050add02746b19ee23d1717d061dca
Signed-off-by: YouMin Chen <cym@rock-chips.com>
2017-09-20 11:31:34 +08:00
YouMin Chen
b9d770c7de PM / devfreq: rockchip_dmc: add auto_lp_dis_freq to rk3399 dram timing table
When DRAM frequency greater than or equal to this setting value,
the function of auto power-down will disable.

Change-Id: I0c7faee045ff00de0dc36adc45e21389c41aa81f
Signed-off-by: YouMin Chen <cym@rock-chips.com>
2017-09-20 11:31:08 +08:00
YouMin Chen
4625e95606 PM / devfreq: rockchip_dmc: modify rk3399 dram default timing
Change-Id: I1af3177d78240c0767a4a71f4f085b55b2d7a2c6
Signed-off-by: YouMin Chen <cym@rock-chips.com>
2017-09-20 11:30:58 +08:00
Alex Zhao
a7e71a03cf net: wireless: rockchip_wlan: ap6255: fix irq abnormal.
the dmesg log is like:
[11244.133855] Call trace:
[11244.133871] Exception stack(0xffffffc075cdf820 to 0xffffffc075cdf950)
[11244.133885] f820: ffffffc07b7d6040 0000008000000000 000000000169f000 ffffff80089174c4
[11244.133899] f840: 00000000804001c5 ffffff800940b1e0 0000000000000000 ffffff80091ec000
[11244.133913] f860: 0000000000000040 ffffff8008bf7000 0000000000000140 ffffff80091ec000
[11244.133924] f880: ffffff800938a830 cb88537fdc8ba653 ffffffc075cdf8e0 ffffff80080f28ec
[11244.133935] f8a0: ffffffc075cdf8b0 ffffff80080eabf0 ffffffc075cdf8e0 ffffff80080f29f8
[11244.133949] f8c0: ffffffc075cdf8e0 ffffff80080f2a28 ffffff800938a830 cb88537fdc8ba653
[11244.133963] f8e0: ffffffc07b41e400 0000000000000000 0000000000000000 0000000086098608
[11244.133975] f900: 0000000000000000 0000000000000000 00000000fffffffa ffffffc07b050580
[11244.133988] f920: ffffff80082fb318 7f7f7f7f7f7f7f7f 722d6367636c6261 7f7f7f7f7f7f7f7f
[11244.133998] f940: 0101010101010101 0000000000000010
[11244.134024] [<ffffff80089174c4>] clk_core_disable+0x18/0x18c
[11244.134039] [<ffffff80089178f0>] clk_disable+0x2c/0x40
[11244.134064] [<ffffff80083ab5a4>] rockchip_irq_gc_mask_set_bit+0x20/0x2c
[11244.134086] [<ffffff80080f7788>] irq_shutdown+0x4c/0x68
[11244.134098] [<ffffff80080f556c>] __free_irq+0x100/0x20c
[11244.134109] [<ffffff80080f5708>] free_irq+0x48/0x58
[11244.134129] [<ffffff80085c274c>] bcmsdh_oob_intr_unregister+0x8c/0xa0
[11244.134143] [<ffffff80085d1184>] dhd_bus_devreset+0x84/0x2c4
[11244.134166] [<ffffff80085a1754>] dhd_net_bus_devreset+0xc4/0x104
[11244.134190] [<ffffff80085b5aec>] wl_android_wifi_off+0xb8/0x10c
[11244.134205] [<ffffff80085a5560>] dhd_stop+0x6c/0x1d0
[11244.134227] [<ffffff80089bdb14>] __dev_close_many+0x9c/0xc0
[11244.134237] [<ffffff80089bdc5c>] __dev_close+0x38/0x68
[11244.134253] [<ffffff80089c6170>] __dev_change_flags+0xa8/0x140
[11244.134264] [<ffffff80089c6228>] dev_change_flags+0x20/0x5c
[11244.134290] [<ffffff8008a621a0>] devinet_ioctl+0x29c/0x60c
[11244.134304] [<ffffff8008a63a70>] inet_ioctl+0xc0/0xec
[11244.134327] [<ffffff80089a50f4>] sock_do_ioctl+0x30/0x5c
[11244.134341] [<ffffff80089a63c0>] sock_ioctl+0x2d8/0x314
[11244.134365] [<ffffff80081c6fb8>] do_vfs_ioctl+0x5e4/0x720
[11244.134377] [<ffffff80081c7154>] SyS_ioctl+0x60/0x88
[11244.134400] [<ffffff8008082930>] el0_svc_naked+0x24/0x28

Change-Id: I93cffbf170e96ccb71da53123f61c78f0ffdc98a
Signed-off-by: Alex Zhao <zzc@rock-chips.com>
2017-09-20 11:30:35 +08:00
Elaine Zhang
88a5404a22 clk: rockchip: fix up the rockchip_fractional_approximation
If frac clk parent rate is PLL rate, but still lower
than frac rate*20, not allowed fractional div.

Change-Id: I09c93e1d8f32c0a4e345057964d58505b1477204
Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
2017-09-20 10:29:37 +08:00
Elaine Zhang
a8cf408589 ARM64: dts: rockchip: rk3399: assigned clk_uart4_src parent to PPLL
clk_uart4_src default parent is 24M,does not satisfy the
fractional divider must set that denominator is 20 times
larger than numerator.

Change-Id: I21fd9866794e052414a6fdf1d64840ac2a0bb8f2
Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
2017-09-20 10:29:37 +08:00
Elaine Zhang
1b523997b3 clk: rockchip: rk3399: fix up the clk tree description for clk_uart4
slove clk_uart4 set rate error.

Change-Id: Icf8f36a5c68658ed92a1b794dc68f37c729d2646
Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
2017-09-20 10:29:37 +08:00
Finley Xiao
f6c39e35ad PM / devfreq: rockchip_dmc: Add dmc_ondemand governor
The dmc driver supports changing min_freq and max_freq according to
system status and vop bandwidth at present. But even if user changes
governor to userspace, the ddr frequency may also change constantly.

This patch adds a new dmc_ondemand governor which doesn't chang min_freq
and max_freq, it can also support changing ddr frequecy based on usage,
system status and vop bandwidth. So users can set their own frequency by
the userspace governor.

Change-Id: Ib731f29a6ded3b7f05e60cbae4f858e6beeac9da
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
2017-09-20 09:42:56 +08:00