Commit graph

36859 commits

Author SHA1 Message Date
Linux Build Service Account
4872fe0dba AU_LINUX_QSDK_FIG_TARGET_ALL.12.0.000.818
-----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iEYEABECAAYFAmGlMKAACgkQoUgPZYCpAfHA5gCguluFwsFIYsm3gl5l0BBrId8c
 HfwAnjQ82ZpAJJ7SpVbI9CTlHgW3a7An
 =EyHt
 -----END PGP SIGNATURE-----

Merge AU_LINUX_QSDK_FIG_TARGET_ALL.12.0.000.818 on remote branch

Change-Id: I28e35073815bebcad64bc725be245dd385b34e7f
Signed-off-by: Linux Build Service Account <lnxbuild@localhost>
2021-12-02 00:30:27 -07:00
Kavin A
4291c86117 ipq9574: USB: Add delay for Get descriptor
Change-Id: I1ca6035fb30f692ec57ecb9f9c90393837c69a76
Signed-off-by: Kavin A <quic_kavia@quicinc.com>
2021-11-22 23:01:33 -08:00
Linux Build Service Account
bcf5b57166 Merge "ipq: spi: add multiple spi support" 2021-11-22 01:26:28 -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
Linux Build Service Account
29a1ce8b54 Merge "pack: add layout switch for sbl partition" 2021-11-15 21:38:19 -08:00
Linux Build Service Account
2fb57de7a2 Merge "mtd: qpic_nand: add support to switch between 2K & 4K layout" 2021-11-15 21:38:18 -08:00
Linux Build Service Account
784b8ffd81 Merge "ipq5018: Fixup fdt to pass qspi training offset to HLOS" 2021-11-11 22:37:06 -08:00
Rajkumar Ayyasamy
3783f390dd ipq5018: Fixup fdt to pass qspi training offset to HLOS
Change-Id: I8ba2442f4d47d02a7e8f3947c19208bb40c62ed6
Signed-off-by: Rajkumar Ayyasamy <quic_arajkuma@quicinc.com>
2021-11-09 17:02:54 +05:30
Linux Build Service Account
30427b829f Merge "arm: dts: ipq9574: Add AL02-C4 RDP support" 2021-11-03 12:06:49 -07:00
Linux Build Service Account
a838762ce1 Merge "serial: qca_uart: Restart UART RX when RX stale timeout occurs" 2021-11-01 10:35:27 -07:00
Linux Build Service Account
d89f06408b Merge "ipq9574: Invoke mmc_init in set_uuid_bootargs" 2021-10-29 20:05:57 -07:00
Praveenkumar I
5d9bbdd388 arm: dts: ipq9574: Add AL02-C4 RDP support
The main differece on AL02-C4 are,
PCIE1: 2G WKK
PCIE2: 6G WKK
PCIE3: 5G WKK

Other features are same as AL02-C1.

Change-Id: Ie13154dacf247c99e15f1da775238012075740ee
Signed-off-by: Praveenkumar I <quic_ipkumar@quicinc.com>
2021-10-29 11:36:10 +05:30
Linux Build Service Account
bf0de9ae65 Merge "configs: ipq9574: Update TLV buffer offset" 2021-10-28 22:36:30 -07:00
anusha
713b3ae36c ipq9574: Invoke mmc_init in set_uuid_bootargs
The MMC mode switch command gets timed out occassionally.
Due to this, set_uuid_bootargs fails and uboot doesn't
jump to kernel. This issue is seen only in norplusemmc boot.
In eMMC Boot, board_mmc_env_init is called which handles
timeout case. Added the same logic to set_uuid_bootargs.

Change-Id: Ie9eb91b00f28c23c136d88e3cb39572e59c759e7
Signed-off-by: anusha <anusharao@codeaurora.org>
2021-10-28 20:28:11 -07:00
Linux Build Service Account
b45d6d4fa5 Merge "ipq6018: update gadget_diag fdt fixup" 2021-10-28 12:38:56 -07:00
Linux Build Service Account
af4bf870a0 Merge "drivers: net: ipq9574: Add SFP 1G and 2.5G Support" 2021-10-28 12:38:56 -07:00
Linux Build Service Account
c262bc923d Merge "tools: sysupgrade: Populate kernel volume id dynamically" 2021-10-28 12:38:55 -07:00
Kavin A
869166da30 configs: ipq9574: Update TLV buffer offset
In IPQ9574, TZ adds base addr + 300K(TMEL ctxt size) and stores this addr in imem.
Updated TLV_BUF_OFFSET to subtract TMEL offset from base addr.

Change-Id: I54ea5be4133f2c0435ecaabff392b20c67ec5d48
Signed-off-by: Kavin A <kavia@codeaurora.org>
2021-10-28 18:10:22 +05:30
Selvam Sathappan Periakaruppan
7a087b1264 tools: sysupgrade: Populate kernel volume id dynamically
Change-Id: I29fb7de954fc7f855c49aea933c2adb7f1748f12
Signed-off-by: Selvam Sathappan Periakaruppan <speriaka@codeaurora.org>
2021-10-27 22:49:33 -07:00
Linux Build Service Account
936c3be298 Merge "drivers: pci: optimize for ipq806x platform" 2021-10-27 22:38:23 -07:00
anusha
763f64bccc ipq: Pass HLOS partition info to TZ in secure_authenticate cmd
Change-Id: I82f10440c8d81c4ae591bdc5f8f5fdcf91f28719
Signed-off-by: anusha <anusharao@codeaurora.org>
2021-10-27 06:32:20 -07:00
Selvam Sathappan Periakaruppan
ee7e19ba6e drivers: net: ipq9574: Add SFP 1G and 2.5G Support
This patch adds support for SFP 1G and 2.5G. Note that
there is no autoneg support for SFP in U-Boot and the mode needs
to be changed in DT to make it work in 1G or 2.5G.

By default SFP will be configured to work in 10G mode.

Change-Id: I1c209276fe2a586332be87ce5d49a140f4814eb2
Signed-off-by: Selvam Sathappan Periakaruppan <speriaka@codeaurora.org>
2021-10-27 06:30:57 -07:00
Vandhiadevan Karunamoorthy
3abfd5c2d1 ipq6018: update gadget_diag fdt fixup
This change support both legacy and current node
configuration

Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: I12551970f16ec09a648bac2ecb1a45edeffd997c
2021-10-27 18:40:47 +05:30
Ram Kumar D
dfb99bda23 serial: qca_uart: Restart UART RX when RX stale timeout occurs
When a long string (>255 char) input given to uboot console, RX
stale timeout occurred on UART subsystem due to RXFULL. This in-turn
cause uboot console to stuck.

So, Added a check to catch this scenario and re-start the UART RX
if it occurred.

Change-Id: Ic80c1d5f1178bf2455385c3888a2023ce1dbf6fa
Signed-off-by: Ram Kumar D <ramd@codeaurora.org>
2021-10-27 14:50:57 +05:30
Linux Build Service Account
eb6c59f9c7 Merge "arm: dts: ipq9574: Add AL02-C3 RDP support" 2021-10-27 00:06:12 -07:00
Vandhiadevan Karunamoorthy
cc76ff5e54 drivers: pci: optimize for ipq806x platform
This changes removes unwannted source for ipq806x
platform, therefore it saves more memory in flash

Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: Ia34c9843a5b32c2db57ec4b4977ab8c04875161b
2021-10-26 18:15:00 +05:30
Rajkumar Ayyasamy
136ea5b085 pack: add layout switch for sbl partition
This patch adds support for sbl partition layout switch on IPQ9574

Signed-off-by: Rajkumar Ayyasamy <arajkuma@codeaurora.org>
(cherry picked from commit aa841af6f70823ec782b6efb0ba459f58068f9c6)
Signed-off-by: Praveenkumar I <quic_ipkumar@quicinc.com>

Change-Id: Idd950aef614a225c9cb6afd456967f53da6e4993
2021-10-22 19:23:58 +05:30
Rajkumar Ayyasamy
0dc8c1c7a6 mtd: qpic_nand: add support to switch between 2K & 4K layout
qpic_nand sbl -> to switch to 2K layout
qpic_nand linux -> to switch back to 4K layout

Currently this switch is enabled for IPQ9574

Signed-off-by: Rajkumar Ayyasamy <arajkuma@codeaurora.org>
(cherry picked from commit c9a1c10b2e35ba8f14dafc1f4c07aa5a07a01541)
Signed-off-by: Praveenkumar I <quic_ipkumar@quicinc.com>

Change-Id: I3e429b8cd5e600b4214c01d7949c01536f988e47
2021-10-22 19:23:10 +05:30
Praveenkumar I
7202d494bf arm: dts: ipq9574: Add AL02-C3 RDP support
The main differece on AL02-C3 are,

PCIE0: 1x5G
PCIE2: 1x6G
PCIE3: SDX

Other features are same as AL02-C2

Change-Id: If40e554baf16af1654bef3314f017f93d2babfbb
Signed-off-by: Praveenkumar I <quic_ipkumar@quicinc.com>
2021-10-22 18:19:15 +05:30
Kavin A
16ac7dde0e tools: pack: Parse partition check for 0:MIBIB
Change-Id: I2c4c3aeadd7ddb3b81d03c265a6e03ccf3a75dc6
Signed-off-by: Kavin A <kavia@codeaurora.org>
2021-10-19 22:47:19 -07:00
Linux Build Service Account
2cf0f1cd99 AU_LINUX_QSDK_NHSS.QSDK.12.0.R6_TARGET_ALL.12.0.06.408.056
-----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iEYEABECAAYFAmFdjpIACgkQoUgPZYCpAfHuowCg2absYOq7ngpmVptItgsF9ptc
 Xr8An1fsI6P4Inlkt8XmusFkOCD/673s
 =jIZD
 -----END PGP SIGNATURE-----

Merge AU_LINUX_QSDK_NHSS.QSDK.12.0.R6_TARGET_ALL.12.0.06.408.056 on remote branch

Change-Id: If8eec7fee7447d4fc30450d255848d6041f67bc3
Signed-off-by: Linux Build Service Account <lnxbuild@localhost>
2021-10-06 10:20:56 -06:00
Linux Build Service Account
f9f29c9989 Merge "Merge remote-tracking branch origin/win.coretech.1.0 into HEAD" 2021-10-06 00:27:57 -07:00
Kavin A
6f06467cda configs: ipq9574: Update TLV buffer offset
The crashdump memory allocation in kernel context save driver is
updated for ipq9574 as below. Due to this, TLV offset is changed to 500K.
1. TMEL ctxt - 300K
2. regsave    - 80K
3. DCC - 3K
4. Unused - 117K
5. TLV Buffer - 12K

Change-Id: I25cdce6be90ce2d2b7ab6b6c01976d5a061074e9
Signed-off-by: Kavin A <kavia@codeaurora.org>
2021-10-04 23:27:02 -07:00
Linux Build Service Account
5f0dbcd5b1 Merge remote-tracking branch origin/win.coretech.1.0 into HEAD
Change-Id: If781dcc16344e303f237954f3025f8b10d510ff6
2021-10-04 16:38:03 +05:30
anusha
3e6aa907bd sf: Fix sram size issue for 4GB DDR
In this case, the variable sram_end(Base + Size)
will hold (0x40000000 + 0xC0000000) and will overflow
32bits. Update the variable type to u64.

Change-Id: Iadf008c0ace552b793b9424e5c9ded0873599a64
Signed-off-by: anusha <anusharao@codeaurora.org>
2021-09-28 17:21:14 +05:30
Linux Build Service Account
0a8ac9e20a Merge "lib: fdt: use ULONG_MAX for boundary checks" 2021-09-28 03:37:50 -07:00
Karthick Shanmugham
63c2c3a2c5 ipq: Indicate SDx when host resets
Change-Id: I202725bffe1ecbdf69aeac4d99a6b6a010f6cbce
Signed-off-by: Karthick Shanmugham <kartshan@codeaurora.org>
2021-09-26 21:07:49 -07:00
Rajkumar Ayyasamy
a48d6c2615 lib: fdt: use ULONG_MAX for boundary checks
We are typecasting the fdt_start and other parameters
to unit64_t. So ULONG_MAX should be used for the boundary
check.

Signed-off-by: Rajkumar Ayyasamy <arajkuma@codeaurora.org>
Change-Id: I42b4c0cb05902410c4e18553017c016bdd312207
2021-09-24 16:50:31 +05:30
Linux Build Service Account
c6915cd738 Merge "ipq9574: Pass HLOS partition info to TZ" 2021-09-20 12:10:08 -07:00
Vandhiadevan Karunamoorthy
f1fc6e4c71 ipq9574: Pass HLOS partition info to TZ
Include SCM call to inform TZ whether HLOS boots from
primary or secondary partition

Change-Id: Ib1fa2b3c12762d1deed5b99f025c83870c142fa6
Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
2021-09-20 18:14:23 +05:30
Linux Build Service Account
fea2fde8f1 Merge remote-tracking branch origin/win.coretech.1.0 into HEAD
Change-Id: Ideb195d3ecede2876c64a52dc1713f04647acfba
2021-09-20 11:52:39 +05:30
Vijay Kumar Pendoti
3a663227a3 lib: fdt: fix integer overflow check
Signed-off-by: Rajkumar Ayyasamy <arajkuma@codeaurora.org>
Change-Id: I5649ff5c24cdb6b60f546417555f38691cd1005a
2021-09-15 16:48:03 +05:30
Linux Build Service Account
e4e85fedc2 Merge remote-tracking branch origin/win.coretech.1.0 into HEAD
Change-Id: Ia7d1d9667a626bb4a187aae3b8d86fd872ac5895
2021-09-13 10:45:24 +05:30
anusha
8063318fa4 ipq9574: Update PCIE AUX clock source
Updated the source from gpll0_out_aux to gpll0_out_main

Change-Id: Iecaefbe03c02286823d1a67ea53b180bfd8d948e
Signed-off-by: anusha <anusharao@codeaurora.org>
2021-09-09 02:13:48 -07:00
Linux Build Service Account
5569fa9007 Merge "drivers: net: ipq9574: Fix print msg in edma" 2021-09-07 09:40:00 -07:00
Linux Build Service Account
9c2646a753 Merge "arm: dts: ipq9574: Remove duplicate i2c config" 2021-09-07 07:08:44 -07:00
Linux Build Service Account
3612e8c572 Merge "lib: fdt: add integer overflow checks" 2021-09-07 04:38:07 -07:00
vijay kumar
a9dea8e5ee lib: fdt: add integer overflow checks
added integer overflow checks to avoid buffer over reads/write
while using the fdt header fields.

CRs-fixed: 705078.
Change-Id: I062ee9e0610eeeeea32dd95695b18aa9dbca06ea
2021-09-07 12:16:04 +05:30
Linux Build Service Account
9767dd911f Merge "arm: dts: ipq9574: Fix port_phyinfo node in DB c3" 2021-09-06 23:37:42 -07:00
Linux Build Service Account
a6c288098a Merge remote-tracking branch origin/win.coretech.1.0 into HEAD
Change-Id: I20c0dcf584bce3ac488c28fd3dc107c7f5766867
2021-09-06 10:44:52 +05:30