/linux/drivers/gpu/drm/meson/ |
H A D | meson_vclk.c | 49 /* HHI Registers */ 140 regmap_update_bits(priv->hhi, HHI_VID_PLL_CLK_DIV, VID_PLL_EN, 0); in meson_vid_pll_set() 141 regmap_update_bits(priv->hhi, HHI_VID_PLL_CLK_DIV, VID_PLL_PRESET, 0); in meson_vid_pll_set() 204 regmap_update_bits(priv->hhi, HHI_VID_PLL_CLK_DIV, in meson_vid_pll_set() 208 regmap_update_bits(priv->hhi, HHI_VID_PLL_CLK_DIV, in meson_vid_pll_set() 211 regmap_update_bits(priv->hhi, HHI_VID_PLL_CLK_DIV, in meson_vid_pll_set() 213 regmap_update_bits(priv->hhi, HHI_VID_PLL_CLK_DIV, in meson_vid_pll_set() 215 regmap_update_bits(priv->hhi, HHI_VID_PLL_CLK_DIV, in meson_vid_pll_set() 219 regmap_update_bits(priv->hhi, HHI_VID_PLL_CLK_DIV, in meson_vid_pll_set() 221 regmap_update_bits(priv->hhi, HHI_VID_PLL_CLK_DIV, in meson_vid_pll_set() [all …]
|
H A D | meson_dw_hdmi.c | 62 * HHI register block. 104 /* HHI Registers */ 292 regmap_write(priv->hhi, HHI_HDMI_PHY_CNTL0, 0x333d3282); in meson_hdmi_phy_setup_mode() 293 regmap_write(priv->hhi, HHI_HDMI_PHY_CNTL3, 0x2136315b); in meson_hdmi_phy_setup_mode() 296 regmap_write(priv->hhi, HHI_HDMI_PHY_CNTL0, 0x33303382); in meson_hdmi_phy_setup_mode() 297 regmap_write(priv->hhi, HHI_HDMI_PHY_CNTL3, 0x2036315b); in meson_hdmi_phy_setup_mode() 300 regmap_write(priv->hhi, HHI_HDMI_PHY_CNTL0, 0x33303362); in meson_hdmi_phy_setup_mode() 301 regmap_write(priv->hhi, HHI_HDMI_PHY_CNTL3, 0x2016315b); in meson_hdmi_phy_setup_mode() 304 regmap_write(priv->hhi, HHI_HDMI_PHY_CNTL0, 0x33604142); in meson_hdmi_phy_setup_mode() 305 regmap_write(priv->hhi, HHI_HDMI_PHY_CNTL3, 0x0016315b); in meson_hdmi_phy_setup_mode() [all …]
|
H A D | meson_encoder_cvbs.c | 27 /* HHI VDAC Registers */ 181 regmap_write(priv->hhi, HHI_VDAC_CNTL0, 1); in meson_encoder_cvbs_atomic_enable() 182 regmap_write(priv->hhi, HHI_VDAC_CNTL1, 0); in meson_encoder_cvbs_atomic_enable() 185 regmap_write(priv->hhi, HHI_VDAC_CNTL0, 0xf0001); in meson_encoder_cvbs_atomic_enable() 186 regmap_write(priv->hhi, HHI_VDAC_CNTL1, 0); in meson_encoder_cvbs_atomic_enable() 188 regmap_write(priv->hhi, HHI_VDAC_CNTL0_G12A, 0x906001); in meson_encoder_cvbs_atomic_enable() 189 regmap_write(priv->hhi, HHI_VDAC_CNTL1_G12A, 0); in meson_encoder_cvbs_atomic_enable() 202 regmap_write(priv->hhi, HHI_VDAC_CNTL0_G12A, 0); in meson_encoder_cvbs_atomic_disable() 203 regmap_write(priv->hhi, HHI_VDAC_CNTL1_G12A, 0); in meson_encoder_cvbs_atomic_disable() 205 regmap_write(priv->hhi, HHI_VDAC_CNTL0, 0); in meson_encoder_cvbs_atomic_disable() [all …]
|
H A D | meson_drv.c | 225 res = platform_get_resource_byname(pdev, IORESOURCE_MEM, "hhi"); in meson_drv_bind_master() 237 priv->hhi = devm_regmap_init_mmio(dev, regs, in meson_drv_bind_master() 239 if (IS_ERR(priv->hhi)) { in meson_drv_bind_master() 240 dev_err(&pdev->dev, "Couldn't create the HHI regmap\n"); in meson_drv_bind_master() 241 ret = PTR_ERR(priv->hhi); in meson_drv_bind_master() 468 * private structure for HHI registers.
|
H A D | meson_drv.h | 47 struct regmap *hhi; member
|
H A D | meson_venc.c | 63 /* HHI Registers */ 1960 regmap_update_bits(priv->hhi, HHI_GCLK_MPEG2, BIT(25), BIT(25)); in meson_venc_enable_vsync() 1965 regmap_update_bits(priv->hhi, HHI_GCLK_MPEG2, BIT(25), 0); in meson_venc_disable_vsync() 1973 regmap_write(priv->hhi, HHI_VDAC_CNTL0_G12A, 0); in meson_venc_init() 1974 regmap_write(priv->hhi, HHI_VDAC_CNTL1_G12A, 8); in meson_venc_init() 1976 regmap_write(priv->hhi, HHI_VDAC_CNTL0, 0); in meson_venc_init() 1977 regmap_write(priv->hhi, HHI_VDAC_CNTL1, 8); in meson_venc_init() 1984 regmap_write(priv->hhi, HHI_HDMI_PHY_CNTL0, 0); in meson_venc_init()
|
/linux/drivers/phy/amlogic/ |
H A D | phy-meson8-hdmi-tx.c | 36 struct regmap *hhi; member 67 regmap_write(priv->hhi, HHI_HDMI_PHY_CNTL0, in phy_meson8_hdmi_tx_power_on() 71 regmap_write(priv->hhi, HHI_HDMI_PHY_CNTL1, 0x0); in phy_meson8_hdmi_tx_power_on() 75 regmap_write(priv->hhi, HHI_HDMI_PHY_CNTL1, in phy_meson8_hdmi_tx_power_on() 80 regmap_write(priv->hhi, HHI_HDMI_PHY_CNTL1, in phy_meson8_hdmi_tx_power_on() 92 regmap_write(priv->hhi, HHI_HDMI_PHY_CNTL0, in phy_meson8_hdmi_tx_power_off() 123 priv->hhi = syscon_node_to_regmap(np->parent); in phy_meson8_hdmi_tx_probe() 124 if (IS_ERR(priv->hhi)) in phy_meson8_hdmi_tx_probe() 125 return PTR_ERR(priv->hhi); in phy_meson8_hdmi_tx_probe()
|
H A D | phy-meson-g12a-mipi-dphy-analog.c | 132 /* Get the hhi system controller node */ in phy_g12a_mipi_dphy_analog_probe() 137 return dev_err_probe(dev, PTR_ERR(map), "failed to get HHI regmap\n"); in phy_g12a_mipi_dphy_analog_probe()
|
H A D | phy-meson-axg-mipi-pcie-analog.c | 209 /* Get the hhi system controller node */ in phy_axg_mipi_pcie_analog_probe() 215 "failed to get HHI regmap\n"); in phy_axg_mipi_pcie_analog_probe()
|
/linux/Documentation/devicetree/bindings/soc/amlogic/ |
H A D | amlogic,meson-gx-hhi-sysctrl.yaml | 4 $id: http://devicetree.org/schemas/soc/amlogic/amlogic,meson-gx-hhi-sysctrl.yaml# 16 - amlogic,meson-gx-hhi-sysctrl 18 - amlogic,meson-axg-hhi-sysctrl 43 - amlogic,meson-gx-hhi-sysctrl 44 - amlogic,meson-axg-hhi-sysctrl 71 - amlogic,meson-gx-hhi-sysctrl 80 - amlogic,meson-axg-hhi-sysctrl 105 compatible = "amlogic,meson-gx-hhi-sysctrl", "simple-mfd", "syscon"; 164 compatible = "amlogic,meson-axg-hhi-sysctrl", "simple-mfd", "syscon";
|
/linux/Documentation/devicetree/bindings/power/ |
H A D | amlogic,meson-gx-pwrc.txt | 23 - amlogic,hhi-sysctrl: phandle to the HHI sysctrl node 44 amlogic,hhi-sysctrl = <&sysctrl>;
|
H A D | amlogic,meson-ee-pwrc.yaml | 18 "amlogic,meson-gx-hhi-sysctrl", "simple-mfd", "syscon"
|
/linux/Documentation/devicetree/bindings/display/ |
H A D | amlogic,meson-vpu.yaml | 17 DMC|---------------VPU (Video Processing Unit)----------------|------HHI------| 76 - const: hhi 127 reg-names = "vpu", "hhi";
|
H A D | amlogic,meson-dw-hdmi.yaml | 34 The HDMI PHY is configured by registers in the HHI register block.
|
/linux/drivers/clk/meson/ |
H A D | meson-eeclk.c | 29 /* Get the hhi system controller node */ in meson_eeclkc_probe() 35 "failed to get HHI regmap\n"); in meson_eeclkc_probe()
|
H A D | meson8b.c | 3802 pr_err("failed to get HHI regmap - Trying obsolete regs\n"); in meson8b_clkc_init_common()
|
/linux/Documentation/devicetree/bindings/phy/ |
H A D | amlogic,meson8-hdmi-tx-phy.yaml | 16 compatible = "amlogic,meson-hhi-sysctrl", "simple-mfd", "syscon"
|
/linux/arch/arm/boot/dts/amlogic/ |
H A D | meson.dtsi | 33 hhi: system-controller@4000 { label 34 compatible = "amlogic,meson-hhi-sysctrl",
|
/linux/Documentation/gpu/ |
H A D | meson.rst | 16 DMC|---------------VPU (Video Processing Unit)----------------|------HHI------|
|
/linux/drivers/pmdomain/amlogic/ |
H A D | meson-ee-pwrc.c | 36 /* HHI Offsets */ 535 dev_err(&pdev->dev, "failed to get HHI regmap\n"); in meson_ee_pwrc_probe()
|
/linux/arch/arm64/boot/dts/amlogic/ |
H A D | meson-gx.dtsi | 563 compatible = "amlogic,meson-gx-hhi-sysctrl", "simple-mfd", "syscon"; 630 reg-names = "vpu", "hhi";
|
H A D | meson-axg.dtsi | 1244 compatible = "amlogic,meson-axg-hhi-sysctrl",
|
/linux/drivers/hid/ |
H A D | hid-cp2112.c | 932 if (sscanf(buf, "%hhi", &cfg.power_mode) != 1) 939 if (sscanf(buf, "%hhi.%hhi", &cfg.release_major, &cfg.release_minor)
|