05 Sep, 2019

1 commit

  • Replace the chain of platform_get_resource() and devm_ioremap_resource()
    with devm_platform_ioremap_resource().

    This allows to remove the local variable for (struct resource *), and
    have one function call less.

    Link: https://lore.kernel.org/r/20190905032122.26076-1-yamada.masahiro@socionext.com
    Signed-off-by: Masahiro Yamada
    Signed-off-by: Arnd Bergmann

    Masahiro Yamada
     

31 May, 2019

1 commit

  • Based on 3 normalized pattern(s):

    this program is free software you can redistribute it and or modify
    it under the terms of the gnu general public license as published by
    the free software foundation either version 2 of the license or at
    your option any later version this program is distributed in the
    hope that it will be useful but without any warranty without even
    the implied warranty of merchantability or fitness for a particular
    purpose see the gnu general public license for more details

    this program is free software you can redistribute it and or modify
    it under the terms of the gnu general public license as published by
    the free software foundation either version 2 of the license or at
    your option any later version [author] [kishon] [vijay] [abraham]
    [i] [kishon]@[ti] [com] this program is distributed in the hope that
    it will be useful but without any warranty without even the implied
    warranty of merchantability or fitness for a particular purpose see
    the gnu general public license for more details

    this program is free software you can redistribute it and or modify
    it under the terms of the gnu general public license as published by
    the free software foundation either version 2 of the license or at
    your option any later version [author] [graeme] [gregory]
    [gg]@[slimlogic] [co] [uk] [author] [kishon] [vijay] [abraham] [i]
    [kishon]@[ti] [com] [based] [on] [twl6030]_[usb] [c] [author] [hema]
    [hk] [hemahk]@[ti] [com] this program is distributed in the hope
    that it will be useful but without any warranty without even the
    implied warranty of merchantability or fitness for a particular
    purpose see the gnu general public license for more details

    extracted by the scancode license scanner the SPDX license identifier

    GPL-2.0-or-later

    has been chosen to replace the boilerplate/reference in 1105 file(s).

    Signed-off-by: Thomas Gleixner
    Reviewed-by: Allison Randal
    Reviewed-by: Richard Fontana
    Reviewed-by: Kate Stewart
    Cc: linux-spdx@vger.kernel.org
    Link: https://lkml.kernel.org/r/20190527070033.202006027@linutronix.de
    Signed-off-by: Greg Kroah-Hartman

    Thomas Gleixner
     

04 Aug, 2017

1 commit


24 Jun, 2016

1 commit


13 Apr, 2016

1 commit


23 Dec, 2015

1 commit

  • The UniPhier System Bus is an external bus that connects on-board
    devices to the UniPhier SoC. Each bank (chip select) is dynamically
    mapped to the CPU-viewed address base via the bus controller. The
    bus controller must be configured before any access to the bus.

    This driver parses the "ranges" property of the System Bus node and
    initialized the bus controller. After the bus becomes ready, devices
    below it are populated.

    Note:
    Each bank can be mapped anywhere in the supported address space;
    there is nothing preventing us from assigning bank 0 on 0x42000000,
    0x43000000, or anywhere as long as such region is not used by others.
    So, the "ranges" is just one possible software configuration, which
    does not seem to fit in device tree because device tree is a hardware
    description language. However, of_translate_address() requires
    "ranges" in every bus node between CPUs and device mapped on the CPU
    address space. In other words, "ranges" properties must be statically
    defined in device tree. After some discussion, I decided the dynamic
    address reassignment by the driver is too bothersome. Instead, the
    device tree should provide a reasonable translation setup that the OS
    can rely on.

    Signed-off-by: Masahiro Yamada
    Acked-by: Rob Herring
    Acked-by: Arnd Bergmann
    Signed-off-by: Olof Johansson

    Masahiro Yamada