04 Dec, 2020

1 commit

  • There were a bunch of issues with the patch converting the
    OMAP1 OSK board to use descriptors for controlling the USB
    host:

    - The chip label was incorrect
    - The GPIO offset was off-by-one
    - The code should use sleeping accessors

    This patch tries to fix all issues at the same time.

    Cc: Aaro Koskinen
    Reported-by: Aaro Koskinen
    Fixes: 15d157e87443 ("usb: ohci-omap: Convert to use GPIO descriptors")
    Signed-off-by: Linus Walleij
    Link: https://lore.kernel.org/r/20201130083033.29435-1-linus.walleij@linaro.org
    Signed-off-by: Greg Kroah-Hartman

    Linus Walleij
     

25 Oct, 2020

1 commit

  • Pull ARM SoC platform updates from Olof Johansson:
    "SoC changes, a substantial part of this is cleanup of some of the
    older platforms that used to have a bunch of board files.

    In particular:

    - Remove non-DT i.MX platforms that haven't seen activity in years,
    it's time to remove them.

    - A bunch of cleanup and removal of platform data for TI/OMAP
    platforms, moving over to genpd for power/reset control (yay!)

    - Major cleanup of Samsung S3C24xx and S3C64xx platforms, moving them
    closer to multiplatform support (not quite there yet, but getting
    close).

    There are a few other changes too, smaller fixlets, etc. For new
    platform support, the primary ones are:

    - New SoC: Hisilicon SD5203, ARM926EJ-S platform.

    - Cpufreq support for i.MX7ULP"

    * tag 'armsoc-soc' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc: (121 commits)
    ARM: mstar: Select MStar intc
    ARM: stm32: Replace HTTP links with HTTPS ones
    ARM: debug: add UART early console support for SD5203
    ARM: hisi: add support for SD5203 SoC
    ARM: omap3: enable off mode automatically
    clk: imx: imx35: Remove mx35_clocks_init()
    clk: imx: imx31: Remove mx31_clocks_init()
    clk: imx: imx27: Remove mx27_clocks_init()
    ARM: imx: Remove unused definitions
    ARM: imx35: Retrieve the IIM base address from devicetree
    ARM: imx3: Retrieve the AVIC base address from devicetree
    ARM: imx3: Retrieve the CCM base address from devicetree
    ARM: imx31: Retrieve the IIM base address from devicetree
    ARM: imx27: Retrieve the CCM base address from devicetree
    ARM: imx27: Retrieve the SYSCTRL base address from devicetree
    ARM: s3c64xx: bring back notes from removed debug-macro.S
    ARM: s3c24xx: fix Wunused-variable warning on !MMU
    ARM: samsung: fix PM debug build with DEBUG_LL but !MMU
    MAINTAINERS: mark linux-samsung-soc list non-moderated
    ARM: imx: Remove remnant board file support pieces
    ...

    Linus Torvalds
     

25 Sep, 2020

1 commit


18 Sep, 2020

2 commits

  • The new field 'dma_range_map' in struct device is used to facilitate the
    use of single or multiple offsets between mapping regions of cpu addrs and
    dma addrs. It subsumes the role of "dev->dma_pfn_offset" which was only
    capable of holding a single uniform offset and had no region bounds
    checking.

    The function of_dma_get_range() has been modified so that it takes a single
    argument -- the device node -- and returns a map, NULL, or an error code.
    The map is an array that holds the information regarding the DMA regions.
    Each range entry contains the address offset, the cpu_start address, the
    dma_start address, and the size of the region.

    of_dma_configure() is the typical manner to set range offsets but there are
    a number of ad hoc assignments to "dev->dma_pfn_offset" in the kernel
    driver code. These cases now invoke the function
    dma_direct_set_offset(dev, cpu_addr, dma_addr, size).

    Signed-off-by: Jim Quinlan
    [hch: various interface cleanups]
    Signed-off-by: Christoph Hellwig
    Reviewed-by: Mathieu Poirier
    Tested-by: Mathieu Poirier
    Tested-by: Nathan Chancellor

    Jim Quinlan
     
  • dma_to_virt is entirely unused, remove it.

    Signed-off-by: Christoph Hellwig

    Christoph Hellwig
     

19 Aug, 2020

1 commit


08 Aug, 2020

1 commit

  • Pull media updates from Mauro Carvalho Chehab:

    - Legacy soc_camera driver was removed from staging

    - New I2C sensor related drivers: dw9768, ch7322, max9271, rdacm20

    - TI vpe driver code was re-organized and had new features added

    - Added Xilinx MIPI CSI-2 Rx Subsystem driver

    - Added support for Infrared Toy and IR Droid devices

    - Lots of random driver fixes, new features and cleanups

    * tag 'media/v5.9-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media: (318 commits)
    media: camss: fix memory leaks on error handling paths in probe
    media: davinci: vpif_capture: fix potential double free
    media: radio: remove redundant assignment to variable retval
    media: allegro: fix potential null dereference on header
    media: mtk-mdp: Fix a refcounting bug on error in init
    media: allegro: fix an error pointer vs NULL check
    media: meye: fix missing pm_mchip_mode field
    media: cafe-driver: use generic power management
    media: saa7164: use generic power management
    media: v4l2-dev/ioctl: Fix document for VIDIOC_QUERYCAP
    media: v4l2: Correct kernel-doc inconsistency
    media: v4l2: Correct kernel-doc inconsistency
    media: dvbdev.h: keep * together with the type
    media: v4l2-subdev.h: keep * together with the type
    media: videobuf2: Print videobuf2 buffer state by name
    media: colorspaces-details.rst: fix V4L2_COLORSPACE_JPEG description
    media: tw68: use generic power management
    media: meye: use generic power management
    media: cx88: use generic power management
    media: cx25821: use generic power management
    ...

    Linus Torvalds
     

06 Aug, 2020

1 commit

  • Pull USB/Thunderbolt updates from Greg KH:
    "Here is the large set of USB and Thunderbolt patches for 5.9-rc1.

    Nothing really magic/major in here, just lots of little changes and
    updates:

    - clean up language usages in USB core and some drivers

    - Thunderbolt driver updates and additions

    - USB Gadget driver updates

    - dwc3 driver updates (like always...)

    - build with "W=1" warning fixups

    - mtu3 driver updates

    - usb-serial driver updates and device ids

    - typec additions and updates for new hardware

    - xhci debug code updates for future platforms

    - cdns3 driver updates

    - lots of other minor driver updates and fixes and cleanups

    All of these have been in linux-next for a while with no reported
    issues"

    * tag 'usb-5.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb: (330 commits)
    usb: common: usb-conn-gpio: Register charger
    usb: mtu3: simplify mtu3_req_complete()
    usb: mtu3: clear dual mode of u3port when disable device
    usb: mtu3: use MTU3_EP_WEDGE flag
    usb: mtu3: remove useless member @busy in mtu3_ep struct
    usb: mtu3: remove repeated error log
    usb: mtu3: add ->udc_set_speed()
    usb: mtu3: introduce a funtion to check maximum speed
    usb: mtu3: clear interrupts status when disable interrupts
    usb: mtu3: reinitialize CSR registers
    usb: mtu3: fix macro for maximum number of packets
    usb: mtu3: remove unnecessary pointer checks
    usb: xhci: Fix ASMedia ASM1142 DMA addressing
    usb: xhci: define IDs for various ASMedia host controllers
    usb: musb: convert to devm_platform_ioremap_resource_byname
    usb: gadget: tegra-xudc: convert to devm_platform_ioremap_resource_byname
    usb: gadget: r8a66597: convert to devm_platform_ioremap_resource_byname
    usb: dwc3: convert to devm_platform_ioremap_resource_byname
    usb: cdns3: convert to devm_platform_ioremap_resource_byname
    usb: phy: am335x: convert to devm_platform_ioremap_resource_byname
    ...

    Linus Torvalds
     

21 Jul, 2020

1 commit

  • The OMAP1 OHCI driver is using the legacy GPIO API to grab some
    random GPIO lines. One is from the TPS65010 chip and used for
    power, another one is for overcurrent and while the driver picks
    this line it doesn't watch it at all.

    Convert the driver and the OMAP1 OSK board file to pass these
    two GPIOs as machine described GPIO descriptors.

    I noticed the overcurrent GPIO line is not really used in the
    code so dropped in a little comment for other developers.

    Cc: Janusz Krzysztofik
    Cc: Tony Lindgren
    Acked-by: Alan Stern
    Signed-off-by: Linus Walleij
    Link: https://lore.kernel.org/r/20200720135524.100374-2-linus.walleij@linaro.org
    Signed-off-by: Greg Kroah-Hartman

    Linus Walleij
     

14 Jul, 2020

1 commit

  • Rationale:
    Reduces attack surface on kernel devs opening the links for MITM
    as HTTPS traffic is much harder to manipulate.

    Deterministic algorithm:
    For each file:
    If not .svg:
    For each line:
    If doesn't contain `\bxmlns\b`:
    For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:
    If neither `\bgnu\.org/license`, nor `\bmozilla\.org/MPL\b`:
    If both the HTTP and HTTPS versions
    return 200 OK and serve the same content:
    Replace HTTP with HTTPS.

    Signed-off-by: Alexander A. Klimov
    Signed-off-by: Tony Lindgren

    Alexander A. Klimov
     

04 Jul, 2020

1 commit

  • The soc_camera driver is about to be removed, so drop camera
    support from this board. Note that the soc_camera driver itself has
    long since been deprecated and can't be compiled anymore (it depends
    on BROKEN), so camera support on this board has been broken for a long
    time (at least since 4.6 when the omap1_camera.c was removed from soc_camera).

    Signed-off-by: Hans Verkuil
    Cc: Tony Lindgren
    Acked-by: Arnd Bergmann
    Signed-off-by: Mauro Carvalho Chehab

    Hans Verkuil
     

04 Apr, 2020

1 commit

  • Pull ARM SoC updates from Arnd Bergmann:
    "The code changes are mostly for 32-bit platforms and include:

    - Lots of updates for the Nvidia Tegra platform, including cpuidle,
    pmc, and dt-binding changes

    - Microchip at91 power management updates for the recently added
    sam9x60 SoC

    - Treewide setup_irq deprecation by afzal mohammed

    - STMicroelectronics stm32 gains earlycon support

    - Renesas platforms with Cortex-A9 can now use the global timer

    - Some TI OMAP2+ platforms gain cpuidle support

    - Various cleanups for the i.MX6 and Orion platforms, as well as
    Kconfig files across all platforms"

    * tag 'arm-soc-5.7' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc: (75 commits)
    ARM: qcom: Add support for IPQ40xx
    ARM: mmp: replace setup_irq() by request_irq()
    ARM: cns3xxx: replace setup_irq() by request_irq()
    ARM: spear: replace setup_irq() by request_irq()
    ARM: ep93xx: Replace setup_irq() by request_irq()
    ARM: iop32x: replace setup_irq() by request_irq()
    arm: mach-dove: Mark dove_io_desc as __maybe_unused
    ARM: orion: replace setup_irq() by request_irq()
    ARM: debug: stm32: add UART early console support for STM32MP1
    ARM: debug: stm32: add UART early console support for STM32H7
    ARM: debug: stm32: add UART early console configuration for STM32F7
    ARM: debug: stm32: add UART early console configuration for STM32F4
    cpuidle: tegra: Disable CC6 state if LP2 unavailable
    cpuidle: tegra: Squash Tegra114 driver into the common driver
    cpuidle: tegra: Squash Tegra30 driver into the common driver
    cpuidle: Refactor and move out NVIDIA Tegra20 driver into drivers/cpuidle
    ARM: tegra: cpuidle: Remove unnecessary memory barrier
    ARM: tegra: cpuidle: Make abort_flag atomic
    ARM: tegra: cpuidle: Handle case where secondary CPU hangs on entering LP2
    ARM: tegra: Make outer_disable() open-coded
    ...

    Linus Torvalds
     

09 Mar, 2020

2 commits

  • Let platforms take care of declaring correct GPIO pin polarity so we
    can just ask a GPIO line to be asserted or deasserted and gpiolib deals
    with the rest depending on how the platform is configured.

    Inspired by similar changes to regulator drivers by Linus Walleij
    , thanks!

    Signed-off-by: Janusz Krzysztofik
    Acked-by: Tony Lindgren
    Signed-off-by: Miquel Raynal
    Link: https://lore.kernel.org/linux-mtd/20200212003929.6682-7-jmkrzyszt@gmail.com

    Janusz Krzysztofik
     
  • Now as the Amstrad Delta NAND driver supports fetching information on
    MTD partitions from device platform data, add partition info to the
    NAND device configuration.

    Signed-off-by: Janusz Krzysztofik
    Acked-by: Tony Lindgren
    Signed-off-by: Miquel Raynal
    Link: https://lore.kernel.org/linux-mtd/20200212003929.6682-4-jmkrzyszt@gmail.com

    Janusz Krzysztofik
     

05 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
    Signed-off-by: Tony Lindgren

    afzal mohammed
     

12 Nov, 2019

1 commit

  • All of arch/arm/mach-omap1/Kconfig is enclosed in a big "if ARCH_OMAP1"
    and so every symbol already has a dependency on ARCH_OMAP1 even without
    mentioning it in their list of dependencies.

    Also dependencies on ARCH_OMAP can be dropped as it is selected by
    ARCH_OMAP1.

    Signed-off-by: Uwe Kleine-König
    Acked-by: Aaro Koskinen
    Signed-off-by: Tony Lindgren

    Uwe Kleine-König
     

23 Oct, 2019

1 commit


09 Sep, 2019

2 commits

  • Mark Brown
     
  • Since commit 1137ceee76ba ("ARM: OMAP1: ams-delta: Don't request unused
    GPIOs"), on-board audio has appeared muted. It has been discovered that
    believed to be unused GPIO pins "hookflash1" and "hookflash2" need to be
    set low for audible sound in handsfree and handset mode respectively.

    According to Amstrad E3 wiki, the purpose of both pins hasn't been
    clearly identified. Original Amstrad software used to produce a high
    pulse on them when the phone was taken off hook or recall was pressed.
    With the current findings, we can assume the pins provide a kind of
    audio mute function, separately for handset and handsfree operation
    modes.

    Commit 2afdb4c41d78 ("ARM: OMAP1: ams-delta: Fix audio permanently
    muted") attempted to fix the issue temporarily by hogging the GPIO pin
    "hookflash1" renamed to "audio_mute", however the fix occurred
    incomplete as it restored audible sound only for handsfree mode.

    Stop hogging that pin, rename the pins to "handsfree_mute" and
    "handset_mute" respectively and implement appropriate DAPM event
    callbacks for "Speaker" and "Earpiece" DAPM widgets.

    Fixes: 1137ceee76ba ("ARM: OMAP1: ams-delta: Don't request unused GPIOs")
    Signed-off-by: Janusz Krzysztofik
    Reviewed-by: Peter Ujfalusi
    Link: https://lore.kernel.org/r/20190907111650.15440-1-jmkrzyszt@gmail.com
    Signed-off-by: Mark Brown

    Janusz Krzysztofik
     

13 Aug, 2019

2 commits


13 Jul, 2019

1 commit

  • Pull driver core and debugfs updates from Greg KH:
    "Here is the "big" driver core and debugfs changes for 5.3-rc1

    It's a lot of different patches, all across the tree due to some api
    changes and lots of debugfs cleanups.

    Other than the debugfs cleanups, in this set of changes we have:

    - bus iteration function cleanups

    - scripts/get_abi.pl tool to display and parse Documentation/ABI
    entries in a simple way

    - cleanups to Documenatation/ABI/ entries to make them parse easier
    due to typos and other minor things

    - default_attrs use for some ktype users

    - driver model documentation file conversions to .rst

    - compressed firmware file loading

    - deferred probe fixes

    All of these have been in linux-next for a while, with a bunch of
    merge issues that Stephen has been patient with me for"

    * tag 'driver-core-5.3-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core: (102 commits)
    debugfs: make error message a bit more verbose
    orangefs: fix build warning from debugfs cleanup patch
    ubifs: fix build warning after debugfs cleanup patch
    driver: core: Allow subsystems to continue deferring probe
    drivers: base: cacheinfo: Ensure cpu hotplug work is done before Intel RDT
    arch_topology: Remove error messages on out-of-memory conditions
    lib: notifier-error-inject: no need to check return value of debugfs_create functions
    swiotlb: no need to check return value of debugfs_create functions
    ceph: no need to check return value of debugfs_create functions
    sunrpc: no need to check return value of debugfs_create functions
    ubifs: no need to check return value of debugfs_create functions
    orangefs: no need to check return value of debugfs_create functions
    nfsd: no need to check return value of debugfs_create functions
    lib: 842: no need to check return value of debugfs_create functions
    debugfs: provide pr_fmt() macro
    debugfs: log errors when something goes wrong
    drivers: s390/cio: Fix compilation warning about const qualifiers
    drivers: Add generic helper to match by of_node
    driver_find_device: Unify the match function with class_find_device()
    bus_find_device: Unify the match callback with class_find_device
    ...

    Linus Torvalds
     

10 Jul, 2019

1 commit

  • Pull GPIO updates from Linus Walleij:
    "This is the big slew of GPIO changes for the v5.3 kernel cycle. This
    is mostly incremental work this time.

    Three important things:

    - The FMC subsystem is deleted through my tree. This happens through
    GPIO as its demise was discussed in relation to a patch decoupling
    its GPIO implementation from the standard way of handling GPIO. As
    it turns out, that is not the only subsystem it reimplements and
    the authors think it is better do scratch it and start over using
    the proper kernel subsystems than try to polish the rust shiny. See
    the commit (ACKed by the maintainers) for details.

    - Arnd made a small devres patch that was ACKed by Greg and goes into
    the device core.

    - SPDX header change colissions may happen, because at times I've
    seen that quite a lot changed during the -rc:s in regards to SPDX.
    (It is good stuff, tglx has me convinced, and it is worth the
    occasional pain.)

    Apart from this is is nothing controversial or problematic.

    Summary:

    Core:

    - When a gpio_chip request GPIOs from itself, it can now fully
    control the line characteristics, both machine and consumer flags.
    This makes a lot of sense, but took some time before I figured out
    that this is how it has to work.

    - Several smallish documentation fixes.

    New drivers:

    - The PCA953x driver now supports the TI TCA9539.

    - The DaVinci driver now supports the K3 AM654 SoCs.

    Driver improvements:

    - Major overhaul and hardening of the OMAP driver by Russell King.

    - Starting to move some drivers to the new API passing irq_chip along
    with the gpio_chip when adding the gpio_chip instead of adding it
    separately.

    Unrelated:

    - Delete the FMC subsystem"

    * tag 'gpio-v5.3-1' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio: (87 commits)
    Revert "gpio: tegra: Clean-up debugfs initialisation"
    gpiolib: Use spinlock_t instead of struct spinlock
    gpio: stp-xway: allow compile-testing
    gpio: stp-xway: get rid of the #include dependency
    gpio: stp-xway: improve module clock error handling
    gpio: stp-xway: simplify error handling in xway_stp_probe()
    gpiolib: Clarify use of non-sleeping functions
    gpiolib: Fix references to gpiod_[gs]et_*value_cansleep() variants
    gpiolib: Document new gpio_chip.init_valid_mask field
    Documentation: gpio: Fix reference to gpiod_get_array()
    gpio: pl061: drop duplicate printing of device name
    gpio: altera: Pass irqchip when adding gpiochip
    gpio: siox: Use devm_ managed gpiochip
    gpio: siox: Add struct device *dev helper variable
    gpio: siox: Pass irqchip when adding gpiochip
    drivers: gpio: amd-fch: make resource struct const
    devres: allow const resource arguments
    gpio: ath79: Pass irqchip when adding gpiochip
    gpio: tegra: Clean-up debugfs initialisation
    gpio: siox: Switch to IRQ_TYPE_NONE
    ...

    Linus Torvalds
     

19 Jun, 2019

1 commit

  • Based on 2 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 version 2 as
    published by the free software foundation

    this program is free software you can redistribute it and or modify
    it under the terms of the gnu general public license version 2 as
    published by the free software foundation #

    extracted by the scancode license scanner the SPDX license identifier

    GPL-2.0-only

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

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

    Thomas Gleixner
     

17 Jun, 2019

1 commit

  • The cleanup of the debugfs functions left one variable behind that
    should now be removed as well:

    arch/arm/mach-omap1/clock.c:1008:6: error: unused variable 'err' [-Werror,-Wunused-variable]

    Fixes: d5ddd5a51726 ("arm: omap1: no need to check return value of debugfs_create functions")
    Signed-off-by: Arnd Bergmann
    Signed-off-by: Greg Kroah-Hartman

    Arnd Bergmann
     

08 Jun, 2019

1 commit

  • When a gpio_chip wants to request a descriptor from itself
    using gpiochip_request_own_desc() it needs to be able to specify
    fully how to use the descriptor, notably line inversion
    semantics. The workaround in the gpiolib.c can be removed
    and cases (such as SPI CS) where we need at times to request
    a GPIO with line inversion semantics directly on a chip for
    workarounds, can be fully supported with this call.

    Fix up some users of the API that weren't really using the
    last flag to set up the line as input or output properly
    but instead just calling direction setting explicitly
    after requesting the line.

    Cc: Martin Sperl
    Signed-off-by: Linus Walleij

    Linus Walleij
     

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 version 2 as
    published by the free software foundation 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 you should have received a copy of the gnu general
    public license along with this program if not write to the free
    software foundation inc 51 franklin st fifth floor boston ma 02110
    1301 usa

    extracted by the scancode license scanner the SPDX license identifier

    GPL-2.0-only

    has been chosen to replace the boilerplate/reference in 246 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/20190530000436.674189849@linutronix.de
    Signed-off-by: Greg Kroah-Hartman

    Thomas Gleixner
     

03 Jun, 2019

1 commit


31 May, 2019

2 commits

  • 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 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 you
    should have received a copy of the gnu general public license along
    with this program if not write to the free software foundation inc
    59 temple place suite 330 boston ma 02111 1307 usa

    extracted by the scancode license scanner the SPDX license identifier

    GPL-2.0-or-later

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

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

    Thomas Gleixner
     
  • 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
     

21 May, 2019

2 commits

  • Based on 2 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 you
    should have received a copy of the gnu general public license along
    with this program if not write to the free software foundation inc
    51 franklin street fifth floor boston ma 02110 1301 usa

    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 [no]_[pad]_[ctrl] 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 you should have received a copy of the gnu general
    public license along with this program if not write to the free
    software foundation inc 51 franklin street fifth floor boston ma
    02110 1301 usa

    extracted by the scancode license scanner the SPDX license identifier

    GPL-2.0-or-later

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

    Signed-off-by: Thomas Gleixner
    Reviewed-by: Jilayne Lovejoy
    Reviewed-by: Steve Winslow
    Reviewed-by: Allison Randal
    Reviewed-by: Kate Stewart
    Cc: linux-spdx@vger.kernel.org
    Link: https://lkml.kernel.org/r/20190519154040.652910950@linutronix.de
    Signed-off-by: Greg Kroah-Hartman

    Thomas Gleixner
     
  • Add SPDX license identifiers to all Make/Kconfig files which:

    - Have no license information of any form

    These files fall under the project license, GPL v2 only. The resulting SPDX
    license identifier is:

    GPL-2.0-only

    Signed-off-by: Thomas Gleixner
    Signed-off-by: Greg Kroah-Hartman

    Thomas Gleixner
     

17 May, 2019

1 commit

  • …/git/tmlind/linux-omap into arm/late

    Two regression fixes for omaps

    Two one-liners to fix board-ams-delta booting regression and
    logicpd-som-lv MMC card detect to use GPIO_ACTIVE_LOW instead of
    IRQ_TYPE_LEVEL_LOW. Note that the board-ams-delta regression has
    been in there already since v5.0, so if necessary these can wait
    for the merge window.

    * tag 'omap-for-v5.1/fixes-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap:
    ARM: dts: logicpd-som-lv: Fix MMC1 card detect
    ARM: OMAP1: ams-delta: fix early boot crash when LED support is disabled

    Signed-off-by: Olof Johansson <olof@lixom.net>

    Olof Johansson
     

15 May, 2019

1 commit


16 Apr, 2019

1 commit


23 Mar, 2019

1 commit

  • In order to request dynamic allocationn of GPIO IDs, a negative number
    should be passed as a base GPIO ID via platform data. Unfortuntely,
    commit 771e53c4d1a1 ("ARM: OMAP1: ams-delta: Drop board specific global
    GPIO numbers") didn't follow that rule while switching to dynamically
    allocated GPIO IDs for Amstrad Delta latches, making their IDs
    overlapping with those already assigned to OMAP GPIO devices. Fix it.

    Fixes: 771e53c4d1a1 ("ARM: OMAP1: ams-delta: Drop board specific global GPIO numbers")
    Signed-off-by: Janusz Krzysztofik
    Cc: stable@vger.kernel.org
    Acked-by: Aaro Koskinen
    Signed-off-by: Tony Lindgren

    Janusz Krzysztofik
     

09 Mar, 2019

1 commit

  • Pull i2c updates from Wolfram Sang:

    - the I2C core gained helpers to assist drivers in handling their
    suspended state, and drivers were converted to use it

    - two new fault-injectors for stress-testing

    - bigger refactoring and feature improvements for the ocores,
    sh_mobile, and tegra drivers

    - platform_data removal for the at24 EEPROM driver

    - ... and various improvements and bugfixes all over the subsystem

    * 'i2c/for-5.1' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux: (69 commits)
    i2c: Allow recovery of the initial IRQ by an I2C client device.
    i2c: ocores: turn incomplete kdoc into a comment
    i2c: designware: Do not allow i2c_dw_xfer() calls while suspended
    i2c: tegra: Only display error messages if DMA setup fails
    i2c: gpio: fault-injector: add 'inject_panic' injector
    i2c: gpio: fault-injector: add 'lose_arbitration' injector
    i2c: tegra: remove multi-master support
    i2c: tegra: remove master fifo support on tegra186
    i2c: tegra: change phrasing, "fallbacking" to "falling back"
    i2c: expand minor range when registering chrdev region
    i2c: aspeed: Add multi-master use case support
    i2c: core-smbus: don't trace smbus_reply data on errors
    i2c: ocores: Add support for bus clock via platform data
    i2c: ocores: Add support for IO mapper registers.
    i2c: ocores: checkpatch fixes
    i2c: ocores: add SPDX tag
    i2c: ocores: add polling interface
    i2c: ocores: do not handle IRQ if IF is not set
    i2c: ocores: stop transfer on timeout
    i2c: tegra: add i2c interface timing support
    ...

    Linus Torvalds
     

09 Feb, 2019

1 commit

  • This augments the CBUS GPIO I2C driver to use GPIO
    descriptors for clock, sel and data. We drop the platform
    data that was only used for carrying GPIO numbers and
    use machine descriptor tables instead.

    Signed-off-by: Linus Walleij
    Tested-by: Aaro Koskinen
    Acked-by: Tony Lindgren
    Signed-off-by: Wolfram Sang

    Linus Walleij
     

06 Feb, 2019

1 commit

  • This pushes the handling of inversion semantics and open drain
    settings to the GPIO descriptor and gpiolib. All affected board
    files are also augmented.

    This is especially nice since we don't have to have any
    confusing flags passed around to the left and right littering
    the fixed and GPIO regulator drivers and the regulator core.
    It is all just very straight-forward: the core asks the GPIO
    line to be asserted or deasserted and gpiolib deals with the
    rest depending on how the platform is configured: if the line
    is active low, it deals with that, if the line is open drain,
    it deals with that too.

    Cc: Alexander Shiyan # i.MX boards user
    Cc: Haojian Zhuang # MMP2 maintainer
    Cc: Aaro Koskinen # OMAP1 maintainer
    Cc: Tony Lindgren # OMAP1,2,3 maintainer
    Cc: Mike Rapoport # EM-X270 maintainer
    Cc: Robert Jarzmik # EZX maintainer
    Cc: Philipp Zabel # Magician maintainer
    Cc: Petr Cvek # Magician
    Cc: Robert Jarzmik # PXA
    Cc: Paul Parsons # hx4700
    Cc: Daniel Mack # Raumfeld maintainer
    Cc: Marc Zyngier # Zeus maintainer
    Cc: Geert Uytterhoeven # SuperH pinctrl/GPIO maintainer
    Cc: Russell King # SA1100
    Tested-by: Marek Szyprowski
    Tested-by: Janusz Krzysztofik #OMAP1 Amstrad Delta
    Signed-off-by: Linus Walleij
    Signed-off-by: Mark Brown

    Linus Walleij
     

01 Jan, 2019

1 commit

  • Pull arm SoC platform updates from Olof Johansson:
    "SoC updates, mostly refactorings and cleanups of old legacy platforms,
    but also a few more things:

    New SoC support this release:
    - NXP/Freescale i.MX7ULP (1x Cortex-A7, Cortex-M4, graphics, etc)
    - Allwinner F1C100, older platform with an ARM926-EJS (ARMv5) core

    Cleanups of various platforms:
    - OMAP1 ams-delta does some GPIO cleanups
    - Davinci removes of at24 platform data
    - Samsung cleans up old wakeup, PM debug and secondary core boot code
    - Renesas moves around config options and PM code to drivers/soc for
    sharing with 64-bit and more consistency
    - i.MX, Broadcom and SoCFPGA all have tweaks to lowlevel debug
    console setups
    - SoCFPGA adds explicit selection of ARM errata and removes some
    unused code

    This also contains a few patches that I had queued up as fixes for
    4.20 but didn't send in before the release"

    * tag 'armsoc-soc' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (68 commits)
    arm64: dts: renesas: draak: Fix CVBS input
    ARM: omap2: avoid section mismatch warning
    ARM: tegra: avoid section mismatch warning
    ARM: ks8695: fix section mismatch warning
    ARM: pxa: avoid section mismatch warning
    ARM: mmp: fix pxa168_device_usb_phy use on aspenite
    ARM: mmp: fix timer_init calls
    ARM: OMAP1: fix USB configuration for device-only setups
    ARM: OMAP1: add MMC configuration for Palm Tungsten E
    ARM: imx: fix dependencies on imx7ulp
    ARM: meson: select HAVE_ARM_TWD and ARM_GLOBAL_TIMER
    MAINTAINERS: add drivers/soc/amlogic/ to amlogic list
    ARM: imx: add initial support for imx7ulp
    ARM: debug-imx: only define DEBUG_IMX_UART_PORT if needed
    ARM: dts: Fix OMAP4430 SDP Ethernet startup
    ARM: dts: am335x-pdu001: Fix polarity of card detection input
    ARM: OMAP1: ams-delta: Fix audio permanently muted
    ARM: dts: omap5: Fix dual-role mode on Super-Speed port
    arm64: dts: rockchip: fix rk3399-rockpro64 regulator gpios
    ARM: davinci: da850-evm: remove unnecessary include
    ...

    Linus Torvalds