09 Sep, 2016
6 commits
-
The fan can be stopped by writing "3" to pwm1_enable in sysfs.
Add devicetree property for early initialization of the fan controller
to prevent overheating, for example when resetting the board while the
fan was completely turned off.Also improve error reporting, I2C failures were ignored while writing
new values.Signed-off-by: Mike Looijmans
Signed-off-by: Guenter Roeck -
The UCD90160 Power Supply Sequencer reuses the existing register layout,
so just an id addition was required.Signed-off-by: Matthew Weber
Signed-off-by: Ronak Desai
[groeck: Updated description, ordered alphabetically, added documentation]
Signed-off-by: Guenter Roeck -
This patch adds hardware temperature and power reading support for
APM X-Gene SoC using the mailbox communication interface.Signed-off-by: Hoan Tran
Reviewed-by: Guenter Roeck
Signed-off-by: Guenter Roeck -
The ADT7470 supports a variety of PWM frequencies. This patch allows the
frequency to be configured and viewed through the sysfs entry pwm1_freq.Signed-off-by: Joshua Scott
Signed-off-by: Guenter Roeck -
Add basic pwm attribute support (no auto attributes) to new API.
Reviewed-by: Jonathan Cameron
Signed-off-by: Guenter Roeck -
Describe the new registration API function as well as the data
structures it requires.Acked-by: Punit Agrawal
Reviewed-by: Jonathan Cameron
Signed-off-by: Guenter Roeck
12 Aug, 2016
1 commit
-
Signed-off-by: Thilo Cestonaro
Signed-off-by: Guenter Roeck
20 Jul, 2016
1 commit
-
This driver implements hardware monitoring and watchdog support
for the FTS BMC Chip "Teutates".Signed-off-by: Thilo Cestonaro
[groeck: Updated subject and description; fixed dependencies]
Signed-off-by: Guenter Roeck
16 Jul, 2016
1 commit
-
The enables control of the SHT31 sensors heating element that can turned
on to remove excess humidity.Cc: Guenter Roeck
Cc: David Frey
Signed-off-by: Matt Ranostay
Signed-off-by: Guenter Roeck
28 Jun, 2016
7 commits
-
MCP9808 is not officially compliant to JC-42, similar to MCP9804,
but its registers are compatible to JC-42.Signed-off-by: Alison Schofield
Cc: Daniel Baluta
Signed-off-by: Guenter Roeck -
Add more details to the guidelines for submitting patches.
Signed-off-by: Guenter Roeck
-
Add support for the the INA3221 26v capable, Triple channel,
Bi-Directional, Zero-Drift, Low-/High-Side, Current/Voltage Monitor
with I2C interface.Signed-off-by: Andrew F. Davis
Signed-off-by: Guenter Roeck -
Signed-off-by: Andrew F. Davis
Signed-off-by: Guenter Roeck -
This driver implements support for the Sensirion SHT3x-DIS chip,
a humidity and temperature sensor. Temperature is measured
in degrees celsius, relative humidity is expressed as a percentage.
In the sysfs interface, all values are scaled by 1000,
i.e. the value for 31.5 degrees celsius is 31500.Signed-off-by: Pascal Sachs
[groeck: Fixed 'Variable length array is used' gcc warning]
Signed-off-by: Guenter Roeck -
Signed-off-by: Andrea Gelmini
[groeck: Updated subject]
Signed-off-by: Guenter Roeck -
Signed-off-by: Andrea Gelmini
[groeck: Updated subject]
Signed-off-by: Guenter Roeck
27 May, 2016
1 commit
-
Pull hwmon fixlets from Jean Delvare.
* 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jdelvare/staging:
Documentation/hwmon: Update links in max34440
hwmon: (emc2103) Fix typo in MODULE_PARM_DESC
26 May, 2016
1 commit
-
It appears the website for maxim-ic.com changed to
maximintegrated.com.Signed-off-by: Glenn Dayton
Signed-off-by: Jean Delvare
20 May, 2016
1 commit
-
Pull Documentation updates from Jon Corbet:
"A bit busier this time around.The most interesting thing (IMO) this time around is some beginning
infrastructural work to allow documents to be written using
restructured text. Maybe someday, in a galaxy far far away, we'll be
able to eliminate the DocBook dependency and have a much better
integrated set of kernel docs. Someday.Beyond that, there's a new document on security hardening from Kees,
the movement of some sample code over to samples/, a number of
improvements to the serial docs from Geert, and the usual collection
of corrections, typo fixes, etc"* tag 'docs-for-linus' of git://git.lwn.net/linux: (55 commits)
doc: self-protection: provide initial details
serial: doc: Use port->state instead of info
serial: doc: Always refer to tty_port->mutex
Documentation: vm: Spelling s/paltform/platform/g
Documentation/memcg: update kmem limit doc as codes behavior
docproc: print a comment about autogeneration for rst output
docproc: add support for reStructuredText format via --rst option
docproc: abstract terminating lines at first space
docproc: abstract docproc directive detection
docproc: reduce unnecessary indentation
docproc: add variables for subcommand and filename
kernel-doc: use rst C domain directives and references for types
kernel-doc: produce RestructuredText output
kernel-doc: rewrite usage description, remove duplicated comments
Doc: correct the location of sysrq.c
Documentation: fix common spelling mistakes
samples: v4l: from Documentation to samples directory
samples: connector: from Documentation to samples directory
Documentation: xillybus: fix spelling mistake
Documentation: x86: fix spelling mistakes
...
28 Apr, 2016
1 commit
-
This fixes several spelling mistakes in the Documentation/ tree, which
are caught by checkpatch.pl's spell checking.Signed-off-by: Kees Cook
Reviewed-by: Paul E. McKenney
Acked-by: Randy Dunlap
Signed-off-by: Jonathan Corbet
19 Apr, 2016
3 commits
-
IT8628E is functionally identical to IT8620E.
Tested-by: Martin Blumenstingl
Signed-off-by: Guenter Roeck -
This patch adds the description to explain the TDP reporting mechanism
and accumulated power algorithm.Signed-off-by: Huang Rui
Cc: Borislav Petkov
Signed-off-by: Guenter Roeck -
Add basic support for the Maxim Integrated MAX31722/MAX31723 SPI
temperature sensors / thermostats.Includes:
- ACPI support;
- raw temperature readings;
- power managementDatasheet:
https://datasheets.maximintegrated.com/en/ds/MAX31722-MAX31723.pdfSigned-off-by: Tiberiu Breana
Signed-off-by: Guenter Roeck
09 Mar, 2016
1 commit
-
Create a driver to support the hardware monitoring chip present in
the Zyxel NSA320 and some of the other Zyxel NAS devices.The driver reads fan speed and temperature from a suitably
pre-programmed MCU on the device.Signed-off-by: Adam Baker
[groeck: Dropped .owner field initialization]
Signed-off-by: Guenter Roeck
05 Mar, 2016
4 commits
-
ADM1278 is mostly compatible to other chips of the same series.
Besides the usual difference in coefficients, it supports
a temperature sensor, and it can measure both input and output
voltage at the same time.Signed-off-by: Guenter Roeck
-
This patch adds support for the Murata NCP15XH103 thermistor series.
Signed-off-by: Joseph McNally
Signed-off-by: Guenter Roeck -
This patch fix typos found in files within Documentation/hwmon.
Signed-off-by: Masanari Iida
Signed-off-by: Guenter Roeck -
This adds support for the Linear Technology LTC2990 I2C System Monitor.
The LTC2990 supports a combination of voltage, current and temperature
monitoring. This driver currently only supports reading two currents
by measuring two differential voltages across series resistors, in
addition to the Vcc supply voltage and internal temperature.This is sufficient to support the Topic Miami SOM which uses this chip
to monitor the currents flowing into the FPGA and the CPU parts.Signed-off-by: Mike Looijmans
Signed-off-by: Guenter Roeck
19 Dec, 2015
2 commits
-
LTC3815 is a Monolithic Synchronous DC/DC Step-Down Converter.
Cc: Michael Jones
Signed-off-by: Guenter Roeck -
HTU21 is now supported by IIO, and can be instantiated as hwmon driver
using the iio-hwmon bridge. An explicit hwmon driver is no longer needed.Cc: William Markezana
Cc: Ludovic Tancerel
Cc: Jonathan Cameron
Reviewed-by: Jean Delvare
Signed-off-by: Guenter Roeck
11 Nov, 2015
1 commit
-
Pull ARM SoC driver updates from Olof Johansson:
"As we've enabled multiplatform kernels on ARM, and greatly done away
with the contents under arch/arm/mach-*, there's still need for
SoC-related drivers to go somewhere.Many of them go in through other driver trees, but we still have
drivers/soc to hold some of the "doesn't fit anywhere" lowlevel code
that might be shared between ARM and ARM64 (or just in general makes
sense to not have under the architecture directory).This branch contains mostly such code:
- Drivers for qualcomm SoCs for SMEM, SMD and SMD-RPM, used to
communicate with power management blocks on these SoCs for use by
clock, regulator and bus frequency drivers.- Allwinner Reduced Serial Bus driver, again used to communicate with
PMICs.- Drivers for ARM's SCPI (System Control Processor). Not to be
confused with PSCI (Power State Coordination Interface). SCPI is
used to communicate with the assistant embedded cores doing power
management, and we have yet to see how many of them will implement
this for their hardware vs abstracting in other ways (or not at all
like in the past).- To make confusion between SCPI and PSCI more likely, this release
also includes an update of PSCI to interface version 1.0.- Rockchip support for power domains.
- A driver to talk to the firmware on Raspberry Pi"
* tag 'armsoc-drivers' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (57 commits)
soc: qcom: smd-rpm: Correct size of outgoing message
bus: sunxi-rsb: Add driver for Allwinner Reduced Serial Bus
bus: sunxi-rsb: Add Allwinner Reduced Serial Bus (RSB) controller bindings
ARM: bcm2835: add mutual inclusion protection
drivers: psci: make PSCI 1.0 functions initialization version dependent
dt-bindings: Correct paths in Rockchip power domains binding document
soc: rockchip: power-domain: don't try to print the clock name in error case
soc: qcom/smem: add HWSPINLOCK dependency
clk: berlin: add cpuclk
ARM: berlin: dts: add CLKID_CPU for BG2Q
ARM: bcm2835: Add the Raspberry Pi firmware driver
soc: qcom: smem: Move RPM message ram out of smem DT node
soc: qcom: smd-rpm: Correct the active vs sleep state flagging
soc: qcom: smd: delete unneeded of_node_put
firmware: qcom-scm: build for correct architecture level
soc: qcom: smd: Correct SMEM items for upper channels
qcom-scm: add missing prototype for qcom_scm_is_available()
qcom-scm: fix endianess issue in __qcom_scm_is_call_available
soc: qcom: smd: Reject send of too big packets
soc: qcom: smd: Handle big endian CPUs
...
14 Oct, 2015
3 commits
-
…udeep.holla/linux into next/drivers
Merge "ARM System Control and Power Interface(SCPI) support" from Sudeep Holla
It adds support for the following features provided by SCP firmware
using different subsystems in Linux:
1. SCPI mailbox protocol driver which using mailbox framework
2. Clocks provided by SCP using clock framework
3. CPU DVFS(cpufreq) using existing arm-big-little driver
4. SCPI based sensors including temperature sensors* tag 'arm-scpi-for-v4.4' of git://git.kernel.org/pub/scm/linux/kernel/git/sudeep.holla/linux:
hwmon: Support thermal zones registration for SCP temperature sensors
hwmon: Support sensors exported via ARM SCP interface
firmware: arm_scpi: Extend to support sensors
Documentation: add DT bindings for ARM SCPI sensors
cpufreq: arm_big_little: add SCPI interface driver
clk: scpi: add support for cpufreq virtual device
clk: add support for clocks provided by SCP(System Control Processor)
firmware: add support for ARM System Control and Power Interface(SCPI) protocol
Documentation: add DT binding for ARM System Control and Power Interface(SCPI) protocol -
The TMP75C has a different control register layout and only supports
12-bit temperature samples (0.0625 deg C).
The continuous sample rate is ~12 Hz.Signed-off-by: Ben Gardner
Signed-off-by: Guenter Roeck -
The driver supports the Maxim MAX31790.
Signed-off-by: Il Han
Signed-off-by: Guenter Roeck
09 Oct, 2015
1 commit
-
Create a driver to add support for SoC sensors exported by the System
Control Processor (SCP) via the System Control and Power Interface
(SCPI). The supported sensor types is one of voltage, temperature,
current, and power.The sensor labels and values provided by the SCP are exported via the
hwmon sysfs interface.Signed-off-by: Punit Agrawal
Acked-by: Guenter Roeck
Cc: Sudeep Holla
13 Sep, 2015
1 commit
-
NCT6793D is register compatible with NCT6792D.
Also move nct6775_sio_names[] closer to enum kinds to simplify
adding new chips.Tested-by: Grazvydas Ignotas
Reviewed-by: Jean Delvare
Signed-off-by: Guenter Roeck
27 Aug, 2015
1 commit
-
This patch updates description of fam15h_power driver, its scope is
extended to family 16h processsors.Signed-off-by: Huang Rui
Signed-off-by: Guenter Roeck
20 Aug, 2015
1 commit
-
LTM2975 is a dual 9A or single 18A μModule regulator.
It is register compatible with LTM4676.Signed-off-by: Guenter Roeck
18 Aug, 2015
2 commits
-
LTC3886 is a is a dual PolyPhase DC/DC synchronous step-down switching
regulator controller. It is mostly command compatible to LTC3883,
but supports two phases instead of one.Suggested-by: Michael Jones
Tested-by: Michael Jones
Signed-off-by: Guenter Roeck -
LTC2980 and LTM2987 are command compatible to LTC2977. They consist of
two LTC2977 on a single die, and are instantiated as two separate chips,
each supporting eight channels.Suggested-by: Michael Jones
Tested-by: Michael Jones
Signed-off-by: Guenter Roeck