lkml.org 
[lkml]   [2017]   [Sep]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH v4 7/9] soc: mediatek: add dependent clock jpgdec/audio for scpsys
    Date
    There are dependent clock jpgdec/audio in scpsys on MT2712,
    and will exist three dependent clocks on MT2712 VDEC.

    Signed-off-by: Weiyi Lu <weiyi.lu@mediatek.com>
    ---
    drivers/soc/mediatek/mtk-scpsys.c | 6 +++++-
    1 file changed, 5 insertions(+), 1 deletion(-)

    diff --git a/drivers/soc/mediatek/mtk-scpsys.c b/drivers/soc/mediatek/mtk-scpsys.c
    index 2569390..28c6e6a 100644
    --- a/drivers/soc/mediatek/mtk-scpsys.c
    +++ b/drivers/soc/mediatek/mtk-scpsys.c
    @@ -84,6 +84,8 @@ enum clk_id {
    CLK_ETHIF,
    CLK_VDEC,
    CLK_HIFSEL,
    + CLK_JPGDEC,
    + CLK_AUDIO,
    CLK_MAX,
    };

    @@ -96,10 +98,12 @@ enum clk_id {
    "ethif",
    "vdec",
    "hif_sel",
    + "jpgdec",
    + "audio",
    NULL,
    };

    -#define MAX_CLKS 2
    +#define MAX_CLKS 3

    struct scp_domain_data {
    const char *name;
    --
    1.9.1
    \
     
     \ /
      Last update: 2017-09-19 06:01    [W:6.245 / U:0.020 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site