Commit graph

36284 commits

Author SHA1 Message Date
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
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
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
Rajkumar Ayyasamy
86e3d52362 ipq6018: add UART clock settings
Change-Id: Ifb80b67e961ae2cde93bc5709330c5df932d0b4b
Signed-off-by: Rajkumar Ayyasamy <arajkuma@codeaurora.org>
2020-04-15 10:30:05 +05:30
Gokul Sriram Palanisamy
72afd56aaf pack.py: Section and variable names made generic
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
Change-Id: I54ba0d7898445cfba5032bb6525f15b4a6888416
2020-04-14 21:48:31 -07:00
Vandhiadevan Karunamoorthy
de9c7a6a8b ipq5018: Tiny-nor support
This changes enable ipq5018-tiny arch config which support
ipq5018 standard board files but support only particular dtbs

This change mainly removes eMMC, Pci ,I2C & UBI command and
additional features support

Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: I4c92c77094d7fbc23b979f0c65f650cc89c28715
2020-04-14 23:28:58 +05:30
Vandhiadevan Karunamoorthy
b9ca7ae4a2 ipq5018: Disable secure pil for ATF
This changes disable secure pil if 'atf' env variable is set

Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: I8a86b313a639515375c71e78f90d08e8fc340f59
2020-04-14 21:00:59 +05:30
Gitanjali Krishna
f403ae6e97 minidump: Add u-boot env variable to test minidump
To test minidump feature, we require a method to
collect full dump and minidump binaries on a
single run for side by side comparison.

This change enables dumping of minidump and
full dump binaries consecutively when uboot
env variable 'dump_minimal_and_full' is set.

Change-Id: I846084546d3c67398d7ef7b81e87c97bcc63c609
Signed-off-by: Gitanjali Krishna <gitanjal@codeaurora.org>
2020-04-09 08:55:57 -07:00
Linux Build Service Account
b02ecfef9e Merge "dts: hk14: Removed unused malibu port" 2020-04-08 06:42:15 -07:00
Linux Build Service Account
cfb97cf321 Merge "ipq5018: Fix xPU violation issue" 2020-04-08 03:21:49 -07:00
Gokul Sriram Palanisamy
1bd3deba8a dts: hk14: Removed unused malibu port
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
Change-Id: Ifa6e71a6a88de3c35c1e4ebd9c3aed317224a282
2020-04-07 23:30:39 +05:30
Vandhiadevan Karunamoorthy
5654b46d6d ipq5018: Fix xPU violation issue
This change will disable QPIC related clock because
all QPIC related clock setting is done by SBL.
If again we will try to access QPIC clock from u-boot
then due to xPU protection on QPIC clock register,
will generate the NOC error.

This change will also disable the global counter value
for clock source in register MPM2_MPM_CONTROL_CNTCR.
The global counter value setting is also done by SBL.

Change-Id: I2e9b11c208986fc85a5f3a8fb876c8aea083c87b
Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
2020-04-07 09:42:47 +05:30
Gokul Sriram Palanisamy
ba5944287b pack.py: HK14: Added support to flash qcn9000 fw
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
Change-Id: I7c397d53281bce44607ca850662425cec9ce648a
2020-04-06 18:38:52 -07:00
Gokul Sriram Palanisamy
342dac3c00 dts: hk14: Updated mac_mode
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
Change-Id: Id4d039b887af49b4f2f794be86f2a3be3bd83d4b
2020-04-06 18:32:03 -07:00
Linux Build Service Account
4284fb3440 Merge "u-boot: Remove soft-float compile flag" 2020-04-06 11:23:24 -07:00
Linux Build Service Account
39dab1505a Merge "ipq807x: Remove the Aquantia autoneg" 2020-04-06 06:10:19 -07:00
Linux Build Service Account
1b781cfebe Merge "Revert "arm: dts: Added device-tree for CP01-C3 RDP"" 2020-04-03 10:18:01 -07:00
Linux Build Service Account
5026c7c923 Merge "ipq807x: Added support for new board variant HK14" 2020-04-03 05:40:22 -07:00
Gokul Sriram Palanisamy
1a9cb5350b ipq807x: Added support for new board variant HK14
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
Change-Id: I69c53cea350ed18f55a429256b799f5507d818d4
2020-04-03 12:48:53 +05:30
Kathiravan T
a9c7562f2c ipq807x: fdt_fixup: handle qti,scm_restart_reason node
restart_reason node can be either "/soc/qca,scm_restart_reason" or
"/qti,scm_restart_reason". Add support to handle this.

Signed-off-by: Kathiravan T <kathirav@codeaurora.org>
Change-Id: I6ceb35ccdb5305d8ecf39089a5bf2ef426e80a81
2020-04-01 19:27:32 +05:30
Gokul Sriram Palanisamy
113fced1a0 Revert "arm: dts: Added device-tree for CP01-C3 RDP"
This reverts commit 72a5fde26f.

Change-Id: Icc0c13a55a3497d2a3fe279e118850921b70f8b7
2020-04-01 16:34:21 +05:30
Gokul Sriram Palanisamy
5e5f04049e arm: dts: Added support for CP01-C3 RDP
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
Change-Id: I5dbe6796b4a6fbd56095dd68eca667b35923957b
2020-04-01 13:59:03 +05:30
Vandhiadevan Karunamoorthy
dece068296 ipq5018: config: Add ubi write & TZT command
Change-Id: I246f8779b8f3d053b396ccfa52a57e5a4bc04644
Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
2020-03-26 12:14:28 +05:30
Vandhiadevan Karunamoorthy
ee7e8804d0 ipq5018: config: Add partition support for usb
This config enable Block device support and
DOS partition support , required for USB command.

Change-Id: I5734e468f7deded2ba2f44921e8f4ff5420c4801
Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
2020-03-26 11:08:51 +05:30
Sham Muthayyan
08d0424ac7 ipq807x: Remove the Aquantia autoneg
Change-Id: I46ab6c39d2d4e9a86cedb7756799a5834a3c23b1
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2020-03-23 01:59:40 -07:00
Vandhiadevan Karunamoorthy
854cc55efb ipq5018: Kconfig: Add pci usb & i2c config
Change-Id: Ia3cc7d6c5e3bb21390b6d6e09ef6b4fb5370a99e
Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
2020-03-20 15:42:43 +05:30
Vandhiadevan Karunamoorthy
fbdef33978 ipq5018: armv7: Enable barrier bit
Change-Id: I6ae378b84f9567c112ad7ed00d0f9ace335c83cf
Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
2020-03-20 15:37:25 +05:30
Linux Build Service Account
916afda2a5 Merge "ipq: fdt_fixup: add compatible string used in NAND driver" 2020-03-19 02:43:22 -07:00
Linux Build Service Account
0e56cf5f55 Merge "ipq6018: Adding support for ipq6018-AP-CP01-C4" 2020-03-17 18:06:52 -07:00
Rajkumar Ayyasamy
b05c7ca30f ipq: fdt_fixup: add compatible string used in NAND driver
This will enable populating mtd partitions in NAND boot
with the upstream kernel.

Change-Id: Ideb7fe11ae58964dd47db3561400d5537c9f2ade
Signed-off-by: Rajkumar Ayyasamy <arajkuma@codeaurora.org>
2020-03-17 12:26:40 +05:30
Gokul Sriram Palanisamy
a52bcaf919 tools: pack: Removed nosmp bootargs
This allows Linux Kernel to use all
smp cores available.

Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
Change-Id: Id63c506d17eeb9cc15cc453adb89f77fa1cb4039
2020-03-16 21:39:06 +05:30
Pavithra Palanisamy
5f9274fbec arm: dts: ipq5018: Add support for new board variants
This change is to add device-tree files and Makefile changes
to support the following board variants
- MP02.1
- MP03.1
- MP03.3

The device tree files are copies of emulation-dts
along with RDP specific changes
. Disabled eMMC support for MP02.1
. Timer frequency to be used from soc-dtsi
. Removed 'emulation' flag from xhci

Change-Id: I0d5e776c98770e61fa2ab6009fd78ff5cc8127c3
Signed-off-by: Pavithra Palanisamy <pavip@codeaurora.org>
2020-03-12 22:27:23 -07:00
Linux Build Service Account
aebe8534e2 Merge "ipq: tzt: add scm call return value check" 2020-03-12 07:10:18 -07:00
Linux Build Service Account
48a962be05 Merge "ipq5018: DTS: Update Emulation Machine ID" 2020-03-11 16:38:02 -07:00
Rajkumar Ayyasamy
ebb903de26 ipq: tzt: add scm call return value check
Change-Id: Ic7736482a77cbf2eb08e7348ce955a5d0c1cbe37
Signed-off-by: Rajkumar Ayyasamy <arajkuma@codeaurora.org>
2020-03-10 16:17:56 +05:30
Praveenkumar I
bb4916874d ipq6018: Adding support for ipq6018-AP-CP01-C4
Signed-off-by: Praveenkumar I <ipkumar@codeaurora.org>
Change-Id: If54dee77a0db761bfad8c589ea856a24dffe8107
2020-03-10 13:20:21 +05:30
Linux Build Service Account
66efbd09dd Merge "driver: mtd: qpic: Enable support for page_scope & multi_page read command." 2020-03-09 20:39:03 -07:00
Vandhiadevan Karunamoorthy
c88941444c ipq5018: DTS: Update Emulation Machine ID
Emulation machinde id is udpated as per the CDT config

Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: I5f6cf824d1d7b403292bf60432767c5b5ce39a81
2020-03-09 12:45:32 +05:30
Linux Build Service Account
81e6528984 Merge "ipq5018: update crash dump structure" 2020-03-06 17:41:20 -08:00
Md Sadre Alam
599391c231 driver: mtd: qpic: Enable support for page_scope & multi_page read command.
This change will enable page_scope_read & multipage_read support for
QPIC.
QPIC version 2.0 onwards , QPIC support page_scope_read &
multipage_read command to enhance the read performance.
In normal page read command SW is needed to write EXEC_CMD register
for each Code word and collect any Status related to that CW before
issueing EXEC_CMD for next CW.

For page_scope read command SW is required to issue EXEC_CMD
only once for a page. Controller HW takes care of Codeword specific
details and automatically returns status associated with each CW to
BAM pipe, dedicated for status deposition.

enabling all bits in NAND_AUTO_STATUS_EN will require 4 data
descriptors of 24 bytes each. This will publish all NANDc status
registers in system memory.

For multipage_read command SW is required to issue EXEC_CMD only
once for all the pages which configured in QPIC_NAND_MULTI_PAGE_CMD
register.
All interrupts will be operational and valid in these modes.

To check the status for each codeword, it is not possible to access
the status registers while the read command is operational in
page_scope & multi_page read  modes. Hence, another feature to publish the
status data (for all NAND status registers) by programming the
NAND_AUTO_STATUS_EN register.

For serial NAND:
Read command for page_scope_read = 0x78800032 (QPIC_NAND_FLASH_CMD)
Read command for multi_page_read = 0x78400032 (QPIC_NAND_FLASH_CMD)

For Parallel NAND:
Read command for page_scope_read = 0x00800032 (QPIC_NAND_FLASH_CMD)
Read command for multi_page_read = 0x00400032 (QPIC_NAND_FLASH_CMD)

Now we fixed maximum data bytes read in one go 128KiB(2KiB page),
256KiB (4KiB page), 512 KiB (8kiB page), because from upper layer
we are getting more than 128KiB data bytes request in one go. if so
just changing the value of "MAX_MULTI_PAGE" macro will increase the
maximum data bytes in one go.

Change-Id: I48eea51ff8f5f79f3490d8a538c295ecc3eeee19
Signed-off-by: Md Sadre Alam <mdalam@codeaurora.org>
2020-03-06 15:52:15 +05:30
Sham Muthayyan
44045b8654 mii: Fix the device name command
Change-Id: Iee9e96eddeaeddb3dd7463647e62325a50a31a1a
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2020-03-05 15:46:34 +05:30