Permalink
Commits on Apr 15, 2016
  1. Makefile: add EXTRAVERSION for linux4sam 5.3

    Nicolas Ferre
    Nicolas Ferre committed Apr 15, 2016
    Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
  2. pinctrl: at91-pio4: fix pull-up/down logic

    ldesroches authored and Nicolas Ferre committed Apr 15, 2016
    The default configuration of a pin is often with a value in the pull-up/down
    field at chip reset. So, even if the internal logic of the controller prevents
    writing a configuration with pull-up and pull-down at the same time, we must
    ensure explicitly this condition before writing the register.
    
    This was leading to a pull-down condition not taken into account for instance.
    
    Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
  3. mmc: sdhci-of-at91: Implement specific ->set_clock() function

    ldesroches committed Apr 7, 2016
    Disabling the internal clock while configuring the SD card clock can
    lead to internal clock stabilization issue and/or unexpected switch to
    the base clock when using presets.
    A quirk SDHCI_QUIRK2_NEED_DELAY_AFTER_INT_CLK_RST was introduced to fix
    these bugs. The cause was assumed to be a too long internal
    re-synchronisation but it seems in some cases the delay (even if longer)
    doesn't fix this bug. The safest workaround is to not disable/enable the
    internal clock during the SD card clock configuration.
    
    Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
    Acked-by: Adrian Hunter <adrian.hunter@intel.com>
    Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
  4. mmc: sdhci-of-at91: fix wake-up issue when using runtime pm

    ldesroches committed Mar 17, 2016
    It is impossible to wake-up on card detect event because when sdhci
    controller is runtime suspended, it is assumed that all clocks are
    disabled so we can't get irqs.
    If the device is removable and there is no gpio to manage the card
    detection then polling is used. It doesn't mean card detection is broken.
    It is curently we only way to wake-up on card event if using runtime pm.
    
    Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
    Acked-by: Adrian Hunter <adrian.hunter@intel.com>
    Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
  5. mmc: sdhci-of-at91: fix pm runtime unbalanced issue in error path

    Jisheng Zhang authored and ldesroches committed Feb 2, 2016
    The device power usage counter is increased by pm_runtime_get_noresume
    but isn't decreased in err_add_host error path.
    
    Fix this issue by calling pm_runtime_put_noidle() in the error path to
    restore the device's power usage counter.
    
    Signed-off-by: Jisheng Zhang <jszhang@marvell.com>
    Acked-by: Ludovic Desroches <ludovic.desroches@atmel.com>
    Fixes: f5f1781 ("mmc: sdhci-of-at91: add PM support)
    Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
  6. mmc: sdhci: Remove SDHCI_QUIRK2_NEED_DELAY_AFTER_INT_CLK_RST

    ldesroches committed Apr 7, 2016
    SDHCI_QUIRK2_NEED_DELAY_AFTER_INT_CLK_RST quirk is not used anymore so
    remove it.
    
    Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
    Acked-by: Adrian Hunter <adrian.hunter@intel.com>
    Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
  7. mmc: sdhci: Introduce sdhci_calc_clk()

    ldesroches committed Apr 7, 2016
    In order to remove the SDHCI_QUIRK2_NEED_DELAY_AFTER_INT_CLK_RST and to
    reduce code duplication, put the code relative to the SD clock
    configuration in a function which can be used by hosts for the
    implementation of the ->set_clock() callback.
    
    Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
    Acked-by: Adrian Hunter <adrian.hunter@intel.com>
    Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
  8. Revert "mmc: sdhci: don't disable the internal clock when setting sd …

    ldesroches committed Apr 15, 2016
    …clock"
    
    This reverts commit ef504e7.
Commits on Apr 14, 2016
  1. ARM: at91: defconfig: update with HDMI support

    Nicolas Ferre
    Nicolas Ferre committed Apr 14, 2016
    Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Commits on Mar 25, 2016
  1. Merge branches 'at91-4.1-trunk/qspi' and 'at91-4.1-trunk/dt' into lin…

    Nicolas Ferre
    Nicolas Ferre committed Mar 25, 2016
    …ux-4.1-at91
  2. ARM: at91/dt: sama5d2_xplained: use 4byte-address opcodes with QSPI f…

    Cyrille Pitchen
    Cyrille Pitchen committed Mar 25, 2016
    …lash
    
    This patch adds the "spi-nor-4byte-opcodes" DT property so the spi-nor
    framework translates the 3byte-address opcodes into their 4byte-address
    version.
    
    Signed-off-by: Cyrille Pitchen <cyrille.pitchen@atmel.com>
  3. mtd: spi-nor: add SPI_NOR_QUAD_READ flag for Macronix mx25l25635e

    Cyrille Pitchen
    Cyrille Pitchen committed Mar 25, 2016
    Macronix mx25l256 memories support Quad SPI commands.
    
    Signed-off-by: Cyrille Pitchen <cyrille.pitchen@atmel.com>
  4. mtd: spi-nor: fix read of the Configuration Register on Macronix memo…

    Cyrille Pitchen
    Cyrille Pitchen committed Mar 25, 2016
    …ries
    
    This patch replaces op code 0x35 by 0x15 to read the Configuration
    Register on Macronix memories.
    
    Signed-off-by: Cyrille Pitchen <cyrille.pitchen@atmel.com>
  5. ARM: at91/dt: sama5d2_xplained: enable pull-up resistors for QSPI0

    Cyrille Pitchen
    Cyrille Pitchen committed Mar 25, 2016
    This patch enables the pull-up resistors on data I/O lines.
    
    Signed-off-by: Cyrille Pitchen <cyrille.pitchen@atmel.com>
  6. ARM: at91/dt: sama5d2_xplained: use jedec,spi-nor as compatible string

    Cyrille Pitchen
    Cyrille Pitchen committed Mar 25, 2016
    This patch replaces the "micron,n25q128a13" string by "jedec,spi-nor": the
    generic compatible string matches other manufacturers like Macronix.
    
    Signed-off-by: Cyrille Pitchen <cyrille.pitchen@atmel.com>
  7. doc: dt: mtd: add a DT property to enable the use of 4byte-address op…

    Cyrille Pitchen
    Cyrille Pitchen committed Mar 22, 2016
    … codes
    
    This patch adds a new optional DT property which enables an alternative
    way of supporting memory size above 16MiB (128Mib). This new mechanism
    translates the regular 3byte-address op codes into their 4byte-address
    version whereas the old/default mecanism makes the SPI memory enter its
    4byte-address mode, which has annoying side effects for early bootloaders.
    
    We cannot discover at run time whether the SPI NOR memory supports the
    4byte-address op codes. For instance both Macronix MX25L25635E and
    MX25L25673G share the same JEDEC ID (C22019 without any extension byte).
    However the first one doesn't support 4byte-address op codes whereas the
    second one does.
    
    Signed-off-by: Cyrille Pitchen <cyrille.pitchen@atmel.com>
  8. mtd: spi-nor: add an alternative method to support memory >16MiB

    Cyrille Pitchen
    Cyrille Pitchen committed Mar 18, 2016
    This patch provides an alternative mean to support memory above 16MiB
    (128Mib) by replacing 3byte address op codes by their associated 4byte
    address versions.
    
    Using the dedicated 4byte address op codes doesn't change the internal
    state of the SPI NOR memory as opposed to using other means such as
    updating a Base Address Register (BAR) and sending command to enter/leave
    the 4byte mode.
    
    Hence when a CPU reset occurs, early bootloaders don't need to be aware
    of BAR value or 4byte mode being enabled: they can still access the first
    16MiB of the SPI NOR memory using the regular 3byte address op codes.
    
    Signed-off-by: Cyrille Pitchen <cyrille.pitchen@atmel.com>
Commits on Mar 21, 2016
  1. Merge branches 'at91-4.1-trunk/pmic' and 'at91-4.1-trunk/dt' into lin…

    Nicolas Ferre
    Nicolas Ferre committed Mar 21, 2016
    …ux-4.1-at91
  2. ARM: at91/dt: sama5d2_xplained: add pmic node's properties

    wenyouya authored and Nicolas Ferre committed Mar 10, 2016
    Add properties for the pmic node.
     - "active-semi,lbo-gpios" for the low battery voltage interrupt.
     - "active-semi,irq_gpios" for the charger status change interrupt.
    
    Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
  3. ARM: at91/dt: sama5d2_xplained: fix typo

    wenyouya authored and Nicolas Ferre committed Mar 10, 2016
    Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
Commits on Mar 16, 2016
  1. Merge branch 'at91-4.1-trunk/lcd' into linux-4.1-at91

    Nicolas Ferre
    Nicolas Ferre committed Mar 16, 2016
  2. drm: atmel-hlcdc: route DMA accesses through AHB interfaces

    bbrezillon authored and Nicolas Ferre committed Mar 15, 2016
    In relation with the actuall bandwith consumed on a DMA Source interface,
    choose the less used one for a created plane.
    
    Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
    [nicolas.ferre@atmel.com: adapt to our 4.1 kernel]
    Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Commits on Mar 15, 2016
  1. drm: atmel-hlcdc: Add IOCTL to export the phy addr of gem

    Jamsheeth authored and Nicolas Ferre committed Nov 30, 2015
    Added an IOCTL that exports the physical address of buffer to user space, so
    the vdec in userspace can perform DMA operations.
    
    Signed-off-by: Mohamed Jamsheeth Hajanajubudeen <mohamedjamsheeth.hajanajubudeen@atmel.com>
  2. ARM: at91: make the max zone order configurable

    Bo Shen Nicolas Ferre
    Bo Shen authored and Nicolas Ferre committed May 29, 2014
    When LCD frame buffer needs more memory, it will exceed the
    default max zone order, so make it configurable for larger
    one.
    
    Signed-off-by: Bo Shen <voice.shen@atmel.com>
    
    Conflicts:
    	arch/arm/Kconfig
  3. drm: atmel-hlcdc: change plane source DMA interface asignment

    Nicolas Ferre
    Nicolas Ferre committed Mar 15, 2016
    Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
    [nicolas.ferre@atmel.com: update the commit msg and adapt to 4.1]
    Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
  4. drm: bridge: sil902x fix sil902x_get_modes

    Nicolas Ferre
    Nicolas Ferre committed Mar 15, 2016
    Remove the update of the power down state in sil902x_get_modes() function
    so that the screen doesn't enter power save mode unintentionally.
    
    Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
    [nicolas.ferre@atmel.com: update the commit msg and adapt to 4.1]
    Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
  5. drm: bridge: add sil902x DT bindings doc

    bbrezillon authored and Nicolas Ferre committed Jan 6, 2016
    Add Sil9022 DT bindings description.
    
    Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
  6. drm: bridge: sil902x

    bbrezillon authored and Nicolas Ferre committed Dec 31, 2015
    Add basic support for the sil902x RGB -> HDMI bridge.
    This driver does not support audio output yet.
    
    Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
    ---
    Hello,
    
    This patch is only adding basic support for the sil9022 chip.
    As stated in the commit log, there's no audio support, but the
    driver also hardcodes a lot of things (like the RGB input format to
    use).
    There are two reasons for this:
    1/ the DRM framework does not allow for advanced link description
       between an encoder and a bridge (that's for the RGB format
       limitation). Any idea how this should be described?
    
    2/ I don't have the datasheet of this HDMI encoder, and all logic
       has been extracted from those two drivers [1][2], which means
       I may miss some important things in my encoder setup.
    
    Another thing I find weird in the drm_bridge interface is the fact
    that we have a ->attach() method, but no ->detach(), which can be
    a problem if we allow drm bridges and KMS drivers to be compiled as
    modules. Any reason for that?
    
    That's all for the questions part :-).
    
    Best Regards,
    
    Boris
    
    Changes in v2:
    - fix errors reported by the kbuild robot
    
    Conflicts:
    	drivers/gpu/drm/bridge/Kconfig
    	drivers/gpu/drm/bridge/Makefile
  7. drm: atmel-hlcdc: backport to 4.1 kernel

    Nicolas Ferre
    Nicolas Ferre committed Mar 8, 2016
    Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
  8. drm: atmel-hlcdc: check display mode validity in crtc->mode_fixup()

    bbrezillon authored and Nicolas Ferre committed Jan 6, 2016
    Move the adjusted display mode check into ->mode_fixup().
    
    Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
  9. drm: atmel-hlcdc: rework the output code to support drm bridges

    bbrezillon authored and Nicolas Ferre committed Jan 6, 2016
    The current output code only supports connection to drm panels.
    First simplify the drm panel code, and then add support for external drm
    bridges.
    
    Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
  10. drm: atmel-hlcdc: move output mode selection in CRTC implementation

    Nicolas Ferre
    Nicolas Ferre committed Mar 15, 2016
    In order to support multiple outputs we need to move the output mode
    selection to the CRTC object, so that the output validity check can be
    done against the drm_atomic_state.
    
    If the connectors selected by a specific mode setting are requiring
    incompatible bus format the atomic operation is aborted (->atomic_check()
    returns -EINVAL).
    
    In order to implement that, we need to define our own CRTC state and
    overload default ->reset(), ->atomic_duplicate_state() and
    ->atomic_destroy_state() functions.
    
    Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
    
    Conflicts:
    	drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_output.c
  11. drm: atmel-hlcdc: support extended timing ranges on sama5d4 and sama5d2

    bbrezillon authored and Nicolas Ferre committed Jan 6, 2016
    The display timings on old SoCs older than the sama5d4 are quite limited
    and prevent the use of many displays. Add support for extended timing
    ranges on sama5d2 and sama5d4.
    
    Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>