Commit graph

8860 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
Linux Build Service Account
28e69e89c5 Merge "ipq5018: Tiny-nor support" 2020-04-15 13:45:54 -07:00
Linux Build Service Account
429d109cfd Merge "ipq6018: add UART clock settings" 2020-04-15 10:47:46 -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
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
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
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
1b781cfebe Merge "Revert "arm: dts: Added device-tree for CP01-C3 RDP"" 2020-04-03 10:18:01 -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
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
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
0e56cf5f55 Merge "ipq6018: Adding support for ipq6018-AP-CP01-C4" 2020-03-17 18:06:52 -07:00
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
48a962be05 Merge "ipq5018: DTS: Update Emulation Machine ID" 2020-03-11 16:38:02 -07:00
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
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
Gokul Sriram Palanisamy
72a5fde26f arm: dts: Added device-tree for CP01-C3 RDP
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
Change-Id: Ic55b259ee775a28d0714abf03c5cb5c90a1e024f
2020-02-27 21:45:48 +05:30
Vandhiadevan Karunamoorthy
a2edc11fd5 ipq5018: load appropriate kernel dts from single image.
Change-Id: I99bd6ab697b3951ed6c68135b13a223e125efc82
Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
2020-02-19 22:57:28 -08:00
Vandhiadevan Karunamoorthy
3f50b516ff ipq5018: Add Pcie support
Change-Id: Ifcb632b0cda947002e0538778484bb866f8227f8
Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
2020-02-19 22:57:03 -08:00