04 Sep, 2017
1 commit
-
This allows populating syscon devices which are using "simple-mfd"
instead of "simple-bus".Signed-off-by: Hauke Mehrtens
Signed-off-by: Martin Blumenstingl
Cc: john@phrozen.org
Cc: robh@kernel.org
Cc: andy.shevchenko@gmail.com
Cc: p.zabel@pengutronix.de
Cc: kishon@ti.com
Cc: mark.rutland@arm.com
Cc: linux-mips@linux-mips.org
Cc: linux-mtd@lists.infradead.org
Cc: linux-watchdog@vger.kernel.org
Cc: devicetree@vger.kernel.org
Cc: linux-spi@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/17116/
Signed-off-by: Ralf Baechle
15 Feb, 2017
1 commit
-
physical_memsize is needed by the vpe loader code and the platform
specific code has to define it. This value will be given to the
firmware loaded with the VPE loader. I am not aware of any standard
interface or better value to provide here.Reported-by: kbuild test robot
Fixes: d9ae4f18c0d2 ("MIPS: Lantiq: Activate more drivers in default configuration")
Signed-off-by: Hauke Mehrtens
Cc: Ralf Baechle
Cc: John Crispin
Cc: Paul Gortmaker
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/14908/
Signed-off-by: James Hogan
02 Aug, 2016
1 commit
-
Instead of rewriting the arguments to match the UHI spec, store the
address of a appended or UHI supplied dtb in fw_supplied_dtb.That way the original bootloader arugments are kept intact while still
making the use of an appended dtb invisible for mach code.Mach code can still find out if it is an appended dtb by comparing
fw_arg1 with fw_supplied_dtb.Signed-off-by: Jonas Gorski
Cc: Kevin Cernekee
Cc: Florian Fainelli
Cc: John Crispin
Cc: Paul Burton
Cc: James Hogan
Cc: Alban Bedel
Cc: Daniel Gimpelevich
Cc: Antony Pavlov
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/13699/
Signed-off-by: Ralf Baechle
13 May, 2016
2 commits
-
The old address is no longer valid. Use the my new one instead.
Signed-off-by: John Crispin
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/13201/
Signed-off-by: Ralf Baechle -
This fetches the device tree file like it is specified in the MIPS UHI
interface if one was found. This is also used when the device tree file
was appended to the kernel image with cat.
This code is copied from arch/mips/bmips/setup.c.Signed-off-by: Hauke Mehrtens
Acked-by: John Crispin
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/12898/
Signed-off-by: Ralf Baechle
11 Nov, 2015
1 commit
-
Seval of-enabled machines (bmips, lantiq, xlp, pistachio, ralink) copied
the arguments from dtb to arcs_command_line to prevent the kernel from
overwriting them.Since there is now an option to keep the dtb arguments, default to the
new option remove the "backup" to arcs_command_line in case of USE_OF is
enabled, except for those platforms that still take the bootloader
arguments or do not use any at all.Signed-off-by: Jonas Gorski
Cc: linux-mips@linux-mips.org
Cc: Kevin Cernekee
Cc: Florian Fainelli
Cc: Zubair Lutfullah Kakakhel
Cc: James Hogan
Cc: John Crispin
Cc: Ganesan Ramalingam
Cc: Jayachandran C
Cc: Andrew Bresticker
Cc: James Hartley
Patchwork: https://patchwork.linux-mips.org/patch/11285/
Signed-off-by: Ralf Baechle
01 Apr, 2015
1 commit
-
On OCTEON the function is non-trivial and we can potentially even save
some memory.Signed-off-by: Aaro Koskinen
Acked-by: David Daney
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/9338/
Signed-off-by: Ralf Baechle
24 Nov, 2014
3 commits
-
This is a regression caused by:
commit afb46f7996e91aeb36e07bc92cf96e8045bec00e
Author: Rob Herring
Date: Wed Apr 2 19:07:24 2014 -0500
mips: ralink: convert to use unflatten_and_copy_device_treeMake the of init code reuse the cmdline defined inside the dts.
Signed-off-by: John Crispin
Patchwork: http://patchwork.linux-mips.org/patch/8048/
Signed-off-by: Ralf Baechle -
The voice and dsl drivers need to know which SoC we are running on.
Signed-off-by: Álvaro Fernández Rojas
Patchwork: http://patchwork.linux-mips.org/patch/8046/
Signed-off-by: Ralf Baechle -
A couple of platforms register two buses and call of_platform_populate().
Move this into a common function to reduce duplication.Signed-off-by: Kevin Cernekee
Cc: f.fainelli@gmail.com
Cc: mbizon@freebox.fr
Cc: jogo@openwrt.org
Cc: jfraser@broadcom.com
Cc: linux-mips@linux-mips.org
Cc: devicetree@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/8167/
Signed-off-by: Ralf Baechle
30 Apr, 2014
2 commits
-
The architecture code does not need to access the internals of the FDT
blob directly, so make the pointers to it void * and use char arrays
for section variables.Signed-off-by: Rob Herring
Cc: Ralf Baechle
Tested-by: Grant Likely -
The existing code is buggy because built-in DTBs are in init memory.
Fix this by using the unflatten_and_copy_device_tree function.This removes all accesses to FDT header data by the arch code.
Signed-off-by: Rob Herring
Cc: Ralf Baechle
Cc: linux-mips@linux-mips.org
Tested-by: Grant Likely
10 Oct, 2013
1 commit
-
In preparation of removing prom.h include by of.h, add explicit includes.
Signed-off-by: Rob Herring
Acked-by: Grant Likely
Cc: Ralf Baechle
Cc: linux-mips@linux-mips.org
11 Jun, 2013
1 commit
-
'compatible' is used by strlen() in __of_device_is_compatible().
Ensure strings are always '\0' terminated.
'of_ids is not a structure in "include/uapi/*", so no need to initialize
it completly; using strlcpy() instead of strncpy() will do.Signed-off-by: Chen Gang
Acked-by: John Crispin
Cc: linux-mips@linux-mips.org
Cc: Linux-Arch
Patchwork: https://patchwork.linux-mips.org/patch/5329/
Signed-off-by: Ralf Baechle
12 Nov, 2012
1 commit
-
The bootmem was incorrectly freed resulting in lots of dangling pointers.
Additionally we should use of_platform_populate() as the Documentaion tells us
to do so.Signed-off-by: John Crispin
Patchwork: http://patchwork.linux-mips.org/patch/4518
01 Aug, 2012
1 commit
-
Add a lantiq specific version of device_tree_init. The generic MIPS version
was removed by.commit 594e966bc412d64eec9282d28ce511bdd62fea39
Author: David Daney
Date: Thu Jul 5 18:12:38 2012 +0200MIPS: Prune some target specific code out of prom.c
Signed-off-by: John Crispin
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/4116/
Signed-off-by: Ralf Baechle
27 May, 2012
1 commit
-
Now that all drivers are converted to OF we are able to remove some remaining
pieces of orphaned code.Signed-off-by: John Crispin
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/3841/
Signed-off-by: Ralf Baechle
21 May, 2012
1 commit
-
Activate USE_OF, add a sample DTS file and convert the core soc code to OF.
Signed-off-by: John Crispin
Cc: linux-mips@linux-mips.org
Cc: devicetree-discuss@lists.ozlabs.org
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/3803/
Signed-off-by: Ralf Baechle
15 May, 2012
2 commits
-
The code tested if the KSEG1 mapped address of argv was != 0. We need to use
CPHYSADDR instead to make the conditional actually work.Signed-off-by: Thomas Langer
Signed-off-by: John Crispin
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/3722/
Signed-off-by: Ralf Baechle -
Add IPI handlers to the interrupt code. This patch makes MIPS_MT_SMP work
on lantiq socs. The code is based on the malta implementation.Signed-off-by: John Crispin
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/3704/
Signed-off-by: Ralf Baechle
14 Nov, 2011
1 commit
-
The code located at arch/mips/lantiq/ included module.h to be able to use
the EXPORT_SYMBOL* macros. These can now be directly included using
export.h.Signed-off-by: John Crispin
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/2937/
Signed-off-by: Ralf Baechle
19 May, 2011
1 commit
-
Add initial support for Mips based SoCs made by Lantiq. This series will add
support for the XWAY family.The series allows booting a minimal system using a initramfs or NOR. Missing
drivers and support for Amazon and GPON family will be provided in a later
series.[Ralf: Remove some cargo cult programming and fixed formatting.]
Signed-off-by: John Crispin
Signed-off-by: Ralph Hempel
Signed-off-by: David Daney
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/2252/
Patchwork: https://patchwork.linux-mips.org/patch/2371/
Signed-off-by: Ralf Baechle