Commit graph

37088 commits

Author SHA1 Message Date
Ram Kumar D
5fa35de070 driver: net: qca8084: reduce clk identifier string size
This size of clock identifier string is large, so which
in-turn reflects in the size of the qca8084_clk object file,
and thus increase uboot size. By reducing the clk identifier
string size, we can save around 0.9K.

Change-Id: Ic986155b6cc2692d67e9c855928ce8039d294d3f
Signed-off-by: Ram Kumar D <quic_ramd@quicinc.com>
2022-07-11 10:55:15 +05:30
Ram Kumar D
75bc424247 driver: net: qca8084: change inline func to non-inline func
Currently, bottom level apis such as qca8084 clk and pinconf
functions are defined as inline functions, which took around
1.3K memory in the uboot. So, update those functions to non-
inline functions to save that space.

Change-Id: I2972ca80d7df80a72d4a027e790400f391546d4b
Signed-off-by: Ram Kumar D <quic_ramd@quicinc.com>
2022-07-11 10:54:48 +05:30
Linux Build Service Account
7c7a6cfcc8 Merge "board: devsoc: updated the kernel auth scm-id" 2022-07-08 14:13:08 -07:00
Linux Build Service Account
d12d768f18 Merge "configs: devsoc: Enable ELF authentication" 2022-07-08 07:42:28 -07:00
Ram Kumar D
e0cc9347c5 board: devsoc: updated the kernel auth scm-id
Change-Id: I3a9b1bb0be8f5875ef3443cc89400557f8388777
Signed-off-by: Ram Kumar D <quic_ramd@quicinc.com>
2022-07-08 18:18:53 +05:30
Vandhiadevan Karunamoorthy
c04d3ac26e configs: devsoc: Enable ELF authentication
Change-Id: Ib740007ed7c9410b5c8d119e3bf2805692cbba15
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
2022-07-08 12:16:42 +05:30
Ram Kumar D
b717c79249 drivers: net: devsoc: enable init non-cache buf support
This changes initialize non-cache buffer every time
before edma configuration.

Change-Id: I3a4f84076516feeb7b578a7543d6e68d788c8931
Signed-off-by: Ram Kumar D <quic_ramd@quicinc.com>
2022-07-08 08:54:45 +05:30
Linux Build Service Account
8e34020d77 Merge "arm64: dts: ipq9574: Add AL03-C2 RDP support" 2022-07-07 14:08:23 -07:00
Linux Build Service Account
37d586a6e9 Merge "arm64: dts: ipq9574: Adding machine ID for WKK RDP" 2022-07-07 14:08:22 -07:00
Linux Build Service Account
ced5244d01 Merge "board: arm: devsoc: add QCA8033 ethernet PHY support" 2022-07-07 05:50:43 -07:00
Linux Build Service Account
c4a471eeb6 Merge "driver: net: devsoc: removed the extra ports and uniphy" 2022-07-06 07:45:16 -07:00
Linux Build Service Account
d8518bbf31 Merge "board: devsoc: add GZIP support for crash dump" 2022-07-06 03:49:25 -07:00
Vandhiadevan Karunamoorthy
5a5b819cda board: devsoc: enable USB crashdump
Change-Id: Ibe81e24299a94c9f48e417b47b6f07c6d9888c16
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
2022-07-05 04:17:37 -07:00
Vandhiadevan Karunamoorthy
753a27267a configs: devsoc: Enable thumb mode
Change-Id: I3a802c53c870e1ec8c0b4c4312e285dac905fc08
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
2022-07-04 23:14:39 -07:00
Vandhiadevan Karunamoorthy
4ecf1588f1 board: devsoc: add GZIP support for crash dump
These changes only add GZIP support for the
default u-boot; they do not apply to the tiny u-boot.

Change-Id: I1f022b77d6c2a82bdff36073746b409e126b5d35
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
2022-07-05 11:43:35 +05:30
Saahil Tomar
abdedad311 arm64: dts: ipq9574: Add AL03-C2 RDP support
This RDP is based on AL03-C1.
The extra feature are WK03.2 – 2G+5GL in Pcie 0 &
WK01.7 – 5GH+6G in Pcie 2.

Change-Id: Ic52c71e98e1a06acf36a825d23f1d184601d153a
Signed-off-by: Saahil Tomar <quic_saahtoma@quicinc.com>
2022-07-05 11:01:47 +05:30
Saahil Tomar
9b01c29b28 arm64: dts: ipq9574: Adding machine ID for WKK RDP
This change addressed the missing AL02_C10 and AL03_C1  machine ids
into pack script.

Change-Id: I77398cbcff8b19efd5550536f5b154f5f36d0638
Signed-off-by: Saahil Tomar <quic_saahtoma@quicinc.com>
2022-07-05 10:58:10 +05:30
Ram Kumar D
5eaf4d7afa board: arm: devsoc: add QCA8033 ethernet PHY support
Change-Id: Ifdb6a372c54f3cf1865e7463ecf6dea65495f29e
Signed-off-by: Ram Kumar D <quic_ramd@quicinc.com>
2022-07-05 09:01:13 +05:30
Ram Kumar D
b9cbde2bac driver: net: devsoc: removed the extra ports and uniphy
In devsoc, we have 2 ports and 2 uniphys, so removed the extra
ports and uniphy configurations from the source. Also, updated
the clock src configuration with respect available uniphys and
removed the SFP port support.

Change-Id: I557bd6d215508c190a3e733a0304873ecd02eb24
Signed-off-by: Ram Kumar D <quic_ramd@quicinc.com>
2022-07-05 09:01:13 +05:30
Ram Kumar D
9a6c369849 driver: net: devsoc: add support for S17C switch
Change-Id: If7ccaf9b63b68b0635f955228b161040ab5618cb
Signed-off-by: Ram Kumar D <quic_ramd@quicinc.com>
2022-07-05 09:01:13 +05:30
Ram Kumar D
498754d0eb drivers: net: devsoc: Add support for QCA8084 switch mode
Change-Id: Ibc6517c39f0f9a24e18e62a6810b529b2d60afcf
Signed-off-by: Ram Kumar D <quic_ramd@quicinc.com>
2022-07-05 09:01:13 +05:30
Ram Kumar D
3a42e3475f drivers: net: devsoc: add aquantia PHY support
Change-Id: I4671838eae0d0d7d47bb15a31235b686dc34dccb
Signed-off-by: Ram Kumar D <quic_ramd@quicinc.com>
2022-07-05 09:01:13 +05:30
Linux Build Service Account
5c2b183d10 Merge "board: qca: make training offset fixup as generic" 2022-07-04 11:18:41 -07:00
Linux Build Service Account
b0a792f17c Merge "board: arm: devsoc: add tiny-nor support for ipq53xx" 2022-07-04 11:18:37 -07:00
Vandhiadevan Karunamoorthy
121a50914d board: qca: make usb mode fixup generic framework
The configuration from SoC (ipq6018, ipq5018, & ipq9574)
specific files is moved to fdt_fixup.c as a result of
this change.

Change-Id: I4f20e1a58ce88aea415debe305e69fb21cb6e162
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
2022-07-04 03:41:45 -07:00
Vandhiadevan Karunamoorthy
143c32d5a6 board: qca: make training offset fixup as generic
This update replaces the board-specific QPIC nand
training offset fixup with a generic framework.

Change-Id: I0fd9203334da3846cfbbba880bc6b4701e9d162b
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
2022-07-04 03:41:26 -07:00
Timple Raj M
d4d38a2b9f board: arm: devsoc: add tiny-nor support for ipq53xx
Added these configs to support tiny-nor in ipq53xx
IPQ_TINY
IPQ_TINY_SPI_NOR
ART_COMPRESSED

Change-Id: Icfb727a82d50e12626eb7fc7f34521ee6f478064
Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
2022-07-04 11:42:13 +05:30
Linux Build Service Account
fe643c818e Merge "config: ipq53xx: Tiny-nor support" 2022-07-01 20:18:45 -07:00
Timple Raj M
42da641fc8 config: ipq53xx: Tiny-nor support
Added tiny-nor support for ipq53xx

Change-Id: I1e86031343a165923982a150405c3c416e635ed6
Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
2022-07-01 12:43:15 +05:30
Vandhiadevan Karunamoorthy
b8a0869172 board: devsoc: enable i2c support
Change-Id: I78125db95b433857f3c68bdfc9f3d85e2dc91ed0
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
2022-06-30 23:11:41 -07:00
Linux Build Service Account
b224ca99f2 Merge "arm64: dts: ipq9574: Add AL02-C14 RDP support" 2022-06-30 07:18:18 -07:00
Linux Build Service Account
b271eb4363 Merge "driver: net: ipq9574: change the qca8084 link update logic" 2022-06-30 03:29:28 -07:00
Ram Kumar D
5fc0b17e2f driver: net: ipq9574: change the qca8084 link update logic
In qca8084 phy mode, each phy is assigned to one mac in the ipq9574,
where as in the switch mode, only mac1 will used for all the 4 ports
of the qca8084, mac2-4 will be left unused. So, updated the
logic to update the link status of the individual ports, when qca8084
is in switch mode.

Change-Id: I128c3eafb7c85c0db9d252e047457ea8820df368
Signed-off-by: Ram Kumar D <quic_ramd@quicinc.com>
2022-06-29 12:01:54 +05:30
Saahil Tomar
ccdbe416f5 arm64: dts: ipq9574: Add AL02-C14 RDP support
This RDP is based on AL02-C8

Change-Id: Ia7a7d128562c888bc7a0dcc6afffa36aef17d826
Signed-off-by: Saahil Tomar <quic_saahtoma@quicinc.com>
2022-06-29 11:31:41 +05:30
Linux Build Service Account
0a83e51b5d Merge "board: devsoc: Enable crashdump feature support" 2022-06-28 09:42:04 -07:00
Linux Build Service Account
d3a69cb4c8 Merge "configs: ipq: Update runtime failsafe bits" 2022-06-28 09:42:03 -07:00
Vandhiadevan Karunamoorthy
2623231c0b board: devsoc: Enable crashdump feature support
This change allows autoboot to check if the app is crashed or not.
If the Kernel crashes, a crash dump is generated.
And also, with these changes, check if crash dump is disabled or not.

Change-Id: I35b0a20c6a245702ed0adcfbaa37add21a73400a
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
2022-06-28 16:51:05 +05:30
Linux Build Service Account
a238f44394 Merge "board: arm: devsoc: update TZ end address" 2022-06-23 14:14:41 -07:00
Linux Build Service Account
b26f563d9d Merge "board: arm: devsoc: update USB PHY & Clk config" 2022-06-23 14:14:40 -07:00
Vandhiadevan Karunamoorthy
b2da1813de board: arm: devsoc: update USB PHY & Clk config
Change-Id: Ie1216d3b191aef1f221df91ec254e162e57e099a
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
2022-06-22 22:24:36 +05:30
Vandhiadevan Karunamoorthy
0b11d84fed board: arm: devsoc: update TZ end address
Change-Id: Ie5560a498db86079d688005ac171602694941d00
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
2022-06-21 05:14:33 -07:00
Saahil Tomar
6148a349bd arm64: dts: ipq9574: Add AL02-C13 RDP support
This RDP is based on AL02-C4.
The extra feature is QCN90xx on PCIE0

Change-Id: Ic153279dbe18daf9f602bf44f0bf7539f43ba5f8
Signed-off-by: Saahil Tomar <quic_saahtoma@quicinc.com>
2022-06-21 04:10:26 -07:00
Linux Build Service Account
335ae409fb Merge "board: devsoc: initialized requried ethernet clocks" 2022-06-16 11:09:52 -07:00
Linux Build Service Account
32bb34e1b8 Merge "arm: dts: ipq9574: Add QCA8084 switch support in AL02-C10" 2022-06-16 11:09:51 -07:00
Linux Build Service Account
7c3d106ddf Merge "drivers: net: Add switch mode support for QCA8084" 2022-06-16 11:09:51 -07:00
Linux Build Service Account
159adee76d Merge "Revert "arm: qca: smem: Update platform structure"" 2022-06-16 05:39:00 -07:00
Ram Kumar D
db2b02a241 board: devsoc: initialized requried ethernet clocks
Change-Id: I5a0e976b75e736bd42f1f7e154be30e2e02e42d2
Signed-off-by: Ram Kumar D <quic_ramd@quicinc.com>
2022-06-16 03:04:59 -07:00
Ram Kumar D
4b91ce478e arm: dts: ipq9574: Add QCA8084 switch support in AL02-C10
Change-Id: I528c458631a9f5f3ad3470740b217f978da0b0cb
Signed-off-by: Ram Kumar D <quic_ramd@quicinc.com>
2022-06-15 23:09:53 -07:00
Ram Kumar D
0b04ce17b5 drivers: net: ipq9574: Add support for QCA8084 switch mode
Change-Id: I315fd246c59bf134e41752e01d2866589c64aeb8
Signed-off-by: Ram Kumar D <quic_ramd@quicinc.com>
2022-06-15 23:09:38 -07:00
Ram Kumar D
cfc0877b85 drivers: net: Add switch mode support for QCA8084
Change-Id: I3e00ee6e54dadcae9c45bc157c6391e6f0dbda55
Signed-off-by: Ram Kumar D <quic_ramd@quicinc.com>
2022-06-15 23:09:14 -07:00