Commit graph

36411 commits

Author SHA1 Message Date
Vandhiadevan Karunamoorthy
4ee702eff9 ipq5018: Add Napa phy support in mp03.3 RDP
This changes removes NAPA support from tiny U-boot config

Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: I057064d63a3ac0788275a4572242cc251a445a98
2020-07-04 14:52:02 +05:30
Linux Build Service Account
3f32f36239 Merge "ipq5018: Enable USB FAT FS configs" 2020-07-03 07:12:47 -07:00
Linux Build Service Account
f7a7e41a45 Merge "driver: nand: qpic_nand: Add macro for debug print." 2020-07-02 23:11:29 -07:00
Pavithra Palanisamy
207f998bf6 ipq5018: Enable USB FAT FS configs
This patch is to enable USB FAT filesystem and
fatwrite commands so as to enable crashdump collection
in connected USB device.

Usage:
Set dump_to_usb to 1 as U-boot environment variable.

Signed-off-by: Pavithra Palanisamy <pavip@codeaurora.org>
Change-Id: Ifc05b26a1952052fa521f2975ca7c27b1b4fc5a3
2020-07-02 22:44:38 -07:00
Linux Build Service Account
52bc8f5c05 Merge "ipq5018: Fix S17C auto-negotiation issue" 2020-07-02 01:44:19 -07:00
Linux Build Service Account
82e2d85569 Merge "ipq5018: reduce delay in pci initialization" 2020-07-01 16:38:57 -07:00
Md Sadre Alam
453489a928 driver: nand: qpic_nand: Add macro for debug print.
This change will define qspi_debug macro to print
debug messages.

Change-Id: I49c5278f63fa53dc5b2237aeb9bfef97990ecc86
Signed-off-by: Md Sadre Alam <mdalam@codeaurora.org>
2020-07-01 21:28:09 +05:30
Linux Build Service Account
70969ebd61 Merge "ipq5018: Add warm-reset dload fdt fixup" 2020-06-30 07:40:31 -07:00
Vandhiadevan Karunamoorthy
cad9402279 ipq5018: reduce delay in pci initialization
This changes reduce boot delay because of delay in pci
initialization

Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: I15d4ed26a07dafe0c8dd7eb8a666b3c7a3d2cfb6
2020-06-30 13:43:56 +05:30
Vandhiadevan Karunamoorthy
c4d26ee69d ipq5018: remove confi@1 from mp02.1 board dts
Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: I11585dbb06c9c0a613396ff6b142f646492d795a
2020-06-29 18:29:50 +05:30
Vandhiadevan Karunamoorthy
31499cc6e5 ipq5018: Add warm-reset dload fdt fixup
This changes skip crash dump if warm-reset is enable.

Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: I4a6d66ee0dc574c5f708a3d9d2964dbec0bbedb7
2020-06-29 10:44:48 +05:30
Vandhiadevan Karunamoorthy
82c05e91fa ipq5018: Fix S17C auto-negotiation issue
This changes enable s17c link upto 1Gbps speed.

Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: I78e3efbbfd1bad58ab2abcba87c06cb9d4ffcd18
2020-06-26 15:54:19 +05:30
Pavithra Palanisamy
9b019bff71 tools: Added support for BOOTLDR1 packing based on machid
Change by: Gopinath Sekar [gsekar@qti.qualcomm.com]

Change-Id: I87a3f5f6bbc0137f419ac48c28fd892f214d1198
Signed-off-by: Pavithra Palanisamy <pavip@codeaurora.org>
2020-06-25 22:03:35 -07:00
Linux Build Service Account
2cce43f909 Merge "ipq5018: Fix secure_authenticate scm call" 2020-06-25 15:10:39 -07:00
Linux Build Service Account
6830a04dba Merge "ipq5018: Add Giga device GD25LB256E nor flash" 2020-06-24 22:38:53 -07:00
Vandhiadevan Karunamoorthy
ffbf1122c0 ipq5018: Fix secure_authenticate scm call
This changes update the SCM_CMD_SEC_AUTH command.

Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: I6952999bd91062a3e5b3992b2dc166e847d27a58
2020-06-25 10:24:48 +05:30
Vandhiadevan Karunamoorthy
0f7bca7746 ipq5018: Fix for data abort in secure boot
This update fix the the data abort happening while collecting
crash dump  in secure boot.

Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: I59bfd0032d3d580345fab721f750e50c9367e2b9
2020-06-25 10:18:18 +05:30
Linux Build Service Account
32a2c5eab7 Merge "ipq5018: Update pcie phy initialization" 2020-06-24 13:39:59 -07:00
Linux Build Service Account
0d23afea12 Merge "ipq5018: Add mp03.1 support in tiny U-boot" 2020-06-24 07:12:41 -07:00
Vandhiadevan Karunamoorthy
65b179ddc4 ipq5018: Update pcie phy initialization
Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: Ia5228bffd2b663e463542f2c96012329eefb1833
2020-06-24 18:22:34 +05:30
Linux Build Service Account
d88954e3a0 Merge "ipq5018: db-mp03.1: dts: Add ssphy in usb node" 2020-06-22 10:39:24 -07:00
Linux Build Service Account
157a9b01b3 Merge "ipq5018: Update usb init sequence" 2020-06-22 10:39:23 -07:00
Vandhiadevan Karunamoorthy
09f2298093 ipq5018: Add mp03.1 support in tiny U-boot
This changes add mp03.1(Ap & Db) support in tiny u-boot
for 16MB profile

Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: If27bcb8f760c2e648b70811576fc62c4a44f249b
2020-06-22 14:15:56 +05:30
Md Sadre Alam
07e59f4960 driver: nand: qpic_nand: Enable config for serial training.
This change will enable config for serial training.

This change also fix the the logic to get most appropriate phase
out of passed phase.

This change also add support to read serial training offset from
partition table. Also patching freqency value & phase value to kernel.

Signed-off-by: Md Sadre Alam <mdalam@codeaurora.org>
Change-Id: Ibb4a5cd80f16605e8e91bdf6a0c6c484edff1735
2020-06-21 22:22:13 -07:00
Manikanta Mylavarapu
dc8f02bd66 ipq5018: Update usb init sequence
This patch tune's usb ssphy into SSC
instead of fixed offset.Also It ensures
Phy autoload should be done within
30us to 100us after pipe reset.

Change-Id: I192da047861a02d0b70d5c5c2f03715af7213c21
Signed-off-by: Manikanta Mylavarapu <mmanikan@codeaurora.org>
2020-06-22 09:57:57 +05:30
Manikanta Mylavarapu
984dfd4898 ipq5018: db-mp03.1: dts: Add ssphy in usb node
This patch will configure ssphy sequence.

Signed-off-by: Manikanta Mylavarapu <mmanikan@codeaurora.org>
Change-Id: I3fbc22f198daec2fbb691d89d8b12510dabe0dfa
2020-06-22 09:33:16 +05:30
Linux Build Service Account
f183570b2b Merge "ipq5018: tiny-config: Add run command support" 2020-06-18 18:38:27 -07:00
Vandhiadevan Karunamoorthy
65c44a0a4a ipq5018: Add Giga device GD25LB256E nor flash
Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: I9f1dd71f7f495ffc69669ef45d08c08d9a7415de
2020-06-18 23:19:48 +05:30
Linux Build Service Account
701523e0ae Merge "ipq807x: Added golden PINE RDP support" 2020-06-17 17:39:16 -07:00
Linux Build Service Account
5cf33b2f00 Merge "ipq807x: Removed identical device-trees AC02 and OAK03" 2020-06-17 06:41:50 -07:00
Linux Build Service Account
13d12c4ea1 Merge "dts: ipq5018: Update config_name in mp02.1" 2020-06-17 06:41:50 -07:00
Gokul Sriram Palanisamy
e9aae6d127 ipq807x: Added golden PINE RDP support
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
Change-Id: If910fe9f6f221b39833156d0226435785173fbc8
2020-06-17 17:46:44 +05:30
Linux Build Service Account
c02fa92142 Merge "arm: dts: ipq5018: Update gpio config for MP02.1." 2020-06-15 13:08:12 -07:00
Gokul Sriram Palanisamy
f2b16c5a1e ipq807x: Removed identical device-trees AC02 and OAK03
Removed identical device-tree to reuse original dts.

Affected boards: AC02 and OAK03
OAK03 to reuse HK01 dts and AC02 to reuse AC01 dts

Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
Change-Id: I5a70514370f394b15e68d5819cf8d1b52da14f3f
2020-06-15 22:05:58 +05:30
Vandhiadevan Karunamoorthy
fbb0b79592 ipq5018: tiny-config: Add run command support
This config changes removes unwanted config and add
RUN command support

Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: I1a5a1ec8e9b03b53ee57a454c60b0c2d9111fad9
2020-06-15 14:55:17 +05:30
Sham Muthayyan
eb5312c9d4 ipq807x: Fix SFP port for HK10
Change-Id: Idca83bd96b6cd4cdcad45d15046805d251e7ea0d
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2020-06-15 00:40:44 -07:00
Sham Muthayyan
ab206ea9f0 ipq807x: Fix AQ port for HK14
Change-Id: I3cc1e3b3ec1e9829e99485fc2e2b3c4eaf492d26
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2020-06-15 00:40:26 -07:00
Linux Build Service Account
190ddf15fc Merge "fdt: ipq5018: Add support for tiny nor fixup" 2020-06-14 19:46:46 -07:00
Linux Build Service Account
86047835c9 Merge "ipq5018: Fix usb3 ssphy sequence" 2020-06-14 16:46:15 -07:00
Linux Build Service Account
c0ae28a425 Merge "ipq5018: Fix usb3 configuration" 2020-06-14 16:46:14 -07:00
Md Sadre Alam
ae38a196ca driver: nand: qpic_nand: Fix NULL pointer dereference.
This change will fix NULL pointer dereference while reading
from spi nand flash in oobbuf.

The multipage read features is only to read with ecc for
raw read/write the the access is page wise due to mtd layer
will request only one page at a time. So don't increment oobbuf
for every page while reading if already bitflips are present in spi
nand flash. if so data abort will happen due to NULL pointer
dereference.

error:
NAND read: device 0 offset 0x4480000, size 0x1000
data abort
pc : [<4a9515ec>]          lr : [<44000e18>]
reloc pc : [<4a9515ec>]    lr : [<44000e18>]
sp : 4a77f6f4  ip : bbfff3dc     fp : 4a783510
r10: 4a97bb40  r9 : 4a77feb0     r8 : 44000e0c
r7 : 4a97ca2c  r6 : 0000000f     r5 : 00000004  r4 : 00000003
r3 : ffffffff  r2 : 000001f4     r1 : 000000ff  r0 : 44000e0c
Flags: nzCv  IRQs off  FIQs off  Mode SVC_32
Resetting CPU ...
resetting ...

Signed-off-by: Md Sadre Alam <mdalam@codeaurora.org>
Change-Id: I435f65183b56ceef64bad7d0df7ffebe02175a66
2020-06-14 04:37:14 -07:00
Vandhiadevan Karunamoorthy
f4aa5901cf arm: dts: ipq5018: Update gpio config for MP02.1.
This change include setting Gpio 20 & 21 to default 0xC1
value in order to make gpio 28 & 29 works as uart in mp02.1 rdp

Signed-off-by: Md Sadre Alam <mdalam@codeaurora.org>
Change-Id: I5fd482669c8429f930677f6eb9f1fdc191c7b2a6
Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
2020-06-14 03:36:25 -07:00
Manikanta Mylavarapu
65a09cf89e ipq5018: Fix usb3 ssphy sequence
This patch will tune ssuniphy to fixed
offset instead of SSC.

Signed-off-by: Manikanta Mylavarapu <mmanikan@codeaurora.org>
Change-Id: Ieca1e079275092ea49fcc1ffa9ba1dadadd2a93a
2020-06-13 01:52:30 -07:00
Manikanta Mylavarapu
5c90c31be3 ipq5018: Fix usb3 configuration
This patch will update usb3 configurtaion
based on ssphy availability.

Since usb3 ssphy shared with pcie phy,
certain configuration need to be done based
on ssphy availability.

Signed-off-by: Manikanta Mylavarapu <mmanikan@codeaurora.org>
Change-Id: I474a6ea269e7778738ca9464dae510bb58e8bcea
2020-06-13 01:50:58 -07:00
Linux Build Service Account
55e06ab786 Merge "common: init: Add nor env support" 2020-06-12 15:10:06 -07:00
Linux Build Service Account
6d46daaae2 Merge "ipq5018: Enable run command support" 2020-06-12 15:10:04 -07:00
Linux Build Service Account
684330a875 Merge "ipq5018: Fix dump_to_flash hang issue." 2020-06-12 15:10:03 -07:00
Vandhiadevan Karunamoorthy
23db7fb51f fdt: ipq5018: Add support for tiny nor fixup
This changes fixup the mtdparts without support of
MTD framework,This code read the partition details from env
variable and patch to kernel dts.

Change-Id: I829808620c35b57973dc0ae015131bc5019c4844
Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
2020-06-12 05:44:40 -07:00
Vandhiadevan Karunamoorthy
bc34dddbfd ipq5018: Enable run command support
Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: I681d7bed1b9d4386121928d11f77b41d64ca5b24
2020-06-12 05:42:01 -07:00
Vandhiadevan Karunamoorthy
7d9fa0c5e4 common: init: Add nor env support
This changes enable nor enviornemnt support if its no flash with
eMMC and NAND is disabled.

Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: I1ff389ed388fb7f72543cc87e852c360a965db48
2020-06-12 04:19:11 -07:00