Commit 0f390c8c authored by Dmitry Baryshkov's avatar Dmitry Baryshkov
Browse files

drm/msm/hdmi-phy: populate 8x60 HDMI PHY requirements



Declare that 8x60 HDMI PHY uses the core-vdda regulator and slave_iface
clock (this is the same config as is used by the 8960).

Reviewed-by: default avatarStephen Boyd <swboyd@chromium.org>
Signed-off-by: default avatarDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Patchwork: https://patchwork.freedesktop.org/patch/488863/
Link: https://lore.kernel.org/r/20220609122350.3157529-13-dmitry.baryshkov@linaro.org


Signed-off-by: default avatarDmitry Baryshkov <dmitry.baryshkov@linaro.org>
parent ac1c2787
Loading
Loading
Loading
Loading
+12 −0
Original line number Original line Diff line number Diff line
@@ -122,8 +122,20 @@ static void hdmi_phy_8x60_powerdown(struct hdmi_phy *phy)
		       HDMI_8x60_PHY_REG2_PD_DESER);
		       HDMI_8x60_PHY_REG2_PD_DESER);
}
}


static const char * const hdmi_phy_8x60_reg_names[] = {
	"core-vdda",
};

static const char * const hdmi_phy_8x60_clk_names[] = {
	"slave_iface",
};

const struct hdmi_phy_cfg msm_hdmi_phy_8x60_cfg = {
const struct hdmi_phy_cfg msm_hdmi_phy_8x60_cfg = {
	.type = MSM_HDMI_PHY_8x60,
	.type = MSM_HDMI_PHY_8x60,
	.powerup = hdmi_phy_8x60_powerup,
	.powerup = hdmi_phy_8x60_powerup,
	.powerdown = hdmi_phy_8x60_powerdown,
	.powerdown = hdmi_phy_8x60_powerdown,
	.reg_names = hdmi_phy_8x60_reg_names,
	.num_regs = ARRAY_SIZE(hdmi_phy_8x60_reg_names),
	.clk_names = hdmi_phy_8x60_clk_names,
	.num_clks = ARRAY_SIZE(hdmi_phy_8x60_clk_names),
};
};