09 Aug, 2014

1 commit

  • Pull ARM SoC driver changes from Olof Johansson:
    "A handful of driver-related changes. We've had a bunch of them going
    in through other branches as well, so it's only a part of what we
    really have this release.

    Larger pieces are:

    - Removal of a now unused PWM driver for atmel
    [ This includes AVR32 changes that have been appropriately acked ]
    - Performance counter support for the arm CCN interconnect
    - OMAP mailbox driver cleanups and consolidation
    - PCI and SATA PHY drivers for SPEAr 13xx platforms
    - Redefinition (with backwards compatibility!) of PCI DT bindings for
    Tegra to better model regulators/power"

    Note: this merge also fixes up the semantic conflict with the new
    calling convention for devm_phy_create(), see commit f0ed817638b5 ("phy:
    core: Let node ptr of PHY point to PHY and not of PHY provider") that
    came in through Greg's USB tree.

    Semantic merge patch by Stephen Rothwell through
    the next tree.

    * tag 'drivers-for-3.17' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (38 commits)
    bus: arm-ccn: Fix error handling at event allocation
    mailbox/omap: add a parent structure for every IP instance
    mailbox/omap: remove the private mailbox structure
    mailbox/omap: consolidate OMAP mailbox driver
    mailbox/omap: simplify the fifo assignment by using macros
    mailbox/omap: remove omap_mbox_type_t from mailbox ops
    mailbox/omap: remove OMAP1 mailbox driver
    mailbox/omap: use devm_* interfaces
    bus: ARM CCN: add PERF_EVENTS dependency
    bus: ARM CCN PMU driver
    PCI: spear: Remove spear13xx_pcie_remove()
    PCI: spear: Fix Section mismatch compilation warning for probe()
    ARM: tegra: Remove legacy PCIe power supply properties
    PCI: tegra: Remove deprecated power supply properties
    PCI: tegra: Implement accurate power supply scheme
    ARM: SPEAr13xx: Update defconfigs
    ARM: SPEAr13xx: Add pcie and miphy DT nodes
    ARM: SPEAr13xx: Add bindings and dt node for misc block
    ARM: SPEAr13xx: Fix static mapping table
    phy: Add drivers for PCIe and SATA phy on SPEAr13xx
    ...

    Linus Torvalds
     

30 Jul, 2014

1 commit


24 Jul, 2014

1 commit


09 Jul, 2014

1 commit

  • The leds-atmel-pwm driver is now obsolete. It is not used by any mainlined
    boards and is replaced by the generic leds_pwm with the pwm-atmel driver using
    the generic PWM framework.

    Signed-off-by: Alexandre Belloni
    Acked-by: Bryan Wu
    Signed-off-by: Nicolas Ferre

    Alexandre Belloni
     

04 Jul, 2014

3 commits


28 Jun, 2014

2 commits


26 Jun, 2014

10 commits


13 Jun, 2014

1 commit

  • Pull LED updates from Bryan Wu:
    "I just found merge window is open and I'm quite busy and almost forget
    to send out this pull request. Thanks Russell and Alexandre ping me
    about this.

    So basically we got some clean up and leds-pwm fixing patches from
    Russell"

    * 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/cooloney/linux-leds:
    leds: Remove duplicated OOM message for individual driver
    drivers/leds: Replace __get_cpu_var use through this_cpu_ptr
    leds: lp55xx: add DT bindings for LP55231
    leds: 88pm860x: Fix missing refcount decrement for parent of_node
    leds: 88pm860x: Use of_get_child_by_name
    leds: leds-pwm: add DT support for LEDs wired to supply
    leds: leds-pwm: implement PWM inversion
    leds: leds-pwm: convert OF parsing code to use led_pwm_add()
    leds: leds-pwm: provide a common function to setup a single led-pwm device
    leds: pca9685: Remove leds-pca9685 driver
    dell-led: add mic mute led interface

    Linus Torvalds
     

12 Jun, 2014

1 commit

  • …ierry.reding/linux-pwm

    Pull pwm changes from Thierry Reding:
    "The majority of these changes are cleanups and fixes across all
    drivers. Redundant error messages are removed and more PWM
    controllers set the .can_sleep flag to signal that they can't be used
    in atomic context.

    Support is added for the Broadcom Kona family of SoCs and the Intel
    LPSS driver can now probe PCI devices in addition to ACPI devices.
    Upon shutdown, the pwm-backlight driver will now power off the
    backlight. It also uses the new descriptor-based GPIO API for more
    concise GPIO handling.

    A large chunk of these changes also converts platforms to use the
    lookup mechanism rather than relying on the global number space to
    reference PWM devices. This is largely in preparation for more
    unification and cleanups in future patches. Eventually it will allow
    the legacy PWM API to be removed"

    * tag 'pwm/for-3.16-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/thierry.reding/linux-pwm: (38 commits)
    pwm: fsl-ftm: set pwm_chip can_sleep flag
    pwm: ab8500: Fix wrong value shift for disable/enable PWM
    pwm: samsung: do not set manual update bit in pwm_samsung_config
    pwm: lp3943: Set pwm_chip can_sleep flag
    pwm: atmel: set pwm_chip can_sleep flag
    pwm: mxs: set pwm_chip can_sleep flag
    pwm: tiehrpwm: inline accessor functions
    pwm: tiehrpwm: don't build PM related functions when not needed
    pwm-backlight: retrieve configured PWM period
    leds: leds-pwm: retrieve configured PWM period
    ARM: pxa: hx4700: use PWM_LOOKUP to initialize struct pwm_lookup
    ARM: shmobile: armadillo: use PWM_LOOKUP to initialize struct pwm_lookup
    ARM: OMAP3: Beagle: use PWM_LOOKUP to initialize struct pwm_lookup
    pwm: modify PWM_LOOKUP to initialize all struct pwm_lookup members
    ARM: pxa: hx4700: initialize all the struct pwm_lookup members
    ARM: OMAP3: Beagle: initialize all the struct pwm_lookup members
    pwm: renesas-tpu: remove unused struct tpu_pwm_platform_data
    ARM: shmobile: armadillo: initialize all struct pwm_lookup members
    pwm: add period and polarity to struct pwm_lookup
    pwm: twl: Really disable twl6030 PWMs
    ...

    Linus Torvalds
     

04 Jun, 2014

2 commits

  • Pull HID patches from Jiri Kosina:
    - RMI driver for Synaptics touchpads, by Benjamin Tissoires, Andrew
    Duggan and Jiri Kosina
    - cleanup of hid-sony driver and improved support for Sixaxis and
    Dualshock 4, by Frank Praznik
    - other usual small fixes and support for new device IDs

    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid: (29 commits)
    HID: thingm: thingm_fwinfo[] doesn't need to be global
    HID: core: add two new usages for digitizer
    HID: hid-sensor-hub: new device id and quirk for STM Sensor hub
    HID: usbhid: enable NO_INIT_REPORTS quirk for Semico USB Keykoard
    HID: hid-sensor-hub: Set report quirk for Microsoft Surface
    HID: debug: add labels for HID Sensor Usages
    HID: uhid: Use kmemdup instead of kmalloc + memcpy
    HID: rmi: do not handle touchscreens through hid-rmi
    HID: quirk for Saitek RAT7 and MMO7 mices' mode button
    HID: core: fix validation of report id 0
    HID: rmi: fix masks for x and w_x data
    HID: rmi: fix wrong struct field name
    HID: rmi: do not fetch more than 16 bytes in a query
    HID: rmi: check for the existence of some optional queries before reading query 12
    HID: i2c-hid: hid report descriptor retrieval changes
    HID: add missing hid usages
    HID: hid-sony - allow 3rd party INTEC controller to turn off all leds
    HID: sony: Add blink support to the Sixaxis and DualShock 4 LEDs
    HID: sony: Initialize the controller LEDs with a device ID value
    HID: sony: Use the controller Bluetooth MAC address as the unique value in the battery name string
    ...

    Linus Torvalds
     
  • …6/thingm' into for-linus

    Jiri Kosina
     

21 May, 2014

1 commit


11 May, 2014

1 commit

  • I got a build error today, since LEDS_VERSATILE can be built-in while LEDS_CLASS
    is a module:

    drivers/built-in.o: In function `versatile_leds_probe':
    :(.text+0x155020): undefined reference to `led_classdev_register'

    I suggest we turn this option into 'tristate' so that the dependency
    tracking works correctly.

    Signed-off-by: Arnd Bergmann
    Acked-by: Linus Walleij
    Signed-off-by: Olof Johansson

    Arnd Bergmann
     

08 May, 2014

11 commits


06 May, 2014

1 commit


15 Apr, 2014

1 commit

  • This patch refactors the way the thingm driver registers a blink(1) LED.
    In order to make the driver simpler and more standard, drop the "rgb"
    sysfs attribute and create one instance of LED class per RGB channel.

    Actually, the name of the LED class instance registered for a blink(1)
    device is "blink1::ABCD", where ABCD is the last 4 chars of the serial
    number. The driver now registers 3 instances per RGB chip, named
    "thingmX:{red,green,blue}:ledY" where X is the hidraw minor number and Y
    is the RGB chip number (as seen by the firmware).

    This patch also uses work queues to defer calls with the device, which
    now allows triggers to work as expected with this LED device.

    Also remove the brightness structure field and the brightness_get
    backend, as it is already handled by the LED class, and changes the
    prefix of functions and structures to thingm_ to match the driver name.

    Signed-off-by: Vivien Didelot
    Signed-off-by: Jiri Kosina

    Vivien Didelot
     

11 Apr, 2014

1 commit

  • Pull LED updates from Bryan Wu:
    "This cycle we got:
    - new driver for leds-mc13783
    - bug fixes
    - code cleanup"

    * 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/cooloney/linux-leds:
    leds: make sure we unregister a trigger only once
    leds: leds-pwm: properly clean up after probe failure
    leds: clevo-mail: Make probe function __init
    leds-ot200: Fix dependencies
    leds-gpio: of: introduce MODULE_DEVICE_TABLE for module autoloading
    leds: clevo-mail: remove __initdata marker
    leds: leds-ss4200: remove __initdata marker
    leds: blinkm: remove unnecessary spaces
    leds: lp5562: remove unnecessary parentheses
    leds: leds-ss4200: remove DEFINE_PCI_DEVICE_TABLE macro
    leds: leds-s3c24xx: Trivial cleanup in header file
    drivers/leds: delete non-required instances of include
    leds: leds-gpio: add retain-state-suspended property
    leds: leds-mc13783: Add devicetree support
    leds: leds-mc13783: Remove unnecessary cleaning of registers on exit
    leds: leds-mc13783: Use proper "max_brightness" value fo LEDs
    leds: leds-mc13783: Use LED core PM functions
    leds: leds-mc13783: Add MC34708 LED support
    leds: Turn off led if blinking is disabled
    ledtrig-cpu: Handle CPU hot(un)plugging

    Linus Torvalds
     

08 Apr, 2014

1 commit

  • Currently, we may attempt to unregister a trigger more than once, for
    example when we receive two consecutive reboot notifications, or when
    we do a regular unregistration plus reboot notification.

    This leads to the following error since we try to delete the list node
    twice:

    [ 2780.254922] WARNING: CPU: 0 PID: 13764 at lib/list_debug.c:53 __list_del_entry+0x3e/0xe0()
    [ 2780.265559] list_del corruption, ffffffffa5eb6470->next is LIST_POISON1 (dead000000100100)
    [ 2780.271710] Modules linked in:
    [ 2780.274156] CPU: 0 PID: 13764 Comm: kworker/0:2 Tainted: G W 3.14.0-next-20140403-sasha-00012-gef5fa7d-dirty #373
    [ 2780.283063] Workqueue: events do_poweroff
    [ 2780.285644] 0000000000000009 ffff8800330dbb38 ffffffffa34bfa33 0000000000002fe0
    [ 2780.291571] ffff8800330dbb88 ffff8800330dbb78 ffffffffa015a37c ffff8800330dbb68
    [ 2780.296670] ffffffffa5eb6470 0000000000000000 ffffffffa5eb6400 ffffffffa5ad7430
    [ 2780.299756] Call Trace:
    [ 2780.301530] dump_stack (lib/dump_stack.c:52)
    [ 2780.303802] warn_slowpath_common (kernel/panic.c:418)
    [ 2780.306151] warn_slowpath_fmt (kernel/panic.c:433)
    [ 2780.308156] __list_del_entry (lib/list_debug.c:51 (discriminator 1))
    [ 2780.310800] list_del (lib/list_debug.c:78)
    [ 2780.313175] led_trigger_unregister (drivers/leds/led-triggers.c:225)
    [ 2780.315599] heartbeat_reboot_notifier (drivers/leds/trigger/ledtrig-heartbeat.c:119)
    [ 2780.317247] notifier_call_chain (kernel/notifier.c:95)
    [ 2780.320014] __blocking_notifier_call_chain (kernel/notifier.c:316)
    [ 2780.323263] blocking_notifier_call_chain (kernel/notifier.c:326)
    [ 2780.326096] kernel_power_off (include/linux/kmod.h:95 kernel/reboot.c:153 kernel/reboot.c:179)
    [ 2780.327883] do_poweroff (kernel/power/poweroff.c:23)
    [ 2780.330748] process_one_work (kernel/workqueue.c:2221 include/linux/jump_label.h:105 include/trace/events/workqueue.h:111 kernel/workqueue.c:2226)
    [ 2780.333027] ? process_one_work (include/linux/workqueue.h:186 kernel/workqueue.c:611 kernel/workqueue.c:638 kernel/workqueue.c:2214)
    [ 2780.335487] process_scheduled_works (include/linux/list.h:188 kernel/workqueue.c:2277)
    [ 2780.337101] worker_thread (kernel/workqueue.c:2352)
    [ 2780.338712] ? rescuer_thread (kernel/workqueue.c:2297)
    [ 2780.341326] kthread (kernel/kthread.c:219)
    [ 2780.343446] ? kthread_create_on_node (kernel/kthread.c:185)
    [ 2780.345733] ret_from_fork (arch/x86/kernel/entry_64.S:555)
    [ 2780.347168] ? kthread_create_on_node (kernel/kthread.c:185)

    Prevent it by making sure we don't attempt to unregister a trigger that
    is not in the triggers list.

    Signed-off-by: Sasha Levin
    Signed-off-by: Bryan Wu

    Sasha Levin