mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* hwmon: xgene: Add support for X-Gene hwmon driver
@ 2016-07-23 23:51 Itaru Kitayama
  2016-07-24  3:00 ` Hoan Tran
  0 siblings, 1 reply; 5+ messages in thread
From: Itaru Kitayama @ 2016-07-23 23:51 UTC (permalink / raw)
  To: Hoan Tran
  Cc: Jean Delvare, Guenter Roeck, Jonathan Corbet, Rob Herring,
	Jassi Brar, Ashwin Chaugule, Duc Dang, lho, linux-hwmon,
	linux-doc, linux-kernel, linux-arm-kernel, devicetree

Hi Hoan,

I've been testing your patch set on a Rev B0 system with ACPI, in dmesg
I see:

[    1.546444] xgene-slimpro-i2c APMC0D40:00: i2c mailbox channel 
request failed
[    1.570062] xgene-slimpro-hwmon APMC0D29:00: no pcc-channel property

what other packages or subsystems do we need to make this work on 
ACPI-based systems?

Itaru

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: hwmon: xgene: Add support for X-Gene hwmon driver
  2016-07-23 23:51 hwmon: xgene: Add support for X-Gene hwmon driver Itaru Kitayama
@ 2016-07-24  3:00 ` Hoan Tran
  2016-07-24  5:04   ` Itaru Kitayama
  0 siblings, 1 reply; 5+ messages in thread
From: Hoan Tran @ 2016-07-24  3:00 UTC (permalink / raw)
  To: Itaru Kitayama
  Cc: Jean Delvare, Guenter Roeck, Jonathan Corbet, Rob Herring,
	Jassi Brar, Ashwin Chaugule, Duc Dang, lho, linux-hwmon,
	linux-doc, linux-kernel, linux-arm-kernel, devicetree

Hi Itaru,


> On Jul 23, 2016, at 16:51, Itaru Kitayama <itaru.kitayama@riken.jp> wrote:
> 
> Hi Hoan,
> 
> I've been testing your patch set on a Rev B0 system with ACPI, in dmesg
> I see:
> 
> [    1.546444] xgene-slimpro-i2c APMC0D40:00: i2c mailbox channel request failed
> [    1.570062] xgene-slimpro-hwmon APMC0D29:00: no pcc-channel property
> 
> what other packages or subsystems do we need to make this work on ACPI-based systems?

You need the new firmware and BIOS which support ACPI PCC mailbox.

Thanks
Hoan

> 
> Itaru

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: hwmon: xgene: Add support for X-Gene hwmon driver
  2016-07-24  3:00 ` Hoan Tran
@ 2016-07-24  5:04   ` Itaru Kitayama
  2016-07-24  5:53     ` Hoan Tran
  2016-07-24  6:31     ` Loc Ho
  0 siblings, 2 replies; 5+ messages in thread
From: Itaru Kitayama @ 2016-07-24  5:04 UTC (permalink / raw)
  To: Hoan Tran
  Cc: Jean Delvare, Guenter Roeck, Jonathan Corbet, Rob Herring,
	Jassi Brar, Ashwin Chaugule, Duc Dang, lho, linux-hwmon,
	linux-doc, linux-kernel, linux-arm-kernel, devicetree

Hi Hoan,

I didn't mention in my previous post, though I think I'm using fairly 
recent version of Tianocore F/W, and I can confirm there's the PCCT table,

[    0.000000] ACPI: PCCT 0x00000047FA826000 000300 (v01 APM    XGENE 
00000003      01000013)

is this still not enough? If that's the case, I'll talk to APM for
their latest development Tianocore version.
Also, if you or your folks can fold your patch set into APM's xgene-next
GitHub repo, that would help me to keep up with the development.

Itaru

On 7/24/16 12:00 PM, Hoan Tran wrote:
> You need the new firmware and BIOS which support ACPI PCC mailbox.
>
> Thanks
> Hoan

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: hwmon: xgene: Add support for X-Gene hwmon driver
  2016-07-24  5:04   ` Itaru Kitayama
@ 2016-07-24  5:53     ` Hoan Tran
  2016-07-24  6:31     ` Loc Ho
  1 sibling, 0 replies; 5+ messages in thread
From: Hoan Tran @ 2016-07-24  5:53 UTC (permalink / raw)
  To: Itaru Kitayama
  Cc: Jean Delvare, Guenter Roeck, Jonathan Corbet, Rob Herring,
	Jassi Brar, Ashwin Chaugule, Duc Dang, Loc Ho, linux-hwmon,
	linux-doc, lkml, linux-arm-kernel, Devicetree List

Hi Itaru,

On Sat, Jul 23, 2016 at 10:04 PM, Itaru Kitayama
<itaru.kitayama@riken.jp> wrote:
> Hi Hoan,
>
> I didn't mention in my previous post, though I think I'm using fairly recent
> version of Tianocore F/W, and I can confirm there's the PCCT table,
>
> [    0.000000] ACPI: PCCT 0x00000047FA826000 000300 (v01 APM    XGENE
> 00000003      01000013)
>
> is this still not enough? If that's the case, I'll talk to APM for
> their latest development Tianocore version.

Your version is missing the "pcc-channel" property of hwmon inside
ACPI Table. You need a newer version of Tianocore.

> Also, if you or your folks can fold your patch set into APM's xgene-next
> GitHub repo, that would help me to keep up with the development.

xgene-next is currently used for device tree patch only.

Thanks
Hoan

>
> Itaru
>
>
> On 7/24/16 12:00 PM, Hoan Tran wrote:
>>
>> You need the new firmware and BIOS which support ACPI PCC mailbox.
>>
>> Thanks
>> Hoan

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: hwmon: xgene: Add support for X-Gene hwmon driver
  2016-07-24  5:04   ` Itaru Kitayama
  2016-07-24  5:53     ` Hoan Tran
@ 2016-07-24  6:31     ` Loc Ho
  1 sibling, 0 replies; 5+ messages in thread
From: Loc Ho @ 2016-07-24  6:31 UTC (permalink / raw)
  To: Itaru Kitayama
  Cc: Hoan Tran, Jean Delvare, Guenter Roeck, Jonathan Corbet,
	Rob Herring, Jassi Brar, Ashwin Chaugule, Duc Dang, linux-hwmon,
	linux-doc, Linux Kernel Mailing List, linux-arm-kernel,
	devicetree

Hi Itaru,

On Sat, Jul 23, 2016 at 10:04 PM, Itaru Kitayama
<itaru.kitayama@riken.jp> wrote:
>
> Hi Hoan,
>
> I didn't mention in my previous post, though I think I'm using fairly recent version of Tianocore F/W, and I can confirm there's the PCCT table,
>
> [    0.000000] ACPI: PCCT 0x00000047FA826000 000300 (v01 APM    XGENE 00000003      01000013)
>
> is this still not enough? If that's the case, I'll talk to APM for
> their latest development Tianocore version.

You will need the to be released FW version 3.06.xx or above. This new
FW won't be official release until at least a few months. If you want
to test this new firmware, we can get you an earlier image but there
will be very limited support. Though, Hoan will support you when
possible.

> Also, if you or your folks can fold your patch set into APM's xgene-next
> GitHub repo, that would help me to keep up with the development.

This can only get pull into xgene-next if it had accepted upstream.

-Loc

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-07-24  6:31 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-23 23:51 hwmon: xgene: Add support for X-Gene hwmon driver Itaru Kitayama
2016-07-24  3:00 ` Hoan Tran
2016-07-24  5:04   ` Itaru Kitayama
2016-07-24  5:53     ` Hoan Tran
2016-07-24  6:31     ` Loc Ho

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®