Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

4.9-1.0.x-imx fixes from Toradex branch #20

Merged
merged 9 commits into from
Dec 13, 2017

Commits on Dec 13, 2017

  1. chipidea: make usb charger optional

    The USB charger functionality depends on functions provided by
    CONFIG_POWER_SUPPLY but this dependency is not forced through Kconfig.
    
    Don't compile the functionality in when CONFIG_POWER_SUPPLY is not set.
    
    This fixes linker errors of not found symbols.
    power_supply_changed
    power_supply_register
    power_supply_unregister
    
    Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
    Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
    MaxKrummenacher authored and Stefan Agner committed Dec 13, 2017
    Configuration menu
    Copy the full SHA
    e23e233 View commit details
    Browse the repository at this point in the history
  2. video: mxsfb: add compile dependencies

    mxsfb seems to have dependencies into mxcfb (it requires
    mxc_dispdrv_gethandle), hence compile mxc_dispdrv.c unconditionally.
    
    Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
    Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
    Stefan Agner committed Dec 13, 2017
    Configuration menu
    Copy the full SHA
    94a22d9 View commit details
    Browse the repository at this point in the history
  3. video: fbdev: mxsfb: fix pixelclock polarity

    The PIXDATA flags of the display_flags enum are controller centric,
    e.g. NEGEDGE means the controller shall drive the data signals on
    pixelclocks negative edge. However, the drivers flag is display
    centric: Sample the data on negative (falling) edge.
    
    Therefore, change the if statement to check for the POSEDGE flag
    (which is typically not set):
    Drive on positive edge => sample on negative edge
    
    Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
    Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
    Stefan Agner committed Dec 13, 2017
    Configuration menu
    Copy the full SHA
    5652dc1 View commit details
    Browse the repository at this point in the history
  4. dmaengine: Kconfig: Extend the dependency for MXS_DMA

    Currently it is not possible to select the mxs dma driver when only
    mx6sx or mx7 are selected.
    
    Extend the dependency to allow the mxs dma driver to be built whenever
    ARCH_MXS or ARCH_MXC is selected.
    
    This has the benefit to avoid having to add new entries in the
    MXS_DMA Kconfig everytime a new i.MX SoC shows up and it also makes
    it consistent with the other i.MX DMA engines, such as IMX_DMA and
    IMX_SDMA.
    
    While at it, also pass COMPILE_TEST for increasing the build coverage.
    
    Acked-by: Stefan Agner <stefan@agner.ch>
    Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
    Signed-off-by: Vinod Koul <vinod.koul@intel.com>
    Fabio Estevam authored and Stefan Agner committed Dec 13, 2017
    Configuration menu
    Copy the full SHA
    c74f84b View commit details
    Browse the repository at this point in the history
  5. video: mxsfb: simplify parsing

    Use the timing count from the parsed struct display_timings instead
    of looping through the device tree again.
    
    Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
    Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
    Stefan Agner committed Dec 13, 2017
    Configuration menu
    Copy the full SHA
    65be28e View commit details
    Browse the repository at this point in the history
  6. video: fbdev: mxsfb: honor native-mode

    Honor the native-mode property by adding only that mode to the
    mode list. With that we loose the list of modes, but we currently
    don't make use of it anyway. Also, the mode list lacks the pixel
    clock polarity information since struct fb_videomode does not store
    this information.
    
    Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
    Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
    Stefan Agner committed Dec 13, 2017
    Configuration menu
    Copy the full SHA
    3cb3771 View commit details
    Browse the repository at this point in the history
  7. ASoC: sgtl5000: Allow LRCLK pad drive strength to be changed

    Introduce the "lrclk-strength" property to allow LRCLK pad drive strength
    to be changed via device tree.
    
    When running a stress playback loop test on a mx6dl wandboard channel
    swap can be noticed on about 10% of the times.
    
    While debugging this issue I noticed that when probing the SGTL5000
    LRCLK pin with the scope the swap did not happen. After removing
    the probe the swap started to happen again.
    
    After changing the LRCLK pad drive strength to the maximum value the
    issue is gone.
    
    Same fix works on a mx6dl Colibri board as well.
    
    Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
    Tested-by: Max Krummenacher <max.krummenacher@toradex.com>
    Signed-off-by: Mark Brown <broonie@kernel.org>
    Fabio Estevam authored and Stefan Agner committed Dec 13, 2017
    Configuration menu
    Copy the full SHA
    91dca47 View commit details
    Browse the repository at this point in the history
  8. ARM: dts: imx6ull: include all needed definitions

    The file uses linux,keycode = <KEY_POWER>;, so include
    the header which defines KEY_POWER.
    
    Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
    Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
    MaxKrummenacher authored and Stefan Agner committed Dec 13, 2017
    Configuration menu
    Copy the full SHA
    479e0ba View commit details
    Browse the repository at this point in the history
  9. ARM: dts: imx6ull: fix pwm clock

    All PWM clock instances have their clock gate. Add these consistently.
    Fixes freezing the kernel when one of these instances is used with
    IMX6UL_CLK_DUMMY as its clock source.
    
    Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
    Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
    MaxKrummenacher authored and Stefan Agner committed Dec 13, 2017
    Configuration menu
    Copy the full SHA
    cd5d7ba View commit details
    Browse the repository at this point in the history