Commit graph

35825 commits

Author SHA1 Message Date
Antony Arun T
ae32d441d8 dts: ipq6018: Add support for CP02-C1
Change-Id: I1114f6afcac39a7dcde9beef675a7ec723d41f8f
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2019-04-03 14:42:44 +05:30
Antony Arun T
57f9843498 dts: ipq6018: Enable support for cp01
Change-Id: If849c9b741de0763726831b5818a9e7f5f9815c4
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2019-04-03 14:40:00 +05:30
Antony Arun T
3210ceb503 dts: ipq6018: Configuring spi nor and nand gpio's in common soc file
Change-Id: I6d7dce08765a5ada48362117dec79e5b558807ca
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2019-04-03 14:36:27 +05:30
Antony Arun T
58e4e2036b dts: ipq6018: configuring spi nor gpio's in emulation
Change-Id: I7cf174af173fde5e506dae3388fb3906fcad614b
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2019-04-03 14:24:56 +05:30
Naresh Kumar Mehta
ca8b173e47 sysupgrade: Remove duplicate declaration
Change-Id: I463a5d7252b54c850ac2e5c9d8b3c679455d66c5
Signed-off-by: Naresh Kumar Mehta <naresh@codeaurora.org>
2019-04-01 14:24:07 +05:30
Sham Muthayyan
3fae57ba45 ipq807x: Fix the AQ CRC check
Change-Id: I2fce05ebb88d0af132ad8542e3d92b05082089fd
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2019-03-28 07:05:17 -07:00
Linux Build Service Account
53b01bbfd0 Merge "ipq6018: configuring SDHC1_AHB_CBCR clock" 2019-03-28 02:06:02 -07:00
Linux Build Service Account
f26eff17cc Merge "ipq807x: Remove support for OAK01" 2019-03-27 06:12:12 -07:00
Antony Arun T
1d89a6f1da ipq6018: configuring SDHC1_AHB_CBCR clock
Change-Id: I818e5cc0da74240a78ffeb15a1765be4501f6756
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2019-03-26 12:41:54 +05:30
Pavithra Palanisamy
9ece7667e4 ipq807x: Remove support for OAK01
Change-Id: I5629284ef1f3f726fbe1c92e9d5fff564344544e
Signed-off-by: Pavithra Palanisamy <pavip@codeaurora.org>
2019-03-25 19:56:48 +05:30
Pavithra Palanisamy
ccac2392f7 pack: Add support to pack CDTs based on specific memory profiles
Change-Id: I0de52b34ae0dbbc4971e8df48679a192ff1b1609
Signed-off-by: Pavithra Palanisamy <pavip@codeaurora.org>
2019-03-25 16:47:42 +05:30
speriaka
b0ced6d35e u-boot: dts: ipq6018: Update kernel config
This patch updates the config from c1 to
emulation-c3

c3 config will be used for full boot chain and
c1 config will be used for standalone kernel.

Change-Id: Iffb85184513e5cba38349f638d7eaac7ce020375
Signed-off-by: speriaka <speriaka@codeaurora.org>
2019-03-22 14:23:54 +05:30
speriaka
56edbd5cae uboot: ipq6018: update reset scm call parameters
The scm parameters are different for ipq6018. Updated
parameters appropriately as needed for supporting both
ipq6018 and ipq807x.

Change-Id: I3413013c29a5afce36361f7a38f930dadfd34a3d
Signed-off-by: speriaka <speriaka@codeaurora.org>
2019-03-13 01:51:58 -07:00
Sham Muthayyan
55a8ed05cc ipq807x: Fix the 100M speed for napa port
Change-Id: I172adf7ce590334b21631288abfc566c0452e20b
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2019-03-12 04:01:39 -07:00
sameeruddin shaik
441cf444f8 ipq40xx: make sure that the cache flush instruction gets complete
Adding the DSB/ISB instructions in the dcache flush functions
 to make sure that the cache flush instruction gets completed
before another instruction executes.

Change-Id: I0bc2222cb040a96cc7413586b9131904bd5d1167
Signed-off-by: sameeruddin shaik <samesh@codeaurora.org>
2019-03-08 11:32:10 +05:30
Linux Build Service Account
90f4f9344b Merge "ipq807x: Add SFP TX reset" 2019-03-05 09:07:18 -08:00
Linux Build Service Account
096dbc0aec Merge "ARM: dts: ipq6018: Removed timer base from device tree" 2019-03-05 05:36:58 -08:00
Sham Muthayyan
5159c61570 ipq807x: Add SFP TX reset
Change-Id: I0f01a9c2b1b749220853c91af8fc9297e5fa5e80
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2019-03-04 22:44:44 -08:00
speriaka
306a18db82 arch: dts: ipq6018: Update EMU config name
Change-Id: Idaaad6d8959dabce6dab99d924e535ed62367a59
Signed-off-by: speriaka <speriaka@codeaurora.org>
2019-03-04 11:25:39 +05:30
Antony Arun T
a463618789 ARM: dts: ipq6018: Removed timer base from device tree
We have timer enabled by default. We don't want the
register re-written as it is write protected by the
underlying layer.

Change-Id: Ia43e4b973c30a5e492b7d048714b21fc5a56be9e
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2019-03-01 13:02:46 +05:30
Linux Build Service Account
0115aa50b8 Merge "ipq40xx: driver: mmc: Added erase quirk for eMMC part" 2019-02-28 09:07:16 -08:00
Md Sadre Alam
9b5bbf1e0e ipq40xx: driver: mmc: Added erase quirk for eMMC part
eMMC part THGBMNG5D1LBAIT (Toshiba 4GB) is taking long time for
the secure trim.This leads to erase timeout. Manufacturer ID based
quirk is added for the specific part to use trim instead of secure
trim for block erase.

without this change we can see the error erase timeout and erase failed.
error:

MMC erase: dev # 0, block # 6690, count 2047 ... sdhci_send_command:
MMC: 0 busy timeout increasing to: 2000 ms.
sdhci_send_command: MMC: 0 busy timeout increasing to: 4000 ms.
timeout.
mmc erase failed
-1 blocks erased: ERROR

Change-Id: I1126690400b274bb4735750584d7fb4b105e6618
Signed-off-by: Md Sadre Alam <mdalam@codeaurora.org>
2019-02-28 14:14:22 +05:30
Balaji Prakash J
a385a03ec3 ipq6018: usb: Update USB init and deinit functions
There is a change in reference clock(XO) frequency of
ipq6018(24MHz) from ipq807x(19.2MHz) platform.
So,  updated USB phy init sequence. Also, updated
clock init and usb deinit functions.

Change-Id: Ie48867d1c0740562e2c108ef3b2caa187fa95485
Signed-off-by: Balaji Prakash J <bjagadee@codeaurora.org>
2019-02-27 19:00:34 +05:30
speriaka
71b149cba9 ipq6018: Update SPI devices and SPI info idx
This patch modifies the SPI devices and SPI
info idx to 2. This is necessary because ipq6018
platform has support for both SPI NOR and
SPI NAND

Change-Id: I0fcdd4a43cd95e4c21b738fda193672fc51bf75f
Signed-off-by: speriaka <speriaka@codeaurora.org>
2019-02-25 12:53:58 +05:30
Nikhil Prakash V
7f0fff151b ipq807x: Disable dump collection during warm reset.
This is to provide software framework to retain IMEM’s state
across warm reset. For warm reset crashdump collection should be
disabled.

In uboot we will check for the environment variable dload_warm_reset.The
crashdump magic is reset to 0x10 in SDI path, hence disable the SDI bit
in Uboot  if environment variable is set which will disable crashdump 
collection. 

Change-Id: Ic60b63ead03436689ee04d2e3e7ecdbb275ccfee
Signed-off-by: Nikhil Prakash V <nprakash@codeaurora.org>
2019-02-22 00:46:43 -08:00
Linux Build Service Account
c6101849ba Merge "ipq6018: usb: Skip usb deinit in emulation" 2019-02-21 00:35:25 -08:00
Linux Build Service Account
843831b8eb Merge "driver: mmc: sdhci: Add condition for DAT inhibit bit." 2019-02-20 13:05:28 -08:00
Md Sadre Alam
ca63b592db driver: mmc: sdhci: Add condition for DAT inhibit bit.
This change will handle masking of DAT inhibit bit of
present state register. This status bit is genarated if
either the DAT Line Active or Read Transfer Active is set to
1. If this bit is 0, it indicates the host controller can issue
the next command.

Commands with busy signal belong to Command Inhibit(DAT).
e.g (R1b, R5b type).

Changing from 1 to 0 generates a transfer complete interrupt
in normal interrupt status register.

If this bit value is 1: Cannot issue command which uses DAT line.
If this bit value is 0: Can issue command which uses DAT line.

This change is masking SDHCI_DATA_INHIBIT bit only if card is in
busy state.

Without this change we can get the erase timeout error.
error:
MMC erase: dev # 0, block # 27682, count 16383 ...
sdhci_send_command: MMC: 0 busy timeout increasing to: 2000 ms.

Change-Id: I0612e576c09a7fd077bed1a1ee717afcddfa7e87
Signed-off-by: Md Sadre Alam <mdalam@codeaurora.org>
2019-02-20 14:22:12 +05:30
Balaji Prakash J
c27270dc2e ipq6018: usb: Skip usb deinit in emulation
In emulation, during full boot chain, usb clocks are
disabled during usb deinit in uboot. In kernel,
we are using dummy clock driver for emulation.
In order for the usb clocks to be enabled while
kernel boot up, skipped usb deinit in uboot.

Change-Id: I47de9da5a6afbed524659e936eb8215e03a99ac0
Signed-off-by: Balaji Prakash J <bjagadee@codeaurora.org>
2019-02-20 08:39:18 +05:30
Antony Arun T
f5e48f3e59 ipq6018: Enabling Ethernet support
Change-Id: If49c5b86fb08bda0ab29d7663fa0f8fca9a9f5bb
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2019-02-15 18:55:16 +05:30
Md Sadre Alam
0164b14f3e ipq807x: Add fixed HW key support.
This change will add to support "qce_fixed_key" as
environmen variable. If "qce_fixed_key" environmen variable
set then "qce,use_fixed_hw_key" dts property set in kernel.

This property will use for fixed HW key selection.

Change-Id: I9b94d0a2b4e48dac92eccd95f42bedd8b990b723
Signed-off-by: Md Sadre Alam <mdalam@codeaurora.org>
2019-02-13 17:07:25 +05:30
Nikhil Prakash V
18c7f6a7c9 ipq807x: Support for warm reset.
Added support for warm reset to retain IMEM state.

If dload_warm_reset environment variable is set, then dload_status and
dload_warm_reset dts entry in kernel will be set to 1. This will be used for
disabling crashdump and sdi and also to set crashdump magic to 0x20.

Change-Id: Ie8c32e9d619c910d0f12f93374ee45bc1c8379a0
Signed-off-by: Nikhil Prakash V <nprakash@codeaurora.org>
2019-02-12 18:46:02 +05:30
Linux Build Service Account
8dc1dfe500 Merge "ipq807x: Add dts support for AC03 and AC04" 2019-02-11 07:34:16 -08:00
Gokul Sriram Palanisamy
02f0b79baa pack.py: Updated base addr 64-bit kernelboot image
Change-Id: I48bcb258b42a8746e462cb27810d65300562a585
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2019-02-09 02:25:28 -08:00
Linux Build Service Account
ebec6a21fd Merge "ipq807x: Moved ethernet PHY configs" 2019-02-08 15:34:13 -08:00
Linux Build Service Account
9289c77393 Merge "ipq807x: Moved Peripheral configs to defconfig" 2019-02-08 15:34:13 -08:00
Linux Build Service Account
c6c331646d Merge "pack: ipq807x: Enable norplusnand single-image for 4K pagesized NAND" 2019-02-08 09:06:32 -08:00
Gokul Sriram Palanisamy
9189ae97f1 ipq807x: Moved ethernet PHY configs
Moved Aquantia, QCA8033, QCA8075 and QCA8081
PHY configs to defconfig.

For tiny u-boot variant, except QCA8075 all
other PHYs are disabled.

Change-Id: Iaafa848bf7d578bfa3bcdaf0cfcb815ecfef067f
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2019-02-08 01:03:04 -08:00
Pavithra Palanisamy
023b054b07 ipq807x: Add dts support for AC03 and AC04
Change-Id: I97ec4d0569d9441055b6b929cd6e05e564658feb
Signed-off-by: Pavithra Palanisamy <pavip@codeaurora.org>
2019-02-08 12:01:06 +05:30
Gokul Sriram Palanisamy
f7b08a8210 ipq807x: Moved Peripheral configs to defconfig
Moved PCI, USB and I2C configs to defconfig and
disabled for tiny variant to reduce image size.

Change-Id: I8dfdd75057527779e7af246bea796a22d50575fc
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2019-02-07 20:47:40 +05:30
Pavithra Palanisamy
6b627e2d3f ipq807x: Add dts support for HK10
Change-Id: Ib0ecca91b70d1fd26d1a9cbc018f42b9ed37d77d
Signed-off-by: Pavithra Palanisamy <pavip@codeaurora.org>
2019-02-07 17:42:21 +05:30
Linux Build Service Account
b2c0e2c88f Merge "ipq807x: Added new defconfig" 2019-02-06 00:34:26 -08:00
Gokul Sriram Palanisamy
29c196b0ae ipq807x: Added new defconfig
Added a new defconfig ipq807x_tiny_defconfig
for a smaller footprint.

Change-Id: I01f6ed468b90717cc608bd108356f2ebe6dcc7e2
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2019-02-04 21:27:16 -08:00
Linux Build Service Account
e6fb823d5e Merge "ipq6018: Remove SDCC_MCI_POWER register write" 2019-02-04 21:04:48 -08:00
Antony Arun T
c7dac12ed5 ipq6018: Remove SDCC_MCI_POWER register write
As ipq6018 is not supporting MCI mode, removing MCI register write.

Change-Id: I330cd20b5b967992e86969ab6005a81e48e62506
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2019-02-04 17:58:01 +05:30
Pavithra Palanisamy
8bf2bc5bdf pack: ipq807x: Enable norplusnand single-image for 4K pagesized NAND
Change-Id: If3d2971d2edb9c2770cea8e0f3cefbc004a72241
Signed-off-by: Pavithra Palanisamy <pavip@codeaurora.org>
2019-02-04 15:55:56 +05:30
Gokul Sriram Palanisamy
c95c32e1dc pack.py Fixed kernelboot image file path
Change-Id: I15bc640c4d0df03e4b8f9372fedc39356327dd07
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2019-02-04 12:35:51 +05:30
Linux Build Service Account
4658cc1170 Merge "ipq6018: Ading BLSP1 SPI DEASSERT Register" 2019-02-01 07:05:26 -08:00
Linux Build Service Account
3eaa13f338 Merge "pack.py: Fixed missing '/' in the file path" 2019-01-31 11:06:36 -08:00
Linux Build Service Account
685d5e6d3f Merge "ipq6018: Support for new smem version" 2019-01-31 11:06:36 -08:00