Commit graph

36322 commits

Author SHA1 Message Date
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
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
Vandhiadevan Karunamoorthy
1df5cd41f6 ipq5018: Tiny U-boot: Remove unwanted features.
This code changes remove the list of features given below
which is not required for tiny u-boot.
1.CONFIG_EFI_PARTITION
2.CONFIG_RBTREE
3.CONFIG_CMD_CACHE
4.CONFIG_CMD_BOOTZ

Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: I8174686db1e30334512fb2c77e77aa9ae101e023
2020-04-30 11:22:26 +05:30
Linux Build Service Account
1663d8c23b Merge "ipq: fdt_fixup: Add support for addmtdparts" 2020-04-29 03:11:21 -07:00
Manikanta Mylavarapu
92980348f7 ipq5018: Fix phy initialization
This Fix will skip phy init sequence
for IPQ5018 because it doesn't need
any phy initialization.

Signed-off-by: Manikanta Mylavarapu <mmanikan@codeaurora.org>
Change-Id: I781ea03eda933692d6a096c97d93d238b1e7063d
2020-04-29 08:48:03 +05:30
Saravanan Jaganathan
c78c9ed1f5 ipq: fdt_fixup: Add support for addmtdparts
Uboot passes the partition table in smem to kernel through
device tree. There is currently no method to specify
additional paritions to be created. This environment
variable addmtdparts allows users to specify new
partitions. The format is

	setenv addmtdparts <newpart>[,<newpart>,...]
	where <newpart> is  <size>[@<offset>][<name>][ro][lk]

This syntax is same as in mtdparts part definition.

	Example:
		setenv addmtdparts 100M@0x8080000(diag)

Change-Id: I91486cf5f74b0724565735f116ee1ec6722ba683
Signed-off-by: Saravanan Jaganathan <sjaganat@codeaurora.org>
2020-04-28 22:41:21 +05:30
Vandhiadevan Karunamoorthy
7d2cfd8f6a ipq5018: Add support for execute_tzt command
Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: I5ddc35daf908c894cce59808c9cb5c310417efdf
2020-04-28 10:01:09 +05:30
Linux Build Service Account
78ff936e75 Merge "arm: dts: ipq50xx: configure all GPIOs for DB board" 2020-04-27 13:14:03 -07:00
Md Sadre Alam
9ce72a0472 arm: dts: ipq50xx: configure all GPIOs for DB board
This change will add all GPIO configuration for DB boards
as per DB board schematics.

Signed-off-by: Md Sadre Alam <mdalam@codeaurora.org>
Change-Id: Ic853acc1639c344327f509ef0b391b9e3fd9933a
2020-04-27 16:28:10 +05:30
Linux Build Service Account
7f2f9a9814 Merge "ipq5018: Enable LZMA decompression support" 2020-04-24 13:15:31 -07:00
Linux Build Service Account
4f43809fbb Merge "arm: dts: ipq501x: update gpio as per rdps schematics." 2020-04-24 07:13:46 -07:00
Md Sadre Alam
88a244aa1f arm: dts: ipq501x: update gpio as per rdps schematics.
Signed-off-by: Md Sadre Alam <mdalam@codeaurora.org>
Change-Id: I1269d8a0ec33b7c07bf27e7482d36bceb87fd35c
2020-04-23 11:22:17 +05:30
Ram Chandra Jangir
084830e8c4 ipq5018: Enable LZMA decompression support
LZMA usually performs better than gzip in terms of compression
ratio, IPQ5018 has small flash memory and hence the lzma support
is enabled defining the CONFIG_LZMA define.

Signed-off-by: Ram Chandra Jangir <rjangir@codeaurora.org>
Change-Id: Ib07abe85206f011c637c61a7c00d8d3788120a41
2020-04-20 16:22:41 +05:30
Linux Build Service Account
28e69e89c5 Merge "ipq5018: Tiny-nor support" 2020-04-15 13:45:54 -07:00
Linux Build Service Account
2b20ed0e91 Merge "ipq5018: Disable secure pil for ATF" 2020-04-15 13:45:53 -07:00
Linux Build Service Account
429d109cfd Merge "ipq6018: add UART clock settings" 2020-04-15 10:47:46 -07:00
Linux Build Service Account
c8100436ec Merge "pack.py: Section and variable names made generic" 2020-04-15 10:47:45 -07:00