Re: [PATCH 1/3] ACPI / APD: Add clock frequency for ThunderX2 I2C controller

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

 



(You should CC Rafael when doing changes touching ACPI)

On Wed, Sep 27, 2017 at 08:22:21PM +0530, Kamlakant Patel wrote:
> From: Jayachandran C <jnair@xxxxxxxxxxxxxxxxxx>
> 
> Add the input frequency of 125MHz for the ThunderX2 I2C controller block.
> The ACPI ID used is "CAV9007".
> 
> Signed-off-by: Jayachandran C <jnair@xxxxxxxxxxxxxxxxxx>
> Signed-off-by: Kamlakant Patel <kamlakant.patel@xxxxxxxxxx>

Acked-by: Mika Westerberg <mika.westerberg@xxxxxxxxxxxxxxx>

> ---
>  drivers/acpi/acpi_apd.c | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/drivers/acpi/acpi_apd.c b/drivers/acpi/acpi_apd.c
> index 17a1eb1..93acc9b 100644
> --- a/drivers/acpi/acpi_apd.c
> +++ b/drivers/acpi/acpi_apd.c
> @@ -106,6 +106,10 @@ static const struct apd_device_desc vulcan_spi_desc = {
>  	.setup = acpi_apd_setup,
>  	.fixed_clk_rate = 133000000,
>  };
> +static const struct apd_device_desc thunderx2_i2c_desc = {
> +	.setup = acpi_apd_setup,
> +	.fixed_clk_rate = 125000000,
> +};
>  #endif
>  
>  #else
> @@ -170,6 +174,7 @@ static const struct acpi_device_id acpi_apd_device_ids[] = {
>  	{ "APMC0D0F", APD_ADDR(xgene_i2c_desc) },
>  	{ "BRCM900D", APD_ADDR(vulcan_spi_desc) },
>  	{ "CAV900D",  APD_ADDR(vulcan_spi_desc) },
> +	{ "CAV9007",  APD_ADDR(thunderx2_i2c_desc) },
>  #endif
>  	{ }
>  };
> -- 
> 2.7.4
--
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