06 Aug, 2019
1 commit
-
On some imx host, if USB PHY is active when bus suspended, host may
have problem on taking over resume signal of remote wakeup from usb
device, resolve this by making PHY enter low power mode right after
bus suspended.Acked-by: Peter Chen
Signed-off-by: Li Jun
29 Jul, 2019
1 commit
-
Implement program support.
Restruct code to check hole/ecc region.
Use ATF SIP to program fuse
Add mutex lock to protect accessSigned-off-by: Peng Fan
Reviewed-by: Ye Li
25 Jul, 2019
3 commits
-
Macros 'inline' and '__gnu_inline' used to be defined in compiler-gcc.h,
which was (and is) included entirely in (__KERNEL__ && !__ASSEMBLY__).
Commit 815f0ddb346c ("include/linux/compiler*.h: make compiler-*.h mutually
exclusive") had those macros exposed to userspace, unintentionally.Then commit a3f8a30f3f00 ("Compiler Attributes: use feature checks
instead of version checks") moved '__gnu_inline' back into
(__KERNEL__ && !__ASSEMBLY__) and 'inline' was left behind. Since 'inline'
depends on '__gnu_inline', compiling error showing "unknown type name
‘__gnu_inline’" will pop up, if userspace somehow includes
.Other macros like __must_check, notrace, etc. are in a similar situation.
So just move all these macros back into (__KERNEL__ && !__ASSEMBLY__).Note:
1. This patch only affects what userspace sees.
2. __must_check (when !CONFIG_ENABLE_MUST_CHECK) and noinline_for_stack
were once defined in __KERNEL__ only, but we believe that they can
be put into !__ASSEMBLY__ too.Acked-by: Nick Desaulniers
Signed-off-by: Xiaozhou Liu
Signed-off-by: Miguel Ojeda -
Remove clocks that dont exist in imx8qxp.
Change clock names to match HW.Signed-off-by: Ranjani Vaidyanathan
-
Remove clocks that dont exist in imx8qxp.
Change clock names to match HW.Signed-off-by: Ranjani Vaidyanathan
19 Jul, 2019
1 commit
-
Add smbus_xfer interface in xen-i2cback/front driver.
Reviewed-by: Peng Fan
Signed-off-by: Flynn xu
(cherry picked from commit 5344f6c8efe9cabe72fbf6bd12fdb393a45a64c0)
17 Jul, 2019
1 commit
-
Update i.MX8MM pinctrl head file according to reference manual
Rev.1, 03/2019.Signed-off-by: Anson Huang
Reviewed-by: Jacky Bai
(cherry picked from commit 1deb822528206006de8e466c01ea8e782c51b0eb)
11 Jul, 2019
1 commit
-
Fix build break, this file was missed when adding xen 4.19 support.
Signed-off-by: Peng Fan
27 Jun, 2019
2 commits
-
This is an reset driver to implement a reset controller
device DISPMIX on IMX8MM and IMX8MN platforms. Dispmix
reset is used to reset or enable related buses and clks
for the submodules in DISPMIX.All the dispmix resets are divided into three subgroups:
sft_rstn, clk_en and mipi_rst, and each of them contains
several reset lines to control several different modules
on and off in DISPMIX which doesn't require the standard
reset flow, but only line assert and deassert operations.Signed-off-by: Fancy Fang
-
Add i.MX8MN clock and pin definition.
Signed-off-by: Bai Ping
Signed-off-by: Anson Huang
Reviewed-by: Abel Vesa
Reviewed-by: Bai Ping
21 Jun, 2019
1 commit
-
Revert this patch in order to re-implement this logic.
This reverts commit 2844bfa4ca912d68758ca734dd56963b7095e481.Signed-off-by: Robert Chiras
10 Jun, 2019
1 commit
-
In order to support the new ASRC in i.MX815, we update the
user api file mxc_asrc.h.The reason is that the new ASRC support more sample width, and
support endianness, sign, float format, iec958 format setting,
All these type can be expressed by snd_pcm_format_t type.So we use the in(out)put_format to instead the in(out)put_word_width.
Signed-off-by: Shengjiu Wang
Reviewed-by: Daniel Baluta
Reviewed-by: Viorel Suman
(cherry picked from commit b95c32c4d4b51e3e55e1e28269a0e8bce0a04f98)
04 Jun, 2019
1 commit
-
Change the licence to GPL.
Signed-off-by: Yong Gan
(cherry picked from commit c339c74ea52406f966507b89aa076ae0cdfd0ab6)
31 May, 2019
1 commit
-
Instead of just raising irq0 for all the cores, we mask the irq0 for all the
non-target cores, this way waking up only the core we want. All of this
is done now in TF-A.Also, since this new workaround doesn't need the IOMUX_GPR1 register here
in kernel, the IOMUX_GPR reg entry inside the gic dts node can be removed.In order for this to work, the following commit is needed in TF-A:
0e91ff59720d0756 ("MLK-21399 plat: imx8mq: gpc: Workaround for ERR11171")Signed-off-by: Abel Vesa
Reviewed-by: Leonard Crestez
20 May, 2019
1 commit
-
The added format is V4L2_PIX_FMT_YUV24, this is a packed
YUV 4:4:4 format, with 8 bits for each component, 24 bits
per sample.Signed-off-by: Mirela Rabulea
Reviewed-by: Laurentiu Palcu
Acked-by: Leonard Crestez
15 May, 2019
1 commit
-
This is a large change but realigns us with upstream is useful and make
git diff useful.This was already done on imx8mq after that SOC was upstreamed.
Mixing dts and driver changes is intentional because changes only
compile together.Signed-off-by: Leonard Crestez
Reviewed-by: Abel Vesa
10 May, 2019
1 commit
-
As suggested by the design team, there is rigorous timing requirement
to address TKT320590, that is, we need to turn Tcon(s) from bypass mode
into operation mode as soon as the first dumb frame is generated by DPU.
When dual stream is used, we should look at the first dumb frame generated
by the master FrameGen. If we cannot ensure the timing requirement, say
the Tcon mode switching takes place after the second frame is generated
by DPU, the hardware could run into malfunction sometimes. Based on
stress tests, the content shadow load done event for the first time we call
->atomic_flush() may not come after the CRTC enablement in the single
stream case and it looks like display data is not generated to the
down-stream encoder(hence, black screen). This patch tunes enablement
sequence to correctly switch Tcon mode, according to the design team's
suggestions. During the switching, we don't relinquish CPU to ensure the
sequence is straightforward to meet the timing requirement. As we cannot
sleep during the switching, we take the pixel link enablement/disablement
operations(wrapped by a mutex in RPC call) out of framegen_enable/disable()
functions and put them at appropriate place. This introduces additional
sequence modifications but should be safe.Signed-off-by: Liu Ying
30 Apr, 2019
1 commit
-
We allocate skb according to "fd on" or "fd off" before, this may not
reasonable. Such as, transfer normal frame when fd mode is on. Allcoating
skb based on "EDL" bit from mailbox ctrl field is more reasonable.Signed-off-by: Joakim Zhang
29 Apr, 2019
3 commits
-
This patch adds user-configurable CRC region support.
The users may choose a region of interest(ROI) as the CRC source
(i.e., the CRC evaluation window) via the debugfs control node.
The ROI cannot exceed the display region as indicated by
drm_crtc_state->adjusted_mode. The users may write a string in
the fashion of "roi:x1,y1,x2,y2" to the node to specify the ROI
within the display region. The inclusive position at (x1, y1)
indicates the upper left of the region, while the exclusive
position at (x2, y2) indicates the lower right of the region.Signed-off-by: Liu Ying
-
This patch adds helper disengcfg_sig_select() support so that
users may select different taps(FrameGen, GammaCor, Matrix or
Dither) to do signature computation. Also, select FrameGen as
the default tap in _dpu_dec_init() and call it in dpu_dec_init().Signed-off-by: Liu Ying
-
This patch adds signature unit support in the dpu common driver.
Signed-off-by: Liu Ying
26 Apr, 2019
2 commits
-
This reverts commit 7da862fdfe2cff02361098e2dbabc93c4e92b8a1.
-
This reverts commit cf2ea7c7b563842ce6dfa3fc8c8fafdbdc5ef7c8.
25 Apr, 2019
1 commit
-
prep/unprep functions were not added in new spi_nor_resume function.
Signed-off-by: Han Xu
19 Apr, 2019
1 commit
-
This reverts commit ccbf06406704c52d5146c9f28cbc8907429b92ce.
As we will use fwnode API to get typec properties, those APIs to be
reverted are not required, this will also fix below build warnings:drivers/usb/typec/class.c: In function ‘typec_register_port’:
drivers/usb/typec/class.c:1591:2: warning: enumeration value
‘TYPEC_PORT_TYPE_UNKNOWN’ not handled
in switch [-Wswitch]
switch (cap->type) {
^~~~~~Reported-by: Fugang Duan
Acked-by: Peter Chen
Signed-off-by: Li Jun
18 Apr, 2019
15 commits
-
Add the missing clocks for the DSI PHY_REF:
IMX8QM_MIPI0_DSI_PHY_CLK and IMX8QM_MIPI1_DSI_PHY_CLK.Signed-off-by: Robert Chiras
Reviewed-by: Laurentiu Palcu -
Add brcmfmac platform device pinctrl state support. That is useful
for dynamically configurate pin group for different wlan chips.Reviewed-by: Richard Zhu
Signed-off-by: Fugang Duan
(cherry picked from commit 88f2834cd5b8cb8864af68d265b5bdee3000c4bf) -
Add struct drm_imx_dpu_frame_info.
Configure dprc to enable prefetch for dpu blit.
Configure prefetch with source frame info for dpu blit.Signed-off-by: Meng Mingming
-
Implement Blt engine as DRM renderer.
Add dpu ioctl to support imx-drm render feature.Signed-off-by: Adrian Negreanu
Signed-off-by: Marius Vlad
Signed-off-by: Meng Mingming -
A component master may have both OF based and non-OF based components to be
bound with. This patch adds a helper drm_of_component_probe_with_match()
similar to drm_of_component_probe() so that the new helper may get an
additional provided match pointer(contains match entries for non-OF based
components) to support this case.Tested-by: Meng Mingming
Signed-off-by: Liu Ying
(cherry picked from commit c3cad7223488638ab56c20b2c29345487857bc5f) -
Add regulator_desc_list_voltage_linear_range which can be used
by drivers for getting the voltages before regulator is registered.
This may be useful for drivers which need to fetch the voltage
selectors at device-tree parsing callback.Signed-off-by: Matti Vaittinen
Acked-by: Mark Brown
Tested-by: Angus Ainslie
Reviewed-by: Angus Ainslie
Signed-off-by: Mark Brown
(cherry picked from commit 6a47b4da551a762217215aeeda22e46469c5868a) -
All the fields in struct bd718xx_pmic are not really necessary.
Remove struct bd718xx_pmic to simplify the code.Signed-off-by: Axel Lin
Reviewed-by: Matti Vaittinen
Signed-off-by: Mark Brown
(cherry picked from commit bcb047ebf28453da56f0265aeeb9edc52b797ea7) -
Few regulators in BD71837 and BD71847 can output voltages from
different voltage ranges. Register interface is arranged so that
used range is selected by toggling bits which are not next to actual
voltage selection bits. Then the voltage inside selected range is
determined by voltage selection bits (as usual). Support BD71837
and BD71847 selectible range voltages using new pickable ranges
helpers.Signed-off-by: Matti Vaittinen
Signed-off-by: Mark Brown
(cherry picked from commit a4bfc2c28a21f4d5274d813b20fd015a9dc9bcfa) -
Rename parts of code that support both BD71837 and BD71847 to BD718XX.
Signed-off-by: Matti Vaittinen
Acked-by: Lee Jones
Signed-off-by: Mark Brown
(cherry picked from commit dd2be639f4a918b335818bf22a937956e552b957) -
For example ROHM BD71837 and ROHM BD71847 Power management ICs have
regulators which provide multiple linear ranges. Ranges can be
selected by individual non contagious bit in vsel register. Add
regmap helper functions for selecting ranges.Signed-off-by: Matti Vaittinen
Signed-off-by: Mark Brown
(cherry picked from commit 18e4b55fbd2069cee51ef9660b35c65ec13bee6d) -
BD71847 is reduced version of BD71837. DVS bucks 3 and 4 are
removed as is LDO7. Voltage ranges of some regulators are
expanded.Add initial support for BD71847 with BD71837 driver.
Signed-off-by: Matti Vaittinen
Acked-by: Lee Jones
Signed-off-by: Mark Brown
(cherry picked from commit 494edd266b945f36908184433dd36eda1719cdb0) -
This patch updates SCFW API to v1.7, based on below commit:
252281d48647 ("SCF-105: Update wiki.")
Signed-off-by: Anson Huang
Reviewed-by: Bai Ping
(cherry picked from commit d62625563213b516c6238e970f31d07d20bbe19e) -
Some arc4 cipher algorithm defines show up in two places:
crypto/arc4.c and drivers/crypto/bcm/cipher.h.
Let's export them in a common header and update their users.Signed-off-by: Iuliana Prodan
Reviewed-by: Horia Geantă
Signed-off-by: Herbert Xu
(cherry picked from commit bd30cf533b77420b7c504c09cef5ba26b0c9dcb4)
Reviewed-by: Horia Geanta -
Fast-forward dpu common driver from imx_4.14.y.
Signed-off-by: Liu Ying
-
Fast-forward imx8_pc driver from imx_4.14.y.
Signed-off-by: Liu Ying