[linux, 1/5] ARM: dts: aspeed: zaius: Use LM5066I driver for hotswap
Joel Stanley
joel at jms.id.au
Tue Sep 12 17:47:01 AEST 2017
Hi Xo,
On Sat, Sep 9, 2017 at 7:57 AM, Xo Wang <xow at google.com> wrote:
> Not removing the "ti,lm5066" line because the LM5066I support is only in
> yet-to-be-released 4.13-rc4.
This commit message is a bit out of date. I dropped the
yet-to-be-released bit and applied it.
> Not removing the "ti,lm5066" line because the LM5066I support is not
> present in pre 4.13-rc4 kernels.
I figured there's no harm in keeping the backwards compatible string
there for now; if you want to drop it please send a follow up patch.
I cherry picked in the upstream driver changes to dev-4.10 too:
5783ec2e5c10 hwmon: (pmbus/lm25066) Add support for TI LM5066I
ee983171d49b hwmon: (pmbus/lm25066) Offset coefficient depends on CL
Cheers,
Joel
>
> Signed-off-by: Xo Wang <xow at google.com>
> ---
> arch/arm/boot/dts/aspeed-bmc-opp-zaius.dts | 5 ++++-
> 1 file changed, 4 insertions(+), 1 deletion(-)
>
> diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-zaius.dts b/arch/arm/boot/dts/aspeed-bmc-opp-zaius.dts
> index e4e9519cd087..1c39452ffebd 100644
> --- a/arch/arm/boot/dts/aspeed-bmc-opp-zaius.dts
> +++ b/arch/arm/boot/dts/aspeed-bmc-opp-zaius.dts
> @@ -282,7 +282,10 @@
> #size-cells = <0>;
>
> hotswap at 10 {
> - compatible = "ti,lm5066";
> + /* Device is LM5066I so prefer that driver
> + * support if available
> + */
> + compatible = "ti,lm5066i", "ti,lm5066";
> reg = <0x10>;
> };
> };
More information about the openbmc
mailing list