Commit graph

9131 commits

Author SHA1 Message Date
Gokul Sriram Palanisamy
707471aca1 ARM: qca: Fixed dtb_config_name
Change-Id: I273a35e2a520974b84359bf89a37ef1f4e5a4c39
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-11-06 16:52:43 +05:30
Linux Build Service Account
f470a13497 Merge "ipq807x: mmc: Enabled SDHCI ADMA support" 2017-11-03 13:57:22 -07:00
Linux Build Service Account
2e6f01a2e7 Merge "ipq807x: Adjust dump sequence to suit QUADRO test needs." 2017-11-03 09:25:44 -07:00
Vasudevan Murugesan
7fd4f44ace ipq807x: mmc: Enabled SDHCI ADMA support
This patch enables SDHCI mode and also supports
data transfer using ADMA method.

Change-Id: Ia3187fec9024ad0972ca720cf0b9ddc6a59b906c
Signed-off-by: Vasudevan Murugesan <vmuruges@codeaurora.org>
2017-11-03 02:52:37 -07:00
Venkat Raju Sana
54a934f024 ipq807x: Adjust dump sequence to suit QUADRO test needs.
QUADRO test suite detects EBICS0.BIN file for crash dump,
Change in this sequence resulted in wrong dump collection,
Changing the dump sequence to suit QUADRO test needs.

Change-Id: I6f32421b47252474b6b6f9922dea8f621388bc6b
Signed-off-by: Venkat Raju Sana <vrsana@codeaurora.org>
2017-11-01 16:58:59 -07:00
Gokul Sriram Palanisamy
3c75e09aad ARM: qca: Removed dumpipq_data from command list
Manual invocation of dumpipq_data makes no sense.
Hence removed.

Change-Id: Iff9d4c786b99043f138550b3d4b72d11249d8c89
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-11-01 19:37:29 +05:30
Gokul Sriram Palanisamy
e7167a8c40 ARM: qca: Added support for manual config
Added support to choose FIT image config by
setting environment variable 'config_name'.

Setting environment variable will override
device tree entry.

Change-Id: I4d418b840a0e7e6c71d2c681b6929ef58cf0e570
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-11-01 05:38:10 -07:00
Sham Muthayyan
21c5c6af9f ipq807x: Fix the ethernet initialisation when crash dump occurs
Change-Id: Ic271165b1a708bb6f3a7d06051a9cc5b846604b6
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2017-10-30 02:48:57 -07:00
Linux Build Service Account
636aa76e04 Merge "ipq807x: Add 4byte mode support for Winbond nor flash" 2017-10-25 10:55:29 -07:00
Sham Muthayyan
921da8d0b2 ipq807x: Add SMEM_SPI_ADDR_LEN support for SPI flash
This SMEM type is to determine the spi flash addr is in 3 byte
or 4 byte.

Change-Id: I705a9c5c6f760b93e112a873ead41cd76520501b
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2017-10-25 16:53:30 +05:30
Gokul Sriram Palanisamy
fd7111aa24 ARM: qca: socinfo: Fixed soc_version_minor
Change-Id: Iaefb3b3c6554408e3d635fb55568aaed9b78a164
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-10-25 16:25:59 +05:30
Linux Build Service Account
a6333cab32 Merge "ipq807x: Fixed port mac for qsgmii mode" 2017-10-24 12:51:57 -07:00
Sham Muthayyan
5ea7c14b64 ipq807x: Fixed the aquantia gpio
Change-Id: I160632ee56fd874b97a9eba8a6af9945d591e79d
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2017-10-24 08:29:54 -07:00
Gokul Sriram Palanisamy
0017eddff3 ipq807x: Reset support for 32 bit TZ
Change-Id: I16bd7fe2541a9093a4a6417091a854e6dfea92e3
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-10-24 11:29:37 +05:30
Gokul Sriram Palanisamy
09628e67ad ipq8074: Support for TZT execution
Change-Id: I59a1659893783db9dec8b23c53c34ba7b87f83b0
Signed-off-by: Gopinath Sekar <gsekar@codeaurora.com>
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-10-16 09:54:28 +05:30
Ramesh Muthusamy
040da09949 IPQ807x: AQ Phy Fw download from flash
Change-Id: I55ecb7ab61476c497ae565597396556e4f074e8e
Signed-off-by: Ramesh Muthusamy <rmuthusa@codeaurora.org>
Signed-off-by: Saravanan Jaganathan <sjaganat@codeaurora.org>
2017-10-13 10:50:23 -07:00
Gokul Sriram Palanisamy
a6206a5074 ARM: qca: Enabled reset when skipping crash dump
Change-Id: I43b585a04e040229fe16b1ed6c992cbb5dc18192
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-10-13 14:33:43 +05:30
Gokul Sriram Palanisamy
453d3d213b ARM: qca: fdt_fixup: Added major and minor version
Change-Id: If312cf881c2f7b9aceca5f12db017125ffdfff18
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-10-12 11:05:39 -07:00
Gokul Sriram Palanisamy
f9ad5ac9d7 ipq807x: Modified scm calls to support both 32 bit and 64 bit
Change-Id: Iee99423239f7de49a9fc7a4c2e6244df385f5f09
Signed-off-by: Gopinath Sekar <gsekar@qti.qualcomm.com>
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-10-12 04:46:15 -07:00
Gokul Sriram Palanisamy
e0e7c2116a ARM: dumpqca: Added entry for secure boot
Added a separate dumpinfo entry for
Secure boot to skip secure region.

Change-Id: Ib3836a851e8b0603a9c08013de293dcbe8e3c0fb
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-10-12 04:45:57 -07:00
Gokul Sriram Palanisamy
c1264c6cc8 ARM: qca: Added fdt-fixup for machid
Change-Id: Ie4a26dfcd2063a5fba5a256e6a373c21180900ce
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-10-12 17:12:28 +05:30
Linux Build Service Account
9c8d38b2f9 Merge "ARM: qca: Included dynamic IMEM dump address support" 2017-09-23 12:20:14 -07:00
Gokul Sriram Palanisamy
c6b251a55e ARM: qca: Included dynamic IMEM dump address support
NSS-IMEM region is copied to a dynamic address
region in DRAM during kernel crash to avoid
NSS dump corruption.
This patch includes support to save the NSS dump
from the dynamic DRAM region to file in host machine.

Change-Id: I6131da890dc8bde382a3d2511ea930cd76c1f79e
Signed-off-by: Manoharan Vijaya Raghavan <mraghava@codeaurora.org>
2017-09-22 01:21:44 -07:00
Sham Muthayyan
1f804c9dc8 ipq807x: Initialize ethernet if boot failure
Initializing the ethernet when there is a failure in boot ie the
u-boot does not jump to kernel.

Change-Id: Id89c9e4285a2d68515ac463a027e0aa1d67c9ebd
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2017-09-21 15:50:13 +05:30
Linux Build Service Account
678e436e6f Merge "ipq807x: usb: Added SSPHY support" 2017-09-15 10:27:29 -07:00
Sham Muthayyan
b5a3729df6 ipq807x: Aquantia phy out of reset
Change-Id: I1f13873387e7a5d5ef3242e7cf0798a08ffd0336
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2017-09-13 23:24:07 -07:00
Sham Muthayyan
6a012e63d6 ipq807x: Add the multiple phy support
Change-Id: I8d22e267ccad0f8f14532e46f379e45faf32bad5
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2017-09-13 23:23:44 -07:00
Vasudevan Murugesan
b94509eaa9 ipq807x: usb: Added SSPHY support
Change-Id: I0fc72c80e2631bad6fb587f951a03e0ef8deea0b
Signed-off-by: Vasudevan Murugesan <vmuruges@codeaurora.org>
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-09-12 16:15:38 +05:30
Linux Build Service Account
81550631dd Merge "ipq807x: Fix KW issues in sysupgrade.c and cmd_bootqca.c" 2017-09-07 19:45:24 -07:00
Gokul Sriram Palanisamy
4da865f185 ARM: usb: Stopping USB before deinit
Device active flag is set each usb device
while usb is initialized. This flag is
cleared after usb device is removed.

Including usb_stop removes device and clears
this flag preventing usb_stop being called
after usb clock is disabled.

Change-Id: Ic4474a8d98893f1483ab85821020763788ae69d4
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-09-07 17:04:24 +05:30
Gokul Sriram Palanisamy
767b457534 ipq807x: Fix KW issues in sysupgrade.c and cmd_bootqca.c
Change-Id: I665f3d596cf235be7347faf68f0bf1ea8b10de7a
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-09-07 04:17:41 -07:00
Gokul Sriram Palanisamy
9dc890a648 ipq807x: Reset operation through PSCI
Change-Id: Ib1f2e8f7990101aaa48c3bc259ec293008efca02
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-08-17 00:02:58 -07:00
Gokul Sriram Palanisamy
3f2b61ee41 ARM: qca: Updated support for crashdump onto flash
Increased context_dump size from 2K to 4K
for ipq8074 SoC.

Change-Id: I5f10c0f4081c6ebe155599bb2575b1347e1933d1
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-08-08 03:33:23 -07:00
Gokul Sriram Palanisamy
a62e9c2e84 ipq807x: Splitting EBICS dump if the size is greater than 1GB
Change-Id: I043b124bef299e13147299e0c9e921520b17b1a5
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-08-03 20:24:25 +05:30
Gokul Sriram Palanisamy
4e88bbf154 ARM: qca: scm_call: Added fuseipq support
Added scm_call wrapper to support fuseipq
command to work with 64 bit scm_call.

Change-Id: Ie1fd2925e9f7ed5b3eb57eb44b1c360d0d7de916
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-08-03 18:25:47 +05:30
xiaofeis
4077f42d0a uboot: make port 5 work on 1000Mhz speed
Change-Id: Ic7e2724ae2ce08895c779ed166fca2a9a0dd6868
Signed-off-by: xiaofeis <xiaofeis@codeaurora.org>
2017-07-31 00:28:35 -07:00
Saravanan Jaganathan
95dee047a3 ipq807x: Late init now reads MAC address from ART
Change-Id: I1bb4ecdf0b73cc09af25985b3deb773b4c13db1b
Signed-off-by: Saravanan Jaganathan <sjaganat@codeaurora.org>
2017-07-28 00:04:21 +05:30
Gokul Sriram Palanisamy
c2a95f152f ARM: ipq8074: Added support to patch soc_id
This patch enables reading soc_id form smem required by
thermal deamon in kernel and patches it to kernel dtb.

Change-Id: If4d68d10e47eeed26a9c2867f40abc18d9027812
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-07-24 18:45:31 +05:30
Gokul Sriram Palanisamy
c75090661c ARM: fdt_fixup: Enable multiple ethaddr
Enabled to set multiple ethernet mac addresses
from ART partition into u-boot environment which
in-turn will be patched-up into the kernel dts.

CONFIG_IPQ_NO_MACS should be set accordingly.

Change-Id: I72d1324789685d25adcb3f5c4fb1b54151098f62
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-07-11 08:03:30 -07:00
Sham Muthayyan
07bc207dcb ipq40xx: Enable the additional uart in ipq40xx
Change-Id: I00113845731b679472fe0e0224b69560673e8bd3
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2017-07-10 11:02:01 +05:30
Sham Muthayyan
956b528723 ipq806x: Enable the additional uart in ipq806x
Change-Id: I34d8f6dbb904fbee9b1fb453e968a5ac932320bf
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2017-07-06 23:58:25 -07:00
Sham Muthayyan
7195fa74b2 ipq807x: Added the 2nd UART clocks
Change-Id: I057848f175778c08187fad1991d5ae00422c0793
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2017-07-05 06:03:06 -07:00
Gokul Sriram Palanisamy
622fd6199b ARM: qca: Added fdt-fixup for RPM version
Added fdt-fixup for patching RPM version string
to kernel device-tree that may be required for
test automation and build component information.

Change-Id: I6dedecbe17ecea1a211e3d0a8d64aa1f3835f821
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-07-03 15:37:13 +05:30
Gokul Sriram Palanisamy
e700f9ba7e ARM: qca: Moved boot_version and tz_version
Moved properties boot_version and tz_version
to root node to make it compatible with other
board configurations to facilitate consistent
test automation across boards.

Change-Id: I3046a571f75eb5430f4b50b00f9fd8a7467724fe
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-07-03 12:05:30 +05:30
Vasudevan Murugesan
2e6fe13ebc ipq807x: Added USB de-initialization functions
Change-Id: Ia6877dfd96a65c2808cc67baa1eaa53afb924e80
Signed-off-by: Vasudevan Murugesan <vmuruges@codeaurora.org>
2017-06-30 06:15:57 -07:00
Vasudevan Murugesan
69c3fa2774 ipq807x: usb: Enabled USB2 phy support
Change-Id: I7753c866aafe5c9ec8d4ccf0daa7210b24ed2c95
Signed-off-by: Vasudevan Murugesan <vmuruges@codeaurora.org>
2017-06-30 06:15:32 -07:00
Linux Build Service Account
2613c4d9f4 Merge "qca: scm_call: Added wrapper for image authentication" 2017-06-30 02:53:55 -07:00
Sham Muthayyan
6f1452c953 ipq807x: Deinit pcie before loading kernel
Change-Id: I22fe87dac2fd8f55978481fae71ee65281dfd204
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2017-06-29 08:53:06 -07:00
Manoharan Vijaya Raghavan
e47e3e516c qca: scm_call: Added wrapper for image authentication
Added a scm_call wrapper for kernel image authentication
required during secure boot flow.

Change-Id: I3c2853219128d24131aa6113f35d6998f2303a34
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-06-28 15:03:46 +05:30
Linux Build Service Account
59664511d0 Merge "qca: mmc: Enabled support for using backup GPT" 2017-06-20 09:40:39 -07:00