[PATCH 1/2] hwmon: (pmbus/lm25066) Offset coefficient depends on CL

2017-08-29 Thread Xo Wang
When converting the DIRECT format CURRENT_IN and POWER commands, make the offset coefficient ("b") predicate on the value of the current limit setting. Signed-off-by: Xo Wang <x...@google.com> --- drivers/hwmon/pmbus/lm25066.c | 6 -- 1 file changed, 4 insertions(+), 2 de

[PATCH 1/2] hwmon: (pmbus/lm25066) Offset coefficient depends on CL

2017-08-29 Thread Xo Wang
When converting the DIRECT format CURRENT_IN and POWER commands, make the offset coefficient ("b") predicate on the value of the current limit setting. Signed-off-by: Xo Wang --- drivers/hwmon/pmbus/lm25066.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git

[PATCH 0/2] Add hwmon support for TI LM5066I hotswap controller

2017-08-29 Thread Xo Wang
Tested with hardware on Aspeed AST2500 connected to LM5066I on a custom board. Xo Wang (2): hwmon: (pmbus/lm25066) Offset coefficient depends on CL hwmon: (pmbus/lm25066) Add support for TI LM5066I Documentation/hwmon/lm25066 | 9 +++-- drivers/hwmon/pmbus/lm25066.c | 47

[PATCH 2/2] hwmon: (pmbus/lm25066) Add support for TI LM5066I

2017-08-29 Thread Xo Wang
The TI LM5066I hotswap controller is a more accurate version of the LM5066 device already supported. It has different measurement conversion coefficients than the LM5066, so it needs to be recognized as a different device. Signed-off-by: Xo Wang <x...@google.com> --- Documentation/hwmon/l

[PATCH 0/2] Add hwmon support for TI LM5066I hotswap controller

2017-08-29 Thread Xo Wang
Tested with hardware on Aspeed AST2500 connected to LM5066I on a custom board. Xo Wang (2): hwmon: (pmbus/lm25066) Offset coefficient depends on CL hwmon: (pmbus/lm25066) Add support for TI LM5066I Documentation/hwmon/lm25066 | 9 +++-- drivers/hwmon/pmbus/lm25066.c | 47

[PATCH 2/2] hwmon: (pmbus/lm25066) Add support for TI LM5066I

2017-08-29 Thread Xo Wang
The TI LM5066I hotswap controller is a more accurate version of the LM5066 device already supported. It has different measurement conversion coefficients than the LM5066, so it needs to be recognized as a different device. Signed-off-by: Xo Wang --- Documentation/hwmon/lm25066 | 9

Re: [PATCH v5 2/2] iio: Aspeed ADC

2017-03-31 Thread Xo Wang
dware but are not currently implemented. >> >> Signed-off-by: Rick Altherr <ralth...@google.com> > > Reviewed-by: Joel Stanley <j...@jms.id.au> > Tested-by: Xo Wang <x...@google.com> Tested on a Zaius OpenPOWER server running a AST2500 BMC alongside configs: CONFIG

Re: [PATCH v5 2/2] iio: Aspeed ADC

2017-03-31 Thread Xo Wang
Signed-off-by: Rick Altherr > > Reviewed-by: Joel Stanley > Tested-by: Xo Wang Tested on a Zaius OpenPOWER server running a AST2500 BMC alongside configs: CONFIG_IIO=y CONFIG_ASPEED_ADC=y CONFIG_SENSORS_IIO_HWMON=y as well as the appropriate device tree entries. >> -

[PATCH 2/2] net: phy: broadcom: Add support for BCM54612E

2016-10-21 Thread Xo Wang
This PHY has internal delays enabled after reset. This clears the internal delay enables unless the interface specifically requests them. Signed-off-by: Xo Wang <x...@google.com> --- drivers/net/phy/broadcom.c | 48 ++ include/linux/brcmphy.h

[PATCH 1/2] net: phy: broadcom: Update Auxiliary Control Register macros

2016-10-21 Thread Xo Wang
Add the RXD-to-RXC skew (delay) time bit in the Miscellaneous Control shadow register and a mask for the shadow selector field. Remove a re-definition of MII_BCM54XX_AUXCTL_SHDWSEL_AUXCTL. Signed-off-by: Xo Wang <x...@google.com> --- include/linux/brcmphy.h | 3 ++- 1 file changed, 2 inse

[PATCH 2/2] net: phy: broadcom: Add support for BCM54612E

2016-10-21 Thread Xo Wang
This PHY has internal delays enabled after reset. This clears the internal delay enables unless the interface specifically requests them. Signed-off-by: Xo Wang --- drivers/net/phy/broadcom.c | 48 ++ include/linux/brcmphy.h| 1 + 2 files changed

[PATCH 1/2] net: phy: broadcom: Update Auxiliary Control Register macros

2016-10-21 Thread Xo Wang
Add the RXD-to-RXC skew (delay) time bit in the Miscellaneous Control shadow register and a mask for the shadow selector field. Remove a re-definition of MII_BCM54XX_AUXCTL_SHDWSEL_AUXCTL. Signed-off-by: Xo Wang --- include/linux/brcmphy.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion

[PATCH 0/2] Broadcom BCM54612E support

2016-10-21 Thread Xo Wang
connected to this PHY. Xo Wang (2): net: phy: broadcom: Update Auxiliary Control Register net: phy: broadcom: Add support for BCM54612E

[PATCH 0/2] Broadcom BCM54612E support

2016-10-21 Thread Xo Wang
connected to this PHY. Xo Wang (2): net: phy: broadcom: Update Auxiliary Control Register net: phy: broadcom: Add support for BCM54612E