write operation on a regmap.
Implement the regmap_read and regmap_write functions using these raw
functions in a backwards-compatible manner.
Signed-off-by: Mario Six
---
v2 -> v3:
* Implement the "raw" functions from Linux instead of adding a size
parameter to the regmap_{read,wri
This patch adds a driver for the bus associated with a IHS FPGA.
Signed-off-by: Mario Six
---
v2 -> v3:
* Fixed style violations
* Added bindings file
* Added more debug output in case of errors
* Switched all printfs to debug
* Documented the private data structure
* Formatted documentation
ofnode_read_simple_addr_cells may fail and return a negative error code.
Check for this when initializing regmaps.
Also check if both_len is zero, since this is perfectly possible, and
would lead to a division-by-zero further down the line.
Signed-off-by: Mario Six
---
v2 -> v3:
New in
parameter
'range_num' that identifies the range to operate on.
Reviewed-by: Simon Glass
Signed-off-by: Mario Six
---
v2 -> v3:
* Renamed the functions to regmap_{write,read}_range
* Added function comments
* Fixed style violations
* Improved error handling
v1 -> v2:
New in v2
-
Makefile entries should be sorted.
Signed-off-by: Mario Six
---
v2 -> v3:
New in v3
---
drivers/misc/Makefile | 60 +++
1 file changed, 32 insertions(+), 28 deletions(-)
diff --git a/drivers/misc/Makefile b/drivers/misc/Makefile
in
Add test for regmap_{set,get} functions.
Signed-off-by: Mario Six
---
v2 -> v3:
New in v3
---
test/dm/regmap.c | 28
1 file changed, 28 insertions(+)
diff --git a/test/dm/regmap.c b/test/dm/regmap.c
index d4b86b3b03c..152b3a4b800 100644
--- a/test/dm/regma
.
Signed-off-by: Mario Six
---
v2 -> v3:
New in v3
---
arch/sandbox/dts/test.dts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/sandbox/dts/test.dts b/arch/sandbox/dts/test.dts
index e941cea3e5c..47cc961890f 100644
--- a/arch/sandbox/dts/test.dts
+++ b/arch/sandbox/
Both fdtdec_get_addr_size_fixed and of_address_to_resource can fail with
an error, which is not currently checked during regmap initialization.
Since the indentation depth is already quite deep, extract a new
'init_range' method to do the initialization.
Signed-off-by: Mario Six
---
Document the regmap_alloc() function.
Signed-off-by: Mario Six
---
v2 -> v3:
New in v3
---
drivers/core/regmap.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/drivers/core/regmap.c b/drivers/core/regmap.c
index 8e5c3bcf61b..77f6f520a06 100644
--- a/drivers/core/regmap.c
++
The documentation in regmap.h is not in kernel-doc format. Correct this.
Signed-off-by: Mario Six
---
v2 -> v3:
New in v3
---
include/regmap.h | 48 +++-
1 file changed, 39 insertions(+), 9 deletions(-)
diff --git a/include/regmap.h b/incl
Add tests for the new board uclass.
Reviewed-by: Simon Glass
Signed-off-by: Mario Six
---
v3 -> v4:
No changes
v2 -> v3:
* Accomodated get_board() rename
* Fixed style violations
v1 -> v2:
New in v2
---
arch/sandbox/dts/test.dts | 4 ++
configs/sandbox64_defconfig
Add a board driver for the upcoming gdsys Gazerbeam board.
Signed-off-by: Mario Six
---
v3 -> v4:
* Fixed misplaced Kconfig lines
v2 -> v3:
* Set startup-finished GPIOs during probe
* Added driver binding file for gazerbeam board
* Improved error handling
* Improved error/debug
ided by the
hardware.
Reviewed-by: Simon Glass
Signed-off-by: Mario Six
---
v3 -> v4:
* Fixed botched Kconfig entry
v2 -> v3:
* Expanded comment on detect()
* Added error handling in example
* Renamed get_board() to board_get()
* Fixed style violations
* Documented board_get
* Made commen
Hi Simon,
On Wed, Jun 27, 2018 at 11:03 PM, Simon Glass wrote:
> Hi Mario,
>
> On 27 June 2018 at 00:03, Mario Six wrote:
>>
>> Since there is no canonical "board device" that can be used in board
>> files, it is difficult to use DM function for b
Add a board driver for the upcoming gdsys Gazerbeam board.
Signed-off-by: Mario Six
---
v2 -> v3:
* Set startup-finished GPIOs during probe
* Added driver binding file for gazerbeam board
* Improved error handling
* Improved error/debug output
* Improved documentation
* Turned magic numb
ided by the
hardware.
Signed-off-by: Mario Six
---
v2 -> v3:
* Expanded comment on detect()
* Added error handling in example
* Renamed get_board() to board_get()
* Fixed style violations
* Documented board_get
* Made comments conform with kernel-doc
* Fixed SPDC-License-Identifier position
Add tests for the new board uclass.
Reviewed-by: Simon Glass
Signed-off-by: Mario Six
---
v2 -> v3:
* Accomodated get_board() rename
* Fixed style violations
v1 -> v2:
New in v2
---
arch/sandbox/dts/test.dts | 4 ++
configs/sandbox64_defconfig| 2 +
c
Add a driver for IHS OSDs on IHS FPGAs.
Reviewed-by: Simon Glass
Signed-off-by: Mario Six
---
v2 -> v3:
* Replace dev_read_prop with dev_read_string
* Fixed binding file
* Improved error handling and reporting
* Use static const variables instead of #defines
* Use named constant for s
Some devices offer a text-based OSD (on-screen display) that can be
programmatically controlled (i.e. text displayed on).
Add a uclass to support such devices.
Reviewed-by: Simon Glass
Signed-off-by: Mario Six
---
v2 -> v3:
None
v1 -> v2:
* Use singular case for UCLASS_VIDEO_OSD descr
Add command to query information from and write text to on-screen
display (OSD) devices.
Signed-off-by: Mario Six
---
v2 -> v3:
* Fixed style violations
* Moved gdsys legacy OSD cmds to their own file
* Made sure allocated buffer is always freed
* Improved error handling
* Impro
Add tests for the hex2bin, bin2hex, and hex_to_bin functions, which were
recently added to U-Boot.
Signed-off-by: Mario Six
---
v2 -> v3:
New in v3
---
test/Makefile | 1 +
test/lib/Makefile | 5 +++
test/lib/hexdump.c | 95 ++
Add sandbox driver and tests for the new OSD uclass.
Signed-off-by: Mario Six
---
v2 -> v3:
* Fixed style violations
* Removed sandbox_osd_get_mem from the uclass and moved it into the
driver
v1 -> v2:
New in v2
---
arch/sandbox/dts/test.dts | 5 +
arch/sandbox/inclu
Add a unit test assert-method, which compares two given memory areas for
byte-wise equality.
Signed-off-by: Mario Six
---
v2 -> v3:
New in v3
---
include/test/ut.h | 18 ++
1 file changed, 18 insertions(+)
diff --git a/include/test/ut.h b/include/test/ut.h
index 59b23a2
We cannot use device structures to disable devices, since getting
them with the API functions would bind and activate the device, which
would fail if the underlying device does not exist.
---
Hence, add a function to disable devices by path in a live device tree.
Signed-off-by: Mario Six
v2
Add tests for the dev_{enable,disable}_by_path functions.
Reviewed-by: Simon Glass
Signed-off-by: Mario Six
---
v2 -> v3:
* Fixed style violations
v1 -> v2:
New in v2
---
test/dm/test-fdt.c | 28
1 file changed, 28 insertions(+)
diff --git a/test/dm/test
Implement a set of functions to manipulate properties in a live device
tree:
* ofnode_write_prop() to set generic properties of a node
* ofnode_write_string() to set string properties of a node
* ofnode_set_enabled() to either enable or disable a node
Signed-off-by: Mario Six
---
v2 ->
Add tests for the ofnode_set_enabled, ofnode_write_string, and
ofnode_write_property functions.
Reviewed-by: Simon Glass
Signed-off-by: Mario Six
---
v2 -> v3:
* Fixed style violation
v1 -> v2:
New in v2
---
test/dm/test-fdt.c | 54 +++
Hi Tom,
On Mon, Jun 18, 2018 at 9:04 PM, Tom Rini wrote:
> On Thu, Jun 14, 2018 at 10:44:53AM +0200, Mario Six wrote:
>
>> The Linux kernel moved to sphinx-based documentation and got rid of the
>> DocBook based documentation quite a while ago. Hence, the DocBook
>>
Right, sorry, will be fixed in v3.
> On Wed, 23 May 2018 14:10:47 +0200
> Mario Six mario@gdsys.cc wrote:
> ...
>> diff --git a/drivers/video/Makefile b/drivers/video/Makefile
>> index cf7ad281c3b..fa4ac715fcf 100644
>> --- a/drivers/video/Makefile
>>
Hi Simon,
On Fri, May 25, 2018 at 4:41 AM, Simon Glass wrote:
> Hi Mario,
>
> On 23 May 2018 at 06:10, Mario Six wrote:
>> Add a command to debug the AXI bus.
>>
>> Signed-off-by: Mario Six
>>
>> ---
>>
>> v1 -> v2:
>> No change
Hi Simon,
On Fri, May 25, 2018 at 4:41 AM, Simon Glass wrote:
> On 23 May 2018 at 06:10, Mario Six wrote:
>> Add tests for the AXI uclass.
>>
>> Signed-off-by: Mario Six
>>
>> ---
>>
>> v1 -> v2:
>> * Fixed asserts (moved expected values fi
Hi Simon,
On Fri, May 25, 2018 at 4:41 AM, Simon Glass wrote:
> Hi Mario,
>
> On 23 May 2018 at 06:10, Mario Six wrote:
>> Add test infrastructure and tests for the AXI uclass.
>>
>> Signed-off-by: Mario Six
>>
>> ---
>>
>> v1 -> v2:
>&g
Hi Simon,
On Fri, May 25, 2018 at 4:41 AM, Simon Glass wrote:
> On 23 May 2018 at 06:10, Mario Six wrote:
>> Add a uclass for AXI (Advanced eXtensible Interface) busses, and a
>> driver for the gdsys IHS AXI bus on IHS FPGAs.
>>
>> Signed-off-by: Mario Si
Hi Simon,
On Fri, May 25, 2018 at 4:42 AM, Simon Glass wrote:
> Hi Mario,
>
> On 24 May 2018 at 02:42, Mario Six wrote:
>> Add a CPU driver for the MPC83xx architecture.
>>
>> Signed-off-by: Mario Six
>>
>> ---
>>
>> v2 -> v3:
>> * Ad
Hi Simon,
On Fri, May 25, 2018 at 4:42 AM, Simon Glass wrote:
> Hi Mario,
>
> On 24 May 2018 at 02:42, Mario Six wrote:
>> When the DM CPU drivers are active, printing information about a CPU
>> should be delegated to a matching driver.
>>
>> Hence, add a sta
Hi Simon,
On Fri, May 25, 2018 at 4:42 AM, Simon Glass wrote:
> Hi Mario,
>
> On 24 May 2018 at 02:42, Mario Six wrote:
>> Add a timer driver for the MPC83xx architecture.
>>
>> Signed-off-by: Mario Six
>>
>> ---
>>
>> v2 -> v3:
>>
Hi Simon,
On Fri, May 25, 2018 at 4:42 AM, Simon Glass wrote:
> Hi Mario,
>
> On 24 May 2018 at 02:42, Mario Six wrote:
>> Add a clock driver for the MPC83xx architecture.
>>
>> Signed-off-by: Mario Six
>>
>> ---
>>
>> v2 -> v3:
>> *
Hi Simon,
On Fri, May 25, 2018 at 4:41 AM, Simon Glass wrote:
> On 24 May 2018 at 02:42, Mario Six wrote:
>> Add some tests for sysreset_get_status.
>>
>> Signed-off-by: Mario Six
>>
>> ---
>>
>> v2 -> v3:
>> New in v3.
Hi Simon,
On Wed, May 30, 2018 at 9:18 PM, Simon Glass wrote:
> Hi Mario,
>
> On 28 May 2018 at 07:01, Mario Six wrote:
>> Hi Simon,
>>
>> On Fri, May 25, 2018 at 4:41 AM, Simon Glass wrote:
>>> +Marex
>>>
>>> Hi Mario,
>>>
>
Hi Simon,
On Fri, May 4, 2018 at 11:37 PM, Simon Glass wrote:
> Hi Mario,
>
> On 4 May 2018 at 02:15, Mario Six wrote:
>> Hi Simon,
>>
>> On Thu, May 3, 2018 at 9:02 PM, Simon Glass wrote:
>>> Hi Mario,
>>>
>>> On 27 April 2018 at 06:53, Ma
Hi Simon,
On Fri, May 4, 2018 at 11:37 PM, Simon Glass wrote:
> Hi Mario,
>
> On 4 May 2018 at 01:14, Mario Six wrote:
>> Hi Simon,
>>
>> On Tue, May 1, 2018 at 1:13 AM, Simon Glass wrote:
>>> Hi Mario,
>>>
>>> On 27 April 2018 at 06:51, Ma
Hi Alexey,
On Mon, Jun 4, 2018 at 6:05 PM, Alexey Brodkin
wrote:
> Hi Mario,
>
> On Wed, 2018-05-23 at 14:09 +0200, Mario Six wrote:
>> Especially for commands, it is useful to be able to turn a hexadecimal
>> string into its binary representation.
>>
>> Henc
Hi Stefan,
On Mon, May 28, 2018 at 4:49 PM, Stefan Roese wrote:
> On 28.05.2018 15:15, Mario Six wrote:
>>
>> Hi Stefan,
>>
>> On Mon, May 28, 2018 at 2:52 PM, Stefan Roese wrote:
>>>
>>> (Added Mario and Chris)
>>>
>>>
>>&
Hi Stefan,
On Mon, May 28, 2018 at 2:52 PM, Stefan Roese wrote:
> (Added Mario and Chris)
>
>
> On 27.05.2018 17:34, Baruch Siach wrote:
>>
>> From: Rabeeh Khoury
>>
>> Some QCA988x based modules presence is not detected by the SERDES lanes,
>> so force this detection which will trigger the LTSS
Hi Simon,
On Fri, May 25, 2018 at 4:41 AM, Simon Glass wrote:
> +Marex
>
> Hi Mario,
>
> On 23 May 2018 at 08:07, Mario Six wrote:
>> The comments in misc.h are not in kernel-doc format. Correct the format.
>>
>> Signed-off-by: Mario Six
>&
Hi Simon,
On Fri, May 25, 2018 at 4:41 AM, Simon Glass wrote:
> Hi Mario,
>
> On 23 May 2018 at 08:07, Mario Six wrote:
>> Add generic enable/disable function to the misc uclass.
>>
>> Signed-off-by: Mario Six
>>
>> ---
>>
>> v2 -> v3:
&g
Hi Simon,
On Fri, May 25, 2018 at 4:42 AM, Simon Glass wrote:
> On 23 May 2018 at 08:07, Mario Six wrote:
>> Add driver for the IHS IO endpoint on IHS FPGAs.
>>
>> Signed-off-by: Mario Six
>>
>> ---
>>
>> v2 -> v3:
>> No changes
>>
&g
Hi Simon,
On Wed, May 23, 2018 at 6:33 PM, Simon Glass wrote:
> On 23 May 2018 at 06:09, Mario Six wrote:
>> Some devices offer a text-based OSD (on-screen display) that can be
>> programmatically controlled (i.e. text displayed on).
>>
>> Add a uclass to support suc
Hi Simon,
On Wed, May 23, 2018 at 6:33 PM, Simon Glass wrote:
> Hi Mario,
>
> On 23 May 2018 at 06:09, Mario Six wrote:
>> Add command to query information from and write text to on-screen
>> display (OSD) devices.
>>
>> Signed-off-by: Mario Six
>>
>&g
Hi Simon,
On Wed, May 23, 2018 at 6:33 PM, Simon Glass wrote:
> Hi Mario,
>
> On 23 May 2018 at 06:09, Mario Six wrote:
>> Especially for commands, it is useful to be able to turn a hexadecimal
>> string into its binary representation.
>>
>> Hence, import the
Hi Simon,
On Wed, May 23, 2018 at 6:33 PM, Simon Glass wrote:
> Hi Mario,
>
> On 23 May 2018 at 06:09, Mario Six wrote:
>> Add a driver for IHS OSDs on IHS FPGAs.
>>
>> Signed-off-by: Mario Six
>>
>> ---
>>
>> v1 -> v2:
>> * Rena
Hi Simon,
On Wed, May 23, 2018 at 6:33 PM, Simon Glass wrote:
> Hi Mario,
>
> On 23 May 2018 at 06:09, Mario Six wrote:
>> Add sandbox driver and tests for the new OSD uclass.
>>
>> Signed-off-by: Mario Six
>>
>> ---
>>
>> v1 -> v2
Add a RAM driver for the MPC83xx architecture.
Reviewed-by: Simon Glass
Signed-off-by: Mario Six
---
v2 -> v3:
* Converted some #ifdefs to if (IS_ENABLED(...))
* Added driver files to MAINTAINERS
v1 -> v2:
No changes
---
MAINTAINERS| 2 +
arch/power
To print the reset status during boot, add a method print_resetinfo to
board_f, which is called in init_sequence_f[], that gets the reset
information from the sysreset driver (assuming there is only one seems
reasonable), and prints it.
Reviewed-by: Simon Glass
Signed-off-by: Mario Six
---
v2
Add some tests for sysreset_get_status.
Signed-off-by: Mario Six
---
v2 -> v3:
New in v3.
---
drivers/sysreset/sysreset_sandbox.c | 16
test/dm/sysreset.c | 19 +++
2 files changed, 35 insertions(+)
diff --git a/drivers/sysre
Add a driver to configure the SerDes (Serializer/Deserializer) lanes on
the MPC83xx architecture.
Signed-off-by: Mario Six
---
v2 -> v3:
* Added driver file to MAINTAINERS
v1 -> v2:
No changes
---
MAINTAINERS | 1 +
arch/powerpc/cpu/mpc83xx/se
Add a clock driver for the MPC83xx architecture.
Signed-off-by: Mario Six
---
v2 -> v3:
* Added driver files to MAINTAINERS
v1 -> v2:
* Added binding of sysreset driver
---
MAINTAINERS | 3 +
arch/powerpc/cpu/mpc83xx/speed.c | 4 +
arch/powerpc/inclu
reset status (akin to get_desc in the CPU uclass).
Reviewed-by: Simon Glass
Signed-off-by: Mario Six
---
v2 -> v3:
No changes
v1 -> v2:
New in v2
---
drivers/sysreset/sysreset-uclass.c | 10 ++
include/sysreset.h | 17 +
2 files changed, 27
Add a CPU driver for the MPC83xx architecture.
Signed-off-by: Mario Six
---
v2 -> v3:
* Added driver files to MAINTAINERS
v1 -> v2:
* Removed cpu_print_info
* Fixed CPU info printing
* Removed usage of uclass_{first,next}_device_compat
* Removed printing of reset status
---
MAINT
Add a timer driver for the MPC83xx architecture.
Signed-off-by: Mario Six
---
v2 -> v3:
* Got rid of the static variables
* Added driver files to MAINTAINERS
v1 -> v2:
* Removed now-superfluous comments
* Removed usage of uclass_{first,next}_device_compat
* Switched to usage of new
When the DM CPU drivers are active, printing information about a CPU
should be delegated to a matching driver.
Hence, add a static print_cpuinfo that implements this delegation when
DM CPU drivers are active.
Signed-off-by: Mario Six
---
v2 -> v3:
No changes
v1 -> v2:
New in v2
---
Add a sysreset driver for the MPC83xx platform.
Reviewed-by: Simon Glass
Signed-off-by: Mario Six
---
v2 -> v3:
* Added driver file to MAINTAINERS
v1 -> v2:
New in v2
---
MAINTAINERS | 1 +
arch/powerpc/cpu/mpc83xx/cpu.c | 3 +-
drivers/sysreset/K
Includes should be sorted.
Reviewed-by: Simon Glass
Signed-off-by: Mario Six
---
v2 -> v3:
No changes
v1 -> v2:
New in v2
---
common/board_f.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/common/board_f.c b/common/board_f.c
index d24513d6d18..a716eeb8990 100644
Add generic enable/disable function to the misc uclass.
Signed-off-by: Mario Six
---
v2 -> v3:
* Now return old state from misc_set_enabled
v1 -> v2:
* Merged the two functions into one function
* Explained the semantics of enabling/disabling more throughly
---
drivers/misc/misc-uc
The comments in misc.h are not in kernel-doc format. Correct the format.
Signed-off-by: Mario Six
---
v2 -> v3:
New in v3
---
include/misc.h | 66 +++---
1 file changed, 35 insertions(+), 31 deletions(-)
diff --git a/include/misc.
Add driver for the IHS IO endpoint on IHS FPGAs.
Signed-off-by: Mario Six
---
v2 -> v3:
No changes
v1 -> v2:
* Switched to regmap usage (instead of fpgamap)
---
drivers/misc/Kconfig | 6 ++
drivers/misc/Makefile | 1 +
drivers/misc/gdsys_ioep.c
Add test AXI drivers to the sandbox.
Reviewed-by: Simon Glass
Signed-off-by: Mario Six
---
v1 -> v2:
No changes
---
arch/sandbox/dts/sandbox.dts | 11 +++
arch/sandbox/dts/test.dts| 11 +++
configs/sandbox_defconfig| 3 +++
3 files changed, 25 insertions(+)
d
Add a driver for the Xilinx LogiCORE DisplayPort IP core, which is a
pure DP transmitter core for Xiling FPGA (no display capabilities).
Signed-off-by: Mario Six
---
v1 -> v2:
* Switch to display_enable
* Mentioned that the LogiCORE has no display capabilities
---
drivers/video/Kcon
Add test infrastructure and tests for the AXI uclass.
Signed-off-by: Mario Six
---
v1 -> v2:
* Spelled out abbreviations in Kconfig help
* Expanded emulation documentation
* Renamed storage pointer to storep
* Expanded AXI emulator usage documentation
* Switched AXI emulator to aligned acc
Add a command to debug the AXI bus.
Signed-off-by: Mario Six
---
v1 -> v2:
No changes
---
cmd/Kconfig | 8 ++
cmd/Makefile | 1 +
cmd/axi.c| 310 +++
3 files changed, 319 insertions(+)
create mode 100644 cmd/axi.c
diff --
Add a driver for the gdsys IHS AXI bus used on IHS FPGAs.
Signed-off-by: Mario Six
---
v1 -> v2:
New in v2
---
drivers/axi/Kconfig | 12
drivers/axi/Makefile | 1 +
drivers/axi/ihs_axi.c | 179 ++
3 files changed, 192 inserti
Add tests for the AXI uclass.
Signed-off-by: Mario Six
---
v1 -> v2:
* Fixed asserts (moved expected values first)
---
test/dm/Makefile | 1 +
test/dm/axi.c| 74
2 files changed, 75 insertions(+)
create mode 100644 test/dm/ax
Add a uclass for AXI (Advanced eXtensible Interface) busses, and a
driver for the gdsys IHS AXI bus on IHS FPGAs.
Signed-off-by: Mario Six
---
v1 -> v2:
* Spelled out all abbreviations in the Kconfig help
* Split commit into uclass addition and driver addition
---
drivers/Kcon
Add command to query information from and write text to on-screen
display (OSD) devices.
Signed-off-by: Mario Six
---
v1 -> v2:
* Added explanation for what a OSD is
* Added explanation of the color parameter
* Moved GDSYS_LEGACY_OSD_CMDS to gdsys Kconfig
---
board/gdsys/mpc8308/Kcon
Add sandbox driver and tests for the new OSD uclass.
Signed-off-by: Mario Six
---
v1 -> v2:
New in v2
---
arch/sandbox/dts/test.dts | 4 +
configs/sandbox64_defconfig| 3 +
configs/sandbox_defconfig | 3 +
configs/sandbox_flattree_defconfig | 3 +
conf
Especially for commands, it is useful to be able to turn a hexadecimal
string into its binary representation.
Hence, import the hex_to_bin, bin2hex, and hex2bin functions from the
Linux kernel.
Signed-off-by: Mario Six
---
v1 -> v2:
New in v2
---
include/linux/kernel.h | 4 +
lib/Makef
Some devices offer a text-based OSD (on-screen display) that can be
programmatically controlled (i.e. text displayed on).
Add a uclass to support such devices.
Signed-off-by: Mario Six
---
v1 -> v2:
* Use singular case for UCLASS_VIDEO_OSD description
* Expanded description
Add a driver for IHS OSDs on IHS FPGAs.
Signed-off-by: Mario Six
---
v1 -> v2:
* Renamed x and y parameters to col and row
* Removed duplicate IHS_VIDEO_OUT definition
* Switched error return code of ihs_video_out_set_mem to E2BIG
* Dropped blank lines between dev_read_u32_default ca
Hi Christophe,
On Fri, May 4, 2018 at 7:20 AM, Christophe LEROY
wrote:
> Hello,
>
>
> Le 16/03/2018 à 17:32, Christophe Leroy a écrit :
>>
>> This serie is the beginning of MPC8xx migration to DM model.
>
>
> I didn't get any feedback on this serie. I don't feel totally confortable as
> it is my
Hi Simon,
On Thu, May 3, 2018 at 9:02 PM, Simon Glass wrote:
> Hi Mario,
>
> On 27 April 2018 at 06:52, Mario Six wrote:
>> Add generic enable/disable function to the misc uclass.
>>
>> Signed-off-by: Mario Six
>> ---
>>
>> v1 -> v2:
Hi Neil,
On Fri, Apr 27, 2018 at 3:00 PM, Neil Armstrong wrote:
> Hi Mario,
>
> On 27/04/2018 14:51, Mario Six wrote:
>> The regmap functions currently assume that all register map accesses
>> have a data width of 32 bits, but there are maps that have different
>> wid
Hi Simon,
On Thu, May 3, 2018 at 9:02 PM, Simon Glass wrote:
> Hi Mario,
>
> On 27 April 2018 at 06:53, Mario Six wrote:
>> Register the IMMR region as a PCI region when PCI is used on MPC83xx.
>>
>> Signed-off-by: Mario Six
>> ---
>>
>> v1 ->
Hi Simon,
On Thu, May 3, 2018 at 9:01 PM, Simon Glass wrote:
> Hi Mario,
>
> On 27 April 2018 at 06:52, Mario Six wrote:
>> To print the reset status during boot, add a method print_resetinfo to
>> board_f, which is called in init_sequence_f[], that gets the reset
&g
Hi Simon,
On Thu, May 3, 2018 at 9:01 PM, Simon Glass wrote:
> On 27 April 2018 at 06:52, Mario Six wrote:
>> It's useful to have the reset status of the SoC printed out during reset
>> (e.g. to learn whether the reset was caused by software or a watchdog).
>>
>&
Hi Simon,
On Thu, May 3, 2018 at 4:33 AM, Simon Glass wrote:
> Hi Mario,
>
> On 27 April 2018 at 06:52, Mario Six wrote:
>> It would be convenient if one could use the regmap API in conjunction
>> with register maps defined as structs (i.e. structs that directly mirror
&g
Hi Simon,
On Thu, May 3, 2018 at 9:01 PM, Simon Glass wrote:
> Hi Mario,
>
> On 27 April 2018 at 06:52, Mario Six wrote:
>> Add a RAM driver for the MPC83xx architecture.
>>
>> Signed-off-by: Mario Six
>>
>> ---
>>
>> v1 -> v2:
>> N
Hi Simon,
On Thu, May 3, 2018 at 4:33 AM, Simon Glass wrote:
> Hi Mario,
>
> On 27 April 2018 at 06:51, Mario Six wrote:
>> We cannot use device structures to disable devices, since getting
>> them with the API functions would bind and activate the device, which
>> w
Hi Simon,
On Thu, May 3, 2018 at 4:33 AM, Simon Glass wrote:
> Hi Mario,
>
> On 27 April 2018 at 06:52, Mario Six wrote:
>>
>> It is useful to be able to treat the different ranges of a regmap
>> separately to be able to use distinct offset for them, but this is
>
Hi Simon,
On Tue, May 1, 2018 at 1:13 AM, Simon Glass wrote:
> Hi Mario,
>
> On 27 April 2018 at 06:51, Mario Six wrote:
>>
>> Implement a set of functions to manipulate properties in a live device
>> tree:
>>
>> * ofnode_set_propert
Hi Neil,
On Fri, Apr 27, 2018 at 3:01 PM, Neil Armstrong wrote:
> Hi,
>
> On 27/04/2018 14:53, Mario Six wrote:
>> Some reset lines are implemented by toggling the line via a GPIO.
>>
>> Add a driver to properly drive such reset lines.
>
> You are defining a &quo
Hi Simon,
On Tue, May 1, 2018 at 1:13 AM, Simon Glass wrote:
> Hi Mario,
>
> On 27 April 2018 at 06:52, Mario Six wrote:
>> Add a timer driver for the MPC83xx architecture.
>>
>> Signed-off-by: Mario Six
>>
>> ---
>>
>> v1 -> v2:
>&
Add a clock driver for the MPC83xx architecture.
Signed-off-by: Mario Six
---
v1 -> v2:
* Added binding of sysreset driver
---
arch/powerpc/cpu/mpc83xx/speed.c | 4 +
arch/powerpc/include/asm/config.h | 2 +-
drivers/clk/Kconfig | 6 +
drivers/clk/Makef
reset status (akin to get_desc in the CPU uclass).
Signed-off-by: Mario Six
---
v1 -> v2:
New in v2
---
drivers/sysreset/sysreset-uclass.c | 10 ++
include/sysreset.h | 17 +
2 files changed, 27 insertions(+)
diff --git a/drivers/sysreset/sysreset-ucl
Add a sysreset driver for the MPC83xx platform.
Signed-off-by: Mario Six
---
v1 -> v2:
New in v2
---
arch/powerpc/cpu/mpc83xx/cpu.c | 3 +-
drivers/sysreset/Kconfig| 5 ++
drivers/sysreset/Makefile | 9 +-
drivers/sysreset/sysreset_mpc83xx.c |
Add a RAM driver for the MPC83xx architecture.
Signed-off-by: Mario Six
---
v1 -> v2:
No changes
---
arch/powerpc/cpu/mpc83xx/spd_sdram.c | 4 +
drivers/ram/Kconfig| 8 +
drivers/ram/Makefile | 1 +
drivers/ram/mpc83xx_sdra
Add a timer driver for the MPC83xx architecture.
Signed-off-by: Mario Six
---
v1 -> v2:
* Removed now-superfluous comments
* Removed usage of uclass_{first,next}_device_compat
* Switched to usage of new board uclass (instead of devinfo)
---
arch/powerpc/cpu/mpc83xx/cpu.c | 4 +-
a
The CONFIG_PHY_MARVELL has already been migrated to Kconfig (some boards
already had it in their Kconfig), but had not been moved for older
boards.
Move it to the defconfigs for all boards.
Signed-off-by: Mario Six
---
configs/10m50_defconfig| 1 +
configs
Includes should be sorted.
Signed-off-by: Mario Six
---
v1 -> v2:
New in v2
---
common/board_f.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/common/board_f.c b/common/board_f.c
index 2df30cd250..ff7a52705e 100644
--- a/common/board_f.c
+++ b/common/board_f.c
@@ -1
To print the reset status during boot, add a method print_resetinfo to
board_f, which is called in init_sequence_f[], that gets the reset
information from the sysreset driver (assuming there is only one seems
reasonable), and prints it.
Signed-off-by: Mario Six
---
v1 -> v2:
New in
Declaration of indirect PCI bridges is not compatible with DM: Both
define PCI operations, but in different ways. Hence, don't use indirect
bridges if DM is active.
Signed-off-by: Mario Six
Reviewed-by: Simon Glass
---
v1 -> v2:
No changes
---
drivers/pci/pci_indirect.c | 2 +-
401 - 500 of 1189 matches
Mail list logo