Commit graph

36585 commits

Author SHA1 Message Date
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
Md Sadre Alam
f0af526b77 driver: nand: qpic_nand: Add support for winbond device
Signed-off-by: Md Sadre Alam <mdalam@codeaurora.org>
Change-Id: I19c0d6b285d4b054d9700f58a88395cd0ffe3896
2020-11-25 10:35:31 +05:30
Prasanna Kumar Thoorvas Samyrao Muralidharan
f6379ca513 fdt_fixup: Set mtdids if not present in bootm path
When bootm is called from uboot command prompt mtdids env is not set.
Set the mtdids env variable to proper value so that kernel can populate
the mtd partitions.

Change-Id: Ibaa7d196fb2fd3163fa14b9128becdad3b6c13f2
Signed-off-by: Prasanna Kumar Thoorvas Samyrao Muralidharan <ptsm@codeaurora.org>
Signed-off-by: Rajkumar Ayyasamy <arajkuma@codeaurora.org>
2020-11-24 17:59:42 +05:30
Rajkumar Ayyasamy
b1bf73dfbf tools: add script to convert files in squashfs img to hex array
Signed-off-by: Rajkumar Ayyasamy <arajkuma@codeaurora.org>
Change-Id: I3aa88737f832713a3ab371310f56025e5da30287
2020-11-24 01:11:39 -08:00
Karthick Shanmugham
35fb2435e2 ipq: Removed usb_init during board recovery flow
Signed-off-by: Karthick Shanmugham <kartshan@codeaurora.org>
Change-Id: Ib8dd62084d82477eb9bebcaa33a7b134c41d9afc
2020-11-23 08:12:26 -08:00
Linux Build Service Account
2e249ffd6b Merge "ipq5018: dts: Update TB-MP04 device tree" 2020-11-20 14:08:03 -08:00
Linux Build Service Account
e4d92f922c Merge "ipq5018: dts: Update MP03.4 device tree" 2020-11-20 12:09:50 -08:00
Pavithra Palanisamy
cb7d4f966d ipq5018: dts: Update TB-MP04 device tree
TB-MP04 baord is based on MP03.3 RDP.

Signed-off-by: Pavithra Palanisamy <pavip@codeaurora.org>
Change-Id: I06ee9973bc7db73e49174cc820c5d2385e1ca943
2020-11-19 20:28:51 +05:30
Pavithra Palanisamy
007a5446e8 ipq5018: dts: Update MP03.4 device tree
MP03.4-C1 and MP03.4-C2 RDPs are based on MP03.3 and
MP03.3-C2 respectively.

Signed-off-by: Pavithra Palanisamy <pavip@codeaurora.org>
Change-Id: I016eb422f3628e1a7733d71754613b2fa51245f1
2020-11-19 20:23:21 +05:30
Rajkumar Ayyasamy
940366ed72 tools: pack: make rootfs_data optional
rootfs_data partition is not required with the
latest fs tools OpenWRT package as the logical volume
inside the rootfs partition will be used for overlay
and it is removed from the parttion table. So making it
as optional

Signed-off-by: Rajkumar Ayyasamy <arajkuma@codeaurora.org>
Change-Id: Ia5489b714833548fd7f1aa4491c61eb70efdfdfa
2020-11-18 23:37:59 -08:00