~nemos-team/nemos/+git/u-boot-s32:upstream/bsp36.0-2022.04

Last commit made on 2023-03-08
Get this branch:
git clone -b upstream/bsp36.0-2022.04 https://git.launchpad.net/~nemos-team/nemos/+git/u-boot-s32
Members of NemOS Team can upload to this branch. Log in for directions.

Branch merges

Branch information

Name:
upstream/bsp36.0-2022.04
Repository:
lp:~nemos-team/nemos/+git/u-boot-s32

Recent commits

49493dc... by Ghennadi Procopciuc <email address hidden>

tools: dtb_node: Add parameters for each SIUL2 fixup

Issue: ALB-9758
Signed-off-by: Ghennadi Procopciuc <email address hidden>

eb8776b... by Ghennadi Procopciuc <email address hidden>

s32cc: Add config for GPIO SCMI fixup

S32CC_SCMI_GPIO_FIXUP switch will be use to control the dynamic
fixup needed to enable SCMI GPIO nodes from Linux device tree.

Issue: ALB-9758
Signed-off-by: Ghennadi Procopciuc <email address hidden>

8fdc882... by Andrei Stefanescu <email address hidden>

tools: add scmi_dtb_node_change.py

This script can is used to switch from the SIUL2 drivers to the SCMI
ones. This will take each property/child of a SIUL2 node in the dtb and
copy it to the respective SCMI node. After that, it will disable the
SIUL2 driver nodes.

Issue: ALB-9426
Issue: ALB-9556
Issue: ALB-9779
Signed-off-by: Andrei Stefanescu <email address hidden>

a5ed4c5... by Ciprian Costea <email address hidden>

s32cc: env: Enable boot to Linux prompt for all S32CC platforms

Issue: ALB-9779
Signed-off-by: Ciprian Costea <email address hidden>

a602ebf... by Ghennadi Procopciuc <email address hidden>

s32cc: fdt: Enable GPIO SCMI node if needed

Enables OS GPIO over SCMI node if this feature was used
for U-Boot too.

Issue: ALB-9555
Issue: ALB-9779
Signed-off-by: Ghennadi Procopciuc <email address hidden>
Signed-off-by: Ciprian Costea <email address hidden>

b0ca66a... by Ghennadi Procopciuc <email address hidden>

gpio: Add GPIO driver for SCMI agents

This change introduces a GPIO driver for SCMI agent devices. When the
SCMI agent and SCMI GPIO drivers are enabled, the SCMI agent binds a
GPIO device for each SCMI GPIO protocol device enabled in the FDT.

The SCMI GPIO driver is embedded upon CONFIG_SCMI_GPIO=y.

As part of the upgrade to U-Boot version 2022.04, the
open_drain API and ops were removed in upstream
(commit id: 'e3f3a121d8ebe'). Therefore, different from the
original commit, the 'scmi_gpio_set_open_drain' callback ops was removed.

Issue: ALB-9555
Issue: ALB-9779
Signed-off-by: Ghennadi Procopciuc <email address hidden>
Signed-off-by: Ciprian Costea <email address hidden>

4a593da... by Ghennadi Procopciuc <email address hidden>

pinctrl: Iterate through all 'gpio-ranges'

Some GPIO drivers might need multiple pin ranges attached to them.
'pinctrl_gpio_get_pinctrl_and_offset' function assumed that only one
range could be attached to a GPIO controller node which isn’t always the
case.

Issue: ALB-9555
Issue: ALB-9779
Signed-off-by: Ghennadi Procopciuc <email address hidden>

d6730c4... by Patrice Chotard <email address hidden>

gpio: Allow to print pin's label even for pin with GPIOF_FUNC function

Currently, if pin's function is GPIOF_FUNC, only "func" if displayed
without any other information. It would be interesting, if information is
available, to indicate which pinmuxing's name is used.

For example, for STM32 SoC's based platform, "gpio status" command
output :

   before
    Bank GPIOZ:
      GPIOZ0: unused : 0 [ ]
      GPIOZ1: unused : 0 [ ]
      GPIOZ2: unused : 0 [ ]
      GPIOZ3: unused : 0 [ ]
      GPIOZ4: func
      GPIOZ5: func
      GPIOZ6: unused : 0 [ ]
      GPIOZ7: unused : 0 [ ]
      GPIOZ8: unknown
      GPIOZ9: unknown
      GPIOZ10: unknown
      GPIOZ11: unknown
      GPIOZ12: unknown
      GPIOZ13: unknown
      GPIOZ14: unknown
      GPIOZ15: unknown

   After
    Bank GPIOZ:
      GPIOZ0: unused : 0 [ ]
      GPIOZ1: unused : 0 [ ]
      GPIOZ2: unused : 0 [ ]
      GPIOZ3: unused : 0 [ ]
      GPIOZ4: func i2c4-0
      GPIOZ5: func i2c4-0
      GPIOZ6: unused : 0 [ ]
      GPIOZ7: unused : 0 [ ]
      GPIOZ8: unknown
      GPIOZ9: unknown
      GPIOZ10: unknown
      GPIOZ11: unknown
      GPIOZ12: unknown
      GPIOZ13: unknown
      GPIOZ14: unknown
      GPIOZ15: unknown

This is a cherry-pick of:
commit d7124f0ba422 ("gpio: Allow to print pin's label even for pin with
       GPIOF_FUNC function")

Signed-off-by: Patrice Chotard <email address hidden>
Reviewed-by: Simon Glass <email address hidden>
Reviewed-by: Patrick Delaunay <email address hidden>

Issue: ALB-9555
Issue: ALB-9779
Signed-off-by: Ghennadi Procopciuc <email address hidden>

ec33c37... by Ghennadi Procopciuc <email address hidden>

Add s32g2xxaevb3 board

Issue: ALB-9666
Issue: ALB-9779
Signed-off-by: Ghennadi Procopciuc <email address hidden>

f7fc5b0... by Vlad Pelin <email address hidden>

hse: rename secboot options to generic hse

secboot names in files no longer makes sense,
rename them in more generic hse style

Issue:ALB-9547
Issue: ALB-9779
Signed-off-by: Vlad Pelin <email address hidden>