Commit graph

35668 commits

Author SHA1 Message Date
Gokul Sriram Palanisamy
f89da93d58 fdt_fixup: Reduced wcnss and wifi_dump sizes
If env variable "low_mem_mode" is set,
wcnss and wifi_dump reserved memory sizes
are reduced to 55M and 2M respectively.

Change-Id: I1412ba16507f809a344ae133a91ae486e54836c5
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2018-11-08 18:10:19 +05:30
sameeruddin shaik
9ad98fee86 ipq806x: Added new scm_atomic_call
use scm_atomic_call to access the usb_mode_controller
register in u-boot.

Change-Id: I9523f2dcf312fa1526d6b7052e98a0d9489c1701
Signed-off-by: sameeruddin shaik <samesh@codeaurora.org>
2018-11-05 01:29:32 -08:00
Sham Muthayyan
8eb2f9b3cb Revert "ipq807x: Disable PCI in dts for HKV2"
This reverts commit 51ac77307a.
2018-10-31 23:33:05 -07:00
Pavithra Palanisamy
f29bf1f4bd ipq: Add support to pack wififw images on availability
This change adds "optional" property to avoid pack error
on unavailability of wififw version-specific binaries and
abort while flashing.

Change-Id: I7351e3e717f12b1e730db710b4364404d177768d
Signed-off-by: Pavithra Palanisamy <pavip@codeaurora.org>
2018-10-30 21:52:46 -07:00
Sham Muthayyan
0794c3bc41 ipq807x: Add Malibu phy serdes reset and uniphy calibration for PSGMII mode
The malibu phy stucks if the continuous tftp, ping and reboot tests in the
long run. Added the Malibu phy serdes and uniphy calibration for PSGMII mode.

Change-Id: Ie2e0dc363689fff69011560994b37adf6da76a17
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2018-10-26 05:19:56 -07:00
Sham Muthayyan
97572e5c82 ipq807x: Add AQ112C phy support
Change-Id: I6f51a7cefab21cdcf663b8927756e1b84d636d0e
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2018-10-26 05:19:18 -07:00
Sham Muthayyan
3dafe3b072 ipq807x: Add Aquantia phy restart command
Change-Id: I6c714ea861e00a37bee80e074bac7652a45be349
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2018-10-26 05:19:05 -07:00
Linux Build Service Account
7b6029559d Merge "ipq807x: Disable the TX MAC in PPE during init" 2018-10-24 10:05:58 -07:00
Sham Muthayyan
2f5487d020 ipq807x: Disable the TX MAC in PPE during init
Change-Id: Ia3b3918ad64c94cf72b0bf4932e40f33a2b17f1b
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2018-10-23 23:43:47 -07:00
Antony Arun T
39d2121738 ipq6018: enabling nand flash support
Change-Id: I4b8fb686d958668d6dcfeea1060aa877a228f71b
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2018-10-22 10:54:35 +05:30
Gokul Sriram Palanisamy
2e22dca77d ipq806x: Fixed UART TX FIFO corruption
During serial init after relocation, if TX FIFO is
not empty, clock init on-the-fly causes baudrate
flucutation resulting in TX data corruption and
outputs as garbage data on the console.

This patch fixes this by waiting until TX FIFO
gets flushed before serial initialization starts.

Change-Id: I487c73fbfb4fdb80b20d8beb8daa111ee9bae34e
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2018-10-17 03:06:52 -07:00
Linux Build Service Account
fd56657921 Merge "ipq6018: Enabling support for SPANSION SPI Flash" 2018-10-16 20:48:32 -07:00
Linux Build Service Account
c08d644a9b Merge "ipq: Force crashdump collection" 2018-10-16 15:33:37 -07:00
Nikhil Prakash V
1df0c30ce9 ipq: Force crashdump collection
Force the crashdump collection based on environment variable. If the
environment varibale force_crashdump is set then we will proceed directly
with the crashdump collection, else we will wait for user input
for 10s before going for crashdump collection.

Change-Id: Ida500bd060dcdd46736e9ea950a0009353abcbf1
Signed-off-by: Nikhil Prakash V <nprakash@codeaurora.org>
2018-10-16 18:11:12 +05:30
Antony Arun T
5a8b5746d1 ipq6018: Enabling access to environment variables in flash
Change-Id: Ifa35b4794ab6c917b5da34a77587b27f0b9793b8
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2018-10-16 17:22:37 +05:30
Antony Arun T
cf035b1edb ipq6018: Enabling support for SPANSION SPI Flash
Change-Id: I7c259385cc27e05fd6a87794176b36464088bc6f
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2018-10-16 11:33:27 +05:30
Antony Arun T
cb7e1ff2ce ipq6018: Adding SPI NOR support
Change-Id: I647ef1358a5d509d58b4d9874ea386e9fa64594b
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2018-10-11 16:37:27 +05:30
Antony Arun T
b07bc61647 ipq6018: enable serial console support for emulation
Change-Id: I96bef704b2717a832a728c537f5693fbbf4ea658
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2018-10-10 11:39:22 +05:30
Vasudevan Murugesan
51ac77307a ipq807x: Disable PCI in dts for HKV2
Change-Id: I02f32ce7f22cc9b628307a1014205ff19bb0576d
Signed-off-by: Vasudevan Murugesan <vmuruges@codeaurora.org>
2018-09-29 01:15:35 +05:30
Antony Arun T
8e3df1e294 ipq6018: Setting freq to 240 Khz for ipq6018 EMU
ipq6018 CXO is 24 MHz. It is downscaled by 1/100
to 240 KHz for EMU platform.

Change-Id: Id94e4f9cb3516e6d0750d89596c0153018fb9674
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2018-09-27 19:01:47 +05:30
Gokul Sriram Palanisamy
acf1b5cb51 fdt_fixup: Deleted cpu operating point, nss supply
Deleted cpu operating point opp06,
npu-supply and mx-supply from nss.

Change-Id: I0b8c464d6d93c2af24958ddd84e89b3fbd87641b
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2018-09-23 23:47:22 +05:30
Linux Build Service Account
17cfa04ac2 Merge "bootqca: Device-tree config name made board specific" 2018-09-22 01:05:04 -07:00
Linux Build Service Account
99b39a11c4 Merge "ipq807x: Enabled emmc for DB.HK01" 2018-09-22 01:05:03 -07:00
Linux Build Service Account
fba2a4ea91 Merge "ipq807x: disable PCI" 2018-09-21 18:03:40 -07:00
Gokul Sriram Palanisamy
5f8a5f8916 bootqca: Device-tree config name made board specific
device-tree name suffix with soc version
is made specific to ipq806x

Change-Id: I32913a13929127ff41cec83d1319f0c98fdb3127
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2018-09-22 04:02:05 +05:30
Gokul Sriram Palanisamy
003edf6a05 ipq807x: Enabled emmc for DB.HK01
Change-Id: I4a6a0ca30a2dc33d8b4e03310b935a4ce9493741
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2018-09-22 02:08:01 +05:30
Gokul Sriram Palanisamy
afe76bd642 ipq807x: disable PCI
Change-Id: Ib6884d462168222566e935671277ff8a49ee0952
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2018-09-21 23:59:33 +05:30
Rajkumar Ayyasamy
377c85ed8d qca: ipq6018: Adding support for IPQ6018
Added config, dts and initial board support code for ipq6018

Change-Id: I8cdc6d43f936179733c2c27e2b52dcf3477a892e
Signed-off-by: Rajkumar Ayyasamy <arajkuma@codeaurora.org>
2018-09-20 18:49:55 +05:30
Linux Build Service Account
3fc81744c3 Merge "fdt_fixup: Added cpr fixup for ipq8074 v2.0" 2018-09-20 01:16:38 -07:00
Gokul Sriram Palanisamy
d9444af87a fdt_fixup: Added cpr fixup for ipq8074 v2.0
Change-Id: I931396d400db7fd435c79cef4d111572549316be
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2018-09-19 18:15:30 +05:30
Linux Build Service Account
3785f93831 Merge "ipq40xx: adding support for ESMT(GIGADEVICE) nand flash" 2018-09-18 08:05:40 -07:00
Sham Muthayyan
b20e9626e0 ipq807x: Fix Aquantia port in DB-HK02
Change-Id: I8b0ad580f48f83239180d76bc46dfb3f076cce7f
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2018-09-16 23:50:02 -07:00
Antony Arun T
6b53042f2d ipq40xx: adding support for ESMT(GIGADEVICE) nand flash
Change-Id: Iaf99a3dd0ee79fa75ee7ad97299dcd9fe36679bb
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2018-09-16 21:44:03 -07:00
Linux Build Service Account
7ddecbd613 Merge "compiler*.h: sync include/linux/compiler*.h with Linux 4.5-rc6" 2018-09-14 04:21:42 -07:00
Linux Build Service Account
d0a5ecab1f Merge "ipq807x: Fixed the SGMII mode for channel 0" 2018-09-12 12:07:21 -07:00
Tom Rini
32fb0bdbc8 compiler*.h: sync include/linux/compiler*.h with Linux 4.5-rc6
Copy these from Linux v4.5-rc6 tag.

This is needed so that we can keep up with newer gcc versions.  Note
that we don't have the uapi/ hierarchy from the kernel so continue to
use <linux/types.h>

Signed-off-by: Tom Rini <trini@konsulko.com>
(cherry picked from commit 9b2c282b34)
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2018-09-11 22:38:44 -07:00
Sham Muthayyan
5658fb95e2 ipq807x: Fixed the SGMII mode for channel 0
Change-Id: I91c01e1961be99a94f6398b3aaf6c2470fbb8832
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2018-09-11 05:43:42 -07:00
Sham Muthayyan
cc660eb4c7 ipq807x: Enabled napa and aquantia phy in DB-hk02
Change-Id: Iadaffde34e3af45905535423cb20ea71d0081644
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2018-09-11 05:43:22 -07:00
Pavithra Palanisamy
06f249ac4c ipq807x: Modify flash script to flash V1 images in default case.
This change adds support to flash V1 images as if default version is 1,
if the soc version information are not supported in boot loader.

Change-Id: I7867ae3b26032215da45d2a97d61ea7398e152d9
Signed-off-by: Pavithra Palanisamy <pavip@codeaurora.org>
2018-09-11 13:17:44 +05:30
Pavithra Palanisamy
7fb1dc8e4c qca: KW fix for flash command
Change-Id: I330bee105bfd9f27d63f907d179e3561c25ca614
Signed-off-by: Pavithra Palanisamy <pavip@codeaurora.org>
2018-09-06 17:51:43 +05:30
Linux Build Service Account
16f727d7eb Merge "ipq807x: Modified pack script to name images based on version." 2018-09-04 12:33:53 -07:00
Linux Build Service Account
49c32daea3 Merge "ipq: Modified flash command with simplified parameters." 2018-09-04 12:33:50 -07:00
Linux Build Service Account
768bd93bac Merge "qca: Modify kstrtoint() function" 2018-09-03 18:03:06 -07:00
Pavithra Palanisamy
8093a5448b ipq: Modified flash command with simplified parameters.
This change removes the "default" option in existing flash command
and makes use of environment variables in default case.

Change-Id: Ibc6ed68043acc708323b90132686cecf7f2f0d82
Signed-off-by: Pavithra Palanisamy <pavip@codeaurora.org>
2018-09-03 19:58:29 +05:30
Pavithra Palanisamy
5a41b59a6d ipq807x: Modified pack script to name images based on version.
This change modifies the pack script to generate soc-version
specific names for images to be packed into single image.

Change-Id: Ic6406fe0fc164d8c6e7b2622c97915aac2afaac8
Signed-off-by: Pavithra Palanisamy <pavip@codeaurora.org>
2018-09-03 16:31:52 +05:30
Linux Build Service Account
cb09b1a3b7 Merge "ipq: Add entries to expose SoC version details" 2018-09-01 15:03:01 -07:00
Linux Build Service Account
820d49ad87 Merge "ipq807x: Modify pack script to flash SoC-version specific binaries" 2018-09-01 15:03:01 -07:00
Pavithra Palanisamy
e34f309ed1 ipq807x: Modify pack script to flash SoC-version specific binaries
Change-Id: I6903a732e83d716763f04c18ed45e54edb995783
Signed-off-by: Pavithra Palanisamy <pavip@codeaurora.org>
2018-08-31 21:50:16 +05:30
Linux Build Service Account
5223c7bb2f Merge "ipq806x: qca_mmc: capture the errors during write to fifo" 2018-08-31 04:05:33 -07:00
Linux Build Service Account
d507ef592f Merge "ipq806x: Added support for AP-148_1XX board" 2018-08-30 17:33:29 -07:00