linux-i2c.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Question related i2c fixed clk rate
@ 2016-08-25 17:00 Shah, Nehal-bakulchandra
  2016-08-26 11:29 ` Jarkko Nikula
  0 siblings, 1 reply; 2+ messages in thread
From: Shah, Nehal-bakulchandra @ 2016-08-25 17:00 UTC (permalink / raw)
  To: linux-i2c-owner@vger.kernel.org, linux-i2c@vger.kernel.org

Hi,
I am new to this. Appreciate your help for my query.
I am working on updating i2c-designware clock rate for AMD upcoming platform. Here new 150000000 clk rate will be supported. I want to validate this but currently in our platform I do not have any i2c lines out. Is there any tool or way to check if this is getting setup properly.
Basically I want to change
 .fixed_clk_rate = 133000000 to 
.fixed_clk_rate = 150000000 in acpi_apd.c file.

--
Nehal
--
To unsubscribe from this list: send the line "unsubscribe linux-i2c" in the body of a message to majordomo@vger.kernel.org More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: Question related i2c fixed clk rate
  2016-08-25 17:00 Question related i2c fixed clk rate Shah, Nehal-bakulchandra
@ 2016-08-26 11:29 ` Jarkko Nikula
  0 siblings, 0 replies; 2+ messages in thread
From: Jarkko Nikula @ 2016-08-26 11:29 UTC (permalink / raw)
  To: Shah, Nehal-bakulchandra
  Cc: linux-i2c-owner@vger.kernel.org, linux-i2c@vger.kernel.org,
	Ken Xue, Xiangliang Yu, Wang Hongcheng

Hi

+ Cc AMD contacts from acpi_apd.c changelog

On 08/25/2016 08:00 PM, Shah, Nehal-bakulchandra wrote:
> Hi,
> I am new to this. Appreciate your help for my query.
> I am working on updating i2c-designware clock rate for AMD upcoming platform. Here new 150000000 clk rate will be supported. I want to validate this but currently in our platform I do not have any i2c lines out. Is there any tool or way to check if this is getting setup properly.
> Basically I want to change
>  .fixed_clk_rate = 133000000 to
> .fixed_clk_rate = 150000000 in acpi_apd.c file.
>
I guess what you want is to have a new static struct apd_device_desc 
descriptor in drivers/acpi/acpi_apd.c and a new entry to 
acpi_apd_device_ids[] for your new platform.

Something like what commits b790eb20b8e4 ("ACPI / APD: Add APM X-Gene 
ACPI I2C device support") does.

-- 
Jarkko

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

end of thread, other threads:[~2016-08-26 11:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-25 17:00 Question related i2c fixed clk rate Shah, Nehal-bakulchandra
2016-08-26 11:29 ` Jarkko Nikula

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).