Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

clk: qcom: gcc: Add emac GDSC support for SM8150

Add the EMAC GDSC defines and driver structures for SM8150.

Cc: Stephen Boyd <sboyd@kernel.org>
Cc: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Bhupesh Sharma <bhupesh.sharma@linaro.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20220303084824.284946-4-bhupesh.sharma@linaro.org

authored by

Bhupesh Sharma and committed by
Bjorn Andersson
d1a16e34 fb0c4f9d

+11
+10
drivers/clk/qcom/gcc-sm8150.c
··· 3484 3484 .flags = POLL_CFG_GDSCR, 3485 3485 }; 3486 3486 3487 + static struct gdsc emac_gdsc = { 3488 + .gdscr = 0x6004, 3489 + .pd = { 3490 + .name = "emac_gdsc", 3491 + }, 3492 + .pwrsts = PWRSTS_OFF_ON, 3493 + .flags = POLL_CFG_GDSCR, 3494 + }; 3495 + 3487 3496 static struct gdsc usb30_prim_gdsc = { 3488 3497 .gdscr = 0xf004, 3489 3498 .pd = { ··· 3759 3750 }; 3760 3751 3761 3752 static struct gdsc *gcc_sm8150_gdscs[] = { 3753 + [EMAC_GDSC] = &emac_gdsc, 3762 3754 [PCIE_0_GDSC] = &pcie_0_gdsc, 3763 3755 [PCIE_1_GDSC] = &pcie_1_gdsc, 3764 3756 [UFS_CARD_GDSC] = &ufs_card_gdsc,
+1
include/dt-bindings/clock/qcom,gcc-sm8150.h
··· 247 247 #define UFS_PHY_GDSC 3 248 248 #define USB30_PRIM_GDSC 4 249 249 #define USB30_SEC_GDSC 5 250 + #define EMAC_GDSC 6 250 251 251 252 #endif