• J
    spi: dw-mmio: add ACPI support · 45ca2904
    Jay Fang 提交于
    mainline inclusion
    from linux-next
    commit: 32215a6c6beb8dcda4bb0759b04ce3c30927963b
    category: feature (SPI ACPI for Hi1620)
    bugzilla: 5443
    CVE: NA
    
    TPM chip on D06 is SPI based, so we need to add SPI ACPI support
    for Hi1620.
    
    Two patches already merged for 4.21, but the core support for spi
    has another patchset needs lots of refactor, so just use the patch
    from Fang Jian to enable this feature on 4.19
    
    [PATCH 1/4] spi: dw-mmio: add ACPI support
    [PATCH 2/4] ACPI / APD: Add clock frequency for Hisilicon Hip08 SPI controller
    [PATCH 3/4] spi: add ACPI support for SPI controller chip select lines(cs-gpios)
    [PATCH 4/4] hulk_defconfig: ensble SPI designware driver for Hi1620
    
    --------------------------------------------------
    
    The Hisilicon Hip08 platform, that uses ACPI, has this controller.
    Let's add ACPI support for DW SPI MMIO-based host.
    
    The ACPI ID used is "HISI0173" for the Designware SPI controller of
    Hisilicon Hip08 platform.
    Signed-off-by: NJay Fang <f.fangjian@huawei.com>
    Signed-off-by: NMark Brown <broonie@kernel.org>
    Signed-off-by: NHanjun Guo <guohanjun@huawei.com>
    Reviewed-by: NYang Yingliang <yangyingliang@huawei.com>
    Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
    45ca2904
spi-dw.c 14.6 KB