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

DT fixes #20

Closed
Closed
This pull request is big! We’re only showing the most recent 250 commits.

Commits on Sep 21, 2015

  1. Configuration menu
    Copy the full SHA
    235546b View commit details
    Browse the repository at this point in the history
  2. Merge branch 'at91-4.1-trunk/pinctrl' into linux-4.1-at91

    Nicolas Ferre committed Sep 21, 2015
    Configuration menu
    Copy the full SHA
    39f6afa View commit details
    Browse the repository at this point in the history

Commits on Sep 22, 2015

  1. pinctrl: at91-pio4: sync with mainline

    Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
    ldesroches committed Sep 22, 2015
    Configuration menu
    Copy the full SHA
    fb46df0 View commit details
    Browse the repository at this point in the history
  2. ARM: at91/dt: sama5d2: update to new pinmux binding

    Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
    ldesroches committed Sep 22, 2015
    Configuration menu
    Copy the full SHA
    38b43ab View commit details
    Browse the repository at this point in the history
  3. ARM: at91/dt: ov2640: add hsync/vsync-active property

    On at91sam9x5ek/at91sam9m10g45ek/sama5d3xek boards, we use the parallel
    connection for ov2640. So we must set the hsync/vsync property (1 means
    active high).
    Otherwise, the connection would be seen as BT.656 or BT.1120.
    
    Signed-off-by: Josh Wu <josh.wu@atmel.com>
    Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
    JoshWu authored and Nicolas Ferre committed Sep 22, 2015
    Configuration menu
    Copy the full SHA
    07fca7e View commit details
    Browse the repository at this point in the history
  4. Merge branches 'at91-4.1-trunk/dt' and 'at91-4.1-trunk/pinctrl' into …

    …linux-4.1-at91
    Nicolas Ferre committed Sep 22, 2015
    Configuration menu
    Copy the full SHA
    303da30 View commit details
    Browse the repository at this point in the history
  5. irqchip/atmel-aic5: Use per chip mask caches in mask/unmask()

    When masking/unmasking interrupts, mask_cache is updated and used later
    for suspend/resume. Unfortunately, it always was the mask_cache
    associated with the first irq chip which was updated. So when performing
    resume, only irqs 0-31 could be enabled.
    
    Fixes: b1479eb ("irqchip: atmel-aic: Add atmel AIC/AIC5 drivers")
    Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
    Cc: <sasha.levin@oracle.com>
    Cc: <linux-arm-kernel@lists.infradead.org>
    Cc: <nicolas.ferre@atmel.com>
    Cc: <alexandre.belloni@free-electrons.com>
    Cc: <boris.brezillon@free-electrons.com>
    Cc: <Wenyou.Yang@atmel.com>
    Cc: <jason@lakedaemon.net>
    Cc: <marc.zyngier@arm.com>
    Cc: stable@vger.kernel.org linux4sam#3.18
    Link: http://lkml.kernel.org/r/1442843173-2390-1-git-send-email-ludovic.desroches@atmel.com
    Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
    ldesroches authored and Nicolas Ferre committed Sep 22, 2015
    Configuration menu
    Copy the full SHA
    7792d1c View commit details
    Browse the repository at this point in the history
  6. irqchip/atmel-aic5: Use explicit variable name for the base chip

    To avoid errors, use an explicit variable name when accessing the 'base'
    generic chip.
    
    Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
    Acked-by: Nicholas Ferre <nicolas.ferre@atmel.com>
    Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com>
    Cc: <sasha.levin@oracle.com>
    Cc: <linux-arm-kernel@lists.infradead.org>
    Cc: <alexandre.belloni@free-electrons.com>
    Cc: <Wenyou.Yang@atmel.com>
    Cc: <jason@lakedaemon.net>
    Cc: <marc.zyngier@arm.com>
    Link: http://lkml.kernel.org/r/1442843173-2390-2-git-send-email-ludovic.desroches@atmel.com
    Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
    ldesroches authored and Nicolas Ferre committed Sep 22, 2015
    Configuration menu
    Copy the full SHA
    8d20c8d View commit details
    Browse the repository at this point in the history
  7. irqchip/atmel-aic5: Simplify base chip selection

    Use irq_get_domain_generic_chip() to select the base chip.
    
    Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
    Acked-by: Nicholas Ferre <nicolas.ferre@atmel.com>
    Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com>
    Cc: <sasha.levin@oracle.com>
    Cc: <linux-arm-kernel@lists.infradead.org>
    Cc: <alexandre.belloni@free-electrons.com>
    Cc: <Wenyou.Yang@atmel.com>
    Cc: <jason@lakedaemon.net>
    Cc: <marc.zyngier@arm.com>
    Link: http://lkml.kernel.org/r/1442843173-2390-3-git-send-email-ludovic.desroches@atmel.com
    Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
    ldesroches authored and Nicolas Ferre committed Sep 22, 2015
    Configuration menu
    Copy the full SHA
    fc4a738 View commit details
    Browse the repository at this point in the history
  8. Merge branch 'at91-4.1-trunk/base+4.3' into linux-4.1-at91

    Nicolas Ferre committed Sep 22, 2015
    Configuration menu
    Copy the full SHA
    fafe46b View commit details
    Browse the repository at this point in the history

Commits on Sep 23, 2015

  1. pinctrl: at91: fix bad sync from mainline

    Kconfig sync with mainline was false.
    
    Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
    ldesroches committed Sep 23, 2015
    Configuration menu
    Copy the full SHA
    f33acbc View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6cd5ff3 View commit details
    Browse the repository at this point in the history

Commits on Sep 24, 2015

  1. ARM: at91/dt: sama5d2: add audio pll clock nodes

    Three audio pll clock nodes. It will provide access to both the PMC route
    and the special audio clock pad on the SoC.
    
    Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
    Nicolas Ferre authored and Cyrille Pitchen committed Sep 24, 2015
    Configuration menu
    Copy the full SHA
    903eca7 View commit details
    Browse the repository at this point in the history
  2. ARM: at91/dt: sama5d2: add the audio pll to the gck mux

    The Generated Clock has an additional entry for the audio pll.
    Add it to the device tree so that we can choose it when using one gck.
    
    No additional code is needed to use it.
    
    Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
    Nicolas Ferre authored and Cyrille Pitchen committed Sep 24, 2015
    Configuration menu
    Copy the full SHA
    c6ac666 View commit details
    Browse the repository at this point in the history
  3. ARM: at91/dt: sama5d2: add nodes for I2S controllers

    Signed-off-by: Cyrille Pitchen <cyrille.pitchen@atmel.com>
    Cyrille Pitchen committed Sep 24, 2015
    Configuration menu
    Copy the full SHA
    2f6958a View commit details
    Browse the repository at this point in the history
  4. ARM: at91/dt: sama5d2 xplained: add pin muxing for I2S0

    This patch sets the pin muxing for the I2S0 controller.
    
    Signed-off-by: Cyrille Pitchen <cyrille.pitchen@atmel.com>
    Cyrille Pitchen committed Sep 24, 2015
    Configuration menu
    Copy the full SHA
    5c959bb View commit details
    Browse the repository at this point in the history
  5. ARM: at91/dt: fix name of I2S controller data in and data out pins

    The I2S controller has only one data in pin and one data out pin: remove
    the useless trailing '0' in the macro names.
    
    Signed-off-by: Cyrille Pitchen <cyrille.pitchen@atmel.com>
    Cyrille Pitchen committed Sep 24, 2015
    Configuration menu
    Copy the full SHA
    189e69f View commit details
    Browse the repository at this point in the history
  6. ASoC: atmel-i2s: add DT bindings for I2S controller

    This patch adds DT bindings for the new Atmel I2S controller embedded
    inside sama5d2x SoCs.
    
    Signed-off-by: Cyrille Pitchen <cyrille.pitchen@atmel.com>
    Cyrille Pitchen committed Sep 24, 2015
    Configuration menu
    Copy the full SHA
    568c19a View commit details
    Browse the repository at this point in the history

Commits on Sep 28, 2015

  1. ARM: at91/dt: sama5d2: add required aliases for I2S controller nodes

    This patch adds the i2s0 and i2s1 aliases: the I2S controller driver calls
    of_alias_get_id() to retrieve the controller ID and eventually updates the
    SFR_I2SCLKSEL register to switch to the PMC generated clock.
    
    Signed-off-by: Cyrille Pitchen <cyrille.pitchen@atmel.com>
    Cyrille Pitchen committed Sep 28, 2015
    Configuration menu
    Copy the full SHA
    cb6b411 View commit details
    Browse the repository at this point in the history
  2. ARM: at91/dt: sama5d2: add SFR node

    This SFR node is looked up by the I2S controller driver to tune the
    SFR_I2SCLKSEL register.
    
    Signed-off-by: Cyrille Pitchen <cyrille.pitchen@atmel.com>
    Cyrille Pitchen committed Sep 28, 2015
    Configuration menu
    Copy the full SHA
    d95c1f4 View commit details
    Browse the repository at this point in the history

Commits on Sep 29, 2015

  1. ARM: at91/soc: add support to the Audio PLL on sama5d2

    This patch selects the Audio PLL support on sama5d2 SoC.
    
    Signed-off-by: Cyrille Pitchen <cyrille.pitchen@atmel.com>
    Cyrille Pitchen committed Sep 29, 2015
    Configuration menu
    Copy the full SHA
    a3674e3 View commit details
    Browse the repository at this point in the history
  2. clk: at91: add audio pll clock driver

    This new clock driver set allows to have a fractional divided clock that
    would generate a precise clock particularly suitable for audio applications.
    
    The main audio pll clock has two children clocks: one that is connected to
    the PMC, the other that can directly drive a pad. As these two routes have
    different enable bits and different dividers and divider formula, they are
    handled by two different drivers. Each of them would modify the rate of
    the main audio pll parent.
    
    Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
    Signed-off-by: Cyrille Pitchen <cyrille.pitcher@atmel.com>
    Nicolas Ferre authored and Cyrille Pitchen committed Sep 29, 2015
    Configuration menu
    Copy the full SHA
    549e769 View commit details
    Browse the repository at this point in the history
  3. ASoC: atmel-i2s: add driver for the new Atmel I2S controller

    This patch adds support for the Atmel I2S controller embedded into
    sama5d2x SoCs.
    
    Signed-off-by: Cyrille Pitchen <cyrille.pitchen@atmel.com>
    Cyrille Pitchen committed Sep 29, 2015
    Configuration menu
    Copy the full SHA
    196923e View commit details
    Browse the repository at this point in the history
  4. Merge branch 'at91-4.1-trunk/clk' into linux-4.1-at91

    Cyrille Pitchen committed Sep 29, 2015
    Configuration menu
    Copy the full SHA
    8618f00 View commit details
    Browse the repository at this point in the history
  5. Merge branch 'at91-4.1-trunk/soc' into linux-4.1-at91

    Cyrille Pitchen committed Sep 29, 2015
    Configuration menu
    Copy the full SHA
    cc263c4 View commit details
    Browse the repository at this point in the history
  6. Merge branch 'at91-4.1-trunk/i2s' into linux-4.1-at91

    Cyrille Pitchen committed Sep 29, 2015
    Configuration menu
    Copy the full SHA
    c65339c View commit details
    Browse the repository at this point in the history
  7. Merge branch 'at91-4.1-trunk/pinctrl' into linux-4.1-at91

    Cyrille Pitchen committed Sep 29, 2015
    Configuration menu
    Copy the full SHA
    1338cd8 View commit details
    Browse the repository at this point in the history
  8. Merge branch 'at91-4.1-trunk/dt' into linux-4.1-at91

    Cyrille Pitchen committed Sep 29, 2015
    Configuration menu
    Copy the full SHA
    53073bd View commit details
    Browse the repository at this point in the history

Commits on Oct 1, 2015

  1. dmaengine: at_xdmac: handle numf > 1

    Handle 'numf > 1' case for interleaved mode.
    
    Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
    Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
    mripard authored and ldesroches committed Oct 1, 2015
    Configuration menu
    Copy the full SHA
    0cc27b3 View commit details
    Browse the repository at this point in the history
  2. dmaengine: at_xdmac: change block increment addressing mode

    The addressing mode we were using was not only incrementing the address at
    each microblock, but also at each data boundary, which was severely slowing
    the transfer, without any benefit since we were not using the data stride.
    
    Switch to the micro block increment only in order to get back to an
    acceptable performance level.
    
    Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
    Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
    Fixes: 6007ccb ("dmaengine: xdmac: Add interleaved transfer support")
    Cc: stable@vger.kernel.org linux4sam#4.2
    mripard authored and ldesroches committed Oct 1, 2015
    Configuration menu
    Copy the full SHA
    87ffb19 View commit details
    Browse the repository at this point in the history
  3. dmaengine: at_xdmac: fix memory leak in interleaved mode

    In interleaved mode, when numf > 1, we have only one descriptor for the
    transfer but this descriptor has to be added to the descs_list. If not,
    when doing remove_xfer, the descriptor won't be put back in the
    free_descs_list.
    
    Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
    ldesroches committed Oct 1, 2015
    Configuration menu
    Copy the full SHA
    2388b8d View commit details
    Browse the repository at this point in the history
  4. dmaengine: at_xdmac: clean used descriptor

    When putting back a descriptor to the free descs list, some fields are
    not set to 0, it can cause bugs if someone uses it without having this
    in mind.
    Descriptor are not put back one by one so it is easier to clean
    descriptors when we request them.
    
    Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
    Cc: stable@vger.kernel.org linux4sam#4.2
    ldesroches committed Oct 1, 2015
    Configuration menu
    Copy the full SHA
    cf18181 View commit details
    Browse the repository at this point in the history

Commits on Oct 13, 2015

  1. i2c: at91: add setting HOLD field of TWIHS_CWGR via DT

    This patch is to add setting the HOLD field to adapt to the different
    I2C slave device. To configure it more flexibly, add a DT property
    "atmel,twd-hold-cycles" to specify the HOLD field to increase the TWD
    hold time.
    
    Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
    wenyouya authored and Nicolas Ferre committed Oct 13, 2015
    Configuration menu
    Copy the full SHA
    73a04fe View commit details
    Browse the repository at this point in the history
  2. i2c: at91: update documentation for DT bindings

    add a new value "atmel,sama5d2-i2c" for the "compatible" property.
    add a new optional property "atmel,fifo-size" to enable FIFO support when
    available.
    add missing optional properties "dmas" and "dma-names".
    
    Signed-off-by: Cyrille Pitchen <cyrille.pitchen@atmel.com>
    Cyrille Pitchen authored and Nicolas Ferre committed Oct 13, 2015
    Configuration menu
    Copy the full SHA
    553d297 View commit details
    Browse the repository at this point in the history
  3. i2c: at91: add DT property "atmel,twd-hold-cycles" to binding

    Add a DT property "atmel,twd-hold-cycles" to specify the HOLD
    filed of TWIHS_CWGR register to increase the TWD hold time.
    
    Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
    wenyouya authored and Nicolas Ferre committed Oct 13, 2015
    Configuration menu
    Copy the full SHA
    443da96 View commit details
    Browse the repository at this point in the history
  4. ARM: dts: at91: specify DT property "atmel,twd-hold-cycles"

    Specify the device tree property "atmel,twd-hold-cycles" to 25
    to adapt to the PMIC ACT8945A.
    
    Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
    wenyouya authored and Nicolas Ferre committed Oct 13, 2015
    Configuration menu
    Copy the full SHA
    dd4c8f9 View commit details
    Browse the repository at this point in the history
  5. Merge branches 'at91-4.1-trunk/i2c' and 'at91-4.1-trunk/dt' into linu…

    …x-4.1-at91
    Nicolas Ferre committed Oct 13, 2015
    Configuration menu
    Copy the full SHA
    75085c8 View commit details
    Browse the repository at this point in the history
  6. mmc: sdhci: add quirk SDHCI_QUIRK_CLOCK_DIV_ZERO_BROKEN

    adds quirk for controllers whose clock divider zero is broken,
    sdhci_set_clock function will incorporate this modification.
    
    Signed-off-by: Suneel Garapati <suneel.garapati@xilinx.com>
    Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
    Suneel Garapati authored and Nicolas Ferre committed Oct 13, 2015
    Configuration menu
    Copy the full SHA
    2fe18c8 View commit details
    Browse the repository at this point in the history
  7. mmc: sdhci: add quirk SDHCI_QUIRK2_NEED_DELAY_AFTER_INT_CLK_RST

    The Atmel sdhci device needs a new quirk. sdhci_set_clock set the Clock
    Control Register to 0 before computing the new value and writing it.
    It disables the internal clock which causes a reset mecanism. If we
    write the new value before this reset mecanism is done, it will prevent
    the stabilisation of the internal clock, so a delay is needed. This
    delay is about 2-3 cycles of the base clock. To be safe, a 1 ms delay is
    used.
    
    Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
    Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
    ldesroches authored and Nicolas Ferre committed Oct 13, 2015
    Configuration menu
    Copy the full SHA
    3017834 View commit details
    Browse the repository at this point in the history
  8. mmc: sdhci-of-at91: use SDHCI_QUIRK2_NEED_DELAY_AFTER_INT_CLK_RST quirk

    The Atmel sdhci device needs the
    SDHCI_QUIRK2_NEED_DELAY_AFTER_INT_CLK_RST quirk. Without it, the
    internal clock could never stabilised when changing the sd clock
    frequency.
    
    Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
    Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
    ldesroches authored and Nicolas Ferre committed Oct 13, 2015
    Configuration menu
    Copy the full SHA
    b37f95b View commit details
    Browse the repository at this point in the history
  9. mmc: sdhci-of-at91: remove a line of dead code

    The goto is correct and the unreachable "return -EINVAL" should be
    removed.
    
    Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
    Acked-by: Ludovic Desroches <ludovic.desroches@atmel.com>
    Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
    Dan Carpenter authored and Nicolas Ferre committed Oct 13, 2015
    Configuration menu
    Copy the full SHA
    231c41f View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    b10d1bb View commit details
    Browse the repository at this point in the history
  11. mmc: sdhci at91: add suspend/resume

    Add suspend and resume PM ops.
    
    Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
    ldesroches authored and Nicolas Ferre committed Oct 13, 2015
    Configuration menu
    Copy the full SHA
    9072c49 View commit details
    Browse the repository at this point in the history
  12. Merge branch 'at91-4.1-trunk/sdmmc' into linux-4.1-at91

    Nicolas Ferre committed Oct 13, 2015
    Configuration menu
    Copy the full SHA
    a61a72d View commit details
    Browse the repository at this point in the history

Commits on Oct 14, 2015

  1. regulator: act8865: support output voltage by VSET2[] bits

    For the step-down DC/DC regulators, the output voltage is
    selectable by setting VSEL pin that when VSEL is low, output
    voltage is programmed by VSET1[] bits, and when VSEL is high,
    output voltage is programmed by VSET2[] bits.
    
    The DT property "active-semi,vsel-high" is used to specify
    the VSEL pin at high on the board.
    
    Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
    wenyouya committed Oct 14, 2015
    Configuration menu
    Copy the full SHA
    1b5c5df View commit details
    Browse the repository at this point in the history
  2. regulator: act8865: add DT binding for property "active-semi,vsel-high"

    Add a DT property "active-semi,vsel-high" to indicate the VSEL pin
    is high. If this property is missing, then assume the VSEL pin is
    low(0).
    
    Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
    wenyouya committed Oct 14, 2015
    Configuration menu
    Copy the full SHA
    a11fd9b View commit details
    Browse the repository at this point in the history
  3. ARM: dts: at91: sama5d2_xplained: add regulator nodes

    Add regulator nodes of PMIC ACT8945A chip on the board.
    
    Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
    wenyouya committed Oct 14, 2015
    Configuration menu
    Copy the full SHA
    ab8185d View commit details
    Browse the repository at this point in the history
  4. Merge branches 'at91-4.1-trunk/regulator' and 'at91-4.1-trunk/dt' int…

    …o linux-4.1-at91
    Nicolas Ferre committed Oct 14, 2015
    Configuration menu
    Copy the full SHA
    91b6c06 View commit details
    Browse the repository at this point in the history

Commits on Oct 15, 2015

  1. pinctrl: introduce driver for Atmel PIO4 controller

    Add a pinctrl/gpio driver for Atmel PIO4 controller available on SAMA5D2
    chip family.
    
    Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
    Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
    ldesroches committed Oct 15, 2015
    Configuration menu
    Copy the full SHA
    1f2e9d1 View commit details
    Browse the repository at this point in the history
  2. pinctrl: at91-pio4: add PM stuff

    Allow GPIOs to be configured as wakeup sources. When going to suspend,
    disable all GPIO irqs excepting the one configured as wakeup sources.
    
    Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
    Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
    ldesroches committed Oct 15, 2015
    Configuration menu
    Copy the full SHA
    9c077e3 View commit details
    Browse the repository at this point in the history

Commits on Oct 20, 2015

  1. ARM: at91: pm: at91_pm_suspend_in_sram() must be 8-byte aligned

    fncpy() requires that the source and the destination are both 8-byte
    aligned.
    
    Signed-off-by: Patrick Doyle <pdoyle@irobot.com>
    Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
    Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
    Fixes: d94e688 ("ARM: at91/pm: move the copying the sram function to the sram initialization phase")
    Cc: <stable@vger.kernel.org> # 4.1+
    wpd authored and Nicolas Ferre committed Oct 20, 2015
    Configuration menu
    Copy the full SHA
    87a05c4 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'at91-4.1-trunk/soc' into linux-4.1-at91

    Nicolas Ferre committed Oct 20, 2015
    Configuration menu
    Copy the full SHA
    4287453 View commit details
    Browse the repository at this point in the history

Commits on Oct 21, 2015

  1. i2c: at91: fix write transfers by clearing pending interrupt first

    In some cases a NACK interrupt may be pending in the Status Register (SR)
    as a result of a previous transfer. However at91_do_twi_transfer() did not
    read the SR to clear pending interruptions before starting a new transfer.
    Hence a NACK interrupt rose as soon as it was enabled again at the I2C
    controller level, resulting in a wrong sequence of operations and strange
    patterns of behaviour on the I2C bus, such as a clock stretch followed by
    a restart of the transfer.
    
    This first issue occurred with both DMA and PIO write transfers.
    
    Also when a NACK error was detected during a PIO write transfer, the
    interrupt handler used to wrongly start a new transfer by writing into the
    Transmit Holding Register (THR). Then the I2C slave was likely to reply
    with a second NACK.
    
    This second issue is fixed in atmel_twi_interrupt() by handling the TXRDY
    status bit only if both the TXCOMP and NACK status bits are cleared.
    
    Tested with a at24 eeprom on sama5d36ek board running a linux-4.1-at91
    kernel image. Adapted to linux-next.
    
    Signed-off-by: Cyrille Pitchen <cyrille.pitchen@atmel.com>
    Fixes: 93563a6 ("i2c: at91: fix a race condition when using the DMA controller")
    Reported-by: Peter Rosin <peda@lysator.liu.se>
    Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
    Tested-by: Peter Rosin <peda@lysator.liu.se>
    Cc: stable@vger.kernel.org linux4sam#4.1
    Cyrille Pitchen authored and Nicolas Ferre committed Oct 21, 2015
    Configuration menu
    Copy the full SHA
    5f9129b View commit details
    Browse the repository at this point in the history
  2. i2c: at91: manage unexpected RXRDY flag when starting a transfer

    In some cases, we could start a new i2c transfer with the RXRDY flag
    set. It is not a clean state and it leads to print annoying error
    messages even if there no real issue. The cause is only having garbage
    data in the Receive Holding Register because of a weird behavior of the
    RXRDY flag.
    
    Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
    Fixes: 93563a6 ("i2c: at91: fix a race condition when using the DMA
    controller")
    Reported-by: Peter Rosin <peda@lysator.liu.se>
    Tested-by: Peter Rosin <peda@lysator.liu.se>
    Cc: stable@vger.kernel.org linux4sam#4.1
    ldesroches authored and Nicolas Ferre committed Oct 21, 2015
    Configuration menu
    Copy the full SHA
    f2b19c6 View commit details
    Browse the repository at this point in the history
  3. Merge branch 'at91-4.1-trunk/i2c' into linux-4.1-at91

    Nicolas Ferre committed Oct 21, 2015
    Configuration menu
    Copy the full SHA
    c3d602e View commit details
    Browse the repository at this point in the history

Commits on Oct 26, 2015

  1. [media] v4l2: replace enum_mbus_fmt by enum_mbus_code

    Replace all calls to the enum_mbus_fmt video op by the pad
    enum_mbus_code op and remove the duplicate video op.
    
    Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
    Acked-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
    Acked-by: Scott Jiang <scott.jiang.linux@gmail.com>
    Cc: Jonathan Corbet <corbet@lwn.net>
    Cc: Kamil Debski <k.debski@samsung.com>
    Acked-by: Prabhakar Lad <prabhakar.csengg@gmail.com>
    Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
    Hans Verkuil authored and JoshWu committed Oct 26, 2015
    Configuration menu
    Copy the full SHA
    8c5032a View commit details
    Browse the repository at this point in the history
  2. [media] v4l2: replace video op g_mbus_fmt by pad op get_fmt

    The g_mbus_fmt video op is a duplicate of the pad op. Replace all uses
    by the get_fmt pad op and remove the video op.
    
    Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
    Acked-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
    Acked-by: Prabhakar Lad <prabhakar.csengg@gmail.com>
    Cc: Kamil Debski <k.debski@samsung.com>
    Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
    Hans Verkuil authored and JoshWu committed Oct 26, 2015
    Configuration menu
    Copy the full SHA
    5fd9996 View commit details
    Browse the repository at this point in the history
  3. [media] v4l2: replace try_mbus_fmt by set_fmt

    The try_mbus_fmt video op is a duplicate of the pad op. Replace all uses
    in sub-devices by the set_fmt() pad op.
    
    Since try_mbus_fmt and s_mbus_fmt both map to the set_fmt pad op (but
    with a different 'which' argument), this patch will replace both
    try_mbus_fmt and s_mbus_fmt by set_fmt.
    
    Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
    Cc: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
    Cc: Jonathan Corbet <corbet@lwn.net>
    Cc: Kamil Debski <k.debski@samsung.com>
    Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
    Hans Verkuil authored and JoshWu committed Oct 26, 2015
    Configuration menu
    Copy the full SHA
    29b4198 View commit details
    Browse the repository at this point in the history
  4. [media] v4l2: replace try_mbus_fmt by set_fmt in bridge drivers

    Replace all calls to try_mbus_fmt in bridge drivers by calls to the
    set_fmt pad op.
    
    [mchehab@osg.samsung.com: fix a merge conflict at mcam-core.c]
    Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
    Cc: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
    Acked-by: Scott Jiang <scott.jiang.linux@gmail.com>
    Cc: Jonathan Corbet <corbet@lwn.net>
    
    Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
    Signed-off-by: Josh Wu <josh.wu@atmel.com>
    
    Conflicts:
    	drivers/media/platform/marvell-ccic/mcam-core.c
    Hans Verkuil authored and JoshWu committed Oct 26, 2015
    Configuration menu
    Copy the full SHA
    5adf4a2 View commit details
    Browse the repository at this point in the history
  5. [media] v4l2: replace s_mbus_fmt by set_fmt in bridge drivers

    Replace all calls to s_mbus_fmt in bridge drivers by calls to the
    set_fmt pad op.
    
    Remove the old try/s_mbus_fmt video ops since they are now no longer used.
    
    Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
    Cc: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
    Acked-by: Prabhakar Lad <prabhakar.csengg@gmail.com>
    Acked-by: Scott Jiang <scott.jiang.linux@gmail.com>
    Cc: Jonathan Corbet <corbet@lwn.net>
    Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
    Hans Verkuil authored and JoshWu committed Oct 26, 2015
    Configuration menu
    Copy the full SHA
    5d68853 View commit details
    Browse the repository at this point in the history
  6. [media] soc_camera: fix enum_input

    Fill in the std field from the video_device tvnorms field.
    
    This fixes a v4l2-compliance failure.
    
    Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
    Signed-off-by: Rob Taylor <rob.taylor@codethink.co.uk>
    Acked-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
    Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
    Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
    Hans Verkuil authored and JoshWu committed Oct 26, 2015
    Configuration menu
    Copy the full SHA
    a0e3e29 View commit details
    Browse the repository at this point in the history
  7. [media] soc_camera: fix expbuf support

    - For vb1 drivers just return -ENOTTY.
    - For vb2 drivers allow vb2_expbuf without there being a stream owner:
      the vb2_expbuf function will return the correct error message in that case.
    
    Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
    Acked-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
    Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
    Hans Verkuil authored and JoshWu committed Oct 26, 2015
    Configuration menu
    Copy the full SHA
    12c7885 View commit details
    Browse the repository at this point in the history
  8. [media] soc_camera: compliance fixes

    - REQBUFS(0) will stop streaming, free buffers and release the file ownership.
    - Return ENOTTY for create_bufs for a vb1 driver
    - Return EBUSY if there is a different streaming owner and set the new owner on
      success.
    
    Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
    Acked-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
    Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
    Hans Verkuil authored and JoshWu committed Oct 26, 2015
    Configuration menu
    Copy the full SHA
    3447a80 View commit details
    Browse the repository at this point in the history
  9. [media] soc_camera: pass on streamoff error

    If streamoff returned an error, then pass that on to the caller.
    
    Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
    Acked-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
    Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
    Hans Verkuil authored and JoshWu committed Oct 26, 2015
    Configuration menu
    Copy the full SHA
    83b182b View commit details
    Browse the repository at this point in the history
  10. [media] soc_camera: always release queue for queue owner

    Always release the queue if the owner closes its filehandle and not when
    it is the last open filehandle.
    
    Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
    Acked-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
    Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
    Hans Verkuil authored and JoshWu committed Oct 26, 2015
    Configuration menu
    Copy the full SHA
    cf89e09 View commit details
    Browse the repository at this point in the history
  11. soc-camera: increase the length of clk_name on soc_of_bind()

    Since in soc_of_bind() it may use the of node's full name as the clk_name,
    and this full name may be longer than 32 characters, take at91 i2c sensor
    as an example, length is 34 bytes:
       /ahb/apb/i2c@f8028000/camera@0x30
    
    So this patch increase the clk_name[] array size to 64. It seems big
    enough so far.
    
    Signed-off-by: Josh Wu <josh.wu@atmel.com>
    Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
    JoshWu committed Oct 26, 2015
    Configuration menu
    Copy the full SHA
    2142bd1 View commit details
    Browse the repository at this point in the history
  12. [media] atmel-isi: disable ISI even if it has codec request

    In current code, stop_streaming() will just return if ISI is still
    working in the codec. But this is incorrect, we need to disable ISI even
    it is working on the codec, otherwise stop_streaming() will not work as
    we expected.
    
    Signed-off-by: Josh Wu <josh.wu@atmel.com>
    Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
    Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
    JoshWu committed Oct 26, 2015
    Configuration menu
    Copy the full SHA
    a0d8999 View commit details
    Browse the repository at this point in the history
  13. [media] atmel-isi: add runtime pm support

    The runtime pm resume/suspend will enable/disable pclk (ISI peripheral
    clock).
    
    We have to call runtime_pm_get_sync()/runtime_pm_put() when we need to
    access ISI registers. In atmel_isi_probe(), remove the isi disable code
    as at that moment ISI peripheral clock is not enable yet.
    
    Besides, clock_start()/clock_stop() is used to control the mclk, not
    the ISI peripheral clock. So move this to start[stop]_streaming()
    function.
    
    Signed-off-by: Josh Wu <josh.wu@atmel.com>
    Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
    Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
    Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
    JoshWu committed Oct 26, 2015
    Configuration menu
    Copy the full SHA
    333b6e7 View commit details
    Browse the repository at this point in the history
  14. [media] atmel-isi: remove mck backward compatibility code

    The master clock should be handled by sensor itself.
    
    Signed-off-by: Josh Wu <josh.wu@atmel.com>
    Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
    Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
    Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
    JoshWu committed Oct 26, 2015
    Configuration menu
    Copy the full SHA
    b5b332b View commit details
    Browse the repository at this point in the history
  15. atmel-isi: Protect PM-only functions to kill warning

    If CONFIG_PM=n:
    
        drivers/media/platform/soc_camera/atmel-isi.c:1044: warning: 'atmel_isi_runtime_suspend' defined but not used
        drivers/media/platform/soc_camera/atmel-isi.c:1054: warning: 'atmel_isi_runtime_resume' defined but not used
    
    Protect the unused functions by #ifdef CONFIG_PM to fix this.
    
    Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
    Acked-by: Josh Wu <josh.wu@atmel.com>
    Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
    geertu authored and JoshWu committed Oct 26, 2015
    Configuration menu
    Copy the full SHA
    880ba9b View commit details
    Browse the repository at this point in the history
  16. atmel-isi: increase timeout to disable/enable isi

    If ISI is working on a 1024x768 or higher resolution, it needs longer
    time to disable ISI. So this patch will increase timeout to 500ms.
    
    Signed-off-by: Josh Wu <josh.wu@atmel.com>
    Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
    JoshWu committed Oct 26, 2015
    Configuration menu
    Copy the full SHA
    d511b56 View commit details
    Browse the repository at this point in the history
  17. atmel-isi: setup the ISI_CFG2 register directly

    In the function configure_geometry(), we will setup the ISI CFG2
    according to the sensor output format.
    
    It make no sense to just read back the CFG2 register and just set part
    of it.
    
    So just set up this register directly makes things simpler.
    Currently only support YUV format from camera sensor.
    
    Signed-off-by: Josh Wu <josh.wu@atmel.com>
    Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
    Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
    JoshWu committed Oct 26, 2015
    Configuration menu
    Copy the full SHA
    afe1fb0 View commit details
    Browse the repository at this point in the history
  18. atmel-isi: move configure_geometry() to start_streaming()

    As in set_fmt() function we only need to know which format is been set,
    we don't need to access the ISI hardware in this moment.
    
    So move the configure_geometry(), which access the ISI hardware, to
    start_streaming() will make code more consistent and simpler.
    
    Signed-off-by: Josh Wu <josh.wu@atmel.com>
    Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
    Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
    JoshWu committed Oct 26, 2015
    Configuration menu
    Copy the full SHA
    5124fef View commit details
    Browse the repository at this point in the history
  19. atmel-isi: add sanity check for supported formats in try/set_fmt()

    After adding the format check in try_fmt()/set_fmt(), we don't need any
    format check in configure_geometry(). So make configure_geometry() as
    void type.
    
    Signed-off-by: Josh Wu <josh.wu@atmel.com>
    Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
    JoshWu committed Oct 26, 2015
    Configuration menu
    Copy the full SHA
    e022271 View commit details
    Browse the repository at this point in the history
  20. v4l: atmel-isi: Simplify error handling during DT parsing

    Put the endpoint DT node earlier to avoid the need for goto statements
    to a cleanup code block in case of errors.
    
    Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
    Acked-by: Josh Wu <josh.wu@atmel.com>
    Tested-by: Josh Wu <josh.wu@atmel.com>
    Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
    pinchartl authored and JoshWu committed Oct 26, 2015
    Configuration menu
    Copy the full SHA
    f8b3fd0 View commit details
    Browse the repository at this point in the history
  21. v4l: atmel-isi: Remove support for platform data

    All in-tree users have migrated to DT, remove support for platform data.
    
    Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
    Acked-by: Josh Wu <josh.wu@atmel.com>
    Tested-by: Josh Wu <josh.wu@atmel.com>
    [josh.wu@atmel.com: squash the commit to remove the unused variable: dev]
    Signed-off-by: Josh Wu <josh.wu@atmel.com>
    Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
    pinchartl authored and JoshWu committed Oct 26, 2015
    Configuration menu
    Copy the full SHA
    e60899c View commit details
    Browse the repository at this point in the history
  22. v4l: atmel-isi: Remove unused platform data fields

    The emb_crc_sync, mck_hz, asd and asd_sizes platform data fields are
    unused, remove them.
    
    Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
    Acked-by: Josh Wu <josh.wu@atmel.com>
    Tested-by: Josh Wu <josh.wu@atmel.com>
    Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
    pinchartl authored and JoshWu committed Oct 26, 2015
    Configuration menu
    Copy the full SHA
    b0c9b99 View commit details
    Browse the repository at this point in the history
  23. atmel-isi: parse the DT parameters for vsync/hsync/pixclock polarity

    This patch will get the DT parameters of vsync/hsync/pixclock polarity, and
    pass to driver.
    
    Also add a debug information for test purpose.
    
    Signed-off-by: Josh Wu <josh.wu@atmel.com>
    Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
    Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
    JoshWu committed Oct 26, 2015
    Configuration menu
    Copy the full SHA
    3b69033 View commit details
    Browse the repository at this point in the history
  24. ov2643: add ov2643 support

    Signed-off-by: Josh Wu <josh.wu@atmel.com>
    
    Conflicts:
    	drivers/media/i2c/soc_camera/ov2640.c
    JoshWu committed Oct 26, 2015
    Configuration menu
    Copy the full SHA
    5d92c31 View commit details
    Browse the repository at this point in the history
  25. ov2643: correct enum_mbus_code() function as ov2643 only support UYVY

    Signed-off-by: Josh Wu <josh.wu@atmel.com>
    JoshWu committed Oct 26, 2015
    Configuration menu
    Copy the full SHA
    bd9958b View commit details
    Browse the repository at this point in the history
  26. ov2643: add flip control support

    Signed-off-by: Josh Wu <josh.wu@atmel.com>
    JoshWu committed Oct 26, 2015
    Configuration menu
    Copy the full SHA
    6e081e1 View commit details
    Browse the repository at this point in the history
  27. ov2643: correct the name of the register:0x12

    In the datasheet, 0x12 register is SYS register.
    
    In SYS register, it includes functions: RESET, CROP, FLIP, MIRROR,
    FRM_CTRL0, size_sel
    
    Signed-off-by: Josh Wu <josh.wu@atmel.com>
    JoshWu committed Oct 26, 2015
    Configuration menu
    Copy the full SHA
    849f2ff View commit details
    Browse the repository at this point in the history
  28. ov2643: add more information

    Signed-off-by: Josh Wu <josh.wu@atmel.com>
    JoshWu committed Oct 26, 2015
    Configuration menu
    Copy the full SHA
    7aba96e View commit details
    Browse the repository at this point in the history
  29. ov2643: add RGB565 support

    We only need to setup SYS, DVP2 registers to let ov2643 output RGB565
    format.
    
    Signed-off-by: Josh Wu <josh.wu@atmel.com>
    JoshWu committed Oct 26, 2015
    Configuration menu
    Copy the full SHA
    52a08ef View commit details
    Browse the repository at this point in the history
  30. ov2643: add rgb565 output support

    Signed-off-by: Josh Wu <josh.wu@atmel.com>
    JoshWu committed Oct 26, 2015
    Configuration menu
    Copy the full SHA
    08ddc4c View commit details
    Browse the repository at this point in the history
  31. ov2643: enable raw rgb support (Bayer BGGR)

    Signed-off-by: Josh Wu <josh.wu@atmel.com>
    JoshWu committed Oct 26, 2015
    Configuration menu
    Copy the full SHA
    58fc652 View commit details
    Browse the repository at this point in the history

Commits on Oct 30, 2015

  1. soc_camera: get the clock name by using macro: v4l2_clk_name_i2c()

    Since v4l2_clk_name_i2c() is defined, so just reuse it.
    
    Signed-off-by: Josh Wu <josh.wu@atmel.com>
    JoshWu committed Oct 30, 2015
    Configuration menu
    Copy the full SHA
    ec98874 View commit details
    Browse the repository at this point in the history
  2. v4l2-clk: add new macro for v4l2_clk_name_of()

    This macro is used to generate a OF string for a v4l2 clock.
    
    Signed-off-by: Josh Wu <josh.wu@atmel.com>
    JoshWu committed Oct 30, 2015
    Configuration menu
    Copy the full SHA
    aebeb73 View commit details
    Browse the repository at this point in the history
  3. v4l2-clk: add new definition: V4L2_CLK_NAME_SIZE

    Make all v4l2-clk's clock name use V4L2_CLK_NAME_SIZE definition.
    
    In future, if the string increased we just need to change the
    V4L2_CLK_NAME_SIZE once.
    
    Signed-off-by: Josh Wu <josh.wu@atmel.com>
    JoshWu committed Oct 30, 2015
    Configuration menu
    Copy the full SHA
    5326033 View commit details
    Browse the repository at this point in the history
  4. v4l2-clk: v4l2_clk_get() also need to find the of_fullname clock

    The soc-camera host will be probed and register a v4l2_clk, but if on
    that moment, the i2c device is not available, then the registered
    v4l2_clk name is a OF string not a I2C string.
    
    So when i2c sensor probed and call v4l2_clk_get(), it only search the
    clock with I2C string, like "1-0030".
    
    This patch will search the clock with OF string name if fail to find the
    clock with I2C string name.
    
    Signed-off-by: Josh Wu <josh.wu@atmel.com>
    JoshWu committed Oct 30, 2015
    Configuration menu
    Copy the full SHA
    e6d3e10 View commit details
    Browse the repository at this point in the history
  5. media: soc_camera: enable multiple subdevice support

    Signed-off-by: Josh Wu <josh.wu@atmel.com>
    JoshWu committed Oct 30, 2015
    Configuration menu
    Copy the full SHA
    01ec102 View commit details
    Browse the repository at this point in the history
  6. ov2643: make vsync-active low

    Signed-off-by: Josh Wu <josh.wu@atmel.com>
    JoshWu committed Oct 30, 2015
    Configuration menu
    Copy the full SHA
    af00f58 View commit details
    Browse the repository at this point in the history

Commits on Nov 2, 2015

  1. ARM: at91/dt: add xplained device trees for PDA screens

    Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
    alexandrebelloni authored and Nicolas Ferre committed Nov 2, 2015
    Configuration menu
    Copy the full SHA
    14744be View commit details
    Browse the repository at this point in the history
  2. Merge branch 'at91-4.1-trunk/dt' into linux-4.1-at91

    Nicolas Ferre committed Nov 2, 2015
    Configuration menu
    Copy the full SHA
    89da0bd View commit details
    Browse the repository at this point in the history
  3. pwm: atmel-hlcdc: Fix module autoload for OF platform driver

    This platform driver has a OF device ID table but the OF module alias
    information is not created so module autoloading won't work.
    
    This patch adds the missing MODULE_DEVICE_TABLE() for OF to export that
    information so modules have the correct aliases built-in and autoloading
    works correctly.
    
    A longer explanation by Javier Canillas can be found here:
    https://lkml.org/lkml/2015/7/30/519
    
    Signed-off-by: Luis de Bethencourt <luisbg@osg.samsung.com>
    Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
    luisbg authored and Nicolas Ferre committed Nov 2, 2015
    Configuration menu
    Copy the full SHA
    271c30f View commit details
    Browse the repository at this point in the history
  4. pwm: atmel-hlcdc: add sama5d2 SoC support.

    Add sama5d2 hlcdc backlight PWM support. This chip doesn't have to deal with an
    errata, so it's a simple addition of the mfd compatible string.
    
    Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
    Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
    Nicolas Ferre committed Nov 2, 2015
    Configuration menu
    Copy the full SHA
    6f2ef54 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    b5b2c77 View commit details
    Browse the repository at this point in the history
  6. ARM: at91/dt: sama5d2: add LCD controller

    Add LCD controller node that binds to the DRM driver.
    
    Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
    Nicolas Ferre committed Nov 2, 2015
    Configuration menu
    Copy the full SHA
    eac9351 View commit details
    Browse the repository at this point in the history
  7. ARM: at91/dt: move to new LCD compatibility string

    Move to another compatibility string as the sama5d2 is the first SoC to not
    have an errata on the LCD PWM controller.
    
    Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
    Nicolas Ferre committed Nov 2, 2015
    Configuration menu
    Copy the full SHA
    5da8937 View commit details
    Browse the repository at this point in the history
  8. Merge branch 'at91-4.1-trunk/dt' into linux-4.1-at91

    Nicolas Ferre committed Nov 2, 2015
    Configuration menu
    Copy the full SHA
    a64f373 View commit details
    Browse the repository at this point in the history
  9. ARM: at91: use chipid device for soc detection

    So far, the CIDR and EXID registers were in the DBGU interface. This device
    has disappeared with the SAMA5D2 family. These registers are exposed
    through a new device called chipid.
    
    Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
    ldesroches authored and Nicolas Ferre committed Nov 2, 2015
    Configuration menu
    Copy the full SHA
    f360786 View commit details
    Browse the repository at this point in the history
  10. ARM: at91/soc: reference the whole sama5d2 family

    Add EXID of all SoCs of the SAMA5D2 family.
    
    Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
    ldesroches authored and Nicolas Ferre committed Nov 2, 2015
    Configuration menu
    Copy the full SHA
    cc40e7a View commit details
    Browse the repository at this point in the history
  11. ARM: at91/dt: sama5d2: add chipid node

    Add node for chipid device in order to have access to the CIDR and EXID
    values.
    
    Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
    ldesroches authored and Nicolas Ferre committed Nov 2, 2015
    Configuration menu
    Copy the full SHA
    8991b28 View commit details
    Browse the repository at this point in the history
  12. ARM: at91: chipid: print warning only if needed

    Remove the warning inserted in the boot log by the DBGU code. As we rely on
    chipid with sama5d2, this DBGU portion will always print an unnecessary
    message.
    
    Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
    Nicolas Ferre committed Nov 2, 2015
    Configuration menu
    Copy the full SHA
    f2c5d9d View commit details
    Browse the repository at this point in the history
  13. Merge branches 'at91-4.1-trunk/soc' and 'at91-4.1-trunk/dt' into linu…

    …x-4.1-at91
    Nicolas Ferre committed Nov 2, 2015
    Configuration menu
    Copy the full SHA
    528dad8 View commit details
    Browse the repository at this point in the history

Commits on Nov 3, 2015

  1. media: atmel-isi: correct yuv swap according to different sensor outputs

    we need to configure the YCC_SWAP bits in ISI_CFG2 according to current
    sensor output and Atmel ISI output format.
    
    Current there are two cases Atmel ISI supported:
      1. Atmel ISI outputs YUYV format.
         This case we need to setup YCC_SWAP according to sensor output
         format.
      2. Atmel ISI output a pass-through formats, which means no swap.
         Just setup YCC_SWAP as default with no swap.
    
    Signed-off-by: Josh Wu <josh.wu@atmel.com>
    JoshWu committed Nov 3, 2015
    Configuration menu
    Copy the full SHA
    fabb6d3 View commit details
    Browse the repository at this point in the history
  2. media: atmel-isi: prepare for the support of preview path

    Atmel ISI support a preview path which can output RGB data.
    
    So this patch introduces a bool variable to choose which path is
    enabled currently. And also we need setup corresponding path registers.
    
    By default the preview path is disabled. We only use Codec path.
    
    Signed-off-by: Josh Wu <josh.wu@atmel.com>
    JoshWu committed Nov 3, 2015
    Configuration menu
    Copy the full SHA
    9397082 View commit details
    Browse the repository at this point in the history
  3. media: atmel-isi: add code to setup correct resolution for preview path

    Not like codec path, preview path can do downsampling, so we should setup
    a extra preview width, height for it.
    
    This patch add preview resolution setup without down sampling. So currently
    preview path will output same size as sensor output size.
    
    Signed-off-by: Josh Wu <josh.wu@atmel.com>
    JoshWu committed Nov 3, 2015
    Configuration menu
    Copy the full SHA
    df8f9f7 View commit details
    Browse the repository at this point in the history
  4. media: atmel-isi: setup YCC_SWAP correctly when using preview path

    The preview path only can convert UYVY format to RGB data.
    
    To make preview path work correctly, we need to set up YCC_SWAP
    according to sensor output and convert them to UYVY.
    
    Signed-off-by: Josh Wu <josh.wu@atmel.com>
    JoshWu committed Nov 3, 2015
    Configuration menu
    Copy the full SHA
    1ab2fcd View commit details
    Browse the repository at this point in the history
  5. media: atmel-isi: support RGB565 output when sensor output YUV formats

    This patch enable Atmel ISI preview path to convert the YUV to RGB format.
    
    Signed-off-by: Josh Wu <josh.wu@atmel.com>
    JoshWu committed Nov 3, 2015
    Configuration menu
    Copy the full SHA
    d9d1c4c View commit details
    Browse the repository at this point in the history
  6. media: atmel-isi: use try_or_set_fmt() for both set_fmt() and try_fmt()

    Since atmel-isi has similar set_fmt() and try_fmt() functions. So this
    patch will add a new function which can be called by set_fmt() and
    try_fmt().
    
    That can increase the reusability.
    
    Signed-off-by: Josh Wu <josh.wu@atmel.com>
    JoshWu committed Nov 3, 2015
    Configuration menu
    Copy the full SHA
    50b5310 View commit details
    Browse the repository at this point in the history
  7. media/video: atmel-isi: add dumb set_parm()

    Add dumb set_parm() & get_parm() function to struct soc_camera_host_ops.
    Needed for ffmpeg to be able to capture frames from ISI driver.
    
    Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
    Signed-off-by: Josh Wu <josh.wu@atmel.com>
    Nicolas Ferre authored and JoshWu committed Nov 3, 2015
    Configuration menu
    Copy the full SHA
    3e005f8 View commit details
    Browse the repository at this point in the history
  8. media: atmel-isi: add isi_hw_initialize() function to handle hw setup

    Move the hardware operation to one isi_hw_initialize(). Then we will
    set up hardware in start_streaming().
    
    Signed-off-by: Josh Wu <josh.wu@atmel.com>
    JoshWu committed Nov 3, 2015
    Configuration menu
    Copy the full SHA
    ec06eba View commit details
    Browse the repository at this point in the history
  9. media: atmel-isi: add interrupt initialization on isi_hw_initialize()

    Add interrupt initialization in isi_hw_initialize() function. This
    isi_hw_initialize() function will only called on start_streaming().
    
    Signed-off-by: Josh Wu <josh.wu@atmel.com>
    JoshWu committed Nov 3, 2015
    Configuration menu
    Copy the full SHA
    b813f76 View commit details
    Browse the repository at this point in the history
  10. media: atmel-isi: move the cfg1 initialize to isi_hw_initialize()

    Since cfg1 initialization just about the frame rate, and it hardware
    related, just move it to isi_hw_initialize().
    
    Signed-off-by: Josh Wu <josh.wu@atmel.com>
    JoshWu committed Nov 3, 2015
    Configuration menu
    Copy the full SHA
    c4bde32 View commit details
    Browse the repository at this point in the history
  11. media: atmel-isi: add isi_hw_enable_interrupt() function

    Signed-off-by: Josh Wu <josh.wu@atmel.com>
    JoshWu committed Nov 3, 2015
    Configuration menu
    Copy the full SHA
    73f4d07 View commit details
    Browse the repository at this point in the history
  12. media: atmel-isi: remove the function set_dma_ctrl() as it just use once

    Signed-off-by: Josh Wu <josh.wu@atmel.com>
    JoshWu committed Nov 3, 2015
    Configuration menu
    Copy the full SHA
    064ae80 View commit details
    Browse the repository at this point in the history
  13. ARM: at91/dt: sama5d2 Xplained: set pin muxing for usb gadget and usb…

    … host
    
    For USB gadget on port A (device mode):
    - pin PA31 is configured as an input GPIO which triggers an interrupt when
      vbus is detected on USB port A.
    - pin PB9 is configured as an output GPIO and set to low level so the
      board doesn't supply vbus to USB port A.
    
    For USB host:
    - pin PB10 is configured as an output GPIO and is active at high level.
      The ohci driver will activate this pin so the board supplies vbus to USB
      port B.
    - pin PB9 should be configured as an output GPIO and active at high level
      to use to USB port A in host mode (conflicts with USB gadget).
    
    Signed-off-by: Cyrille Pitchen <cyrille.pitchen@atmel.com>
    Cyrille Pitchen authored and Nicolas Ferre committed Nov 3, 2015
    Configuration menu
    Copy the full SHA
    165eaa9 View commit details
    Browse the repository at this point in the history
  14. ARM: at91/dt: sama5d2 Xplained: add user push button

    Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
    ldesroches authored and Nicolas Ferre committed Nov 3, 2015
    Configuration menu
    Copy the full SHA
    d447428 View commit details
    Browse the repository at this point in the history
  15. ARM: at91/dt: sama5d2: add watchdog node

    Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
    wenyouya authored and Nicolas Ferre committed Nov 3, 2015
    Configuration menu
    Copy the full SHA
    5442e1f View commit details
    Browse the repository at this point in the history
  16. ARM: at91/dt: sama5d2 Xplained: add leds node

    Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
    wenyouya authored and Nicolas Ferre committed Nov 3, 2015
    Configuration menu
    Copy the full SHA
    632d3f3 View commit details
    Browse the repository at this point in the history
  17. Merge branch 'at91-4.1-trunk/dt' into linux-4.1-at91

    Nicolas Ferre committed Nov 3, 2015
    Configuration menu
    Copy the full SHA
    f864edd View commit details
    Browse the repository at this point in the history
  18. ARM: at91: sama5d2_defconfig: enable CONFIG_KUSER_HELPERS option

    CONFIG_KUSER_HELPERS is useful for user programs.
    
    If the option is disabled, some user programs will not work properly, for
    example: a buildroot rootfs (busybox) application that was built for ARM9
    cannot run.
    
    Signed-off-by: Josh Wu <josh.wu@atmel.com>
    JoshWu authored and Nicolas Ferre committed Nov 3, 2015
    Configuration menu
    Copy the full SHA
    5211a23 View commit details
    Browse the repository at this point in the history
  19. ARM: at91/sama5d2_defconfig: remove FB console & logo

    Not needed so remove them.
    
    Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
    Nicolas Ferre committed Nov 3, 2015
    Configuration menu
    Copy the full SHA
    a2a7759 View commit details
    Browse the repository at this point in the history
  20. ARM: at91/sama5d2_defconfig: add Atmel SoC I2S driver

    Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
    Nicolas Ferre committed Nov 3, 2015
    Configuration menu
    Copy the full SHA
    a89edaf View commit details
    Browse the repository at this point in the history
  21. ARM: at91/sama5_defconfig: update to include sama5d2 needs

    DRM/KMS, CMA, SRAM, and the sama5d2 plus the needed drivers like
    flexcom, sdhci, classD, i2S...
    
    Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
    Nicolas Ferre committed Nov 3, 2015
    Configuration menu
    Copy the full SHA
    db62577 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    a9ef900 View commit details
    Browse the repository at this point in the history
  23. ARM: at91/defconfig: remove CONFIG_SSB from Atmel defconfigs

    This "Sonics Silicon Backplane" support is not needed on Atmel SoCs: remove it.
    
    Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
    Nicolas Ferre committed Nov 3, 2015
    Configuration menu
    Copy the full SHA
    86c7d0f View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    7beb5c9 View commit details
    Browse the repository at this point in the history
  25. ARM: at91/dt: sama5d2: add classD node

    Add classD node to dts
    
    Signed-off-by: Songjun Wu <songjun.wu@atmel.com>
    sowu authored and Nicolas Ferre committed Nov 3, 2015
    Configuration menu
    Copy the full SHA
    734fcce View commit details
    Browse the repository at this point in the history
  26. Merge branch 'at91-4.1-trunk/dt' into linux-4.1-at91

    Nicolas Ferre committed Nov 3, 2015
    Configuration menu
    Copy the full SHA
    66801f5 View commit details
    Browse the repository at this point in the history
  27. ASoC: atmel-classd: add the Audio Class D Amplifier code

    Add driver for the digital imput to PWM output stereo class
    D amplifier. It comes with filter, digitally controlled gain,
    an equalizer and a dmphase filter
    
    Signed-off-by: Songjun Wu <songjun.wu@atmel.com>
    sowu authored and Nicolas Ferre committed Nov 3, 2015
    Configuration menu
    Copy the full SHA
    9c0c583 View commit details
    Browse the repository at this point in the history
  28. ASoC: atmel-classd: DT binding for Class D audio amplifier driver

    DT binding documentation for this new ASoC driver.
    
    Signed-off-by: Songjun Wu <songjun.wu@atmel.com>
    sowu authored and Nicolas Ferre committed Nov 3, 2015
    Configuration menu
    Copy the full SHA
    987243f View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    3e814a7 View commit details
    Browse the repository at this point in the history

Commits on Nov 4, 2015

  1. mmc: sdhci: don't disable the internal clock when setting sd clock

    When setting the SD clock, the internal clock is disabled at the
    beginning of the function and enabled later when writting the new sd
    clock configuration. Only disabling the SD clock is needed when
    reconfiguring it.
    
    Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
    ldesroches authored and Nicolas Ferre committed Nov 4, 2015
    Configuration menu
    Copy the full SHA
    ef504e7 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'at91-4.1-trunk/sdmmc' into linux-4.1-at91

    Nicolas Ferre committed Nov 4, 2015
    Configuration menu
    Copy the full SHA
    d034050 View commit details
    Browse the repository at this point in the history
  3. Input: atmel_mxt_ts - use BIT() macro when reporting button state

    This makes the intent a tad more clear.
    
    Reviewed-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
    Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
    dtor authored and Nicolas Ferre committed Nov 4, 2015
    Configuration menu
    Copy the full SHA
    0939dea View commit details
    Browse the repository at this point in the history
  4. Input: atmel_mxt_ts - use deep sleep mode when stopped

    The hardcoded 0x83 CTRL setting overrides other settings in that byte,
    enabling extra reporting that may not be useful on a particular platform.
    
    Implement improved suspend mechanism via deep sleep. By writing zero to
    both the active and idle cycle times the maXTouch device can be put into a
    deep sleep mode, using minimal power. It is necessary to issue a calibrate
    command after the chip has spent any time in deep sleep, however a soft
    reset is unnecessary.
    
    Use the old method on Chromebook Pixel via platform data option.
    
    This patch also deals with the situation where the power configuration is
    zero on probe, which would mean that the device never wakes up to execute
    commands.
    
    After a config download, the T7 power configuration may have changed so it
    is necessary to re-read it.
    
    Signed-off-by: Nick Dyer <nick.dyer@itdev.co.uk>
    Acked-by: Benson Leung <bleung@chromium.org>
    Acked-by: Yufeng Shen <miletus@chromium.org>
    Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
    ndyer authored and Nicolas Ferre committed Nov 4, 2015
    Configuration menu
    Copy the full SHA
    545f086 View commit details
    Browse the repository at this point in the history
  5. Input: atmel_mxt_ts - remove unused defines

    Many of these values are out of date and they aren't used in the driver
    - all they do is increase the size of the kernel source.
    
    Signed-off-by: Nick Dyer <nick.dyer@itdev.co.uk>
    Acked-by: Benson Leung <bleung@chromium.org>
    Acked-by: Yufeng Shen <miletus@chromium.org>
    Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
    ndyer authored and Nicolas Ferre committed Nov 4, 2015
    Configuration menu
    Copy the full SHA
    bb7fae4 View commit details
    Browse the repository at this point in the history
  6. Input: atmel_mxt_ts - suspend/resume causes panic if input_dev fails …

    …to init
    
    input_dev may be NULL if mxt_initialize_input_device fails. But pm ops is
    still available and suspend/resume assume
    input_dev is not NULL. To fix this issue, we add a check if (!input_dev).
    
    Signed-off-by: Pan Xinhui <xinhuix.pan@intel.com>
    Signed-off-by: Nick Dyer <nick.dyer@itdev.co.uk>
    Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
    Pan Xinhui authored and Nicolas Ferre committed Nov 4, 2015
    Configuration menu
    Copy the full SHA
    930974a View commit details
    Browse the repository at this point in the history
  7. Input: atmel_mxt_ts - improve device tree parsing

    Use function rather than loop, define np to reduce wrapping.
    
    Signed-off-by: Nick Dyer <nick.dyer@itdev.co.uk>
    Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
    ndyer authored and Nicolas Ferre committed Nov 4, 2015
    Configuration menu
    Copy the full SHA
    3bb310c View commit details
    Browse the repository at this point in the history
  8. Input: atmel_mxt_ts - disable interrupt for 50ms after reset

    The CHG/interrupt line is momentarily set (approximately 100 ms) as an
    input after power-up or reset for diagnostic purposes. This may cause
    spurious interrupts, so disable interrupt handler during this period.
    
    Signed-off-by: Nick Dyer <nick.dyer@itdev.co.uk>
    Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
    ndyer authored and Nicolas Ferre committed Nov 4, 2015
    Configuration menu
    Copy the full SHA
    5e0202c View commit details
    Browse the repository at this point in the history
  9. Input: atmel_mxt_ts - initialise input slots with INPUT_MT_DIRECT

    This indicates the device coordinates should be directly mapped to screen.
    This is valid since scaling/flipping/rotation should be done by configuring
    the MXT device.
    
    It also flags to Android using INPUT_PROP_DIRECT that the device should be
    treated as a touch screen by default, and removes the necessity for a
    default IDC file.
    
    Signed-off-by: Nick Dyer <nick.dyer@itdev.co.uk>
    Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
    ndyer authored and Nicolas Ferre committed Nov 4, 2015
    Configuration menu
    Copy the full SHA
    2ad0f03 View commit details
    Browse the repository at this point in the history
  10. Input: atmel_mxt_ts - remove warning on zero T44 count

    Signed-off-by: Nick Dyer <nick.dyer@itdev.co.uk>
    Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
    ndyer authored and Nicolas Ferre committed Nov 4, 2015
    Configuration menu
    Copy the full SHA
    a232ad9 View commit details
    Browse the repository at this point in the history
  11. MAINTAINERS: Add maintainer for atmel_mxt_ts

    Signed-off-by: Nick Dyer <nick.dyer@itdev.co.uk>
    Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
    ndyer authored and Nicolas Ferre committed Nov 4, 2015
    Configuration menu
    Copy the full SHA
    c473faa View commit details
    Browse the repository at this point in the history
  12. Input: atmel_mxt_ts: add a second try if initialization fails

    For an unknown reason, the maxtouch can not ack the i2c request when we
    want to communicate. Trying to establish the communication finally works
    after about 200 ms. So when probing the driver if the first time
    initilization fails then wait and try a second time.
    
    Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
    ldesroches authored and Nicolas Ferre committed Nov 4, 2015
    Configuration menu
    Copy the full SHA
    2718980 View commit details
    Browse the repository at this point in the history
  13. Merge branch 'at91-4.1-trunk/mxt' into linux-4.1-at91

    Nicolas Ferre committed Nov 4, 2015
    Configuration menu
    Copy the full SHA
    4ca3062 View commit details
    Browse the repository at this point in the history
  14. media: atmel-isi: add parameter for start_dma() and reuse it

    The parameter is used to enable the ISI dma interrupt.
    After add the parameter we can reuse the start_dma() in other place.
    
    Signed-off-by: Josh Wu <josh.wu@atmel.com>
    JoshWu committed Nov 4, 2015
    Configuration menu
    Copy the full SHA
    e236146 View commit details
    Browse the repository at this point in the history
  15. media: atmel-isi: can we meet such situation?

    if yes, then we cannot delete this line.
    
    Signed-off-by: Josh Wu <josh.wu@atmel.com>
    JoshWu committed Nov 4, 2015
    Configuration menu
    Copy the full SHA
    c6b7262 View commit details
    Browse the repository at this point in the history
  16. media: atmel-isi: add function hw_uninitialize()

    This hw_uninitialze() function is only called on stop_streaming().
    
    Signed-off-by: Josh Wu <josh.wu@atmel.com>
    JoshWu committed Nov 4, 2015
    Configuration menu
    Copy the full SHA
    3b3de12 View commit details
    Browse the repository at this point in the history
  17. media: atmel-isi: use union for the fbd

    This way, we can easy to add other type of fbd.
    
    Signed-off-by: Josh Wu <josh.wu@atmel.com>
    JoshWu committed Nov 4, 2015
    Configuration menu
    Copy the full SHA
    81fef60 View commit details
    Browse the repository at this point in the history
  18. media: atmel-isi: use hw_ops function table according compatible string

    Add a new hw_ops functions table, which has all hardware related
    functions. That can make us easy to add another hardware support.
    
    Signed-off-by: Josh Wu <josh.wu@atmel.com>
    JoshWu committed Nov 4, 2015
    Configuration menu
    Copy the full SHA
    7a71c0f View commit details
    Browse the repository at this point in the history
  19. media: atmel-isi: add hw_set_clock() function for mclk operation

    Hardware can define hw_set_clock(), which used to enable/disable mclk
    that provided by atmel-isi hardware for sensor to operate.
    
    But it's optional as customer can choose to use host camera to provide
    the clock for sensor or not.
    
    Signed-off-by: Josh Wu <josh.wu@atmel.com>
    JoshWu committed Nov 4, 2015
    Configuration menu
    Copy the full SHA
    9665b3a View commit details
    Browse the repository at this point in the history
  20. media: atmel-isi: isc: add the header file ISC hardware

    Signed-off-by: Josh Wu <josh.wu@atmel.com>
    JoshWu committed Nov 4, 2015
    Configuration menu
    Copy the full SHA
    9402a7b View commit details
    Browse the repository at this point in the history
  21. media: atmel-isi: isc: add new sama5d2 ISC (Image Sensor Controller) …

    …support
    
    Implement the hardware related functions:
       hw_initialize()/hw_uninitialize(): hardware init/uninitialization.
       hw_configure(): hardware format configuration.
       interrupt(): hardware interrupt service harndler.
       hw_enable_interrupt(): interrupt enabling.
       hw_set_clock(): enable/disable the ISC peripheral as the clock will
                       start/stop automatically.
       start_dma(): dma configuration to start.
       init_dma_desc(): initialize the dma description.
    
    Signed-off-by: Josh Wu <josh.wu@atmel.com>
    JoshWu committed Nov 4, 2015
    Configuration menu
    Copy the full SHA
    0796e49 View commit details
    Browse the repository at this point in the history
  22. media: atmel-isi: dt-binding: add atmel,sama5d2-isc support in document

    Signed-off-by: Josh Wu <josh.wu@atmel.com>
    JoshWu committed Nov 4, 2015
    Configuration menu
    Copy the full SHA
    186e456 View commit details
    Browse the repository at this point in the history
  23. media: atmel-isi: isc: add iscck support

    But iscck is optional.
    
    Signed-off-by: Josh Wu <josh.wu@atmel.com>
    JoshWu committed Nov 4, 2015
    Configuration menu
    Copy the full SHA
    d509141 View commit details
    Browse the repository at this point in the history
  24. media: atmel-isi: add dependency on CONFIG_PM

    As atmel-isi driver use runtime pm API to control the clock, so add
    dependency on it.
    
    Signed-off-by: Josh Wu <josh.wu@atmel.com>
    JoshWu committed Nov 4, 2015
    Configuration menu
    Copy the full SHA
    7878c53 View commit details
    Browse the repository at this point in the history
  25. atmel-isi: isc: move function into one section

    Signed-off-by: Josh Wu <josh.wu@atmel.com>
    
    Conflicts:
    	drivers/media/platform/soc_camera/atmel-isi.c
    JoshWu committed Nov 4, 2015
    Configuration menu
    Copy the full SHA
    e4ecf93 View commit details
    Browse the repository at this point in the history
  26. media: atmel-isi: fix debug message which alwasy show the first item

    Signed-off-by: Josh Wu <josh.wu@atmel.com>
    JoshWu committed Nov 4, 2015
    Configuration menu
    Copy the full SHA
    09e3b6e View commit details
    Browse the repository at this point in the history
  27. atmel-isi: pass the support format to the structure

    add support_formats[] in hardware caps as every hardware support
    different formats.
    
    Signed-off-by: Josh Wu <josh.wu@atmel.com>
    JoshWu committed Nov 4, 2015
    Configuration menu
    Copy the full SHA
    4c8067e View commit details
    Browse the repository at this point in the history
  28. media: atmel-isi: add host_fmt_support() as hosts support different f…

    …ormats
    
    Signed-off-by: Josh Wu <josh.wu@atmel.com>
    JoshWu committed Nov 4, 2015
    Configuration menu
    Copy the full SHA
    fc977b9 View commit details
    Browse the repository at this point in the history
  29. ARM: at91/dt: sama5d2 Xplained PDA4: remvoe mmc-ddr-1_8v for now

    Remove this sdmmc property for the sama5d2 Xplained PDA4 board as it seems
    disturb the on-board eMMC. Even if it should be present, we experience a lot of
    timeouts with this option set.
    
    Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
    Nicolas Ferre committed Nov 4, 2015
    Configuration menu
    Copy the full SHA
    eaa1a98 View commit details
    Browse the repository at this point in the history
  30. Merge branch 'at91-4.1-trunk/dt' into linux-4.1-at91

    Nicolas Ferre committed Nov 4, 2015
    Configuration menu
    Copy the full SHA
    efffb7d View commit details
    Browse the repository at this point in the history

Commits on Nov 5, 2015

  1. watchdog: add a driver to support SAMA5D4 watchdog timer

    From SAMA5D4, the watchdog timer is upgrated with a new feature,
    which is describled as in the datasheet, "WDT_MR can be written
    until a LOCKMR command is issued in WDT_CR".
    That is to say, as long as the bootstrap and u-boot don't issue
    a LOCKMR command, WDT_MR can be written more than once in the driver.
    
    So the SAMA5D4 watchdog driver's implementation is different from
    the at91sam9260 watchdog driver implemented in file at91sam9_wdt.c.
    The user application open the device file to enable the watchdog timer
    hardware, and close to disable it, and set the watchdog timer timeout
    by seting WDV and WDD fields of WDT_MR register, and ping the watchdog
    by issuing WDRSTT command to WDT_CR register with hard-coded key.
    
    Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
    Reviewed-by: Guenter Roeck <linux@roeck-us.net>
    Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
    wenyouya committed Nov 5, 2015
    Configuration menu
    Copy the full SHA
    6222ca2 View commit details
    Browse the repository at this point in the history
  2. Documentation: dt: binding: atmel-sama5d4-wdt: for SAMA5D4 watchdog d…

    …river
    
    The compatible "atmel,sama5d4-wdt" supports the SAMA5D4 watchdog driver
    and the watchdog's WDT_MR register can be written more than once.
    
    Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
    Reviewed-by: Guenter Roeck <linux@roeck-us.net>
    Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
    wenyouya committed Nov 5, 2015
    Configuration menu
    Copy the full SHA
    15420ee View commit details
    Browse the repository at this point in the history
  3. ARM: at91/dt: sama5d2: change watchdog compatible

    Change the watchdog compatible to "atmel,sama5d4-wdt" to support
    SAMA5D4 watchdog driver.
    
    Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
    wenyouya committed Nov 5, 2015
    Configuration menu
    Copy the full SHA
    d089867 View commit details
    Browse the repository at this point in the history
  4. ARM: at91/dt: sama5d4: change watchdog compatible

    Change the watchdog compatible to "atmel,sama5d4-wdt" to support
    SAMA5D4 watchdog driver.
    
    Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
    wenyouya committed Nov 5, 2015
    Configuration menu
    Copy the full SHA
    b397f36 View commit details
    Browse the repository at this point in the history
  5. ARM: at91/sama5_defconfig: support SAMA5D4 watchdog

    Enable CONFIG_SAMA5D4_WATCHDOG to support SAMA5D4 watchdog driver.
    
    Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
    wenyouya authored and Nicolas Ferre committed Nov 5, 2015
    Configuration menu
    Copy the full SHA
    1e682f1 View commit details
    Browse the repository at this point in the history
  6. Merge branches 'at91-4.1-trunk/dt', 'at91-4.1-trunk/watchdog' and 'at…

    …91-4.1-trunk/defconfig' into linux-4.1-at91
    Nicolas Ferre committed Nov 5, 2015
    Configuration menu
    Copy the full SHA
    b0a83c6 View commit details
    Browse the repository at this point in the history

Commits on Nov 6, 2015

  1. ARM: at91: sama5d2/dt: add atmel isc node with pinctrl

    The sama5d2 use new compatible string: atmel,sama5d2-isc.
    Also it will use isc_clk for the isc peripheral clock. And the iscck is
    not used yet.
    
    Signed-off-by: Josh Wu <josh.wu@atmel.com>
    
    Conflicts:
    	arch/arm/boot/dts/at91-sama5d2_xplained.dts
    	arch/arm/boot/dts/sama5d2.dtsi
    JoshWu committed Nov 6, 2015
    Configuration menu
    Copy the full SHA
    1d9ee8e View commit details
    Browse the repository at this point in the history
  2. ARM: at91: sama5d2/dt: add ov2640/ov7740 sensors and connect with ISC

    Signed-off-by: Josh Wu <josh.wu@atmel.com>
    JoshWu committed Nov 6, 2015
    Configuration menu
    Copy the full SHA
    4ffb410 View commit details
    Browse the repository at this point in the history
  3. ARM: at91: sama5d2/dt: enable isc node on sama5d2_xplained board

    Meantime disabled uart3 since the PB12 conflict with sensor's power
    down pin.
    
    Signed-off-by: Josh Wu <josh.wu@atmel.com>
    JoshWu committed Nov 6, 2015
    Configuration menu
    Copy the full SHA
    b67ac25 View commit details
    Browse the repository at this point in the history
  4. ARM: at91: sama5d2/dt: move sensor node to i2c1 as hardware changed

    In the latest sama5d2_xplained board, the sensor node is connect to i2c1
    instead of i2c0. So move the dt node to adapt to such changes.
    
    Signed-off-by: Josh Wu <josh.wu@atmel.com>
    JoshWu committed Nov 6, 2015
    Configuration menu
    Copy the full SHA
    465a4cd View commit details
    Browse the repository at this point in the history
  5. ARM: at91: sama5d2/dts: add isc dt node in pda4.dts

    Signed-off-by: Josh Wu <josh.wu@atmel.com>
    JoshWu committed Nov 6, 2015
    Configuration menu
    Copy the full SHA
    5bae23f View commit details
    Browse the repository at this point in the history
  6. ARM: at91: sama5d2_defconfig: add nfs rootfs support

    enable network setting for nfs rootfs mount.
    
    Signed-off-by: Josh Wu <josh.wu@atmel.com>
    JoshWu committed Nov 6, 2015
    Configuration menu
    Copy the full SHA
    5e4dbd5 View commit details
    Browse the repository at this point in the history
  7. ARM: at91: sama5d2_defconfig: enable CONFIG_SUSPEND to enable PM support

    atmel-isi use runtime PM to manage the peripheral clock. Without
    CONFIG_PM, atmel-isi driver will not work.
    
    Signed-off-by: Josh Wu <josh.wu@atmel.com>
    JoshWu committed Nov 6, 2015
    Configuration menu
    Copy the full SHA
    27f727a View commit details
    Browse the repository at this point in the history
  8. Merge branches 'at91-4.1-trunk/isi', 'at91-4.1-trunk/soc_camera' and …

    …'at91-4.1-trunk/sensors' into linux-4.1-at91
    Nicolas Ferre committed Nov 6, 2015
    Configuration menu
    Copy the full SHA
    84bbf7c View commit details
    Browse the repository at this point in the history
  9. Merge branch 'at91-4.1-trunk/dt_isc' into linux-4.1-at91

    Nicolas Ferre committed Nov 6, 2015
    Configuration menu
    Copy the full SHA
    d2f3c8e View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    cad9c45 View commit details
    Browse the repository at this point in the history

Commits on Nov 13, 2015

  1. media: ov7740: ov7740 support vga now by modifying base on ov2640 driver

    Remove IDENT_OV7740 relevant code, as now it's not used.
    
    Signed-off-by: Josh Wu <josh.wu@atmel.com>
    JoshWu committed Nov 13, 2015
    Configuration menu
    Copy the full SHA
    78d3e5f View commit details
    Browse the repository at this point in the history
  2. media: ov7740: add ov7740 in menuconfig

    Signed-off-by: Josh Wu <josh.wu@atmel.com>
    JoshWu committed Nov 13, 2015
    Configuration menu
    Copy the full SHA
    99141d0 View commit details
    Browse the repository at this point in the history
  3. media: ov7740: switch I2C subdevice drivers to use v4l2-clk, add async

    probe
    
    Signed-off-by: Josh Wu <josh.wu@atmel.com>
    JoshWu committed Nov 13, 2015
    Configuration menu
    Copy the full SHA
    042323b View commit details
    Browse the repository at this point in the history
  4. media: ov7740: Make use of media_bus_format enum

    Signed-off-by: Josh Wu <josh.wu@atmel.com>
    JoshWu committed Nov 13, 2015
    Configuration menu
    Copy the full SHA
    0f052f7 View commit details
    Browse the repository at this point in the history
  5. media: ov7740: add primary dt support

    Signed-off-by: Josh Wu <josh.wu@atmel.com>
    JoshWu committed Nov 13, 2015
    Configuration menu
    Copy the full SHA
    ee3d95a View commit details
    Browse the repository at this point in the history
  6. media: ov7740: add xvclk CCF support

    Signed-off-by: Josh Wu <josh.wu@atmel.com>
    JoshWu committed Nov 13, 2015
    Configuration menu
    Copy the full SHA
    0cd1f03 View commit details
    Browse the repository at this point in the history
  7. v4l2: ov7740: replace enum_mbus_fmt by enum_mbus_code

    Signed-off-by: Josh Wu <josh.wu@atmel.com>
    JoshWu committed Nov 13, 2015
    Configuration menu
    Copy the full SHA
    363f693 View commit details
    Browse the repository at this point in the history
  8. v4l2: ov7740: replace video op g_mbus_fmt by pad op get_fmt

    Signed-off-by: Josh Wu <josh.wu@atmel.com>
    JoshWu committed Nov 13, 2015
    Configuration menu
    Copy the full SHA
    52caa67 View commit details
    Browse the repository at this point in the history
  9. v4l2: ov7740: replace try_mbus_fmt by set_fmt

    Signed-off-by: Josh Wu <josh.wu@atmel.com>
    JoshWu committed Nov 13, 2015
    Configuration menu
    Copy the full SHA
    82b1967 View commit details
    Browse the repository at this point in the history
  10. media: ov7740: add VSYNC_LOW support

    Signed-off-by: Josh Wu <josh.wu@atmel.com>
    JoshWu committed Nov 13, 2015
    Configuration menu
    Copy the full SHA
    0f3747e View commit details
    Browse the repository at this point in the history
  11. ARM: at91/dt: add sama5d3xek device trees

    Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
    alexandrebelloni authored and Nicolas Ferre committed Nov 13, 2015
    Configuration menu
    Copy the full SHA
    a330ba9 View commit details
    Browse the repository at this point in the history
  12. Merge branch 'at91-4.1-trunk/dt' into linux-4.1-at91

    Nicolas Ferre committed Nov 13, 2015
    Configuration menu
    Copy the full SHA
    f95a60b View commit details
    Browse the repository at this point in the history
  13. media: ov7740: remove xvclk common clock part as it is not need now

    soc_camera framework is updated. In new framework, if v4l2_clk_get will first
    try get the common clock (xvclk), if common clock is not found then get
    the v4l2_clk which provided by soc_camera, that can communicate with
    camera host driver.
    
    So we don't need common clock xvclk now. v4l2_clk can do the common
    clock job for us.
    
    Signed-off-by: Josh Wu <josh.wu@atmel.com>
    JoshWu committed Nov 13, 2015
    Configuration menu
    Copy the full SHA
    3ddde84 View commit details
    Browse the repository at this point in the history
  14. ARM: at91: sama5d4ek/dts: re-order the pinctrl dt nodes

    organized pinctrl dt nodes by alphabet.
    
    Signed-off-by: Josh Wu <josh.wu@atmel.com>
    JoshWu committed Nov 13, 2015
    Configuration menu
    Copy the full SHA
    ee645ba View commit details
    Browse the repository at this point in the history
  15. ARM: at91: sama5d4ek/dts: add sensor power/reset pin ctrl

    Signed-off-by: Josh Wu <josh.wu@atmel.com>
    JoshWu committed Nov 13, 2015
    Configuration menu
    Copy the full SHA
    cb22459 View commit details
    Browse the repository at this point in the history
  16. ARM: at91: sama5d4ek/dts: enable isi & ov2640 support

    Since usart2 conflict with ISI & sensor power pin, so disable usart2.
    
    Signed-off-by: Josh Wu <josh.wu@atmel.com>
    JoshWu committed Nov 13, 2015
    Configuration menu
    Copy the full SHA
    47f1859 View commit details
    Browse the repository at this point in the history
  17. ARM: at91: sama5d4ek/dts: add ov7740 support

    Signed-off-by: Josh Wu <josh.wu@atmel.com>
    JoshWu committed Nov 13, 2015
    Configuration menu
    Copy the full SHA
    80fa83e View commit details
    Browse the repository at this point in the history
  18. sama5_defconfig: add ov7740 module support

    Signed-off-by: Josh Wu <josh.wu@atmel.com>
    JoshWu committed Nov 13, 2015
    Configuration menu
    Copy the full SHA
    9e947bd View commit details
    Browse the repository at this point in the history
  19. Merge branches 'at91-4.1-trunk/sensors' and 'at91-4.1-trunk/dt_isi_se…

    …nsors' into linux-4.1-at91
    Nicolas Ferre committed Nov 13, 2015
    Configuration menu
    Copy the full SHA
    da2c069 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    f150dcf View commit details
    Browse the repository at this point in the history

Commits on Nov 17, 2015

  1. mmc: core: set regulator not found message as debug

    Turn the informative message about no vmmc/vqmmc regulator found in
    debug one. There is no need to indicate that something optional is
    missing. Moreover, it can bring confusion, people who doesn't know
    it is optional may consider these messages as warnings or errors.
    
    Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
    ldesroches authored and Nicolas Ferre committed Nov 17, 2015
    Configuration menu
    Copy the full SHA
    a504167 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'at91-4.1-trunk/sdmmc' into linux-4.1-at91

    Nicolas Ferre committed Nov 17, 2015
    Configuration menu
    Copy the full SHA
    85d7541 View commit details
    Browse the repository at this point in the history
  3. ARM: at91/dt: sama5d2 Xplained: add emmc ddr-1.8v support

    The eMMC supports double data rate with a 1.8 voltage.
    
    Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
    ldesroches authored and Nicolas Ferre committed Nov 17, 2015
    Configuration menu
    Copy the full SHA
    e469b89 View commit details
    Browse the repository at this point in the history
  4. ARM: at91/dt: add always-on to 1.8V regulator

    As the SDHCI controller needs the 1.8V line to be always enabled for some eMMC
    configurations, set the proper "regulator-always-on" property to the board DTS
    files.
    Note that the sdhci classical regulator definitions doesn't suit our controller
    for this 1.8V purpose.
    
    Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
    Nicolas Ferre committed Nov 17, 2015
    Configuration menu
    Copy the full SHA
    15607e6 View commit details
    Browse the repository at this point in the history
  5. Merge branch 'at91-4.1-trunk/dt' into linux-4.1-at91

    Nicolas Ferre committed Nov 17, 2015
    Configuration menu
    Copy the full SHA
    9a4743e View commit details
    Browse the repository at this point in the history
  6. Makefile: add EXTRAVERSION for linux4sam 5.0-beta1

    Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
    Nicolas Ferre committed Nov 17, 2015
    Configuration menu
    Copy the full SHA
    dbe62cb View commit details
    Browse the repository at this point in the history

Commits on Nov 18, 2015

  1. [linux-4.1-at91] ARM: at91: classd: add gclk's parent clock

    Set the gclk's parent clock to audio clock.
    
    Signed-off-by: Songjun Wu <songjun.wu@atmel.com>
    sowu committed Nov 18, 2015
    Configuration menu
    Copy the full SHA
    75f5de0 View commit details
    Browse the repository at this point in the history
  2. [linux-4.1-at91] ARM: at91: classd: support the mono channel

    Add code to support the mono channel audio.
    
    Signed-off-by: Songjun Wu <songjun.wu@atmel.com>
    sowu committed Nov 18, 2015
    Configuration menu
    Copy the full SHA
    225af79 View commit details
    Browse the repository at this point in the history

Commits on Nov 23, 2015

  1. usb: gadget: atmel_usba_udc: Expose correct device speed

    Following changes that appeared in lk 4.0.0, the gadget udc driver for
    some ARM based Atmel SoCs (e.g. at91sam9x5 and sama5d3 families)
    incorrectly deduced full-speed USB link speed even when the hardware
    had negotiated a high-speed link. The fix is to make sure that the
    UDPHS Interrupt Enable Register value does not mask the SPEED bit
    in the Interrupt Status Register.
    
    For a mass storage gadget this problem lead to failures when the host
    had a USB 3 port with the xhci_hcd driver. If the host was a USB 2
    port using the ehci_hcd driver then the mass storage gadget worked
    (but probably at a lower speed than it should have).
    
    Signed-off-by: Douglas Gilbert <dgilbert@interlog.com>
    Reviewed-by: Boris Brezillon <boris.brezillon@free-electrons.com>
    Cc: <stable@vger.kernel.org> linux4sam#4.0+
    Fixes: 9870d89 ("usb: atmel_usba_udc: Mask status with enabled irqs")
    Signed-off-by: Felipe Balbi <balbi@ti.com>
    doug-gilbert authored and Nicolas Ferre committed Nov 23, 2015
    Configuration menu
    Copy the full SHA
    aaace60 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'at91-4.1-trunk/base_usb' into linux-4.1-at91

    Nicolas Ferre committed Nov 23, 2015
    Configuration menu
    Copy the full SHA
    7d8aeb0 View commit details
    Browse the repository at this point in the history
  3. Merge branch 'at91-4.1-trunk/base_pinctrl' into linux-4.1-at91

    Conflicts:
    	drivers/pinctrl/pinctrl-at91-pio4.c
    Nicolas Ferre committed Nov 23, 2015
    Configuration menu
    Copy the full SHA
    902a885 View commit details
    Browse the repository at this point in the history

Commits on Nov 24, 2015

  1. ARM: defconfig/at91: sama5: enable Bosch M_CAN driver

    Add CONFIG_CAN_M_CAN=y to enable Bosch M_CAN devices driver.
    
    Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
    wenyouya committed Nov 24, 2015
    Configuration menu
    Copy the full SHA
    7928127 View commit details
    Browse the repository at this point in the history
  2. ARM: at91/dt: sama5d2: add M_CAN device nodes

    Due to the CAN Message RAM can be shared by multi M_CAN instances,
    so the base address of the CAN Message RAM for CAN0 and CAN1 are
    shared at 0x00210000.
    
    The default base address of the CAN Message RAM for CAN0 and CAN1
    are configured at 0x200000 in CAN Memories Address-based Register.
    To avoid conflict with SRAM map for pm, change them to 0x2100000
    in the AT91Bootstrap.
    
    As said in SAMA5D2 datasheet, the CAN clock is recommended to use
    frequencies of 20, 40 or 80 MHz, and to select the UPLLCK(480 MHz)
    as source clock. So, the "assigned-clock-rates" property has
    three options: 20000000, 40000000, and 80000000. The
    "assigned-clock-parents" property should be referred to utmi fixedly.
    
    Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
    wenyouya committed Nov 24, 2015
    Configuration menu
    Copy the full SHA
    deb4ced View commit details
    Browse the repository at this point in the history
  3. Merge branch 'at91-4.1-trunk/dt' into linux-4.1-at91

    Nicolas Ferre committed Nov 24, 2015
    Configuration menu
    Copy the full SHA
    909c713 View commit details
    Browse the repository at this point in the history
  4. ARM: at91/defconfig: align sama5 with sama5d2 defconfig

    The sama5d2_defconfig is about to be removed, align the generic one with
    sama5d2 support
    
    Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
    Nicolas Ferre committed Nov 24, 2015
    Configuration menu
    Copy the full SHA
    0a5f57c View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    9b26ccc View commit details
    Browse the repository at this point in the history
  6. clk: at91: audio PLL: remove debug directive

    Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
    Nicolas Ferre committed Nov 24, 2015
    Configuration menu
    Copy the full SHA
    c6952f8 View commit details
    Browse the repository at this point in the history
  7. Merge branch 'at91-4.1-trunk/clk' into linux-4.1-at91

    Nicolas Ferre committed Nov 24, 2015
    Configuration menu
    Copy the full SHA
    8d73c3a View commit details
    Browse the repository at this point in the history
  8. dmaengine: at_xdmac: use %pad format string for dma_addr_t

    dma_addr_t may be defined as 32 or 64 bit depending on configuration,
    so it cannot be printed using the normal format strings, as
    gcc correctly warns:
    
    drivers/dma/at_xdmac.c: In function 'at_xdmac_interleaved_queue_desc':
    drivers/dma/at_xdmac.c:922:51: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'dma_addr_t {aka long long unsigned int}' [-Wformat=]
    
    This changes the format strings to use the special "%pad" format
    string that prints a dma_addr_t, and changes the arguments so we
    pass the address by reference as required.
    
    Signed-off-by: Arnd Bergmann <arnd@arndb.de>
    Signed-off-by: Vinod Koul <vinod.koul@intel.com>
    arndb authored and ldesroches committed Nov 24, 2015
    Configuration menu
    Copy the full SHA
    4643b2e View commit details
    Browse the repository at this point in the history
  9. dmaengine: at_xdmac: fix macro typo

    Fix typo in a macro which was not used until now. It explains why there
    is no error at compilation time.
    
    Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
    Fixes: e1f7c9e "dmaengine: at_xdmac: creation of the atmel eXtended
    DMA Controller driver"
    Cc: stable@vger.kernel.org # 3.19 and later
    ldesroches committed Nov 24, 2015
    Configuration menu
    Copy the full SHA
    639642a View commit details
    Browse the repository at this point in the history
  10. dmaengine: at_xdmac: fix spurious flag status for mem2mem transfers

    When setting the channel configuration register, the perid field is not
    set to 0 since it is useless for mem2mem transfers. Unfortunately, a
    device has 0 as perid. It could cause spurious flags status because
    the controller could mix some events from the two channels.
    For that reason, use the highest perid value for mem2mem transfers since it
    doesn't match the perid of other devices.
    
    Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
    ldesroches committed Nov 24, 2015
    Configuration menu
    Copy the full SHA
    38c874d View commit details
    Browse the repository at this point in the history
  11. dmaengine: at_xdmac: fix false condition for memset_sg transfers

    The code was not in agreement with the comments.
    
    Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
    ldesroches committed Nov 24, 2015
    Configuration menu
    Copy the full SHA
    9ed55fd View commit details
    Browse the repository at this point in the history
  12. mmc: sdhci-of-at91: add PM support

    Add runtime PM support and use runtime_force_suspend|resume() for system
    PM.
    
    Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
    Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
    ldesroches committed Nov 24, 2015
    Configuration menu
    Copy the full SHA
    3080f46 View commit details
    Browse the repository at this point in the history
  13. mmc: atmel-mci: move atmel-mci-regs.h content in atmel-mci.c

    atmel-mci-regs.h is only included in atmel-mci.c so move its content in
    the driver and do some cleanup in these definitions to remove checkpatch
    errors.
    
    Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
    ldesroches committed Nov 24, 2015
    Configuration menu
    Copy the full SHA
    769be0c View commit details
    Browse the repository at this point in the history
  14. MAINTAINERS: remove atmel-mci-regs.h file

    Remove atmel-mci-regs.h file since it has been merged in atmel-mci.c.
    
    Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
    ldesroches committed Nov 24, 2015
    Configuration menu
    Copy the full SHA
    c289c41 View commit details
    Browse the repository at this point in the history
  15. mmc: atmel-mci: atmci_convert_chksize depends on controller version

    The atmci_convert_chksize() function is no more valid for controller
    version 0x600 due to the introduction of '2 data' chunk size.
    
    Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
    ldesroches committed Nov 24, 2015
    Configuration menu
    Copy the full SHA
    0c2012c View commit details
    Browse the repository at this point in the history
  16. Revert "mmc: sdhci at91: add suspend/resume"

    This reverts commit 9072c49.
    ldesroches committed Nov 24, 2015
    Configuration menu
    Copy the full SHA
    e84a966 View commit details
    Browse the repository at this point in the history

Commits on Nov 26, 2015

  1. ARM: at91/defconfig: add the HID_GENERIC to sama5_defconfig

    This option can be handy for connecting an USB mouse of keyboard.
    
    Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
    Nicolas Ferre committed Nov 26, 2015
    Configuration menu
    Copy the full SHA
    b248b51 View commit details
    Browse the repository at this point in the history
  2. ARM: at91/defconfig: remove the special sama5d2_defconfig

    This SoC is now handled normally by the generic sama5_defconfig, no need to
    keep a special defconfig.
    
    Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
    Nicolas Ferre committed Nov 26, 2015
    Configuration menu
    Copy the full SHA
    4da8aec View commit details
    Browse the repository at this point in the history
  3. Merge branch 'at91-4.1-trunk/defconfig' into linux-4.1-at91

    Conflicts:
    	arch/arm/configs/sama5d2_defconfig
    Nicolas Ferre committed Nov 26, 2015
    Configuration menu
    Copy the full SHA
    7ef98e1 View commit details
    Browse the repository at this point in the history
  4. ARM: at91/sama5_defconfig: enable CPU idle

    Add CONFIG_CPU_IDLE=y to enable CPU idle PM support.
    
    Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
    wenyouya authored and Nicolas Ferre committed Nov 26, 2015
    Configuration menu
    Copy the full SHA
    6fdbaf7 View commit details
    Browse the repository at this point in the history
  5. ARM: at91/defconfig: remove KEXEC from defconfig

    This option is not frequently used and easy to add by whoever needs it.
    
    Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
    Nicolas Ferre committed Nov 26, 2015
    Configuration menu
    Copy the full SHA
    379047c View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    a776606 View commit details
    Browse the repository at this point in the history
  7. Merge branch 'at91-4.1-trunk/base_dma' into linux-4.1-at91

    Nicolas Ferre committed Nov 26, 2015
    Configuration menu
    Copy the full SHA
    07dbbcc View commit details
    Browse the repository at this point in the history
  8. mmc: sdhci-of-at91: add presets setup

    The controller claims to support SDR104 but is not totally true since
    the maximum sd clock frequency is 120 MHz instead of 208 MHz for this
    mode. The sdhci core is not aware about this and will compute a wrong
    clock divider so preset has to be used to fix that.
    
    Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
    ldesroches committed Nov 26, 2015
    Configuration menu
    Copy the full SHA
    2f1b942 View commit details
    Browse the repository at this point in the history
  9. wireless: regulatory: reduce log level of CRDA related messages

    With a basic Linux userspace, the messages "Calling CRDA to update
    world regulatory domain" appears 10 times after boot every second or
    so, followed by a final "Exceeded CRDA call max attempts. Not calling
    CRDA". For those of us not having the corresponding userspace parts,
    having those messages repeatedly displayed at boot time is a bit
    annoying, so this commit reduces their log level to pr_debug().
    
    Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
    Signed-off-by: Johannes Berg <johannes.berg@intel.com>
    tpetazzoni authored and Nicolas Ferre committed Nov 26, 2015
    Configuration menu
    Copy the full SHA
    0480abe View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    2662217 View commit details
    Browse the repository at this point in the history
  11. ARM: at91/dt: sama5d2: classd: add GCK's parent clock

    Set GCK's parent as audio pmc clock.
    
    Signed-off-by: Songjun Wu <songjun.wu@atmel.com>
    sowu authored and Nicolas Ferre committed Nov 26, 2015
    Configuration menu
    Copy the full SHA
    e4e8d40 View commit details
    Browse the repository at this point in the history
  12. ARM: at91/dt: sama5d2: classd: add sound card name

    Add sound card name for samad2-xplained.
    
    Signed-off-by: Songjun Wu <songjun.wu@atmel.com>
    [nicolas.ferre@atmel.com: add name to sama5d2 Xplained pda4 as well]
    Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
    sowu authored and Nicolas Ferre committed Nov 26, 2015
    Configuration menu
    Copy the full SHA
    8619281 View commit details
    Browse the repository at this point in the history
  13. Merge branch 'at91-4.1-trunk/dt' into linux-4.1-at91

    Nicolas Ferre committed Nov 26, 2015
    Configuration menu
    Copy the full SHA
    8143fff View commit details
    Browse the repository at this point in the history
  14. Merge branch 'at91-4.1-trunk/base+4.3' into linux-4.1-at91

    Nicolas Ferre committed Nov 26, 2015
    Configuration menu
    Copy the full SHA
    3964657 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    33d8572 View commit details
    Browse the repository at this point in the history
  16. mmc: sdhci-of-at91: controller is suspended too early

    The controller is suspended before sdhci_add_host(). It causes to read 0
    in register because the controller clock is disabled. Increment the
    usage count before calling sdhci_add_host(), decrement it after and put
    it in suspend if it is possible.
    
    Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
    ldesroches committed Nov 26, 2015
    Configuration menu
    Copy the full SHA
    d0d9bbe View commit details
    Browse the repository at this point in the history
  17. spi: atmel: update DT bindings documentation

    - add new property "atmel,fifo-size"
    - change "cs-gpios" to optional for SPI controller version >= 2.
    
    Please be aware that the VERSION register can not be used to guess the
    size of FIFOs. Indeed, for a given hardware version, the SPI controller
    can be integrated on Atmel SoCs with different FIFO sizes. Also the
    "atmel,fifo-size" property is optional as older SPI controllers don't
    embed FIFO at all.
    
    Besides, the FIFO size can not be read or guessed from other registers:
    When designing the FIFO feature, no dedicated registers were added to
    store this size. Unused spaces in the I/O register range are limited and
    better reserved for future usages. Instead, the FIFO size of each
    peripheral is documented in the programmer datasheet.
    
    Finally, on a given SoC, there can be several instances of the SPI
    controller with different FIFO sizes. This explain why we'd rather use a
    dedicated DT property than use the "compatible" property.
    
    For instance, sama5d2x SoCs come with some SPI controllers, the ones
    inside Flexcoms, integrating 32 data FIFOs whereas other SPI controllers
    use 16 data FIFOs. All these SPI controllers share the same IP version.
    
    Signed-off-by: Cyrille Pitchen <cyrille.pitchen@atmel.com>
    Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
    Signed-off-by: Mark Brown <broonie@kernel.org>
    Cyrille Pitchen authored and Nicolas Ferre committed Nov 26, 2015
    Configuration menu
    Copy the full SHA
    2e82102 View commit details
    Browse the repository at this point in the history
  18. spi: atmel: remove warning when !CONFIG_PM_SLEEP

    When CONFIG_PM is defined but not CONFIG_PM_SLEEP (this happens when
    CONFIG_SUSPEND is not defined), there is the following warning:
    
    drivers/spi/spi-atmel.c:1723:12: warning: ‘atmel_spi_suspend’ defined but not used [-Wunused-function]
    drivers/spi/spi-atmel.c:1741:12: warning: ‘atmel_spi_resume’ defined but not used [-Wunused-function]
    
    Enclose both atmel_spi_suspend and atmel_spi_resume in #ifdef
    CONFIG_PM_SLEEP/#endif to solve that.
    
    Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
    Signed-off-by: Mark Brown <broonie@kernel.org>
    alexandrebelloni authored and Nicolas Ferre committed Nov 26, 2015
    Configuration menu
    Copy the full SHA
    51b968a View commit details
    Browse the repository at this point in the history
  19. spi: atmel: Fix DMA-setup for transfers with more than 8 bits per word

    The DMA-slave configuration depends on the whether <= 8 or > 8 bits
    are transferred per word, so we need to call
    atmel_spi_dma_slave_config() with the correct value.
    
    Signed-off-by: David Mosberger <davidm@egauge.net>
    Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
    Signed-off-by: Mark Brown <broonie@kernel.org>
    Cc: stable@vger.kernel.org
    dmosberger authored and Nicolas Ferre committed Nov 26, 2015
    Configuration menu
    Copy the full SHA
    837fc40 View commit details
    Browse the repository at this point in the history
  20. Merge branch 'at91-4.1-trunk/base_spi' into linux-4.1-at91

    Nicolas Ferre committed Nov 26, 2015
    Configuration menu
    Copy the full SHA
    d0d9cd2 View commit details
    Browse the repository at this point in the history
  21. Merge branch 'at91-4.1-trunk/sdmmc' into linux-4.1-at91

    Nicolas Ferre committed Nov 26, 2015
    Configuration menu
    Copy the full SHA
    1f5b03c View commit details
    Browse the repository at this point in the history

Commits on Nov 27, 2015

  1. ARM: at91sam9260/dt: add I2C pinctl definitions

    This patch adds missing devicetree definitions for IO pins of I2C bus.
    Without them transfers on I2C just time out. Definitions affect boards based
    on at91sam9260 and at91sam9g20 CPUs.
    alexandermorozov committed Nov 27, 2015
    Configuration menu
    Copy the full SHA
    40f57dd View commit details
    Browse the repository at this point in the history
  2. ARM: at91sam9x5/dt: usart3 definitions

    This patch adds missing usart3 structures in device tree description of
    at91sam9x5 SoC family.
    alexandermorozov committed Nov 27, 2015
    Configuration menu
    Copy the full SHA
    dce2ca7 View commit details
    Browse the repository at this point in the history