23 Mar, 2020

1 commit

  • request_irq() is preferred over setup_irq(). Invocations of setup_irq()
    occur after memory allocators are ready.

    Per tglx[1], setup_irq() existed in olden days when allocators were not
    ready by the time early interrupts were initialized.

    Hence replace setup_irq() by request_irq().

    [1] https://lkml.kernel.org/r/alpine.DEB.2.20.1710191609480.1971@nanos

    Signed-off-by: afzal mohammed
    Tested-by: Greg Ungerer
    Signed-off-by: Greg Ungerer

    afzal mohammed
     

11 Nov, 2019

1 commit

  • CONFIG_PREEMPTION is selected by CONFIG_PREEMPT and by CONFIG_PREEMPT_RT.
    Both PREEMPT and PREEMPT_RT require the same functionality which today
    depends on CONFIG_PREEMPT.

    Switch the entry code over to use CONFIG_PREEMPTION.

    Cc: Greg Ungerer
    Cc: Geert Uytterhoeven
    Cc: linux-m68k@lists.linux-m68k.org
    Signed-off-by: Thomas Gleixner
    Signed-off-by: Sebastian Andrzej Siewior
    Signed-off-by: Greg Ungerer

    Thomas Gleixner
     

09 Sep, 2019

1 commit


05 Jun, 2019

1 commit

  • Based on 1 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 version 2 of the license 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-only

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

    Signed-off-by: Thomas Gleixner
    Reviewed-by: Alexios Zavras
    Reviewed-by: Allison Randal
    Cc: linux-spdx@vger.kernel.org
    Link: https://lkml.kernel.org/r/20190529141900.918357685@linutronix.de
    Signed-off-by: Greg Kroah-Hartman

    Thomas Gleixner
     

31 May, 2019

1 commit

  • Based on 1 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

    extracted by the scancode license scanner the SPDX license identifier

    GPL-2.0-or-later

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

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

    Thomas Gleixner
     

12 Mar, 2019

1 commit


25 Feb, 2019

1 commit


05 Feb, 2019

1 commit

  • All users of the fixed_phy_add() pass -1 as GPIO number
    to the fixed phy driver, and all users of fixed_phy_register()
    pass -1 as GPIO number as well, except for the device
    tree MDIO bus.

    Any new users should create a proper device and pass the
    GPIO as a descriptor associated with the device so delete
    the GPIO argument from the calls and drop the code looking
    requesting a GPIO in fixed_phy_add().

    In fixed phy_register(), investigate the "fixed-link"
    node and pick the GPIO descriptor from "link-gpios" if
    this property exists. Move the corresponding code out
    of of_mdio.c as the fixed phy code anyways requires
    OF to be in use.

    Tested-by: Andrew Lunn
    Signed-off-by: Linus Walleij
    Signed-off-by: David S. Miller

    Linus Walleij
     

31 Oct, 2018

1 commit

  • Move remaining definitions and declarations from include/linux/bootmem.h
    into include/linux/memblock.h and remove the redundant header.

    The includes were replaced with the semantic patch below and then
    semi-automated removal of duplicated '#include

    @@
    @@
    - #include
    + #include

    [sfr@canb.auug.org.au: dma-direct: fix up for the removal of linux/bootmem.h]
    Link: http://lkml.kernel.org/r/20181002185342.133d1680@canb.auug.org.au
    [sfr@canb.auug.org.au: powerpc: fix up for removal of linux/bootmem.h]
    Link: http://lkml.kernel.org/r/20181005161406.73ef8727@canb.auug.org.au
    [sfr@canb.auug.org.au: x86/kaslr, ACPI/NUMA: fix for linux/bootmem.h removal]
    Link: http://lkml.kernel.org/r/20181008190341.5e396491@canb.auug.org.au
    Link: http://lkml.kernel.org/r/1536927045-23536-30-git-send-email-rppt@linux.vnet.ibm.com
    Signed-off-by: Mike Rapoport
    Signed-off-by: Stephen Rothwell
    Acked-by: Michal Hocko
    Cc: Catalin Marinas
    Cc: Chris Zankel
    Cc: "David S. Miller"
    Cc: Geert Uytterhoeven
    Cc: Greentime Hu
    Cc: Greg Kroah-Hartman
    Cc: Guan Xuetao
    Cc: Ingo Molnar
    Cc: "James E.J. Bottomley"
    Cc: Jonas Bonn
    Cc: Jonathan Corbet
    Cc: Ley Foon Tan
    Cc: Mark Salter
    Cc: Martin Schwidefsky
    Cc: Matt Turner
    Cc: Michael Ellerman
    Cc: Michal Simek
    Cc: Palmer Dabbelt
    Cc: Paul Burton
    Cc: Richard Kuo
    Cc: Richard Weinberger
    Cc: Rich Felker
    Cc: Russell King
    Cc: Serge Semin
    Cc: Thomas Gleixner
    Cc: Tony Luck
    Cc: Vineet Gupta
    Cc: Yoshinori Sato
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Mike Rapoport
     

30 Jul, 2018

1 commit

  • Coldfire still provides its own variant of the clk API rather than using
    the generic COMMON_CLK API. This generally works, but it causes some
    link errors with drivers using the clk_round_rate(), clk_set_rate(),
    clk_set_parent(), or clk_get_parent() functions when a platform lacks
    those interfaces.

    This adds empty stub implementations for each of them, and I don't even
    try to do something useful here but instead just print a WARN() message
    to make it obvious what is going on if they ever end up being called.

    The drivers that call these won't be used on these platforms (otherwise
    we'd get a link error today), so the added code is harmless bloat and
    will warn about accidental use.

    Based on commit bd7fefe1f06ca6cc ("ARM: w90x900: normalize clk API").

    Signed-off-by: Geert Uytterhoeven
    Signed-off-by: Greg Ungerer

    Geert Uytterhoeven
     

28 May, 2018

2 commits

  • The ColdFire PCI configuration space access functions swap addressing
    regions to do their work. Just letting the read/write cycles exit
    the CPU core (via the ColdFire "nop" instruction) is not enough to
    guarantee that the address region remapping has actually completed.
    Insert a read back of the mapping register to be absolutely sure
    that the remapping has completed.

    This fixes an occasional boot hang during the ColdFire PCI initialization
    phase.

    Signed-off-by: Greg Ungerer
    Reviewed-by: Angelo Dureghello
    Tested-by: Angelo Dureghello

    Greg Ungerer
     
  • All the ColdFire IO access support code has been moved to io_no.h.
    This means that all ColdFire support is at least now consistent no
    matter whether the MMU is enabled or not for them.

    Now that io_mm.h has reverted to only support the traditional m68k MMU
    enabled processors we can remove the ColdFire specific definitions.

    We can also remove the old ColdFire PCI bus IO access functions.
    The new io_no.h uses asm-generic/io.h to provide all the basic support.

    Signed-off-by: Greg Ungerer
    Reviewed-by: Angelo Dureghello
    Tested-by: Angelo Dureghello

    Greg Ungerer
     

28 Mar, 2018

1 commit

  • As of commit 205e1b7f51e4 ("dma-mapping: warn when there is no
    coherent_dma_mask") the Freescale FEC driver is issuing the following
    warning on driver initialization on ColdFire systems:

    WARNING: CPU: 0 PID: 1 at ./include/linux/dma-mapping.h:516 0x40159e20
    Modules linked in:
    CPU: 0 PID: 1 Comm: swapper Not tainted 4.16.0-rc7-dirty #4
    Stack from 41833dd8:
    41833dd8 40259c53 40025534 40279e26 00000003 00000000 4004e514 41827000
    400255de 40244e42 00000204 40159e20 00000009 00000000 00000000 4024531d
    40159e20 40244e42 00000204 00000000 00000000 00000000 00000007 00000000
    00000000 40279e26 4028d040 40226576 4003ae88 40279e26 418273f6 41833ef8
    7fffffff 418273f2 41867028 4003c9a2 4180ac6c 00000004 41833f8c 4013e71c
    40279e1c 40279e26 40226c16 4013ced2 40279e26 40279e58 4028d040 00000000
    Call Trace:
    [] 0x40025534
    [] 0x4004e514
    [] 0x400255de
    [] 0x40159e20
    [] 0x40159e20

    It is not fatal, the driver and the system continue to function normally.

    As per the warning the coherent_dma_mask is not set on this device.
    There is nothing special about the DMA memory coherency on this hardware
    so we can just set the mask to 32bits in the platform data for the FEC
    ethernet devices.

    Signed-off-by: Greg Ungerer

    Greg Ungerer
     

07 Nov, 2017

2 commits


06 Nov, 2017

1 commit

  • The M54[78]x ColdFire parts are not the only members of the ColdFire family
    that have an MMU. But currently some of the early MMU initialization code
    is inside the startup code specific to only the ColdFire M54[78]x parts.
    Move that early ColdFire MMU init code so that it is run for other ColdFire
    parts running with MMU enabled.

    Specifically this means that the MMU initialization code will now also be
    run for the ColdFire M5441x parts when running with MMU enabled.

    The code move meant that the extern definition for the mmu_context_init()
    function had to be moved as well. To make it clear that is ColdFire specific
    I have renamed that with a "cf_" in front of it and put its extern definition
    in the mcfmmu.h (which is already included by the setup code).

    Reported-by: Angelo Dureghello
    Tested-by: Angelo Dureghello
    Signed-off-by: Greg Ungerer

    Greg Ungerer
     

02 Nov, 2017

1 commit

  • Many source files in the tree are missing licensing information, which
    makes it harder for compliance tools to determine the correct license.

    By default all files without license information are under the default
    license of the kernel, which is GPL version 2.

    Update the files which contain no license information with the 'GPL-2.0'
    SPDX license identifier. The SPDX identifier is a legally binding
    shorthand, which can be used instead of the full boiler plate text.

    This patch is based on work done by Thomas Gleixner and Kate Stewart and
    Philippe Ombredanne.

    How this work was done:

    Patches were generated and checked against linux-4.14-rc6 for a subset of
    the use cases:
    - file had no licensing information it it.
    - file was a */uapi/* one with no licensing information in it,
    - file was a */uapi/* one with existing licensing information,

    Further patches will be generated in subsequent months to fix up cases
    where non-standard license headers were used, and references to license
    had to be inferred by heuristics based on keywords.

    The analysis to determine which SPDX License Identifier to be applied to
    a file was done in a spreadsheet of side by side results from of the
    output of two independent scanners (ScanCode & Windriver) producing SPDX
    tag:value files created by Philippe Ombredanne. Philippe prepared the
    base worksheet, and did an initial spot review of a few 1000 files.

    The 4.13 kernel was the starting point of the analysis with 60,537 files
    assessed. Kate Stewart did a file by file comparison of the scanner
    results in the spreadsheet to determine which SPDX license identifier(s)
    to be applied to the file. She confirmed any determination that was not
    immediately clear with lawyers working with the Linux Foundation.

    Criteria used to select files for SPDX license identifier tagging was:
    - Files considered eligible had to be source code files.
    - Make and config files were included as candidates if they contained >5
    lines of source
    - File already had some variant of a license header in it (even if
    Reviewed-by: Philippe Ombredanne
    Reviewed-by: Thomas Gleixner
    Signed-off-by: Greg Kroah-Hartman

    Greg Kroah-Hartman
     

11 Sep, 2017

1 commit


28 Aug, 2017

2 commits

  • As CONFIG_RTC_DRV_M5441x doesn't exist because the driver never made it
    upstream, there is no device to register. Remove code that is never
    compiled and init_BSP() as it doesn't do anything.

    Signed-off-by: Alexandre Belloni
    Signed-off-by: Greg Ungerer

    Alexandre Belloni
     
  • Make the behaviour of clk_get_rate consistent with common clk's
    clk_get_rate by accepting NULL clocks as parameter. Some device
    drivers rely on this, and will cause an OOPS otherwise.

    Fixes: facdf0ed4f59 ("m68knommu: introduce basic clk infrastructure")
    Cc: Greg Ungerer
    Cc: Geert Uytterhoeven
    Cc: linux-m68k@lists.linux-m68k.org
    Cc: linux-kernel@vger.kernel.org
    Reported-by: Mathias Kresin
    Signed-off-by: Jonas Gorski
    Signed-off-by: Greg Ungerer

    Jonas Gorski
     

04 Aug, 2017

1 commit

  • The pci_fixup_irqs() function allocates IRQs for all PCI devices present in
    a system; those PCI devices possibly belong to different PCI bus trees (and
    possibly rooted at different host bridges) and may well be enabled (ie
    probed and bound to a driver) by the time pci_fixup_irqs() is called when
    probing a given host bridge driver.

    Furthermore, current kernel code relying on pci_fixup_irqs() to assign
    legacy PCI IRQs to devices does not work at all for hotplugged devices in
    that the code carrying out the IRQ fixup is called at host bridge driver
    probe time, which just cannot take into account devices hotplugged after
    the system has booted.

    The introduction of map/swizzle function hooks in struct pci_host_bridge
    allows us to define per-bridge map/swizzle functions that can be used at
    device probe time in PCI core code to allocate IRQs for a given device
    (through pci_assign_irq()).

    Convert PCI host bridge initialization code to the
    pci_scan_root_bus_bridge() API (that allows to pass a struct
    pci_host_bridge with initialized map/swizzle pointers) and remove the
    pci_fixup_irqs() call from arch code.

    Signed-off-by: Lorenzo Pieralisi
    Signed-off-by: Bjorn Helgaas
    Cc: Geert Uytterhoeven

    Lorenzo Pieralisi
     

13 Jul, 2017

1 commit

  • Make the code like the rest of the kernel.

    Link: http://lkml.kernel.org/r/14db9c166d5b68efa77e337cfe49bb9b29bca3f7.1499284835.git.joe@perches.com
    Signed-off-by: Joe Perches
    Acked-by: Greg Ungerer
    Cc: Geert Uytterhoeven
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Joe Perches
     

15 Apr, 2017

1 commit

  • In preparation for making the clockevents core NTP correction aware,
    all clockevent device drivers must set ->min_delta_ticks and
    ->max_delta_ticks rather than ->min_delta_ns and ->max_delta_ns: a
    clockevent device's rate is going to change dynamically and thus, the
    ratio of ns to ticks ceases to stay invariant.

    Make the m68k arch's coldfire clockevent driver initialize these fields
    properly.

    This patch alone doesn't introduce any change in functionality as the
    clockevents core still looks exclusively at the (untouched) ->min_delta_ns
    and ->max_delta_ns. As soon as this has changed, a followup patch will
    purge the initialization of ->min_delta_ns and ->max_delta_ns from this
    driver.

    Cc: Ingo Molnar
    Cc: Thomas Gleixner
    Cc: Daniel Lezcano
    Cc: Richard Cochran
    Cc: Prarit Bhargava
    Cc: Stephen Boyd
    Cc: Greg Ungerer
    CC: Geert Uytterhoeven
    Cc: linux-m68k@lists.linux-m68k.org
    Acked-by: Greg Ungerer
    Signed-off-by: Nicolai Stange
    Signed-off-by: John Stultz

    Nicolai Stange
     

25 Dec, 2016

1 commit


05 Dec, 2016

2 commits

  • Add support for Sysam AMCORE board, an open hardware embedded Linux
    board, see http://sysam.it/openzone/projects/amcore/amcore.html for
    any info.

    Signed-off-by: Angelo Dureghello
    Signed-off-by: Greg Ungerer

    Angelo Dureghello
     
  • These changes based on work by Steven King to support
    the i2c hardware modules on ColdFire SoC family devices.

    This is the per SoC hardware support. Contains a common platform device
    setup. Each of the SoC family members tends to have some minor local
    setup required to initialize the module. But all ColdFire family members
    use the same i2c hardware module.

    This i2c hardware module is the same as used in the Freescale iMX ARM
    based family of SoC devices. Steven's original patches were based on using
    a new and different i2c-coldfire.c driver. But this is not neccessary as
    we can use the existing Linux i2c-imx.c driver with no change required to
    it. And this patch is now based on using the existing i2c-imx driver.

    This patch only contains the ColdFire platform changes.

    Signed-off-by: Greg Ungerer
    Tested-by: Angelo Dureghello

    Steven King
     

26 Sep, 2016

6 commits

  • In many of clk_disable() implementations, it is a no-op for a NULL
    pointer input, but this is one of the exceptions.

    Making it treewide consistent will allow clock consumers to call
    clk_disable() without NULL pointer check.

    Signed-off-by: Masahiro Yamada
    Signed-off-by: Greg Ungerer

    Masahiro Yamada
     
  • The early ColdFire bootmem_alloc() code is currently only included in
    the board support for the Coldire 54xx platforms. It will be used on all
    ColdFire MMU enabled platforms as others are supported. So move the
    mcf54xx_bootmem_alloc() function to be generally available to all MMU
    enabled ColdFire parts (and use a more generic name for it).

    Signed-off-by: Greg Ungerer

    Greg Ungerer
     
  • Not all ColdFire SoC parts that have an MMU also have an FPU - so set
    an FPU type (via m68k_fputype) appropriate for the configured platform.

    With this set correctly /proc/cpuinfo will report FPU "none" on devices
    that don't have one. And kernel code paths that initialize FPU hardware
    will now only execute if an FPU is actually present.

    Signed-off-by: Greg Ungerer

    Greg Ungerer
     
  • Create a new machine type for platforms based around the ColdFire 5441x
    SoC family. Set that machine type on startup when building for this
    platform type.

    Currently the ColdFire head.S hard codes a M54xx machine type at startup -
    since that is the only platform type currently supported with MMU enabled.
    The m5441x has an MMU and this change forms part of the support required
    to run it with the MMU enabled.

    Signed-off-by: Greg Ungerer

    Greg Ungerer
     
  • Most ColdFire support code has switched to using IO memory access
    methods (readb/writeb/etc) when reading and writing internal peripheral
    device registers. The WildFire board specific halt code was missed.

    As it is now the WildFire code is broken, since all register definitions
    were changed to be register addresses only some time ago.

    Fix the WildFire board code to use the appropriate IO access functions.

    Signed-off-by: Greg Ungerer

    Greg Ungerer
     
  • The early setup code for the ColdFire 53xx platform accesses variables
    before the RAM and other system initialization steps may have taken place.
    Currently it has 2 global variables that will end up in the bss section
    that are accessed during this early setup. There is a special static RAM
    stack setup at this time, but not necessarily the RAM where kernel data
    sections will end up.

    Even on system setups where RAM is setup by a boot loader the access
    to the early setup variables is before the BSS section has been initialized.
    This can potentially corrupt a ram loaded root filesystem that sits in that
    memory area before it has been moved.

    These 2 variables are not used at all after being set, and can just be
    removed.

    Reported-by: Christian Gieseler
    Signed-off-by: Greg Ungerer

    Greg Ungerer
     

03 Jul, 2016

1 commit

  • - s/acccess/access/
    - s/accoding/according/
    - s/addad/added/
    - s/addreess/address/
    - s/allocatiom/allocation/
    - s/Assember/Assembler/
    - s/compactnes/compactness/
    - s/conneced/connected/
    - s/decending/descending/
    - s/diectly/directly/
    - s/diplacement/displacement/

    Signed-off-by: Andrea Gelmini
    [geert: Squashed, fix arch/m68k/ifpsp060/src/pfpsp.S]
    Signed-off-by: Geert Uytterhoeven

    Andrea Gelmini
     

11 Apr, 2016

1 commit

  • The ColdFire architecture specific gpio support code registers a sysfs
    bus device named "gpio". This clashes with the new generic API device
    added in commit 3c702e99 ("gpio: add a userspace chardev ABI for GPIOs").

    The old ColdFire sysfs gpio device was never used for anything specific,
    and no links or other nodes were created under it. The new API sysfs gpio
    device has all the same default sysfs links (device, drivers, etc) and
    they are properly populated.

    Remove the old ColdFire sysfs gpio registration.

    Signed-off-by: Greg Ungerer
    Acked-by: Linus Walleij

    Greg Ungerer
     

18 Mar, 2016

1 commit

  • Pull GPIO updates from Linus Walleij:
    "This is the bulk of GPIO changes for kernel v4.6. There is quite a
    lot of interesting stuff going on.

    The patches to other subsystems and arch-wide are ACKed as far as
    possible, though I consider things like per-arch as
    essentially a part of the GPIO subsystem so it should not be needed.

    Core changes:

    - The gpio_chip is now a *real device*. Until now the gpio chips
    were just piggybacking the parent device or (gasp) floating in
    space outside of the device model.

    We now finally make GPIO chips devices. The gpio_chip will create
    a gpio_device which contains a struct device, and this gpio_device
    struct is kept private. Anything that needs to be kept private
    from the rest of the kernel will gradually be moved over to the
    gpio_device.

    - As a result of making the gpio_device a real device, we have added
    resource management, so devm_gpiochip_add_data() will cut down on
    overhead and reduce code lines. A huge slew of patches convert
    almost all drivers in the subsystem to use this.

    - Building on making the GPIO a real device, we add the first step of
    a new userspace ABI: the GPIO character device. We take small
    steps here, so we first add a pure *information* ABI and the tool
    "lsgpio" that will list all GPIO devices on the system and all
    lines on these devices.

    We can now discover GPIOs properly from userspace. We still have
    not come up with a way to actually *use* GPIOs from userspace.

    - To encourage people to use the character device for the future, we
    have it always-enabled when using GPIO. The old sysfs ABI is still
    opt-in (and can be used in parallel), but is marked as deprecated.

    We will keep it around for the foreseeable future, but it will not
    be extended to cover ever more use cases.

    Cleanup:

    - Bjorn Helgaas removed a whole slew of per-architecture
    includes.

    This dates back to when GPIO was an opt-in feature and no shared
    library even existed: just a header file with proper prototypes was
    provided and all semantics were up to the arch to implement. These
    patches make the GPIO chip even more a proper device and cleans out
    leftovers of the old in-kernel API here and there.

    Still some cruft is left but it's very little now.

    - There is still some clamping of return values for .get() going on,
    but we now return sane values in the vast majority of drivers and
    the errorpath is sanitized. Some patches for powerpc, blackfin and
    unicore still drop in.

    - We continue to switch the ARM, MIPS, blackfin, m68k local GPIO
    implementations to use gpiochip_add_data() and cut down on code
    lines.

    - MPC8xxx is converted to use the generic GPIO helpers.

    - ATH79 is converted to use the generic GPIO helpers.

    New drivers:

    - WinSystems WS16C48

    - Acces 104-DIO-48E

    - F81866 (a F7188x variant)

    - Qoric (a MPC8xxx variant)

    - TS-4800

    - SPI serializers (pisosr): simple 74xx shift registers connected to
    SPI to obtain a dirt-cheap output-only GPIO expander.

    - Texas Instruments TPIC2810

    - Texas Instruments TPS65218

    - Texas Instruments TPS65912

    - X-Gene (ARM64) standby GPIO controller"

    * tag 'gpio-v4.6-1' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio: (194 commits)
    Revert "Share upstreaming patches"
    gpio: mcp23s08: Fix clearing of interrupt.
    gpiolib: Fix comment referring to gpio_*() in gpiod_*()
    gpio: pca953x: Fix pca953x_gpio_set_multiple() on 64-bit
    gpio: xgene: Fix kconfig for standby GIPO contoller
    gpio: Add generic serializer DT binding
    gpio: uapi: use 0xB4 as ioctl() major
    gpio: tps65912: fix bad merge
    Revert "gpio: lp3943: Drop pin_used and lp3943_gpio_request/lp3943_gpio_free"
    gpio: omap: drop dev field from gpio_bank structure
    gpio: mpc8xxx: Slightly update the code for better readability
    gpio: mpc8xxx: Remove *read_reg and *write_reg from struct mpc8xxx_gpio_chip
    gpio: mpc8xxx: Fixup setting gpio direction output
    gpio: mcp23s08: Add support for mcp23s18
    dt-bindings: gpio: altera: Fix altr,interrupt-type property
    gpio: add driver for MEN 16Z127 GPIO controller
    gpio: lp3943: Drop pin_used and lp3943_gpio_request/lp3943_gpio_free
    gpio: timberdale: Switch to devm_ioremap_resource()
    gpio: ts4800: Add IMX51 dependency
    gpiolib: rewrite gpiodev_add_to_list
    ...

    Linus Torvalds
     

07 Mar, 2016

1 commit

  • The FEC (Fast Ethernet Crontroller) module on many ColdFire parts can
    be compiled into the kernel, or as a module. Therefore the platform device
    support for it is required whenever the driver is enabled - not just when
    built into the kernel. Use IS_ENABLED(CONFIG_FEC) instead of a conditional
    check on only the driver being built into the kernel.

    Signed-off-by: Greg Ungerer
    Acked-by: Geert Uytterhoeven

    Greg Ungerer
     

19 Feb, 2016

1 commit


04 Jan, 2016

1 commit

  • As we want gpio_chip .get() calls to be able to return negative
    error codes and propagate to drivers, we need to go over all
    drivers and make sure their return values are clamped to [0,1].
    We do this by using the ret = !!(val) design pattern.

    Cc: Geert Uytterhoeven
    Cc: Greg Ungerer
    Signed-off-by: Linus Walleij
    Signed-off-by: Greg Ungerer

    Linus Walleij
     

22 Nov, 2015

1 commit


16 Sep, 2015

1 commit

  • Most interrupt flow handlers do not use the irq argument. Those few
    which use it can retrieve the irq number from the irq descriptor.

    Remove the argument.

    Search and replace was done with coccinelle and some extra helper
    scripts around it. Thanks to Julia for her help!

    Signed-off-by: Thomas Gleixner
    Cc: Julia Lawall
    Cc: Jiang Liu

    Thomas Gleixner