From: Tien Fong Chee
Move FPGA manager driver which is Gen5 specific code from arch/arm/
into FPGA driver at driver/fpga/. No functional change.
Signed-off-by: Tien Fong Chee
---
arch/arm/mach-socfpga/Makefile | 1 -
From: Tien Fong Chee
Add FPGA driver support for Arria 10.
Signed-off-by: Tien Fong Chee
---
arch/arm/mach-socfpga/include/mach/fpga_manager.h | 2 +
.../include/mach/fpga_manager_arria10.h| 100 +
drivers/fpga/Makefile
From: Tien Fong Chee
Enable FPGA driver build for SPL. FPGA driver is needed for SPL
to configure and getting DDR up before loading U-boot into DDR and
booting from there.
Signed-off-by: Tien Fong Chee
---
drivers/Makefile | 1 +
1 file
From: Tien Fong Chee
Move FPGA driver which is Gen5 specific code into Gen5 driver file
and keeping common FPGA driver er intact. All the changes are still keeping
in driver/fpga/ and no functional change. Subsequent patch would move
FPGA manager driver from arch/arm
From: Tien Fong Chee
Remove parameter from socfpga_bridges_reset(), and keeping this function
for single purpose which is just triggering reset on bridges.
socfpga_reset_deassert_bridges_handoff() can be called for releasing reset
on any bridges based on the bridge
From: Tien Fong Chee
This is the 4th version of patchset to adds support for Intel Arria 10 SoC FPGA
driver. This version mainly resolved comments from Ley Foon and Dinh in [v3].
This series is working on top of u-boot-socfpga-next branch
This is not needed in this driver. Drop it.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
drivers/rtc/i2c_rtc_emul.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/rtc/i2c_rtc_emul.c b/drivers/rtc/i2c_rtc_emul.c
index
Update the fixed-rate clock driver to support a live device tree.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
drivers/clk/clk_fixed_rate.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/clk/clk_fixed_rate.c
Update the sandbox flash and hub USB emulators to support a live device
tree.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
drivers/usb/emul/sandbox_flash.c | 4 +---
drivers/usb/emul/sandbox_hub.c | 3 +--
2 files changed, 2 insertions(+), 5
Update the phy uclass to support livetree. Fix the xlate() method
which has no callers.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
drivers/phy/phy-uclass.c | 21 +
include/generic-phy.h| 3 +--
2 files changed, 10
Update the mmc uclass to support a live device tree.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
drivers/mmc/mmc-uclass.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/mmc/mmc-uclass.c b/drivers/mmc/mmc-uclass.c
Update the power domain uclass to support livetree. Fix the xlate() method
which has no callers.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
drivers/power/domain/power-domain-uclass.c | 19 ---
include/power-domain-uclass.h
Update the usb uclass to support a live device tree.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
drivers/usb/host/usb-uclass.c | 8 +++-
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/drivers/usb/host/usb-uclass.c
Some tests require either livetree or flat tree. Add flags to allow the
tests to specify this. Adjust the test runner to run with livetree (if
supported) and then flat tree.
Some video tests are quite slow and running on flat tree adds little extra
test value, so run these on livetree only.
We cannot run this test with livetree since it uses device tree offsets.
Mark it as flat tree only.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
test/dm/test-fdt.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git
Update this driver so that it works with livetree.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
drivers/misc/i2c_eeprom_emul.c | 7 ++-
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/drivers/misc/i2c_eeprom_emul.c
Update the sandbox phy driver to support livetree.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
drivers/phy/sandbox-phy.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/phy/sandbox-phy.c b/drivers/phy/sandbox-phy.c
This updates sandbox to use a live device tree. This means that after
relocation (from board_init_r() onwards) it no-longer uses flat device
tree.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2:
- Rewrite based on testing and refining the v1 series
- Convert
This prints out the wrong pointers. Fix it.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
drivers/misc/cros_ec.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/misc/cros_ec.c b/drivers/misc/cros_ec.c
index
Update the SPI uclass to support a live device tree. Also adjust
spi_slave_ofdata_to_platdata() to accept a device instead of a blob and
offset.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
drivers/spi/spi-uclass.c | 31
The standard sandbox board cannot run the of-platdata test since it needs
SPL. Also, we should test the flat tree version of sandbox.
Add these tests to the default test script.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
test/run | 8 +++-
1
Update this driver to support a live device tree.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
drivers/sysreset/sysreset_sandbox.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/sysreset/sysreset_sandbox.c
Convert this driver to support the live device tree and remove the old
fdtdec support.
The keyboard is not yet converted.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
drivers/misc/cros_ec.c | 33 ++---
Add a function which looks up a device by its node (either in live tree
or flat tree).
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
drivers/core/uclass.c| 37 +
include/dm/uclass-internal.h | 18
Show the filename of the test being run. Skip the path and show just the
base name.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
include/test/test.h | 2 ++
test/dm/test-main.c | 3 ++-
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git
Update the PCI uclass to support livetree. This mostly involves fixing
the address decoding from the device tree.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
drivers/pci/pci-uclass.c | 26 --
1 file changed, 12
This is not needed in this driver. Drop it.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
drivers/i2c/sandbox_i2c.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/i2c/sandbox_i2c.c b/drivers/i2c/sandbox_i2c.c
index 4696a1ae62..f5978fda29
Use the new dev_read...() functions to access the device tree, so that a
live tree can be used.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
drivers/gpio/sandbox.c | 9 +++--
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git
Update the xlate() method to use ofnode_phandle_args instead of the fdtdec
variant. This will allow drivers to support a live device tree.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
drivers/clk/at91/pmc.c| 2 +-
drivers/clk/at91/pmc.h| 2
Add some definitions and helpers for livetree in the main of.h header
file. These include:
- reading multi-cell integers
- default number of address/size cells
- functions for comparing names
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
Update the adc uclass to support a live device tree.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
drivers/adc/adc-uclass.c | 14 ++
1 file changed, 6 insertions(+), 8 deletions(-)
diff --git a/drivers/adc/adc-uclass.c
These two functions have an of_ prefix which conflicts with naming used
in of_addr. Rename them:
fdt_read_number
fdt_support_bus_default_count_cells
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
arch/arm/cpu/armv8/fsl-layerscape/fdt.c| 4
Update the i2c uclass to support a live device tree.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
drivers/i2c/i2c-uclass.c | 28 +---
include/i2c.h| 3 +--
2 files changed, 14 insertions(+), 17 deletions(-)
Update this driver to support a live device tree.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
drivers/power/pmic/i2c_pmic_emul.c | 6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/drivers/power/pmic/i2c_pmic_emul.c
Hi Kever,
Ahh, yup! You're totally right! I didn't see Heiko's patch earlier.
My mistake.
Cheers,
Alex
On 18 May 2017 12:38 PM, "Kever Yang" wrote:
> Hi Alex,
>
>
> Thanks for your patch, but this patch is just the same with the one from
> Heiko[0], right?
>
>
>
Add a sandbox board to test the non-livetree build (i.e. with
CONFIG_OF_FLAT disabled). This increases our build and test coverage.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
board/sandbox/MAINTAINERS | 7 ++
When starting up driver model with a live tree we need to scan the tree
for devices. Add code to handle this.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
drivers/core/root.c | 58 +
Adjust this function to us an ofnode instead of an offset, so it can be
used with livetree. This involves updating all callers.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
drivers/clk/at91/pmc.c | 2 +-
drivers/core/lists.c
It is useful to run the driver model tests with both livetree and flat
tree in case something is different between the two. Add this feature to
the test runner.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
test/dm/test-main.c | 23
Line up this backslash with all the others.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
include/test/ut.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/test/ut.h b/include/test/ut.h
index 85434d785a..d176df58c7 100644
Update this driver to support a live device tree.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
drivers/power/regulator/fixed.c | 17 +
1 file changed, 9 insertions(+), 8 deletions(-)
diff --git a/drivers/power/regulator/fixed.c
Add an implementation of strcspn() which returns the number of initial
characters that do not match any in a rejection list.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
include/linux/string.h | 15 +++
lib/string.c | 24
Update the regulator uclass to support a live device tree.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
drivers/power/regulator/regulator-uclass.c | 39 --
1 file changed, 16 insertions(+), 23 deletions(-)
diff --git
Some functions deal with structured data rather than simple data types.
It makes sense to have these in their own file. For now this just has a
function to read a flashmap entry. Move the data types also.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
Move the main part of the GPIO request function into a separate function
so that it can be used by the live tree function when added. Update the
xlate method to use a node reference.
Update all GPIO drivers to handle the modified xlate() method.
Signed-off-by: Simon Glass
---
Add functions to access addresses in the device tree. These are brought
in from Linux 4.10.
Also fix up the header guard for fdtaddr.h to avoid confusion.
Signed-off-by: Simon Glass
---
Changes in v3:
- Fix up the fdtaddr.h header guard to avoid conflicts
Changes in v2:
Update the pmic uclass and all pmics to support a live device tree.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
drivers/power/pmic/act8846.c | 8 +++-
drivers/power/pmic/lp873x.c | 12 +---
drivers/power/pmic/max77686.c|
Modify regmap to support livetree.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
drivers/core/regmap.c | 37 ++---
1 file changed, 22 insertions(+), 15 deletions(-)
diff --git a/drivers/core/regmap.c
Update this driver to support a live device tree.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
drivers/mtd/spi/sandbox.c | 6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/drivers/mtd/spi/sandbox.c b/drivers/mtd/spi/sandbox.c
Use ut_asserteq() to test equality since this gives a better error message
on failure. Also make a few of the tests more specific.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
test/dm/phy.c | 15 +--
1 file changed, 9 insertions(+), 6
Update the mailbox uclass to support livetree. Fix the xlate() method
in all callers.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
drivers/mailbox/mailbox-uclass.c | 20
drivers/mailbox/tegra-hsp.c | 2 +-
We cannot access the device tree via an offset when running in livetree
mode. Separate out that part of the bus' children tests and mark it as
for the flat tree only.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
test/dm/bus.c | 16 +++-
Modify simple-bus to support livetree.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
drivers/core/simple-bus.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/core/simple-bus.c b/drivers/core/simple-bus.c
index
This functions works like strchr() but returns the end of the string if
the character is not found. Add an implementation of this.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
include/linux/string.h | 13 +
lib/string.c | 8
We should not be including a PMIC header file in the board config. Move it
to a C file.
Signed-off-by: Simon Glass
---
Changes in v3:
- Add new patch to move pmic header out of config file
Changes in v2: None
board/samsung/common/misc.c | 1 +
include/configs/trats2.h|
Adjust this function to use an ofnode instead of an offset, so it can be
used with livetree. This involves updating all callers.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
drivers/core/lists.c | 12 ++--
drivers/core/root.c
When a live tree is being used we need to record the node that was used to
create the device. Update device_bind_with_driver_data() to support this.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
drivers/core/device.c| 18 --
This is not needed. Drop it.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
include/asm-generic/gpio.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/include/asm-generic/gpio.h b/include/asm-generic/gpio.h
index b073b39138..d78491dfc2 100644
---
Add functions to add addresses in the device tree using ofnode references.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
drivers/core/ofnode.c | 27 +++
include/dm/ofnode.h | 23 ++-
2 files changed, 49
It is common to read a device-tree property from the node associated with
a device. Add convenience functions to do this so that drivers do not need
to deal with accessing the ofnode from the device.
These functions all start with 'dev_read_' to provide consistent naming
for all functions which
Adjust this function to work with livetree.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
drivers/core/uclass.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/core/uclass.c b/drivers/core/uclass.c
index
Running a new test should reset the sandbox state to avoid tests
interferring with each other. Move the existing state-reset code into a
function so it can be used from tests.
Also update the code to reset the SPI devices and adjust the test code to
call it.
Signed-off-by: Simon Glass
This function does not change the device tree so adjust it to use const
for this parameter.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
common/fdt_support.c | 2 +-
include/fdt_support.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
When the live tree is supported some functions need to change a little.
Add an implementation which is used when not inlining these functions.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
drivers/core/Makefile | 3 +
drivers/core/read.c | 140
We want to run the same test on flat and live trees. In preparation for
this, create a new function which handles running a test.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
test/dm/test-main.c | 56
If enabled, build a live device tree after relocation. This can then be
used by driver model.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
common/board_r.c | 12
1 file changed, 12 insertions(+)
diff --git a/common/board_r.c
Add a Kconfig option to enable a live device tree, built at run time from
the flat tree. Also add structure definitions and a root node.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
dts/Kconfig | 11
Add a basic assortment of functions to access the live device tree. These
come from Linux v4.9 and are modified for U-Boot to the minimum extent
possible. While these functions are now very stable in Linux, it will be
possible to merge in fixes if needed.
Signed-off-by: Simon Glass
This function converts the flat device tree into a hierarchical one with
C structures and pointers. This is easier to access.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
include/of_live.h | 24
lib/Makefile | 1 +
lib/of_live.c |
The of_ prefix conflicts with the livetree version of this function.
Rename it to avoid problems when we add livetree support.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
drivers/core/device.c | 2 +-
drivers/firmware/psci.c
Since U-Boot supports both a live tree and a flat tree, we need an easy
way to access the tree without worrying about which is currently active.
To support this, U-Boot has the concept of an ofnode, which can refer
either to a live tree node or a flat tree node.
For the live tree, the reference
(this is series 2 of 3 for live tree support - the final series will
fully convert a real board and provide size comparisons)
So far U-Boot uses a 'flat' device tree, which means that it is decoded
on the fly as needed. This uses the libfdt library and avoids needing
extra memory for additional
On Thursday 18 May 2017 06:31 PM, Sam Protsenko wrote:
> One can obtain those variables using next commands:
>
> $ fastboot getvar cpu
> $ fastboot getvar secure
> $ fastboot getvar board_rev
> $ fastboot getvar userdata_size
>
> Those variables are needed for fastboot.sh
On Thursday 18 May 2017 06:31 PM, Sam Protsenko wrote:
> This patch reuses new option, which allows us to expose variables
> from environment to "fastboot getvar" command. Those variables must be
> of "fastboot.%s" format.
>
> Signed-off-by: Sam Protsenko
> ---
>
On Thursday 18 May 2017 09:04 PM, Manfred Schlaegl wrote:
> On 2017-05-18 16:59, Lothar Waßmann wrote:
>> Manfred Schlaegl wrote:
>>
>>> On 2017-05-17 06:13, Lokesh Vutla wrote:
On Tuesday 16 May 2017 07:59 PM, Manfred Schlaegl wrote:
> On
Hi Tom,
On 9 May 2017 at 17:59, Tom Rini wrote:
>
> On Tue, May 09, 2017 at 04:53:36PM -0600, Simon Glass wrote:
>
> > Hi Tom,
> >
> > Here's the conversion to use the upstream pylibfdt implementation.
> >
> >
> > The following changes since commit
Build the upstream python libfdt module. At present the legacy module is
still built and is the one that it used. Future work will switch this
over.
Signed-off-by: Simon Glass
---
Changes in v2:
- Fix building when srcpath is ".."
tools/Makefile | 23 +++
On Wed, May 17, 2017 at 09:22:55PM +0200, Jean-Jacques Hiblot wrote:
> SDIO is not supported in u-boot, there is no point in enabling mmc3.
> For this purpose, add u-boot specific dtsi that this will be included
> automatically while building the dtb.
>
> Signed-off-by: Jean-Jacques Hiblot
On Wed, May 17, 2017 at 02:06:08PM -0400, Tom Rini wrote:
> The intention of having a -u-boot.dtsi file is to be able to make
> changes to the provided upstream dts files as well as to be able to add
> nodes. Change the logic for adding the file from making it the last
> included file at the top
On Thu, May 18, 2017 at 11:42:02AM +0200, Marek Vasut wrote:
> The following changes since commit fa8967cfbaed5582ba987756fa9f0470a9affbf4:
>
> Merge git://git.denx.de/u-boot-uniphier (2017-05-17 14:13:58 -0400)
>
> are available in the git repository at:
>
>
On Thu, May 18, 2017 at 11:32:47AM +0200, Marek Vasut wrote:
> The following changes since commit fa8967cfbaed5582ba987756fa9f0470a9affbf4:
>
> Merge git://git.denx.de/u-boot-uniphier (2017-05-17 14:13:58 -0400)
>
> are available in the git repository at:
>
>
On Thu, May 18, 2017 at 03:04:59PM +0300, Sam Protsenko wrote:
> This patch adds support for flashing zImage to the Android boot
> partition on eMMC.
>
> Usage:
>
> $ fastboot flash zImage
>
> It's based on [1].
>
> [1]
>
It's currently bugged and doesn't work for even cases.
Right shift bits instead of dividing and fix even cases.
Signed-off-by: Álvaro Fernández Rojas
---
drivers/serial/serial_bcm6345.c | 10 --
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git
I missed this when I added support for BMIPS UART driver and it's needed to
achieve a real 115200 8N1 setup.
Signed-off-by: Álvaro Fernández Rojas
---
v3: no changes, added another fix on a separate patch.
v2: fix commit title (missed bcm6345)
On 05/18/2017 04:19 AM, Bogdan Purcareata wrote:
> Previous to MC v10.x, port mac address was specified via DPL. Since
> newer MC versions are compatible with old style DPLs, make the u-boot
> env mac addresses visible there. This applies only to DPLs that have an
> older version.
>
> DPLs use 32
The bootelf command could, but does not, pass additional arguments along
on the command line. Make do_bootelf consume bootelf/flags/address as
needed and then pass along anything else to the ELF application we've
launched.
Reported-by: Thomas Doerfler
On 05/18/2017 11:49 AM, Vikas Manocha wrote:
Enable support for XIP (execute in place) of U-Boot or kernel image. There is
no need to copy image from flash to ram if flash supports execute in place.
Awesome. I've had to hack u-boot before to achieve exactly this. It's
nice to have a proper
This driver manages the SPI controller present on this SoC.
Signed-off-by: Álvaro Fernández Rojas
---
arch/mips/dts/brcm,bcm3380.dtsi | 13 +
1 file changed, 13 insertions(+)
diff --git a/arch/mips/dts/brcm,bcm3380.dtsi b/arch/mips/dts/brcm,bcm3380.dtsi
index
This driver manages the SPI controller present on this SoC.
Signed-off-by: Álvaro Fernández Rojas
---
arch/mips/dts/brcm,bcm6348.dtsi | 13 +
1 file changed, 13 insertions(+)
diff --git a/arch/mips/dts/brcm,bcm6348.dtsi b/arch/mips/dts/brcm,bcm6348.dtsi
index
This driver manages the SPI controller present on this SoC.
Signed-off-by: Álvaro Fernández Rojas
---
arch/mips/dts/brcm,bcm6338.dtsi | 13 +
1 file changed, 13 insertions(+)
diff --git a/arch/mips/dts/brcm,bcm6338.dtsi b/arch/mips/dts/brcm,bcm6338.dtsi
index
It's a Winbond (w25x32) 4 MB SPI flash.
Signed-off-by: Álvaro Fernández Rojas
---
arch/mips/dts/sagem,f...@st1704.dts | 13 +
configs/sagem_f@st1704_ram_defconfig | 8
2 files changed, 21 insertions(+)
diff --git
It's a Spansion (s25fl064a) 8 MB SPI flash.
Signed-off-by: Álvaro Fernández Rojas
---
arch/mips/dts/netgear,cg3100d.dts | 13 +
configs/netgear_cg3100d_ram_defconfig | 8
2 files changed, 21 insertions(+)
diff --git
Command bytes are part of the written bytes and they should be taken into
account when sending a spi transfer.
Signed-off-by: Álvaro Fernández Rojas
---
drivers/mtd/spi/spi_flash.c | 2 +-
drivers/spi/Kconfig | 3 +++
include/spi.h | 8 +++-
3 files
This driver manages the low speed SPI controller present on this SoC.
Signed-off-by: Álvaro Fernández Rojas
---
arch/mips/dts/brcm,bcm63268.dtsi | 13 +
1 file changed, 13 insertions(+)
diff --git a/arch/mips/dts/brcm,bcm63268.dtsi
This driver manages the SPI controller present on this SoC.
Signed-off-by: Álvaro Fernández Rojas
---
arch/mips/dts/brcm,bcm6358.dtsi | 13 +
1 file changed, 13 insertions(+)
diff --git a/arch/mips/dts/brcm,bcm6358.dtsi b/arch/mips/dts/brcm,bcm6358.dtsi
index
This driver is a simplified version of linux/drivers/spi/spi-bcm63xx.c
Instead of supporting both HW revisions of the controller in a single build,
support has been split by the selected config to save space.
Signed-off-by: Álvaro Fernández Rojas
---
drivers/spi/Kconfig
For some SPI controllers it's not possible to keep the CS active between
transfers and they are limited to a known number of bytes.
This splits spi_flash reads into different iterations in order to respect
the SPI controller limits.
Signed-off-by: Álvaro Fernández Rojas
---
BCM63xx SPI controller is a bit tricky since it doesn't allow keeping CS
active between transfers, so I had to modify the spi_flash driver in order
to allow limiting reads.
Álvaro Fernández Rojas (10):
drivers: spi: allow limiting reads
drivers: spi: add config to consider command bytes when
With overrun enabled, serial port console freezes & stops receiving data with
overun error if we keep sending data.
Signed-off-by: Vikas Manocha
---
drivers/serial/serial_stm32x7.c | 3 +++
drivers/serial/serial_stm32x7.h | 2 ++
2 files changed, 5 insertions(+)
diff
Signed-off-by: Vikas Manocha
---
arch/arm/mach-stm32/stm32f7/Kconfig| 1 +
board/st/stm32f746-disco/stm32f746-disco.c | 8
include/configs/stm32f746-disco.h | 7 +++
3 files changed, 16 insertions(+)
diff --git
1 - 100 of 230 matches
Mail list logo