06 Apr, 2014

1 commit

  • Pull hwmon updates from Jean Delvare:
    "This includes a number of driver conversions to
    devm_hwmon_device_register_with_groups, a few cleanups, and
    support for the ITE IT8623E"

    * 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jdelvare/staging:
    hwmon: (it87) Add support for IT8623E
    hwmon: (it87) Fix IT8603E define name
    hwmon: (lm90) Convert to use hwmon_device_register_with_groups
    hwmon: (lm90) Create all sysfs groups in one call
    hwmon: (lm90) Always use the dev variable in the probe function
    hwmon: (lm90) Create most optional attributes with sysfs_create_group
    hwmon: Avoid initializing the same field twice
    hwmon: (pc87360) Avoid initializing the same field twice
    hwmon: (lm80) Convert to use devm_hwmon_device_register_with_groups
    hwmon: (adm1021) Convert to use devm_hwmon_device_register_with_groups
    hwmon: (lm63) Avoid initializing the same field twice
    hwmon: (lm63) Convert to use devm_hwmon_device_register_with_groups
    hwmon: (lm63) Create all sysfs groups in one call
    hwmon: (lm63) Introduce 'dev' variable to point to client->dev
    hwmon: (lm63) Add additional sysfs group for temp2_type attribute
    hwmon: (f71805f) Fix author's address

    Linus Torvalds
     

05 Apr, 2014

1 commit


03 Apr, 2014

1 commit

  • Adding new PCI ID to support AMD F16 M30h processor (Mullins).
    While at it, modify Kconfig and Doc files to reflect the
    support for newer processors

    Note: PCI ID for this processor will make it into pci_ids.h
    as part of this patch:
    http://marc.info/?l=linux-kernel&m=139291362126057&w=2
    which should be pulled into 3.15 when merge window opens
    (It currently sits in 'for-next' branch of bp.git-
    https://git.kernel.org/cgit/linux/kernel/git/bp/bp.git/log/?h=for-next)

    Signed-off-by: Aravind Gopalakrishnan
    Signed-off-by: Guenter Roeck

    Aravind Gopalakrishnan
     

20 Mar, 2014

1 commit


04 Mar, 2014

4 commits


30 Jan, 2014

2 commits


16 Nov, 2013

1 commit


15 Nov, 2013

1 commit

  • TI TMP451 is mostly compatible with ADT7461, except for
    local temperature low byte and max conversion rate.
    Add support to the LM90 driver.

    Signed-off-by: Wei Ni
    Reviewed-by: Guenter Roeck
    Signed-off-by: Jean Delvare

    Wei Ni
     

19 Oct, 2013

3 commits


08 Sep, 2013

1 commit


07 Sep, 2013

1 commit

  • Pull trivial tree from Jiri Kosina:
    "The usual trivial updates all over the tree -- mostly typo fixes and
    documentation updates"

    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (52 commits)
    doc: Documentation/cputopology.txt fix typo
    treewide: Convert retrun typos to return
    Fix comment typo for init_cma_reserved_pageblock
    Documentation/trace: Correcting and extending tracepoint documentation
    mm/hotplug: fix a typo in Documentation/memory-hotplug.txt
    power: Documentation: Update s2ram link
    doc: fix a typo in Documentation/00-INDEX
    Documentation/printk-formats.txt: No casts needed for u64/s64
    doc: Fix typo "is is" in Documentations
    treewide: Fix printks with 0x%#
    zram: doc fixes
    Documentation/kmemcheck: update kmemcheck documentation
    doc: documentation/hwspinlock.txt fix typo
    PM / Hibernate: add section for resume options
    doc: filesystems : Fix typo in Documentations/filesystems
    scsi/megaraid fixed several typos in comments
    ppc: init_32: Fix error typo "CONFIG_START_KERNEL"
    treewide: Add __GFP_NOWARN to k.alloc calls with v.alloc fallbacks
    page_isolation: Fix a comment typo in test_pages_isolated()
    doc: fix a typo about irq affinity
    ...

    Linus Torvalds
     

06 Sep, 2013

1 commit


30 Aug, 2013

1 commit


27 Aug, 2013

2 commits


20 Aug, 2013

1 commit


12 Aug, 2013

1 commit


04 Jul, 2013

1 commit

  • Pull hwmon updates from Guenter Roeck:
    - new driver to support GMT G762/G763 pwm fan controllers
    - add support for DS1631, DS1721, and DS1731 to ds1621 driver
    - remove detect function from ds1621 driver as unreliable
    - bug fixes in nct6775, iio_hwmon, and adm1021 drivers
    - remove redundant platform_set_drvdata in various drivers
    - add device tree support to ina2xx driver

    * tag 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging:
    hwmon: (ds1621) Fix temperature rounding operations
    hwmon: (nct6775) Drop unsupported fan alarm attributes for NCT6775
    hwmon: (nct6775) Fix temperature alarm attributes
    Add support for GMT G762/G763 PWM fan controllers
    hwmon: (ina2xx) Add device tree support to pass the shunt resistor
    hwmon: (ds1621) Update documentation
    hwmon: (ds1621) Add DS1731 chip support to ds1621 driver
    hwmon: (iio_hwmon) add alias table
    hwmon: (adm1021) Do not create min sysfs attributes for LM84
    hwmon: (ds1621) Remove detect function
    hwmon: (ds1621) Add ds1631 chip support to ds1621 driver and documentation
    hwmon: (ds1621) Add ds1721 update interval sysfs attribute
    hwmon: (ds1621) Add ds1721 chip support
    hwmon: (w83627ehf) Remove redundant platform_set_drvdata()
    hwmon: (ntc_thermistor) Remove redundant platform_set_drvdata()
    hwmon: (i5k_amb) Remove redundant platform_set_drvdata()
    hwmon: (coretemp) Remove redundant platform_set_drvdata()
    hwmon: (abituguru3) Remove redundant platform_set_drvdata()

    Linus Torvalds
     

28 Jun, 2013

8 commits


04 Jun, 2013

1 commit

  • Ever since commit 45f035ab9b8f ("CONFIG_HOTPLUG should be always on"),
    it has been basically impossible to build a kernel with CONFIG_HOTPLUG
    turned off. Remove all the remaining references to it.

    Cc: Russell King
    Cc: Doug Thompson
    Cc: Bjorn Helgaas
    Cc: Steven Whitehouse
    Cc: Arnd Bergmann
    Cc: Pavel Machek
    Cc: "Rafael J. Wysocki"
    Cc: Andrew Morton
    Signed-off-by: Stephen Rothwell
    Acked-by: Mauro Carvalho Chehab
    Acked-by: Hans Verkuil
    Signed-off-by: Greg Kroah-Hartman

    Stephen Rothwell
     

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

1 commit

  • NCT6775, NCT6776, and NCT6779 have a number of variants with the same
    chip ID but different chip labels. Add text "or compatible" to the
    message displayed when the driver is loaded and rephrase the Kconfig
    entry to reflect that it also supports compatible chips.

    Signed-off-by: Guenter Roeck

    Guenter Roeck