Commit graph

8513 commits

Author SHA1 Message Date
Sham Muthayyan
d7c561d228 ipq807x: Print the spi address length info
Print spi 3 byte address by default if the
SMEM_SPI_FLASH_ADDR_LEN ID is not passed in smem.

Change-Id: I6b55401adb89a1341130465ae307c30901ce7895
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2017-11-06 18:51:22 +05:30
Vasudevan Murugesan
7fd4f44ace ipq807x: mmc: Enabled SDHCI ADMA support
This patch enables SDHCI mode and also supports
data transfer using ADMA method.

Change-Id: Ia3187fec9024ad0972ca720cf0b9ddc6a59b906c
Signed-off-by: Vasudevan Murugesan <vmuruges@codeaurora.org>
2017-11-03 02:52:37 -07:00
Sham Muthayyan
7056e90335 ipq807x: Add the Aquantia support in hk01-c2, hk02, db-hk01 boards
Change-Id: I40b3b761ce03121e764eaa51cbea44c833f17414
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2017-11-01 06:01:24 -07:00
Sham Muthayyan
db4516262a qcom: nand: Issue the Reset command before probe
Reset command must be the first command issued to all
targets after the NAND flash device is powered on.

Change-Id: I617dc5b0ad8d72705dcf20f1cb554134b166e533
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2017-10-25 23:45:34 -07:00
Sham Muthayyan
921da8d0b2 ipq807x: Add SMEM_SPI_ADDR_LEN support for SPI flash
This SMEM type is to determine the spi flash addr is in 3 byte
or 4 byte.

Change-Id: I705a9c5c6f760b93e112a873ead41cd76520501b
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2017-10-25 16:53:30 +05:30
Gokul Sriram Palanisamy
09628e67ad ipq8074: Support for TZT execution
Change-Id: I59a1659893783db9dec8b23c53c34ba7b87f83b0
Signed-off-by: Gopinath Sekar <gsekar@codeaurora.com>
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-10-16 09:54:28 +05:30
Gokul Sriram Palanisamy
f9ad5ac9d7 ipq807x: Modified scm calls to support both 32 bit and 64 bit
Change-Id: Iee99423239f7de49a9fc7a4c2e6244df385f5f09
Signed-off-by: Gopinath Sekar <gsekar@qti.qualcomm.com>
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-10-12 04:46:15 -07:00
Gokul Sriram Palanisamy
e0e7c2116a ARM: dumpqca: Added entry for secure boot
Added a separate dumpinfo entry for
Secure boot to skip secure region.

Change-Id: Ib3836a851e8b0603a9c08013de293dcbe8e3c0fb
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-10-12 04:45:57 -07:00
Gokul Sriram Palanisamy
c6b251a55e ARM: qca: Included dynamic IMEM dump address support
NSS-IMEM region is copied to a dynamic address
region in DRAM during kernel crash to avoid
NSS dump corruption.
This patch includes support to save the NSS dump
from the dynamic DRAM region to file in host machine.

Change-Id: I6131da890dc8bde382a3d2511ea930cd76c1f79e
Signed-off-by: Manoharan Vijaya Raghavan <mraghava@codeaurora.org>
2017-09-22 01:21:44 -07:00
Sham Muthayyan
36d71f4217 ipq807x: Enabled the device entries for UXSGMII and PSGMII mode
Change-Id: Iaaf784bd12aaf6af5836ae021d36777e569d1d01
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2017-09-13 23:24:45 -07:00
Sham Muthayyan
643f0acddf ipq807x: Enabled the 8033 phy support for DB-HK02
Change-Id: Ifa9fcb7ee3f9263e97d81dd8ea984a2c9923af2a
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2017-09-13 23:24:00 -07:00
Sham Muthayyan
20da321f4a ipq807x: Enabled the 8033 in DB-HK01 board
Change-Id: I3ad840997473ae41a5383e42834d1e9ce116af95
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2017-09-13 23:23:55 -07:00
Saravanan Jaganathan
3a9f14f1e6 ipq807x : Dcache fix for DDR more than or equal to 3GB
Change-Id: Ia9eccd72cd2c721517d0dfedc5783be8f59fe30a
Signed-off-by: Saravanan Jaganathan <sjaganat@codeaurora.org>
2017-08-29 22:47:53 -07:00
Linux Build Service Account
39b207217d Merge "ARM:cache-cp15: Set Domain Access Control Register" 2017-08-22 20:16:26 -07:00
Gokul Sriram Palanisamy
914c8702bc ipq807x: dts: Added devicetree for HK01-C2 board
Change-Id: Ic175f0737c08579220945e0abecfb9ab7b968518
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-08-22 14:50:53 +05:30
Gokul Sriram Palanisamy
fd0bc4b933 ARM:cache-cp15: Set Domain Access Control Register
A processor can execute instructions from a memory
region only if the access permissions for its
current state permit read access, and the XN
bit is set to 0.

The domain access is to be set as "clients"
for proper functioning of XN bit.

Change-Id: I86daffa828fa7b2fa365e358ef7042630ab98d60
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-08-22 02:01:19 -07:00
Gokul Sriram Palanisamy
9dc890a648 ipq807x: Reset operation through PSCI
Change-Id: Ib1f2e8f7990101aaa48c3bc259ec293008efca02
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-08-17 00:02:58 -07:00
Gokul Sriram Palanisamy
fbc358204d ARM: eMMC: Updated number of alternate partitions
Updated number of alternate partitions and
alternate partition data structure to match
smem entry.

Change-Id: I62484e369ed3d35037237fde2d71f9af045e438a
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-08-10 19:00:47 +05:30
Manoharan Vijaya Raghavan
5ed3415978 ipq807x: timer: Add get_ticks() and get_tbclk() API
get_ticks() will return the timer counter value.
get_tbclk() will return the timer frequency.

Change-Id: Ib698f1c1d58403ae22381b6de8c6518beb4c34cf
Signed-off-by: Manoharan Vijaya Raghavan <mraghava@codeaurora.org>
2017-08-09 07:37:25 -07:00
Linux Build Service Account
36eece43ac Merge "ipq807x: Change the I2C speed to 400KHz" 2017-08-04 08:02:17 -07:00
Sham Muthayyan
d6372425b9 ipq807x: Change the I2C speed to 400KHz
Change-Id: I5498e07c18d44e07a93d81ffbbf3d40eb3ba2e66
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2017-08-04 01:34:15 -07:00
Gokul Sriram Palanisamy
4e88bbf154 ARM: qca: scm_call: Added fuseipq support
Added scm_call wrapper to support fuseipq
command to work with 64 bit scm_call.

Change-Id: Ie1fd2925e9f7ed5b3eb57eb44b1c360d0d7de916
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-08-03 18:25:47 +05:30
Gokul Sriram Palanisamy
908aefaa1b ARM: qca: ipq8074: Added support for HK05 and HK06
Added device tree to support for HK05 and HK06 boards
based on ipq807x SoC.

Change-Id: I78a49340cbfc6c4f6c4ee5a3171cc1b6dd6ad1ed
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-07-19 15:18:13 +05:30
Sham Muthayyan
07bc207dcb ipq40xx: Enable the additional uart in ipq40xx
Change-Id: I00113845731b679472fe0e0224b69560673e8bd3
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2017-07-10 11:02:01 +05:30
Sham Muthayyan
956b528723 ipq806x: Enable the additional uart in ipq806x
Change-Id: I34d8f6dbb904fbee9b1fb453e968a5ac932320bf
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2017-07-06 23:58:25 -07:00
Sham Muthayyan
b5f4069981 ipq807x: Enabled Second UART for IPQ807x
Change-Id: I85c365afb506e631d3dc2a6128a328b1f6710731
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2017-07-06 23:58:18 -07:00
Sham Muthayyan
9841ffefc8 ipq807x: Added the baud rates support
Change-Id: I099488e7a0a74669b974c6892022922c3f14610a
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2017-07-06 23:57:02 -07:00
Linux Build Service Account
2613c4d9f4 Merge "qca: scm_call: Added wrapper for image authentication" 2017-06-30 02:53:55 -07:00
Sham Muthayyan
6f1452c953 ipq807x: Deinit pcie before loading kernel
Change-Id: I22fe87dac2fd8f55978481fae71ee65281dfd204
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2017-06-29 08:53:06 -07:00
Manoharan Vijaya Raghavan
e47e3e516c qca: scm_call: Added wrapper for image authentication
Added a scm_call wrapper for kernel image authentication
required during secure boot flow.

Change-Id: I3c2853219128d24131aa6113f35d6998f2303a34
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-06-28 15:03:46 +05:30
Abhishek Sahu
4d61ddbda3 qcom: nand: configure QPIC XFER STEPS registers
The QPIC XFER STEPS will not be configured in non NAND boot
mode and the data transfer speed will be very slow. Now this
patch reads the timing parameter from ONFI page and configures
the NAND XFER STEPS registers for highest supported ONFI mode.
For NON ONFI device, it will configure to default mode.

Change-Id: I2daf4a92255307efc53db9bb7fe2f02e8c00c3fa
Signed-off-by: Abhishek Sahu <absahu@codeaurora.org>
2017-06-22 23:48:48 -07:00
Gokul Sriram Palanisamy
b225631e62 ARM: dts: ipq8074: Added device tree for DB boards
Added individual device trees for DB.HK01 and DB.HK02
boards to manage their configurations individually.

Change-Id: I5846b08a11febd5e7559b08b558245dc4f75c70e
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-06-21 02:56:08 -07:00
Gokul Sriram Palanisamy
84472cb4a4 ARM: dts: Added aliases to pci devices for HK02
Change-Id: I2d292564063fdfe99b33db8ae717cdf7723265df
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-06-07 06:24:31 -07:00
Gokul Sriram Palanisamy
f5d84614f5 ARM: ipq8074: qca_scm_sdi_v8 api is made specific for armv8
Change-Id: I3996e3e3632a72c20c1c69f97335a939f707c392
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-06-04 23:37:03 -07:00
smuthayy
0613a0b89c ipq807x: Enabled the PCIE
Change-Id: Iecd166a5a88ce563f02ebc0cae1b3b81ab5884ed
Signed-off-by: smuthayy <smuthayy@codeaurora.org>
2017-06-02 14:46:46 -07:00
smuthayy
7c309ca403 ipq807x: Added the PCIE phy support
Change-Id: I30212d0b82a28c131ec35ec8eeada3b91f8369a1
Signed-off-by: smuthayy <smuthayy@codeaurora.org>
2017-06-02 14:45:56 -07:00
Gokul Sriram Palanisamy
c0ee616f63 ARM: ipq8074: Added scm_call support for crash dump
Change-Id: I47f7192a464f92dbd8c2332767030ec04da9fc47
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-06-01 07:18:09 -07:00
Gokul Sriram Palanisamy
15946aa171 ARM: dts: ipq8074: Added support for HK02 board
Change-Id: Ie48cef59239b5d082333337c443504d218b83d4c
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-05-30 12:39:46 +05:30
Jaiganesh Narayanan
428fc1d379 ipq: move qca8075 mdio, phy driver into common directory
ipq40xx, ipq807x hardware share the qca8075 phy. So the qca8075 phy
mdio, driver has been moved to common directory for use by both the
hardware.

Change-Id: Id6e9342438ffbdf8599860df6fbb39bba30429b3
Signed-off-by: Jaiganesh Narayanan <njaigane@codeaurora.org>
2017-05-29 08:02:40 -07:00
smuthayy
2af7368202 ipq807x: Enabled the i2c support
Change-Id: I81f6210a8bd562d77dc6461a8916eca59a5fdc1b
Signed-off-by: smuthayy <smuthayy@codeaurora.org>
2017-05-27 13:28:36 -07:00
Linux Build Service Account
45b4c03776 Merge "ARM: dts: spi: Updated tlmm values" 2017-05-26 06:13:15 -07:00
Gokul Sriram Palanisamy
aece84674c ARM: dts: spi: Updated tlmm values
Change-Id: I8ebb883d2c7c219bbe1dd1682c638157e78cd53c
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-05-25 08:28:31 -07:00
smuthayy
e86ed2aba9 ipq807x: Fixed the UART bitrate for HWK01
Change-Id: I8fdb8359f762dc7f3fb9e745d745992e3d97b8da
Signed-off-by: smuthayy <smuthayy@codeaurora.org>
2017-05-25 04:22:59 -07:00
Sham Muthayyan
0a3aa1330a ipq807x: Fixed the HKW01 peripherals
Change-Id: I1abe6ffccf633e7f2c37350961a64192cc07cf70
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2017-05-23 12:26:14 -07:00
Gokul Sriram Palanisamy
b815cbe2a7 ARM: dts: Updated HK01 machid and kernel config
Updated HK01 machid and kernel config to reflect
HK01 board machid and kernel configuration.

Change-Id: Iabbda090ff595318686040ba4a3c1d1960f1b877
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-05-22 19:09:42 +05:30
Gokul Sriram Palanisamy
0dedd94f33 ARM: qca: Added support for flashless boot
U-boot uses APPSBLENV partition on flash to save environment variables.
During flashless boot, there cannot be any dependency over a flash partition.
This patch revokes the support for this flash partition for flashless boot.

Change-Id: Id387ec3af52c597f3fd408e022446c9b600ecf1d
Signed-off-by: Gopinath Sekar <gsekar@codeaurora.org>
Signed-off-by: Gokul Sriram Palanisamy <gpalan@codeaurora.org>
2017-04-24 14:08:40 +05:30
Gokul Sriram Palanisamy
757ae11af9 ARM: qca: ipq8064: Secondary flash type setting is board specific
flash_secondary_type is specific to ipq8064. Initialization of this
parameter is moved into boards specific file.

Change-Id: If1a0e44e3d0a674ce497de045d9c5095b67bc913
Signed-off-by: Gokul Sriram Palanisamy <gpalan@codeaurora.org>
2017-04-11 14:23:24 +05:30
Gokul Sriram Palanisamy
c75b95d121 ARM: dts: ipq8074: Removed timer base from device tree
We have timer enabled by default. We don't want the
register re-written as it is write protected by the
underlying layer.

Change-Id: Ided26b1e41e9e44872f224c9f91cbb0c6e984701
Signed-off-by: Gokul Sriram Palanisamy <gpalan@codeaurora.org>
2017-03-15 10:22:29 +05:30
Gokul Sriram Palanisamy
9349111a4c ARM: qca: smem: ipq8074: Update platform structure
Added a new entry in platform structure to align with smem entry.

Change-Id: I41b0e69536a625aaf791d39722b781698cffa5b6
Signed-off-by: Gokul Sriram Palanisamy <gpalan@codeaurora.org>
2017-02-23 15:30:27 +05:30
Aditya Kumar Patra S
335c21b1a2 ipq807x: Added ethernet support
Added the ipq807x ethernet edma, ppe driver support

Change-Id: Ibcac04d8a60c1ca74549834b70735a6f15b58358
Signed-off-by: Aditya Kumar Patra S <apatr@codeaurora.org>
2017-02-09 10:25:56 +05:30