Commit graph

35842 commits

Author SHA1 Message Date
Linux Build Service Account
8e311f259f Merge "ipq6018: Enable PMIC reset during abnormal reset" 2019-05-02 12:04:56 -07:00
Linux Build Service Account
2f71d28ccb Merge "ipq6018: pcie: Update PCIe phy init sequence" 2019-05-02 12:04:54 -07:00
Antony Arun T
11329094c2 ipq6018: Enable PMIC reset during abnormal reset
Change-Id: I353f13f8b7ca286ad7c1bcd2d5c162e5592b2a86
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2019-04-30 02:17:42 -07:00
Balaji Prakash J
2313fbc47f ipq6018: pcie: Update PCIe phy init sequence
There is a change in reference clock(XO) frequency of
ipq6018(24MHz) from ipq807x(19.2MHz). Accordingly,
updated the phy init sequence of PCIe.

Change-Id: I86230187a46fec16a87acfaa17cfa27dc1eb728c
Signed-off-by: Balaji Prakash J <bjagadee@codeaurora.org>
2019-04-30 00:05:57 -07:00
speriaka
257ca0322e uboot: dts: ipq6018: Add mdio gpio information
Change-Id: Ia3965c38197a7772fcb91882a414d599b0c2fcc5
Signed-off-by: speriaka <speriaka@codeaurora.org>
2019-04-29 22:56:10 -07:00
speriaka
f91df70bc5 u-boot: ipq6018: eth: Add mdio gpio config from DTS
Change-Id: I6d8288e2450415bb2a1616b0ecb63b2714ecfa47
Signed-off-by: speriaka <speriaka@codeaurora.org>
2019-04-29 22:56:06 -07:00
sameeruddin shaik
241e5e86b0 ipq807x: Add support for Toshiba 128M nand
This device is a non onfi device, so adding the device id and
oob details to nand_ids table.
This device is non onfi device, so adding the device id
and oob information in the nand_ids table.
1.pagesize:2048 bytes
2.oob size:128bytes
3.Ecc:8bits for 512 bytes
4.Man & dev id: 0x98 0xa1
Change-Id: I69763ea28fc3f81a74cacad4338b6d55c42d93b6
Signed-off-by: sameeruddin shaik <samesh@codeaurora.org>
2019-04-29 02:39:11 -07:00
Antony Arun T
9efa8ffd84 ipq6018: read malibu reset gpio from dts
Change-Id: I62fbc11bf02532d73c96555aa8c29434274ec1a1
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2019-04-24 12:22:14 +05:30
speriaka
be3c3916ba dts: ipq6018: Added ethernet support nodes
Change-Id: Ia82de30bd4f92baed1e8723a893954caba3c146c
Signed-off-by: speriaka <speriaka@codeaurora.org>
2019-04-17 15:35:23 +05:30
Antony Arun T
47fdb7070f ipq6018: Enable memory dump collection during abnormal reset
Change-Id: I5196f33f6fd0053762bfaa5795158fc13a18641d
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2019-04-08 02:58:39 -07:00
Linux Build Service Account
d9591b6b87 Merge "sysupgrade: Fix compiler warnings" 2019-04-05 13:05:16 -07:00
Linux Build Service Account
e17908ab59 Merge "dts: ipq6018: Add support for cp03-c1" 2019-04-05 05:35:23 -07:00
Naresh Kumar Mehta
488a613637 sysupgrade: Fix compiler warnings
Change-Id: I69e4d5cf06212feb9e67d7071779846581096bec
Signed-off-by: Naresh Kumar Mehta <naresh@codeaurora.org>
2019-04-05 17:41:16 +05:30
Linux Build Service Account
be5e618364 Merge "dts: ipq6018: Add support for CP02-C1" 2019-04-03 16:08:50 -07:00
Linux Build Service Account
f3c79f19c4 Merge "ip1807x:Initial commit for Minidump" 2019-04-03 08:47:07 -07:00
Antony Arun T
9a53f782c0 dts: ipq6018: Add support for cp03-c1
Change-Id: Ia51e15e7d8fed26d0659442727dc4cfd460e6d9c
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2019-04-03 14:45:58 +05:30
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
Venkat Raju Sana
2e7684f3f9 ip1807x:Initial commit for Minidump
Change-Id: If08d31ebb009d6b37ee55861644ab1f11a46ac98
Signed-off-by: Venkat Raju Sana <vrsana@codeaurora.org>
2019-03-29 12:47:06 -07:00
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