Commit graph

37032 commits

Author SHA1 Message Date
Praveenkumar I
b5d3586939 ipq9574: Add support for AP-AL02-C11
This is RDP is based on AL02-C4. The extra feature is Alder 2G.

Change-Id: I175938c886c0ebd8f39659ba28be2a946d5b7494
Signed-off-by: Praveenkumar I <quic_ipkumar@quicinc.com>
2022-06-07 17:43:09 +05:30
Linux Build Service Account
7f628dfff2 Merge "meta-tools: add IPQ5332 in pack.py" 2022-06-01 09:41:56 -07:00
Linux Build Service Account
3ccb28e1a5 Merge "drivers: net: devsoc: added eth support for devsoc" 2022-06-01 09:41:55 -07:00
Linux Build Service Account
f1fe35bbbb Merge "arm: dts: devsoc: update for FBC support" 2022-06-01 06:37:37 -07:00
Timple Raj M
12275ca90c meta-tools: add IPQ5332 in pack.py
Change-Id: Ie4430127713f4a9a90852b7958d1643eed237a48
Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
2022-06-01 02:52:05 -07:00
Vandhiadevan Karunamoorthy
39dc3a9dc2 arm: dts: devsoc: update for FBC support
These changes update the machine id and
config name for emulation FBC bring up

Change-Id: I45bf5cafcb14025841fda2b00e8f695d810b16d3
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
2022-05-31 21:27:20 -07:00
Ram Kumar D
a95cba141c drivers: net: devsoc: added eth support for devsoc
Change-Id: I4d646c1a89d90febd573ae92980e0c665b1dc060
Signed-off-by: Ram Kumar D <quic_ramd@quicinc.com>
2022-05-31 23:52:34 +05:30
Vandhiadevan Karunamoorthy
68b0c0e09d makefile: add fstack-protector for devsoc platform
This changes enable fstack-protector flag for devsoc
platform.

Change-Id: I9726cf5020cbb74346a023b9f4eb8fa908bb417c
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
2022-05-31 08:44:19 -07:00
Vandhiadevan Karunamoorthy
6761f6cf0d board: devsoc: Enable reset support
Change-Id: I989316b3f6f663f6b446208cf4054a1757c2161a
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
2022-05-30 23:03:03 -07:00
Vandhiadevan Karunamoorthy
9f914ab484 board: devsoc: Enable crashdump support
These changes add crashdump support in devsoc platform.

Change-Id: Ifdb9e1e65a4e93407506e987201b4ddeac753927
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
2022-05-30 23:02:44 -07:00
Timple Raj M
b3a0e9fea7 pack: ipq9574: Enabled AP.AL02-C9 extended QCN9224 support
This patch packs the QCN9224 specific partition bin into single image

Change-Id: I300a6774dc570d459a14eca5702cd79398248fa5
Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
2022-05-29 23:59:00 -07:00
Linux Build Service Account
ae383ebf24 Merge "Revert "ipq9574: Power collapse UBI32 Cores"" 2022-05-25 17:38:21 -07:00
Selvam Sathappan Periakaruppan
207cf5ff59 drivers: net: ipq: Update mdio macros
This patch renames the GCC macro which was added
for QCA8084 PHY to fix the conflict with similar
macro defined in ipq5018 platform.

Additionally, this patch also moves all QCA8084
macro definitions in MDIO driver under QCA8084_PHY
config.

Change-Id: Icd62bf260ffeae64bf67c0c1a58afb6ac4999e22
Signed-off-by: Selvam Sathappan Periakaruppan <quic_speriaka@quicinc.com>
2022-05-25 19:03:43 +05:30
Selvam Sathappan Periakaruppan
beba2c6bb3 configs: ipq9574: Enable THUMB Mode
This config helps to reduce the u-boot.mbn size
by approx. 135 KB's. This is required since the image
size was greater than partition size after adding
support for qca8084 PHY based ports.

Change-Id: Ie719c69690e9e7517002c0f06182bf3ab6c1f98e
Signed-off-by: Selvam Sathappan Periakaruppan <quic_speriaka@quicinc.com>
2022-05-25 04:08:51 -07:00
Selvam Sathappan Periakaruppan
7eaa8ee017 configs: ipq9574: Disable unused configs
This patch disables unused configs to reduce
U-Boot image size. This is required since
the image size was very close to the partition
size.

Change-Id: Ibd3131cb0f579deb3d34aff6857c97ca7338af19
Signed-off-by: Selvam Sathappan Periakaruppan <quic_speriaka@quicinc.com>
2022-05-25 04:08:48 -07:00
Selvam Sathappan Periakaruppan
5a1b34b9d2 arm: dts: ipq9574: Add support for qca8084 in AL02-C8
This patch adds support for qca8084 phy based ports
in AL02-c8.

AL02-c8 has 4x2.5 + 2x10G.

Change-Id: Ibcad3d388cd6242158944d16c1b6cd3a08ba12aa
Signed-off-by: Selvam Sathappan Periakaruppan <quic_speriaka@quicinc.com>
2022-05-25 04:08:44 -07:00
Selvam Sathappan Periakaruppan
7f874a0c1b arm: dts: ipq9574: Add support for qca8084 in AL03
In AL03, we have qca8084 support instead of
qca807X and this patch adds support for the
same.

Note that there are only 5 ethernet ports in
AL03.

4x2.5G -> qca8084 port
1x10G  -> Aquantia port

Change-Id: I824169cb972dd0fbd28c7d8648df3691ca93432f
Signed-off-by: Selvam Sathappan Periakaruppan <quic_speriaka@quicinc.com>
2022-05-25 04:08:40 -07:00
Selvam Sathappan Periakaruppan
1c409bd8d6 drivers: net: ipq9574: Add support for qca8084
This patch adds support for qca8084 PHY based
ports. Accordingly, updates the uniphy, ppe, clock
configurations as required for qca8084 ports.

Change-Id: I2e687c10adba579b0d47d8f5b529fe920b7d0d7c
Signed-off-by: Selvam Sathappan Periakaruppan <quic_speriaka@quicinc.com>
2022-05-25 04:08:36 -07:00
Selvam Sathappan Periakaruppan
18d2b93ab3 drivers: net: Add support for QCA8084 PHY
This patch adds initial support for qca8084 PHY
which is based on qca8081 PHY.

qca8084 PHY has support for 4x2.5G.

Change-Id: Ic767c19fad050e5ee9a97ad7fa50c1b6b27893dd
Signed-off-by: Selvam Sathappan Periakaruppan <quic_speriaka@quicinc.com>
2022-05-25 04:08:31 -07:00
Vandhiadevan Karunamoorthy
5837a5e6c6 board: arm: devsoc: Add USB support
This changes enable usb support.

Change-Id: Id75f3dbbe538a99bd4290463ed468b5575491edd
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
2022-05-22 23:18:23 -07:00
Linux Build Service Account
a685df9b8f Merge "drivers: net: ipq9574: Add optional active_port env" 2022-05-20 02:40:06 -07:00
Vandhiadevan Karunamoorthy
e2d76a1c7a board: arm: devsoc: Enable PCIE support
The PCIE node is disabled by default in
the emulation platform

Change-Id: I51041186a57d08b58c1f7c85dd1a90fbeb24aac9
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
2022-05-19 12:32:40 +05:30
Selvam Sathappan Periakaruppan
3b4467169c drivers: net: ipq9574: Add optional active_port env
This patch adds support for active_port env. With this
change in ipq9574, the end user has an option to
enable & maintain only 1 active ethernet port. There
are no multi-port use case in U-Boot and when multiple
ports were enabled for Kernel usecases, there were some
timeout issues in some special cases during crashdump
collection.

active_port can be used to configure the port which
will be used for TFTP download/upload in u-boot in
those setups. Example: To set Port2 as active_port
following command can be used:

setenv active_port 2 && savee

Note that, the active_port range is from 0 to 5 (there
are a total of 6 ports in ipq9574).

Change-Id: Ia2fc58abda7640f67afadfa01d0a5994aa48ea51
Signed-off-by: Selvam Sathappan Periakaruppan <quic_speriaka@quicinc.com>
2022-05-18 01:04:26 -07:00
Linux Build Service Account
6ac309e7bd Merge "devsoc: Add dummy handler to fixup the USB device mode" 2022-05-17 12:20:07 -07:00
Ram Kumar D
b900c8242b devsoc: Add dummy handler to fixup the USB device mode
Change-Id: Id68da6161eaabb867de0cd00e5a8c455e24df2c3
Signed-off-by: Ram Kumar D <quic_ramd@quicinc.com>
2022-05-17 13:19:43 +05:30
Ram Kumar D
4ffb97c394 fdt_fixup: Add support to patch up cpu_type and soc version
Change-Id: Iaf24075cf532997993c0bf6a8d6add90b812db77
Signed-off-by: Ram Kumar D <quic_ramd@quicinc.com>
2022-05-17 13:19:16 +05:30
Ram Kumar D
9b49d9c097 fdt_fixup: Add devsoc nand compatible to fdt fixup
Change-Id: I2d3f0ad48528554ed93c5aa89c25dd8e69a073a3
Signed-off-by: Ram Kumar D <quic_ramd@quicinc.com>
2022-05-17 13:18:41 +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
Vandhiadevan Karunamoorthy
270d1e7245 board: arm: devsoc: Add eMMC support
This changes add 4-Bit eMMC flash support

Change-Id: Iad789ba44aaa0e11da5f8c16dd0a07d2e80de682
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
2022-05-10 17:18:31 +05:30
Vandhiadevan Karunamoorthy
107bdb49b0 board: arm: ipq5018: Add atf crypto fixup support
This changes fixup to '0' in "qcom,controlled-remotely"
property and '2' in "qti,config-pipe-trust-reg" property
in the crypto bam node if ATF is enabled. This will enable
the kernel to do complete bam pipe initialization.

And also this change update the ATF fixup api to
generic name so which will be common for all other
fixup releated to ATF.

Change-Id: I10b2e712883f419433220547a0d7bc6bdf4e125d
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
2022-05-08 04:13:59 -07:00
Linux Build Service Account
a0402c28dd Merge "board: arm: devsoc: Add ubi command support" 2022-05-06 06:39:22 -07:00
Linux Build Service Account
729de94f20 Merge "arm: dts: ipq9574:Add config for i2c all at BLSP1" 2022-05-06 06:39:21 -07:00
Vandhiadevan Karunamoorthy
6a97589d96 board: arm: devsoc: Add ubi command support
This changes enable UBI command support in
devsoc platform.

Change-Id: I2dade2f7ab232f6ae3f2a800437e1543e6a85909
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
2022-05-05 23:30:10 -07:00
Linux Build Service Account
65e822cded Merge "drivers: i2c: qup: Add multiple I2C bus support" 2022-05-02 04:08:56 -07:00
Gokul Sriram Palanisamy
2fd64e390c arm: dts: ipq9574:Add config for i2c all at BLSP1
Change-Id: Ia05615633737eda3c27c376963d4a92ccb945234
Signed-off-by: Gokul Sriram Palanisamy <quic_gokulsri@quicinc.com>
2022-05-02 11:34:52 +05:30
Gokul Sriram Palanisamy
08c3332f34 drivers: i2c: qup: Add multiple I2C bus support
Added support for multiple i2c alias in device-tree
so as to enable multiple qup i2c modules.

Change-Id: I58b1b91c66e3b42cc5d603ce29f94e90b6d86ae1
Signed-off-by: Gokul Sriram Palanisamy <quic_gokulsri@quicinc.com>
2022-05-01 22:20:59 -07:00
Karthick Shanmugham
c3b2411d98 pack: ipq9574: Extended QCN9224 support to all flash types
1. This patch packs the QCN9224 specific partition bin into single image
2. Flash MIBIB/GPT based on machid
3. Use flash offsets and size from selected partition table
4. In commit 3a52cc6de2523628698edece70c6abb663ba8369, above support were
   added for nand-2k & norplusnand-2k flash types and enabled for AL02-C4 alone,
   this patch extends the support to other flashes emmc, norplusemmc, nand-4k
   and norplusnand-4k.
5. Enabled for AL02-C4, AL02-C6, AL02-C7 and AL02-C8.

Change-Id: I68c0193b1fc133ce1ed434fa62502002dc501523
Signed-off-by: Karthick Shanmugham <quic_kartshan@quicinc.com>
2022-05-01 21:08:42 -07:00
Linux Build Service Account
6ae5d30ef1 Merge "sysupgrade : Enable support for APDP secure sysupgrade" 2022-04-28 23:11:22 -07:00
Vandhiadevan Karunamoorthy
018618939e board: devsoc: enable dcache
This changes enable dcache enable and disable support
and also enable dcache command.

Change-Id: I7a11a923c1f87168e9cb519c5dedfcfac2dbc610
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
2022-04-26 05:03:41 -07:00
Linux Build Service Account
0cdbe1f6d1 Merge "ipq: ported uart_wait_tx_empty function to wait until TX FIFO is emptied" 2022-04-26 01:20:23 -07:00
Sandhya KS
564a735cdf sysupgrade : Enable support for APDP secure sysupgrade
Change-Id: I8d5c9b2287a7eb61ea6366506d32d35e35e15db9
Signed-off-by: Sandhya KS <quic_sandhyks@quicinc.com>
2022-04-26 13:08:42 +05:30
devi priya
ea029c9d1c ipq: ported uart_wait_tx_empty function to wait until TX FIFO is emptied
Ported uart_wait_tx_empty function from ipq806x to wait until the TX FIFO is emptied
to avoid FIFO corruption during serial init after relocation

Change-Id: Id95627c791c1159fdd3392e6aa35738e7561d489
Signed-off-by: devi priya <quic_devipriy@quicinc.com>
2022-04-25 19:37:07 +05:30
Vandhiadevan Karunamoorthy
9f81944daa board: devsoc: enable QSPI NAND
Change-Id: Ibfaea936f2e611b31f3fa0946b8fc0fac08cb1be
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
2022-04-24 22:10:48 -07:00
Timple Raj M
682197e0ec ipq9574: Add support for AP-AL02-C10
break statement to be added to take correct config value

Change-Id: Ie02479fd20901a3c7d79c5b86e81cdea1411609a
Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
2022-04-20 17:19:44 +05:30
Timple Raj M
a49fbe815c ipq9574: Add support for AP-AL02-C10
Same as AL02-C1 RDP with NSS enabled.

Change-Id: I5ffcb93721d16db4d598fb82e17fa18c25a9d861
Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
2022-04-18 21:51:56 -07:00
Linux Build Service Account
dc11926d10 Merge "ipq9574: Add support for AP-AL02-C9" 2022-04-18 09:39:26 -07:00
Linux Build Service Account
0eca7d1459 Merge "ipq9574: Add support for AP-AL03-C1" 2022-04-18 06:53:02 -07:00
Linux Build Service Account
edda8cb4fc Merge "usb: hub: Update handling connect status/change in usb_scan_port()" 2022-04-12 08:37:47 -07:00
Linux Build Service Account
02e2a47f7a Merge "usb: Change power-on / scanning timeout handling" 2022-04-12 08:37:47 -07:00
Timple Raj M
8be38d2865 ipq9574: Add support for AP-AL02-C9
AL02-C9 is similar to AL02-C6 without internal radio

Features: Split Phy WKK (2G + 5G), Split Phy WKK (5G + 6G)

Change-Id: I637123bc133243f20dfc0fddb7353caad8650c3a
Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
2022-04-12 12:32:36 +05:30