Skip to content

Socfpga 3.16 #10

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 201 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
201 commits
Select commit Hold shift + click to select a range
2b77ab6
FogBugz #111740: [PATCHv4 1/7] Integrates Nios II kernel (kernel)
May 14, 2013
43792e7
FogBugz #111740: [PATCHv3 2/7] Integrates Nios II kernel (mm)
May 14, 2013
e45e8de
FogBugz #111740: [PATCHv3 3/7] Integrates Nios II kernel (configs)
May 14, 2013
38ea22f
FogBugz #111740: [PATCHv3 4/7] Integrates Nios II kernel (oprofile,pl…
May 14, 2013
4fa39f8
FogBugz #111740: [PATCHv4 5/7] Integrates Nios II kernel (boot)
May 14, 2013
623348a
FogBugz #111740: [PATCHv4 6/7] Integrates Nios II kernel (include)
May 14, 2013
aec5676
FogBugz #111740: [PATCHv3 7/7] Integrates Nios II kernel (lib)
May 14, 2013
6aa264d
FogBugz #124090: arch/nios2: Port to support kernel v3.8
May 16, 2013
89aa0d2
FogBugz #125829: arch/nios2: Upgrade to v3.9
May 28, 2013
c0cb72b
FogBugz #126924: arch/nios2: Add generic kvm_para.h
May 29, 2013
838d8d7
FogBugz #128540: arch/nios2: Change timer driver to use of_iomap()
Jun 6, 2013
6654c8d
FogBugz #128549: arch/nios2: Include asm-generic/io.h
Jun 6, 2013
26ee874
FogBugz #143817: arch/nios2: Update 3c120 default dts and config
Aug 6, 2013
3f44f23
FogBugz #143478: arch/nios2: Move sysid from arch to drivers
Aug 12, 2013
938ff8d
FogBugz #145411: Upgrade Nios II kernel to v3.10
Aug 13, 2013
79279af
FogBugz #151087: arch/nios2: Removed unused function kernel_execve()
Aug 30, 2013
dd1d6f0
Ported Nios II to support v3.11
Sep 18, 2013
7ffe895
FogBugz #162062: arch/nios2: Add .got section to linker script
Oct 17, 2013
6e5ab1c
FogBugz #163802: arch/nios2: Copy FDT from init memory to regular memory
Oct 25, 2013
edb47be
arch/nios2: Port Nios II to kernel v3.12
Nov 13, 2013
800051a
FogBugz #163821: arch/nios2: Add devtmpfs to defconfig
Oct 25, 2013
2237e30
FogBugz #166446: nios2: move .GOT section after .text section
Nov 7, 2013
e5a41da
FogBugz #172871: Use hardware interrupt instead of virtual interrupt
Dec 11, 2013
b3326f2
FogBugz #175708: nios2: irq: Get mapped IRQ before calling the handler
Jan 2, 2014
169d069
FogBugz #175952: arch/nios2: Cleanup comments
Jan 3, 2014
1dcf66f
FogBugz #175951: nios2: Move the MMU initialization
Jan 6, 2014
c1dd18f
arch/nios2: Port nios2 kernel to v3.13
Jan 24, 2014
f745d4b
FogBugz #180286: Remove NOMMU support from Nios II
Jan 28, 2014
77ae4d0
FogBugz #180349: nios2: timer: Use panic() as error condition
Jan 28, 2014
d60f5b0
FogBugz #180363: nios2: timer: Fix interrupt mapping error check
Jan 28, 2014
8c8890b
FogBugz #180381: nios2: timer: Use CLOCKSOURCE_OF to setup the timer
Jan 28, 2014
938785c
FogBugz #183586: nios2: Use checking for ALTR,pid-num-ways
Feb 13, 2014
ef1738b
FogBugz #184715: nios2: irq: s/unsigned/u32
Feb 19, 2014
0cd41bd
FogBugz #185226: nios2: Simplify current_thread_info() implementation
Feb 20, 2014
4576f9e
FogBugz #183948: Fix Nios II build failure
thloh Feb 28, 2014
47d940e
FogBugz #186973: nios2: Fix warning from cacheflush.h
Feb 27, 2014
39faa0e
FogBugz #194889: nios2: Export symbol __muldi3
Apr 2, 2014
1760f01
nios2: Port to v3.14
Apr 7, 2014
dd83097
FogBugz #196142: nios2: Update TSE in defconfig and dts for 3c120
Apr 10, 2014
70af581
FogBugz #196768: nios2: Update gpio node in 3c120_devboard.dts
Apr 10, 2014
8941ef1
FogBugz #196811: nios2: Remove unused flat.h
Apr 10, 2014
2ba2d36
FogBugz #195229: nios2: Do not modify tlbmisc.PID while modifying TLB
Apr 9, 2014
1ff9c59
FogBugz #196210: nios2: remove unused __uClinux__
Apr 8, 2014
cfa81ff
FogBugz #197544: nios2: update 3c120_defconfig to match hardware
Apr 15, 2014
411f321
FogBugz #190747: nios2 dma mapping review and cleanup
Apr 18, 2014
9fe4a89
FogBugz #198073: nios2: Fix virt_to_phys and phy_to_virt macros
Apr 16, 2014
8a8edf4
FogBugz #196791: nios2: update icache size settings
Apr 16, 2014
fb77246
FogBugz #196797: nios2: Add valid range for dcache size in Kconfig
Apr 16, 2014
c6f9819
FogBugz #195995: nios2: Change default NIOS2_DCACHE_LINE_SIZE
Apr 25, 2014
9c1212b
FogBugz #199159: nios2: fix parentheses warning
Apr 28, 2014
53edcd0
FogBugz #193936: nios2: Fix nios2 compilation warnings
Apr 25, 2014
be21f37
FogBugz #205359: nios2: flushp after write instruction to memory
May 16, 2014
d42e23d
FogBugz #205319: nios2: Use initi and initd to initialize caches
May 16, 2014
478790f
FogBugz #205636: nios2: check exception handler address
May 16, 2014
ba3850f
clk: socfpga: Add a second parent option for the dbg_base_clk
May 28, 2014
4eac7a9
FogBugz #198256: Fix unnecessary USB overcurrent condition
May 22, 2014
bf5ab0a
FogBugz #91445: Fix intermittent data starvation for DMA on SD/MMC
Feb 12, 2013
9963af1
FogBugz #142858: Fix intermittent SD/MMC RFS from not mounting
Aug 2, 2013
abd93f1
FogBugz #184030: mmc: dw_mmc: fix status error for Kingston brand SD …
Mar 26, 2014
67288a4
arm: socfpga: Enable spi and qspi driver for socfpga
Oct 16, 2012
1ebb1c2
FogBugz #79418: Add support for Denali NAND controller
Oct 22, 2012
cba961f
FogBugz #91408: Add GPIO driver to support FPGA PIO
Dec 21, 2012
bfceb18
FogBugz #95976: Altera GPIO soft IP driver
thloh Feb 1, 2013
484820f
FogBugz #110526: Change Linux driver to GPLv2 instead of GPLv3
thloh Mar 27, 2013
d8cf213
FogBugz #123541: GPIO altera gives warning message when used as inter…
thloh May 20, 2013
5446400
FogBugz #121458: Fix irq_set_type to allow edge and level correctly
thloh May 27, 2013
5a5a9b6
FogBugz #128579: Altera GPIO upstream updates
thloh Jan 30, 2014
c91e94c
FogBugz #183984: Do not use _relaxed() function for Altera PIO driver
thloh Apr 1, 2014
0afd4ba
FogBugz #80929: Make CACHE_L2XO a config option.
Oct 22, 2012
235b1ba
FogBugz #97284: Update L2 cache settings
Jan 28, 2013
bd61114
FogBugz #102401: Fix hotplug support for SOCFPGA
Feb 25, 2013
65ebfa4
FogBugz #104179: Fix SCU virtual address mappping
Mar 4, 2013
2119778
FogBugz #106327: Use framework in drivers/base/soc.c for system id
Mar 14, 2013
717acaf
FogBugz #103219: Turn on ARM errata for L2 cache
Feb 28, 2013
d6e36d6
FogBugz #103239: Intermittent loss of ethernet transmission.
Apr 5, 2013
02a6643
FogBugz #108269: Enable PMU through the CTI
Mar 20, 2013
f8baa4d
FogBugz #92330-1: fpga manager framework
Jan 15, 2013
b87994e
FogBugz #92330-2: fpga manager driver for altera fpgas
Jan 15, 2013
66e0624
FogBugz #129257: fpga bridge driver
Jul 11, 2013
428d622
FogBugz #102675: do not touch fpga bridge resets by default
Jul 16, 2013
8bebd53
FogBugz #142060: do not clear the mpuzero bit
Jul 30, 2013
1c62cfa
FogBugz #142126: l3 remap register needs clocks and caching
Jul 31, 2013
b965424
FogBugz #163307: align f2sdram driver with hw support
Oct 23, 2013
bef5e89
FogBugz #165941: FPGA bridge drivers need to be started early
Nov 5, 2013
9166e31
FogBugz #168803: support to configure initial state of bridges
Nov 18, 2013
4e766d3
FogBugz #143478: arch/arm: Move sysid from arch to drivers
Aug 12, 2013
af40bc1
dma: pl330: Add in enhancements for SOCFPGA
Oct 17, 2012
99e7cfc
FogBugz #172665: Sample driver for DMA transfer to FPGA soft IP (FIFO)
Dec 13, 2013
85e275b
FogBugz #163712: Add SDRAM ECC/EDAC support to Altera CycloneV board
Oct 29, 2013
3478d75
FogBugz #165063: SDRAM ECC Error Injection for Testing
Oct 31, 2013
0641ef1
FogBugz #173183: L2 EDAC addition for Altera SOCFPGA.
Dec 13, 2013
13f4e61
FogBugz #173184: Add L2 EDAC error injection for testing.
Dec 18, 2013
d95a3b5
FogBugz #178128: Conditionally enable L2 EDAC.
Jan 16, 2014
92b4c44
FogBugz #173185: OCRAM ECC addition for Altera SOCFPGA.
Dec 19, 2013
92a4c61
FogBugz #180994: Conditionally enable L2 cache ECC on startup
Jan 31, 2014
ddd32be
FogBugz #179457: Abstract EDAC module triggers
Jan 23, 2014
57a4bc1
FogBugz #173188: Add OCRAM ECC Error Injection for testing.
Feb 10, 2014
8993c5e
FogBugz #184650: Cleanup Altera license headers.
Feb 18, 2014
37a487c
FogBugz #184646: Turn on all peripheral clocks for a system reboot
Feb 18, 2014
a0855e3
FogBugz #193022: Fix warning for allmodconfig on socfpga_defconfig
Mar 24, 2014
652e98e
FogBugz #183074: Fix PMU CTI driver for single core systems
Feb 27, 2014
1ec4969
FogBugz #209258: hotplug: put cpu1 in wfi
Jun 4, 2014
f184c36
FogBugz #169918: Map the OCRAM in the device tree file.
Nov 24, 2013
4cfe1c6
FogBugz #119719: Document Cadence QSPI Controller device tree bindings
Jul 24, 2013
4c428d8
FogBugz #99945-2: add gpio-dwapb driver to defconfig and dts
Mar 6, 2014
bcfcbac
FogBugz #195004: Move board specific components to board dts files
Apr 2, 2014
3af6c4c
FogBugz #194611: Configure I2C SDA and SCL parameters
altcrauer Apr 4, 2014
cd34adf
FogBugz #208834: Add SD/MMC card detect
Jun 3, 2014
fa2be43
FogBugz #163905: Support Denali NAND driver on socfpga platform
Oct 28, 2013
b349a58
FogBugz #208682: Denali NAND driver misidentifies Hynix chips
Jun 3, 2014
81d28a1
FogBugz #206007: Fix gpio dts entry for the correct clock
May 29, 2014
e3892d4
FogBugz #169263: Correct the parent clock for l3_sp_clk and dbg_clk
Nov 20, 2013
20761d9
FogBugz #178383: add missing clock gates to socfpga.dtsi
Feb 3, 2014
6aa1db7
FogBugz #84276: lcd driver on i2c
Nov 29, 2012
242b1d9
FogBugz #100586: Set lcd backlight brightness to max
Feb 15, 2013
305603b
FogBugz #102358: i2c newhaven lcd driver uses faulty hyphen
Feb 26, 2013
b3eda1d
tty: newhaven_lcd: Remove devinit and devexit
Jun 17, 2014
9594d22
FogBugz #107683: handle backspace better in lcd driver
Mar 21, 2013
8fd3770
FogBugz #114479: load custom character for backslash
Apr 24, 2013
9e3524b
FogBugz #118160: support tilde character on newhaven lcd module
Apr 25, 2013
22c0cfb
FogBugz #125882: lcd module needs time to process commands.
May 23, 2013
7497f33
FogBugz #101176: add sys entry to set lcd module brightness
May 24, 2013
30dcbd4
FogBugz #98100: designware i2c driver add speed mode in devtree
Jan 31, 2013
1da3da9
FogBugz #177284: add Altera VIP framebuffer driver
altcrauer May 10, 2013
b0be83d
ARM: SOCFPGA: update socfpga_defconfig
Jun 16, 2014
82005b4
FogBugz #111740: [PATCH] Integrates Nios II kernel (FDT)
May 14, 2013
def2911
nios2: Port to v3.15
Jun 19, 2014
2274704
mtd: denali: use 8 bytes for READID command
Jun 23, 2014
50b2b58
This patch is the set of changes to run pl330 DMA on
Jun 19, 2014
126531c
mtd: denali: Need to read the have-hw-ecc-fixup property.
Jun 25, 2014
7bb3038
FogBugz #212185: nios2: define "PG_arch_1" as PG_dcache_clean
Jul 2, 2014
f25cd4e
FogBugz #212187: nios2: Avoid flush_dcache_page() for zero page
Jun 23, 2014
49f94a7
FogBugz #212188: nios2: Flush page regardless of if there is a mapping
Jun 23, 2014
0f7102a
FogBugz #214042: nios2: add nios2 gen2 dts support
Jul 16, 2014
ef30078
FogBugz #138162: Add Altera hardware mutex driver
Jul 25, 2013
89387f8
FogBugz #143451: Fix mutex compatible string
Aug 5, 2013
659aa33
FogBugz #138164: Add Altera mailbox driver
Jul 24, 2013
7399814
FogBugz #141478: Use "linux,mailbox-name" from DTS
Jul 29, 2013
168e7b6
FogBugz #144109: Remove extra lines from license header
Aug 7, 2013
f1c32ba
FogBugz #194497: mailbox: Fixed compilation warning
Apr 3, 2014
242fd3b
FogBugz #178225: Add Altera interrupt latency counter driver
Feb 21, 2014
d560b51
FogBugz #97184: Add Altera SYSID soft IP driver
Feb 5, 2013
3455b8d
FogBugz #109717: Removed unused sysid driver from drivers/misc.
Mar 25, 2013
ad86502
FogBugz #143478: drivers/misc: Move sysid from arch to drivers
Aug 12, 2013
9c8b5ba
Revert "FogBugz #111740: [PATCH] Integrates Nios II kernel (FDT)"
Aug 4, 2014
3438237
usb: dwc2/gadget: fix phy disable sequence
Jul 28, 2014
d4ef555
usb: dwc2/gadget: fix phy initialization sequence
Jul 28, 2014
0fcfdba
usb: dwc2/gadget: move phy bus legth initialization
Jul 28, 2014
be5f510
usb: dwc2/gadget: Fix comment text
Jul 28, 2014
89cb8df
usb: dwc2/gadget: hide some not really needed debug messages
Jul 28, 2014
fae3abc
usb: dwc2/gadget: ensure that all fifos have correct memory buffers
Jul 28, 2014
854e58d
usb: dwc2/gadget: break infinite loop in endpoint disable code
Jul 28, 2014
6d88969
usb: dwc2/gadget: do not call disconnect method in pullup
Jul 28, 2014
811f889
usb: dwc2/gadget: delay enabling irq once hardware is configured prop…
Jul 28, 2014
0495452
usb: dwc2/gadget: assign TX FIFO dynamically
Jul 28, 2014
302002b
usb: dwc2/gadget: disable clock when it's not needed
Jul 28, 2014
81353e0
usb: dwc2/gadget: avoid disabling ep0
Jul 28, 2014
4cd221b
usb: dwc2: add 'mode' which based on Kconfig select or dts setting
keveryang Aug 7, 2014
c981a8b
usb: dwc2: Read GNPTXFSIZ when in forced HOST mode
dianders Aug 8, 2014
2cbf537
usb: dwc2: Update Kconfig to support dual-role
May 14, 2014
32d288d
usb: dwc2: move "samsung,s3c6400-hsotg" into common platform
Jul 24, 2014
19c647f
usb: dwc2: Update the gadget driver to use common dwc2_hsotg structure
May 14, 2014
af363f6
usb: dwc2: Add the appropriate init calls in platform code
May 14, 2014
bdb62de
usb: dwc2: Initialize the USB core for peripheral mode
Jun 25, 2014
fb2d91f
usb: dwc2: Update common interrupt handler to call gadget interrupt h…
Jul 24, 2014
06d2638
usb: dwc2: Add call_gadget functions for perpheral mode interrupts
Jul 24, 2014
ec78149
usb: dwc2: gadget: Do not fail probe if there isn't a clock node
Jun 6, 2014
0be56d9
usb: dwc2: initialize the spin_lock for both host and gadget
Jun 10, 2014
6a689a2
usb: dwc2: Add suspend/resume for gadget
Jun 10, 2014
a9ee73c
usb: dwc2: check that the host work queue is valid
May 14, 2014
067f48c
usb: dwc2: pci: Update pci portion of the dwc2 driver
Jun 19, 2014
5971a81
Add qspi for socfpga.dtsi
Aug 4, 2014
ddcd644
FogBugz #216207: nios2: fix pfn_valid range
Jul 16, 2014
94d8b05
FogBugz #216208: nios2: fix warning from get_fb_unmapped_area
Jul 16, 2014
8a4cd6e
nios2: Port to 3.16
Aug 6, 2014
829b7ac
Merge of 44132140d09af5373ce838a034d35a42fcdd5f01
Oct 16, 2012
b3dba9e
FogBugz #132611-2: Support QSPI flag status register
Jun 28, 2013
5b0a69d
FogBugz #189684-1: Enhance QSPI driver to use common clock framework
Mar 11, 2014
6f0c440
FogBugz #152777: Fix out-of-order QSPI chip select configuration.
Sep 9, 2013
15f961d
mtd: spi-nor: add support for flag status register on Micron chips
Apr 29, 2014
3e12fc6
Set spi_master addr_width parameter in m25p80, needed by Cadence QSPI…
Aug 11, 2014
883a7cb
FogBugz #166244: Compilation error in spi-dw-pl330.c
Nov 6, 2013
12ef95c
FogBugz #166487: Support QSPI device DMA on SoCFPGA
Nov 7, 2013
7e04905
FogBugz #201449: Fix bug found by sparse tool.
May 1, 2014
756bd63
FogBugz #177169: Implement DMA for Cadence QSPI controller.
May 16, 2014
b2fbee5
FogBugz #177169: Use managed device calls for resource mapping
May 19, 2014
a43f685
FogBugz #189684-2: dts part: clean up QSPI entries
Mar 11, 2014
664041f
mtd: m25p80: Add shutdown handler for m25p80 and spi-nor
Aug 12, 2014
ba3412d
mailbox: Introduce a new common API
JassiBrar Apr 26, 2013
04faf0f
mailbox: move the internal definitions into a private file
sumananna May 16, 2013
ee77fff
usb: dwc2: fix usb/ethernet adapter
Aug 13, 2014
46222af
usb: dwc2: cap the max transfer size to 65535
Aug 26, 2014
aea46c2
ARM: socfpga: fix l2 ECC enabling
Aug 27, 2014
43639ae
add arria5 leds
Aug 29, 2014
7ca635e
FogBugz #228949: Add CONFIG_MARVELL_PHY to socfpga_defconfig
Sep 4, 2014
ffeb674
FogBugz #229601: newhaven lcd: fix kbuild test robot warnings
Sep 5, 2014
60604ec
spi: dw: Don't use devm_kzalloc in master->setup callback
AxelLin Aug 31, 2014
73b8057
spi: dw: fix kernel crash due to NULL pointer dereference
andy-shev Aug 27, 2014
d2fe5b8
FogBugz #236669: Add a Kconfig for ILC driver
Oct 9, 2014
14cef3b
FogBugz #237341: fix fetching cpu1start_addr for SMP
Oct 1, 2014
9e70f26
FogBugz #240948: Cadence QSPI needs to have spi-nor framework enabled.
Oct 21, 2014
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
FogBugz #143478: arch/nios2: Move sysid from arch to drivers
Removed sysid from arch/arm and use default soc_id/revision.

Signed-off-by: Ley Foon Tan <lftan@altera.com>
  • Loading branch information
Ley Foon Tan authored and Dinh Nguyen committed Aug 4, 2014
commit 3f44f2314b4bcc28e860122704fdee0959cead33
25 changes: 4 additions & 21 deletions arch/nios2/platform/platform.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,9 @@
#include <linux/sys_soc.h>
#include <linux/io.h>

#define NIOS2_SYSID_DEFAULT (0x1)
#define NIOS2_ID_DEFAULT (0x1)
#define NIOS2_REVISION_DEFAULT (0x1)

/* Sysid register map */
#define SYSID_ID_REG (0x0)

static struct of_device_id altera_of_bus_ids[] __initdata = {
{ .compatible = "simple-bus", },
{ .compatible = "altr,avalon", },
Expand All @@ -31,12 +28,9 @@ static struct of_device_id altera_of_bus_ids[] __initdata = {
static void __init nios2_soc_device_init(void)
{
struct device_node *root;
struct device_node *sysid_node;
struct soc_device *soc_dev;
struct soc_device_attribute *soc_dev_attr;
void __iomem *sysid_base;
const char *machine;
u32 id = NIOS2_SYSID_DEFAULT;
int err;

root = of_find_node_by_path("/");
Expand All @@ -47,24 +41,13 @@ static void __init nios2_soc_device_init(void)
if (err)
return;

of_node_put(root);

soc_dev_attr = kzalloc(sizeof(*soc_dev_attr), GFP_KERNEL);
if (!soc_dev_attr)
return;

sysid_node = of_find_compatible_node(root, NULL, "ALTR,sysid-1.0");
if (sysid_node) {
sysid_base = of_iomap(sysid_node, 0);
if (sysid_base) {
/* Use id from Sysid hardware. */
id = readl(sysid_base + SYSID_ID_REG);
iounmap(sysid_base);
}
of_node_put(sysid_node);
}

of_node_put(root);

soc_dev_attr->soc_id = kasprintf(GFP_KERNEL, "%u", id);
soc_dev_attr->soc_id = kasprintf(GFP_KERNEL, "%u", NIOS2_ID_DEFAULT);
soc_dev_attr->revision = kasprintf(GFP_KERNEL, "%d",
NIOS2_REVISION_DEFAULT);
soc_dev_attr->machine = kasprintf(GFP_KERNEL, "%s", machine);
Expand Down