Commit graph

35661 commits

Author SHA1 Message Date
Venkat Raju Sana
a80c2f0118 ipq6018: Enable i2c subsytem
Change-Id: Ia727b07803f738588241b8406f125ec3f9ac1472
Signed-off-by: Venkat Raju Sana <vrsana@codeaurora.org>
2018-11-15 09:56:10 -08:00
Venkat Raju Sana
f015dd1bbb ipq6018:Enable eMMC
ipq6018 suppports only SDHCI mode.

Change-Id: I55246e3d994c6db7dd84c955c7186c256fc61bd5
Signed-off-by: Venkat Raju Sana <vrsana@codeaurora.org>
2018-11-02 09:52:17 -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
Balaji Prakash Jagadeesan
bd6ce22a08 ipq806x: qca_mmc: capture the errors during write to fifo
This patch checks for the errors during the fifo write itself
like in qca_pio_read function. Previously, error was checked
only after the total xfer_size is written to the fifo and
errors during the fifo write operation were ignored.

Change-Id: I2a549b0032bfd774973773cc49b595c75682aac7
Signed-off-by: Balaji Prakash Jagadeesan <bjagadee@codeaurora.org>
2018-08-30 15:16:15 +05:30
Pavithra Palanisamy
dee623dbe1 ipq: Add entries to expose SoC version details
Change-Id: I6a270fc275938b80de51e122382d0267bb9d25da
Signed-off-by: Pavithra Palanisamy <pavip@codeaurora.org>
2018-08-29 20:29:59 -07:00
Sasirekaa Madhesu
4d4937c11b ipq806x: Added support for AP-148_1XX board
Change-Id: Id15f8b4e361fcae07ace2f5d037aaba5e50a38aa
Signed-off-by: Sasirekaa Madhesu <smadhesu@codeaurora.org>
2018-08-27 18:10:06 +05:30
Vinoth Gnanasekaran
19060d2532 ipq4019: fdt_fixup: Delete the 'sd-ldo-gpios' property from sdhci node
power-on write protection also gets cleared during sd-ldo toggle in
the kernel. This toggle is required only for SD card. So, If the eMMC
card inserted, sd-ldo removed from the device tree.

Change-Id: Ib59a20754c840c76da9ad10d4d36b21dee36cd5b
Signed-off-by: Vinoth Gnanasekaran <vgnana@codeaurora.org>
2018-08-24 19:12:11 +05:30
Vinoth Gnanasekaran
ebf3f29127 Revert "ipq: mmc: call board_flash_protect based on board's flashtype"
This reverts commit 0f86dd5445.
2018-08-24 15:54:12 +05:30
Gokul Sriram Palanisamy
6eba23c6c0 qca: Removed duplicate header file qca_common.h
Change-Id: I437d016bce46b21a1d93520f4f28cfa7b2f3e3e5
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2018-08-20 06:21:41 -07:00
Gokul Sriram Palanisamy
c0b0448441 crashdump: Moved dump functions for code sanity
Change-Id: Ib8d2f093881948764e18c1e3e5d64a1e1281a305
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2018-08-20 06:21:32 -07:00