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

4 commits

  • This is the HWMON patch for DA9055 PMIC and has got dependency on the
    DA9055 MFD core.

    This patch monitors the DA9055 PMIC's ADC channels vddout, junction temperature
    and auxiliary channels.

    This patch is functionally tested on Samsung SMDKV6410.

    Signed-off-by: David Dajun Chen
    Signed-off-by: Ashish Jangam
    [Guenter Roeck: Dropped __devinit, __devexit, __devexit_p]
    Signed-off-by: Guenter Roeck

    Ashish Jangam
     
  • as per processor data sheets.

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

    Guenter Roeck
     
  • The ADS7830 device is almost the same as the ADS7828,
    except that it does 8-bit sampling, instead of 12-bit.
    This patch extends the ads7828 driver to support this chip.

    Signed-off-by: Guillaume Roguez
    Signed-off-by: Vivien Didelot
    Signed-off-by: Guenter Roeck

    Guillaume Roguez
     
  • As there is no reliable way to identify the chip, it is preferable to
    remove the detect callback, to avoid misdetection.

    Module parameters are not worth it here, so let's get rid of them and
    add an ads7828_platform_data structure instead.

    Clean the code by removing unused macros, fixing coding style issues,
    avoiding function prototypes and using convenient macros such as
    module_i2c_driver().

    Signed-off-by: Vivien Didelot
    Signed-off-by: Guenter Roeck

    Vivien Didelot
     

19 Nov, 2012

1 commit


16 Nov, 2012

1 commit


30 Oct, 2012

1 commit


26 Oct, 2012

1 commit


17 Oct, 2012

1 commit

  • hwmon framework driver for Versatile Express sensors, providing
    information about board level voltage (only when regulator driver
    is not configured), currents, temperature and power/energy usage.
    Labels for the values can be defined as DT properties.

    Signed-off-by: Pawel Moll
    Acked-by: Guenter Roeck

    Pawel Moll
     

15 Oct, 2012

2 commits

  • TjMax for the CE4100 series of Atom CPUs was previously reported to be
    110 degrees C.

    cpuinfo logs on the web show existing CPU types CE4110, CE4150, and CE4170,
    reported as "model name : Intel(R) Atom(TM) CPU CE41{1|5|7}0 @ 1.{2|6}0GHz"
    with model 28 (0x1c) and stepping 10 (0x0a). Add the three known variants
    to the tjmax table.

    Signed-off-by: Guenter Roeck
    cc: stable@vger.kernel.org
    Acked-by: Jean Delvare

    Guenter Roeck
     
  • This config item has not carried much meaning for a while now and is
    almost always enabled by default. As agreed during the Linux kernel
    summit, remove it.

    CC: Jean Delvare
    CC: Guenter Roeck
    CC: Rob Landley
    Signed-off-by: Kees Cook
    Signed-off-by: Guenter Roeck

    Kees Cook
     

13 Oct, 2012

1 commit

  • Pull ACPI & Thermal updates from Len Brown:
    "The generic Linux thermal layer is gaining some new capabilities
    (generic cooling via cpufreq) and some new customers (ARM).

    Also, an ACPI EC bug fix plus a regression fix."

    * 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux: (30 commits)
    tools/power/acpi/acpidump: remove duplicated include from acpidump.c
    ACPI idle, CPU hotplug: Fix NULL pointer dereference during hotplug
    cpuidle / ACPI: fix potential NULL pointer dereference
    ACPI: EC: Add a quirk for CLEVO M720T/M730T laptop
    ACPI: EC: Make the GPE storm threshold a module parameter
    thermal: Exynos: Fix NULL pointer dereference in exynos_unregister_thermal()
    Thermal: Fix bug on cpu_cooling, cooling device's id conflict problem.
    thermal: exynos: Use devm_* functions
    ARM: exynos: add thermal sensor driver platform data support
    thermal: exynos: register the tmu sensor with the kernel thermal layer
    thermal: exynos5: add exynos5250 thermal sensor driver support
    hwmon: exynos4: move thermal sensor driver to driver/thermal directory
    thermal: add generic cpufreq cooling implementation
    Fix a build error.
    thermal: Fix potential NULL pointer accesses
    thermal: add Renesas R-Car thermal sensor support
    thermal: fix potential out-of-bounds memory access
    Thermal: Introduce locking for cdev.thermal_instances list.
    Thermal: Unify the code for both active and passive cooling
    Thermal: Introduce simple arbitrator for setting device cooling state
    ...

    Linus Torvalds
     

10 Oct, 2012

2 commits


09 Oct, 2012

1 commit


24 Sep, 2012

7 commits

  • This movement is needed because the hwmon entries and corresponding sysfs
    interface is a duplicate of utilities already provided by
    driver/thermal/thermal_sys.c. The goal is to place it in thermal folder
    and add necessary functions to use the in-kernel thermal interfaces.

    Signed-off-by: Amit Daniel Kachhap
    Acked-by: Guenter Roeck
    Cc: SangWook Ju
    Cc: Durgadoss
    Cc: Len Brown
    Cc: Jean Delvare
    Cc: Kyungmin Park
    Cc: Kukjin Kim
    Signed-off-by: Andrew Morton
    Signed-off-by: Amit Daniel Kachhap
    Signed-off-by: Zhang Rui

    Amit Daniel Kachhap
     
  • This Patch adds support for mcp3221 chip to the
    mcp3021 driver.

    Signed-off-by: Sven Schuchmann
    Signed-off-by: Guenter Roeck

    Sven Schuchmann
     
  • INA220 is register compatible to INA219, and INA230 is register compatible to
    INA226, so all we need to do is to add name aliases for those two chips.

    Cc: Lothar Felten
    Signed-off-by: Guenter Roeck
    Reviewed-by: Jean Delvare

    Guenter Roeck
     
  • Add support for LM74 and LM71 to LM70 driver.

    Signed-off-by: Christophe Leroy
    Signed-off-by: Guenter Roeck

    Christophe Leroy
     
  • Removing the 3wire limitation on LM70 as the component also allows
    operation on 4wire SPI bus

    Signed-off-by: Christophe Leroy
    Signed-off-by: Guenter Roeck

    Christophe Leroy
     
  • The MAX197 is an A/D converter, made by Maxim. This driver currently
    supports the MAX197, and MAX199. They are both 8-Channel, Multi-Range,
    5V, 12-Bit DAS with 8+4 Bus Interface and Fault Protection.

    The available ranges for the MAX197 are {0,-5V} to 5V, and {0,-10V} to
    10V, while they are {0,-2V} to 2V, and {0,-4V} to 4V on the MAX199.

    Signed-off-by: Vivien Didelot
    Signed-off-by: Guenter Roeck

    Vivien Didelot
     
  • This patch brings basic support for the Analog Devices ADT7410 temperature
    sensor. The following functionality has been implemented:

    * get current temperature
    * get/set minimum, maximum and critical temperature
    * get/set hysteresis
    * get alarm events for minimum, maximum and critical temperature

    All implemented sysfs attributes have been sucessfully tested at temperatures
    of 15°C to 40°C.

    Signed-off-by: Hartmut Knaack
    Signed-off-by: Guenter Roeck

    Hartmut Knaack
     

22 Jul, 2012

3 commits

  • This is a new driver for the Honeywell Humidicon HIH-6130/HIH-6131 humidity sensor.

    The driver is based on the existing Sensiron sht21 driver with the necessary changes
    to the probe, update_measurements and conversion functions necessary to use the
    Honeywell sensors.

    There's no difference between the 6130 & 6131 other than the 6131 having an external
    condensation filter attached.

    Signed-off-by: Iain Paton
    Signed-off-by: Guenter Roeck

    Iain Paton
     
  • devres functions are the preferred means to allocate resources in hwmon drivers.
    Document it.

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

    Guenter Roeck
     
  • The DA9052 PMIC provides an Analogue to Digital Converter with 10 bits
    resolution and 10 channels.

    This patch monitors the DA9052 PMIC's ADC channels mostly for battery
    parameters like battery temperature, junction temperature, battery
    current etc.

    This patch is functionally tested on Samsung SMDKV6410

    Signed-off-by: David Dajun Chen
    Signed-off-by: Ashish Jangam
    [Guenter Roeck: __init --> __devinit for probe function]
    Signed-off-by: Guenter Roeck

    Ashish Jangam
     

18 Jun, 2012

3 commits


24 May, 2012

1 commit

  • Pull hwmon updates from Guenter Roeck:
    "New driver for INA219 and INA226, added support for IT8782F and
    IT8783E/F to it87 driver, plus cleanups in a couple of drivers."

    * tag 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging:
    hwmon: (it87) Make temp3 attribute conditional for IT8782F
    hwmon: (it87) Convert to use devm_kzalloc and devm_request_region
    hwmon: INA219 and INA226 support
    hwmon: (it87) Create voltage attributes only if voltage is enabled
    hwmon: (ntc_thermistor) Fix checkpatch warning
    hwmon: (ntc_thermistor) Optimize and fix build warning
    hwmon: (ntc_thermistor) Return error code from hwmon_device_register
    hwmon: (ntc_thermistor) Convert to devm_kzalloc
    hwmon: (ad7314) Remove unused defines, and rename OFFSET to SHIFT
    acpi_power_meter: clean up code around setup_attrs
    acpi_power_meter: drop meter_rw_attrs, use common meter_attrs
    acpi_power_meter: remove duplicate code between register_{ro,rw}_attrs
    acpi_power_meter: use a {RW,RO}_SENSOR_TEMPLATE macro to clean things up
    acpi_power_meter: use the same struct {rw,ro}_sensor_template for both
    hwmon: use module_pci_driver
    hwmon: (it87) Add support for IT8782F and IT8783E/F

    Linus Torvalds
     

22 May, 2012

1 commit

  • Add support for the Texas Instruments INA219 and INA226 power monitors.

    Signed-off-by: Lothar Felten
    [guenter.roeck@ericsson.com: formatting cleanup; check for smbus word data;
    select PGA=8 for INA219]
    Signed-off-by: Guenter Roeck

    Felten, Lothar
     

21 May, 2012

1 commit


16 Apr, 2012

1 commit


09 Apr, 2012

1 commit


06 Apr, 2012

1 commit


02 Apr, 2012

1 commit

  • The on-chip northbridge's temperature sensor of the upcoming
    AMD Trinity CPUs works the same as for the previous CPUs.
    Since it has a different PCI-ID, we just add the new one to the list
    supported by k10temp.
    This allows to use the k10temp driver on those CPUs.

    Signed-off-by: Andre Przywara
    Cc: stable@vger.kernel.org # 3.0+
    Signed-off-by: Guenter Roeck

    Andre Przywara
     

23 Mar, 2012

1 commit

  • Add I2C driver for MCP3021 that is an ADC chip from Microchip.
    The MCP3021 is a successive approximation A/D converter (ADC)
    with 10-bit resolution.
    The driver export the value of Vin to sysfs, the voltage unit is
    mV. Through the sysfs interface, lm-sensors tool can also display
    Vin voltage.

    Signed-off-by: Mingkai Hu
    Signed-off-by: Xie Xiaobo
    Signed-off-by: Jean Delvare

    Xie Xiaobo