Re: [PATCH v3 2/2] dt-bindings: hwmon: Add adm127x documentation

2018-10-18 Thread Kun Yi
On Thu, Oct 18, 2018 at 12:48 PM Rob Herring wrote: > > On Wed, 17 Oct 2018 15:27:09 -0700, Kun Yi wrote: > > adm127x are hot-swap controllers that allow a circuit board to be removed > > from > > or inserted into a live backplane. This patch adds the device tree &g

[PATCH 1/2] hwmon: (pmbus): Add driver for Intersil ISL68137

2018-10-17 Thread Kun Yi
From: Maxim Sloyko Intersil ISL68137 is a digital output 7-phase configurable PWM controller with an AVSBus interface. Signed-off-by: Maxim Sloyko Signed-off-by: Kun Yi --- drivers/hwmon/pmbus/Kconfig| 10 drivers/hwmon/pmbus/Makefile | 1 + drivers/hwmon/pmbus/isl68137.c | 86

[PATCH v3 2/2] dt-bindings: hwmon: Add adm127x documentation

2018-10-17 Thread Kun Yi
adm127x are hot-swap controllers that allow a circuit board to be removed from or inserted into a live backplane. This patch adds the device tree bindings documentation. Signed-off-by: Kun Yi --- .../devicetree/bindings/hwmon/adm1275.txt | 25 +++ 1 file changed, 25

[PATCH v3 1/2] hwmon: (adm1275): Allow setting shunt reg value

2018-10-17 Thread Kun Yi
mOhm in calculation, meaning for other resistor values, hwmon will report scaled current/power measurements. This patch parses device tree parameter "shunt-resistor-micro-ohms", if there is one. Signed-off-by: Kun Yi --- Changes in v3: - splitted hwmon and device tree binding patches Doc

Re: [PATCH] hwmon: (npcm-750-pwm-fan): Change initial pwm target to 255

2018-10-09 Thread Kun Yi
Great, thanks! On Tue, Oct 9, 2018 at 5:38 PM Guenter Roeck wrote: > > On Mon, Oct 08, 2018 at 02:49:25PM -0700, Kun Yi wrote: > > Change initial PWM target to 255 to prevent overheating, for example > > when BMC hangs in userspace or when userspace fan control application is &

[PATCH] hwmon: (npcm-750-pwm-fan): Change initial pwm target to 255

2018-10-08 Thread Kun Yi
Change initial PWM target to 255 to prevent overheating, for example when BMC hangs in userspace or when userspace fan control application is not implemented yet. Signed-off-by: Kun Yi --- drivers/hwmon/npcm750-pwm-fan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH v2] hwmon: (adm1275): Add device tree param for shunt resistor

2018-09-28 Thread Kun Yi
mOhm in calculation, meaning for other resistor values, hwmon will report scaled current/power measurements. This patch adds a device tree parameter so that individual boards can configure its shunt resistor value. Signed-off-by: Kun Yi --- .../devicetree/bindings/hwmon/adm1275.txt | 25

[PATCH] hwmon: (adm1275): Add device tree param for shunt resistor

2018-09-28 Thread Kun Yi
mOhm in calculation, meaning for other resistor values, hwmon will report scaled current/power measurements. This patch adds a device tree parameter so that individual boards can configure its shunt resistor value. Signed-off-by: Kun Yi --- .../devicetree/bindings/hwmon/adm1275.txt | 19

[PATCH] hwmon: (lm75) Add MAX31725/6 support

2018-09-11 Thread Kun Yi
. Tested on real hardware and verified temperature readings are correct. Signed-off-by: Kun Yi --- Documentation/hwmon/lm75 | 6 +++--- drivers/hwmon/lm75.c | 18 -- 2 files changed, 19 insertions(+), 5 deletions(-) diff --git a/Documentation/hwmon/lm75 b/Documentation/hwmon

[PATCH v2] hwmon (pmbus/max34440): Add support for MAX34451.

2018-07-03 Thread Kun Yi
MAX34451 is a 16-Channel Voltage/Current Monitor and 12-Channel Sequencer. Signed-off-by: Kun Yi --- Changes in v2: - Dynamically set MAX34451 page 0-15 functions based on channel config register value. Documentation/hwmon/max34440 | 16 -- drivers/hwmon/pmbus/Kconfig| 2

Re: [PATCH] hwmon (pmbus/max34440): Add support for MAX34451.

2018-07-03 Thread Kun Yi
On Wed, Jun 27, 2018 at 7:39 AM Kun Yi wrote: > > Thanks for your comments. > > On Mon, Jun 25, 2018 at 9:54 AM Guenter Roeck wrote: > > > > On Thu, Jun 21, 2018 at 04:37:27PM -0700, Kun Yi wrote: > > > MAX34451 is a 16-Channel Voltage/Current Monit

Re: [PATCH] hwmon (pmbus/max34440): Add support for MAX34451.

2018-06-27 Thread Kun Yi
Thanks for your comments. On Mon, Jun 25, 2018 at 9:54 AM Guenter Roeck wrote: > > On Thu, Jun 21, 2018 at 04:37:27PM -0700, Kun Yi wrote: > > MAX34451 is a 16-Channel Voltage/Current Monitor and 12-Channel > > Sequencer. > > > > Signed-off-by: Kun Yi > > -

[PATCH] hwmon (pmbus/max34440): Add support for MAX34451.

2018-06-21 Thread Kun Yi
MAX34451 is a 16-Channel Voltage/Current Monitor and 12-Channel Sequencer. Signed-off-by: Kun Yi --- Documentation/hwmon/max34440 | 16 ++--- drivers/hwmon/pmbus/Kconfig| 2 +- drivers/hwmon/pmbus/max34440.c | 62 -- 3 files changed, 72 insertions