Commit graph

73 commits

Author SHA1 Message Date
Anusha Rao
2249c9dcbc configs: ipq: Update runtime failsafe bits
Update the feature to use BIT10 and BIT11 for NONHLOS
and HLOS failure detection instead of BIT9 & BIT10.

Change-Id: Idb649770da0cba63554adce861e901f582637c86
Signed-off-by: Anusha Rao <quic_anusha@quicinc.com>
2022-05-25 21:13:43 +05:30
Ram Kumar D
88f81ffced drivers: i2c: qup: add multi I2C support for all IPQ chipsets
This change adds support to enable multiple I2C bus on all IPQ
platforms. Removed the device specific changes and updated in
a generic way to support multiple I2C on all the IPQ platforms.

Change-Id: Ie13dd744c6317fc9245bc88781e79a9fb3621a62
Signed-off-by: Ram Kumar D <quic_ramd@quicinc.com>
2022-05-16 07:46:51 -07:00
anusha
369ce9f09b ipq: Add support for failsafe boot
Add failsafe boot support to recover from system hang.

Signed-off-by: anusha <anusharao@codeaurora.org>
Change-Id: I49e28a4e88aa16e564065d06f8701dc4f6cb3555
2022-01-03 21:05:45 -08:00
Rajkumar Ayyasamy
cb1e4ebe62 ipq: spi: add multiple spi support
Added read & write bam pipe entires in all the ipq specific dtsi.
Also, updated the spi bam code with generic code changes to enable
the multiple spi support on all ipq chipsets.

Signed-off-by: Rajkumar Ayyasamy <arajkuma@codeaurora.org>
Signed-off-by: Ram Kumar D <ramd@codeaurora.org>
Change-Id: Ibcdb9d2a9ff7a25f3d296ecdb1aca403511e07d7
2021-11-19 12:26:31 +05:30
Karthick Shanmugham
bce99ec378 ipq: cmd: Disabled the cache commands
Disabled the cache commands config CONFIG_CMD_CACHE. This changes
removes the icache and dcache commands.

Signed-off-by: Karthick Shanmugham <kartshan@codeaurora.org>
Change-Id: I0cfd4df12e452a15861f0df7f4512234113d315a
2021-03-18 18:19:26 -07:00
Balaji Prakash J
052e3eeb21 ipq6018: Add support to enable crashdump compression
Added entries in the dumpinfo structure to support
compressed crashdump collection.

Change-Id: I3a512708fe1a4bb936b8465fb50caab31d8e686c
Signed-off-by: Balaji Prakash J <bjagadee@codeaurora.org>
2019-12-12 17:08:10 +05:30
Balaji Prakash J
8b945c1550 ipq: fdt_fixup: Add support to change dts params using env
The env name should "fdtedit" followed by number from 0.
example: fdtedit0, fdtedit1, fdtedit2, ...

Set the number of envs to parse, "setenv fdteditnum <number>"
<number> can be between 1 to 99. eg: "setenv fdteditnum 5"

Without setting 'fdteditnum' fdtedit envs will not parsed.

To change add/change a particular property of a node:
setenv fdtedit0 <node_path>%<property>%<value>
example:
fdtedit0=/soc/qca,scm_restart_reason%qca,coldreboot-enabled%1
fdtedit1=/soc/usb3@8A00000/dwc3@8A00000%dr_mode%?peripheral

To delete a property of a node:
setenv fdtedit0 <node_path>%delete%<property>
example:
fdtedit2=/soc/q6v5_wcss@CD00000%delete%?qca,secure

The last param in both case, if it is a string, it should
start with '?' else if it is a number, it can be put directly.
check above examples for reference.

Change-Id: Ib22ec8098925b49b013bc115f11e043bf8ab3ef5
Signed-off-by: Balaji Prakash J <bjagadee@codeaurora.org>
2019-12-04 12:38:49 +05:30
Rajkumar Ayyasamy
84c8701aa4 ipq: tzt: add xpu config test support
Change-Id: Ia981f59ea3dd52f23a4c757ff424cb0656e4435c
Signed-off-by: Rajkumar Ayyasamy <arajkuma@codeaurora.org>
2019-11-01 15:49:24 +05:30
Prasanna Kumar Thoorvas Samyrao Muralidharan
dcfb86f9d9 reset: Use correct scm id for pshold
Incorrct scm id was used for pshold. Use correct value instead.

Change-Id: Ife5c5d73cd007865234e4c899304a861f6c4ea9d
Signed-off-by: Prasanna Kumar Thoorvas Samyrao Muralidharan <ptsm@codeaurora.org>
2019-09-17 03:24:10 -07:00
Rajkumar Ayyasamy
04d99019b2 ipq6018: add support to flash individual ubi volumes
Change-Id: I660879ffa28437eb88faa04ee61d329c224d16f9
Signed-off-by: Rajkumar Ayyasamy <arajkuma@codeaurora.org>
2019-09-13 15:13:08 +05:30
Linux Build Service Account
5c53b6e55d Merge "ipq6018: Added support for tiny variant of u-boot" 2019-07-29 13:40:02 -07:00
Linux Build Service Account
eca346c998 Merge "Minidump: Modify size of crashdump buffer" 2019-07-26 04:12:07 -07:00
Rajkumar Ayyasamy
c5e175c4eb ipq6018: Added support for tiny variant of u-boot
In tiny u-boot variant, PCI, USB and Aquantia Phy support
has been disabled.

Change-Id: I3057839ed9756755a8bd77bc8d208880dbce4c5b
Signed-off-by: Rajkumar Ayyasamy <arajkuma@codeaurora.org>
2019-07-24 16:10:09 +05:30
Gitanjali Krishna
e186e90535 Minidump: Modify size of crashdump buffer
This change modifies size of crashdump buffer to
12K from 16K for ipq60xx and ipq807x

This change also makes dumping of crashdump TLVs more
generic and does not assume any fixed positions for
static or dynamic dump segments

Change-Id: I9723ebf55e4a6db3360b3370a2c6e15d22741e08
Signed-off-by: Gitanjali Krishna <gitanjal@codeaurora.org>
2019-07-23 12:04:31 -07:00
Antony Arun T
70138cb1cd ipq6018: memory layout: moving SYS_TEXT_BASE to 0x4A400000
moving SYS_TEXT_BASE to 0x4A400000, so that the 3MB
from 0x4A100000 to 0x4A400000 will be used for u-boot
stack and heap and the memory from 0x4A400000 to 0x4A500000
will be used for the u-boot code.

Change-Id: Ibe88b31ff4e2926f5f7c8923ffe69e5d3d5940ae
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2019-07-22 21:31:39 -07:00
Antony Arun T
cc9f67f70f ipq6018: enable mtest support
Change-Id: I27f13c29c09725c424884d3e62864888a3e3f763
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2019-07-10 12:57:09 +05:30
Antony Arun T
374d35d431 ipq6018: crashdump: fixing tz end address and EBICS0 size
Change-Id: Ib898c2e1f391208f21bd88175bc68cae7aa57a4b
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2019-07-04 22:12:56 -07:00
speriaka
c0eefc1e4a drivers: net: ipq6018: Add support for AQ and SFP
This patch adds support for AQ and SFP Ports.

Change-Id: I9bb597007b84a7b24608bd2d225b9a9bae551706
Signed-off-by: speriaka <speriaka@codeaurora.org>
2019-07-02 02:32:01 -07:00
Gitanjali Krishna
5fdd05b65a u-boot-2016: Enable minidump feature for ipq6108
Change-Id: I00328f6305c776d0a0ff1af3a3410e9fe0e48f01
Signed-off-by: Gitanjali Krishna <gitanjal@codeaurora.org>
2019-06-27 16:30:13 -07:00
Antony Arun T
6f36bfc173 ipq6018: Enable multicore
Change-Id: Iba9420f27342554a4351b774d03606bb8e2ec2cf
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2019-06-24 00:14:00 -07:00
Linux Build Service Account
06d1d60bbb Merge "ipq6018: Enabled DEVICE_NULLDEV" 2019-06-17 07:06:33 -07:00
speriaka
feb8361018 ipq6018: Enabled DEVICE_NULLDEV
Enabled DEVICE_NULLDEV to redirect unwanted console prints.

Change-Id: I8167cc1efe9e58a4a415be11d468078ce98a72c6
Signed-off-by: speriaka <speriaka@codeaurora.org>
2019-06-17 12:51:54 +05:30
Antony Arun T
100bb422ce ipq6018: Fixing cold reboot issue during crash in kernel
the information required for deciding whether to go
for cold/warm reboot is in TZ_WONCE_4 and not in TZ_WONCE_3 register.

Change-Id: If86864a2356c7e862153dbfea098b81cffce0c99
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2019-06-13 15:54:30 +05:30
Antony Arun T
7c35e421d7 ipq6018: Enable cache command
Change-Id: I8a6a768346742508889f1a1e611809ca359f987c
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2019-06-10 22:04:38 -07:00
Antony Arun T
26787b36f9 ipq6018: fix macro redefined warnings
Change-Id: I7c8be82ce2fdf91ddd80d301993a5d9a1770ee54
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2019-06-10 11:32:16 +05:30
Linux Build Service Account
fa86d8cc07 Merge "ipq6018: usb: Enable USB" 2019-05-28 04:35:50 -07:00
Balaji Prakash J
b01cd46b73 ipq6018: usb: Enable USB
set sw_override bit in USB GDSCRs

Change-Id: I1eba91e4d5ae54c80523c3103e0412af824d585b
Signed-off-by: Balaji Prakash J <bjagadee@codeaurora.org>
2019-05-27 18:50:26 +05:30
Kathiravan T
0939c7086b ipq6018: enable run and flash command
Change-Id: I01068fb36d7e004a62a888dc6afa63d8e7c668ad
Signed-off-by: Kathiravan T <kathirav@codeaurora.org>
2019-05-27 11:51:22 +05:30
Linux Build Service Account
34c67d2e8f Merge "MINIDUMP:Fix for TLV buffer overflow" 2019-05-24 14:06:35 -07:00
Venkat Raju Sana
0f149a240a MINIDUMP:Fix for TLV buffer overflow
Change TLV message buffer offsets to match with kernel
that has been adjusted to use last 16K of memory
allocated for crashdump buffer. This was done to
accomodate greater number of dump segemnts.

Change-Id: Idb8c1bab6a0900152a9d413382b2b3c87a19170e
Signed-off-by: Venkat Raju Sana <vrsana@codeaurora.org>
2019-05-23 12:11:36 -07:00
Antony Arun T
bd3643bf63 ipq6018: disable USB
Change-Id: If8d612b7e889adf3cad748b0597ea99e07053cb4
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2019-05-23 16:16:38 +05:30
Linux Build Service Account
dc46d0fd8b Merge "ipq6018: Disable SPI NAND" 2019-05-14 23:35:36 -07:00
Linux Build Service Account
912abe3745 Merge "ipq6018: fix CONFIG_SYS_BOOTM_LEN size" 2019-05-14 21:06:22 -07:00
Linux Build Service Account
475f65595b Merge "ipq6018: fixing CONFIG_TZ_END_ADDR address" 2019-05-14 18:35:09 -07:00
Linux Build Service Account
248eb09869 Merge "ipq6018: Enable SCM calls" 2019-05-14 18:35:08 -07:00
Antony Arun T
3fbb3a9bf3 ipq6018: fixing CONFIG_TZ_END_ADDR address
Change-Id: Iace79c039eaf7dbce5c1c9dadb34b0c33fe7d734
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2019-05-14 16:54:16 +05:30
Antony Arun T
c1ef3067f2 ipq6018: fix CONFIG_SYS_BOOTM_LEN size
Change-Id: I79a28d3f067faf692f287875116107f076f749c0
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2019-05-14 11:26:57 +05:30
speriaka
f550f0d1ee ipq6018: drivers: net: Fix net driver
Change-Id: I23963835bd599cb49abae4640645fd0b63a634f4
Signed-off-by: speriaka <speriaka@codeaurora.org>
2019-05-13 14:25:32 +05:30
Antony Arun T
5213eff071 ipq6018: Disable SPI NAND
Change-Id: I4eaba14ba5af00b358f0b298c809b7f69e475e99
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2019-05-10 15:52:12 +05:30
Antony Arun T
2ef97081e9 ipq6018: Enable SCM calls
Change-Id: Ie6b14d46d10f9c27100c7ae042d11ee31d5f2121
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2019-05-10 14:41:38 +05:30
Linux Build Service Account
345ae64c7c Merge "ipq6018: Adding support for elf image authentication" 2019-05-09 18:07:06 -07:00
Rajkumar Ayyasamy
6913ae43dc ipq6018: Adding support for elf image authentication
Change-Id: I8fea42274a503199f9db786270871af390b6b199
Signed-off-by: Rajkumar Ayyasamy <arajkuma@codeaurora.org>
2019-05-09 13:28:28 +05:30
Antony Arun T
c2a428a73a ipq6018: Fixing memory layout changes
Change-Id: I508f0dda8433f941ba4ef0f26fc28e2843d69f14
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2019-05-08 10:16:18 +05:30
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
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
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
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
Antony Arun T
871caf2276 ipq6018: Support for new smem version
Change-Id: I2e847eface6d5604ff30ce245e767b8a9d923500
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2019-01-30 19:38:01 +05:30
Antony Arun T
43a967f824 ipq6018: fixing u-boot start address
Change-Id: Id836daed76ac8ed3e15c0e1e78767c61bb53b6e8
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2019-01-18 09:53:26 +05:30
Linux Build Service Account
95ad2c8c6d Merge "ipq6018: enable reset support" 2018-12-23 20:47:42 -08:00