b84da9fa47
Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus
...
Pull MIPS updates from Ralf Baechle:
"These are the highlists of the main MIPS pull request for 4.4:
- Add latencytop support
- Support appended DTBs
- VDSO support and initially use it for gettimeofday.
- Drop the .MIPS.abiflags and ELF NOTE sections from vmlinux
- Support for the 5KE, an internal test core.
- Switch all MIPS platfroms to libata drivers.
- Improved support, cleanups for ralink and Lantiq platforms.
- Support for the new xilfpga platform.
- A number of DTB improvments for BMIPS.
- Improved support for CM and CPS.
- Minor JZ4740 and BCM47xx enhancements"
* 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus: (120 commits)
MIPS: idle: add case for CPU_5KE
MIPS: Octeon: Support APPENDED_DTB
MIPS: vmlinux: create a section for appended DTB
MIPS: Clean up compat_siginfo_t
MIPS: Fix PAGE_MASK definition
MIPS: BMIPS: Enable GZIP ramdisk and timed printks
MIPS: Add xilfpga defconfig
MIPS: xilfpga: Add mipsfpga platform code
MIPS: xilfpga: Add xilfpga device tree files.
dt-bindings: MIPS: Document xilfpga bindings and boot style
MIPS: Make MIPS_CMDLINE_DTB default
MIPS: Make the kernel arguments from dtb available
MIPS: Use USE_OF as the guard for appended dtb
MIPS: BCM63XX: Use pr_* instead of printk
MIPS: Loongson: Cleanup CONFIG_LOONGSON_SUSPEND.
MIPS: lantiq: Disable xbar fpi burst mode
MIPS: lantiq: Force the crossbar to big endian
MIPS: lantiq: Initialize the USB core on boot
MIPS: lantiq: Return correct value for fpi clock on ar9
MIPS: ralink: Add missing clock on rt305x
...
2015-11-15 09:10:53 -08:00
da34232641
Merge branch '4.3-fixes' into mips-for-linux-next
2015-11-12 11:36:03 +01:00
bf463f2f75
MIPS: idle: add case for CPU_5KE
...
While the 5KE processors have never been taped out, they exists though
a CP0.PRId and experimental RTLs or QEMU implementations. Add a case
entry in the idle code, as they can use the standard idle loop like the
5K processors.
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net >
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/11099/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2015-11-12 11:35:48 +01:00
651d19fb10
MIPS: Octeon: Support APPENDED_DTB
...
Use appended DTB when available.
Signed-off-by: Aaro Koskinen <aaro.koskinen@nokia.com >
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/11115/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2015-11-12 11:35:48 +01:00
87db537da4
MIPS: vmlinux: create a section for appended DTB
...
For bootloaders that support booting only ELF kernels and load only ELF
segments to memory there is no easy way to supply DTB without kernel
recompilation. For that purpose, create a section called .appended_dtb
that can be later updated with board-specific DTB using binutils e.g. at
kernel installation time.
Signed-off-by: Aaro Koskinen <aaro.koskinen@nokia.com >
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/11114/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2015-11-12 11:35:48 +01:00
d00d920338
MIPS: Clean up compat_siginfo_t
...
While mips can't use the generic compat_siginfo_t directly because
its si_code and si_errno are inverted, we can still make it as
close to the generic version as possible. This makes it easier
to update when new members are added to siginfo_t.
The main changes are adding a missing _sigsys union member and
eliminating the unused _irix_sigchld one.
Signed-off-by: Amanieu d'Antras <amanieu@gmail.com >
Cc: linux-kernel@vger.kernel.org
Cc: Oleg Nesterov <oleg@redhat.com >
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/11455/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2015-11-12 11:35:47 +01:00
22b1452399
MIPS: Fix PAGE_MASK definition
...
Make PAGE_MASK an unsigned long, like it is on x86, to avoid:
In file included from arch/mips/kernel/asm-offsets.c:14:0:
include/linux/mm.h: In function '__pfn_to_pfn_t':
include/linux/mm.h:1050:2: warning: left shift count >= width of type
pfn_t pfn_t = { .val = pfn | (flags & PFN_FLAGS_MASK), };
...where PFN_FLAGS_MASK is:
#define PFN_FLAGS_MASK (~PAGE_MASK << (BITS_PER_LONG - PAGE_SHIFT))
Signed-off-by: Dan Williams <dan.j.williams@intel.com >
Cc: ross.zwisler@linux.intel.com
Cc: hch@lst.de
Cc: linux-mips@linux-mips.org
Cc: linux-nvdimm@lists.01.org
Cc: linux-kernel@vger.kernel.org
Cc: linux-mm@kvack.org
Patchwork: https://patchwork.linux-mips.org/patch/11280/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2015-11-12 11:35:47 +01:00
997effa0c1
MIPS: BMIPS: Enable GZIP ramdisk and timed printks
...
Update bmips_be_defconfig and bmips_stb_defconfig to have GZIP ramdisk
support enabled by default as well was timed printks.
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com >
Reviewed-by: Kevin Cernekee <cernekee@gmail.com >
Reviewed-by: Dragan Stancevic <dragan.stancevic@gmail.com >
Cc: linux-mips@linux-mips.org
Cc: blogic@openwrt.org
Cc: jogo@openwrt.org
Patchwork: https://patchwork.linux-mips.org/patch/11307/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2015-11-11 09:46:52 +01:00
834cc15b44
MIPS: Add xilfpga defconfig
...
Add defconfig for MIPSfpga
Signed-off-by: Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com >
Cc: robh+dt@kernel.org
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Cc: devicetree@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/11363/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2015-11-11 08:38:45 +01:00
9937f5fff8
MIPS: xilfpga: Add mipsfpga platform code
...
The xilfpga platform will be DT only.
Add required platform code.
DT files have already been added separately.
Signed-off-by: Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com >
Cc: robh+dt@kernel.org
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Cc: devicetree@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/11364/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2015-11-11 08:38:44 +01:00
552b8b363e
MIPS: xilfpga: Add xilfpga device tree files.
...
Add device tree files for the MIPSfpga platform.
See Documentation/devicetree/bindings/mips/img/xilfpga.txt
for details about MIPSfpga
Signed-off-by: Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com >
Cc: robh+dt@kernel.org
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Cc: devicetree@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/11362/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2015-11-11 08:38:42 +01:00
2bcef9b457
MIPS: Make MIPS_CMDLINE_DTB default
...
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 <jogo@openwrt.org >
Cc: linux-mips@linux-mips.org
Cc: Kevin Cernekee <cernekee@gmail.com >
Cc: Florian Fainelli <f.fainelli@gmail.com >
Cc: Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com >
Cc: James Hogan <james.hogan@imgtec.com >
Cc: John Crispin <blogic@openwrt.org >
Cc: Ganesan Ramalingam <ganesanr@broadcom.com >
Cc: Jayachandran C <jchandra@broadcom.com >
Cc: Andrew Bresticker <abrestic@chromium.org >
Cc: James Hartley <james.hartley@imgtec.com >
Patchwork: https://patchwork.linux-mips.org/patch/11285/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2015-11-11 08:38:37 +01:00
2024972ef5
MIPS: Make the kernel arguments from dtb available
...
Similar to how arm allows using selecting between bootloader arguments,
dtb arguments and both, allow to select them on mips. But since we have
less control over the place of the dtb do not modify it but instead use
the boot_command_line for merging them.
The default is "use bootloader arguments" to keep the current behaviour
as default.
Signed-off-by: Jonas Gorski <jogo@openwrt.org >
Cc: linux-mips@linux-mips.org
Cc: Kevin Cernekee <cernekee@gmail.com >
Cc: Florian Fainelli <f.fainelli@gmail.com >
Cc: Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com >
Cc: James Hogan <james.hogan@imgtec.com >
Cc: John Crispin <blogic@openwrt.org >
Cc: Ganesan Ramalingam <ganesanr@broadcom.com >
Cc: Jayachandran C <jchandra@broadcom.com >
Cc: Andrew Bresticker <abrestic@chromium.org >
Cc: James Hartley <james.hartley@imgtec.com >
Patchwork: https://patchwork.linux-mips.org/patch/11284/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2015-11-11 08:38:34 +01:00
5b24d52ce2
MIPS: Use USE_OF as the guard for appended dtb
...
Since OF is now a user selectable symbol, the choice for appended dtb
support should only be visible when USE_OF is selected, as this
indicates actual machine support for device tree in MIPS.
Signed-off-by: Jonas Gorski <jogo@openwrt.org >
Cc: linux-mips@linux-mips.org
Cc: Kevin Cernekee <cernekee@gmail.com >
Cc: Florian Fainelli <f.fainelli@gmail.com >
Cc: Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com >
Cc: James Hogan <james.hogan@imgtec.com >
Cc: John Crispin <blogic@openwrt.org >
Cc: Ganesan Ramalingam <ganesanr@broadcom.com >
Cc: Jayachandran C <jchandra@broadcom.com >
Cc: Andrew Bresticker <abrestic@chromium.org >
Cc: James Hartley <james.hartley@imgtec.com >
Patchwork: https://patchwork.linux-mips.org/patch/11283/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2015-11-11 08:38:33 +01:00
63893ea530
MIPS: BCM63XX: Use pr_* instead of printk
...
Signed-off-by: Gregory Fong <gregory.0xf0@gmail.com >
Cc: Florian Fainelli <f.fainelli@gmail.com >
Cc: Jonas Gorski <jogo@openwrt.org >
Cc: Joe Perches <joe@perches.com >
Cc: Rusty Russell <rusty@rustcorp.com.au >
Cc: Nicolas Schichan <nschichan@freebox.fr >
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/11300/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2015-11-11 08:38:29 +01:00
5361832704
MIPS: Loongson: Cleanup CONFIG_LOONGSON_SUSPEND.
...
Now LOONGSON_CHIPCFG register definition doesn't depend on CPUFREQ any
more, so CPU_SUPPORTS_CPUFREQ is no longer needed for suspend/resume.
Remove CONFIG_LOONGSON_SUSPEND and use CONFIG_SUSPEND instead.
Signed-off-by: Huacai Chen <chenhc@lemote.com >
Cc: John Crispin <john@phrozen.org >
Cc: Steven J. Hill <Steven.Hill@imgtec.com >
Cc: Fuxin Zhang <zhangfx@lemote.com >
Cc: Zhangjin Wu <wuzhangjin@gmail.com >
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/11274/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2015-11-11 08:38:28 +01:00
08b3c894e5
MIPS: lantiq: Disable xbar fpi burst mode
...
Signed-off-by: John Crispin <blogic@openwrt.org >
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/11458/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2015-11-11 08:38:24 +01:00
9eb8c69e0b
MIPS: lantiq: Force the crossbar to big endian
...
Signed-off-by: John Crispin <blogic@openwrt.org >
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/11450/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2015-11-11 08:38:23 +01:00
26cfdbe30d
MIPS: lantiq: Initialize the USB core on boot
...
There is a DWC2 USB core in these SoCs. To make USB work we need to first
reset and power the state machine. These are SoC specific registers and
not part of the actual USB core.
Signed-off-by: Antti Seppälä <a.seppala@gmail.com >
Signed-off-by: John Crispin <blogic@openwrt.org >
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/11449/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2015-11-11 08:38:21 +01:00
1601078df2
MIPS: lantiq: Return correct value for fpi clock on ar9
...
Some configurations of AR9 reported the incorrect speed for the fpi bus.
Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com >
Signed-off-by: John Crispin <blogic@openwrt.org >
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/11448/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2015-11-11 08:38:18 +01:00
69ebed7dc9
MIPS: ralink: Add missing clock on rt305x
...
The rt305x support is missing a clock required by the ethernet driver.
Signed-off-by: John Crispin <blogic@openwrt.org >
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/11447/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2015-11-11 08:38:15 +01:00
1a93520504
MIPS: ralink: Put the pci bus into reset state before rebooting the SoC
...
Some pcie cards have problems after a reboot without this.
Signed-off-by: John Crispin <blogic@openwrt.org >
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/11446/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2015-11-11 08:38:14 +01:00
81ab9f6c5f
MIPS: ralink: Don't set pm_power_off
...
Setting pm_power_off is apprently wrong and makes drivers such as
gpio-poweroff not work.
Signed-off-by: John Crispin <blogic@openwrt.org >
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/11445/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2015-11-11 08:38:11 +01:00
bc19f5d677
MIPS: ralink: Remove check for CONFIG_PCI on non-PCI SoCs
...
The code currently panics if PCI is enabled but the SoC has no PCI bus.
This check is superfluous as the driver only loads if enabled in the
devicetree.
Signed-off-by: John Crispin <blogic@openwrt.org >
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/11444/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2015-11-11 08:38:10 +01:00
37bcc03f97
MIPS: ralink: Fix invalid tick count
...
The current code adds the delta twice, which is obviously wrong.
Signed-off-by: John Crispin <blogic@openwrt.org >
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/11443/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2015-11-11 08:38:04 +01:00
73afa6c420
MIPS: ralink: Add tty detection
...
MT7688 has several uarts that can be used for console. There are several
boards in the wild, that use ttyS1 or ttyS2. This patch applies a simply
autodetection routine to figure out which ttyS the bootloader used as
console. The uarts come up in 6 bit mode by default. The bootloader will
have set 8 bit mode on the console. Find that 8bit tty and use it.
Signed-off-by: John Crispin <blogic@openwrt.org >
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/11459/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2015-11-11 08:38:03 +01:00
b361bd762e
MIPS: ralink: Fix usb issue during frequency scaling
...
If the USB HCD is running and the cpu is scaled too low, then the USB
stops working. Increase the idle speed of the core to fix this if the
kernel is built with USB support.
The "magic" values are taken from the Ralink SDK Kernel.
Signed-off-by: John Crispin <blogic@openwrt.org >
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/11441/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2015-11-11 08:37:59 +01:00
418d29c870
MIPS: ralink: Unify SoC id handling
...
This makes detection a lot easier for audio, wifi, ... drivers.
Signed-off-by: John Crispin <blogic@openwrt.org >
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/11440/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2015-11-11 08:37:56 +01:00
81857db913
MIPS: ralink: Add support for mt7688
...
MT7688 is similar tot he MT7628 but has a different wifi radio.
Signed-off-by: John Crispin <blogic@openwrt.org >
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/11439/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2015-11-11 08:37:54 +01:00
1b04be20f6
MIPS: BMIPS: Add SATA/PHY nodes for bcm7362
...
Add AHCI and PHY device nodes to MIPS-based BCM7362 set-top box
platform.
Signed-off-by: Jaedon Shin <jaedon.shin@gmail.com >
Cc: Brian Norris <computersforpeace@gmail.com >
Cc: Florian Fainelli <f.fainelli@gmail.com >
Cc: Tejun Heo <tj@kernel.org >
Cc: Kishon Vijay Abraham I <kishon@ti.com >
Cc: Rob Herring <robh+dt@kernel.org >
Cc: Kevin Cernekee <cernekee@gmail.com >
Cc: Dragan Stancevic <dragan.stancevic@gmail.com >
Cc: linux-ide@vger.kernel.org
Cc: Linux-MIPS <linux-mips@linux-mips.org >
Cc: devicetree@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/11379/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2015-11-11 08:37:51 +01:00
19e88101c7
MIPS: BMIPS: Add SATA/PHY nodes for bcm7346
...
Add AHCI and PHY device nodes to MIPS-based BCM7346 set-top box
platform.
Signed-off-by: Jaedon Shin <jaedon.shin@gmail.com >
Cc: Brian Norris <computersforpeace@gmail.com >
Cc: Florian Fainelli <f.fainelli@gmail.com >
Cc: Tejun Heo <tj@kernel.org >
Cc: Kishon Vijay Abraham I <kishon@ti.com >
Cc: Rob Herring <robh+dt@kernel.org >
Cc: Kevin Cernekee <cernekee@gmail.com >
Cc: Dragan Stancevic <dragan.stancevic@gmail.com >
Cc: linux-ide@vger.kernel.org
Cc: Linux-MIPS <linux-mips@linux-mips.org >
Cc: devicetree@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/11378/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2015-11-11 08:37:49 +01:00
ce6df6376a
MIPS: BMIPS: Add SATA/PHY nodes for bcm7425
...
Add AHCI and PHY device nodes to MIPS-based BCM7425 set-top box
platform.
Signed-off-by: Jaedon Shin <jaedon.shin@gmail.com >
Cc: Brian Norris <computersforpeace@gmail.com >
Cc: Florian Fainelli <f.fainelli@gmail.com >
Cc: Tejun Heo <tj@kernel.org >
Cc: Kishon Vijay Abraham I <kishon@ti.com >
Cc: Rob Herring <robh+dt@kernel.org >
Cc: Kevin Cernekee <cernekee@gmail.com >
Cc: Dragan Stancevic <dragan.stancevic@gmail.com >
Cc: linux-ide@vger.kernel.org
Cc: Linux-MIPS <linux-mips@linux-mips.org >
Cc: devicetree@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/11377/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2015-11-11 08:37:46 +01:00
f50cbf5329
MIPS: BMIPS: Add I2C node for bcm7362
...
Add I2C device nodes to BMIPS based BCM7362 platform.
Signed-off-by: Jaedon Shin <jaedon.shin@gmail.com >
Acked-by: Florian Fainelli <f.fainelli@gmail.com >
Cc: Wolfram Sang <wsa@the-dreams.de >
Cc: Kamal Dasu <kdasu.kdev@gmail.com >
Cc: linux-i2c@vger.kernel.org
Cc: devicetree@vger.kernel.org
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/11336/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2015-11-11 08:37:45 +01:00
fb575b85ef
MIPS: BMIPS: Add I2C node for bcm7360
...
Add I2C device nodes to BMIPS based BCM7360 platform.
Signed-off-by: Jaedon Shin <jaedon.shin@gmail.com >
Acked-by: Florian Fainelli <f.fainelli@gmail.com >
Cc: Wolfram Sang <wsa@the-dreams.de >
Cc: Kamal Dasu <kdasu.kdev@gmail.com >
Cc: linux-i2c@vger.kernel.org
Cc: devicetree@vger.kernel.org
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/11335/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2015-11-11 08:37:42 +01:00
ad8378383e
MIPS: BMIPS: Add I2C node for bcm7358
...
Add I2C device nodes to BMIPS based BCM7358 platform.
Signed-off-by: Jaedon Shin <jaedon.shin@gmail.com >
Acked-by: Florian Fainelli <f.fainelli@gmail.com >
Cc: Wolfram Sang <wsa@the-dreams.de >
Cc: Kamal Dasu <kdasu.kdev@gmail.com >
Cc: linux-i2c@vger.kernel.org
Cc: devicetree@vger.kernel.org
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/11334/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2015-11-11 08:37:39 +01:00
39d9b6b223
MIPS: BMIPS: Add I2C node for bcm7346
...
Add I2C device nodes to BMIPS based BCM7346 platform.
Signed-off-by: Jaedon Shin <jaedon.shin@gmail.com >
Acked-by: Florian Fainelli <f.fainelli@gmail.com >
Cc: Wolfram Sang <wsa@the-dreams.de >
Cc: Kamal Dasu <kdasu.kdev@gmail.com >
Cc: linux-i2c@vger.kernel.org
Cc: devicetree@vger.kernel.org
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/11333/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2015-11-11 08:37:37 +01:00
6e80785267
MIPS: Lantiq: Fix check for return value of request_mem_region()
...
request_mem_region() returns a pointer and not an integer with an error
value. A check for "< 0" on a pointer will cause problems, replace it
with not null checks instead. This was found with sparse.
Signed-off-by: Hauke Mehrtens <hauke.mehrtens@lantiq.com >
Acked-by: John Crispin <blogic@openwrt.org >
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/11395/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2015-11-11 08:37:34 +01:00
13648d7245
MIPS: Lantiq: Add support for xRX220 SoC
...
Signed-off-by: Hauke Mehrtens <hauke.mehrtens@lantiq.com >
Acked-by: John Crispin <blogic@openwrt.org >
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/11394/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2015-11-11 08:37:31 +01:00
5072d8142a
MIPS: Lantiq: Add misc clocks
...
Signed-off-by: Hauke Mehrtens <hauke.mehrtens@lantiq.com >
Acked-by: John Crispin <blogic@openwrt.org >
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/11393/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2015-11-11 08:37:30 +01:00
e71f6d356d
MIPS: Lantiq: Add 1e103100.deu clock
...
Signed-off-by: Hauke Mehrtens <hauke.mehrtens@lantiq.com >
Acked-by: John Crispin <blogic@openwrt.org >
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/11392/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2015-11-11 08:37:25 +01:00
a3a6853498
MIPS: Lantiq: Add clock for mei driver
...
Signed-off-by: Hauke Mehrtens <hauke.mehrtens@lantiq.com >
Acked-by: John Crispin <blogic@openwrt.org >
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/11391/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2015-11-11 08:37:23 +01:00
a5c1aad853
MIPS: Lantiq: Add SoC detection for ar10 and grx390
...
Signed-off-by: Hauke Mehrtens <hauke.mehrtens@lantiq.com >
Acked-by: John Crispin <blogic@openwrt.org >
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/11390/
Patchwork: https://patchwork.linux-mips.org/patch/11399/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2015-11-11 08:37:21 +01:00
eefee024b0
MIPS: Lantiq: Add support for gphy firmware loading for ar10 and grx390
...
Signed-off-by: Hauke Mehrtens <hauke.mehrtens@lantiq.com >
Acked-by: John Crispin <blogic@openwrt.org >
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/11389/
Patchwork: https://patchwork.linux-mips.org/patch/11398/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2015-11-11 08:37:18 +01:00
d0b991e376
MIPS: Lantiq: Add pmu bits for ar10 and grx390
...
Signed-off-by: Hauke Mehrtens <hauke.mehrtens@lantiq.com >
Acked-by: John Crispin <blogic@openwrt.org >
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/11388/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2015-11-11 08:37:16 +01:00
e182c98a59
MIPS: Lantiq: Add PMU bits for USB and SDIO devices
...
This adds the PUM bits for USB and SDIO devices
Signed-off-by: Hauke Mehrtens <hauke.mehrtens@lantiq.com >
Acked-by: John Crispin <blogic@openwrt.org >
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/11387/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2015-11-11 08:37:13 +01:00
95135bfa7e
MIPS: Lantiq: Deactivate most of the devices by default
...
When the SoC starts up most of the devices should be deactivated by the
PMU, they should be activated when they get used by their drivers. Some
devices should not get deactivate at startup like the serial, register
them in a special way.
Signed-off-by: Hauke Mehrtens <hauke.mehrtens@lantiq.com >
Acked-by: John Crispin <blogic@openwrt.org >
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/11386/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2015-11-11 08:37:11 +01:00
61e371d822
MIPS: Lantiq: Add clock detection for grx390 and ar10
...
This add detection of some clocks on the ar10 and grx390.
Signed-off-by: Hauke Mehrtens <hauke.mehrtens@lantiq.com >
Acked-by: John Crispin <blogic@openwrt.org >
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/11385/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2015-11-11 08:37:09 +01:00
18a3af60fc
MIPS: Lantiq: Fix pp32 clock on vr9
...
The vendor code uses different clock values for this clock.
Signed-off-by: Hauke Mehrtens <hauke.mehrtens@lantiq.com >
Acked-by: John Crispin <blogic@openwrt.org >
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/11384/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2015-11-11 08:37:06 +01:00
b5a03d0cb3
MIPS: Lantiq: Rename CGU_SYS_VR9 register
...
This register is also used on other SoCs.
Signed-off-by: Hauke Mehrtens <hauke.mehrtens@lantiq.com >
Acked-by: John Crispin <blogic@openwrt.org >
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/11383/
Patchwork: https://patchwork.linux-mips.org/patch/11397/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2015-11-11 08:37:05 +01:00
758d2443ed
MIPS: Lantiq: Add support for setting PMU register on AR10 and GRX390
...
This adds support for setting the PMU register on the AR10 and GRX390.
Signed-off-by: Hauke Mehrtens <hauke.mehrtens@lantiq.com >
Acked-by: John Crispin <blogic@openwrt.org >
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/11382/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2015-11-11 08:37:01 +01:00