30 Dec, 2020

1 commit


16 Sep, 2020

1 commit

  • Add support for R-Car V3U (R8A779A0) SoC power areas and register
    access, because register specification differs from R-Car Gen2/3.

    Inspired by patches in the BSP by Tho Vu.

    Signed-off-by: Yoshihiro Shimoda
    Link: https://lore.kernel.org/r/1599810232-29035-5-git-send-email-yoshihiro.shimoda.uh@renesas.com
    Signed-off-by: Geert Uytterhoeven

    Yoshihiro Shimoda
     

10 Sep, 2020

4 commits


01 Sep, 2020

1 commit

  • Now, Renesas SoC drivers are under menu, but current descriptions are
    not aligned.
    This patch aligns them.

    - Emma Mobile EV2
    - RZ/A1H (R7S72100)
    ...
    - R-Car H2 (R8A77900)
    ...
    - Renesas R-Car H3 ES1.x SoC Platform
    ...
    - R-Car H2 System Controller support
    - R-Car M2-W/N System Controller support
    - R-Car V2H System Controller support
    - R-Car E2 System Controller support
    - R-Car H3 System Controller support
    - R-Car M3-W System Controller support
    - R-Car M3-W+ System Controller support
    - R-Car M3-N System Controller support

    + SoC Platform support for Emma Mobile EV2
    + SoC Platform support for RZ/A1H+
    ...
    + SoC Platform support for R-Car H2
    ...
    + SoC Platform support for R-Car H3 ES1.x
    ...
    + System Controller support for R-Car H2
    + System Controller support for R-Car M2-W/N
    + System Controller support for R-Car V2H
    + System Controller support for R-Car E2
    + System Controller support for R-Car H3
    + System Controller support for R-Car M3-W
    + System Controller support for R-Car M3-W+
    + System Controller support for R-Car M3-N

    Signed-off-by: Kuninori Morimoto
    Link: https://lore.kernel.org/r/87zh6kyedc.wl-kuninori.morimoto.gx@renesas.com
    Signed-off-by: Geert Uytterhoeven

    Kuninori Morimoto
     

25 Aug, 2020

1 commit

  • Renesas related SoC settings are located on TOP level menu,
    thus it is very verbose.
    This patch groups Renesas related settings into
    "Renesas SoC driver support" menu.

    And it aligns config menu names.

    Signed-off-by: Kuninori Morimoto
    Link: https://lore.kernel.org/r/87k0xxho7t.wl-kuninori.morimoto.gx@renesas.com
    Signed-off-by: Geert Uytterhoeven

    Kuninori Morimoto
     

13 Jul, 2020

4 commits


04 May, 2020

1 commit


30 Apr, 2020

2 commits

  • Add support for RZ/G1H (R8A7742) to the R-Car RST driver.

    Signed-off-by: Lad Prabhakar
    Reviewed-by: Marian-Cristian Rotariu
    Link: https://lore.kernel.org/r/1587678050-23468-6-git-send-email-prabhakar.mahadev-lad.rj@bp.renesas.com
    Signed-off-by: Geert Uytterhoeven

    Lad Prabhakar
     
  • Add support for RZ/G1H (R8A7742) SoC power areas to the R-Car SYSC driver.

    Signed-off-by: Lad Prabhakar
    Reviewed-by: Marian-Cristian Rotariu
    Link: https://lore.kernel.org/r/1587678050-23468-4-git-send-email-prabhakar.mahadev-lad.rj@bp.renesas.com
    Signed-off-by: Geert Uytterhoeven

    Lad Prabhakar
     

04 Apr, 2020

1 commit

  • Pull ARM driver updates from Arnd Bergmann:
    "These are the usual updates for SoC specific device drivers and
    related subsystems that don't have their own top-level maintainers:

    - ARM SCMI/SCPI updates to allow pluggable transport layers

    - TEE subsystem cleanups

    - A new driver for the Amlogic secure power domain controller

    - Various driver updates for the NXP Layerscape DPAA2, NXP i.MX SCU
    and TI OMAP2+ sysc drivers.

    - Qualcomm SoC driver updates, including a new library module for
    "protection domain" notifications

    - Lots of smaller bugfixes and cleanups in other drivers"

    * tag 'arm-drivers-5.7' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc: (70 commits)
    soc: fsl: qe: fix sparse warnings for ucc_slow.c
    soc: fsl: qe: ucc_slow: remove 0 assignment for kzalloc'ed structure
    soc: fsl: qe: fix sparse warnings for ucc_fast.c
    soc: fsl: qe: fix sparse warnings for qe_ic.c
    soc: fsl: qe: fix sparse warnings for ucc.c
    soc: fsl: qe: fix sparse warning for qe_common.c
    soc: fsl: qe: fix sparse warnings for qe.c
    soc: qcom: Fix QCOM_APR dependencies
    soc: qcom: pdr: Avoid uninitialized use of found in pdr_indication_cb
    soc: imx: drop COMPILE_TEST for IMX_SCU_SOC
    firmware: imx: add COMPILE_TEST for IMX_SCU driver
    soc: imx: gpc: fix power up sequencing
    soc: imx: increase build coverage for imx8m soc driver
    soc: qcom: apr: Add avs/audio tracking functionality
    dt-bindings: soc: qcom: apr: Add protection domain bindings
    soc: qcom: Introduce Protection Domain Restart helpers
    devicetree: bindings: firmware: add ipq806x to qcom_scm
    memory: tegra: Correct debugfs clk rate-range on Tegra124
    memory: tegra: Correct debugfs clk rate-range on Tegra30
    memory: tegra: Correct debugfs clk rate-range on Tegra20
    ...

    Linus Torvalds
     

21 Feb, 2020

1 commit

  • Replace the final user of CONFIG_ARCH_R8A7795 by CONFIG_ARCH_R8A77950 ||
    CONFIG_ARCH_R8A77951, and remove the now unused CONFIG_ARCH_R8A7795
    symbol definition.

    Signed-off-by: Geert Uytterhoeven
    Link: https://lore.kernel.org/r/20200218112449.5723-1-geert+renesas@glider.be

    Geert Uytterhoeven
     

17 Feb, 2020

1 commit

  • This patch corrects the SPDX License Identifier style in
    header file related to Renesas Soc driver support.
    It assigns explicit block comment to the SPDX License Identifier.

    Changes made by using a script provided by Joe Perches here:
    https://lkml.org/lkml/2019/2/7/46.

    Suggested-by: Joe Perches
    Signed-off-by: Nishad Kamdar
    Link: https://lore.kernel.org/r/20200118124856.GA3421@nishad
    Signed-off-by: Geert Uytterhoeven

    Nishad Kamdar
     

10 Feb, 2020

1 commit

  • SH-Mobile AG5 and R-Car H1 SoCs are based on the Cortex-A9 MPCore, which
    includes a global timer.

    Enable the ARM global timer on these SoCs, which will be used for:
    - the scheduler clock, improving scheduler accuracy from 10 ms to 3 or
    4 ns,
    - delay loops, allowing removal of calls to shmobile_init_delay() from
    the corresponding machine vectors.

    Note that when using an old DTB lacking the global timer, the kernel
    will still work. However, loops-per-jiffies will no longer be preset,
    and the delay loop will need to be calibrated during boot.

    Signed-off-by: Geert Uytterhoeven
    Link: https://lore.kernel.org/r/20191211135222.26770-5-geert+renesas@glider.be

    Geert Uytterhoeven
     

06 Jan, 2020

2 commits

  • Despite using the same compatible values ("r8a7795"-based) because of
    historical reasons, R-Car H3 ES1.x (R8A77950) and R-Car H3 ES2.0+
    (R8A77951) are really different SoCs, with different part numbers.

    Reflect this in the SoC configuration, by adding CONFIG_ARCH_R8A77950
    and CONFIG_ARCH_R8A77951 as new config symbols. These are intended to
    replace CONFIG_ARCH_R8A7795, and will allow making support for early SoC
    revisions optional.

    Note that for now, CONFIG_ARCH_R8A7795 is retained, and just selects
    CONFIG_ARCH_R8A77950 and CONFIG_ARCH_R8A77951. This relaxes
    dependencies of other subsystems on the SoC configuration symbol, and
    provides a smooth transition path for config files through "make
    oldconfig".

    Signed-off-by: Geert Uytterhoeven
    Reviewed-by: Yoshihiro Shimoda
    Tested-by: Yoshihiro Shimoda
    Link: https://lore.kernel.org/r/20191217183841.432-6-geert+renesas@glider.be

    Geert Uytterhoeven
     
  • The configure call back takes a register pointer, so should
    have been marked with __iomem. Add this to silence the
    following sparse warnings:

    drivers/soc/renesas/rcar-rst.c:33:22: warning: incorrect type in initializer (incompatible argument 1 (different address spaces))
    drivers/soc/renesas/rcar-rst.c:33:22: expected int ( *configure )( ... )
    drivers/soc/renesas/rcar-rst.c:33:22: got int ( * )( ... )
    drivers/soc/renesas/rcar-rst.c:97:40: warning: incorrect type in argument 1 (different address spaces)
    drivers/soc/renesas/rcar-rst.c:97:40: expected void *base
    drivers/soc/renesas/rcar-rst.c:97:40: got void [noderef] *[assigned] base

    Signed-off-by: Ben Dooks (Codethink)
    Link: https://lore.kernel.org/r/20191218135230.2610161-1-ben.dooks@codethink.co.uk
    Signed-off-by: Geert Uytterhoeven

    Ben Dooks (Codethink)
     

13 Dec, 2019

1 commit


01 Nov, 2019

7 commits

  • Add support for the power areas in the Renesas R-Car M3-W+ (R8A77961)
    SoC to the R-Car System Controller driver.

    R-Car M3-W+ (aka R-Car M3-W ES3.0) is very similar to R-Car
    M3-W (R8A77960), which allows for both SoCs to share a driver:
    - R-Car M3-W+ lacks the A2VC power area, so its area must be
    nullified,
    - The existing support for the SYSCEXTMASK register added in commit
    9bd645af9d2a49ac ("soc: renesas: r8a7796-sysc: Fix power request
    conflicts") applies to ES3.0 and later only.
    As R-Car M3-W+ uses a different compatible value, differentiate
    based on that, instead of on the ES version.

    Based on a patch in the BSP by Dien Pham .

    Signed-off-by: Geert Uytterhoeven
    Reviewed-by: Yoshihiro Shimoda
    Tested-by: Yoshihiro Shimoda
    Link: https://lore.kernel.org/r/20191023123342.13100-7-geert+renesas@glider.be

    Geert Uytterhoeven
     
  • Add support for the Reset block in the R-Car M3-W+ (R8A77961) SoC to the
    Renesas R-Car RST driver.

    Signed-off-by: Geert Uytterhoeven
    Reviewed-by: Yoshihiro Shimoda
    Tested-by: Yoshihiro Shimoda
    Link: https://lore.kernel.org/r/20191023123342.13100-6-geert+renesas@glider.be

    Geert Uytterhoeven
     
  • Add support for identifying the R-Car M3-W+ (R8A77961) SoC, which shares
    the Product ID Number with R-Car M3-W (R8A77960), but differs in CUT
    Number (Ver. 3.0), and uses a different compatible value.

    Signed-off-by: Geert Uytterhoeven
    Reviewed-by: Yoshihiro Shimoda
    Tested-by: Yoshihiro Shimoda
    Link: https://lore.kernel.org/r/20191023123342.13100-5-geert+renesas@glider.be

    Geert Uytterhoeven
     
  • Add CONFIG_ARCH_R8A77961 as a configuration symbol for the new Renesas
    R-Car M3-W+ (R8A77961) SoC.

    Signed-off-by: Geert Uytterhoeven
    Reviewed-by: Yoshihiro Shimoda
    Tested-by: Yoshihiro Shimoda
    Link: https://lore.kernel.org/r/20191023123342.13100-4-geert+renesas@glider.be

    Geert Uytterhoeven
     
  • Add CONFIG_ARCH_R8A77960 as a new config symbol for R-Car M3-W
    (R8A77960), to replace CONFIG_ARCH_R8A7796, and avoid confusion with
    R-Car M3-W+ (R8A77961), which will use CONFIG_ARCH_R8A77961.

    Note that for now, CONFIG_ARCH_R8A7796 is retained, and just selects
    CONFIG_ARCH_R8A77960. This relaxes dependencies of other subsystems on
    the SoC configuration symbol, and provides a smooth transition path for
    config files through "make oldconfig".

    Signed-off-by: Geert Uytterhoeven
    Reviewed-by: Yoshihiro Shimoda
    Link: https://lore.kernel.org/r/20191023123342.13100-3-geert+renesas@glider.be

    Geert Uytterhoeven
     
  • Rename CONFIG_SYSC_R8A7796 for R-Car M3-W (R8A77960) to
    CONFIG_SYSC_R8A77960, to avoid confusion with R-Car M3-W+ (R8A77961),
    which will use CONFIG_SYSC_R8A77961.

    Rename r8a7796_sysc_info and r8a7796_sysc_init for consistency.

    Signed-off-by: Geert Uytterhoeven
    Reviewed-by: Yoshihiro Shimoda
    Link: https://lore.kernel.org/r/20191023123342.13100-2-geert+renesas@glider.be

    Geert Uytterhoeven
     
  • If the DTB for a device with an RZ/A2 SoC lacks a device node for the
    BSID register, the ID validation code falls back to using a register at
    address 0x0, which leads to undefined behavior (e.g. reading back a
    random value).

    This could be fixed by letting fam_rza2.reg point to the actual BSID
    register. However, the hardcoded fallbacks were meant for backwards
    compatibility with old DTBs only, not for new SoCs. Hence fix this by
    validating renesas_family.reg before using it.

    Fixes: 175f435f44b724e3 ("soc: renesas: identify RZ/A2")
    Signed-off-by: Geert Uytterhoeven
    Link: https://lore.kernel.org/r/20191016143306.28995-1-geert+renesas@glider.be

    Geert Uytterhoeven
     

01 Oct, 2019

11 commits