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
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 foundationthis 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
21 May, 2019
1 commit
-
Add SPDX license identifiers to all Make/Kconfig files which:
- Have no license information of any form
These files fall under the project license, GPL v2 only. The resulting SPDX
license identifier is:GPL-2.0-only
Signed-off-by: Thomas Gleixner
Signed-off-by: Greg Kroah-Hartman
15 Apr, 2019
1 commit
-
Since commit 1c459de1e645 ("ARM: pxa: ssp: use devm_ functions")
kfree, iounmap, clk_put etc are not needed anymore in remove path.Fixes: 1c459de1e645 ("ARM: pxa: ssp: use devm_ functions")
Signed-off-by: YueHaibing
[ commit message spelling fix ]
Signed-off-by: Robert Jarzmik
24 Jan, 2019
1 commit
-
devm_ allocated data will be automatically freed. The free
of devm_ allocated data is invalid.Fixes: 1c459de1e645 ("ARM: pxa: ssp: use devm_ functions")
Signed-off-by: Peng Hao
[title's prefix changed]
Signed-off-by: Robert Jarzmik
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
09 Aug, 2016
1 commit
-
As the last pxa related driver was converted to dmaengine, it's time to
kill the legacy dma code, which is not used anymore.This finishes the pxa dmaengine transition.
Signed-off-by: Robert Jarzmik
27 Feb, 2016
1 commit
-
Declare the number of DMA requestor lines per platform :
- for pxa25x: 40 requestor lines
- for pxa27x: 75 requestor lines
- for pxa3xx: 100 requestor linesThis information will be used to activate the DMA flow control or not.
Signed-off-by: Robert Jarzmik
02 Dec, 2015
3 commits
-
With all dependencies taken care of, this enables building
the Marvell mmp platform as part of ARCH_MULTIPLATFORM, along
with other ARMv5 and ARMv7 platforms.Signed-off-by: Arnd Bergmann
Acked-by: Andrew Lunn -
The ssp.c driver in plat-pxa is the only remaining file including a
mach/*.h header from mmp. It actually doesn't need mach/hardware.h at
all, so we can remove the #include.Signed-off-by: Arnd Bergmann
-
All drivers have stopped using this code, so we can just
as well stop initializing it.Signed-off-by: Arnd Bergmann
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
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
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
20 Oct, 2014
1 commit
-
A platform_driver does not need to set an owner, it will be populated by the
driver core.Signed-off-by: Wolfram Sang
19 Sep, 2014
1 commit
-
Provide an explicit match string for PXA3xx SSP ports.
Without this match string, SSP0/SSP1/SSP2 in PXA3xxx will be consided as
PXA27x SSP Port.Signed-off-by: Daniel Mack
Signed-off-by: Haojian Zhuang
12 Dec, 2013
1 commit
-
This flag is a NOOP since 2.6.35 and can be removed.
Signed-off-by: Michael Opdenacker
Acked-by: Eric Miao
Signed-off-by: Haojian Zhuang
[olof: Fixed compilation failure for pcm990-baseboard]
Signed-off-by: Olof Johansson
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
15 Aug, 2013
5 commits
-
Add a function to lookup ssp devices from device tree. This way, users
can reference the ssp devices in order to register to them.Signed-off-by: Daniel Mack
Acked-by: Haojian Zhuang
Signed-off-by: Mark Brown -
Use devm_ functions to allocate memory, ioremap, clk_get etc to clean up
the error unwind path.Signed-off-by: Daniel Mack
Acked-by: Haojian Zhuang
Signed-off-by: Mark Brown -
This patch contains an ugly hack for looking up the the DMA request
number. The problem here is that the implementation as it stands will
allocate the DMA channel from the user of the ssp port, and hence we
cannot allocate a real channel here.Signed-off-by: Daniel Mack
Acked-by: Haojian Zhuang
Signed-off-by: Mark Brown -
No functional change, just a cosmetic cleanup.
Signed-off-by: Daniel Mack
Acked-by: Haojian Zhuang
Signed-off-by: Mark Brown -
The memory subsystem will already complain loudly enough in such cases.
Signed-off-by: Daniel Mack
Acked-by: Haojian Zhuang
Signed-off-by: Mark Brown
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
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
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
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 KamatFix 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
...
03 Jul, 2012
1 commit
-
This commit moves the PXA PWM driver to the drivers/pwm subdirectory and
converts it to use the new PWM framework.Signed-off-by: Thierry Reding
11 Jun, 2012
1 commit
-
add pxa910-ssp into ssp_id_table, and fix pxa-ssp compiling issue
under mach-mmp architect.Signed-off-by: Qiao Zhou
Acked-by: Haojian Zhuang
Signed-off-by: Mark Brown
27 Apr, 2012
2 commits
-
Direct keys usage may not start from KP_DKIN0, add a msk option
to configure the specifics for platforms that can skip some keys.Signed-off-by: Chao Xie
Signed-off-by: Haojian Zhuang -
KPDK_DK only indicates the pin level of direct key.
So it is related to board, and low level may be active which
indicates that a key is pressed.Signed-off-by: Chao Xie
Signed-off-by: Haojian Zhuang
29 Mar, 2012
1 commit
-
Disintegrate asm/system.h for ARM.
Signed-off-by: David Howells
cc: Russell King
cc: linux-arm-kernel@lists.infradead.org
24 Nov, 2011
1 commit
15 Nov, 2011
1 commit
-
Remove most gpio macros and change gpio driver to platform driver.
Signed-off-by: Haojian Zhuang
14 Nov, 2011
2 commits
-
NR_BUILTIN_GPIO is both defined in arch-pxa and arch-mmp. Now replace it
with PXA_NR_BUILTIN_GPIO and MMP_NR_BUILTIN_GPIO.Signed-off-by: Haojian Zhuang
-
Avoid to define gpio_to_irq() and irq_to_gpio() for potential name
confliction since multiple architecture will be built together.Signed-off-by: Haojian Zhuang
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.
01 Nov, 2011
1 commit
-
This sorts out merge conflicts with the arm/gpio branch that
already got merged into mainline Linux.Signed-off-by: Arnd Bergmann
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
02 Oct, 2011
1 commit
-
The file is included from upper directories
and deal with generic GPIO and gpiolib stuff. Break out the
platform and driver specific defines and functions into its own
header file.Cc: Eric Miao
Signed-off-by: Linus Walleij
Signed-off-by: Russell King