19 Oct, 2019

1 commit

  • There is no need to keep a pointer to the platform device. Currently there are
    no users of it directly, and if there will be in the future we may restore it
    from pointer to the struct device.

    Convert all users at the same time.

    Cc: Russell King
    Cc: Jaroslav Kysela
    Cc: Takashi Iwai
    Signed-off-by: Andy Shevchenko
    Link: https://lore.kernel.org/r/20191018105429.82782-1-andriy.shevchenko@linux.intel.com
    Signed-off-by: Mark Brown

    Andy Shevchenko
     

19 Jun, 2019

1 commit

  • Based on 2 normalized pattern(s):

    this program is free software you can redistribute it and or modify
    it under the terms of the gnu general public license version 2 as
    published by the free software foundation

    this program is free software you can redistribute it and or modify
    it under the terms of the gnu general public license version 2 as
    published by the free software foundation #

    extracted by the scancode license scanner the SPDX license identifier

    GPL-2.0-only

    has been chosen to replace the boilerplate/reference in 4122 file(s).

    Signed-off-by: Thomas Gleixner
    Reviewed-by: Enrico Weigelt
    Reviewed-by: Kate Stewart
    Reviewed-by: Allison Randal
    Cc: linux-spdx@vger.kernel.org
    Link: https://lkml.kernel.org/r/20190604081206.933168790@linutronix.de
    Signed-off-by: Greg Kroah-Hartman

    Thomas Gleixner
     

21 May, 2019

1 commit


15 Apr, 2019

1 commit


24 Jan, 2019

1 commit


19 Jun, 2018

1 commit

  • Now the dma_slave_map is available for PXA architecture, switch the SSP
    device to it.

    This specifically means that :
    - for platform data based machines, the DMA requestor channels are
    extracted from the slave map, where pxa-ssp-dai. is a 1-1 match to
    ssp., and the channels are either "rx" or "tx".

    - for device tree platforms, the dma node should be hooked into the
    pxa2xx-ac97 or pxa-ssp-dai node.

    Signed-off-by: Robert Jarzmik
    Acked-by: Daniel Mack

    Robert Jarzmik
     

09 Aug, 2016

1 commit


27 Feb, 2016

1 commit


02 Dec, 2015

3 commits


13 Sep, 2015

1 commit

  • Commit 03fbf488cece ("spi: pxa2xx: Differentiate Intel LPSS types") caused
    build error here because it removed the type LPSS_SSP and I didn't notice
    the type was used here too.

    I believe commit a6e56c28a178 ("ARM: pxa: ssp: add DT bindings") added it
    accidentally by copying all enum pxa_ssp_type types from
    include/linux/pxa2xx_ssp.h even LPSS_SSP was for Intel LPSS SPI devices.

    Fix the build error by removing this incorrect binding.

    Fixes: 03fbf488cece ("spi: pxa2xx: Differentiate Intel LPSS types")
    Signed-off-by: Jarkko Nikula
    Reported-by: Axel Lin
    Cc: # 4.2
    Signed-off-by: Robert Jarzmik

    Jarkko Nikula
     

18 Jul, 2015

1 commit

  • In order to slowly transition pxa to dmaengine, the legacy code will now
    rely on dmaengine to request a channel.

    This implies that PXA architecture selects DMADEVICES and PXA_DMA,
    which is not pretty. Yet it enables PXA drivers to be ported one by one,
    with part of them using dmaengine, and the other part using the legacy
    code.

    Signed-off-by: Robert Jarzmik

    Robert Jarzmik
     

16 Apr, 2015

1 commit

  • The seq_printf return value, because it's frequently misused,
    (as it is here, it doesn't return # of chars emitted) will
    eventually be converted to void.

    See: commit 1f33c41c03da ("seq_file: Rename seq_overflow() to
    seq_has_overflowed() and make public")

    Signed-off-by: Joe Perches
    Cc: Russell King
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Joe Perches
     

20 Oct, 2014

1 commit


19 Sep, 2014

1 commit


12 Dec, 2013

1 commit


10 Sep, 2013

1 commit

  • Commit a6e56c28a178cef5f (ARM: pxa: ssp: add DT bindings) causes warnings
    when built:

    arch/arm/plat-pxa/ssp.c: In function 'pxa_ssp_probe':
    arch/arm/plat-pxa/ssp.c:145:17: warning: 'dma_spec.args[0]' may be used
    uninitialized in this function [-Wmaybe-uninitialized]

    Resolve by checking return values and aborting when lookups fail.

    Cc: Daniel Mack
    Cc: Mark Brown
    Cc: Haojian Zhuang
    Signed-off-by: Olof Johansson

    Olof Johansson
     

15 Aug, 2013

5 commits


04 Jan, 2013

1 commit

  • CONFIG_HOTPLUG is going away as an option. As a result, the __dev*
    markings need to be removed.

    This change removes the use of __devinit, __devexit_p, __devinitdata,
    and __devexit from these drivers.

    Based on patches originally written by Bill Pemberton, but redone by me
    in order to handle some of the coding style issues better, by hand.

    Cc: Bill Pemberton
    Cc: Russell King
    Signed-off-by: Greg Kroah-Hartman

    Greg Kroah-Hartman
     

15 Nov, 2012

1 commit

  • PXA95x isn't widely used. And it adds the effort on supporting
    multiple platform. So remove it.

    The assumption is that nobody will miss this support. If you are
    reading this text because you actually require pxa95x support on
    a new kernel, we can work out a way to revert this patch or add
    support to the mmp platform.

    Signed-off-by: Haojian Zhuang
    Signed-off-by: Arnd Bergmann

    Haojian Zhuang
     

14 Sep, 2012

1 commit

  • Platform data for device drivers should be defined in
    include/linux/platform_data/*.h, not in the architecture
    and platform specific directories.

    This moves such data out of the pxa include directories

    Signed-off-by: Arnd Bergmann
    Acked-by: Mark Brown
    Acked-by: Greg Kroah-Hartman
    Acked-by: Nicolas Pitre
    Acked-by: Mauro Carvalho Chehab
    Acked-by: Igor Grinberg
    Acked-by: Jeff Garzik
    Acked-by: Marek Vasut
    Acked-by: Robert Jarzmik
    Acked-by: Paul Parsons
    Acked-by: Vinod Koul
    Acked-By: Stefan Schmidt
    Cc: Eric Miao
    Cc: Haojian Zhuang
    Cc: Daniel Ribeiro
    Cc: Harald Welte
    Cc: Philipp Zabel
    Cc: Tomas Cech
    Cc: Sergey Lapin
    Cc: Jonathan Cameron
    Cc: Dan Williams
    Cc: Dmitry Torokhov
    Cc: Chris Ball
    Cc: David Woodhouse
    Cc: Samuel Ortiz
    Cc: Alan Stern
    Cc: Florian Tobias Schandinat
    Cc: Liam Girdwood
    Cc: Jaroslav Kysela
    Cc: Takashi Iwai
    Cc: Guennadi Liakhovetski
    Cc: Artem Bityutskiy
    Cc: openezx-devel@lists.openezx.org

    Arnd Bergmann
     

31 Jul, 2012

1 commit

  • Pull PWM subsystem from Thierry Reding:
    "The new PWM subsystem aims at collecting all implementations of the
    legacy PWM API and to eventually replace it completely.

    The subsystem has been in development for over half a year now and
    many drivers have already been converted. It has been in linux-next
    for a couple of weeks and there have been no major issues so I think
    it is ready for inclusion in your tree."

    Arnd Bergmann :
    "Very much Ack on the new subsystem. It uses the interface
    declarations as the previously separate pwm drivers, so nothing
    changes for now in the drivers using it, although it enables us to
    change those more easily in the future if we want to.

    This work is also one of the missing pieces that are required to
    eventually build ARM kernels for multiple platforms, which is
    currently prohibited (amongs other things) by the fact that you cannot
    have more than one driver exporting the pwm functions."

    Tested-and-acked-by: Alexandre Courbot
    Acked-by: Mark Brown
    Acked-by: Philip, Avinash # TI's AM33xx platforms
    Acked-By: Alexandre Pereira da Silva # LPC32XX
    Acked-by: Arnd Bergmann
    Acked-by: Sachin Kamat

    Fix up trivial conflicts with other cleanups and DT updates.

    * 'for-3.6' of git://gitorious.org/linux-pwm/linux-pwm: (36 commits)
    pwm: pwm-tiehrpwm: PWM driver support for EHRPWM
    pwm: pwm-tiecap: PWM driver support for ECAP APWM
    pwm: fix used-uninitialized warning in pwm_get()
    pwm: add lpc32xx PWM support
    pwm_backlight: pass correct brightness to callback
    pwm: Use pr_* functions in pwm-samsung.c file
    pwm: Convert pwm-samsung to use devm_* APIs
    pwm: Convert pwm-tegra to use devm_clk_get()
    pwm: pwm-mxs: Return proper error if pwmchip_remove() fails
    pwm: pwm-bfin: Return proper error if pwmchip_remove() fails
    pwm: pxa: Propagate pwmchip_remove() error
    pwm: Convert pwm-pxa to use devm_* APIs
    pwm: Convert pwm-vt8500 to use devm_* APIs
    pwm: Convert pwm-imx to use devm_* APIs
    pwm: Conflict with legacy PWM API
    pwm: pwm-mxs: add pinctrl support
    pwm: pwm-mxs: use devm_* managed functions
    pwm: pwm-mxs: use global reset function stmp_reset_block
    pwm: pwm-mxs: encode soc name in compatible string
    pwm: Take over maintainership of the PWM subsystem
    ...

    Linus Torvalds
     

03 Jul, 2012

1 commit


11 Jun, 2012

1 commit


27 Apr, 2012

2 commits


29 Mar, 2012

1 commit


24 Nov, 2011

1 commit


15 Nov, 2011

1 commit


14 Nov, 2011

2 commits


08 Nov, 2011

1 commit

  • * git://git.infradead.org/mtd-2.6: (226 commits)
    mtd: tests: annotate as DANGEROUS in Kconfig
    mtd: tests: don't use mtd0 as a default
    mtd: clean up usage of MTD_DOCPROBE_ADDRESS
    jffs2: add compr=lzo and compr=zlib options
    jffs2: implement mount option parsing and compression overriding
    mtd: nand: initialize ops.mode
    mtd: provide an alias for the redboot module name
    mtd: m25p80: don't probe device which has status of 'disabled'
    mtd: nand_h1900 never worked
    mtd: Add DiskOnChip G3 support
    mtd: m25p80: add EON flash EN25Q32B into spi flash id table
    mtd: mark block device queue as non-rotational
    mtd: r852: make r852_pm_ops static
    mtd: m25p80: add support for at25df321a spi data flash
    mtd: mxc_nand: preset_v1_v2: unlock all NAND flash blocks
    mtd: nand: switch `check_pattern()' to standard `memcmp()'
    mtd: nand: invalidate cache on unaligned reads
    mtd: nand: do not scan bad blocks with NAND_BBT_NO_OOB set
    mtd: nand: wait to set BBT version
    mtd: nand: scrub BBT on ECC errors
    ...

    Fix up trivial conflicts:
    - arch/arm/mach-at91/board-usb-a9260.c
    Merged into board-usb-a926x.c
    - drivers/mtd/maps/lantiq-flash.c
    add_mtd_partitions -> mtd_device_register vs changed to use
    mtd_device_parse_register.

    Linus Torvalds
     

01 Nov, 2011

1 commit


08 Oct, 2011

1 commit

  • This tries to clear up the confusion between integers and iomem pointers
    in the marvell pxa platform. MMIO addresses are supposed to be __iomem*
    values, in order to let the Linux type checking work correctly. This
    patch moves the cast to __iomem as far back as possible, to the place
    where the MMIO virtual address windows are defined.

    Signed-off-by: Arnd Bergmann
    Signed-off-by: Eric Miao

    Arnd Bergmann
     

02 Oct, 2011

1 commit