04 May, 2013

2 commits

  • Basically it's the same as the original DS75 but much faster.

    Signed-off-by: Jean Delvare
    Acked-by: Guenter Roeck

    Jean Delvare
     
  • Most LM75-compatible chips can either sample much faster or with a
    much better resolution than the original LM75 chip. So far the lm75
    driver did not let the user take benefit of these improvements. Do it
    now.

    I decided to almost always configure the chip to use the best
    resolution possible, which also means the longest sample time. The
    only chips for which I didn't are the DS75, DS1775 and STDS75, because
    they are really too slow in 12-bit mode (1.2 to 1.5 second worst case)
    so I went for 11-bit mode as a more reasonable tradeoff. This choice is
    dictated by the fact that the hwmon subsystem is meant for system
    monitoring, it has never been supposed to be ultra-fast, and as a
    matter of fact we do cache the sampled values in almost all drivers.

    If anyone isn't pleased with these default settings, they can always
    introduce a platform data structure or DT support for the lm75. That
    being said, it seems nobody ever complained that the driver wouldn't
    refresh the value faster than every 1.5 second, and the change made
    it faster for all chips even in 12-bit mode, so I don't expect any
    complaint.

    Signed-off-by: Jean Delvare
    Acked-by: Guenter Roeck

    Jean Delvare
     

01 May, 2013

1 commit

  • Pull battery updates from Anton Vorontsov:
    "Highlights:

    - OpenFirmware/DeviceTree support for the Power Supply core: the core
    now automatically populates supplied_from hierarchy from the device
    tree. With these patches chargers and batteries can now lookup
    each other without the board files support shim. Rhyland Klein at
    NVIDIA did the work

    - New ST-Ericsson ABX500 hwmon driver. The driver is heavily using
    the AB85xx core and depends on some recent changes to it, so that
    is why the driver comes through the battery tree. It has an
    appropriate ack from the hwmon maintainer (i.e. Guenter Roeck).
    Martin Persson at ST-Ericsson and Hongbo Zhang at Linaro authored
    the driver

    - Final bits to sync AB85xx ST-Ericsson changes into mainline. The
    changes touch mfd parts, but these were acked by the appropriate
    MFD maintainer (ie Samuel Ortiz). Lee Jones at Linaro did most of
    the work and lead the submission process.

    Minor changes, but still worth mentioning:

    - Battery temperature reporting fix for Nokia N900 phones
    - Versatile Express poweroff driver moved into drivers/power/reset/
    - Tree-wide: use devm_kzalloc() where appropriate
    - Tree-wide: dev_pm_ops cleanups/fixes"

    * tag 'for-v3.10' of git://git.infradead.org/battery-2.6: (112 commits)
    pm2301-charger: Fix suspend/resume
    charger-manager: Use kmemdup instead of kzalloc + memcpy
    power_supply: Populate supplied_from hierarchy from the device tree
    power_supply: Add core support for supplied_from
    power_supply: Define Binding for power-supplies
    rx51_battery: Fix reporting temperature
    hwmon: Add ST-Ericsson ABX500 hwmon driver
    ab8500_bmdata: Export abx500_res_to_temp tables for hwmon
    ab8500_{bmdata,fg}: Add const attributes to some data arrays
    ab8500_bmdata: Eliminate CamelCase warning of some variables
    ab8500_btemp: Make ab8500_btemp_get* interfaces public
    goldfish_battery: Use resource_size()
    lp8788-charger: Use PAGE_SIZE for the sysfs read operation
    max8925_power: Use devm_kzalloc()
    da9030_battery: Use devm_kzalloc()
    da9052-battery: Use devm_kzalloc()
    ds2760_battery: Use devm_kzalloc()
    ds2780_battery: Use devm_kzalloc()
    gpio-charger: Use devm_kzalloc()
    isp1704_charger: Use devm_kzalloc()
    ...

    Linus Torvalds
     

21 Apr, 2013

1 commit


17 Apr, 2013

1 commit

  • Each of ST-Ericsson X500 chip set series consists of both ABX500 and DBX500
    chips. This is ABX500 hwmon driver, where the abx500.c is a common layer for
    all ABX500s, and the ab8500.c is specific for AB8500 chip. Under this designed
    structure, other chip specific files can be added simply using the same common
    layer abx500.c.

    Signed-off-by: Hongbo Zhang
    Reviewed-by: Guenter Roeck
    Acked-by: Guenter Roeck
    Signed-off-by: Anton Vorontsov

    Hongbo Zhang
     

13 Apr, 2013

1 commit


08 Apr, 2013

13 commits


19 Mar, 2013

1 commit


04 Mar, 2013

3 commits


07 Feb, 2013

8 commits


26 Jan, 2013

2 commits


20 Dec, 2012

2 commits


14 Dec, 2012

2 commits

  • Pull trivial branch from Jiri Kosina:
    "Usual stuff -- comment/printk typo fixes, documentation updates, dead
    code elimination."

    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (39 commits)
    HOWTO: fix double words typo
    x86 mtrr: fix comment typo in mtrr_bp_init
    propagate name change to comments in kernel source
    doc: Update the name of profiling based on sysfs
    treewide: Fix typos in various drivers
    treewide: Fix typos in various Kconfig
    wireless: mwifiex: Fix typo in wireless/mwifiex driver
    messages: i2o: Fix typo in messages/i2o
    scripts/kernel-doc: check that non-void fcts describe their return value
    Kernel-doc: Convention: Use a "Return" section to describe return values
    radeon: Fix typo and copy/paste error in comments
    doc: Remove unnecessary declarations from Documentation/accounting/getdelays.c
    various: Fix spelling of "asynchronous" in comments.
    Fix misspellings of "whether" in comments.
    eisa: Fix spelling of "asynchronous".
    various: Fix spelling of "registered" in comments.
    doc: fix quite a few typos within Documentation
    target: iscsi: fix comment typos in target/iscsi drivers
    treewide: fix typo of "suport" in various comments and Kconfig
    treewide: fix typo of "suppport" in various comments
    ...

    Linus Torvalds
     
  • Pull ARM SoC driver specific changes from Olof Johansson:
    "A collection of mostly SoC-specific driver updates:
    - a handful of pincontrol and setup changes
    - new drivers for hwmon and reset controller for vexpress
    - timing support updates for OMAP (gpmc and other interfaces)
    - plus a collection of smaller cleanups"

    * tag 'drivers' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (21 commits)
    ARM: ux500: fix pin warning
    ARM: OMAP2+: tusb6010: generic timing calculation
    ARM: OMAP2+: smc91x: generic timing calculation
    ARM: OMAP2+: onenand: generic timing calculation
    ARM: OMAP2+: gpmc: generic timing calculation
    ARM: OMAP2+: gpmc: handle additional timings
    ARM: OMAP2+: nand: remove redundant rounding
    gpio: samsung: use pr_* instead of printk
    ARM: ux500: fixup magnetometer pins
    ARM: ux500: add STM pin configuration
    ARM: ux500: 8500: add pinctrl support for uart1 and uart2
    ARM: ux500: cosmetic fixups for uart0
    gpio: samsung: Fix input mode setting function for GPIO int
    ARM: SAMSUNG: Insert bitmap_gpio_int member in samsung_gpio_chip
    ARM: ux500: 8500: define SDI sleep states
    ARM: vexpress: Reset driver
    ARM: ux500: 8500: update SKE keypad pinctrl table
    hwmon: Versatile Express hwmon driver
    ARM: ux500: delete duplicate macro
    ARM: ux500: 8500: add IDLE pin configuration for SPI
    ...

    Linus Torvalds
     

06 Dec, 2012

3 commits