Rafał Miłecki
232767edf0
bcm53xx: enable switch port 5 on Tenda AC9
...
Now b53 forces port 5 link when needed, we can enable it on Tenda AC9
and start using eth1.
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2016-09-08 23:24:43 +02:00
Rafał Miłecki
dd158ef346
bcm53xx: use upstream queued patches for R8500 and AC9
...
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2016-09-08 22:53:37 +02:00
Rafał Miłecki
1bb914dbed
bcm53xx: use the latest 6th version of ILP clock driver patch
...
It still wasn't accepted, so don't switch to 0xx prefix yet.
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2016-08-26 17:03:40 +02:00
Rafał Miłecki
fcdba8d590
bcm53xx: backport patch adding ARCH_BCM_53573 symbol
...
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2016-08-23 07:13:07 +02:00
Rafał Miłecki
28d641be43
bcm53xx: update copy of ASM entry flushing whole D-cache
...
Previous version was based on code from kernel 2.6.22 with Broadcom two
trivial modifications. This updates the copy to the version from current
kernel and refreshes the patch.
This was tested for regressions on Netgear R6250 (BCM4708A0), D-Link
DIR-885L (BCM4709C0) and Tenda AC9 (BCM47189B0).
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2016-08-19 12:47:58 +02:00
Rafał Miłecki
5e885c09c6
bcm53xx: switch back to standalone ASM entry flushing cache
...
Over a year ago in a commit ac96a1665a
("bcm53xx: update Disable MMU
and Dcache during decompression") we switched to Florian's patch for
workarounding CFE bug. The main difference was using a part of existing
__armv7_mmu_cache_flush instead of implementing flushing separately.
This worked well for Northstar devices but doesn't work for BCM53573 as
these devices simply don't start booting with Florian's patch. It's
because of the ldmfd ASM instruction in the __armv7_mmu_cache_flush.
So this commit switches back to using standalone implementation. This
time instead of copying Broadcom's copy of cache-v7.S, we just make a
copy of the original file on our own. Unfortunately we can't cross-dir
compile cache-v7.S from ../../mm/ as that one also adds __INITDATA with
define_cache_functions v7 which would just trigger
> Error: unrecognized/unsupported machine ID (r1 = 0x0000007f).
The only real change Broadcom did in copied .S file was modifying mcr
instruction to use c6 instead of c14. It isn't clear to me if we really
need it, but let's use it for now.
By the way we also update commit message of the
[PATCH] ARM: BCM5301X: Disable MMU and Dcache during decompression
This makes kernel booting on BCM53573 successfully.
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2016-08-19 11:38:44 +02:00
Rafał Miłecki
5846620890
bcm53xx: fix warning caused by m25p80 patch
...
It was adding unused variable:
drivers/mtd/devices/m25p80.c: In function 'm25p80_write':
drivers/mtd/devices/m25p80.c:85:6: warning: unused variable 'i' [-Wunused-variable]
int i;
^
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2016-08-16 17:14:14 +02:00
Rafał Miłecki
27b078e83a
bcm53xx: add quick fixes for BCM53573
...
It adds and uses ILP clock that requires some other work (in progress)
for upstreaming it. Other than that it adds a quick fix for bcma to add
serial flash before trying to read SPROM.
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2016-08-15 12:49:16 +02:00
Rafał Miłecki
38750ce739
bcm53xx: add temporary BCM53573 ILP clock driver
...
It wasn't accepted upstream as there was a discusson on Northstar vs.
BCM53573. Once we get a new ARM arch Kconfig entry it should be
possible to upstream it.
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2016-08-15 10:20:43 +02:00
Rafał Miłecki
5b1c00e4fa
bcm53xx: support USB 2.0 controller on BCM53573
...
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2016-08-14 13:05:23 +02:00
Rafał Miłecki
62c5f68095
bcm53xx: backport USB 3.0 controller init patch
...
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2016-08-14 12:41:32 +02:00
Rafał Miłecki
e674c1aab3
bcm53xx: backport USB 3.0 Northstar PHY driver
...
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2016-08-14 11:31:17 +02:00
Rafał Miłecki
b9d8c81018
bcm53xx: rename PHY patches to use 07* prefix
...
This is not a strict rule but it matches better this one:
7xx - network / phy driver patches
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2016-08-14 11:22:58 +02:00
Rafał Miłecki
2552e9319e
bcm53xx: backport DTS patches for USB 2.0 and Tenda AC9
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
2016-07-28 12:59:23 +02:00
Rafał Miłecki
a3be48593b
bcm53xx: refresh kernel patches
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
2016-07-28 12:45:02 +02:00
Hauke Mehrtens
efa1960abb
kernel: update kernel 4.4 to version 4.4.15
...
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2016-07-13 15:39:15 +02:00
Rafał Miłecki
1692c71564
bcm53xx: use upstream fix simplifying USB power GPIO usage
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
2016-07-07 15:07:02 +02:00
Rafał Miłecki
c74c227e5b
bcm53xx: backport driver for Northstar's USB 2.0 PHY
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
2016-07-07 14:50:17 +02:00
Rafał Miłecki
e71fffed64
bcm53xx: backport BCM5301x patches from 2016-07-06
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
2016-07-07 13:54:55 +02:00
Rafał Miłecki
a180f90518
bcm53xx: backport BCM5301X patches for SRAB
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
2016-06-20 23:07:31 +02:00
Felix Fietkau
7eeb254cc4
treewide: replace nbd@openwrt.org with nbd@nbd.name
...
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-06-07 08:58:42 +02:00
Álvaro Fernández Rojas
a105eac4dd
kernel: update kernel 4.4 to version 4.4.12
...
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2016-06-02 15:34:34 +02:00
Álvaro Fernández Rojas
b062266ad6
kernel: update kernel 4.4 to version 4.4.9
...
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2016-05-10 10:43:17 +02:00
Rafał Miłecki
cf3b3cfc56
bcm53xx: add m25p80 workaround for SPI flash writing problems
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 49264
2016-04-28 11:48:51 +02:00
Rafał Miłecki
9e4d671f75
bcm53xx: support SPI-NOR on dual flash devices
...
We need it to access NVRAM.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 49262
2016-04-28 11:48:51 +02:00
Rafał Miłecki
741715331a
bcm53xx: switch to m25p80 and drop bcm53xxspiflash
...
For some time now m25p80 supports 32 MiB flashes and we just needed to
patch spi-nor to support JEDEC incompatible w25q128. Also by switching
to m25p80 we gain accelerated SPI flash reads.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 49260
2016-04-28 11:48:50 +02:00
Rafał Miłecki
73d51d7b5d
bcm53xx: support JEDEC incompatible w25q128 in spi-nor
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 49259
2016-04-28 11:48:50 +02:00
Rafał Miłecki
e53d533a24
bcm53xx: backport BCM5301X DT patch specifying SPI controller
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 49232
2016-04-26 09:22:49 +00:00
Hauke Mehrtens
f0b3964f1b
kernel: update kernel 4.4 to version 4.4.7
...
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 49176
2016-04-16 21:05:48 +00:00
Rafał Miłecki
d30766c986
bcm53xx: backport BCM5301X earlycon and USB VCC patches
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 49166
2016-04-14 05:54:20 +00:00
Rafał Miłecki
997a3cb41c
bcm53xx: add basic support for Netgear R7900
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 49122
2016-04-09 09:59:21 +00:00
Rafał Miłecki
c658bd634c
bcm53xx: add PCI iproc patch adding abort handler
...
This prevents die() during PCI bus probe.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 49121
2016-04-08 20:37:14 +00:00
Rafał Miłecki
51d887ba00
Revert "bcm53xx: revert patch removing imprecise abort workaround"
...
This reverts commit r48961. It didn't fix PCIe host driver issue as
there are more aborts triggered by it.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 49120
2016-04-08 20:36:57 +00:00
Rafał Miłecki
faf172875e
bcm53xx: use the final fix for iproc bcma regression
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 49114
2016-04-01 16:49:50 +00:00
Rafał Miłecki
e3e8a85c4f
bcm53xx: improve USB 2.0 PHY support for BCM4709 and BCM47094
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 49094
2016-03-30 12:26:24 +00:00
Rafał Miłecki
de2f31c3f5
bcm53xx: support USB 3.0 PHY on BCM4707 rev. 6 and BCM47094
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 49091
2016-03-30 10:23:02 +00:00
Rafał Miłecki
7b61ed5254
bcm53xx: simpify USB 3.0 PHY initialization
...
We can use one code path for BCM4707 rev. 4 and BCM53018.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 49090
2016-03-30 10:22:57 +00:00
Rafał Miłecki
baf0b18653
bcm53xx: update bcm47xx_sprom to the latest 4.6 queued version
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 48963
2016-03-08 11:05:10 +00:00
Rafał Miłecki
81edbe39b8
bcm53xx: fix SPROM driver compilation with ssb/bcma as module
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 48962
2016-03-08 08:29:32 +00:00
Rafał Miłecki
9f116fae92
bcm53xx: revert patch removing imprecise abort workaround
...
It seems it still happens on some devices.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 48961
2016-03-08 08:29:29 +00:00
Rafał Miłecki
dab0569b97
bcm53xx: use SPROM driver queued for 4.6
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 48935
2016-03-06 18:08:03 +00:00
Hauke Mehrtens
cb04b8d582
kernel: update kernel 4.4 to version 4.4.3
...
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 48783
2016-02-25 21:54:39 +00:00
Rafał Miłecki
406a288a3b
bcm53xx: add Netgear R8500 GPIOs
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 48633
2016-02-05 12:33:50 +00:00
Rafał Miłecki
3b76c7cf0b
bcm53xx: start working on Netgear R8500
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 48625
2016-02-03 22:32:07 +00:00
Rafał Miłecki
a8c2701866
bcm53xx: fix bcma-hcd compilation in kernel 4.4
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 48607
2016-02-01 12:54:17 +00:00
Rafał Miłecki
88deb4aec1
bcm53xx: change brcmnand behavior for ECC strength 1
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 48605
2016-02-01 12:42:51 +00:00
Rafał Miłecki
f188b6d512
bcm53xx: fix NAND parameters on DIR-885L
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 48604
2016-02-01 12:42:42 +00:00
Rafał Miłecki
701dba093f
bcm53xx: add brcmnand patch reading flash parameters
...
It's useful for adding support for new hardware.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 48603
2016-02-01 12:42:23 +00:00
Rafał Miłecki
12ec144892
bcm53xx: use proper CPU port in b53 for Netgear R8500
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 48571
2016-01-30 16:56:50 +00:00
Rafał Miłecki
22eb2c1bf2
bcm53xx: enable earlyprintk and all RAM on DIR-885L
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 48520
2016-01-28 08:51:46 +00:00