Re: [PATCH] hwmon: OCC drivers are PowerPC-only

2019-04-09 Thread Eddie James
On 4/9/19 2:44 PM, Jean Delvare wrote: Hi Eddie, Thanks for the quick answer. On Tue, 9 Apr 2019 10:20:22 -0500, Eddie James wrote: On 4/9/19 7:45 AM, Jean Delvare wrote: Don't propose PowerPC-only drivers on other architectures, unless build-testing. This driver does NOT only run on Power

Re: [PATCH] hwmon: OCC drivers are PowerPC-only

2019-04-09 Thread Guenter Roeck
On Tue, Apr 09, 2019 at 09:44:33PM +0200, Jean Delvare wrote: > Hi Eddie, > > Thanks for the quick answer. > > On Tue, 9 Apr 2019 10:20:22 -0500, Eddie James wrote: > > On 4/9/19 7:45 AM, Jean Delvare wrote: > > > Don't propose PowerPC-only drivers on other architectures, unless > > > build-testi

Re: [PATCH] hwmon: OCC drivers are PowerPC-only

2019-04-09 Thread Jean Delvare
Hi Eddie, Thanks for the quick answer. On Tue, 9 Apr 2019 10:20:22 -0500, Eddie James wrote: > On 4/9/19 7:45 AM, Jean Delvare wrote: > > Don't propose PowerPC-only drivers on other architectures, unless > > build-testing. > > This driver does NOT only run on PowerPC; rather it runs on a BMC

Re: [PATCH] hwmon: OCC drivers are PowerPC-only

2019-04-09 Thread Guenter Roeck
On Tue, Apr 09, 2019 at 10:20:22AM -0500, Eddie James wrote: > > On 4/9/19 7:45 AM, Jean Delvare wrote: > >Don't propose PowerPC-only drivers on other architectures, unless > >build-testing. > > > This driver does NOT only run on PowerPC; rather it runs on a BMC processor > connected to a PowerP

Re: [PATCH] hwmon: OCC drivers are PowerPC-only

2019-04-09 Thread Eddie James
On 4/9/19 7:45 AM, Jean Delvare wrote: Don't propose PowerPC-only drivers on other architectures, unless build-testing. This driver does NOT only run on PowerPC; rather it runs on a BMC processor connected to a PowerPC processor. BMC will most likely be ARM, but shouldn't be restricted to

Re: pmbus based power regulator

2019-04-09 Thread Guenter Roeck
On 4/9/19 6:07 AM, Michal Simek wrote: On 09. 04. 19 15:05, Guenter Roeck wrote: On 4/9/19 5:56 AM, Michal Simek wrote: Hi, I have one question about hwmon/pmbus. I have tps544b25 on the board. I have enabled this chip via DT to get probed. Patch below. I can't see any issue with monitoring b

Re: pmbus based power regulator

2019-04-09 Thread Guenter Roeck
On 4/9/19 5:56 AM, Michal Simek wrote: Hi, I have one question about hwmon/pmbus. I have tps544b25 on the board. I have enabled this chip via DT to get probed. Patch below. I can't see any issue with monitoring but I am curious how to enable setting up voltage. I expect this should be moved to

Re: pmbus based power regulator

2019-04-09 Thread Michal Simek
On 09. 04. 19 15:05, Guenter Roeck wrote: > On 4/9/19 5:56 AM, Michal Simek wrote: >> Hi, >> >> I have one question about hwmon/pmbus. I have tps544b25 on the board. I >> have enabled this chip via DT to get probed. Patch below. >> >> I can't see any issue with monitoring but I am curious how to en

Re: pmbus based power regulator

2019-04-09 Thread Guenter Roeck
On 4/9/19 5:56 AM, Michal Simek wrote: Hi, I have one question about hwmon/pmbus. I have tps544b25 on the board. I have enabled this chip via DT to get probed. Patch below. I can't see any issue with monitoring but I am curious how to enable setting up voltage. I expect this should be moved to

pmbus based power regulator

2019-04-09 Thread Michal Simek
Hi, I have one question about hwmon/pmbus. I have tps544b25 on the board. I have enabled this chip via DT to get probed. Patch below. I can't see any issue with monitoring but I am curious how to enable setting up voltage. I expect this should be moved to regulator folder or better split done as

[PATCH] hwmon: OCC drivers are PowerPC-only

2019-04-09 Thread Jean Delvare
Don't propose PowerPC-only drivers on other architectures, unless build-testing. Also drop configuration symbol SENSORS_OCC which serves no purpose that I can see. Signed-off-by: Jean Delvare Cc: Eddie James Cc: Guenter Roeck --- SENSORS_OCC *would* serve a purpose if the common code between t

Re: [PATCH v3 3/4] lib: logic_pio: Reject accesses to unregistered CPU MMIO regions

2019-04-09 Thread John Garry
To me, it's not good that these hwmon, watchdog, gpio, etc drivers make unconstrained accesses to 0x2e and 0x4e ports (ignoring the request_muxed_region() call). The issue I see is that on an arm, IO space for some other device may be mapped in this region, so it would not be right for these dri