Re: [PATCH] i2c: designware: Add clock frequency for future AMD I2C controller

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wednesday, October 19, 2016 02:30:32 PM Nehal Shah wrote:
> This patch supports 150 Mhz i2c clock frequency for Designware ip of future AMD I2C controller.
> 
> Reviewed-by: S-k, Shyam-sundar <Shyam-sundar.S-k@xxxxxxx>
> Signed-off-by: Shah, Nehal-bakulchandra <Nehal-bakulchandra.Shah@xxxxxxx>
> ---
>  drivers/acpi/acpi_apd.c | 7 ++++++-
>  1 file changed, 6 insertions(+), 1 deletion(-)
> 
> diff --git a/drivers/acpi/acpi_apd.c b/drivers/acpi/acpi_apd.c
> index d58fbf7..5ec7f3a 100644
> --- a/drivers/acpi/acpi_apd.c
> +++ b/drivers/acpi/acpi_apd.c
> @@ -77,6 +77,11 @@ static const struct apd_device_desc cz_i2c_desc = {
>      .fixed_clk_rate = 133000000,
>  };
>  
> +static const struct apd_device_desc wt_i2c_desc = {
> +    .setup = acpi_apd_setup,
> +    .fixed_clk_rate = 150000000,
> +};
> +
>  static struct property_entry uart_properties[] = {
>      PROPERTY_ENTRY_U32("reg-io-width", 4),
>      PROPERTY_ENTRY_U32("reg-shift", 2),
> @@ -162,7 +167,7 @@ static const struct acpi_device_id acpi_apd_device_ids[] = {
>      /* Generic apd devices */
>  #ifdef CONFIG_X86_AMD_PLATFORM_DEVICE
>      { "AMD0010", APD_ADDR(cz_i2c_desc) },
> -    { "AMDI0010", APD_ADDR(cz_i2c_desc) },
> +    { "AMDI0010", APD_ADDR(wt_i2c_desc) },
>      { "AMD0020", APD_ADDR(cz_uart_desc) },
>      { "AMDI0020", APD_ADDR(cz_uart_desc) },
>      { "AMD0030", },
> 

Applied.

Thanks,
Rafael

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



[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux