06 Aug, 2019

1 commit


29 Jul, 2019

1 commit


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

    Xiaozhou Liu
     
  • Remove clocks that dont exist in imx8qxp.
    Change clock names to match HW.

    Signed-off-by: Ranjani Vaidyanathan

    Ranjani Vaidyanathan
     
  • Remove clocks that dont exist in imx8qxp.
    Change clock names to match HW.

    Signed-off-by: Ranjani Vaidyanathan

    Ranjani Vaidyanathan
     

19 Jul, 2019

1 commit


17 Jul, 2019

1 commit


11 Jul, 2019

1 commit


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

    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

    Bai Ping
     

21 Jun, 2019

1 commit


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)

    Shengjiu Wang
     

04 Jun, 2019

1 commit


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

    Abel Vesa
     

20 May, 2019

1 commit


15 May, 2019

1 commit


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

    Liu Ying
     

30 Apr, 2019

1 commit


29 Apr, 2019

3 commits


26 Apr, 2019

2 commits


25 Apr, 2019

1 commit


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

    Li Jun
     

18 Apr, 2019

15 commits