[v2,4/4] hwmon: (pmbus) add support for DPS-650AB

Message ID 2e94eb44c0acf6b90c1d9bbffd1c5c5cc2af59be.1546851856.git.xiaoting.liu@hxt-semitech.com
State Not Applicable, archived
Headers show
Series
  • [v2,1/4] pmbus: associate PMBUS_SKIP_STATUS_CHECK with driver_data
Related show

Commit Message

Liu, Xiaoting Jan. 7, 2019, 11:06 a.m.
Provide support for PSU DPS-650AB from Delta Electronics, INC.

Signed-off-by: Xiaoting Liu <xiaoting.liu@hxt-semitech.com>
---
v2:
  Change the patch subject and commit message.
  Drop dps650ab.c file.
  Replace struct name dps650ab_pmbus_info with pmbus_info_one_skip.
---
 drivers/hwmon/pmbus/pmbus.c | 1 +
 1 file changed, 1 insertion(+)

--
1.8.3.1




This email is intended only for the named addressee. It may contain information that is confidential/private, legally privileged, or copyright-protected, and you should handle it accordingly. If you are not the intended recipient, you do not have legal rights to retain, copy, or distribute this email or its contents, and should promptly delete the email and all electronic copies in your system; do not retain copies in any media. If you have received this email in error, please notify the sender promptly. Thank you.

Comments

Guenter Roeck Jan. 7, 2019, 2:04 p.m. | #1
On 1/7/19 3:06 AM, Xiaoting Liu wrote:
> Provide support for PSU DPS-650AB from Delta Electronics, INC.
> 

Where is patch 3/4 ?

> Signed-off-by: Xiaoting Liu <xiaoting.liu@hxt-semitech.com>
> ---
> v2:
>    Change the patch subject and commit message.
>    Drop dps650ab.c file.
>    Replace struct name dps650ab_pmbus_info with pmbus_info_one_skip.
> ---
>   drivers/hwmon/pmbus/pmbus.c | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/hwmon/pmbus/pmbus.c b/drivers/hwmon/pmbus/pmbus.c
> index e38dd97cc49a..f6b35f858db8 100644
> --- a/drivers/hwmon/pmbus/pmbus.c
> +++ b/drivers/hwmon/pmbus/pmbus.c
> @@ -213,6 +213,7 @@ static int pmbus_probe(struct i2c_client *client,
>          {"bmr453", (kernel_ulong_t)&pmbus_info_one},
>          {"bmr454", (kernel_ulong_t)&pmbus_info_one},
>          {"dps460", (kernel_ulong_t)&pmbus_info_one_skip},
> +       {"dps650ab", (kernel_ulong_t)&pmbus_info_one_skip},
>          {"dps800", (kernel_ulong_t)&pmbus_info_one_skip},
>          {"mdt040", (kernel_ulong_t)&pmbus_info_one},
>          {"ncp4200", (kernel_ulong_t)&pmbus_info_one},
> --
> 1.8.3.1
> 
> 
> 
> 
> This email is intended only for the named addressee. It may contain information that is confidential/private, legally privileged, or copyright-protected, and you should handle it accordingly. If you are not the intended recipient, you do not have legal rights to retain, copy, or distribute this email or its contents, and should promptly delete the email and all electronic copies in your system; do not retain copies in any media. If you have received this email in error, please notify the sender promptly. Thank you.
> 
> 
>
Liu, Xiaoting Jan. 8, 2019, 9:13 a.m. | #2
Hi Guenter Roeck,

Thanks for your reply.

On 2019/1/7 22:04, Guenter Roeck wrote:
> On 1/7/19 3:06 AM, Xiaoting Liu wrote:
>> Provide support for PSU DPS-650AB from Delta Electronics, INC.
>>
> Where is patch 3/4 ?

Sorry for forgetting to send patch 3/4 to you, please refer to the
following link,

https://lore.kernel.org/patchwork/patch/1029475/

Thanks,

Xiaoting

>> Signed-off-by: Xiaoting Liu <xiaoting.liu@hxt-semitech.com>
>> ---
>> v2:
>>    Change the patch subject and commit message.
>>    Drop dps650ab.c file.
>>    Replace struct name dps650ab_pmbus_info with pmbus_info_one_skip.
>> ---
>>   drivers/hwmon/pmbus/pmbus.c | 1 +
>>   1 file changed, 1 insertion(+)
>>
>> diff --git a/drivers/hwmon/pmbus/pmbus.c b/drivers/hwmon/pmbus/pmbus.c
>> index e38dd97cc49a..f6b35f858db8 100644
>> --- a/drivers/hwmon/pmbus/pmbus.c
>> +++ b/drivers/hwmon/pmbus/pmbus.c
>> @@ -213,6 +213,7 @@ static int pmbus_probe(struct i2c_client *client,
>>          {"bmr453", (kernel_ulong_t)&pmbus_info_one},
>>          {"bmr454", (kernel_ulong_t)&pmbus_info_one},
>>          {"dps460", (kernel_ulong_t)&pmbus_info_one_skip},
>> +       {"dps650ab", (kernel_ulong_t)&pmbus_info_one_skip},
>>          {"dps800", (kernel_ulong_t)&pmbus_info_one_skip},
>>          {"mdt040", (kernel_ulong_t)&pmbus_info_one},
>>          {"ncp4200", (kernel_ulong_t)&pmbus_info_one},
>> --
>> 1.8.3.1
>>
>>
>>
>

Patch

diff --git a/drivers/hwmon/pmbus/pmbus.c b/drivers/hwmon/pmbus/pmbus.c
index e38dd97cc49a..f6b35f858db8 100644
--- a/drivers/hwmon/pmbus/pmbus.c
+++ b/drivers/hwmon/pmbus/pmbus.c
@@ -213,6 +213,7 @@  static int pmbus_probe(struct i2c_client *client,
        {"bmr453", (kernel_ulong_t)&pmbus_info_one},
        {"bmr454", (kernel_ulong_t)&pmbus_info_one},
        {"dps460", (kernel_ulong_t)&pmbus_info_one_skip},
+       {"dps650ab", (kernel_ulong_t)&pmbus_info_one_skip},
        {"dps800", (kernel_ulong_t)&pmbus_info_one_skip},
        {"mdt040", (kernel_ulong_t)&pmbus_info_one},
        {"ncp4200", (kernel_ulong_t)&pmbus_info_one},