Permalink
Commits on Jun 29, 2017
  1. kernel: Replace timeconst.pl with a bc script

    H. Peter Anvin Wenyou Yang
    H. Peter Anvin authored and Wenyou Yang committed Feb 14, 2013
    bc is the standard tool for multi-precision arithmetic.  We switched
    to Perl because akpm reported a hard-to-reproduce build hang, which
    was very odd because affected and unaffected machines were all running
    the same version of GNU bc.
    
    Unfortunately switching to Perl required a really ugly "canning"
    mechanism to support Perl < 5.8 installations lacking the Math::BigInt
    module.
    
    It was recently pointed out to me that some very old versions of GNU
    make had problems with pipes in subshells, which was indeed the
    construct used in the Makefile rules in that version of the patch;
    Perl didn't need it so switching to Perl fixed the problem for
    unrelated reasons.  With the problem (hopefully) root-caused, we can
    switch back to bc and do the arbitrary-precision arithmetic naturally.
    
    Signed-off-by: H. Peter Anvin <hpa@zytor.com>
    Cc: Andrew Morton <akpm@linux-foundation.org>
    Acked-by: Sam Ravnborg <sam@ravnborg.org>
    Signed-off-by: Michal Marek <mmarek@suse.cz>
Commits on Nov 13, 2015
  1. ARM: 8158/1: LLVMLinux: use static inline in ARM ftrace.h

    behanw authored and Nicolas Ferre committed Sep 24, 2014
    With compilers which follow the C99 standard (like modern versions of gcc and
    clang), "extern inline" does the wrong thing (emits code for an externally
    linkable version of the inline function). In this case using static inline
    and removing the NULL version of return_address in return_address.c does
    the right thing.
    
    Signed-off-by: Behan Webster <behanw@converseincode.com>
    Reviewed-by: Mark Charlebois <charlebm@gmail.com>
    Acked-by: Steven Rostedt <rostedt@goodmis.org>
    Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
  2. Merge branch 'linux-3.6.9-at91' into linux-3.6.9-at91

    Nicolas Ferre
    Nicolas Ferre committed Nov 13, 2015
Commits on Feb 10, 2014
  1. ARM: at91: add support for PDA4 and PDA7 display modules

    ldesroches authored and Nicolas Ferre committed Dec 6, 2013
    Currently the easiest way to manage the PDA display modules is to add a machine
    compatible string to distinguish display modules in order to update LCD
    settings.
    
    Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
    [voice.shen@atmel.com: porting to linux-3.6.9]
    Signed-off-by: Bo Shen <voice.shen@atmel.com>
  2. Input: atmel_mxt_ts: don't care about pdata

    ldesroches authored and Nicolas Ferre committed Dec 6, 2013
    If we set bad settings, there is no easy way to retrieve default ones. So
    ignore pdata.
    
    Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
  3. Input: atmel_mxt_ts: increment reset time

    ldesroches authored and Nicolas Ferre committed Dec 6, 2013
    It is more secure to increment the reset time since it may be too short in some
    cases as using the PDA 7" display module.
    
    Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
  4. Atmel MXT touchscreen: increase reset timeouts

    torvalds authored and Nicolas Ferre committed Mar 9, 2013
    There is a more complete atmel patch-series out by Nick Dyer that fixes
    this and other things, but in the meantime this is the minimal thing to
    get the touchscreen going on (at least my) Pixel Chromebook.
    
    Not that I want my dirty fingers near that beautiful screen, but it
    seems that a non-initialized touchscreen will also end up being a
    constant wakeup source, so you have to disable it to go to sleep.  And
    it's easier to just fix the initialization sequence.
    
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  5. Input: atmel_mxt_ts - Support for touchpad variant

    djkurtz authored and Nicolas Ferre committed Mar 8, 2013
    This same driver can be used by atmel based touchscreens and touchpads
    (buttonpads). Platform data may specify a device is a touchpad
    using the is_tp flag.
    
    This will cause the driver to perform some touchpad specific
    initializations, such as:
      * register input device name "Atmel maXTouch Touchpad" instead of
      Touchscreen.
      * register BTN_LEFT & BTN_TOOL_* event types.
      * register axis resolution (as a fixed constant, for now)
      * register BUTTONPAD property
      * process GPIO buttons using reportid T19
    
    Input event GPIO mapping is done by the platform data key_map array.
    
    key_map[x] should contain the KEY or BTN code to send when processing
    GPIOx from T19. To specify a GPIO as not an input source, populate
    with KEY_RESERVED, or 0.
    
    Signed-off-by: Daniel Kurtz <djkurtz@chromium.org>
    Signed-off-by: Benson Leung <bleung@chromium.org>
    Signed-off-by: Nick Dyer <nick.dyer@itdev.co.uk>
    Tested-by: Olof Johansson <olof@lixom.net>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  6. Input: atmel_mxt_ts - simplify mxt_dump_message

    andy-shev authored and Nicolas Ferre committed Oct 4, 2012
    Use %*ph format specifier to print small buffer.
    
    Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
    Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
  7. Input: MT - Add flags to input_mt_init_slots()

    rydberg authored and Nicolas Ferre committed Aug 11, 2012
    Preparing to move more repeated code into the mt core, add a flags
    argument to the input_mt_slots_init() function.
    
    Reviewed-and-tested-by: Benjamin Tissoires <benjamin.tissoires@enac.fr>
    Tested-by: Ping Cheng <pingc@wacom.com>
    Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
    Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
  8. Input: Improve the events-per-packet estimate

    rydberg authored and Nicolas Ferre committed Sep 1, 2012
    The events-per-packet estimate has so far been used by MT devices
    only. This patch adjusts the packet buffer size to also accomodate the
    KEY and MSC events.  Keyboards normally send one or two keys at a
    time. MT devices normally send a number of button keys along with the
    MT information.  The buffer size chosen here covers those cases, and
    matches the default buffer size in evdev. Since the input estimate is
    now preferred, remove the special input-mt estimate.
    
    Reviewed-and-tested-by: Ping Cheng <pingc@wacom.com>
    Tested-by: Benjamin Tissoires <benjamin.tissoires@enac.fr>
    Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
    Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
  9. Input: Break out MT data

    rydberg authored and Nicolas Ferre committed Sep 15, 2012
    Move all MT-related things to a separate place. This saves some
    bytes for non-mt input devices, and prepares for new MT features.
    
    Reviewed-and-tested-by: Benjamin Tissoires <benjamin.tissoires@enac.fr>
    Tested-by: Ping Cheng <pingc@wacom.com>
    Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
    Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
  10. Revert "input: touchscreen: add dt support for Atmel maXTouch driver"

    Bo Shen Nicolas Ferre
    Bo Shen authored and Nicolas Ferre committed Jan 26, 2014
    This reverts commit 5ecea65.
  11. libtraceevent: Remove hard coded include to /usr/local/include in Mak…

    Jack Mitchell Nicolas Ferre
    Jack Mitchell authored and Nicolas Ferre committed Mar 8, 2013
    …efile
    
    having /usr/local/include hardcoded into the makefile is not necessary
    as this is automatically included by GCC. It also infects cross-compile
    builds with the host systems includes.
    
    Signed-off-by: Jack Mitchell <jack.mitchell@dbbroadcast.co.uk>
    Acked-by: Namhyung Kim <namhyung@kernel.org>
    Cc: Ingo Molnar <mingo@redhat.com>
    Cc: Paul Mackerras <paulus@samba.org>
    Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
    Link: http://lkml.kernel.org/r/1362741712-21308-1-git-send-email-ml@communistcode.co.uk
    Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
  12. libtraceevent: Remove hard coded include to /usr/local/include in Mak…

    Jack Mitchell Nicolas Ferre
    Jack Mitchell authored and Nicolas Ferre committed Mar 8, 2013
    …efile
    
    having /usr/local/include hardcoded into the makefile is not necessary
    as this is automatically included by GCC. It also infects cross-compile
    builds with the host systems includes.
    
    Signed-off-by: Jack Mitchell <jack.mitchell@dbbroadcast.co.uk>
    Acked-by: Namhyung Kim <namhyung@kernel.org>
    Cc: Ingo Molnar <mingo@redhat.com>
    Cc: Paul Mackerras <paulus@samba.org>
    Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
    Link: http://lkml.kernel.org/r/1362741712-21308-1-git-send-email-ml@communistcode.co.uk
    Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Commits on Jan 27, 2014
  1. sama5d3x: enable ISI in sama5d31/33/34-ek board

    JoshWu committed Dec 31, 2013
    Since in rev.D MB, sound is moved from TWI0 to TWI1, no conflict with
    ISI.
    
    In rev.C or before, sound is conflict with ISI. So you can use U-Boot
    fdt command to update the dtb, which enable sound and disable ISI.
      setenv enable_sound_in_revC 'fdt set /ahb/apb/i2c@f0014000 status "okay";fdt set /ahb/apb/isi@f0034000 status'
      run enable_sound_in_revC # before run this should load a dtb binary and run fdt addr <dtb addr>
    
    Signed-off-by: Josh Wu <josh.wu@atmel.com>
  2. sama5d3xmb: Don't disable sound when enable ISI as in rev.D MB both w…

    JoshWu committed Dec 30, 2013
    …orks
    
    For rev.C MB,
     1. if sama5d3mb_isi.dtsi is included, then ISI can work and sound
        can't work as i2c0 is disabled.
        In this case, kernel will report some error message about sound.
     2. if sama5d3mb_isi.dtsi is not included, then sound works and ISI
        is disabled.
    
    Signed-off-by: Josh Wu <josh.wu@atmel.com>
  3. sama5d3xmb: Set default MB as rev.D, which move all the i2c0 slave to…

    JoshWu committed Dec 30, 2013
    … i2c1
    
    We still keep the i2c0 slave device in order to be compatiable with
    rev.C MB.
    In this way, U-Boot can update the dtb if it found the rev.C MB.
    
    Signed-off-by: Josh Wu <josh.wu@atmel.com>
Commits on Jan 15, 2014
  1. crypto: atmel-aes - add proper initialization value according to data…

    patvilchez authored and Nicolas Ferre committed Jan 15, 2014
    …sheet
    
    Signed-off-by: Patrice Vilchez <patrice.vilchez@atmel.com>
    Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Commits on Dec 31, 2013
  1. v4l: atmel-isi: fix color component ordering

    JoshWu committed Dec 18, 2013
    The ISI_CFG2.YCC_SWAP field controls color component ordering. The
    datasheet lists the following orderings for the memory formats.
    
    YCC_SWAP        Byte 0  Byte 1  Byte 2  Byte 3
    00: Default     Cb(i)   Y(i)    Cr(i)   Y(i+1)
    01: Mode1       Cr(i)   Y(i)    Cb(i)   Y(i+1)
    10: Mode2       Y(i)    Cb(i)   Y(i+1)  Cr(i)
    11: Mode3       Y(i)    Cr(i)   Y(i+1)  Cb(i)
    
    This is based on a sensor format set to CbYCrY (UYVY). The driver
    hardcodes the output memory format to YUYV, configure the ordering
    accordingly.
    
    Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
    [rebase to 3.6.9 kernel]
    Signed-off-by: Josh Wu <josh.wu@atmel.com>
Commits on Dec 19, 2013
  1. Merge pull request #3 from karlhiramoto/linux-3.6.9-cryptofixes

    noglitch committed Dec 19, 2013
    crypto: authenc - Find proper IV address in ablkcipher callback
  2. crypto: authenc - Find proper IV address in ablkcipher callback

    Tom Lendacky authored and karlhiramoto committed Nov 12, 2013
    When performing an asynchronous ablkcipher operation the authenc
    completion callback routine is invoked, but it does not locate and use
    the proper IV.
    
    The callback routine, crypto_authenc_encrypt_done, is updated to use
    the same method of calculating the address of the IV as is done in
    crypto_authenc_encrypt function which sets up the callback.
    
    Cc: stable@vger.kernel.org
    Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
    Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Commits on Dec 6, 2013
  1. ASoC: sam9x5_wm8731: change to work in DSP A mode

    Bo Shen
    Bo Shen committed Dec 4, 2013
    Change sam9x5 with wm8731 work in DSP A mode, this will fix the
    left/right channel swap issue.
    
    Signed-off-by: Bo Shen <voice.shen@atmel.com>
    Tested-by: Richard Genoud <richard.genoud@gmail.com>
  2. ASoC: atmel_ssc_dai: add dai trigger ops

    Bo Shen
    Bo Shen committed Dec 4, 2013
    According to the SSC specifiation, it should be enabled after DMA is
    enabled. So, add trigger operation to make sure the right sequence.
    
    Signed-off-by: Bo Shen <voice.shen@atmel.com>
    Tested-by: Richard Genoud <richard.genoud@gmail.com>
  3. ASoC: wm8731: fix dsp mode configuration

    Bo Shen
    Bo Shen committed Dec 3, 2013
    According to WM8731 "PD, Rev 4.9 October 2012" datasheet, when it
    works in DSP mode A, LRP = 1, while works in DSP mode B, LRP = 0.
    So, fix LRP for DSP mode as the datesheet specification.
    
    Signed-off-by: Bo Shen <voice.shen@atmel.com>
    Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
  4. ASoC: atmel: sam9x5_wm8731: remove platform_set_drvdata

    Bo Shen
    Bo Shen committed Nov 27, 2013
    When call snd_soc_register_card, it will set driver data to this
    device through dev_set_drvdata, then in driver, no need to call
    platform_set_drvdata again, so remove it.
    
    Signed-off-by: Bo Shen <voice.shen@atmel.com>
  5. ASoC: atmel: sam9x5_wm8731: fix oops when unload module

    Bo Shen
    Bo Shen committed Nov 27, 2013
    As the priv is not assigned to card->drvdata, it is NULL, so when
    unload module, it will cause NULL pointer oops.
    Assign priv to card->drvdata to fix this issue.
    
    Signed-off-by: Bo Shen <voice.shen@atmel.com>
  6. ASoC: atmel: Add slave mode support to SSC in DSP Mode A

    Zoltan Puskas Bo Shen
    Zoltan Puskas authored and Bo Shen committed Feb 20, 2013
    Add previously unsupported slave mode to the SSC peripheral when using
    DSP/PCM Mode A format on the Atmel ARM platform.
    
    Signed-off-by: Zoltan Puskas <zpuskas@dension.com>
  7. at91sam9m10g45: enable OV5640 support

    JoshWu committed Dec 6, 2013
    Signed-off-by: Josh Wu <josh.wu@atmel.com>
Commits on Nov 19, 2013
  1. mtd: atmel_nand: don't show the PMECC bitflip correction information

    JoshWu committed Nov 19, 2013
    Signed-off-by: Josh Wu <josh.wu@atmel.com>
  2. mtd: atmel_nand: add PMECC support for the 8k-page nand flash

    JoshWu committed Nov 19, 2013
    Signed-off-by: Josh Wu <josh.wu@atmel.com>
Commits on Sep 27, 2013
  1. ARM: at91: remove partial parameter in bootargs for at91sam9x5ek.dtsi

    Nicolas Ferre authored and JoshWu committed Mar 22, 2013
    Remove the malformed "mem=" bootargs parameter in at91sam9x5ek.dtsi
    
    Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
    Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
    Cc: stable <stable@vger.kernel.org> # 3.8+
  2. ov5640: fix bug when fail to detect ov5640, the i2c bus is not available

    JoshWu committed Sep 27, 2013
    That will impact the audio codec detection.
    
    Signed-off-by: Josh Wu <josh.wu@atmel.com>
  3. at91sam9x5ek: update defconfig to enable audio support

    JoshWu committed Sep 25, 2013
    Signed-off-by: Josh Wu <josh.wu@atmel.com>
  4. ARM: AT91: DTS: sam9x5ek: add sound configuration

    rgenoud authored and JoshWu committed Aug 12, 2013
    The sam9x5ek board has 2 jacks:
    headphone wired on RHPOUT/LHPOUT of the wm8731
    line in wired on LLINEIN/RLINEIN of the wm8731
    
    Signed-off-by: Richard Genoud <richard.genoud@gmail.com>
    [Cherry-pick: 90d0192]
    Signed-off-by: Bo Shen <voice.shen@atmel.com>