Commit graph

36594 commits

Author SHA1 Message Date
Vandhiadevan Karunamoorthy
5343739b40 arm: dts: remove pci-x2 and usb from mp03.3-c3
Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: I5d8169368f9dfed4110a2dceecab56606712aa4b
2021-03-30 11:45:03 +05:30
Vandhiadevan Karunamoorthy
b524f067dc arm: dts: add mp03.3-c3 support
Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: Id430feb89b3b3cff3b59e5a191c0b342fc59bf65
2021-03-29 17:31:11 +05:30
Vandhiadevan Karunamoorthy
15aa7bfe5a bootqca: correct misprint log
Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: I87b4f3b2aa4af9af41486e8056bd759a1722ba7c
2021-03-22 12:53:49 +05:30
Karthick Shanmugham
bce99ec378 ipq: cmd: Disabled the cache commands
Disabled the cache commands config CONFIG_CMD_CACHE. This changes
removes the icache and dcache commands.

Signed-off-by: Karthick Shanmugham <kartshan@codeaurora.org>
Change-Id: I0cfd4df12e452a15861f0df7f4512234113d315a
2021-03-18 18:19:26 -07:00
Linux Build Service Account
7bed5de6b0 Merge "pack: Remove flash wifi_fw command" 2021-03-18 06:37:40 -07:00
Manikanta Mylavarapu
5ddba484f3 pack: Remove flash wifi_fw command
'flash wifi_fw' command writes into flash based
on 'rootfs' partition offset. After sysupgrade,
flashing single image at u-boot write wifi firmware
into failsafe partitions because post sysupgarde
primary and failsafe partitions are swapped vice-versa.
Single image always boots with primary partitions, and
the wifi firmware flashed into failsafe partition won't
be loaded subsequently q6 will crash.

This patch resolves issue by using "ubi" command's instead
of "flash wifi_fw" command.

Signed-off-by: Manikanta Mylavarapu <mmanikan@codeaurora.org>
Change-Id: I9a89872ade5cbd753272e11fd15e7b8f06d4f92c
2021-03-18 08:17:15 +05:30
Karthick Shanmugham
688ca8069d ipq6018: Modified the ppe ports to support 2.5G link in PHY3
Signed-off-by: Karthick Shanmugham <kartshan@codeaurora.org>
Change-Id: Iab6a8f81213cdd1013d22597e623cda5be5cd041
2021-03-10 03:24:54 -08:00
Gitanjali Krishna
ebcbd6d5f6 ipq5018: disable pci0 for ipq5018-mp03.6-c1 dts
Signed-off-by: Gitanjali Krishna <gitanjal@codeaurora.org>
Change-Id: Ia9982a03265eb0b6e0e633590c6b82134afc537a
2021-02-20 14:08:54 -08:00
Kathiravan T
44cd9ed1c4 configs: ipq6018: enable LZMA decompressor
Now, the linux-5.4 image is LZMA compressed enable the LZMA
decompressor support.

Signed-off-by: Kathiravan T <kathirav@codeaurora.org>
Change-Id: Ibfc0d1fb6ffc463182f944bea0aa1d76af7d57b5
2021-02-16 20:50:43 -08:00
Linux Build Service Account
65b18f68ad Merge "ipq5018: Add BT state information in dts" 2021-02-09 09:40:04 -08:00
Linux Build Service Account
c7465a6b38 Merge "common: sf_command: Add ram region validation" 2021-02-08 02:43:34 -08:00
Vandhiadevan Karunamoorthy
73966739fb common: sf_command: Add ram region validation
Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: I36a48bae392388cfd565c6a351f01247959bb613
2021-02-08 10:10:09 +05:30
Amandeep Singh
695eea1bf0 ipq5018: Add BT state information in dts
Add BT state information to patch dts when the BT is started at bootloader.

Signed-off-by: Amandeep Singh <amansing@codeaurora.org>
Change-Id: Ib88150bb6c8469ec6d63578ce5c4ab21511aff60
2021-02-03 22:27:08 -08:00
Md Sadre Alam
b05847a5de drivers: nand: qpic_nand: Add support for Macronix spi nand.
This change will add support for Macronix "MX35UF1GE4AC" spi nand

Signed-off-by: Md Sadre Alam <mdalam@codeaurora.org>
Change-Id: I66e82e22217d655b44e30baa64f3aefd5a5f2aaa
2021-01-27 19:59:26 +05:30
Md Sadre Alam
64af2446f8 driver: nand: qpic_nand: Add support for Winbond spi nand
This change will add support for winbond "W25N02JWZEIF"
spi nand device.

Signed-off-by: Md Sadre Alam <mdalam@codeaurora.org>
Change-Id: I1dd258c3f0f3174d09e74fb7ffd0c26a43e6c24b
2021-01-22 19:55:54 +05:30
Md Sadre Alam
17fd8d354d driver: mtd: nand: qcom_nand: Add support for gigadevice nand
GD5F1GQ5REYIH

Signed-off-by: Md Sadre Alam <mdalam@codeaurora.org>
Change-Id: I84e9d15792a86185e444936a8fe0e5ebd061be8a
2021-01-19 13:50:03 +05:30
Md Sadre Alam
02c55e3fb0 driver: nand: qpic_nand: Add support for giga device spi nand
This change will  add support for giga device GD5F1GQ5REYIG
spi nand support.

Signed-off-by: Md Sadre Alam <mdalam@codeaurora.org>
Change-Id: I57211ce34543de81216d86653a45519b97cf2fb0
2021-01-19 13:45:49 +05:30
Md Sadre Alam
4609378109 driver: mtd: qpic_nand: Add support for F50D1G41LB spi-nand
Signed-off-by: Md Sadre Alam <mdalam@codeaurora.org>
Change-Id: Ib042ec361ed4a16b93594a37c8daca6c26840ce7
2021-01-19 13:42:43 +05:30
Linux Build Service Account
a1a420ebc1 Merge "arm: dts: ipq5018: Update blsp base address for i2c." 2021-01-13 17:38:24 -08:00
Linux Build Service Account
229598dcf4 Merge "ipq5018: Enable usb power gpio output" 2021-01-13 01:41:39 -08:00
Linux Build Service Account
57b89f1c98 Merge "driver: nand: qpic_nand: Add support for winbond device" 2021-01-12 05:11:07 -08:00
Md Sadre Alam
680ffebba6 arm: dts: ipq5018: Update blsp base address for i2c.
This change will update blsp base address for i2c in
MP03.3rdp. Updated address from 78b6000 to 78b7000.

Signed-off-by: Md Sadre Alam <mdalam@codeaurora.org>
Change-Id: Idd37550ac4cf012db0dfea16539d5c0948b13f40
2021-01-11 23:14:08 -08:00
Manikanta Mylavarapu
53e68f335e ipq5018: Enable usb power gpio output
Gpio out need to be enabled for
re-spin boards.

Signed-off-by: Manikanta Mylavarapu <mmanikan@codeaurora.org>
Change-Id: I711ed313170fb6268d1d5b9d70f2966bae481241
2021-01-11 17:30:56 +05:30
Linux Build Service Account
b221ad6e20 Merge "net: Use packed structures for networking" 2021-01-06 17:39:33 -08:00
Linux Build Service Account
7493b8918b Merge "configs: ipq5018:Enable PRIVATE LIBGCC" 2021-01-06 13:09:07 -08:00
Linux Build Service Account
d110bd4798 Merge "ipq5018: increase bt wait timeout" 2021-01-06 13:09:07 -08:00
Sivaprakash Murugesan
7767cd056e net: Use packed structures for networking
With latest GCC 4 byte aligned instructions are getting generated for
2 byte aligned data. This is due to the option '-fstore-merging' enabled
by default for '-O2'

This is causing data abort if data cache is disabled.

Signed-off-by: Sivaprakash Murugesan <sivaprak@codeaurora.org>
Change-Id: Idaac94fcc8e5c61f0ea720ed0c10e908d3688c61
2021-01-06 01:20:48 -08:00
Karthick Shanmugham
b6d6a4aa72 ipq5018: block_drvr const declared only on HAVE_BLOCK_DEVICE
1. Modified to the declare block_drvr struct and const variable
only on HAVE_BLOCK_DEVICE config enabled.
2. Removed unused const training_block_128

Signed-off-by: Karthick Shanmugham <kartshan@codeaurora.org>
Change-Id: Icfe05aec82a124429443aadf735767366b168d6b
2021-01-06 13:56:43 +05:30
Karthick Shanmugham
489d892a2f configs: ipq5018:Enable PRIVATE LIBGCC
Signed-off-by: Karthick Shanmugham <kartshan@codeaurora.org>
Change-Id: I2bab00e94787331e3f0060cf0d3641ee01e110c1
2021-01-06 00:14:50 -08:00
Rajkumar Ayyasamy
e0b48e556a ipq5018: increase bt wait timeout
Signed-off-by: Rajkumar Ayyasamy <arajkuma@codeaurora.org>
Change-Id: I0255e7814d13b6cbe46ba6b167a9930e9c6f61e5
2021-01-05 23:46:26 -08:00
Selvam Sathappan Periakaruppan
ac3c252cf1 qca: Move the function set_platform_specific_default_env
This patch moves the set_platform_specific_default_env
function outside of CONFIG_QCA_MMC as this function is
not dependent on that config.

This will cause unexpected behaviour if suppose MMC
config is disabled.

Signed-off-by: Selvam Sathappan Periakaruppan <speriaka@codeaurora.org>
Change-Id: I9bfc35afb054103bfb60b837cff04eed1d94decd
2020-12-30 20:47:57 -08:00
Pavithra Palanisamy
c8abb25330 pack: Modify QCN9100 to QCN6122 for Spruce
Signed-off-by: Pavithra Palanisamy <pavip@codeaurora.org>
Change-Id: Id39e432528603778d125ba69638b26bb7e74f41e
2020-12-29 20:45:50 -08:00
Linux Build Service Account
498556e135 Merge "pack: Update section name for WIFIFW" 2020-12-29 11:37:38 -08:00
Pavithra Palanisamy
ddd63fb99d pack: Update section name for WIFIFW
This change is to update the section name for wififw
in single-image with the QCN IDs when multiple wififw
images get packed.

Signed-off-by: Pavithra Palanisamy <pavip@codeaurora.org>
Change-Id: I56ab611a127b9958c38737684d856c51fabf7cd2
2020-12-29 13:59:18 +05:30
Vandhiadevan Karunamoorthy
a08592083b ipq50xx: net: Update UNIPHY_MISC register address
This changes enable proper uniphy soft reset for mode setting.

Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: Iebafa56ec4aecee98ba2f124d6140ee15083d317
2020-12-28 17:17:16 +05:30
Linux Build Service Account
05a60f1d5a Merge "drivers: mtd: qpic_nand: Read one complete page for serial trainig" 2020-12-22 19:09:01 -08:00
Selvam Sathappan Periakaruppan
8d1a99097c ipq6018: Increase MDC, MDIO gpios drive strength
This patch updates the MDC and MDIO gpio strength from 2MA
to 8MA.

Signed-off-by: Selvam Sathappan Periakaruppan <speriaka@codeaurora.org>
Change-Id: Ie510d7ecaca1d22c97e4c8522050a76ba9b1b22c
2020-12-18 19:18:07 +05:30
Md Sadre Alam
82f1b86949 drivers: mtd: qpic_nand: Read one complete page for serial trainig
This change will change serial training data read to one complete
page instead of 64-bytes read. Partial page read will cause some
data curroption issue if read request failed so read one complete page.

Signed-off-by: Md Sadre Alam <mdalam@codeaurora.org>
Change-Id: Ibad101f096440e5dc10dfb4b3329a0aa6bddee7d
2020-12-18 17:34:40 +05:30
Linux Build Service Account
ab45ee8b60 Merge "driver: nand: qpic_nand: Fix proper clock source macro in set_clk_rate function." 2020-12-11 05:06:53 -08:00
Manikanta Mylavarapu
33024894ca ipq5018: Fix usb hsphy clock
It will resolve usb probe failure in hs phy
without ss phy. It enables utmi clock instead
of pipe clock in hs phy only configuration.

Change-Id: Idaf140d2cbe068304f1ce87c443c8e2196e3433e
Signed-off-by: Manikanta Mylavarapu <mmanikan@codeaurora.org>
2020-12-07 14:35:22 +05:30
Md Sadre Alam
d60219d19c driver: nand: qpic_nand: Fix proper clock source macro in set_clk_rate function.
This change will fix proper clock source macro in set_clk_rate function.
Currently we are passing the wrong value to qpic_set_clk_rate for clock
source.

wrong:
qpic_set_clk_rate(IO_MACRO_CLK_200_MHZ, QPIC_IO_MACRO_CLK, NAND_QSPI_MSTR_CONFIG);

The last argument should be clock source not register base address.

correct:
qpic_set_clk_rate(IO_MACRO_CLK_200_MHZ, QPIC_IO_MACRO_CLK, GPLL0_CLK_SRC);

Signed-off-by: Md Sadre Alam <mdalam@codeaurora.org>
Change-Id: Ie9e07c253220924fd0c9287f7f0e2c5d42351128
2020-12-07 11:13:51 +05:30
Linux Build Service Account
1a756e2b23 Merge "ipq5018: bt: fix hci cmd" 2020-11-27 05:09:42 -08:00
Rajkumar Ayyasamy
e98d1a5311 ipq5018: bt: fix hci cmd
Signed-off-by: Rajkumar Ayyasamy <arajkuma@codeaurora.org>
Change-Id: Ideeec55d3fe062f1cdc07f81f379c017224dbf0c
2020-11-26 16:54:35 +05:30
Linux Build Service Account
41c00461e4 Merge "mmc: fix dest address" 2020-11-26 01:09:17 -08:00
Linux Build Service Account
8b4babe301 Merge "tools: add script to convert files in squashfs img to hex array" 2020-11-26 01:09:17 -08:00
Linux Build Service Account
276df92d06 Merge "fdt_fixup: Set mtdids if not present in bootm path" 2020-11-25 16:09:27 -08:00
Linux Build Service Account
27ebbe15c7 Merge "ipq5018: Add BT beaconing support" 2020-11-25 16:09:26 -08:00
Rajkumar Ayyasamy
f5838b7edc mmc: fix dest address
After reading data from mmc, dest pointer will point to
the end address. To calculate the start of dest pointer
number of bytes copied has to be subtracted.

Signed-off-by: Rajkumar Ayyasamy <arajkuma@codeaurora.org>
Change-Id: I24610a3b3bb498c4ee4ebba58e557d109c6af1ef
2020-11-25 04:18:37 -08:00
Rajkumar Ayyasamy
2343ff363f ipq5018: Add BT beaconing support
Signed-off-by: Rajkumar Ayyasamy <arajkuma@codeaurora.org>
Change-Id: Ibe8dc716d0f4bafbbf1ec7f3b776bb4a6f891f45
2020-11-25 12:49:07 +05:30
Rajkumar Ayyasamy
5f474cadf3 ipq5018: add BT IPC over shared memory driver
https://source.codeaurora.org/quic/qsdk/oss/kernel/linux-msm/tree/drivers/soc/qcom/bt?h=win.coretech.1.0

Signed-off-by: Rajkumar Ayyasamy <arajkuma@codeaurora.org>
Change-Id: If52b52ebe8774063f52f7b597991fbb562526db6
2020-11-24 22:48:24 -08:00