Commit Graph

611966 Commits

Author SHA1 Message Date
Simon Xue
8bfddc4b60 arm64: dts: rockchip: rk1808-evb: enable saradc
Change-Id: I481c7d710c360422a2f42b2e03afe859bfad2c95
Signed-off-by: Simon Xue <xxm@rock-chips.com>
Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com>
2018-10-08 19:43:02 +08:00
Simon Xue
860d4f92e5 dt-bindings: adc: add description for rk1808 saradc
Change-Id: I047410349c527495f5b414d98054e535fc168524
Signed-off-by: Simon Xue <xxm@rock-chips.com>
2018-10-08 19:32:21 +08:00
Simon Xue
0635448421 arm64: dts: rockchip: rk1808: add saradc
Change-Id: Ib3b2062ecd7190f9b33db3c6d8ffc72e7038d7f8
Signed-off-by: Simon Xue <xxm@rock-chips.com>
2018-10-08 19:32:15 +08:00
Ziyuan Xu
5f5bb7f350 arm64: dts: rockchip: rk1808-evb: fixup uart4_rts pinctrl error
Fixup the default pinctrl configuration for uart4-rts-gpio:
rockchip-pinctrl pinctrl: unable to find group for node uart4-rts-gpio

Change-Id: Ic25375aeba924ba0314ad5660b3ee4f18ea8c0cc
Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com>
2018-10-08 19:29:43 +08:00
Sandy Huang
93d4775b86 arm64: dts: rockchip: rk1808: Add #address/#size-cells to csi
DTS warning:
arch/arm64/boot/dts/rockchip/rk1808-evb-v10-csi-tx.dtb: Warning
(reg_format):	"reg" property in /csi@ffb20000/panel@0 has invalid
length (4 bytes) (#address-cells == 2, #size-cells == 1)
arch/arm64/boot/dts/rockchip/rk1808-evb-v10-csi-tx.dtb: Warning
(avoid_default_addr_size): Relying on default #address-cells value for
/csi@ffb20000/panel@0

Change-Id: I017f4242963b15b7d09fe24c8ed106081c287e21
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
2018-10-08 19:28:10 +08:00
Wyon Bi
8d080a0b20 drm/rockchip: dsi: Allow transmission of commands in high-speed in video mode
DWC_mipi_dsi_host can be configured to send the low-power (LP)
commands during the HS video mode transmission. To enable this
feature, set the lp_cmd_en bit of the VID_MODE_CFG register to 1.
In this case, it is necessary to calculate the time available,
in bytes, to transmit a command in LP mode to Horizontal Front Porch (HFP),
Vertical Sync Active (VSA), Vertical Back Porch (VBP), and
Vertical Front Porch (VFP) regions.

Bits 8 to 13 of the VID_MODE_CFG register indicates if DWC_mipi_dsi_host
can go to LP when in idle. If the lp_cmd_en bit is set (1'b1) and
non-video packets are in queue, DWC_mipi_dsi_host ignores the LP
configuration and transmits LP commands, even if it is not allowed
to enter LP in a specific region. After the LP commands transmission,
DWC_mipi_dsi_host remains in LP until a sync event occurs.

If the lp_cmd_en bit of the VID_MODE_CFG register is 0, the commands
are sent in high-speed in Video Mode. In this case, the DWC_mipi_dsi_host
automatically determines the area where each command can be sent and no
programming or calculation is required.

Change-Id: Id47982c2c7605be17c4d295707fd5496f32f79fe
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
2018-10-08 16:32:59 +08:00
vkorjani
2a45f7557a UPSTREAM: drm: Add support for pps and compression mode command packet
After enabling DSC we need to send compression mode command packet
and pps data packet, for which 2 new data types are added
07h  Compression Mode Data Type Write , short write, 2 parameters
0Ah  PPS Long Write (word count determines number of bytes)
This patch adds support to send these packets.

Cc: David Airlie <airlied@linux.ie>
Cc: Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com>
Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
Cc: dri-devel@lists.freedesktop.org
Cc: linux-kernel@vger.kernel.org
Cc: linux-fbdev@vger.kernel.org

Changes in v3:
- None

Signed-off-by: vkorjani <vikas.korjani@intel.com>
[seanpaul removed pps_write_buffer fn, added types to packet_format helpers]
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>

Change-Id: I5597a4ca8fdf128faa52d87e7513a5be1e7a87da
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
(cherry picked from commit ea107a183b)
2018-10-08 16:32:59 +08:00
Philippe Cornu
d00e4b7dac UPSTREAM: drm/dsi: Fix improper use of mipi_dsi_device_transfer() return value
The function mipi_dsi_device_transfer() returns the number of transmitted
or received bytes on success or a negative error code on failure.

The functions mipi_dsi_shutdown_peripheral(), mipi_dsi_turn_on_peripheral() &
mipi_dsi_set_maximum_return_packet_size() use improperly this returned
value in case of success: 0 should be returned instead of the number of
transmitted bytes.

Signed-off-by: Philippe Cornu <philippe.cornu@st.com>
Reviewed-by: Andrzej Hajda <a.hajda@samsung.com>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20180112144847.18810-1-philippe.cornu@st.com

Change-Id: I7709da898423e6149d3d95088ad795a20b867a7b
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
(cherry picked from commit 6ac6929028)
2018-10-08 16:32:58 +08:00
Vinay Simha BN
98d6838916 UPSTREAM: drm/dsi: Implement DCS set/get display brightness
Provide a small convenience wrapper that set/get the display brightness.

Cc: John Stultz <john.stultz@linaro.org>
Cc: Sumit Semwal <sumit.semwal@linaro.org>
Cc: Archit Taneja <archit.taneja@gmail.com>
Cc: Rob Clark <robdclark@gmail.com>
Cc: Jani Nikula <jani.nikula@linux.intel.com>
Cc: Thierry Reding <thierry.reding@gmail.com>
Cc: Emil Velikov <emil.l.velikov@gmail.com>
Signed-off-by: Vinay Simha BN <simhavcs@gmail.com>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>

Change-Id: I501ffb4b31ab2c8950ed1c4b84fb241d4b6aaae0
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
(cherry picked from commit 1a9d759331)
2018-10-08 16:32:58 +08:00
Thierry Reding
6f75206dd7 UPSTREAM: drm/dsi: Order DCS helpers by command code
Most of these helpers had been introduced in the correct order, but some
were simply appended, which wasn't detected when they were applied.

Signed-off-by: Thierry Reding <treding@nvidia.com>

Change-Id: Ic540fb4d541b32c21f9f2348aba3f4cae5c99fa6
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
(cherry picked from commit bbdcf516a6)
2018-10-08 16:32:58 +08:00
Thierry Reding
53db5bc1ac UPSTREAM: drm/dsi: Make set_tear_scanline command consistent
Use a consistent name for the function that implements set_tear_scanline
and reword and reformat the kerneldoc slightly.

Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/20160613133327.7630-1-thierry.reding@gmail.com

Change-Id: I67354ce8ff2bccfd9cd51a573d3007952057230c
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
(cherry picked from commit 6308c983d7)
2018-10-08 16:32:58 +08:00
Thierry Reding
62f4efb216 UPSTREAM: drm/dsi: Add uevent callback
Implement a uevent callback for devices on the MIPI DSI bus. This
callback will append MODALIAS information to the uevent and allow
modules to be loaded when devices are added to the bus.

Reviewed-by: Archit Taneja <architt@codeaurora.org>
Signed-off-by: Thierry Reding <treding@nvidia.com>

Change-Id: I580c1fb721330a5088f8ddf233a635c607277729
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
(cherry picked from commit babb24fec1)
2018-10-08 16:32:57 +08:00
Vinay Simha BN
bf8bc184f3 UPSTREAM: drm/dsi: Implement set tear scanline
Provide a small convenience wrapper that transmits
a set_tear_scanline command.

v2:
  * helper function suggested by Thierry
    for set_tear_scanline
  * Also includes small build fixes from Sumit Semwal.

v3: one scanline parameter suggested by jani

v4: passing the payload properly as suggested by jani

Cc: Archit Taneja <archit.taneja@gmail.com>
Cc: John Stultz <john.stultz@linaro.org>
Cc: Thierry Reding <thierry.reding@gmail.com>
Cc: Sumit Semwal <sumit.semwal@linaro.org>
Cc: Jani Nikula <jani.nikula@linux.intel.com>
Signed-off-by: Vinay Simha BN <simhavcs@gmail.com>
Reviewed-by: Sumit Semwal <sumit.semwal@linaro.org>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1465285532-12676-1-git-send-email-simhavcs@gmail.com

Change-Id: Ic20f27190dd048ecd16b01a23ccd815156ee9512
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
(cherry picked from commit e839508163)
2018-10-08 16:32:57 +08:00
Archit Taneja
84beccf97f UPSTREAM: drm/dsi: Get DSI host by DT device node
MIPI DSI devices are inherently aware of their host because they share a
parent-child hierarchy in the device tree.

Non-DSI drivers that create DSI device don't have this data. In order to
get this information, they require to a phandle to the DSI host in the
device tree.

Maintain a list of all the DSI hosts that are currently registered. This
list will be used to find the struct mipi_dsi_host corresponding to the
device tree node passed to of_find_mipi_dsi_host_by_node().

Reviewed-by: Andrzej Hajda <a.hajda@samsung.com>
Signed-off-by: Archit Taneja <architt@codeaurora.org>
Signed-off-by: Thierry Reding <treding@nvidia.com>

Change-Id: I9d1a42c45707ec4b22e67e6b4aad058b3a5254df
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
(cherry picked from commit 97b6ae50e0)
2018-10-08 16:32:57 +08:00
Archit Taneja
8f107f3db3 UPSTREAM: drm/dsi: Add routine to unregister a DSI device
A driver calling mipi_dsi_device_register_full() might want to remove
the device once it's done. It might also require it in an error handling
path in case something went wrong.

Create mipi_dsi_device_unregister() for this purpose and use it within
mipi_dsi_remove_device_fn() as it does the same thing.

Reviewed-by: Andrzej Hajda <a.hajda@samsung.com>
Signed-off-by: Archit Taneja <architt@codeaurora.org>
Signed-off-by: Thierry Reding <treding@nvidia.com>

Change-Id: I538bd028851bb27dbf7c93d459b8276d7271dae8
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
(cherry picked from commit 509e42ce04)
2018-10-08 16:32:57 +08:00
Archit Taneja
c853fbcafc UPSTREAM: drm/dsi: Try to match non-DT DSI devices
Add a device name field in struct mipi_dsi_device. This name is not the
same as the device name (which is of the format "hostname.reg"). When
the device is created via DT, this name is set to the modalias string.
In the non-DT case, the driver creating the DSI device provides the
name by populating a field in struct mipi_dsi_device_info.

Matching for DT case would be as it was before. For the non-DT case, we
compare the device and driver names. Other buses (like I2C/SPI) perform
a non-DT match by comparing the device name and entries in the driver's
id_table. Such a mechanism isn't used for the DSI bus.

Reviewed-by: Andrzej Hajda <a.hajda@samsung.com>
Signed-off-by: Archit Taneja <architt@codeaurora.org>
Signed-off-by: Thierry Reding <treding@nvidia.com>

Change-Id: I68d4e46fb82ccce4e578256c031d6ee329d5eb1b
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
(cherry picked from commit bf4363ce3a)
2018-10-08 16:32:56 +08:00
Archit Taneja
fe98b92275 UPSTREAM: drm/dsi: Use mipi_dsi_device_register_full() for DSI device creation
Use mipi_dsi_device_register_full() for device creation. This takes in
a struct mipi_dsi_device_info as a template to populate the DSI device
information.

The reason to introduce this is to have a way to create DSI devices not
available via DT. Drivers that want to create a DSI device can populate
a struct mipi_dsi_device_info and call this function. For DSI devices
available via DT, of_mipi_dsi_device_add() is used as before, but this
now calls mipi_dsi_device_register_full() internally.

Signed-off-by: Archit Taneja <architt@codeaurora.org>
Signed-off-by: Thierry Reding <treding@nvidia.com>

Change-Id: I0fc26d2bbffd9368ceb50c1660ff74c4ab808b6b
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
(cherry picked from commit c63ae8a968)
2018-10-08 16:32:56 +08:00
Archit Taneja
28ffa53620 UPSTREAM: drm/dsi: Check for CONFIG_OF when defining of_mipi_dsi_device_add()
of_mipi_dsi_device_add() is used only when CONFIG_OF is enabled. It
currently works if OF support is disabled, but this will change when we
add more functionality to it.

Define the original function if CONFIG_OF is enabled and a dummy
function otherwise.

Signed-off-by: Archit Taneja <architt@codeaurora.org>
Signed-off-by: Thierry Reding <treding@nvidia.com>

Change-Id: I5815c8fe403b65989bfbaf33aba208d83634fa4a
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
(cherry picked from commit fc903ebd50)
2018-10-08 16:32:56 +08:00
Deepak M
f549a90fc4 UPSTREAM: drm: Add new DCS commands in the enum list
Adding new DCS commands which are specified in the
DCS 1.3 spec related to CABC.

v2: Sorted the Macro`s by value (Andrzej)

v3 by Jani: sort all of enum, refer to MIPI DCS 1.3

Cc: Andrzej Hajda <a.hajda@samsung.com>
Cc: Thierry Reding <thierry.reding@gmail.com>
Cc: David Airlie <airlied@linux.ie>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Daniel Vetter <daniel.vetter@intel.com>
Cc: <dri-devel@lists.freedesktop.org>
Suggested-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Deepak M <m.deepak@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Andrzej Hajda <a.hajda@samsung.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1459346623-30752-1-git-send-email-jani.nikula@intel.com

Change-Id: I7efe6989d3c10b26d21137bfab7e933b00859a20
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
(cherry picked from commit 249c4f538b)
2018-10-08 16:32:55 +08:00
Meghana Madhyastha
ef16a0c44b UPSTREAM: video: backlight: Add helpers to enable and disable backlight
Add helper functions backlight_enable and backlight_disable to
enable/disable a backlight device. These helper functions can
then be used by different drm and tinydrm drivers to avoid
repetition of code and also to enforce a uniform and consistent
way to enable/disable a backlight device.

Acked-by: Daniel Thompson <daniel.thompson@linaro.org>
Reviewed-by: Noralf Trønnes <noralf@tronnes.org>
Reviewed-by: Sean Paul <seanpaul@chromium.org>
Signed-off-by: Meghana Madhyastha <meghana.madhyastha@gmail.com>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Link: https://patchwork.freedesktop.org/patch/msgid/39b5bf0a02008a8072d910bdf8231c431e9ef504.1516810725.git.meghana.madhyastha@gmail.com

Change-Id: I66bb87531ee94977376cde33070ab2650f6dfcf5
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
(cherry picked from commit 5b698be049)
2018-10-08 16:32:55 +08:00
David Wu
9fe8305b68 pinctrl: rockchip: Fix the register offset of drive for rk1808
Change-Id: I0d0ddce56b7f61b38091fbcd0e645c99220dfa5a
Signed-off-by: David Wu <david.wu@rock-chips.com>
2018-10-08 16:29:40 +08:00
Xing Zheng
2baef6b134 ASoC: rk3308_codec: add supports Mute/Work switches for ADC MICs
Change-Id: If8714a3182cded36bfc1d36d1d29493f2e51cccf
Signed-off-by: Xing Zheng <zhengxing@rock-chips.com>
2018-10-08 16:24:20 +08:00
Yifeng Zhao
6e708ed708 drivers: rk_nand: support spectek L84C/L84D/L05B NAND FLASH
1. support spectek L84C/L84D/L05B NAND FLASH
2. support SKhynix 16nm 4GB NAND FLASH
3. support upgrade loader by write idb data to lba 64

Change-Id: Ie0296622d8ad13f2f4282b1b7726a5c699164e67
Signed-off-by: Yifeng Zhao <zyf@rock-chips.com>
2018-10-08 16:15:05 +08:00
shengfei Xu
d596425525 arm64: dts: rockchip: rk1808-evb: reset the voltage output range
Change-Id: I7503f2a44e6bb7ea54b3b7446e83c2e04b336ae0
Signed-off-by: shengfei Xu <xsf@rock-chips.com>
2018-10-08 15:43:44 +08:00
Ziyuan Xu
941d799f82 arm64: dts: rockchip: revise the i2c_addr of ak8963 for rk1808-evb
Change-Id: Icf293f08047f3900e9465ccd368cab5bbdd1f388
Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com>
2018-10-08 14:53:34 +08:00
Sandy Huang
d17475f79c drm/rockchip: csi tx: test_code_regs only used for extern phy
Change-Id: I5058db11b547d9487b4bf1a59ac7efb57104d935
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
2018-10-08 14:53:08 +08:00
Dingqiang Lin
f4c0eb9141 drivers: rkflash: fix error in SPI NOR Flash mtd support code
Change-Id: I8ac2bcd850c594aebe258a284083b898d9ee7423
Signed-off-by: Dingqiang Lin <jon.lin@rock-chips.com>
2018-10-08 14:13:27 +08:00
Dingqiang Lin
be4367b020 drivers: rkflash: add new spi nand flash support
1.FS35ND01G-S1,FS35ND02G-S2

Change-Id: I5635bb54a0de6ec31454b946128cfa8d2d8948a1
Signed-off-by: Dingqiang Lin <jon.lin@rock-chips.com>
2018-10-08 14:13:18 +08:00
Dingqiang Lin
559c3e6240 drivers: rkflash: support NANDC ver 9
1.RK3326 will apply slc NAND Flash devices.

Change-Id: If5865c4934bf399bc79cc51d8924f17602b3be23
Signed-off-by: Dingqiang Lin <jon.lin@rock-chips.com>
2018-10-08 14:12:52 +08:00
Dingqiang Lin
f53151f421 drivers: rkflash: fix firmware-lost-error in power lost case
1.Fix recovery vpn mistaken subtraction
2.Improve cache flush strategy
3.Avoid currunt map_block being gc
4.Make ftl buffer align
5.Rm unuse file ftl_flash_plat.c
6.Update ftl version to 5.0.48

Change-Id: I51d85f60702a1e0d2c904b76e875f0ec52d2e1d4
Signed-off-by: Dingqiang Lin <jon.lin@rock-chips.com>
2018-10-08 14:12:04 +08:00
Ziyuan Xu
2cead0c0ea arm64: dts: rockchip: rectify the interrupt gpio of gsensor for rk1808-evb
Change-Id: I94c4e725b3528118e30925b37ac5536a36eb77d6
Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com>
2018-10-08 12:01:34 +08:00
Sandy Huang
b973824219 drm/rockchip: csi: rk1808 dphy tx max bit rate is 2.0Gbps/lane
Change-Id: I05d35607b04b139647dc59a1725a88168a13db5b
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
2018-10-08 11:49:01 +08:00
Sandy Huang
5288a45056 drm/rockchip: dsi: rk1808 dphy tx max bit rate is 2.0Gbps/lane
Change-Id: I4a837c5daf06d8d43a3cac34ad11c09c17d24447
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
2018-10-08 11:48:55 +08:00
Jianqun Xu
59907a1945 HACK: arm64: dts: rockchip: rk1808: set pull-up-2mA for eMMC io
Change-Id: I598ccc11108e73bfa81d0e1b4cb47f493aa7d1c1
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
2018-10-08 11:08:54 +08:00
Lin Huang
b8318ed89b arm64: rk1808_linux_defconfig: build AP6212 wifi driver as module
buildroot use rkwifibt to install wifi driver, and it request wifi
driver build as module.

Change-Id: Iad26078abe4b02f55def46f4c9f84b3d7f2d7724
Signed-off-by: Lin Huang <hl@rock-chips.com>
2018-10-08 09:36:37 +08:00
Lin Huang
f56503b6d6 arm64: dts: rockchip: rk1808-evb: fix some wifi related setting
with these fixs, AP6212 can work on rk1808-evb board.

Change-Id: Icfdb6dedfcb139debad299852e87586ce0d31de6
Signed-off-by: Lin Huang <hl@rock-chips.com>
2018-10-08 08:14:28 +08:00
Elaine Zhang
5500eb5ebf arm64: dts: rockchip: enable power domain for rk1808
fix up the pd_pcie clks.
add power-domains = <&power RK1808_PD_PCIE> for usb host.
enable power status.

Change-Id: I040c3c24ab542add96f87ca7b2453b60703b2a4d
Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
2018-10-07 18:38:44 +08:00
Elaine Zhang
060cc975bf soc: rockchip: power-domain: remove the rockchip_pd_power(pd, true)
It's not need to power on all pd when add pm domain.
Use pd's real status for pm_genpd_init().

Change-Id: I9a976f01c1b0ff192e09494dcfa236d786495e96
Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
2018-10-07 17:42:30 +08:00
Tao Huang
b1689e638d arm64: dts: rockchip: fix qos name and reg for rk1808
Change-Id: I9980e35ac95c9d779e95e377994c52affbeaef31
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
2018-10-07 14:27:18 +08:00
Elaine Zhang
9b8bd440e6 soc: rockchip: power-domain: fix up the pwr_offset error for rk1808
Change-Id: Idd89b94c52cb4f382690600dabc3ce1c4f6a9f9f
Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
2018-10-07 12:35:00 +08:00
Elaine Zhang
375808b5d9 Revert "arm64: dts: rockchip: add clk_ignore_unused for rk1808-evb-v10"
This reverts commit 3b64634273.

Change-Id: I470a500b6323651abeb703f01b41c788e33c1431
Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
2018-10-07 11:32:46 +08:00
Elaine Zhang
c996107987 clk: rockchip: rk1808: mark some clk as critical clocks
mark "pclk_top_pre","pclk_ddr_grf","aclk_gic" as critical clocks

Change-Id: I4daf50c36e899edcff07778cbb98571c2ed2b042
Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
2018-10-07 11:23:30 +08:00
Elaine Zhang
34a5779682 clk: rockchip: rk1808: fix up the uart0 register description error
Change-Id: I4f11f5d0a0b46557e47346064416a9ad85cdcfbd
Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
2018-10-07 11:23:20 +08:00
Tao Huang
d8ba58bec4 arm64: dts: rockchip: fix irq flags of fiq-debugger for rk1808-evb
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>
2018-10-07 11:10:54 +08:00
Jianqun Xu
62e1d6b7cf arm64: configs: rk1808_linux_defconfig enable ROCKCHIP_IOMMU
Change-Id: I47e5b0991aaf750c2db61783dfabf5fdcbb8d723
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
2018-10-07 10:50:36 +08:00
Jianqun Xu
c75b57de50 arm64: configs: rk1808_linux_defconfig support vfat
Change-Id: I3b308663e0bc5fcd3fc4d0d3d236287f72aef7fb
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
2018-10-07 10:14:08 +08:00
Jianqun Xu
daad93dcb7 arm64: dts: rockchip: add sdmmc0_det pinctrl for rk1808
Change-Id: I0229bb370bcc5a4b93ad000906f00adb4fe95230
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
2018-10-07 10:09:19 +08:00
Jianqun Xu
bd3ec33b20 arm64: dts: rockchip: enable sdmmc for rk1808
Change-Id: I0990f70b7e908560300d349958f31603bf231242
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
2018-10-07 10:08:29 +08:00
Herman Chen
c6646d1987 arm64: dts: rockchip: Add vpu/vpu_mmu nodes for rk1808
Change-Id: Ieaf28874d694136443fb7f0db3309018ae134453
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
2018-10-07 10:08:15 +08:00
shengfei Xu
40be5ff4ec arm64: dts: rockchip: rk1808-evb: change vcc_buck5 voltage
to fix up:
[    0.441016] vcc_buck5: Bringing 2800000uV into 2500000-2500000uV
[    0.442180] vcc_buck5: failed to apply 2500000-2500000uV constraint(-22)
[    0.442215] rk808 0-0020: failed to register 4 regulator
[    0.443429] rk808-regulator: probe of rk808-regulator failed with error -22

Change-Id: Ic36125718f7ace9ad498b45933f1a20a7fa4407d
Signed-off-by: shengfei Xu <xsf@rock-chips.com>
2018-10-07 10:03:03 +08:00