08 Mar, 2020
1 commit
-
Support for Marvell Orion SoCs depends on ARCH_MULTI_V5, and thus on
ARCH_MULTIPLATFORM.
As the latter selects GENERIC_CLOCKEVENTS and USE_OF, there is no need
for ARCH_ORION5X and ARCH_ORION5X_DT to select any of them.Signed-off-by: Geert Uytterhoeven
Cc: Jason Cooper
Cc: Andrew Lunn
Cc: Sebastian Hesselbarth
Cc: Gregory Clement
Signed-off-by: Gregory CLEMENT
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
23 Nov, 2018
1 commit
-
There is no good reason to duplicate the PCI menu in every architecture.
Instead provide a selectable HAVE_PCI symbol that indicates availability
of PCI support, and a FORCE_PCI symbol to for PCI on and the handle the
rest in drivers/pci.Signed-off-by: Christoph Hellwig
Reviewed-by: Palmer Dabbelt
Acked-by: Max Filippov
Acked-by: Thomas Gleixner
Acked-by: Bjorn Helgaas
Acked-by: Geert Uytterhoeven
Acked-by: Paul Burton
Signed-off-by: Masahiro Yamada
27 Feb, 2018
1 commit
-
It is not valid for orion5x to use mac_pton().
First of all, the orion5x buffer is not NULL terminated. mac_pton()
has no business operating on non-NULL terminated buffers because
only the caller can know that this is valid and in what manner it
is ok to parse this NULL'less buffer.Second of all, orion5x operates on an __iomem pointer, which cannot
be dereferenced using normal C pointer operations. Accesses to
such areas much be performed with the proper iomem accessors.Fixes: 4904dbda41c8 ("ARM: orion5x: use mac_pton() helper")
Signed-off-by: David S. Miller
30 Mar, 2017
1 commit
-
Board code cannot call mdiobus_register_board_info() when phylib
or mdio_device is a loadable module:arch/arm/plat-orion/common.o: In function `orion_ge00_switch_init':
:(.init.text+0x474): undefined reference to `mdiobus_register_board_info'I had a number of ideas for how this could be solved, but after the MDIO
code got split out from PHYLIB it has gotten too hard, so I'm basically
giving up, and only call the mdiobus_register_board_info() function
if the MDIO layer is built-in to avoid the link error. This is similar
to how we handle PHY registration on other ARM platforms.Fixes: 90eff9096c01 ("net: phy: Allow splitting MDIO bus/device support from PHYs")
Fixes: 648ea0134069 ("net: phy: Allow pre-declaration of MDIO devices")
Signed-off-by: Arnd Bergmann
Signed-off-by: Gregory CLEMENT
19 Nov, 2016
1 commit
-
This patch removes the legacy support of ls-chl which is converted to the
device tree.[gregory.clement@free-electrons.com: removal extracted from a wider patch]
Signed-off-by: Ashley Hughes
Reviewed-by: Andrew Lunn
Signed-off-by: Gregory CLEMENT
04 Jun, 2016
1 commit
-
This replaces:
- "select ARCH_REQUIRE_GPIOLIB" with "select GPIOLIB" as this can
now be selected directly.- "select ARCH_WANT_OPTIONAL_GPIOLIB" with no dependency: GPIOLIB
is now selectable by everyone, so we need not declare our
intent to select it.When ordering the symbols the following rationale was used:
if the selects were in alphabetical order, I moved select GPIOLIB
to be in alphabetical order, but if the selects were not
maintained in alphabetical order, I just replaced
"select ARCH_REQUIRE_GPIOLIB" with "select GPIOLIB".Cc: Michael Büsch
Cc: arm@kernel.org
Cc: linux-arm-kernel@lists.infradead.org
Signed-off-by: Linus Walleij
Signed-off-by: Olof Johansson
25 Feb, 2016
1 commit
-
If we select I2C_BOARDINFO and I2C is disabled, we get a
harmless Kconfig warning:warning: (MACH_DOVE_DB && MACH_DB88F5281 && MACH_RD88F5182 && MACH_RD88F5182_DT && MACH_KUROBOX_PRO && MACH_DNS323 && MACH_LINKSTATION_PRO && MACH_LINKSTATION_LSCHL && MACH_LINKSTATION_LS_HGL && MACH_NET2BIG) selects I2C_BOARDINFO which has unmet direct dependencies (I2C)
Making the select itself conditional avoids the warning and
makes the kernel slightly smaller as the compiler will be
able to drop the unused board info.Signed-off-by: Arnd Bergmann
Reviewed-by: Andrew Lunn
Acked-by: Jason Cooper
Signed-off-by: Gregory CLEMENT
08 Dec, 2015
1 commit
-
The orion5x platform is now ready to be enabled for multiplatform
support, this patch does the switch over by modifying the Kconfig file,
the defconfig and removing the last mach/*.h header that becomes obsolete
with this.Signed-off-by: Arnd Bergmann
Acked-by: Andrew Lunn
Signed-off-by: Gregory CLEMENT
23 Oct, 2015
1 commit
-
Instead of custom approach let's use generic helper function.
Signed-off-by: Andy Shevchenko
Cc: Detlef Vollmann
Cc: Gregory CLEMENT
Tested-by: Tested-by: Detlef Vollmann #on DNS-323
Signed-off-by: Gregory CLEMENT
07 Aug, 2015
1 commit
-
The title says it all. The name of the dts file as been changed to
better reflect the manufacturer's device name (LS-WSGL), rather than
the original "lsmini", which exists in a kirkwood version too.[gregory.clement@free-electrons.com]: use tab instead of space to
indent dts at line 185. Reslove merge conflict with patch "ARM: dts:
orion5x: add buffalo linkstation ls-wtgl" in the file
arch/arm/boot/dts/Makefile.Signed-off-by: Benjamin Cama
Acked-by: Andrew Lunn
Acked-by: Alexey Kopytko
Signed-off-by: Gregory CLEMENT
27 Apr, 2014
6 commits
-
This commit converts the Maxtor Shared Storage II Orion5x platform to
the Device Tree. The only remaining things not converted are PCI and
the special power off method.Signed-off-by: Thomas Petazzoni
Acked-by: Sebastian Hesselbarth
Link: https://lkml.kernel.org/r/1398202002-28530-37-git-send-email-thomas.petazzoni@free-electrons.com
Cc: Sylver Bruneau
Signed-off-by: Jason Cooper -
This commit converts the LaCie d2 Network platform to the Device Tree.
All devices except LEDs are converted, because the LED code needs a
non-LED GPIO to be set to a given value for the LEDs to work, and this
cannot yet be easily represented in DT.Also, references to the LaCie Big Disk Network platform are lost,
because this platform apparently has exactly the same hardware support
as the LaCie d2 Network, so their Device Tree files would be
identical.Signed-off-by: Thomas Petazzoni
Acked-by: Sebastian Hesselbarth
Link: https://lkml.kernel.org/r/1398202002-28530-36-git-send-email-thomas.petazzoni@free-electrons.com
Cc: Simon Guinot
Signed-off-by: Jason Cooper -
This commit converts the RD-88F5182 platform to the Device Tree. All
devices except the PCI are converted to the Device Tree.It is worth noting that:
* The PCI description for the DT case is kept in board-rd88f5182.c.
* The existing non-DT support in rd88f5182-setup.c is kept as is, in
order to allow testing of a given platform in both DT and non-DT
cases. It will ultimately be removed, once we no longer care about
non-DT support for Orion5x.Signed-off-by: Thomas Petazzoni
Acked-by: Sebastian Hesselbarth
Link: https://lkml.kernel.org/r/1398202002-28530-35-git-send-email-thomas.petazzoni@free-electrons.com
Cc: Ronen Shitrit
Signed-off-by: Jason Cooper -
The edmini_v2 platform is now fully converted to the Device Tree, so
we can get rid of the old style board-file and the related Kconfig
option.Signed-off-by: Thomas Petazzoni
Link: https://lkml.kernel.org/r/1398202002-28530-34-git-send-email-thomas.petazzoni@free-electrons.com
Acked-by: Sebastian Hesselbarth
Signed-off-by: Jason Cooper -
This commit declares the pinctrl device in the Orion5x 5182 Device
Tree files, and ensures that the Orion pinctrl driver is compiled.Signed-off-by: Thomas Petazzoni
Link: https://lkml.kernel.org/r/1398202002-28530-25-git-send-email-thomas.petazzoni@free-electrons.com
Acked-by: Sebastian Hesselbarth
Signed-off-by: Jason Cooper -
This commit switches the Orion5x platforms described through DT to use
a DT-defined interrupt controller and timer.This involves:
* Describing in the DT the bridge interrupt controller, which is a
child interrupt controller to the main one, which is used for timer
and watchdog interrupts.* Describing in the DT the timer.
* Adding in the DT the interrupt specifications for the watchdog.
* Selecting the ORION_IRQCHIP and ORION_TIMER drivers to be compiled.
* Change board-dt.c to no longer have an ->init_time() callback,
since the default callback will work fine: it calls
clocksource_of_init() and of_clk_init(), as needed.* Implement a multi-IRQ handler for non-DT platforms in
mach-orion5x/irq.c.Signed-off-by: Thomas Petazzoni
Acked-by: Sebastian Hesselbarth
Link: https://lkml.kernel.org/r/1398202002-28530-24-git-send-email-thomas.petazzoni@free-electrons.com
Signed-off-by: Jason Cooper
26 Apr, 2014
1 commit
-
This commit moves the Orion5x platforms using the Device Tree to use
the recently introduced clock driver for Orion5x. To achieve that, it:* Adds the necessary DT description of the clock.
* Selects ORION_CLK to enable the compilation of the clock driver.
* Call of_clk_init() instead of the Orion5x-specific clock
initialization function.Signed-off-by: Thomas Petazzoni
Link: https://lkml.kernel.org/r/1398202002-28530-21-git-send-email-thomas.petazzoni@free-electrons.com
Acked-by: Sebastian Hesselbarth
Signed-off-by: Jason Cooper
22 Mar, 2014
1 commit
-
The D-Link DNS-323 machine tries to unconditionally select CONFIG_PHYLIB,
but that has other dependencies that might not necessarily be enabled,
causing random build errors.To work around this, this patch removes the 'select' statement and
instead uses a compile-time check to skip the phy_register_fixup_for_uid()
call if PHYLIB is not available in the kernel.Signed-off-by: Arnd Bergmann
Acked-by: Jason Cooper
Cc: Andrew Lunn
Cc: Gregory Clement
Cc: Sebastian Hesselbarth
22 Nov, 2012
2 commits
-
This commit converts the 'LaCie Ethernet Disk mini v2' board to the
Device Tree. All devices that have existing Device Tree bindings are
converted over to the Device Tree, the other devices remain
instantiated in the old way, until the respective drivers get the
needed Device Tree bindings.Signed-off-by: Thomas Petazzoni
Tested by: Maxime Hadjinlian
Acked-by: Andrew Lunn
Signed-off-by: Jason Cooper -
This commit adds basic DT support for the Orion5x SoC family. It adds
an orion5x.dtsi description of the Orion5x SoC as well as the needed
DT_MACHINE structure to support boards converted to DT in the future.So far, the Device Tree contains the interrupt controller, the GPIO
bank, the UART controllers, the SPI controller, the watchdog, the SATA
controller, the I2C controller and the cryptographic engine.Signed-off-by: Thomas Petazzoni
Tested by: Maxime Hadjinlian
Acked-by: Andrew Lunn
Signed-off-by: Jason Cooper
15 May, 2012
1 commit
-
Move ts78xx_fpga from /sys/power to /sys/firmware so that
we can remove the PM dependency.Signed-off-by: Alexander Clouter
Signed-off-by: Andrew Lunn
08 Dec, 2010
1 commit
-
Adds support for Buffalo Linkstation Live v3 (LS-CHL) NAS drives.
Signed-off-by: Ash Hughes
Acked-by: Lennert Buytenhek
Signed-off-by: Nicolas Pitre
17 Jul, 2010
1 commit
-
The code to support the DNS-323 rev C1 added a call to
phy_register_fixup_for_uid() and therefore phylib has to
be built in.Signed-off-by: Martin Michlmayr
Signed-off-by: Nicolas Pitre
05 Feb, 2010
1 commit
-
Signed-off-by: Zhu Qingsen
Signed-off-by: Nicolas Pitre
09 Sep, 2009
1 commit
-
This patch add support for the 2Big Network LaCie boards.
Signed-off-by: Simon Guinot
Signed-off-by: Nicolas Pitre
11 Aug, 2009
1 commit
-
This patch add support for the d2 Network and the Big Disk Network
LaCie boards.Signed-off-by: Simon Guinot
Acked-by: Christopher Moore
Signed-off-by: Nicolas Pitre
07 Feb, 2009
1 commit
-
the FPGA on the TS-7800 provides access to a number of devices
and so we have to be careful when reprogramming it. As we
are effectively turning a bus off/on we have to inform the
kernel that it should stop using anything provided by the
FPGA (currently only the RTC however the NAND, LCD, etc is
to come) before it's reprogrammed.Once reprogramed, we can tell the kernel to (re)enable things
by checking the FPGA ID against a lookup table for what a
particular FPGA bitstream can provide.Signed-off-by: Alexander Clouter
26 Sep, 2008
4 commits
-
This patch adds support for Buffalo Linkstation Mini board.
Signed-off-by: Alexey Kopytko
Signed-off-by: Nicolas Pitre -
The RD88F6183AP-GE is an access point reference design for the
88F6183 SoC, with a 88E6161 six-port gigabit ethernet switch with
five PHYs (providing 1 WAN and 4 LAN ports and an interface to the
CPU), and a mini-PCIe slot for a wireless card.Signed-off-by: Lennert Buytenhek
-
This patch adds support for the Buffalo Terastation Pro II/Live.
Signed-off-by: Sylver Bruneau
Signed-off-by: Lennert Buytenhek -
This patch adds support for the LaCie Ethernet Disk mini V2.
Signed-off-by: Albert Aribaud
Signed-off-by: Christopher Moore
Signed-off-by: Lennert Buytenhek
08 Jul, 2008
3 commits
-
This patch adds support for the Marvell Orion-VoIP RD-88F5181L-FXO
Reference Design, and enables use of the ethernet, USB, Cardbus and
mini-PCIe ports.Signed-off-by: Nicolas Pitre
-
This patch adds support for the Marvell Orion-VoIP RD2-88F5181L-GE
Reference Design, and enables use of the ethernet, USB, Cardbus and
mini-PCIe ports.Signed-off-by: Lennert Buytenhek
-
Signed-off-by: Imre Kaloz
Signed-off-by: Lennert Buytenhek
23 Jun, 2008
5 commits
-
This patch adds support for the Maxtor Shared Storage II hardware.
Signed-off-by: Sylver Bruneau
Signed-off-by: Lennert Buytenhek -
Signed-off-by: Alexander Clouter
Signed-off-by: Lennert Buytenhek -
Signed-off-by: Lennert Buytenhek
-
Signed-off-by: Lennert Buytenhek
Tested-by: Dirk Teurlings
Tested-by: Peter van Valderen -
Signed-off-by: Lennert Buytenhek