Commit graph

37165 commits

Author SHA1 Message Date
Aditya Kumar Patra S
f8b348e00b qca: Made IPQ806x specific changes to common boardinit and bootipq files.
1. Modified common bootipq command file to support IPQ806x.
    2. Modified common board initialization file to support IPQ806x.

Change-Id: I1fdd93037b885eefea0c5ddede9436861dd485b3
Signed-off-by: Aditya Kumar Patra S <apatr@codeaurora.org>
2016-10-07 14:09:49 +05:30
Aditya Kumar Patra S
db8cc686a2 qca: Added IPQ806x spcific Changes to common SMEM.
Only ipq40xx and ipq807x specific functionalities were
available in common SMEM. Made ipq806x specific changes
so that all QCA platforms can use this.

Change-Id: I00fc9c9ba8e2545d665c9791849d82e0ab5d974a
Signed-off-by: Aditya Kumar Patra S <apatr@codeaurora.org>
2016-10-07 12:23:27 +05:30
Ajay Kishore
55ae0d19fb ipq807x: Enable crashdump support
Change-Id: Ie404c042c6222c12f25632078b3db96af2522fc7
Signed-off-by: Ajay Kishore <akisho@codeaurora.org>
2016-10-05 11:30:05 +05:30
Ajay Kishore
3491df2edd ipq40xx : Enable crashdump support
Change-Id: Ibd3b04dcc7870be1922409f81f3011b7edac35bc
Signed-off-by: Ajay Kishore <akisho@codeaurora.org>
2016-10-04 06:52:29 -07:00
Linux Build Service Account
66f90c81e5 Merge "spi: Initialise all propertis of spi_slave" into eggplant 2016-10-03 06:30:49 -07:00
Linux Build Service Account
b893fade6f Merge "ipq40xx: Support cpu reset" into eggplant 2016-10-03 06:30:48 -07:00
Linux Build Service Account
ab5c1debe9 Merge changes I786b46f2,I8d25a211 into eggplant
* changes:
  Adding support for imxtract command
  Fix compilation errors in clk driver
2016-10-03 06:30:47 -07:00
Akila N
39d25efe1d Adding support for imxtract command
Change-Id: I786b46f256592d8311c2f9e0f9a971b36436a3cb
Signed-off-by: Akila N <akilan@codeaurora.org>
2016-09-30 02:35:36 -07:00
Akila N
ba59fd6f3c ipq40xx: Support cpu reset
Change-Id: I62cb3edb92144280e55b75f99d2361c8faa4d9c2
Signed-off-by: Akila N <akilan@codeaurora.org>
2016-09-29 21:28:25 +05:30
Akila N
fa61274d27 spi: Initialise all propertis of spi_slave
All properties of spi_slave as defined in spi.h
are initialised to avoid junk values.

Change-Id: I154bddccb12fe7e5c4787e870927610de85cda1c
Signed-off-by: Akila N <akilan@codeaurora.org>
2016-09-29 21:16:28 +05:30
Akila N
e34c2dc55e Fix compilation errors in clk driver
Change-Id: I8d25a211dea888c9143178aa28ec1e01297132c2
Signed-off-by: Akila N <akilan@codeaurora.org>
2016-09-29 21:03:49 +05:30
Sham Muthayyan
5e6297efa3 ipq807x: Rename the HK01 into soc for ipq807x
Change-Id: I3f23adad92566ba8f1ae38cfedfe690924b4bbf1
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2016-09-29 02:00:13 -07:00
Sham Muthayyan
ef5b429ab2 ipq807x: Add PCIE support for IPQ807x
Change-Id: Iba6db5caf405b4fe4f1668dc6462504e41d5d219
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2016-09-29 02:00:01 -07:00
Sham Muthayyan
dbc99acc0c qcom: pci: Enable PCI support for ipq40xx
Change-Id: I32506cf862a0ab83a05070fa9cfba9f09a96ddd3
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2016-09-29 14:29:01 +05:30
Sham Muthayyan
9202734083 ipq40xx: Add PCIE device entries
Change-Id: Iae02b5812655b7ff4d2a82687dc066eb98afd0df
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2016-09-29 14:25:22 +05:30
Sham Muthayyan
17daa21dc8 ipq40xx: PCI code cleanup
Change-Id: I3ec533e1b6dd2b34dae203ca780e74263cc4f8e3
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2016-09-28 00:37:39 -07:00
Sham Muthayyan
36af874980 qcom: pci: Rename the pci driver
Change-Id: Idbccf67a6c3cee631da75abfc80ee2eaa26599f8
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2016-09-28 00:37:31 -07:00
Sham Muthayyan
01560470d3 ipq40xx: pci: Add PCIE support
Change-Id: Ibf114efa7e6defb27c4c1a031516faa81448a046
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2016-09-28 00:37:23 -07:00
Sham Muthayyan
b8cda662ff qcom: ipq: Fix relocation global data size
The board goes into hung state when the GD_SIZE more than
GENERATED_GLOBAL_DATA_SIZE. In this case, the stack poninter
address will be pointing to the unknown address which leads to
hung state. Fixed the hung state to point to correct address.

Change-Id: I0efc807ca07c16ae0b79ea6c606fde931f02a220
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2016-09-28 00:37:13 -07:00
Linux Build Service Account
8d3d5c2071 Merge "ipq40xx: Adding ethernet init sequence" into eggplant 2016-09-23 01:42:17 -07:00
Linux Build Service Account
a8927cdb2a Merge "ipq40xx: Add edma config info to dts files" into eggplant 2016-09-23 01:42:16 -07:00
Linux Build Service Account
7308319e63 Merge "ipq40xx: Move clock.c to drivers/clk" into eggplant 2016-09-23 01:42:16 -07:00
Aditya Kumar Patra S
a5c1d92139 qca: ipq806x: Added QCA8511 card support.
Change-Id: I9aff645fd7e6879cb637676248f01a65d375d498
Signed-off-by: Aditya Kumar Patra S <apatr@codeaurora.org>
2016-09-22 18:01:23 +05:30
Aditya Kumar Patra S
a98a8248bb qca: ipq806x: Added S17 PHY driver.
Change-Id: I389cb4b7201485635898d25f958712979cc9fb9c
Signed-off-by: Aditya Kumar Patra S <apatr@codeaurora.org>
2016-09-22 17:55:40 +05:30
Aditya Kumar Patra S
50b331a6f7 qca: ipq806x: Added GMAC driver.
Change-Id: If35df7d37a82604b1f686765e21c79b1bae094f5
Signed-off-by: Aditya Kumar Patra S <apatr@codeaurora.org>
2016-09-22 17:46:47 +05:30
Akila N
d3cefa47c5 ipq40xx: Adding ethernet init sequence
Change-Id: I3401f99e89e9dd3af952f70437524eadf3a1a80a
Signed-off-by: Akila N <akilan@codeaurora.org>
2016-09-13 14:41:41 +05:30
Akila N
d054154f3c ipq40xx: Add edma config info to dts files
Change-Id: Ib30993cb637315d1c9967a1b5297e48101bb7e09
Signed-off-by: Akila N <akilan@codeaurora.org>
2016-09-13 14:24:42 +05:30
Gokul Sriram Palanisamy
19737c0717 ipq8074: Adding configs to enable board initialization routines
This gerrit enables the common code to work for ipq8074.

Change-Id: I41d550ae31bf2c32af2279cac8b59f136a17f6f8
Signed-off-by: Gokul Sriram Palanisamy <gpalan@codeaurora.org>
2016-09-01 22:14:21 -07:00
Gokul Sriram Palanisamy
e604606864 qca: Updating copyright years
Change-Id: I08db5049d4cd2eb081e78a8c485261dad82f5a5e
Signed-off-by: Gokul Sriram Palanisamy <gpalan@codeaurora.org>
2016-09-01 09:58:18 -07:00
Gokul Sriram Palanisamy
234dc3a733 qca: Moving fdt fixup related routines to a common file
Adding a common file fdt.c and moving fdt fixup related routines
to this file to keep them generic.

Change-Id: I863135fc79f52eb35789605b8e240c637db0e02a
Signed-off-by: Gokul Sriram Palanisamy <gpalan@codeaurora.org>
2016-09-01 06:50:13 -07:00
Gokul Sriram Palanisamy
5b87057c5d qcom: nand: Add missing writebufsize initialization for ubi fastmap
The writebufsize is introduced in mtd struct for the ubi fastmap
support.
This is not initialized in the qpic nand driver which leads to ubi
error.
Fixed the following ubi error.
	bad write buffer size 0 for 2048 min. I/O unit
	UBI init error 22

Change-Id: Ie523affe2d202f0e7b3e17dc4ecec19f7c02de27
Signed-off-by: Gokul Sriram Palanisamy <gpalan@codeaurora.org>
2016-08-31 21:59:25 -07:00
Aditya Kumar Patra S
a30ad3ea21 qca: GPIO: Added API to read GPIO input.
Change-Id: Icaaf82668bbdec8aaac478f70a4ef29ffc1396a1
Signed-off-by: Aditya Kumar Patra S <apatr@codeaurora.org>
2016-08-30 23:24:34 -07:00
Gokul Sriram Palanisamy
10adb6c970 qca: Moving env related routines to a common file
Adding a common file env.c and moving env related routines to this file
to keep them generic.

Change-Id: I4541b30278289fa519f78e93d6ccddf22fda0f0c
Signed-off-by: Gokul Sriram Palanisamy <gpalan@codeaurora.org>
2016-08-30 05:26:58 -07:00
Gokul Sriram Palanisamy
35ee65208c qca: Moving board initialization routines to a common file
Adding a common file board_init.c and moving board initialization
related routines here to keep them generic.

Change-Id: I0694d8db9d7c5a7f745c623d12551bf112f11b78
Signed-off-by: Gokul Sriram Palanisamy <gpalan@codeaurora.org>
2016-08-30 16:37:43 +05:30
Akila N
4f8a66afca ipq40xx: Move clock.c to drivers/clk
Change-Id: I11cdfe5f9ca52b928cd9fb7cc358b3592512161a
Signed-off-by: Akila N <akilan@codeaurora.org>
2016-08-30 15:27:03 +05:30
Akila N
03787a3b82 ipq40xx: Parsing config values from dts
Change-Id: I6fc163b24d1beb4baf93992588f25cb254507606
Signed-off-by: Akila N <akilan@codeaurora.org>
2016-08-24 16:50:15 +05:30
Akila N
d381bc5b2f ipq40xx: Adding gpio info to dts files
This change adds uart, spi, nand, emmc gpios
to dts files. Also, config info like machid,
ddr size, supported flash configs are added to
dts files.

Change-Id: Id130b721fb09777d58401334d7f59c6377b84496
Signed-off-by: Akila N <akilan@codeaurora.org>
2016-08-23 03:07:29 -07:00
Akila N
e7aaad5e69 ipq40xx: Eliminate use of gboard_param
This change eliminates the use of gboard_param
variable. Subsequent changes will make use of
dts.

Change-Id: Ic79a72c4fa1b86e864b55306a32c110bcfbc9184
Signed-off-by: Akila N <akilan@codeaurora.org>
2016-08-23 15:30:36 +05:30
Manoharan Vijaya Raghavan
c47af78ae2 ipq807x: discard interp and dynamic section from u-boot
Change-Id: I29d6c571688f9cd875e04af51692150df263f4f4
Signed-off-by: Manoharan Vijaya Raghavan <mraghava@codeaurora.org>
2016-08-17 06:49:22 -07:00
Linux Build Service Account
83ea1846ff Merge changes I532ef7e8,I77614174 into eggplant
* changes:
  qca: ipq: Fixed compiler warning
  qca: ipq: Moved clock header files into include folder
2016-08-12 06:30:44 -07:00
Gokul Sriram Palanisamy
ddd2d641fe qca: GPIO: Moved GPIO bit value macros to dt-bindings
1. Moved gpio structure declaration to gpio.h
2. Moved gpio configuration bit value macros to dt-bindings

Change-Id: I9da1cc3703a92e02cfa86765c8d4afe5321fed35
Signed-off-by: Gokul Sriram Palanisamy <gpalan@codeaurora.org>
2016-08-12 15:15:01 +05:30
Ajay Kishore
2183477634 qca: ipq: Fixed compiler warning
Change-Id: I532ef7e8555e179453173f4eee6f73e9c584e1fd
Signed-off-by: Ajay Kishore <akisho@codeaurora.org>
2016-08-11 23:17:26 -07:00
Ajay Kishore
bdaab34867 qca: ipq: Moved clock header files into include folder
Moved the clock header files into include folder to
escape from relative paths.

Change-Id: I776141741296e1138e45efb069479a0e26b4855c
Signed-off-by: Ajay Kishore <akisho@codeaurora.org>
2016-08-11 23:12:37 -07:00
Linux Build Service Account
c2a3c549d3 Merge "qca: Moving bootipq command file to board common location" into eggplant 2016-08-09 18:30:39 -07:00
Aditya Kumar Patra S
69d8838ba5 qca: ipq: Added common GPIO driver.
Added device tree based IPQ common GPIO driver.
Updated device tree with uart_gpio data.

Change-Id: I4752609a766716d3bdd97f6ca1c1c20ffa3caa47
Signed-off-by: Aditya Kumar Patra S <apatr@codeaurora.org>
2016-08-09 00:14:30 -07:00
Aditya Kumar Patra S
3b8539af83 qca: ipq806x: Added defconfig
This is the defconfig that needs to be used for all
IPQ806x boards.

Change-Id: Ia0d833af3f788ae0c067a290e1c814b5575994bb
Signed-off-by: Aditya Kumar Patra S <apatr@codeaurora.org>
2016-08-09 00:14:21 -07:00
Aditya Kumar Patra S
2fc38add98 qca: ipq806x: Added support in timer driver
Added ipq806x timer information to common timer driver.

Updated qcom timer comon driver for ipq806x support.
Change-Id: I1a28ef362bc4161af38d1065b3c4b848ef4ad0d1
Signed-off-by: Aditya Kumar Patra S <apatr@codeaurora.org>
2016-08-09 00:14:08 -07:00
Aditya Kumar Patra S
607aab806a qca: serial: Porting qcom serial common driver.
Modified common serial driver to work for all AK, DK and HK boards.

Made the driver more generic. The board specific
configurations are moved to respective board.c files.

Change-Id: I8aa0001d215126eb1dd15d75d6ab3f9139d6f919
Signed-off-by: Aditya Kumar Patra S <apatr@codeaurora.org>
2016-08-09 00:13:51 -07:00
Gokul Sriram Palanisamy
5f86620451 qca: Moving bootipq command file to board common location
Moving cmd_bootqca.c from architecture specific common directory to
board specific common directory.

Change-Id: I453abeb554572bf2363a959e7dbe32efcf7dbac6
Signed-off-by: Gokul Sriram Palanisamy <gpalan@codeaurora.org>
2016-08-08 17:08:52 +05:30
Aditya Kumar Patra S
d28e6f633f qca:ipq806x: Added board configurations
Change-Id: Ibb9abe23daf78b5a7098240e86a58458e32a4775
Signed-off-by: Aditya Kumar Patra S <apatr@codeaurora.org>
2016-08-05 03:01:42 -07:00