Add a driver for the Maxim Integrated MAX31760 Precision Fan
Speed Controller.
v2:
- Fixup open firmware code.
- Add a few comments.
Signed-off-by: John Muir <j...@jmuir.com>
---
Documentation/hwmon/max31760 | 41 ++
drivers/hwmon/Kconfig| 10 +
drivers/hwmon/Makefile
v2:
- Fixup based on comments.
Signed-off-by: John Muir <j...@jmuir.com>
---
.../devicetree/bindings/hwmon/max31760.txt | 72 ++
1 file changed, 72 insertions(+)
create mode 100644 Documentation/devicetree/bindings/hwmon/max31760.txt
diff --git a/Documen
Signed-off-by: John Muir <j...@jmuir.com>
---
.../devicetree/bindings/hwmon/max31760.txt | 58 ++
1 file changed, 58 insertions(+)
create mode 100644 Documentation/devicetree/bindings/hwmon/max31760.txt
diff --git a/Documentation/devicetree/bindings/hwmon/ma
Add a driver for the Maxim Integrated MAX31760 Precision Fan
Speed Controller.
Signed-off-by: John Muir <j...@jmuir.com>
---
Documentation/hwmon/max31760 | 41 ++
drivers/hwmon/Kconfig| 10 +
drivers/hwmon/Makefile |1 +
drivers/hwmon/max31760.c
Add a device driver for the MAX31760 I2C device with a hwmon interface and
a few open firmware device properties.
John Muir (2):
hwmon: Add MAX31760 fan controller driver.
devicetree: Document the max31760 device binding.
.../devicetree/bindings/hwmon/max31760.txt | 58
Simple hwmon binding documentation.
Signed-off-by: John Muir <j...@jmuir.com>
---
Documentation/devicetree/bindings/hwmon/tmp108.txt | 14 ++
1 file changed, 14 insertions(+)
create mode 100644 Documentation/devicetree/bindings/hwmon/tmp108.txt
diff --git a/Documentation/devi
Add support for the TI TMP108 temperature sensor with some device
configuration parameters.
Signed-off-by: John Muir <j...@jmuir.com>
---
Documentation/hwmon/tmp108 | 36
drivers/hwmon/Kconfig | 11 ++
drivers/hwmon/Makefile | 1 +
drivers/hwmon/tmp108.c
in a
future patch.
John Muir (2):
hwmon: Add Texas Instruments TMP108 temperature sensor driver.
devicetree: hwmon: Add documentation for TMP108 driver.
Documentation/devicetree/bindings/hwmon/tmp108.txt | 14 +
Documentation/hwmon/tmp108 | 36 ++
drivers/hwmon/Kconfig
Hi Guenter,
On Dec 1, 2016, at 2:08 PM, Guenter Roeck wrote:
>
>>
>> Should we be concerned about restoring the configuration here?
>>
> Interesting question. If the chip was really powered off, you would
> have to restore the entire configuration, not just the
Hi Guenter,
On Dec 1, 2016, at 7:19 AM, Guenter Roeck wrote:
>
>> +/* convert 12-bit TMP108 register value to milliCelsius */
>> +static inline int tmp108_temp_reg_to_mC(s16 val)
>> +{
>> +return (val & ~0x01) * 1000 / 256;
>
> Why ~0x01 and not ~0x0f ? The lower 4 bits
Hi Guenter,
On Nov 30, 2016, at 4:42 PM, Guenter Roeck wrote:
>
>> +Optional node properties:
>> +- ti,thermostat-mode-comparator : (boolean) select the comparator mode for
>> the
>> + thermostat rather than the default interrupt-mode.
>> +
> I keep arguing with myself
Simple hwmon binding documentation.
Signed-off-by: John Muir <j...@jmuir.com>
---
Documentation/devicetree/bindings/hwmon/tmp108.txt | 24 ++
1 file changed, 24 insertions(+)
create mode 100644 Documentation/devicetree/bindings/hwmon/tmp108.txt
diff --git a/Documen
Add support for the TI TMP108 temperature sensor with some device
configuration parameters.
Signed-off-by: John Muir <j...@jmuir.com>
---
Documentation/hwmon/tmp108 | 38
drivers/hwmon/Kconfig | 11 +
drivers/hwmon/Makefile | 1 +
drivers/hwmon/tmp108.c
in a
future patch.
John Muir (2):
hwmon: Add Texas Instruments TMP108 temperature sensor driver.
devicetree: hwmon: Add documentation for TMP108 driver.
Documentation/devicetree/bindings/hwmon/tmp108.txt | 24 +
Documentation/hwmon/tmp108 | 38 ++
drivers/hwmon/Kconfig
On Nov 28, 2016, at 2:19 PM, Guenter Roeck wrote:
>
> The tmp102 driver adds the timeout if the device was in shutdown mode (SD=1).
>
> if (tmp102->config_orig & TMP102_CONF_SD) {
> ...
> tmp102->ready_time +=
> On Nov 28, 2016, at 11:58 AM, Guenter Roeck <li...@roeck-us.net> wrote:
>
> On Mon, Nov 28, 2016 at 11:40:42AM -0800, John Muir wrote:
>>>> +static void tmp108_update_ready_time(struct tmp108 *tmp108)
>>>> +{
>>>> + tmp108
> On Nov 27, 2016, at 4:19 AM, Guenter Roeck <li...@roeck-us.net> wrote:
>
> On 11/26/2016 09:15 PM, John Muir wrote:
>> Add support for the TI TMP108 temperature sensor with some device
>> configuration parameters.
>> +- ti,alert-active-high : (boolean) make
> On 2016.11.27, at 15:00 , Guenter Roeck <li...@roeck-us.net> wrote:
>
> On Sat, Nov 26, 2016 at 09:15:37PM -0800, John Muir wrote:
>> Move the tmp108 driver from hwmon attribute groups to
>> hwmon_chip_info.
>>
>> Signed-off-by: John Muir <j...@jmuir.
From: John Muir <mu...@google.com>
Use the devm hwmon and thermal zone registration functions to
clean up the code and remove the need for an i2c_driver.remove
callback.
Signed-off-by: John Muir <j...@jmuir.com>
---
drivers/hwmon/tmp108.c | 28
1 fil
Add support for the TI TMP108 temperature sensor with some device
configuration parameters.
Signed-off-by: John Muir <j...@jmuir.com>
---
Documentation/devicetree/bindings/hwmon/tmp108.txt | 27 ++
Documentation/hwmon/tmp108 | 38 ++
drivers/hwmon/K
This driver is split into three patches as it is being ported forward from
a Linux 4.4 implementation where it was tested. The final driver code uses
interfaces that are not available in 4.4.
John Muir (3):
hwmon: Add Texas Instruments TMP108 temperature sensor driver.
hwmon: tmp108: Use devm
21 matches
Mail list logo