27 Aug, 2020

1 commit


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.9 when the pxa_camera.c was removed from soc_camera).

    Note that there is a new pxa_camera.c driver that replaced the old
    soc_camera based driver, but using that would require these boards to
    be converted to use the device tree.

    Signed-off-by: Hans Verkuil
    Cc: Robert Jarzmik
    Acked-by: Arnd Bergmann
    Signed-off-by: Mauro Carvalho Chehab

    Hans Verkuil
     

26 May, 2020

1 commit

  • As these boards have no more users nor testers, and patching them has
    become a burden, be that because of the PCI part or the MTD NAND
    support, let's remove them.

    The cm-x300 will for now remain and represent Compulab boards at its
    best in the PXA department.

    Link: https://lore.kernel.org/r/20200521185140.27276-1-robert.jarzmik@free.fr
    Signed-off-by: Robert Jarzmik
    Acked-by: Mike Rapoport
    Acked-by: Arnd Bergmann
    Signed-off-by: Arnd Bergmann

    Robert Jarzmik
     

25 Mar, 2020

1 commit

  • The code in the Corgi backlight driver can be considerably
    simplified by moving to GPIO descriptors and lookup tables
    from the board files instead of passing GPIO numbers using
    the old API.

    Make sure to encode inversion semantics for the Akita and
    Spitz platforms inside the GPIO lookup table and drop the
    custom inversion semantics from the driver.

    All in-tree users are converted in this patch.

    Signed-off-by: Linus Walleij
    Acked-by: Robert Jarzmik
    Reviewed-by: Daniel Thompson
    Signed-off-by: Lee Jones

    Linus Walleij
     

18 Mar, 2020

1 commit

  • The PWM backlight still supports passing a enable GPIO line as
    platform data using the legacy API.

    It turns out that ever board using this mechanism except one
    is pass .enable_gpio = -1. So we drop all these cargo-culted -1's
    from all instances of this platform data in the kernel.

    The remaning board, Palm TC, is converted to pass a machine
    descriptior table with the "enable" GPIO instead, and delete the
    platform data entry for enable_gpio and the code handling it
    and things should work smoothly with the new API.

    Signed-off-by: Linus Walleij
    Acked-by: Robert Jarzmik
    Acked-by: Krzysztof Kozlowski
    Reviewed-by: Daniel Thompson
    Signed-off-by: Lee Jones

    Linus Walleij
     

30 Jan, 2020

1 commit

  • Pull USB/Thunderbolt/PHY driver updates from Greg KH:
    "Here is the big USB and Thunderbolt and PHY driver updates for
    5.6-rc1.

    With the advent of USB4, "Thunderbolt" has really become USB4, so the
    renaming of the Kconfig option and starting to share subsystem code
    has begun, hence both subsystems coming in through the same tree here.

    PHY driver updates also touched USB drivers, so that is coming in
    through here as well.

    Major stuff included in here are:
    - USB 4 initial support added (i.e. Thunderbolt)
    - musb driver updates
    - USB gadget driver updates
    - PHY driver updates
    - USB PHY driver updates
    - lots of USB serial stuff fixed up
    - USB typec updates
    - USB-IP fixes
    - lots of other smaller USB driver updates

    All of these have been in linux-next for a while now (the usb-serial
    tree is already tested in linux-next on its own before merged into
    here), with no reported issues"

    [ Removed an incorrect compile test enablement for PHY_EXYNOS5250_SATA
    that causes configuration warnings - Linus ]

    * tag 'usb-5.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb: (207 commits)
    Doc: ABI: add usb charger uevent
    usb: phy: show USB charger type for user
    usb: cdns3: fix spelling mistake and rework grammar in text
    usb: phy: phy-gpio-vbus-usb: Convert to GPIO descriptors
    USB: serial: cyberjack: fix spelling mistake "To" -> "Too"
    USB: serial: ir-usb: simplify endpoint check
    USB: serial: ir-usb: make set_termios synchronous
    USB: serial: ir-usb: fix IrLAP framing
    USB: serial: ir-usb: fix link-speed handling
    USB: serial: ir-usb: add missing endpoint sanity check
    usb: typec: fusb302: fix "op-sink-microwatt" default that was in mW
    usb: typec: wcove: fix "op-sink-microwatt" default that was in mW
    usb: dwc3: pci: add ID for the Intel Comet Lake -V variant
    usb: typec: tcpci: mask event interrupts when remove driver
    usb: host: xhci-tegra: set MODULE_FIRMWARE for tegra186
    usb: chipidea: add inline for ci_hdrc_host_driver_init if host is not defined
    usb: chipidea: handle single role for usb role class
    usb: musb: fix spelling mistake: "periperal" -> "peripheral"
    phy: ti: j721e-wiz: Fix build error without CONFIG_OF_ADDRESS
    USB: usbfs: Always unlink URBs in reverse order
    ...

    Linus Torvalds
     

24 Jan, 2020

1 commit

  • Instead of using the legacy GPIO API and keeping track on
    polarity inversion semantics in the driver, switch to use
    GPIO descriptors for this driver and change all consumers
    in the process.

    This makes it possible to retire platform data completely:
    the only remaining platform data member was "wakeup" which
    was intended to make the vbus interrupt wakeup capable,
    but was not set by any users and thus remained unused. VBUS
    was not waking any devices up. Leave a comment about it so
    later developers using the platform can consider setting it
    to always enabled so plugging in USB wakes up the platform.

    Cc: Daniel Mack
    Cc: Haojian Zhuang
    Acked-by: Robert Jarzmik
    Acked-by: Felipe Balbi
    Acked-by: Sylwester Nawrocki
    Acked-by: Philipp Zabel
    Signed-off-by: Linus Walleij
    Link: https://lore.kernel.org/r/20200123155013.93249-1-linus.walleij@linaro.org
    Signed-off-by: Greg Kroah-Hartman

    Linus Walleij
     

06 Jan, 2020

1 commit


06 Dec, 2019

2 commits

  • This brings in the mainline tree right after armsoc contents was merged
    this release cycle, so that we can re-run savedefconfig, etc.

    Signed-off-by: Olof Johansson

    Olof Johansson
     
  • The conversion to properties changed one assignment and
    missed three other assignments in the same file, fix it
    up so the platform compiles.

    The bug was reported by a few build bots but noone noticed.
    I noticed it when making other changes to the PXA platforms.

    Link: https://lore.kernel.org/r/20191203104117.85517-1-linus.walleij@linaro.org
    Cc: Andy Shevchenko
    Fixes: 50ec88120ea1 ("can: mcp251x: get rid of legacy platform data")
    Signed-off-by: Linus Walleij
    Reviewed-by: Andy Shevchenko
    Signed-off-by: Olof Johansson

    Linus Walleij
     

02 Dec, 2019

1 commit

  • Pull backlight updates from Lee Jones:
    "New Functionality:
    - Add support for an enable GPIO; lm3630a_bl
    - Add support for short circuit handling; qcom-wled
    - Add support for automatic string detection; qcom-wled

    Fix-ups:
    - Update Device Tree bindings; lm3630a-backlight, led-backlight,
    qcom-wled
    - Constify; ipaq_micro_bl
    - Optimise for CPU cycles; pwm_bl
    - Coding style fix-ups; pwm_bl
    - Trivial fix-ups (white space, comments, renaming); pwm_bl,
    gpio_backlight, qcom-wled
    - Kconfig dependency hacking; LCD_HP700
    - Rename, refactor and add peripherals; pm8941-wled => qcom-wled
    - Make use of GPIO look-up tables; tosa_bl, tosa_lcd
    - Remove superfluous code; gpio_backlight
    - Adapt GPIO direction handling; gpio_backlight
    - Remove legacy use of platform data; gpio_backlight

    Bug Fixes:
    - Provide modules aliases; lm3630a_bl"

    * tag 'backlight-next-5.5' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/backlight: (32 commits)
    backlight: qcom-wled: Fix spelling mistake "trigged" -> "triggered"
    backlight: gpio: Pull gpio_backlight_initial_power_state() into probe
    backlight: gpio: Use a helper variable for &pdev->dev
    backlight: gpio: Remove unused fields from platform data
    sh: ecovec24: don't set unused fields in platform data
    backlight: gpio: Simplify the platform data handling
    sh: ecovec24: add additional properties to the backlight device
    backlight: gpio: Explicitly set the direction of the GPIO
    backlight: gpio: Remove stray newline
    backlight: gpio: Remove unneeded include
    video: backlight: tosa: Use GPIO lookup table
    backlight: qcom-wled: Add auto string detection logic
    backlight: qcom-wled: Add support for short circuit handling
    backlight: qcom-wled: Add support for WLED4 peripheral
    backlight: qcom-wled: Restructure the driver for WLED3
    backlight: qcom-wled: Rename PM8941* to WLED3
    backlight: qcom-wled: Add new properties for PMI8998
    backlight: qcom-wled: Restructure the qcom-wled bindings
    backlight: qcom-wled: Rename pm8941-wled.c to qcom-wled.c
    dt-bindings: backlight: lm3630a: Fix missing include
    ...

    Linus Torvalds
     

12 Nov, 2019

1 commit

  • Instead of using legacy platform data, switch to use device properties.
    For clock frequency we are using well established clock-frequency property.

    Users, two for now, are also converted here.

    Cc: Daniel Mack
    Cc: Haojian Zhuang
    Cc: Robert Jarzmik
    Cc: Russell King
    Signed-off-by: Andy Shevchenko
    Signed-off-by: Marc Kleine-Budde

    Andy Shevchenko
     

11 Nov, 2019

1 commit

  • The driver should not require a machine specific header. Change
    it to pass the GPIO line through a lookup table, and move the
    timing generator definitions into the drivers itself.

    Signed-off-by: Arnd Bergmann
    Acked-by: Robert Jarzmik
    Reviewed-by: Linus Walleij
    Reviewed-by: Daniel Thompson
    Signed-off-by: Lee Jones

    Arnd Bergmann
     

20 Jul, 2019

1 commit

  • Pull ARM SoC platform updates from Olof Johansson:
    "SoC platform changes. Main theme this merge window:

    - The Netx platform (Netx 100/500) platform is removed by Linus
    Walleij-- the SoC doesn't have active maintainers with hardware,
    and in discussions with the vendor the agreement was that it's OK
    to remove.

    - Russell King has a series of patches that cleans up and refactors
    SA1101 and RiscPC support"

    * tag 'armsoc-soc' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc: (47 commits)
    ARM: stm32: use "depends on" instead of "if" after prompt
    ARM: sa1100: convert to common clock framework
    ARM: exynos: Cleanup cppcheck shifting warning
    ARM: pxa/lubbock: remove lubbock_set_misc_wr() from global view
    ARM: exynos: Only build MCPM support if used
    arm: add missing include platform-data/atmel.h
    ARM: davinci: Use GPIO lookup table for DA850 LEDs
    ARM: OMAP2: drop explicit assembler architecture
    ARM: use arch_extension directive instead of arch argument
    ARM: imx: Switch imx7d to imx-cpufreq-dt for speed-grading
    ARM: bcm: Enable PINCTRL for ARCH_BRCMSTB
    ARM: bcm: Enable ARCH_HAS_RESET_CONTROLLER for ARCH_BRCMSTB
    ARM: riscpc: enable chained scatterlist support
    ARM: riscpc: reduce IRQ handling code
    ARM: riscpc: move RiscPC assembly files from arch/arm/lib to mach-rpc
    ARM: riscpc: parse video information from tagged list
    ARM: riscpc: add ecard quirk for Atomwide 3port serial card
    MAINTAINERS: mvebu: Add git entry
    soc: ti: pm33xx: Add a print while entering RTC only mode with DDR in self-refresh
    ARM: OMAP2+: Make some variables static
    ...

    Linus Torvalds
     

10 Jul, 2019

1 commit

  • Pull fbdev updates from Bartlomiej Zolnierkiewicz:

    - remove fbdev notifier usage for fbcon (as prep work to clean up the
    fbcon locking), add locking checks in vt/console code and make
    assorted cleanups in fbdev and backlight code (Daniel Vetter)

    - add COMPILE_TEST support to atmel_lcdfb, da8xx-fb, gbefb, imxfb,
    pvr2fb and pxa168fb drivers (me)

    - fix DMA API abuse in au1200fb and jz4740_fb drivers (Christoph
    Hellwig)

    - add check for new BGRT status field rotation bits in efifb driver
    (Hans de Goede)

    - mark expected switch fall-throughs in s3c-fb driver (Gustavo A. R.
    Silva)

    - remove fbdev mxsfb driver in favour of the drm version (Fabio
    Estevam)

    - remove broken rfbi code from omap2fb driver (me)

    - misc fixes (Arnd Bergmann, Shobhit Kukreti, Wei Yongjun, me)

    - misc cleanups (Gustavo A. R. Silva, Colin Ian King, me)

    * tag 'fbdev-v5.3' of git://github.com/bzolnier/linux: (62 commits)
    video: fbdev: imxfb: fix a typo in imxfb_probe()
    video: fbdev: s3c-fb: Mark expected switch fall-throughs
    video: fbdev: s3c-fb: fix sparse warnings about using incorrect types
    video: fbdev: don't print error message on framebuffer_alloc() failure
    video: fbdev: intelfb: return -ENOMEM on framebuffer_alloc() failure
    video: fbdev: s3c-fb: return -ENOMEM on framebuffer_alloc() failure
    vga_switcheroo: Depend upon fbcon being built-in, if enabled
    video: fbdev: omap2: remove rfbi
    video: fbdev: atmel_lcdfb: remove redundant initialization to variable ret
    video: fbdev-MMP: Use struct_size() in devm_kzalloc()
    video: fbdev: controlfb: fix warnings about comparing pointer to 0
    efifb: BGRT: Add check for new BGRT status field rotation bits
    jz4740_fb: fix DMA API abuse
    video: fbdev: pvr2fb: fix link error for pvr2fb_pci_exit
    video: fbdev: s3c-fb: add COMPILE_TEST support
    video: fbdev: imxfb: fix sparse warnings about using incorrect types
    video: fbdev: pvr2fb: fix build warning when compiling as module
    fbcon: Export fbcon_update_vcs
    backlight: simplify lcd notifier
    staging/olpc_dcon: Add drm conversion to TODO
    ...

    Linus Torvalds
     

25 Jun, 2019

1 commit


24 Jun, 2019

1 commit


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
     

13 Jun, 2019

1 commit

  • With

    commit 6104c37094e729f3d4ce65797002112735d49cd1
    Author: Daniel Vetter
    Date: Tue Aug 1 17:32:07 2017 +0200

    fbcon: Make fbcon a built-time depency for fbdev

    we have a static dependency between fbcon and fbdev, and we can
    replace the indirection through the notifier chain with a function
    call.

    v2: Sam Ravnborg noticed that mach-pxa/am200epd.c has a notifier too,
    and listens to this.

    ...

    Looking at the code it seems to wait for some fb to show up, so that
    it can get the framebuffer base address from the fb_info struct. I
    suspect his is some firmware fbdev. Then it uses that information to
    let the real fbdev driver (metronomefb.c by the looks) get at the
    framebuffer memory.

    This doesn't looke like it's easy to fix (except by deleting the
    entire thing, seems untouched since 2008, we might be able to get away
    with that), so let's just stuff a few #ifdef into fb.h and fbmem.c and
    cry over them for a bit.

    Signed-off-by: Daniel Vetter
    Reviewed-by: Sam Ravnborg
    Reviewed-by: Maarten Lankhorst
    Cc: Bartlomiej Zolnierkiewicz
    Cc: Daniel Vetter
    Cc: Hans de Goede
    Cc: Greg Kroah-Hartman
    Cc: "Noralf Trønnes"
    Cc: Yisheng Xie
    Cc: Peter Rosin
    Cc: "Michał Mirosław"
    Cc: Thomas Zimmermann
    Cc: Mikulas Patocka
    Cc: linux-fbdev@vger.kernel.org
    Cc: Daniel Mack
    Cc: Haojian Zhuang
    Cc: Robert Jarzmik
    Cc: Konstantin Khorenko
    Cc: Prarit Bhargava
    Cc: Gerd Hoffmann
    Cc: Steve Sakoman
    Cc: Steve Sakoman
    Cc: linux-arm-kernel@lists.infradead.org
    Link: https://patchwork.freedesktop.org/patch/msgid/20190528090304.9388-11-daniel.vetter@ffwll.ch

    Daniel Vetter
     

05 Jun, 2019

2 commits

  • Based on 1 normalized pattern(s):

    this code is licenced under the gplv2

    extracted by the scancode license scanner the SPDX license identifier

    GPL-2.0-only

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

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

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

    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
    publishhed 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 48 file(s).

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

    Thomas Gleixner
     

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

1 commit


15 May, 2019

1 commit


07 Mar, 2019

1 commit

  • Pull ARM SoC platform updates from Arnd Bergmann:
    "The APM X-Gene platform is now maintained by folks from Ampere
    computing that took over the product line a while ago, this gets
    reflected in the MAINTAINERS file.

    Cleanups continue on the older mach-davinci and mach-pxa platform, to
    get them to be more like the modern ones. For pxa, we now remove the
    Raumfeld platform code as it now works with device tree based booting.

    i.MX adds a couple new features for the i.MX7ULP SoC

    Mediatek gains support for a new SoC: MT7629 is a new wireless router
    platform, following MT7623.

    Aside from those, there are the usual minor cleanups and bugfixes
    across several platforms"

    * tag 'armsoc-soc' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc: (49 commits)
    MAINTAINERS: Update Ampere email address
    usb: ohci-da8xx: remove unused callbacks from platform data
    ARM: davinci: da830-evm: remove legacy usb helpers
    ARM: davinci: omapl138-hawk: remove legacy usb helpers
    usb: ohci-da8xx: add vbus and overcurrent gpios
    ARM: davinci: da830-evm: use gpio lookup entries for usb gpios
    ARM: davinci: omapl138-hawk: use gpio lookup entries for usb gpios
    usb: ohci-da8xx: add a helper pointer to &pdev->dev
    usb: ohci-da8xx: add a new line after local variables
    arm64: meson: enable g12a clock controller
    MAINTAINERS: Add entry for uDPU board
    ARM: davinci: da850-evm: use GPIO hogs instead of the legacy API
    arm: mediatek: add MT7629 smp bring up code
    Revert "ARM: mediatek: add MT7623a smp bringup code"
    dt-bindings: soc: fix typo of MT8173 power dt-bindings
    ARM: meson: remove COMMON_CLK_AMLOGIC selection
    arm64: meson: remove COMMON_CLK_AMLOGIC selection
    ARM: lpc32xx: remove platform data of ARM PL111 LCD controller
    ARM: lpc32xx: remove platform data of ARM PL180 SD/MMC controller
    ARM: lpc32xx: Use kmemdup to replace duplicating its implementation
    ...

    Linus Torvalds
     

05 Mar, 2019

1 commit

  • Pull spi updates from Mark Brown:
    "A fairly quiet release for SPI, the biggest thing is the conversion to
    use GPIO descriptors which is now 90% done but still needs some
    stragglers converting.

    Summary:

    - Support for inter-word delays

    - Conversion of the core and most drivers to use GPIO descriptors for
    GPIO controlled chip selects

    - New drivers for NXP FlexSPI and QuadSPI, SiFive and Spreadtrum"

    * tag 'spi-v5.1' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi: (104 commits)
    spi: sh-msiof: Restrict bits per word to 8/16/24/32 on R-Car Gen2/3
    spi: sifive: Remove redundant dev_err call in sifive_spi_probe()
    spi: sifive: Remove spi_master_put in sifive_spi_remove()
    spi: spi-gpio: fix SPI_CS_HIGH capability
    spi: pxa2xx: Setup maximum supported DMA transfer length
    spi: sifive: Add driver for the SiFive SPI controller
    spi: sifive: Add DT documentation for SiFive SPI controller
    spi: sprd: Add a prefix for SPI DMA channel macros
    spi: sprd: spi: sprd: Add DMA mode support
    dt-bindings: spi: Add the DMA properties for the SPI dma mode
    spi: sprd: Add the SPI irq function for the SPI DMA mode
    dt-bindings: spi: imx: Add an entry for the i.MX8QM compatible
    spi: use gpio[d]_set_value_cansleep for setting chipselect GPIO
    spi: gpio: Advertise support for SPI_CS_HIGH
    spi: sh-msiof: Replace spi_master by spi_controller
    spi: sh-hspi: Replace spi_master by spi_controller
    spi: rspi: Replace spi_master by spi_controller
    spi: atmel-quadspi: add support for sam9x60 qspi controller
    dt-bindings: spi: atmel-quadspi: QuadSPI driver for Microchip SAM9X60
    spi: atmel-quadspi: add support for named peripheral clock
    ...

    Linus Torvalds
     

06 Feb, 2019

2 commits

  • 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
     
  • This converts the GPIO regulator driver to use decriptors only.

    We have to let go of the array gpio handling: the fetched descriptors
    are handled individually anyway, and the array retrieveal function
    does not make it possible to retrieve each GPIO descriptor with
    unique flags. Instead get them one by one.

    We request the "enable" GPIO separately as before, and make sure
    that this line is requested as nonexclusive since enable lines can
    be shared and the regulator core expects this.

    Most users of the GPIO regulator are using device tree.

    There are two boards in the kernel using the gpio regulator from a
    non-devicetree path: PXA hx4700 and magician. Make sure to switch
    these over to use descriptors as well.

    Cc: Philipp Zabel # Magician
    Cc: Petr Cvek # Magician
    Cc: Robert Jarzmik # PXA
    Cc: Paul Parsons # hx4700
    Cc: Kevin Hilman # Meson
    Cc: Neil Armstrong # Meson
    Tested-by: Marek Szyprowski
    Signed-off-by: Linus Walleij
    Signed-off-by: Mark Brown

    Linus Walleij
     

25 Jan, 2019

1 commit

  • Commit c5418a0b98c1 ("usb: gadget: pxa25x_udc: move register definitions
    from arch") removed inclusion of mach/pxa25x-udc.h from the PXA25x UDC
    driver, the contents of the header file was also wiped out, however the
    file itself hasn't been removed, now this change removes the unused empty
    header file.

    Signed-off-by: Vladimir Zapolskiy
    Signed-off-by: Robert Jarzmik

    Vladimir Zapolskiy
     

23 Jan, 2019

1 commit


10 Jan, 2019

1 commit


06 Jan, 2019

1 commit

  • Pull ARM updates from Russell King:
    "Included in this update:

    - Florian Fainelli noticed that userspace segfaults caused by the
    lack of kernel-userspace helpers was hard to diagnose; we now issue
    a warning when userspace tries to use the helpers but the kernel
    has them disabled.

    - Ben Dooks wants compatibility for the old ATAG serial number with
    DT systems.

    - Some cleanup of assembly by Nicolas Pitre.

    - User accessors optimisation from Vincent Whitchurch.

    - More robust kdump on SMP systems from Yufen Wang.

    - Sebastian Andrzej Siewior noticed problems with the SMP "boot_lock"
    on RT kernels, and so we convert the Versatile series of platforms
    to use a raw spinlock instead, consolidating the Versatile
    implementation. We entirely remove the boot_lock on OMAP systems,
    where it's unnecessary. Further patches for other systems will be
    submitted for the following merge window.

    - Start switching old StrongARM-11x0 systems to use gpiolib rather
    than their private GPIO implementation - mostly PCMCIA bits.

    - ARM Kconfig cleanups.

    - Cleanup a mostly harmless mistake in the recent Spectre patch in
    4.20 (which had the effect that data that can be placed into the
    init sections was incorrectly always placed in the rodata section)"

    * tag 'for-4.21' of git://git.armlinux.org.uk/~rmk/linux-arm: (25 commits)
    ARM: omap2: remove unnecessary boot_lock
    ARM: versatile: rename and comment SMP implementation
    ARM: versatile: convert boot_lock to raw
    ARM: vexpress/realview: consolidate immitation CPU hotplug
    ARM: fix the cockup in the previous patch
    ARM: sa1100/cerf: switch to using gpio_led_register_device()
    ARM: sa1100/assabet: switch to using gpio leds
    ARM: sa1100/assabet: add gpio keys support for right-hand two buttons
    ARM: sa1111: remove legacy GPIO interfaces
    pcmcia: sa1100*: remove redundant bvd1/bvd2 setting
    ARM: pxa/lubbock: switch PCMCIA to MAX1600 library
    ARM: pxa/mainstone: switch PCMCIA to MAX1600 library and gpiod APIs
    ARM: sa1100/neponset: switch PCMCIA to MAX1600 library and gpiod APIs
    ARM: sa1100/jornada720: switch PCMCIA to gpiod APIs
    pcmcia: add MAX1600 library
    ARM: sa1100: explicitly register sa11x0-pcmcia devices
    ARM: 8813/1: Make aligned 2-byte getuser()/putuser() atomic on ARMv6+
    ARM: 8812/1: Optimise copy_{from/to}_user for !CPU_USE_DOMAINS
    ARM: 8811/1: always list both ldrd/strd registers explicitly
    ARM: 8808/1: kexec:offline panic_smp_self_stop CPU
    ...

    Linus Torvalds
     

02 Jan, 2019

1 commit


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
     

30 Dec, 2018

1 commit

  • Pull Kconfig file consolidation from Masahiro Yamada:
    "Consolidation of bus (PCI, PCMCIA, EISA, RapidIO) config entries by
    Christoph Hellwig.

    Currently, every architecture that wants to provide common peripheral
    busses needs to add some boilerplate code and include the right
    Kconfig files. This series instead just selects the presence (when
    needed) and then handles everything in the bus-specific Kconfig file
    under drivers/"

    * tag 'kconfig-v4.21-2' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild:
    pcmcia: remove per-arch PCMCIA config entry
    eisa: consolidate EISA Kconfig entry in drivers/eisa
    rapidio: consolidate RAPIDIO config entry in drivers/rapidio
    pcmcia: allow PCMCIA support independent of the architecture
    PCI: consolidate the PCI_SYSCALL symbol
    PCI: consolidate the PCI_DOMAINS and PCI_DOMAINS_GENERIC config options
    PCI: consolidate PCI config entry in drivers/pci
    MIPS: remove the HT_PCI config option

    Linus Torvalds
     

29 Dec, 2018

1 commit

  • Pull MMC updates from Ulf Hansson:
    "This time, this pull request contains changes crossing subsystems and
    archs/platforms, which is mainly because of a bigger modernization of
    moving from legacy GPIO to GPIO descriptors for MMC (by Linus
    Walleij).

    Additionally, once again, I am funneling changes to
    drivers/misc/cardreader/* and drivers/memstick/* through my MMC tree,
    mostly due to that we lack a maintainer for these.

    Summary:

    MMC core:
    - Cleanup BKOPS support
    - Introduce MMC_CAP_SYNC_RUNTIME_PM
    - slot-gpio: Delete legacy slot GPIO handling

    MMC host:
    - alcor: Add new mmc host driver for Alcor Micro PCI based cardreader
    - bcm2835: Several improvements to better recover from errors
    - jz4740: Rework and fixup pre|post_req support
    - mediatek: Add support for SDIO IRQs
    - meson-gx: Improve clock phase management
    - meson-gx: Stop descriptor on errors
    - mmci: Complete the sbc error path by sending a stop command
    - renesas_sdhi/tmio: Fixup reset/resume operations
    - renesas_sdhi: Add support for r8a774c0 and R7S9210
    - renesas_sdhi: Whitelist R8A77990 SDHI
    - renesas_sdhi: Fixup eMMC HS400 compatibility issues for H3 and M3-W
    - rtsx_usb_sdmmc: Re-work card detection/removal support
    - rtsx_usb_sdmmc: Re-work runtime PM support
    - sdhci: Fix timeout loops for some variant drivers
    - sdhci: Improve support for error handling due to failing commands
    - sdhci-acpi/pci: Disable LED control for Intel BYT-based controllers
    - sdhci_am654: Add new SDHCI variant driver to support TI's AM654 SOCs
    - sdhci-of-esdhc: Add support for eMMC HS400 mode
    - sdhci-omap: Fixup reset support
    - sdhci-omap: Workaround errata regarding SDR104/HS200 tuning failures
    - sdhci-msm: Fixup sporadic write transfers issues for SDR104/HS200
    - sdhci-msm: Fixup dynamical clock gating issues
    - various: Complete converting all hosts into using slot GPIO descriptors

    Other:
    - Move GPIO mmc platform data for mips/sh/arm to GPIO descriptors
    - Add new Alcor Micro cardreader PCI driver
    - Support runtime power management for memstick rtsx_usb_ms driver
    - Use USB remote wakeups for card detection for rtsx_usb misc driver"

    * tag 'mmc-v4.21' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc: (99 commits)
    mmc: mediatek: Add MMC_CAP_SDIO_IRQ support
    mmc: renesas_sdhi_internal_dmac: Whitelist r8a774c0
    dt-bindings: mmc: renesas_sdhi: Add r8a774c0 support
    mmc: core: Cleanup BKOPS support
    mmc: core: Drop redundant check in mmc_send_hpi_cmd()
    mmc: sdhci-omap: Workaround errata regarding SDR104/HS200 tuning failures (i929)
    dt-bindings: sdhci-omap: Add note for cpu_thermal
    mmc: sdhci-acpi: Disable LED control for Intel BYT-based controllers
    mmc: sdhci-pci: Disable LED control for Intel BYT-based controllers
    mmc: sdhci: Add quirk to disable LED control
    mmc: mmci: add variant property to set command stop bit
    misc: alcor_pci: fix spelling mistake "invailid" -> "invalid"
    mmc: meson-gx: add signal resampling
    mmc: meson-gx: align default phase on soc vendor tree
    mmc: meson-gx: remove useless lock
    mmc: meson-gx: make sure the descriptor is stopped on errors
    mmc: sdhci_am654: Add Initial Support for AM654 SDHCI driver
    dt-bindings: mmc: sdhci-of-arasan: Add deprecated message for AM65
    dt-bindings: mmc: sdhci-am654: Document bindings for the host controllers on TI's AM654 SOCs
    mmc: sdhci-msm: avoid unused function warning
    ...

    Linus Torvalds
     

17 Dec, 2018

3 commits

  • After converting the PXA driver to use GPIO descriptors for
    card detect and write protect it is relatively simple to
    convert it to also use a descriptor for getting the optional
    power control GPIO.

    The polarity inversion flag can also go away from the platform
    data since this is indicated in the GPIO machine descriptor
    table.

    Cc: Daniel Mack
    Cc: Robert Jarzmik
    Cc: Bartosz Golaszewski
    Cc: Andrea Adami
    Signed-off-by: Linus Walleij
    Acked-by: Robert Jarzmik
    Signed-off-by: Ulf Hansson

    Linus Walleij
     
  • This deletes the platform data passed for card detect and
    write protect from various PXA machines.

    Make sure to keep .gpio_card_ro_invert as this is still in
    use by some machines and needed to set the right flag to
    the MMC core (will be cleaned up later).

    Cc: Daniel Mack
    Cc: Robert Jarzmik
    Cc: Bartosz Golaszewski
    Cc: Andrea Adami
    Signed-off-by: Linus Walleij
    Acked-by: Robert Jarzmik
    Signed-off-by: Ulf Hansson

    Linus Walleij
     
  • The Palm27x devices set up the MMC card detect and
    write protect lines with a special helper function.
    Augment this helper function to also accept an optional
    GPIO descriptor table and pass and register this for
    all the Palm27x devices in that family.

    Cc: Daniel Mack
    Cc: Robert Jarzmik
    Cc: Bartosz Golaszewski
    Cc: Andrea Adami
    Acked-by: Robert Jarzmik
    Signed-off-by: Linus Walleij
    Signed-off-by: Ulf Hansson

    Linus Walleij