This script looks for env_common.o object file and extracts from it default
u-boot environment, which is afterwards printed on standard output.
Usage example:
get_default_envs.sh > u-boot-env-default.txt
The generated text file can be used as input for mkenvimage.
Signed-off-by: Lukasz Majewski
This script looks for env_common.o object file and extracts from it default
u-boot environment, which is afterwards printed on standard output.
Usage example:
get_default_envs.sh > u-boot-env-default.txt
The generated text file can be used as input for mkenvimage.
Signed-off-by: Lukasz Majewski
On Fri, Sep 16, 2016 at 10:21:43PM +0100, Paul Burton wrote:
> Commit bac17b78dace ("image-fit: switch ENOLINK to ENOENT") changed
> fit_get_node_from_config to return -ENOENT when a property doesn't
> exist, but didn't change any of its callers which check return values.
> Notably it didn't change
On Thu, Sep 15, 2016 at 5:48 PM, Jagan Teki wrote:
> OK, and I ran imx6 ddr calibration stress test[1] but observed data
> abort. the objdump doesn't show any of these address, can you please
> help me how can I proceed further?
>
> icorem6qdl> fatload mmc 0:1 0x1000 ddr-stress-test-mx6dq.bin
Enable mounting of ext4 fs with 64bit feature, as it is supported now.
These had been disabled in 6f94ab6656ceffb3f2a972c8de4c554502b6f2b7.
Signed-off-by: Stefan Brüns
---
fs/ext4/ext4_common.c | 9 -
1 file changed, 9 deletions(-)
diff --git a/fs/ext4/ext4_common.c b/fs/ext4/ext4_commo
The descriptor size is variable, thus array indices are not generically
applicable. The larger group descriptors also contain e.g. high parts
of block numbers, which have to be read and written.
Signed-off-by: Stefan Brüns
---
fs/ext4/ext4_common.c | 125 --
f
Most importantly, the superblock provides the used group descriptor size,
which is required for the EXT4_FEATURE_INCOMPAT_64BIT.
Signed-off-by: Stefan Brüns
---
include/ext_common.h | 50 ++
1 file changed, 46 insertions(+), 4 deletions(-)
diff --
Also adjust high 16/32 bits when free inode/block counts are modified.
Signed-off-by: Stefan Brüns
---
fs/ext4/ext4_common.c | 53 +++
fs/ext4/ext4_write.c | 40 ++
2 files changed, 69 insertions(+), 24 deletion
The helper functions encapsulate access of the block group descriptors,
independent of group descriptor size. The helpers also deal with the
endianess of the fields, and with split fields like free_blocks/
free_blocks_high.
Signed-off-by: Stefan Brüns
---
fs/ext4/ext4_common.c | 80 +
The EXT4_FEATURE_INCOMPAT_64BIT changes the on disk layout. Use the
correct structure sizes/offsets and respect split high/low free
inode/block counts.
Stefan Brüns (7):
ext4: Update ext2/3/4 superblock, group descriptor and inode
structures
ext4: determine group descriptor size for 64bit
If EXT4_FEATURE_INCOMPAT_64BIT is set, the descriptor can be read from
the superblocks, otherwise it defaults to 32.
Signed-off-by: Stefan Brüns
---
fs/ext4/ext4_common.c | 18 ++
include/ext4fs.h | 2 ++
2 files changed, 16 insertions(+), 4 deletions(-)
diff --git a/fs/ex
The correct descriptor size must be used when calculating offsets, and
also to read the correct amount of data.
Signed-off-by: Stefan Brüns
---
fs/ext4/ext4_common.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/fs/ext4/ext4_common.c b/fs/ext4/ext4_common.c
index 9e
Commit bac17b78dace ("image-fit: switch ENOLINK to ENOENT") changed
fit_get_node_from_config to return -ENOENT when a property doesn't
exist, but didn't change any of its callers which check return values.
Notably it didn't change boot_get_ramdisk, which leads to U-Boot failing
to boot FIT images w
Add imx6q pinctrl defines support from Linux.
Cc: Peng Fan
Cc: Stefano Babic
Cc: Fabio Estevam
Cc: Matteo Lisi
Cc: Michael Trimarchi
Signed-off-by: Jagan Teki
---
arch/arm/dts/imx6q-pinfunc.h | 1047 ++
1 file changed, 1047 insertions(+)
create mode
i.CoreM6 Quad/Dual modules are system on module solutions
manufactured by Engicam with following characteristics:
CPU NXP i.MX6 DQ, 800MHz
RAM 1GB, 32, 64 bit, DDR3-800/1066
NAND SLC,512MB
Power supply Single 5V
MAX LCD RES FULLHD
and more info at
http://www.engicam
Enable imx6 pinctrl driver support for i.CoreM6.
Cc: Peng Fan
Cc: Stefano Babic
Cc: Fabio Estevam
Cc: Matteo Lisi
Cc: Michael Trimarchi
Signed-off-by: Jagan Teki
---
configs/imx6qdl_icore_defconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configs/imx6qdl_icore_defconfig b/confi
Add DM_GPIO, DM_MMC support for u-boot and disable for SPL.
Cc: Peng Fan
Cc: Stefano Babic
Cc: Fabio Estevam
Cc: Matteo Lisi
Cc: Michael Trimarchi
Signed-off-by: Jagan Teki
---
arch/arm/cpu/armv7/mx6/Kconfig | 2 +
board/engicam/icorem6/icorem6.c | 142 ---
Add i.MX6Q dtsi support from Linux.
Cc: Peng Fan
Cc: Stefano Babic
Cc: Fabio Estevam
Cc: Matteo Lisi
Cc: Michael Trimarchi
Signed-off-by: Jagan Teki
---
arch/arm/dts/imx6q.dtsi | 300
1 file changed, 300 insertions(+)
create mode 100644 arch
i.CoreM6 DualLite/Solo modules are system on module solutions
manufactured by Engicam with following characteristics:
CPU NXP i.MX6 DL, 800MHz
RAM 1GB, 32, 64 bit, DDR3-800/1066
NAND SLC,512MB
Power supply Single 5V
MAX LCD RES FULLHD
and more info at
http://www.eng
Add imx6qdl clock header defines support from Linux.
Cc: Peng Fan
Cc: Stefano Babic
Cc: Fabio Estevam
Cc: Matteo Lisi
Cc: Michael Trimarchi
Signed-off-by: Jagan Teki
---
include/dt-bindings/clock/imx6qdl-clock.h | 274 ++
1 file changed, 274 insertions(+)
create
Add i.MX6DL dtsi support from Linux.
Cc: Peng Fan
Cc: Stefano Babic
Cc: Fabio Estevam
Cc: Matteo Lisi
Cc: Michael Trimarchi
Signed-off-by: Jagan Teki
---
arch/arm/dts/imx6dl.dtsi | 133 +++
1 file changed, 133 insertions(+)
create mode 100644 arc
Add imx6dl pinctrl defines support from Linux.
Cc: Peng Fan
Cc: Stefano Babic
Cc: Fabio Estevam
Cc: Matteo Lisi
Cc: Michael Trimarchi
Signed-off-by: Jagan Teki
---
arch/arm/dts/imx6dl-pinfunc.h | 1091 +
1 file changed, 1091 insertions(+)
create mode
Add i.MX6DQL dtsi support from Linux.
Cc: Peng Fan
Cc: Stefano Babic
Cc: Fabio Estevam
Cc: Matteo Lisi
Cc: Michael Trimarchi
Signed-off-by: Jagan Teki
---
arch/arm/dts/imx6qdl.dtsi | 1281 +
1 file changed, 1281 insertions(+)
create mode 100644 a
Add enet support for engicam icorem6 qdl starter kit.
- Add pinmux settings
- Add board_eth_init
TFTP log:
Net: FEC [PRIME]
Hit any key to stop autoboot: 0
icorem6qdl> tftpboot {fdt_addr} imx6dl-icore.dtb
Using FEC device
TFTP from server 192.168.2.96; our IP address is 192.168.2.75
Fi
Fixed typo for doc/README.imximage on respective imximage.cfg files.
Cc: Tom Rini
Cc: Peng Fan
Cc: Stefano Babic
Cc: Fabio Estevam
Signed-off-by: Jagan Teki
---
board/barco/titanium/imximage.cfg | 2 +-
board/ccv/xpress/imximage.cfg | 2 +-
board/denx/m53evk/imximage.
Add kconfig entry for CONFIG_DEFAULT_FDT_FILE
Cc: Tom Rini
Cc: Simon Glass
Cc: Michael Trimarchi
Signed-off-by: Jagan Teki
---
common/Kconfig | 6 ++
1 file changed, 6 insertions(+)
diff --git a/common/Kconfig b/common/Kconfig
index 46e7173..278e33b 100644
--- a/common/Kconfig
+++ b/comm
Boot Log for i.CoreM6 DualLite/Solo Starter Kit:
---
U-Boot SPL 2016.09-rc2-30739-gd1fa290 (Sep 17 2016 - 00:37:46)
Trying to boot from MMC1
U-Boot 2016.09-rc2-30739-gd1fa290 (Sep 17 2016 - 00:37:46 +0530)
CPU: Freescale i.MX6SOLO rev1.3 at 792MHz
CP
Added kconfig for MXC_UART driver.
Cc: Simon Glass
Cc: Fabio Estevam
Cc: Stefano Babic
Cc: Peng Fan
Cc: Matteo Lisi
Cc: Michael Trimarchi
Signed-off-by: Jagan Teki
---
drivers/serial/Kconfig | 7 +++
1 file changed, 7 insertions(+)
diff --git a/drivers/serial/Kconfig b/drivers/serial/
Added kconfig for IMX_THERMAL driver.
Cc: Simon Glass
Cc: Fabio Estevam
Cc: Stefano Babic
Cc: Peng Fan
Cc: Matteo Lisi
Cc: Michael Trimarchi
Signed-off-by: Jagan Teki
---
drivers/thermal/Kconfig | 13 +
1 file changed, 13 insertions(+)
diff --git a/drivers/thermal/Kconfig b/dr
snvs base is added only for i.MX6ULL but the code is
added for common, so firing build error while compiling
other i.MX6 SOC's
Issue observed with the below patch
"imx: mx6ull: Update memory map address"
(sha1: e8eac1b5b3a98a06426bc4867c03c38329841e5c)
Build log:
CC arch/arm/imx-common/iom
This series supports Engicam i.CoreM6 QDL modules on top of u-boot-imx.git/next
and test on the respective starter kits as well.
Changes for v2:
- Make static to local iomux structure in board file
- Corrected rowaddr in mx6_ddr3_cfg
- Used imx_ddr_size
- Add FEC su
On Mon, Sep 12, 2016 at 11:18:30PM -0600, Simon Glass wrote:
> There are a few options which use lower case. We should use upper case for
> all CONFIG options.
>
> Signed-off-by: Simon Glass
This is incomplete:
13: spear: Use upper case for CONFIG options
On 09/07/2016 03:08 AM, Gong Qianyu wrote:
> From: Mingkai Hu
>
> LS1046ARDB Specification:
> -
> Memory subsystem:
> * 8GByte DDR4 SDRAM (64bit bus)
> * 512 Mbyte NAND flash
> * Two 64 Mbyte high-speed SPI flash
> * SD connector to interface with the SD memory card
>
Initialize the DPLL (PLL for DRAM) in SPL, and others in U-Boot
proper. Split the common code into pll-base-ld20.c for easier
re-use.
Signed-off-by: Masahiro Yamada
---
arch/arm/mach-uniphier/board_init.c| 7 ++
arch/arm/mach-uniphier/clk/Makefile| 6 +-
arch/arm/mach-uniph
Now PLLs for DRAM controller are initialized in SPL, and the others
in U-Boot proper. Setting up all of them in a single directory will
be helpful when we want to share code between SPL and U-Boot proper.
Signed-off-by: Masahiro Yamada
---
arch/arm/mach-uniphier/Makefile
Import the latest version from the Diag software.
- Support LD21 SoC (including DDR chips in the package)
- Per-board granule adjustment for both reference and TV boards
- Misc cleanups
Signed-off-by: Masahiro Yamada
---
arch/arm/mach-uniphier/dram/ddrphy-ld20-regs.h | 76 +++--
arch/ar
The NAND subsystem has not supported the Driver Model yet, but the
NAND pin-mux data are already in the pinctrl drivers. Use them by
calling pinctrl_generic_set_state() directly.
Signed-off-by: Masahiro Yamada
---
arch/arm/mach-uniphier/Makefile | 1 +
arch/arm/mach-uniphier/boa
This is enabled by default for all the supported boot modes.
Signed-off-by: Masahiro Yamada
---
arch/arm/mach-uniphier/early-pinctrl/early-pinctrl-sld3.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/arch/arm/mach-uniphier/early-pinctrl/early-pinctrl-sld3.c
b/arch/arm/mach-uniphier/earl
This is the last code in the mach-uniphier/pinctrl/ directory.
Push the remaining code out to delete the directory entirely.
Signed-off-by: Masahiro Yamada
---
arch/arm/mach-uniphier/Makefile | 2 +-
arch/arm/mach-uniphier/board_init.c | 11 +--
arch/arm/mach-un
This will be needed for setting up the System Bus pin-mux via the
LD11/LD20 pinctrl driver.
Signed-off-by: Masahiro Yamada
---
arch/arm/dts/uniphier-ph1-ld11-ref.dts | 4
arch/arm/dts/uniphier-ph1-ld20-ref.dts | 4
2 files changed, 8 insertions(+)
diff --git a/arch/arm/dts/uniphier-p
These settings are nicely cared by the pinctrl driver now. Remove.
Signed-off-by: Masahiro Yamada
---
arch/arm/mach-uniphier/early-pinctrl/Makefile | 1 -
.../early-pinctrl/early-pinctrl-sld3.c | 26
arch/arm/mach-uniphier/init.h | 1
Use the pin-mux data in the pinctrl drivers by directly calling
pinctrl_generic_set_state().
Signed-off-by: Masahiro Yamada
---
arch/arm/mach-uniphier/Makefile| 2 +-
arch/arm/mach-uniphier/early-pinctrl/Makefile | 6
.../early-pinctrl/early-pinctrl-ld20.c
DT-side updates to make pinctrl on sLD3 SoC really available.
Signed-off-by: Masahiro Yamada
---
arch/arm/dts/uniphier-ph1-sld3-ref.dts | 8
arch/arm/dts/uniphier-ph1-sld3.dtsi| 35 ++
2 files changed, 43 insertions(+)
diff --git a/arch/arm/dts/uni
The PLL for the DRAM interface must be initialized in SPL, but the
others can be delayed until U-Boot proper. Move them from SPL to
U-Boot proper to save the precious SPL memory footprint.
Signed-off-by: Masahiro Yamada
---
arch/arm/mach-uniphier/board_init.c| 4 +
arch/arm/m
- Add pinctrl driver for sLD3 SoC
- Do away with legacy pin-mux code
- refactoring of clock/PLL init code
- Add PLL init code for LD20 SoC
- Improvement of DRAM init code for LD20 SoC
- Misc cleanups
Masahiro Yamada (15):
pinctrl: uniphier: support 4bit-width pin-mux register capability
Now all UniPhier SoCs support a pinctrl driver. Select (SPL_)PINCTRL
since it is mandatory even for base use.
Signed-off-by: Masahiro Yamada
---
arch/arm/Kconfig | 2 ++
configs/uniphier_ld11_defconfig | 2 --
configs/uniphier_ld20_defconfig | 2 --
configs/uniphi
Basically, this should not be configured by users.
Signed-off-by: Masahiro Yamada
---
arch/arm/mach-uniphier/pll/pll-init-sld8.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/mach-uniphier/pll/pll-init-sld8.c
b/arch/arm/mach-uniphier/pll/pll-init-sld8.c
index b26
On LD4 SoC or later, the pin-mux registers are 8bit wide, while 4bit
wide on sLD3 SoC. Support it for the sLD3 pinctrl driver.
Signed-off-by: Masahiro Yamada
---
drivers/pinctrl/uniphier/pinctrl-uniphier-core.c | 20
drivers/pinctrl/uniphier/pinctrl-uniphier.h | 5 ++
Add pin-mux support for UniPhier sLD3 SoC.
Signed-off-by: Masahiro Yamada
---
drivers/pinctrl/uniphier/Kconfig | 6 ++
drivers/pinctrl/uniphier/Makefile| 1 +
drivers/pinctrl/uniphier/pinctrl-uniphier-sld3.c | 128 +++
3 files changed, 135
On Fri, Sep 16, 2016 at 8:09 AM, Stefan Roese wrote:
> This patch adds support for the Armada 3700 SoC to the Marvell mvneta
> network driver.
>
> Not like A380, in Armada3700, there are two layers of decode windows for GBE:
> First layer is: GbE Address window that resides inside the GBE unit,
>
On Fri, Sep 16, 2016 at 8:09 AM, Stefan Roese wrote:
> The mvneta driver is also used on the ARMv8 64bit Armada 3700 SoC. This
> patch fixes the compilation warnings seen on this 64bit platform.
>
> Signed-off-by: Stefan Roese
> Cc: Nadav Haklai
> Cc: Kostya Porotchkin
> Cc: Wilson Ding
> Cc:
Without this patch the following error will be shown:
stdio_add_devices: Video device failed (ret=-22)
As commit ec5507707a1d1e84056a6c864338f95f6118d3ca (video: tegra: Move
to using simple-panel and pwm-backlight) states the Colibri T20 needs
updating too which this patch finally attempts doing.
Without this patch the following error will be shown:
Colibri T20 # usb start
starting USB...
No controllers found
This patch fixes USB operation and also the controller order as the
CI UDC driver may only be instantiated on the first aka OTG port.
Signed-off-by: Marcel Ziswiler
Acked-by: Steph
This series addresses various issues as seen on Colibri T20. Please
note that for successful Ethernet operation not only on Colibri T20
but also on Colibri T30 the following patch will still be required
already waiting in Marek's usb tree:
[PATCH v2] net: asix: Fix ASIX 88772B with driver model
According to the binding documentation the fixed regulator enable GPIO
is optional. However so far registration thereof failed if no enable
GPIO was specified. Fix this by making it entirely optional whether an
enable GPIO is used.
Signed-off-by: Marcel Ziswiler
Acked-by: Stephen Warren
---
Ch
The Tegra 2 aka T20 is not host PC capable. Therefore gate the define
CONFIG_CI_UDC_HAS_HOSTPC in tegra-common-usb-gadget.h in case of
CONFIG_TEGRA20.
Signed-off-by: Marcel Ziswiler
Acked-by: Stephen Warren
---
Changes in v5: None
Changes in v4: None
Changes in v3:
- Add Stephen's ack.
Change
Fix spelling of debug message from cnnot to cannot.
Signed-off-by: Marcel Ziswiler
Acked-by: Anatolij Gustschin
---
Changes in v5: None
Changes in v4: None
Changes in v3: None
Changes in v2:
- Add Anatolij's ack.
drivers/video/simple_panel.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion
Add Toradex factory configuration block handling. The config block is a
data structure which gets stored to flash during production testing. The
structure holds such information as board resp. hardware revision,
product ID and serial number which is used as the NIC part of the
Ethernet MAC address
With our common code in place actually make use of it across all our
modules.
Signed-off-by: Marcel Ziswiler
---
board/toradex/apalis_t30/Kconfig | 16
board/toradex/apalis_t30/apalis_t30.c | 12 +++-
board/toradex/colibri_imx7/Kconfig|
Now with the config block handling in place move the U-Boot environment
location before the config block at the end of 1st "boot sector" as
deployed during production using our downstream BSP.
Signed-off-by: Marcel Ziswiler
---
include/configs/apalis_t30.h | 7 ---
include/configs/colibri
This series integrates Toradex factory configuration block handling. The
config block is a data structure which gets stored to flash during
production testing. The structure holds such information as board resp.
hardware revision, product ID and serial number which is used as the NIC
part of the E
Rename checkboard() to checkboard_fallback() in order to avoid a
name clash with our upcoming common implementation thereof.
Signed-off-by: Marcel Ziswiler
---
board/toradex/colibri_imx7/colibri_imx7.c | 6 +++---
board/toradex/colibri_vf/colibri_vf.c | 8
2 files changed, 7 insert
Avoid a checkboard() name clash with our upcoming custom implementation
thereof.
Signed-off-by: Marcel Ziswiler
---
include/configs/apalis_t30.h | 1 +
include/configs/colibri_t20.h | 1 +
include/configs/colibri_t30.h | 1 +
3 files changed, 3 insertions(+)
diff --git a/include/configs/apali
On 09/16/2016 01:33 AM, Marcel Ziswiler wrote:
According to the binding documentation the fixed regulator enable GPIO
is optional. However so far registration thereof failed if no enable
GPIO was specified. Fix this by making it entirely optional whether an
enable GPIO is used.
diff --git a/dr
>From: Marek Vasut [mailto:ma...@denx.de]
>On 09/16/2016 11:35 AM, Sriram Dash wrote:
>
>[...]
>
I agree to your point. We can set the bit from fsl specific file
with the function setbits_le32(fsl_xhci->dwc3_reg->g_usb3pipectl[0],
DWC3_GUSB3PIPECTL_DISRXDETP3);
If any other Soc,
i'm hoping this is a simple question -- at boot time, i've added a
misc_init_r() routine that digs around in some legacy flash, pulls out
a string of (vxworks) "var=val" settings, and imports that in one shot
into an initial hash table. works fine.
as the second step, i walk that table and, f
liteBoard is a development board which uses liteSOM as its base.
Hardware specification:
* liteSOM (i.MX6UL, DRAM, eMMC)
* Ethernet PHY (id 0)
* USB host (usb_otg1)
* MicroSD slot (uSDHC1)
Signed-off-by: Marcin Niestroj
---
arch/arm/cpu/armv7/mx6/Kconfig| 5 +
board/grinn/liteboard/Kc
liteSOM is a System On Module (http://grinn-global.com/litesom/). It
can't exists on its own, but will be used as part of other boards.
Hardware specification:
* NXP i.MX6UL processor
* 256M or 512M DDR3 memory
* optional eMMC (uSDHC2)
Here we treat SOM similar to SOC, so we place it inside ar
Hi,
These patches add support for liteSOM (http://grinn-global.com/litesom/),
and liteBoard (which uses liteSOM as it's base).
liteSOM consists of processor (NXP i.MX6UL), RAM memory (up to 512M DDR3)
and flash (eMMC card). The idea is that every board vendor can use liteSOM
as it's base for desi
This patch adds basic support for the Marvell Armada 7K DB-88F7040
development board. Supported are the following interfaces:
- UART
- SPI (incl. SPI NOR)
- I2C
- USB
- SATA / AHCI
Support for other interfaces will follow.
Signed-off-by: Stefan Roese
Cc: Nadav Haklai
Cc: Neta Zur Hershkovits
C
This version is based on the Marvell U-Boot version with this patch
applied as latest patch:
Git ID 7f408573: "fix: comphy: cp110: add comphy initialization for usb
device mode" from 2016-07-05.
Signed-off-by: Stefan Roese
Cc: Nadav Haklai
Cc: Neta Zur Hershkovits
Cc: Kostya Porotchkin
Cc: Om
This patch adds the COMPHY device tree nodes that are still missing to
the Armada 7K/8K dts files.
Signed-off-by: Stefan Roese
Cc: Nadav Haklai
Cc: Neta Zur Hershkovits
Cc: Kostya Porotchkin
Cc: Omri Itach
Cc: Igal Liberman
Cc: Haim Boot
Cc: Hanna Hawa
---
arch/arm/dts/armada-7040-db.dts
To allow a board- / platform-specific ahci_port_base() function, this
patch removes "static inline" and adds __weak to this function. This
will be used by the upcoming Armada 7K/8K SATA / AHCI support, which
unfortunately needs a different port base address calculation.
Signed-off-by: Stefan Roese
To enable this driver on Armada 7K/8K this patch adds the compatibility
property to the list.
Signed-off-by: Stefan Roese
Cc: Nadav Haklai
Cc: Neta Zur Hershkovits
Cc: Kostya Porotchkin
Cc: Omri Itach
Cc: Igal Liberman
Cc: Haim Boot
Cc: Hanna Hawa
---
drivers/usb/host/xhci-mvebu.c | 1 +
The clock frequency needs to be provided in the DT. Otherwise the driver
won't start in U-Boot.
Signed-off-by: Stefan Roese
Cc: Nadav Haklai
Cc: Neta Zur Hershkovits
Cc: Kostya Porotchkin
Cc: Omri Itach
Cc: Igal Liberman
Cc: Haim Boot
Cc: Hanna Hawa
---
arch/arm/dts/armada-ap806.dtsi | 1
Add I2C and SPI aliases to enable usage in U-Boot.
Signed-off-by: Stefan Roese
Cc: Nadav Haklai
Cc: Neta Zur Hershkovits
Cc: Kostya Porotchkin
Cc: Omri Itach
Cc: Igal Liberman
Cc: Haim Boot
Cc: Hanna Hawa
---
arch/arm/dts/armada-7040-db.dts | 5 +
1 file changed, 5 insertions(+)
diff
Compared to the Armada 3700, the Armada 7K and 8K are much more on the
high-end side: they use a dual Cortex-A72 or a quad Cortex-A72, as
opposed to the Cortex-A53 for the Armada 3700.
The Armada 7K and 8K also use a fairly unique architecture, internally
they are composed of several components:
This patch integrates the Armada 7K/8K dts files from the latest
submission on the linux-arm-kernel mailing list.
Signed-off-by: Stefan Roese
Cc: Nadav Haklai
Cc: Neta Zur Hershkovits
Cc: Kostya Porotchkin
Cc: Omri Itach
Cc: Igal Liberman
Cc: Haim Boot
Cc: Hanna Hawa
---
arch/arm/dts/Make
The Armada 3700 integrates the following interfaces (not complete list):
- Dual Cortex-A53 ARMv8
- USB 3.0
- SATA 3.0
- PCIe 2.0
- 2 x Gigabit Ethernet 1Gbps / 2.5Gbps
- ...
This patch adds basic support for this ARMv8 based SoC into U-Boot.
Future patches will integrate other device drivers and b
This patch adds DM based support for the Armada 3700 EHCI controller.
The address windows don't need to get configured in this case. The
difference here is detected via DT compatible property at runtime.
With this support and the DM xHCI driver, both XHCI and eHCI can be
used simultaniously on the
This patch adds the I2C device tree nodes that are still missing to
the Armada 3700 dts files.
Signed-off-by: Stefan Roese
Cc: Nadav Haklai
Cc: Kostya Porotchkin
Cc: Wilson Ding
Cc: Victor Gu
Cc: Hua Jing
Cc: Terry Zhou
Cc: Hanna Hawa
Cc: Haim Boot
---
arch/arm/dts/armada-3720-db.dts | 5
This patch adds the COMPHY device tree nodes that are still missing to
the Armada 3700 dts files.
Signed-off-by: Stefan Roese
Cc: Nadav Haklai
Cc: Kostya Porotchkin
Cc: Wilson Ding
Cc: Victor Gu
Cc: Hua Jing
Cc: Terry Zhou
Cc: Hanna Hawa
Cc: Haim Boot
---
arch/arm/dts/armada-3720-db.dts
This patch adds the SPI device tree nodes that are still missing to
the Armada 3700 dts files.
Signed-off-by: Stefan Roese
Cc: Nadav Haklai
Cc: Kostya Porotchkin
Cc: Wilson Ding
Cc: Victor Gu
Cc: Hua Jing
Cc: Terry Zhou
Cc: Hanna Hawa
Cc: Haim Boot
---
arch/arm/dts/armada-3720-db.dts | 1
This version is based on the Marvell U-Boot version with this patch
applied as latest patch:
Git ID 7f408573: "fix: comphy: cp110: add comphy initialization for usb
device mode" from 2016-07-05.
Signed-off-by: Stefan Roese
Cc: Nadav Haklai
Cc: Kostya Porotchkin
Cc: Wilson Ding
Cc: Victor Gu
This patch adds basic support for the Marvell Armada 3700 DB-88F3720
development board. Supported are the following interfaces:
- UART
- SPI (incl. SPI NOR)
- I2C
- Ethernet
Signed-off-by: Stefan Roese
Cc: Nadav Haklai
Cc: Kostya Porotchkin
Cc: Wilson Ding
Cc: Victor Gu
Cc: Hua Jing
Cc: Terr
This patch adds the ethernet device tree nodes that are still missing to
the Armada 3700 dts files.
Signed-off-by: Stefan Roese
Cc: Nadav Haklai
Cc: Kostya Porotchkin
Cc: Wilson Ding
Cc: Victor Gu
Cc: Hua Jing
Cc: Terry Zhou
Cc: Hanna Hawa
Cc: Haim Boot
---
arch/arm/dts/armada-3720-db.dt
This patch adds the USB device tree nodes that are still missing to
the Armada 3700 dts files.
Signed-off-by: Stefan Roese
Cc: Nadav Haklai
Cc: Kostya Porotchkin
Cc: Wilson Ding
Cc: Victor Gu
Cc: Hua Jing
Cc: Terry Zhou
Cc: Hanna Hawa
Cc: Haim Boot
---
arch/arm/dts/armada-3720-db.dts | 5
This patch adds support for the Armada 3700 SoC to the Marvell mvneta
network driver.
Not like A380, in Armada3700, there are two layers of decode windows for GBE:
First layer is: GbE Address window that resides inside the GBE unit,
Second layer is: Fabric address window which is located in the N
The mvneta driver is also used on the ARMv8 64bit Armada 3700 SoC. This
patch fixes the compilation warnings seen on this 64bit platform.
Signed-off-by: Stefan Roese
Cc: Nadav Haklai
Cc: Kostya Porotchkin
Cc: Wilson Ding
Cc: Victor Gu
Cc: Hua Jing
Cc: Terry Zhou
Cc: Hanna Hawa
Cc: Haim Boo
This patch adds DM based support for the xHCI USB 3.0 controller
integrated in the Armada 3700 SoC. It may be extended to be used
by other MVEBU SoCs as well.
Signed-off-by: Stefan Roese
Cc: Nadav Haklai
Cc: Kostya Porotchkin
Cc: Wilson Ding
Cc: Victor Gu
Cc: Hua Jing
Cc: Terry Zhou
Cc: Han
This patch integrates the Armada 3700 dts files from the latest
submission on the linux-arm-kernel mailing list.
Signed-off-by: Stefan Roese
Cc: Nadav Haklai
Cc: Kostya Porotchkin
Cc: Wilson Ding
Cc: Victor Gu
Cc: Hua Jing
Cc: Terry Zhou
Cc: Hanna Hawa
Cc: Haim Boot
---
arch/arm/dts/Make
The SPI IP core in the Marvell Armada 3700 is similar to the one in the
other Armada SoCs. But the differences are big enough that it makes
sense to introduce a new driver instead of cluttering the old
kirkwood driver with #ifdef's.
Signed-off-by: Stefan Roese
Cc: Nadav Haklai
Cc: Kostya Porotch
The Armada 3700's UART is a simple serial port. It has a 32 bytes
Tx FIFO and a 64 bytes Rx FIFO integrated. This patch adds support
for this UART including the DEBUG UART functions for very early
debug output.
Signed-off-by: Stefan Roese
Cc: Nadav Haklai
Cc: Kostya Porotchkin
Cc: Wilson Ding
By adding the "marvell,mv78230-i2c" compatible property, we can enable
this I2C driver to support these new ARM64 chips as well.
Signed-off-by: Stefan Roese
Cc: Nadav Haklai
Cc: Neta Zur Hershkovits
Cc: Kostya Porotchkin
Cc: Omri Itach
Cc: Igal Liberman
Cc: Haim Boot
Cc: Hanna Hawa
Cc: Hei
From: jinghua
The I2C bus will get stuck when reading 0 byte. So we add validation of
the read length in i2c_read(). This issue only occurs on read operation.
Signed-off-by: jinghua
Signed-off-by: Stefan Roese
Cc: Nadav Haklai
Cc: Kostya Porotchkin
Cc: Wilson Ding
Cc: Victor Gu
Cc: Hua Jin
This patch adds runtime speed configuration to the mv_i2c driver.
Currently standard (max 100kHz) and fast mode (max 400kHz) are
supported.
Signed-off-by: Stefan Roese
Cc: Nadav Haklai
Cc: Kostya Porotchkin
Cc: Wilson Ding
Cc: Victor Gu
Cc: Hua Jing
Cc: Terry Zhou
Cc: Hanna Hawa
Cc: Haim B
Signed-off-by: Stefan Roese
Cc: Nadav Haklai
Cc: Kostya Porotchkin
Cc: Wilson Ding
Cc: Victor Gu
Cc: Hua Jing
Cc: Terry Zhou
Cc: Hanna Hawa
Cc: Haim Boot
Cc: Heiko Schocher
---
drivers/i2c/mv_i2c.c | 184 +--
1 file changed, 136 insertions(
Some mostly indentation coding style cleanups. Also, move this driver
to use debug() for debug output.
Signed-off-by: Stefan Roese
Cc: Nadav Haklai
Cc: Kostya Porotchkin
Cc: Wilson Ding
Cc: Victor Gu
Cc: Hua Jing
Cc: Terry Zhou
Cc: Hanna Hawa
Cc: Haim Boot
Cc: Heiko Schocher
---
drivers
To prepare for the DM conversion, we add a layer of compatibility
functions to be used by both the legacy and the DM functions.
Signed-off-by: Stefan Roese
Cc: Nadav Haklai
Cc: Kostya Porotchkin
Cc: Wilson Ding
Cc: Victor Gu
Cc: Hua Jing
Cc: Terry Zhou
Cc: Hanna Hawa
Cc: Haim Boot
Cc: Hei
CONFIG_HARD_I2C is not needed, lets remove it.
Signed-off-by: Stefan Roese
Cc: Nadav Haklai
Cc: Kostya Porotchkin
Cc: Wilson Ding
Cc: Victor Gu
Cc: Hua Jing
Cc: Terry Zhou
Cc: Hanna Hawa
Cc: Haim Boot
Cc: Heiko Schocher
---
drivers/i2c/mv_i2c.c | 2 --
1 file changed, 2 deletions(-)
di
1 - 100 of 137 matches
Mail list logo