Re: [PATCH 1/2] ACPI / APD: Add device HID for Vulcan SPI controller

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

 



Hi,

On Tue, Aug 9, 2016 at 7:35 PM,  <kamlakant.patel@xxxxxxxxxxxx> wrote:
> From: Kamlakant Patel <kamlakant.patel@xxxxxxxxxxxx>
>
> Add device HID for SPI controller on Broadcom Vulcan ARM64.
> The default frequency for SPI on Vulcan is 133MHz.
>
> Signed-off-by: Kamlakant Patel <kamlakant.patel@xxxxxxxxxxxx>
> ---
>  drivers/acpi/acpi_apd.c | 6 ++++++
>  1 file changed, 6 insertions(+)
>
> diff --git a/drivers/acpi/acpi_apd.c b/drivers/acpi/acpi_apd.c
> index 1daf9c4..c80c8f8 100644
> --- a/drivers/acpi/acpi_apd.c
> +++ b/drivers/acpi/acpi_apd.c
> @@ -87,6 +87,11 @@ static struct apd_device_desc xgene_i2c_desc = {
>         .setup = acpi_apd_setup,
>         .fixed_clk_rate = 100000000,
>  };
> +
> +static struct apd_device_desc vulcan_spi_desc = {
> +       .setup = acpi_apd_setup,
> +       .fixed_clk_rate = 133000000,
> +};
>  #endif
>
>  #else
> @@ -149,6 +154,7 @@ static const struct acpi_device_id acpi_apd_device_ids[] = {
>  #endif
>  #ifdef CONFIG_ARM64
>         { "APMC0D0F", APD_ADDR(xgene_i2c_desc) },
> +       { "BRCM900D", APD_ADDR(vulcan_spi_desc) },
>  #endif
>         { }
>  };

Could you please review and apply this patch.
This patch is provides default frequency to the SPI controller, if not
set by firmware.
(Patch "spi: xlp: Add ACPI support for Vulcan SPI controller" is
already applied).

Thanks,
Kamlakant Patel
--
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