lkml.org 
[lkml]   [2018]   [Nov]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 06/15] soc: sunxi: sram: Add support for the H5 SoC system control
    Date
    This adds the H5 SoC compatible to the list of device-tree matches for
    the SRAM driver. Since the variant is the same as the A64 (that precedes
    the H5), the same variant description is used.

    Signed-off-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
    ---
    drivers/soc/sunxi/sunxi_sram.c | 4 ++++
    1 file changed, 4 insertions(+)

    diff --git a/drivers/soc/sunxi/sunxi_sram.c b/drivers/soc/sunxi/sunxi_sram.c
    index afa86b5506eb..9df844dffffe 100644
    --- a/drivers/soc/sunxi/sunxi_sram.c
    +++ b/drivers/soc/sunxi/sunxi_sram.c
    @@ -393,6 +393,10 @@ static const struct of_device_id sunxi_sram_dt_match[] = {
    .compatible = "allwinner,sun50i-a64-system-control",
    .data = &sun50i_a64_sramc_variant,
    },
    + {
    + .compatible = "allwinner,sun50i-h5-system-control",
    + .data = &sun50i_a64_sramc_variant,
    + },
    { },
    };
    MODULE_DEVICE_TABLE(of, sunxi_sram_dt_match);
    --
    2.19.1
    \
     
     \ /
      Last update: 2018-11-15 15:52    [W:4.282 / U:0.020 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site