Commit graph

36337 commits

Author SHA1 Message Date
Linux Build Service Account
198022b7d7 AU_LINUX_QSDK_DATE_4.4_TARGET_ALL.12.0.4614
-----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iEYEABECAAYFAl7F0o4ACgkQoUgPZYCpAfFpIQCgmj3Y5NFMcgxPXJmFPLobt9VY
 2O0AoMLFG/VyLBa9ihWz6ZWiCYJt1/v0
 =OhJc
 -----END PGP SIGNATURE-----

Merge AU_LINUX_QSDK_DATE_4.4_TARGET_ALL.12.0.4614 on remote branch

Change-Id: I76fa414abf9c4caf107b2ede20e97c7693b6bac3
Signed-off-by: Linux Build Service Account <lnxbuild@localhost>
2020-05-21 00:14:09 -06:00
Md Sadre Alam
63d0c33622 board: qca: ipq5018: Remove GCC_SDCC1_MISC register.
This change will remove GCC_SDCC1_MISC register from
SDCC clock configuration code path. Since in ipq5018 this
register is not available. so removining this register.

Signed-off-by: Md Sadre Alam <mdalam@codeaurora.org>
Change-Id: I980fc0f0ce24cd0da5610300608a5dd223c33941
2020-05-19 23:21:32 +05:30
Linux Build Service Account
7778ef70b9 Merge "driver: nand: qcom_nand: Fix xPU error for qspi register write." 2020-05-18 12:06:37 -07:00
Linux Build Service Account
3f5714cc45 Merge "ipq5018: ethernet: update clock configuration" 2020-05-18 06:09:20 -07:00
Linux Build Service Account
2a79f86344 Merge "tools: pack: add option to skip 4k nand images" 2020-05-18 06:09:19 -07:00
Md Sadre Alam
0b0d196901 driver: nand: qcom_nand: Fix xPU error for qspi register write.
This change will add support to write some ops group register via
BAM to avoid xPU error.

Signed-off-by: Md Sadre Alam <mdalam@codeaurora.org>
Change-Id: I65ea875f783b7254f01cb3cf43eb43295caa4ed9
2020-05-18 16:32:24 +05:30
Linux Build Service Account
3fbe57d2a1 Merge "ipq5018: Fix Uart src clock calculation" 2020-05-18 01:36:34 -07:00
Vandhiadevan Karunamoorthy
2d5526ad83 ipq5018: Fix Uart src clock calculation
This changes remove double calculation of N and D values.

Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: I1c8444b5f6dbbc06a2b676477599978d6a91a681
2020-05-16 17:50:18 +05:30
Selvam Sathappan Periakaruppan
7945594c1d ipq: Remove reserved memory nodes in crashdump disabled path
This change is to remove SBL and U-Boot reserved memory nodes
in crashdump disabled case.

Signed-off-by: Selvam Sathappan Periakaruppan <speriaka@codeaurora.org>
Change-Id: Iea9d7e483e2766ec6124c9ec833dd81c3c8e9046
2020-05-15 04:16:51 -07:00
Balaji Prakash J
688e6c086e tools: pack: add option to skip 4k nand images
In fig branch, 4k nand HLOS images are not generated yet.
In pack script, we are generating nand-4k and norplusnand-4k
images if nand and norplusnand flash type is selected.
So, added an option "--skip_4k_nand" to skip generating
4k nand single images.

Signed-off-by: Balaji Prakash J <bjagadee@codeaurora.org>
Change-Id: I487c3e7d150a7165a70e2a4e1c13581eeaa08bb1
2020-05-15 13:15:50 +05:30
Vandhiadevan Karunamoorthy
699e92652f ipq5018: ethernet: update clock configuration
This changes initialize clock and enable the block of
Gephy, Uniphy, GMAC0 & GMAC1 and also udpate Rx & Tx clock
based on speed.

Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: Ia2627e17f7029c2d0d1cbb9eff26afb27aa1c057
2020-05-15 12:28:16 +05:30
Vandhiadevan Karunamoorthy
4daa70b2bc ipq5018: Fix usb initialization.
This changes avoid initialize the usb if not present in dts.

Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: I8d5666f1cceedb47b121ce6aefae93aa8c64d130
2020-05-15 10:35:02 +05:30
Vandhiadevan Karunamoorthy
2b1d1fd4dd ipq5018: Fix sod dts
This changes remove soc dtsi header file and
add only uart and timer nodes.

Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: I87c1f7c87514e993fed7cd4ff14920309d5eb9b3
2020-05-15 10:31:20 +05:30
Linux Build Service Account
f637a16ef2 Merge "ipq5018: Fix usb configuration" 2020-05-14 16:08:34 -07:00
Linux Build Service Account
aadc053ce6 Merge "driver: mtd: qpic_nand: Add support for serial training." 2020-05-14 12:10:48 -07:00
Linux Build Service Account
1ff812066d Merge "ipq5018: Support for Compressed ART caldata" 2020-05-14 08:39:37 -07:00
Linux Build Service Account
d095d98365 Merge "ipq5018: Update sod dts with mp03.1 dts info" 2020-05-14 08:39:36 -07:00
Linux Build Service Account
34bd7e8a76 Merge "ipq5018: Add support for BT-RAM dump collection" 2020-05-14 08:39:36 -07:00
Md Sadre Alam
a99d538e1b driver: mtd: qpic_nand: Add support for serial training.
This change will add support for serial training in
QPIC.

Due to different PNR and PCB delays, serial read data
can come with different delays to QPIC. At high frequency
operations Rx clock should be adjusted according to delays
so that Rx Data can be captured correctly. CLK_CNTR_INIT_VAL_VEC
in NAND_FLASH_SPI_CFG register is a 12-bit vector which is divided
in 4 parts of 3 bits each representing delay of 4 serial input data
lines. Bit [2:0] corresponds to qspi_miso[0], bit [5:3] corresponds
to qspi_miso[1], bit [8:6] corresponds to qspi_miso[2] and bit [11:9]
corresponds to qspi_miso[3]. Delay of each qspi_miso line can be set
from 0 to 7.

For serial training the following rule should be followd.

1) SW should write a page with any known pattern in flash at lower
frequency.

2) Set the CLK_CNTR_INIT_VAL_VEC for qspi_miso[0] line.

3) Read that page repetitively in high frequency mode until it
gets data accurately.

4) Repeat above steps for other qspi_miso lines.

Signed-off-by: Md Sadre Alam <mdalam@codeaurora.org>
Change-Id: If622809efff55fb2abe60f409a590abd5313741b
Signed-off-by: Md Sadre Alam <mdalam@codeaurora.org>
2020-05-12 04:27:24 -07:00
Linux Build Service Account
953252e6cf Merge "ipq8074: include new config name of hk01 board" 2020-05-12 03:09:32 -07:00
Vandhiadevan Karunamoorthy
a6261ab6a4 ipq5018: Update sod dts with mp03.1 dts info
This change duplicate the mp03.1 dts with minimal node.

Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: I90a7eac51f022af0d66865cbe6b4df6bc57972a7
2020-05-12 12:37:20 +05:30
Vandhiadevan Karunamoorthy
a95f6f7ce0 ipq5018: Add support for BT-RAM dump collection
Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: I0a59fe50e45d06f394b9b16e97cf281e41504ecc
2020-05-12 11:35:00 +05:30
Vandhiadevan Karunamoorthy
1b5ee1dd8a ipq5018: Add dts file for sod bring up
This new dts file contain uart support for sod bring up purpose

Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: I994e041363702febc40ed3c7632f76468483f8ca
2020-05-11 14:09:35 +05:30
Manikanta Mylavarapu
9800b9c065 ipq5018: Fix usb configuration
Update usb configuration based
on hardware requirement.

Signed-off-by: Manikanta Mylavarapu <mmanikan@codeaurora.org>
Change-Id: I307834cddab8b3b060d78a98ed047725d265ee00
2020-05-10 21:49:14 +05:30
Gerrit - the friendly Code Review server
bca0d487d3 Merge changes 2020-05-09 19:16:07 -07:00
Linux Build Service Account
4ef16c2f14 Merge "ipq5018: Uart clock update" 2020-05-09 15:38:26 -07:00
Linux Build Service Account
8473a5f83c Merge "ipq5018: Update GMAC ethernet driver" 2020-05-09 13:08:37 -07:00
Linux Build Service Account
8a67c4a29d Merge "board: ipq50xx: Initialize qpic nand only if rdp's has nand support." 2020-05-08 16:43:38 -07:00
Linux Build Service Account
830d6e3ea4 Merge "ipq5018: Add support for BT debug fdt fixup" 2020-05-08 08:39:45 -07:00
Md Sadre Alam
e5d962423b board: ipq50xx: Initialize qpic nand only if rdp's has nand support.
This change will add condition check based on dts property
status ="okay" and status = "disabled" for qpic nand initialization.

qpic_nand init will get called if and only if the corresponding
dts file will set the status="okay" for nand-controoler node.

if status="disabled" then qpic nand initialization will be skipped.

Signed-off-by: Md Sadre Alam <mdalam@codeaurora.org>
Change-Id: Iea3069ee7b0e54635b991e6d932ac9273b26fe0f
2020-05-08 16:29:14 +05:30
Rajkumar Ayyasamy
5b037707e2 ipq8074: include new config name of hk01 board
Change-Id: If678ee50333b81cd81b23d4b1fb0aeca5edff99a
Signed-off-by: Rajkumar Ayyasamy <arajkuma@codeaurora.org>
2020-05-08 03:51:43 -07:00
Rajkumar Ayyasamy
37d87655a2 ipq: add support to have multiple configname
Change-Id: Ie7c32f764fa42666b7997f4319789111e0551ad0
Signed-off-by: Rajkumar Ayyasamy <arajkuma@codeaurora.org>
2020-05-08 15:33:47 +05:30
Vandhiadevan Karunamoorthy
b36a6b7023 ipq5018: Support for Compressed ART caldata
This code update add support in tiny spi-nor flash
for  uncompressing the ART partition and read
the mac address.

This support GZIP and LZMA compression

Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: I699cebeb98748116ab7e3b1412d33562a4aa9d6d
2020-05-08 13:46:12 +05:30
Linux Build Service Account
190eec8139 Merge "driver: nand: qpic: Enable default clock setting for qpic." 2020-05-08 01:12:16 -07:00
Linux Build Service Account
8011644ef3 Merge "arm: dts: ipq50xx: Remove duplicate nodes from dts." 2020-05-08 01:12:16 -07:00
Md Sadre Alam
4d380489d5 driver: nand: qpic: Enable default clock setting for qpic.
This change will enable default clock setting QPIC block.

Signed-off-by: Md Sadre Alam <mdalam@codeaurora.org>
Change-Id: I12396dc9776c611df69216bad1471a988130b22d
2020-05-07 20:45:20 +05:30
Vandhiadevan Karunamoorthy
efb97f9df0 ipq5018: Uart clock update
This changes update uart clock setting for 1.8Mhz

Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: I406a0e3c86481d0fce9ac9aff489212ee5f709d9
2020-05-07 20:08:06 +05:30
Vandhiadevan Karunamoorthy
577c8ba9dc ipq5018: Update GMAC ethernet driver
This code changes update gmac configuration and
add Gephy, internal Mdio, uniphy and s17c switch.

Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: I1759b5edf91de9a48f6d8ae46b3481f3a87f10eb
2020-05-07 13:27:01 +05:30
Linux Build Service Account
6870c76758 Merge "arm: dts: ipq50xx: Add separate dts file to support eMMC." 2020-05-06 14:38:59 -07:00
Linux Build Service Account
bcb64aee5b Merge "ipq5018: Tiny U-boot: Add thumb2 support" 2020-05-06 10:10:56 -07:00
Vandhiadevan Karunamoorthy
13401122aa ipq5018: Add support for BT debug fdt fixup
Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: Ic1b8e4e566f63d4bf007435d0690ceee6c926297
2020-05-06 21:13:57 +05:30
Md Sadre Alam
8e2a19d7d2 arm: dts: ipq50xx: Remove duplicate nodes from dts.
This change will remove duplicate nodes from dts
and update machine id.

Signed-off-by: Md Sadre Alam <mdalam@codeaurora.org>
Change-Id: I62f7868fe6b7c4b5eeb0f16e9ea65099cbb40f01
2020-05-06 13:13:42 +05:30
Md Sadre Alam
d07f150ce6 arm: dts: ipq50xx: Add separate dts file to support eMMC.
Signed-off-by: Md Sadre Alam <mdalam@codeaurora.org>
Change-Id: I28988066d0e75d5eec950a89c80fee5b13ca9df0
2020-05-05 18:34:33 +05:30
Saravanan Jaganathan
e3cb69348b tools: pack: exit with error code when pack fails
change print to exit with error code so that we know
when an image packing fails

Change-Id: I55b791c226de1c6b2d40c4886a43b301c58aa644
Signed-off-by: Saravanan Jaganathan <sjaganat@codeaurora.org>
2020-05-04 22:01:47 -07:00
Vandhiadevan Karunamoorthy
08c5aec681 ipq5018: Tiny U-boot: Add thumb2 support
Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: Id4e04f98edee3a710ced1481815f29d83a44200c
2020-05-04 15:49:34 +05:30
Linux Build Service Account
8027a7fcf0 Merge "ipq5018: Add PCIe clocks configuration" 2020-05-02 04:07:57 -07:00
Manikanta Mylavarapu
d7f72cf927 ipq5018: Add PCIe clocks configuration
Signed-off-by: Manikanta Mylavarapu <mmanikan@codeaurora.org>
Change-Id: I5ef7d1f6b447c4626992ad79e97608fbce9f01b2
2020-05-01 13:26:50 +05:30
Vandhiadevan Karunamoorthy
fed441d78c ipq5018: Tiny U-boot: Remove NAND features
This changes remove nand command and Env support

Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: I6c59f8259306ef79499420afe4da17a2674e98be
2020-04-30 11:22:27 +05:30
Vandhiadevan Karunamoorthy
f5f074b49e ipq5018: Tiny U-boot: Remove nor from MTD
This code changes remove initializing nor as sudo NAND in mtd
framework and add sf command support to read from ART partition

Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: I39a27a72d9ab966f95d58adb4274660e147df67c
2020-04-30 11:22:27 +05:30
Vandhiadevan Karunamoorthy
dc75984fcc ipq5018: Remove default unwanted configuration
This code changes remove boot support for netbsd, vxworks and
rtems.

Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: I1f435fc80f29ad1f8e52e4b18d832e120ac9a503
2020-04-30 11:22:26 +05:30