Home
last modified time | relevance | path

Searched full:hhi (Results 1 – 23 of 23) sorted by relevance

/linux/drivers/gpu/drm/meson/
H A Dmeson_vclk.c49 /* 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 Dmeson_dw_hdmi.c62 * 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 Dmeson_encoder_cvbs.c27 /* 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 Dmeson_drv.c225 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 Dmeson_drv.h47 struct regmap *hhi; member
H A Dmeson_venc.c63 /* 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 Dphy-meson8-hdmi-tx.c36 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 Dphy-meson-g12a-mipi-dphy-analog.c132 /* 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 Dphy-meson-axg-mipi-pcie-analog.c209 /* 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 Damlogic,meson-gx-hhi-sysctrl.yaml4 $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 Damlogic,meson-gx-pwrc.txt23 - amlogic,hhi-sysctrl: phandle to the HHI sysctrl node
44 amlogic,hhi-sysctrl = <&sysctrl>;
H A Damlogic,meson-ee-pwrc.yaml18 "amlogic,meson-gx-hhi-sysctrl", "simple-mfd", "syscon"
/linux/Documentation/devicetree/bindings/display/
H A Damlogic,meson-vpu.yaml17 DMC|---------------VPU (Video Processing Unit)----------------|------HHI------|
76 - const: hhi
127 reg-names = "vpu", "hhi";
H A Damlogic,meson-dw-hdmi.yaml34 The HDMI PHY is configured by registers in the HHI register block.
/linux/drivers/clk/meson/
H A Dmeson-eeclk.c29 /* Get the hhi system controller node */ in meson_eeclkc_probe()
35 "failed to get HHI regmap\n"); in meson_eeclkc_probe()
H A Dmeson8b.c3802 pr_err("failed to get HHI regmap - Trying obsolete regs\n"); in meson8b_clkc_init_common()
/linux/Documentation/devicetree/bindings/phy/
H A Damlogic,meson8-hdmi-tx-phy.yaml16 compatible = "amlogic,meson-hhi-sysctrl", "simple-mfd", "syscon"
/linux/arch/arm/boot/dts/amlogic/
H A Dmeson.dtsi33 hhi: system-controller@4000 { label
34 compatible = "amlogic,meson-hhi-sysctrl",
/linux/Documentation/gpu/
H A Dmeson.rst16 DMC|---------------VPU (Video Processing Unit)----------------|------HHI------|
/linux/drivers/pmdomain/amlogic/
H A Dmeson-ee-pwrc.c36 /* 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 Dmeson-gx.dtsi563 compatible = "amlogic,meson-gx-hhi-sysctrl", "simple-mfd", "syscon";
630 reg-names = "vpu", "hhi";
H A Dmeson-axg.dtsi1244 compatible = "amlogic,meson-axg-hhi-sysctrl",
/linux/drivers/hid/
H A Dhid-cp2112.c932 if (sscanf(buf, "%hhi", &cfg.power_mode) != 1)
939 if (sscanf(buf, "%hhi.%hhi", &cfg.release_major, &cfg.release_minor)