project/bcm63xx/atf.git
5 years agoMerge "zynqmp: add support for multi console interface" into integration
Sandrine Bailleux [Tue, 2 Jul 2019 09:58:51 +0000 (09:58 +0000)]
Merge "zynqmp: add support for multi console interface" into integration

5 years agoMerge changes from topic "banned_api_list" into integration
Soby Mathew [Mon, 1 Jul 2019 13:21:23 +0000 (13:21 +0000)]
Merge changes from topic "banned_api_list" into integration

* changes:
  Fix the License header template in imx_aipstz.c
  docs: Add the list of banned/use with caution APIs

5 years agoFix the License header template in imx_aipstz.c
Soby Mathew [Thu, 20 Jun 2019 12:56:04 +0000 (13:56 +0100)]
Fix the License header template in imx_aipstz.c

Signed-off-by: Soby Mathew <soby.mathew@arm.com>
Change-Id: I2281b3c1b8a0f2caa751c746b7835f998183e0af

5 years agodocs: Add the list of banned/use with caution APIs
Soby Mathew [Thu, 20 Jun 2019 11:46:11 +0000 (12:46 +0100)]
docs: Add the list of banned/use with caution APIs

Credit to sam.ellis@arm.com for the input to create the list.

Change-Id: Id70a8eddc5f2490811bebb278482c61950f10cce
Signed-off-by: Soby Mathew <soby.mathew@arm.com>
5 years agozynqmp: add support for multi console interface
Ambroise Vincent [Wed, 29 May 2019 10:46:08 +0000 (11:46 +0100)]
zynqmp: add support for multi console interface

This patch addds multi console interface for ZynqMP
platform

Change-Id: I508a61412df2b71d04bca6a1139c8f32cbd7dccd
Signed-off-by: Ambroise Vincent <ambroise.vincent@arm.com>
Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Tested-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
5 years agoMerge changes from topic "av/console-port" into integration
Paul Beesley [Fri, 28 Jun 2019 11:04:02 +0000 (11:04 +0000)]
Merge changes from topic "av/console-port" into integration

* changes:
  qemu: use new console interface in aarch32
  warp7: remove old console from makefile
  Remove MULTI_CONSOLE_API flag and references to it
  Console: removed legacy console API

5 years agoqemu: use new console interface in aarch32
Ambroise Vincent [Tue, 28 May 2019 13:35:41 +0000 (14:35 +0100)]
qemu: use new console interface in aarch32

Change-Id: Iab788e3e7cb2f83144255c4eb830712fd5cb6240
Signed-off-by: Ambroise Vincent <ambroise.vincent@arm.com>
5 years agowarp7: remove old console from makefile
Ambroise Vincent [Wed, 29 May 2019 13:14:03 +0000 (14:14 +0100)]
warp7: remove old console from makefile

Change-Id: I87818b220568cc34838726b32ddf29ee6cf31ed7
Signed-off-by: Ambroise Vincent <ambroise.vincent@arm.com>
5 years agoRemove MULTI_CONSOLE_API flag and references to it
Ambroise Vincent [Thu, 4 Apr 2019 08:13:28 +0000 (09:13 +0100)]
Remove MULTI_CONSOLE_API flag and references to it

The new API becomes the default one.

Change-Id: Ic1d602da3dff4f4ebbcc158b885295c902a24fec
Signed-off-by: Ambroise Vincent <ambroise.vincent@arm.com>
5 years agoMerge "Tegra: Fix typo in comment" into integration
Paul Beesley [Thu, 27 Jun 2019 09:12:27 +0000 (09:12 +0000)]
Merge "Tegra: Fix typo in comment" into integration

5 years agoMerge "Tegra: Extend NS address check error output" into integration
Paul Beesley [Thu, 27 Jun 2019 09:11:16 +0000 (09:11 +0000)]
Merge "Tegra: Extend NS address check error output" into integration

5 years agoMerge "n1sdp: add code for DDR ECC enablement and BL33 copy to DDR" into integration
Paul Beesley [Thu, 27 Jun 2019 09:07:12 +0000 (09:07 +0000)]
Merge "n1sdp: add code for DDR ECC enablement and BL33 copy to DDR" into integration

5 years agon1sdp: add code for DDR ECC enablement and BL33 copy to DDR
Manoj Kumar [Fri, 21 Jun 2019 16:07:13 +0000 (17:07 +0100)]
n1sdp: add code for DDR ECC enablement and BL33 copy to DDR

N1SDP platform supports RDIMMs with ECC capability. To use the ECC
capability, the entire DDR memory space has to be zeroed out before
enabling the ECC bits in DMC620. Zeroing out several gigabytes of
memory from SCP is quite time consuming so functions are added that
zeros out the DDR memory from application processor which is
much faster compared to SCP. BL33 binary cannot be copied to DDR memory
before enabling ECC so this is also done by TF-A from IOFPGA-DDR3
memory to main DDR4 memory after ECC is enabled.

Original PLAT_PHY_ADDR_SPACE_SIZE was limited to 36-bits with which
the entire DDR space cannot be accessed as DRAM2 starts in base
0x8080000000. So these macros are redefined for all ARM platforms.

Change-Id: If09524fb65b421b7a368b1b9fc52c49f2ddb7846
Signed-off-by: Manoj Kumar <manoj.kumar3@arm.com>
5 years agoMerge changes from topic "pull-out-drivers" into integration
Paul Beesley [Wed, 26 Jun 2019 12:08:19 +0000 (12:08 +0000)]
Merge changes from topic "pull-out-drivers" into integration

* changes:
  intel: Add ncore ccu driver
  intel: Fix watchdog driver structure
  intel: Fix qspi driver write config
  intel: Pull out common drivers into platform common

5 years agoMerge "rcar_gen3: drivers: pfc: E3: Replace REVERCED with REVERSED" into integration
Paul Beesley [Wed, 26 Jun 2019 11:21:51 +0000 (11:21 +0000)]
Merge "rcar_gen3: drivers: pfc: E3: Replace REVERCED with REVERSED" into integration

5 years agointel: Add ncore ccu driver
Hadi Asyrafi [Mon, 17 Jun 2019 04:30:22 +0000 (12:30 +0800)]
intel: Add ncore ccu driver

Signed-off-by: Hadi Asyrafi <muhammad.hadi.asyrafi.abdul.halim@intel.com>
Change-Id: I0544315986ee28b23157fdfec3fe5aebae6b860f

5 years agointel: Fix watchdog driver structure
Hadi Asyrafi [Mon, 17 Jun 2019 04:02:18 +0000 (12:02 +0800)]
intel: Fix watchdog driver structure

Signed-off-by: Hadi Asyrafi <muhammad.hadi.asyrafi.abdul.halim@intel.com>
Change-Id: I0ffccca7ea83bff35c9f149d7054cd610a59ec01

5 years agointel: Fix qspi driver write config
Hadi Asyrafi [Mon, 17 Jun 2019 03:48:58 +0000 (11:48 +0800)]
intel: Fix qspi driver write config

Signed-off-by: Hadi Asyrafi <muhammad.hadi.asyrafi.abdul.halim@intel.com>
Change-Id: I5241ed97697b0280b590b47b9173d102d23f305a

5 years agointel: Pull out common drivers into platform common
Hadi Asyrafi [Wed, 12 Jun 2019 03:24:12 +0000 (11:24 +0800)]
intel: Pull out common drivers into platform common

Signed-off-by: Hadi Asyrafi <muhammad.hadi.asyrafi.abdul.halim@intel.com>
Change-Id: Ib79e2c6fe6e66dec5004701133ad6a5f4c78f2fa

5 years agoConsole: removed legacy console API
Ambroise Vincent [Wed, 27 Mar 2019 10:22:10 +0000 (10:22 +0000)]
Console: removed legacy console API

This interface has been deprecated in favour of MULTI_CONSOLE_API.

Change-Id: I6170c1c8c74a890e5bd6d05396743fe62024a08a
Signed-off-by: Ambroise Vincent <ambroise.vincent@arm.com>
5 years agorcar_gen3: drivers: pfc: E3: Replace REVERCED with REVERSED
Marek Vasut [Tue, 25 Jun 2019 15:57:22 +0000 (17:57 +0200)]
rcar_gen3: drivers: pfc: E3: Replace REVERCED with REVERSED

Fix a typo, no functional change.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Change-Id: Id6abb4c192729f55b3500505860c7f7718944c62

5 years agoMerge changes Ie594b535,Ifa444dd5,Ie93e7fcc,I302cff20,I0f6c1cad, ... into integration
Paul Beesley [Tue, 25 Jun 2019 13:49:15 +0000 (13:49 +0000)]
Merge changes Ie594b535,Ifa444dd5,Ie93e7fcc,I302cff20,I0f6c1cad, ... into integration

* changes:
  rcar_gen3: drivers: pfc: Move PFC drivers out of staging
  rcar_gen3: drivers: pfc: Checkpatch cleanup
  rcar_gen3: drivers: pfc: V3M: Fix camel case
  rcar_gen3: drivers: pfc: V3M: Drop forward declarations
  rcar_gen3: drivers: pfc: V3M: Switch to BIT() macro
  rcar_gen3: drivers: pfc: V3M: Checkpatch cleanup
  rcar_gen3: drivers: pfc: V3M: Switch to common register header file
  rcar_gen3: drivers: pfc: E3: Drop pfc_reg_write() forward declaration
  rcar_gen3: drivers: pfc: E3: Switch to BIT() macro
  rcar_gen3: drivers: pfc: E3: Checkpatch cleanup
  rcar_gen3: drivers: pfc: E3: Switch to common register header file
  rcar_gen3: drivers: pfc: D3: Switch to BIT() macro
  rcar_gen3: drivers: pfc: D3: Drop unused macros
  rcar_gen3: drivers: pfc: D3: Checkpatch cleanup
  rcar_gen3: drivers: pfc: D3: Switch to common register header file
  rcar_gen3: drivers: pfc: M3N: Drop forward declarations
  rcar_gen3: drivers: pfc: M3N: Switch to BIT() macro
  rcar_gen3: drivers: pfc: M3N: Checkpatch cleanup
  rcar_gen3: drivers: pfc: M3N: Switch to common register header file
  rcar_gen3: drivers: pfc: M3W: Fix camel case
  rcar_gen3: drivers: pfc: M3W: Drop forward declarations
  rcar_gen3: drivers: pfc: M3W: Switch to BIT() macro
  rcar_gen3: drivers: pfc: M3W: Checkpatch cleanup
  rcar_gen3: drivers: pfc: M3W: Switch to common register header file
  rcar_gen3: drivers: pfc: H3: Drop pfc_reg_write() forward declaration
  rcar_gen3: drivers: pfc: H3: Switch to BIT() macro
  rcar_gen3: drivers: pfc: H3: Drop unused macros
  rcar_gen3: drivers: pfc: H3: Checkpatch cleanup
  rcar_gen3: drivers: pfc: H3: Switch to common register header file
  rcar_gen3: drivers: pfc: Introduce common register header file
  rcar_gen3: drivers: pfc: D3: Drop unused M3W check

5 years agoMerge "doc: Fix typo in file interrupt-framework-design.rst" into integration
John Tsichritzis [Tue, 25 Jun 2019 11:33:52 +0000 (11:33 +0000)]
Merge "doc: Fix typo in file interrupt-framework-design.rst" into integration

5 years agoMerge "Fix links in documentation" into integration
John Tsichritzis [Tue, 25 Jun 2019 09:52:16 +0000 (09:52 +0000)]
Merge "Fix links in documentation" into integration

5 years agoFix links in documentation
John Tsichritzis [Mon, 24 Jun 2019 12:22:30 +0000 (13:22 +0100)]
Fix links in documentation

Change-Id: Ifef4d634b4a34d23f42f61df5e326a1cc05d3844
Signed-off-by: John Tsichritzis <john.tsichritzis@arm.com>
5 years agorcar_gen3: drivers: pfc: Move PFC drivers out of staging
Marek Vasut [Mon, 17 Jun 2019 17:29:03 +0000 (19:29 +0200)]
rcar_gen3: drivers: pfc: Move PFC drivers out of staging

Now that PFC drivers are cleaned up , move them out of staging.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Change-Id: Ie594b53558c2bfb8e5d88e5b0354752c17a2487e

5 years agorcar_gen3: drivers: pfc: Checkpatch cleanup
Marek Vasut [Mon, 17 Jun 2019 17:28:12 +0000 (19:28 +0200)]
rcar_gen3: drivers: pfc: Checkpatch cleanup

Checkpatch cleanups of the PFC common init code macros.
No functional change.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Change-Id: Ifa444dd506387dba92b550729e56598198faeb49

5 years agorcar_gen3: drivers: pfc: V3M: Fix camel case
Marek Vasut [Mon, 17 Jun 2019 17:20:36 +0000 (19:20 +0200)]
rcar_gen3: drivers: pfc: V3M: Fix camel case

Replace function name with non-camel-case one. No functional change.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Change-Id: Ie93e7fccdc81a3ffa5c371d49846fcf6c840f145

5 years agorcar_gen3: drivers: pfc: V3M: Drop forward declarations
Marek Vasut [Mon, 17 Jun 2019 17:20:22 +0000 (19:20 +0200)]
rcar_gen3: drivers: pfc: V3M: Drop forward declarations

There's no point in having forward declaration just before the function
itself, drop it. No functional change.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Change-Id: I302cff2014bb6e513b6fb48fcf6df7ade684039e

5 years agorcar_gen3: drivers: pfc: V3M: Switch to BIT() macro
Marek Vasut [Mon, 17 Jun 2019 17:16:18 +0000 (19:16 +0200)]
rcar_gen3: drivers: pfc: V3M: Switch to BIT() macro

Utilise existing BIT() macro. No functional change.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Change-Id: I0f6c1cadf51cfe49322ec5408e6661287747e0ae

5 years agorcar_gen3: drivers: pfc: V3M: Checkpatch cleanup
Marek Vasut [Mon, 17 Jun 2019 17:15:33 +0000 (19:15 +0200)]
rcar_gen3: drivers: pfc: V3M: Checkpatch cleanup

Checkpatch cleanups of the PFC init code and remaining SoC specific macros.
No functional change.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Change-Id: I3a9527db01afa909f61efd9556cc291e254a5e33

5 years agorcar_gen3: drivers: pfc: V3M: Switch to common register header file
Marek Vasut [Mon, 17 Jun 2019 17:10:05 +0000 (19:10 +0200)]
rcar_gen3: drivers: pfc: V3M: Switch to common register header file

Drop local copy of register macros and switch to common header.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Change-Id: I9d14180a7ae63a97d4bd1c87e717db71a852525e

5 years agorcar_gen3: drivers: pfc: E3: Drop pfc_reg_write() forward declaration
Marek Vasut [Mon, 17 Jun 2019 16:46:03 +0000 (18:46 +0200)]
rcar_gen3: drivers: pfc: E3: Drop pfc_reg_write() forward declaration

There's no point in having forward declaration just before the function
itself, drop it. No functional change.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Change-Id: I3cf5bbc388431144c8bbc53ae9f9338276674eee

5 years agorcar_gen3: drivers: pfc: E3: Switch to BIT() macro
Marek Vasut [Mon, 17 Jun 2019 16:44:39 +0000 (18:44 +0200)]
rcar_gen3: drivers: pfc: E3: Switch to BIT() macro

Utilise existing BIT() macro. No functional change.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Change-Id: Ibf5f242cad70cdd51ca6415b1c7c56b35317ea52

5 years agorcar_gen3: drivers: pfc: E3: Checkpatch cleanup
Marek Vasut [Mon, 17 Jun 2019 16:44:23 +0000 (18:44 +0200)]
rcar_gen3: drivers: pfc: E3: Checkpatch cleanup

Checkpatch cleanups of the PFC init code and remaining SoC specific macros.
No functional change.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Change-Id: I6b026f5b333ee8008510604b9f51a0aa8e60b6fc

5 years agorcar_gen3: drivers: pfc: E3: Switch to common register header file
Marek Vasut [Mon, 17 Jun 2019 16:29:13 +0000 (18:29 +0200)]
rcar_gen3: drivers: pfc: E3: Switch to common register header file

Drop local copy of register macros and switch to common header.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Change-Id: Ic41a5a01e8d803e116bf02d66735ede6f47e343a

5 years agorcar_gen3: drivers: pfc: D3: Switch to BIT() macro
Marek Vasut [Mon, 17 Jun 2019 16:42:41 +0000 (18:42 +0200)]
rcar_gen3: drivers: pfc: D3: Switch to BIT() macro

Utilise existing BIT() macro. No functional change.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Change-Id: I1ff9fe8fb2f1644e4ee3b877ed5979cdf99d3d85

5 years agorcar_gen3: drivers: pfc: D3: Drop unused macros
Marek Vasut [Mon, 17 Jun 2019 16:32:49 +0000 (18:32 +0200)]
rcar_gen3: drivers: pfc: D3: Drop unused macros

Remove unused and irrelevant macros. No functional change.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Change-Id: Idcc34db77cb04db885ae5532689c83c0e8ddfd0b

5 years agorcar_gen3: drivers: pfc: D3: Checkpatch cleanup
Marek Vasut [Mon, 17 Jun 2019 16:31:12 +0000 (18:31 +0200)]
rcar_gen3: drivers: pfc: D3: Checkpatch cleanup

Checkpatch cleanups of the PFC init code and remaining SoC specific macros.
No functional change.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Change-Id: I5bbb585c3762374bb713d4b9fe25495658d89e65

5 years agorcar_gen3: drivers: pfc: D3: Switch to common register header file
Marek Vasut [Mon, 17 Jun 2019 16:19:09 +0000 (18:19 +0200)]
rcar_gen3: drivers: pfc: D3: Switch to common register header file

Drop local copy of register macros and switch to common header.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Change-Id: I26cd58706d7fc9fc92de280bfd77ae162924533d

5 years agorcar_gen3: drivers: pfc: M3N: Drop forward declarations
Marek Vasut [Mon, 17 Jun 2019 17:05:51 +0000 (19:05 +0200)]
rcar_gen3: drivers: pfc: M3N: Drop forward declarations

There's no point in having forward declaration just before the function
itself, drop it. No functional change.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Change-Id: I374c4e90729cd13aa4c5878bb3d0917071fa19f1

5 years agorcar_gen3: drivers: pfc: M3N: Switch to BIT() macro
Marek Vasut [Mon, 17 Jun 2019 17:05:37 +0000 (19:05 +0200)]
rcar_gen3: drivers: pfc: M3N: Switch to BIT() macro

Utilise existing BIT() macro. No functional change.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Change-Id: I4cd541f6485a454bd32bd34a3c95d50fd183052f

5 years agorcar_gen3: drivers: pfc: M3N: Checkpatch cleanup
Marek Vasut [Mon, 17 Jun 2019 17:05:26 +0000 (19:05 +0200)]
rcar_gen3: drivers: pfc: M3N: Checkpatch cleanup

Checkpatch cleanups of the PFC init code and remaining SoC specific macros.
No functional change.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Change-Id: Iea1f0625ecc461168342e591e30947b543501bac

5 years agorcar_gen3: drivers: pfc: M3N: Switch to common register header file
Marek Vasut [Mon, 17 Jun 2019 17:04:36 +0000 (19:04 +0200)]
rcar_gen3: drivers: pfc: M3N: Switch to common register header file

Drop local copy of register macros and switch to common header.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Change-Id: If39ba51685ef0bb993010658d98be6981253dce0

5 years agorcar_gen3: drivers: pfc: M3W: Fix camel case
Marek Vasut [Mon, 17 Jun 2019 17:02:58 +0000 (19:02 +0200)]
rcar_gen3: drivers: pfc: M3W: Fix camel case

Replace function name with non-camel-case one. No functional change.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Change-Id: I98317def6640aebe559aa2edc4304029acf80505

5 years agorcar_gen3: drivers: pfc: M3W: Drop forward declarations
Marek Vasut [Mon, 17 Jun 2019 17:01:39 +0000 (19:01 +0200)]
rcar_gen3: drivers: pfc: M3W: Drop forward declarations

There's no point in having forward declaration just before the function
itself, drop it. No functional change.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Change-Id: I936232205adbfc834fffdfa015ec5c5d4e3480ea

5 years agorcar_gen3: drivers: pfc: M3W: Switch to BIT() macro
Marek Vasut [Mon, 17 Jun 2019 16:58:23 +0000 (18:58 +0200)]
rcar_gen3: drivers: pfc: M3W: Switch to BIT() macro

Utilise existing BIT() macro. No functional change.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Change-Id: Idea2afc11fb5dcfc39fb319b703ee8ee9dcc3ea6

5 years agorcar_gen3: drivers: pfc: M3W: Checkpatch cleanup
Marek Vasut [Mon, 17 Jun 2019 16:57:37 +0000 (18:57 +0200)]
rcar_gen3: drivers: pfc: M3W: Checkpatch cleanup

Checkpatch cleanups of the PFC init code and remaining SoC specific macros.
No functional change.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Change-Id: I6d48af4b1d56ef487744f4a58126140bbad28132

5 years agorcar_gen3: drivers: pfc: M3W: Switch to common register header file
Marek Vasut [Mon, 17 Jun 2019 16:57:11 +0000 (18:57 +0200)]
rcar_gen3: drivers: pfc: M3W: Switch to common register header file

Drop local copy of register macros and switch to common header.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Change-Id: I8374340961d5465698183fdbc30143a70ebcbde4

5 years agorcar_gen3: drivers: pfc: H3: Drop pfc_reg_write() forward declaration
Marek Vasut [Mon, 17 Jun 2019 16:51:40 +0000 (18:51 +0200)]
rcar_gen3: drivers: pfc: H3: Drop pfc_reg_write() forward declaration

There's no point in having forward declaration just before the function
itself, drop it. No functional change.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Change-Id: I56125389fa6fe3ae169cacdb0e4b60376f0a6489

5 years agorcar_gen3: drivers: pfc: H3: Switch to BIT() macro
Marek Vasut [Mon, 17 Jun 2019 16:52:06 +0000 (18:52 +0200)]
rcar_gen3: drivers: pfc: H3: Switch to BIT() macro

Utilise existing BIT() macro. No functional change.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Change-Id: I339dbd8c8579dffc9bf454d34e3ba9f142a07fa7

5 years agodoc: Fix typo in file interrupt-framework-design.rst
Peng Donglin [Sat, 22 Jun 2019 04:23:41 +0000 (12:23 +0800)]
doc: Fix typo in file interrupt-framework-design.rst

Signed-off-by: Peng Donglin <dolinux.peng@gmail.com>
Change-Id: I459e7d056735222f6f34e275dbdaf9a389d193fc

5 years agorcar_gen3: drivers: pfc: H3: Drop unused macros
Marek Vasut [Mon, 17 Jun 2019 16:51:29 +0000 (18:51 +0200)]
rcar_gen3: drivers: pfc: H3: Drop unused macros

Remove unused and irrelevant macros. No functional change.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Change-Id: I0f251cd838f1d5879ccfd0738dc8ead355b3b74f

5 years agorcar_gen3: drivers: pfc: H3: Checkpatch cleanup
Marek Vasut [Mon, 17 Jun 2019 16:51:19 +0000 (18:51 +0200)]
rcar_gen3: drivers: pfc: H3: Checkpatch cleanup

Checkpatch cleanups of the PFC init code and remaining SoC specific macros.
No functional change.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Change-Id: I31293e70a362f713261ac588f563c687449c5f6c

5 years agorcar_gen3: drivers: pfc: H3: Switch to common register header file
Marek Vasut [Mon, 17 Jun 2019 16:49:35 +0000 (18:49 +0200)]
rcar_gen3: drivers: pfc: H3: Switch to common register header file

Drop local copy of register macros and switch to common header.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Change-Id: I85d6855f329771f698d84348ce11ce31548512db

5 years agorcar_gen3: drivers: pfc: Introduce common register header file
Marek Vasut [Mon, 17 Jun 2019 16:18:56 +0000 (18:18 +0200)]
rcar_gen3: drivers: pfc: Introduce common register header file

Introduce header file which contains the shared registers and bits
between the different SoCs.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Change-Id: I5f41d39347b9d57e3efdea24ae61a16d5c7efb80

5 years agorcar_gen3: drivers: pfc: D3: Drop unused M3W check
Marek Vasut [Mon, 17 Jun 2019 16:27:07 +0000 (18:27 +0200)]
rcar_gen3: drivers: pfc: D3: Drop unused M3W check

Drop check for SoC being M3W ES1.0 , this check is clearly bogus,
as this code can never be executed on M3W ES 1.0.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Change-Id: If6087f1c217393dc65d20f6591eca40188563710

5 years agoMerge "libc: fix memchr implementation" into integration
John Tsichritzis [Thu, 20 Jun 2019 12:15:31 +0000 (12:15 +0000)]
Merge "libc: fix memchr implementation" into integration

5 years agoMerge "doc: Isolate security-related build options" into integration
John Tsichritzis [Thu, 20 Jun 2019 09:54:53 +0000 (09:54 +0000)]
Merge "doc: Isolate security-related build options" into integration

5 years agoTegra: Fix typo in comment
Andreas Färber [Sun, 16 Jun 2019 22:06:43 +0000 (00:06 +0200)]
Tegra: Fix typo in comment

initilise -> initialise

Signed-off-by: Andreas Färber <afaerber@suse.de>
Change-Id: Ib129e6bd48623b6565b669bc674208893a2f7668

5 years agoTegra: Extend NS address check error output
Andreas Färber [Sun, 16 Jun 2019 21:32:20 +0000 (23:32 +0200)]
Tegra: Extend NS address check error output

Let bl31_check_ns_address() print the address it doesn't like.

Signed-off-by: Andreas Färber <afaerber@suse.de>
Change-Id: I29a4fb33c24e9f7464ccd2ea44a4608f5cfe5be6

5 years agolibc: fix memchr implementation
Ambroise Vincent [Fri, 7 Jun 2019 10:19:45 +0000 (11:19 +0100)]
libc: fix memchr implementation

The previous implementation could behave incorrectly because of the sign
extension of the char when compared to the int.

Change-Id: I397838b0ec87a6f1af6972d022a8c19a5184b447
Signed-off-by: Ambroise Vincent <ambroise.vincent@arm.com>
5 years agoMerge "bl2_el3: clean up linker script" into integration
Soby Mathew [Thu, 20 Jun 2019 07:42:23 +0000 (07:42 +0000)]
Merge "bl2_el3: clean up linker script" into integration

5 years agoMerge changes from topic "yg/clk_syscfg_dt" into integration
John Tsichritzis [Wed, 19 Jun 2019 15:06:00 +0000 (15:06 +0000)]
Merge changes from topic "yg/clk_syscfg_dt" into integration

* changes:
  fdts: stm32mp1: realign device tree files with internal devs
  stm32mp1: increase device tree size to 20kB
  stm32mp1: make dt_get_stdout_node_offset() static
  stm32mp1: use unsigned values for SDMMC defines
  stm32mp1: remove useless LIBFDT_SRCS from PLAT_BL_COMMON_SOURCES
  stm32mp1: update doc for U-Boot compilation
  stm32mp1: add general SYSCFG management
  stm32mp1: move stm32_get_gpio_bank_clock() to private file
  clk: stm32mp1: correctly handle Clock Spreading Generator
  clk: stm32mp1: use defines for mask values in stm32mp1_clk_sel array
  clk: stm32mp1: move oscillator functions to generic file
  arch: add some defines for generic timer registers

5 years agoMerge changes If61ab215,I3e8b0251,I1757eee9,I81b48475,I46b445a7, ... into integration
John Tsichritzis [Mon, 17 Jun 2019 13:40:05 +0000 (13:40 +0000)]
Merge changes If61ab215,I3e8b0251,I1757eee9,I81b48475,I46b445a7, ... into integration

* changes:
  rcar_gen3: drivers: qos: Move QoS drivers out of staging
  rcar_gen3: drivers: qos: V3M: Configure DBSC QoS from a table
  rcar_gen3: drivers: qos: E3: Configure DBSC QoS from a table
  rcar_gen3: drivers: qos: D3: Configure DBSC QoS from a table
  rcar_gen3: drivers: qos: M3N: Configure DBSC QoS from a table
  rcar_gen3: drivers: qos: M3W: Configure DBSC QoS from a table
  rcar_gen3: drivers: qos: H3: Configure DBSC QoS from a table
  rcar_gen3: drivers: qos: Add function to configure DBSC QoS settings from a table
  rcar_gen3: drivers: qos: Fix checkpatch issues
  rcar_gen3: drivers: qos: V3M: Drop useless comments
  rcar_gen3: drivers: qos: V3M: Convert mstat table to uint64_t
  rcar_gen3: drivers: qos: V3M: Factor out mstat fix into separate file
  rcar_gen3: drivers: qos: V3M: Use common register definition
  rcar_gen3: drivers: qos: E3: Drop extra level of nesting
  rcar_gen3: drivers: qos: E3: Use common register definition
  rcar_gen3: drivers: qos: D3: Replace ad-hoc register addresses with macros
  rcar_gen3: drivers: qos: D3: Drop MD pin check
  rcar_gen3: drivers: qos: D3: Make DBSC settings local to dbsc_setting()
  rcar_gen3: drivers: qos: D3: Drop useless comments
  rcar_gen3: drivers: qos: D3: Convert mstat table to uint64_t
  rcar_gen3: drivers: qos: D3: Factor out mstat fix into separate file
  rcar_gen3: drivers: qos: D3: Use common register definition
  rcar_gen3: drivers: qos: M3N: Fix checkpatch issues
  rcar_gen3: drivers: qos: M3N: Drop MD pin check
  rcar_gen3: drivers: qos: M3N: Drop useless comments
  rcar_gen3: drivers: qos: M3N: Drop extra level of nesting
  rcar_gen3: drivers: qos: M3N: Use common register definition
  rcar_gen3: drivers: qos: M3W: Fix checkpatch issues
  rcar_gen3: drivers: qos: M3W: Drop MD pin check
  rcar_gen3: drivers: qos: M3W: Drop useless comments
  rcar_gen3: drivers: qos: M3W: Drop extra level of nesting
  rcar_gen3: drivers: qos: M3W: Convert mstat table to uint64_t
  rcar_gen3: drivers: qos: M3W: Factor out mstat fix into separate file
  rcar_gen3: drivers: qos: M3W: Use common register definition
  rcar_gen3: drivers: qos: H3: Fix checkpatch issues
  rcar_gen3: drivers: qos: H3: Drop MD pin check
  rcar_gen3: drivers: qos: H3: Drop useless comments
  rcar_gen3: drivers: qos: H3: Drop extra level of nesting
  rcar_gen3: drivers: qos: H3: Convert mstat table to uint64_t
  rcar_gen3: drivers: qos: H3: Factor out mstat fix into separate file
  rcar_gen3: drivers: qos: H3: Use common register definition
  rcar_gen3: console: Convert to multi-console API

5 years agorcar_gen3: drivers: qos: Move QoS drivers out of staging
Marek Vasut [Sat, 15 Jun 2019 13:01:04 +0000 (15:01 +0200)]
rcar_gen3: drivers: qos: Move QoS drivers out of staging

Now that QoS drivers are cleaned up , move them out of staging.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Change-Id: If61ab2157c30b8f5a6b91d2c56ddbb9098ef99e8

5 years agorcar_gen3: drivers: qos: V3M: Configure DBSC QoS from a table
Marek Vasut [Fri, 14 Jun 2019 14:10:09 +0000 (16:10 +0200)]
rcar_gen3: drivers: qos: V3M: Configure DBSC QoS from a table

Convert the DBSC QoS setting function to a simple table of register-value
pairs and pass it to common rcar_qos_dbsc_setting() to write those values
to matching registers.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Change-Id: I3e8b0251099b57581ebdcfce5670bff5579dc505

5 years agorcar_gen3: drivers: qos: E3: Configure DBSC QoS from a table
Marek Vasut [Fri, 14 Jun 2019 13:50:57 +0000 (15:50 +0200)]
rcar_gen3: drivers: qos: E3: Configure DBSC QoS from a table

Convert the DBSC QoS setting function to a simple table of register-value
pairs and pass it to common rcar_qos_dbsc_setting() to write those values
to matching registers.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Change-Id: I1757eee9a209c368d0e8fba9809e56b8090ee43f

5 years agorcar_gen3: drivers: qos: D3: Configure DBSC QoS from a table
Marek Vasut [Fri, 14 Jun 2019 13:46:08 +0000 (15:46 +0200)]
rcar_gen3: drivers: qos: D3: Configure DBSC QoS from a table

Convert the DBSC QoS setting function to a simple table of register-value
pairs and pass it to common rcar_qos_dbsc_setting() to write those values
to matching registers.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Change-Id: I81b48475114fc293766a6d7f2b46f8e913a51b06

5 years agorcar_gen3: drivers: qos: M3N: Configure DBSC QoS from a table
Marek Vasut [Fri, 14 Jun 2019 14:09:05 +0000 (16:09 +0200)]
rcar_gen3: drivers: qos: M3N: Configure DBSC QoS from a table

Convert the DBSC QoS setting function to a simple table of register-value
pairs and pass it to common rcar_qos_dbsc_setting() to write those values
to matching registers.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Change-Id: I46b445a77b39412e7a41ae0e0e087a409d0c22e3

5 years agorcar_gen3: drivers: qos: M3W: Configure DBSC QoS from a table
Marek Vasut [Fri, 14 Jun 2019 14:08:19 +0000 (16:08 +0200)]
rcar_gen3: drivers: qos: M3W: Configure DBSC QoS from a table

Convert the DBSC QoS setting function to a simple table of register-value
pairs and pass it to common rcar_qos_dbsc_setting() to write those values
to matching registers.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Change-Id: Ie2cbfdacf6d1c7eca4498ab7787b866a83660485

5 years agorcar_gen3: drivers: qos: H3: Configure DBSC QoS from a table
Marek Vasut [Fri, 14 Jun 2019 13:52:45 +0000 (15:52 +0200)]
rcar_gen3: drivers: qos: H3: Configure DBSC QoS from a table

Convert the DBSC QoS setting function to a simple table of register-value
pairs and pass it to common rcar_qos_dbsc_setting() to write those values
to matching registers.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Change-Id: I62b133ea4f4129a641b779a782938976ad52fbfe

5 years agorcar_gen3: drivers: qos: Add function to configure DBSC QoS settings from a table
Marek Vasut [Fri, 14 Jun 2019 13:55:04 +0000 (15:55 +0200)]
rcar_gen3: drivers: qos: Add function to configure DBSC QoS settings from a table

The DBSC QoS settings can be programmed by iterating over a table with
register-value pairs and writing those to the registers, add function
to do just that. Subsequent patches will convert the DBSC QoS setting
functions for each SoC to this new function.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Change-Id: I949c46a0f032661a58000cb5f7829349e973438c

5 years agorcar_gen3: drivers: qos: Fix checkpatch issues
Marek Vasut [Fri, 14 Jun 2019 00:27:52 +0000 (02:27 +0200)]
rcar_gen3: drivers: qos: Fix checkpatch issues

Fix checkpatch issues, clean up macro indentation. No functional change.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Change-Id: Id0f1e322b44562f9863e885583d89fbf47cab91b

5 years agorcar_gen3: drivers: qos: V3M: Drop useless comments
Marek Vasut [Fri, 14 Jun 2019 00:10:17 +0000 (02:10 +0200)]
rcar_gen3: drivers: qos: V3M: Drop useless comments

Drop useless comments in dbsc_setting(). No functional change.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Change-Id: I8a113d253f39e5b6a61e16b1740f9a66b2540753

5 years agorcar_gen3: drivers: qos: V3M: Convert mstat table to uint64_t
Marek Vasut [Fri, 14 Jun 2019 00:08:45 +0000 (02:08 +0200)]
rcar_gen3: drivers: qos: V3M: Convert mstat table to uint64_t

Convert the mstat table from a complex structure to simple sequence
of uint64_t values, since the structure described just that and the
loop can operate over incrementing sequence of addresses just fine.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Change-Id: If1917605e5540a38cbd763c56fc1e677573e7066

5 years agorcar_gen3: drivers: qos: V3M: Factor out mstat fix into separate file
Marek Vasut [Fri, 14 Jun 2019 00:07:18 +0000 (02:07 +0200)]
rcar_gen3: drivers: qos: V3M: Factor out mstat fix into separate file

Pull out the mstat fix array into separate file, to align the structure
of the driver with the other SoCs. No functional change.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Change-Id: Ifb6644063d8f463e2eb20bdadc5b69ab74ac591d

5 years agorcar_gen3: drivers: qos: V3M: Use common register definition
Marek Vasut [Fri, 14 Jun 2019 00:05:43 +0000 (02:05 +0200)]
rcar_gen3: drivers: qos: V3M: Use common register definition

Use common qos_regs.h instead of a local copy in the V3M QoS init.
Fill missing registers into qos_regs.h . No functional change.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Change-Id: I9aabff54abc05781ef606b0d09e4e9fbf7ec3968

5 years agorcar_gen3: drivers: qos: E3: Drop extra level of nesting
Marek Vasut [Thu, 13 Jun 2019 23:04:07 +0000 (01:04 +0200)]
rcar_gen3: drivers: qos: E3: Drop extra level of nesting

The extra level of nesting is not necessary, drop it.
No functional change.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Change-Id: I49df37734cd6016373a5850d3b9cf4a6569c36d6

5 years agorcar_gen3: drivers: qos: E3: Use common register definition
Marek Vasut [Fri, 14 Jun 2019 00:23:04 +0000 (02:23 +0200)]
rcar_gen3: drivers: qos: E3: Use common register definition

Use common qos_regs.h instead of a local copy in the E3 QoS init.
No functional change.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Change-Id: Ia4336d4b6173e1dbb671a003d904dbc5dc0c196d

5 years agorcar_gen3: drivers: qos: D3: Replace ad-hoc register addresses with macros
Marek Vasut [Sat, 15 Jun 2019 12:55:29 +0000 (14:55 +0200)]
rcar_gen3: drivers: qos: D3: Replace ad-hoc register addresses with macros

Replace the remaining ad-hoc register addresses with proper macros.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Change-Id: If125f0c8ef77ed280107324edaa05f21979a2c27

5 years agorcar_gen3: drivers: qos: D3: Drop MD pin check
Marek Vasut [Thu, 13 Jun 2019 22:54:01 +0000 (00:54 +0200)]
rcar_gen3: drivers: qos: D3: Drop MD pin check

The DBSC_SCFCTST2 is always written with the same value, no matter
what the MD pin value is, drop the entire check and just write the
register with the one and only possible value.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Change-Id: I44d48ad59293562539a0c1d8ffd66333714e041e

5 years agorcar_gen3: drivers: qos: D3: Make DBSC settings local to dbsc_setting()
Marek Vasut [Thu, 13 Jun 2019 22:51:47 +0000 (00:51 +0200)]
rcar_gen3: drivers: qos: D3: Make DBSC settings local to dbsc_setting()

Move the DBSC write enabling and disabling to dbsc_setting() function,
to make it local, instead of having it all over the code.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Change-Id: If8e5657c3230b5d82b551cb89b11c4d13a2d096b

5 years agorcar_gen3: drivers: qos: D3: Drop useless comments
Marek Vasut [Thu, 13 Jun 2019 22:50:28 +0000 (00:50 +0200)]
rcar_gen3: drivers: qos: D3: Drop useless comments

Drop useless comments in dbsc_setting(). No functional change.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Change-Id: If54e770ce81c9a6610cd89c3d5f01ea9b96af521

5 years agorcar_gen3: drivers: qos: D3: Convert mstat table to uint64_t
Marek Vasut [Thu, 13 Jun 2019 23:01:34 +0000 (01:01 +0200)]
rcar_gen3: drivers: qos: D3: Convert mstat table to uint64_t

Convert the mstat table from a complex structure to simple sequence
of uint64_t values, since the structure described just that and the
loop can operate over incrementing sequence of addresses just fine.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Change-Id: I5f797024c76f2c18b160ac50ede9e1eac24e6652

5 years agorcar_gen3: drivers: qos: D3: Factor out mstat fix into separate file
Marek Vasut [Thu, 13 Jun 2019 22:47:30 +0000 (00:47 +0200)]
rcar_gen3: drivers: qos: D3: Factor out mstat fix into separate file

Pull out the mstat fix array into separate file, to align the structure
of the driver with the other SoCs. No functional change.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Change-Id: I2559c5ceb06505361d026ebc1b762bebe17d920b

5 years agorcar_gen3: drivers: qos: D3: Use common register definition
Marek Vasut [Thu, 13 Jun 2019 22:42:59 +0000 (00:42 +0200)]
rcar_gen3: drivers: qos: D3: Use common register definition

Use common qos_regs.h instead of a local copy in the D3 QoS init.
Fill missing registers into qos_regs.h . No functional change.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Change-Id: Ie22a81bf5cbf3f8970c6e3fbb43ef52c26fb7168

5 years agorcar_gen3: drivers: qos: M3N: Fix checkpatch issues
Marek Vasut [Fri, 14 Jun 2019 00:21:54 +0000 (02:21 +0200)]
rcar_gen3: drivers: qos: M3N: Fix checkpatch issues

Fix checkpatch issues, clean up macro indentation. No functional change.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Change-Id: I08c033b317685bef7537eb49de160e827b7791ad

5 years agorcar_gen3: drivers: qos: M3N: Drop MD pin check
Marek Vasut [Thu, 13 Jun 2019 23:58:56 +0000 (01:58 +0200)]
rcar_gen3: drivers: qos: M3N: Drop MD pin check

The DBSC_SCFCTST2 is always written with the same value, no matter
what the MD pin value is, drop the entire check and just write the
register with the one and only possible value.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Change-Id: Icd3e12f814d4fdcddaec2d1415f0bbf92169284b

5 years agorcar_gen3: drivers: qos: M3N: Drop useless comments
Marek Vasut [Thu, 13 Jun 2019 23:58:27 +0000 (01:58 +0200)]
rcar_gen3: drivers: qos: M3N: Drop useless comments

Drop useless comments in dbsc_setting(). No functional change.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Change-Id: I6fe03e16c63278aa6fc1bbcc72c07a450d3b7638

5 years agorcar_gen3: drivers: qos: M3N: Drop extra level of nesting
Marek Vasut [Thu, 13 Jun 2019 23:57:30 +0000 (01:57 +0200)]
rcar_gen3: drivers: qos: M3N: Drop extra level of nesting

The extra level of nesting is not necessary, drop it.
No functional change.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Change-Id: I6d268eae8df5794511d5211e5a59a36291adab3e

5 years agorcar_gen3: drivers: qos: M3N: Use common register definition
Marek Vasut [Fri, 14 Jun 2019 00:01:00 +0000 (02:01 +0200)]
rcar_gen3: drivers: qos: M3N: Use common register definition

Use common qos_regs.h instead of a local copy in the M3N QoS init.
No functional change.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Change-Id: I9670c9cdb320d6724175c22210d048af54490b47

5 years agorcar_gen3: drivers: qos: M3W: Fix checkpatch issues
Marek Vasut [Fri, 14 Jun 2019 00:21:45 +0000 (02:21 +0200)]
rcar_gen3: drivers: qos: M3W: Fix checkpatch issues

Fix checkpatch issues, clean up macro indentation. No functional change.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Change-Id: Ifd397962c40d174c3af31cb440241cc8bd9335d3

5 years agorcar_gen3: drivers: qos: M3W: Drop MD pin check
Marek Vasut [Thu, 13 Jun 2019 23:51:40 +0000 (01:51 +0200)]
rcar_gen3: drivers: qos: M3W: Drop MD pin check

The DBSC_SCFCTST2 is always written with the same value, no matter
what the MD pin value is, drop the entire check and just write the
register with the one and only possible value.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Change-Id: Idf26cf064e99e95f0140dd747183efe6a6d7f0bf

5 years agorcar_gen3: drivers: qos: M3W: Drop useless comments
Marek Vasut [Thu, 13 Jun 2019 23:50:16 +0000 (01:50 +0200)]
rcar_gen3: drivers: qos: M3W: Drop useless comments

Drop useless comments in dbsc_setting(). No functional change.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Change-Id: I4460c55bf58f33ca72c9bbad99a28b5e4ef7421e

5 years agorcar_gen3: drivers: qos: M3W: Drop extra level of nesting
Marek Vasut [Thu, 13 Jun 2019 23:39:27 +0000 (01:39 +0200)]
rcar_gen3: drivers: qos: M3W: Drop extra level of nesting

The extra level of nesting is not necessary, drop it.
No functional change.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Change-Id: I086ab1f457866f0e2c3ccd67609c0be35631f893

5 years agorcar_gen3: drivers: qos: M3W: Convert mstat table to uint64_t
Marek Vasut [Thu, 13 Jun 2019 23:47:00 +0000 (01:47 +0200)]
rcar_gen3: drivers: qos: M3W: Convert mstat table to uint64_t

Convert the mstat table from a complex structure to simple sequence
of uint64_t values, since the structure described just that and the
loop can operate over incrementing sequence of addresses just fine.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Change-Id: I41728b30087996edc9799f320bf6a3b4465538bd

5 years agorcar_gen3: drivers: qos: M3W: Factor out mstat fix into separate file
Marek Vasut [Thu, 13 Jun 2019 23:44:43 +0000 (01:44 +0200)]
rcar_gen3: drivers: qos: M3W: Factor out mstat fix into separate file

Pull out the mstat fix array into separate file, to align the structure
of the driver with the other SoCs. No functional change.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Change-Id: I21c18e80ab9225837e5553dadcf196605e878143

5 years agorcar_gen3: drivers: qos: M3W: Use common register definition
Marek Vasut [Thu, 13 Jun 2019 23:41:10 +0000 (01:41 +0200)]
rcar_gen3: drivers: qos: M3W: Use common register definition

Use common qos_regs.h instead of a local copy in the M3W QoS init.
Fill missing registers into qos_regs.h . No functional change.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Change-Id: I91175c86cdb94b9271c880df2cb65949f15f1bad

5 years agofdts: stm32mp1: realign device tree files with internal devs
Yann Gautier [Tue, 4 Jun 2019 15:24:36 +0000 (17:24 +0200)]
fdts: stm32mp1: realign device tree files with internal devs

Update DDR parameters to version 1.45.
Remove useless sdmmc1_dir_pins_b node.
Add USART3 and UART7 nodes.
Correct a PMIC value for USB regulator.
Add TIMER12, TIMER15, CRYP, HASH and USBOTG_HS nodes.
Update DTSI file for SDMMC compatible, but overwrite it with the former
name.
Move BSEC board_id node to boards DTS files, as this OTP is specific to
STMicroelectronics boards.

Change-Id: If4d2fe090c6a8368afe8e21e5ac70579911d3939
Signed-off-by: Yann Gautier <yann.gautier@st.com>