| /linux/Documentation/devicetree/bindings/clock/ |
| H A D | mediatek,mt8196-sys-clock.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/clock/mediatek,mt8196-sys-clock.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Guangjie Song <guangjie.song@mediatek.com> 11 - Laura Nao <laura.nao@collabora.com> 14 The clock architecture in MediaTek SoCs is structured like below: 15 PLLs --> 16 dividers --> 18 --> [all …]
|
| H A D | mediatek,mt8196-clock.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/clock/mediatek,mt8196-clock.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Guangjie Song <guangjie.song@mediatek.com> 11 - Laura Nao <laura.nao@collabora.com> 14 The clock architecture in MediaTek SoCs is structured like below: 15 PLLs --> 16 dividers --> 18 --> [all …]
|
| H A D | mediatek,mt8192-sys-clock.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/clock/mediatek,mt8192-sys-clock.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Chun-Jie Chen <chun-jie.chen@mediatek.com> 14 like reset and bus protection on MT8192. 19 - enum: 20 - mediatek,mt8192-topckgen 21 - mediatek,mt8192-infracfg 22 - mediatek,mt8192-pericfg [all …]
|
| H A D | mediatek,mt8195-sys-clock.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/clock/mediatek,mt8195-sys-clock.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Chun-Jie Chen <chun-jie.chen@mediatek.com> 13 The clock architecture in Mediatek like below 14 PLLs --> 15 dividers --> 17 --> 27 - enum: [all …]
|
| H A D | mediatek,mt8186-sys-clock.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/clock/mediatek,mt8186-sys-clock.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Chun-Jie Chen <chun-jie.chen@mediatek.com> 13 The clock architecture in MediaTek like below 14 PLLs --> 15 dividers --> 17 --> 29 - enum: [all …]
|
| H A D | mediatek,mt8188-sys-clock.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/clock/mediatek,mt8188-sys-clock.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Garmin Chang <garmin.chang@mediatek.com> 13 The clock architecture in MediaTek like below 14 PLLs --> 15 dividers --> 17 --> 29 - enum: [all …]
|
| /linux/Documentation/devicetree/bindings/mfd/ |
| H A D | atmel-smc.txt | 5 devices like FPGAs). 8 - compatible: Should be one of the following 9 "atmel,at91sam9260-smc", "syscon" 10 "atmel,sama5d3-smc", "syscon" 11 "atmel,sama5d2-smc", "syscon" 12 "microchip,sam9x60-smc", "syscon" 13 "microchip,sam9x7-smc", "atmel,at91sam9260-smc", "syscon" 14 - reg: Contains offset/length value of the SMC memory 20 compatible = "atmel,sama5d3-smc", "syscon";
|
| H A D | mfd.txt | 1 Multi-Function Devices (MFD) 4 more than one non-unique yet varying hardware functionality. 8 - A mixed signal ASIC on an external bus, sometimes a PMIC (Power Management 10 silicon) that handles analog drivers for things like audio amplifiers, LED 11 drivers, level shifters, PHY (physical interfaces to things like USB or 14 - A range of memory registers containing "miscellaneous system registers" also 15 known as a system controller "syscon" or any other memory range containing a 20 - compatible : "simple-mfd" - this signifies that the operating system 23 Similarly to how "simple-bus" indicates when to see subnodes as children for 24 a simple memory-mapped bus. [all …]
|
| /linux/Documentation/devicetree/bindings/net/ |
| H A D | hisilicon-hns-dsaf.txt | 4 - compatible: should be "hisilicon,hns-dsaf-v1" or "hisilicon,hns-dsaf-v2". 5 "hisilicon,hns-dsaf-v1" is for hip05. 6 "hisilicon,hns-dsaf-v2" is for Hi1610 and Hi1612. 7 - mode: dsa fabric mode string. only support one of dsaf modes like these: 8 "2port-64vf", 9 "6port-16rss", 10 "6port-16vf", 11 "single-port". 12 - interrupts: should contain the DSA Fabric and rcb interrupt. 13 - reg: specifies base physical address(es) and size of the device registers. [all …]
|
| /linux/Documentation/devicetree/bindings/remoteproc/ |
| H A D | ti,keystone-rproc.txt | 5 sub-systems that are used to offload some of the processor-intensive tasks or 8 These processor sub-systems usually contain additional sub-modules like L1 15 Each DSP Core sub-system is represented as a single DT node, and should also 22 -------------------- 25 - compatible: Should be one of the following, 26 "ti,k2hk-dsp" for DSPs on Keystone 2 66AK2H/K SoCs 27 "ti,k2l-dsp" for DSPs on Keystone 2 66AK2L SoCs 28 "ti,k2e-dsp" for DSPs on Keystone 2 66AK2E SoCs 29 "ti,k2g-dsp" for DSPs on Keystone 2 66AK2G SoCs 31 - reg: Should contain an entry for each value in 'reg-names'. [all …]
|
| /linux/drivers/phy/intel/ |
| H A D | phy-intel-lgm-emmc.c | 1 // SPDX-License-Identifier: GPL-2.0 10 #include <linux/mfd/syscon.h> 64 ret = regmap_update_bits(priv->syscfg, EMMC_PHYCTRL1_REG, PDB_MASK, in intel_emmc_phy_power() 67 dev_err(&phy->dev, "CALIO power down bar failed: %d\n", ret); in intel_emmc_phy_power() 75 rate = clk_get_rate(priv->emmcclk); in intel_emmc_phy_power() 78 dev_warn(&phy->dev, "Unsupported rate: %lu\n", rate); in intel_emmc_phy_power() 88 ret = regmap_update_bits(priv->syscfg, EMMC_PHYCTRL1_REG, PDB_MASK, in intel_emmc_phy_power() 91 dev_err(&phy->dev, "CALIO power down bar failed: %d\n", ret); in intel_emmc_phy_power() 102 ret = regmap_read_poll_timeout(priv->syscfg, EMMC_PHYSTAT_REG, in intel_emmc_phy_power() 106 dev_err(&phy->dev, "caldone failed, ret=%d\n", ret); in intel_emmc_phy_power() [all …]
|
| H A D | phy-intel-keembay-emmc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 10 #include <linux/mfd/syscon.h> 66 ret = regmap_update_bits(priv->syscfg, PHY_CFG_0, PWR_DOWN_MASK, in keembay_emmc_phy_power() 69 dev_err(&phy->dev, "CALIO power down bar failed: %d\n", ret); in keembay_emmc_phy_power() 73 ret = regmap_update_bits(priv->syscfg, PHY_CFG_0, DLL_EN_MASK, in keembay_emmc_phy_power() 76 dev_err(&phy->dev, "turn off the dll failed: %d\n", ret); in keembay_emmc_phy_power() 84 mhz = DIV_ROUND_CLOSEST(clk_get_rate(priv->emmcclk), 1000000); in keembay_emmc_phy_power() 100 dev_warn(&phy->dev, "Unsupported rate: %d MHz\n", mhz); in keembay_emmc_phy_power() 109 ret = regmap_update_bits(priv->syscfg, PHY_CFG_0, PWR_DOWN_MASK, in keembay_emmc_phy_power() 112 dev_err(&phy->dev, "CALIO power down bar failed: %d\n", ret); in keembay_emmc_phy_power() [all …]
|
| /linux/Documentation/devicetree/bindings/arm/ |
| H A D | arm,versatile-sysreg.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/arm/arm,versatile-sysreg.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Linus Walleij <linusw@kernel.org> 14 platform functions like board detection and identification, software 20 - const: arm,versatile-sysreg 21 - const: syscon 22 - const: simple-mfd 31 - compatible [all …]
|
| /linux/arch/arm/mach-omap1/ |
| H A D | usb.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 12 #include <linux/dma-map-ops.h> 15 #include <linux/soc/ti/omap1-io.h> 24 /* These routines should handle the standard chip-specific modes 27 * Some board-*.c files will need to set up additional mux options, 28 * like for suspend handling, vbus sensing, GPIOs, and the D+ pullup. 32 * - 1611B H2 (with usb1 mini-AB) using standard Mini-B or OTG cables 33 * - 5912 OSK OHCI (with usb0 standard-A), standard A-to-B cables 34 * - 5912 OSK UDC, with *nonstandard* A-to-A cable 35 * - 1510 Innovator UDC with bundled usb0 cable [all …]
|
| /linux/Documentation/devicetree/bindings/thermal/ |
| H A D | socionext,uniphier-thermal.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/thermal/socionext,uniphier-thermal.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 15 - Kunihiko Hayashi <hayashi.kunihiko@socionext.com> 17 $ref: thermal-sensor.yaml# 22 - socionext,uniphier-pxs2-thermal 23 - socionext,uniphier-ld20-thermal 24 - socionext,uniphier-pxs3-thermal 25 - socionext,uniphier-nx1-thermal [all …]
|
| /linux/drivers/pinctrl/aspeed/ |
| H A D | pinctrl-aspeed.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 #include <linux/mfd/syscon.h> 12 #include "pinctrl-aspeed.h" 18 return pdata->pinmux.ngroups; in aspeed_pinctrl_get_groups_count() 26 return pdata->pinmux.groups[group].name; in aspeed_pinctrl_get_group_name() 35 *pins = &pdata->pinmux.groups[group].pins[0]; in aspeed_pinctrl_get_group_pins() 36 *npins = pdata->pinmux.groups[group].npins; in aspeed_pinctrl_get_group_pins() 44 seq_printf(s, " %s", dev_name(pctldev->dev)); in aspeed_pinctrl_pin_dbg_show() 51 return pdata->pinmux.nfunctions; in aspeed_pinmux_get_fn_count() 59 return pdata->pinmux.functions[function].name; in aspeed_pinmux_get_fn_name() [all …]
|
| /linux/drivers/clocksource/ |
| H A D | timer-atmel-st.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * linux/arch/arm/mach-at91/at91rm9200_time.c 15 #include <linux/mfd/syscon.h> 16 #include <linux/mfd/syscon/atmel-st.h> 71 while (((crtr - last_crtr) & AT91_ST_CRTV) >= timer_latch) { in at91rm9200_timer_interrupt() 147 * time (delta) in our calling convention. Like all clockevents in clkevt32k_next_event() 204 return -EINVAL; in atmel_st_timer_init() 231 return -EINVAL; in atmel_st_timer_init() 249 TIMER_OF_DECLARE(atmel_st_timer, "atmel,at91rm9200-st",
|
| /linux/Documentation/devicetree/bindings/iommu/ |
| H A D | mediatek,iommu.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Yong Wu <yong.wu@mediatek.com> 16 ARM Short-Descriptor translation table format for address translation. 24 +--------+ 26 gals0-rx gals1-rx (Global Async Local Sync rx) 29 gals0-tx gals1-tx (Global Async Local Sync tx) 31 +--------+ 35 +----------------+------- [all …]
|
| /linux/drivers/phy/amlogic/ |
| H A D | phy-meson8-hdmi-tx.c | 1 // SPDX-License-Identifier: GPL-2.0+ 11 #include <linux/mfd/syscon.h> 44 return clk_prepare_enable(priv->tmds_clk); in phy_meson8_hdmi_tx_init() 51 clk_disable_unprepare(priv->tmds_clk); in phy_meson8_hdmi_tx_exit() 62 if (clk_get_rate(priv->tmds_clk) >= 2970UL * 1000 * 1000) in phy_meson8_hdmi_tx_power_on() 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() 73 /* Reset three times, just like the vendor driver does */ 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() [all …]
|
| /linux/drivers/phy/st/ |
| H A D | phy-stih407-usb.c | 1 // SPDX-License-Identifier: GPL-2.0-only 18 #include <linux/mfd/syscon.h> 44 reset_control_deassert(phy_dev->rstc); in stih407_usb2_pico_ctrl() 46 return regmap_update_bits(phy_dev->regmap, phy_dev->ctrl, in stih407_usb2_pico_ctrl() 58 ret = regmap_update_bits(phy_dev->regmap, in stih407_usb2_init_port() 59 phy_dev->param, in stih407_usb2_init_port() 65 return reset_control_deassert(phy_dev->rstport); in stih407_usb2_init_port() 77 * reset (like here) or global reset should be equivalent. in stih407_usb2_exit_port() 79 return reset_control_assert(phy_dev->rstport); in stih407_usb2_exit_port() 91 struct device *dev = &pdev->dev; in stih407_usb2_picophy_probe() [all …]
|
| /linux/drivers/iio/adc/ |
| H A D | exynos_adc.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * exynos_adc.c - Support for ADC in EXYNOS SoCs 5 * 8 ~ 10 channel, 10/12-bit ADC 29 #include <linux/mfd/syscon.h> 117 * a wait-callback is used to wait for the conversion result, 140 if (info->data->needs_sclk) in exynos_adc_unprepare_clk() 141 clk_unprepare(info->sclk); in exynos_adc_unprepare_clk() 142 clk_unprepare(info->clk); in exynos_adc_unprepare_clk() 149 ret = clk_prepare(info->clk); in exynos_adc_prepare_clk() 151 dev_err(info->dev, "failed preparing adc clock: %d\n", ret); in exynos_adc_prepare_clk() [all …]
|
| /linux/arch/m68k/bvme6000/ |
| H A D | config.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 28 #include <asm/bootinfo-vme.h> 46 if (be16_to_cpu(bi->tag) == BI_VME_TYPE) in bvme6000_parse_bootinfo() 62 pit->pcddr |= 0x10; /* WDOG enable */ in bvme6000_reset() 112 pit->pgcr = 0x00; /* Unidirectional 8 bit, no handshake for now */ in config_bvme6000() 113 pit->psrr = 0x18; /* PIACK and PIRQ functions enabled */ in config_bvme6000() 114 pit->pacr = 0x00; /* Sub Mode 00, H2 i/p, no DMA */ in config_bvme6000() 115 pit->padr = 0x00; /* Just to be tidy! */ in config_bvme6000() 116 pit->paddr = 0x00; /* All inputs for now (safest) */ in config_bvme6000() 117 pit->pbcr = 0x80; /* Sub Mode 1x, H4 i/p, no DMA */ in config_bvme6000() [all …]
|
| /linux/drivers/soc/rockchip/ |
| H A D | io-domain.c | 1 // SPDX-License-Identifier: GPL-2.0-only 12 #include <linux/mfd/syscon.h> 25 * They are used like this: 26 * - If the voltage on a rail is above the "1.8" voltage (1.98V) we'll tell the 28 * - If the voltage on a rail is above the "3.3" voltage (3.6V) we'll consider 88 struct rockchip_iodomain *iod = supply->iod; in rk3568_iodomain_write() 93 switch (supply->idx) { in rk3568_iodomain_write() 97 b = supply->idx; in rk3568_iodomain_write() 99 b = supply->idx + 4; in rk3568_iodomain_write() 102 regmap_write(iod->grf, RK3568_PMU_GRF_IO_VSEL2, val0); in rk3568_iodomain_write() [all …]
|
| /linux/drivers/clk/ingenic/ |
| H A D | tcu.c | 1 // SPDX-License-Identifier: GPL-2.0 8 #include <linux/clk-provider.h> 10 #include <linux/mfd/ingenic-tcu.h> 11 #include <linux/mfd/syscon.h> 16 #include <dt-bindings/clock/ingenic,tcu.h> 22 #define pr_fmt(fmt) "ingenic-tcu-clk: " fmt 68 const struct ingenic_tcu_clk_info *info = tcu_clk->info; in ingenic_tcu_enable() 69 struct ingenic_tcu *tcu = tcu_clk->tcu; in ingenic_tcu_enable() 71 regmap_write(tcu->map, TCU_REG_TSCR, BIT(info->gate_bit)); in ingenic_tcu_enable() 79 const struct ingenic_tcu_clk_info *info = tcu_clk->info; in ingenic_tcu_disable() [all …]
|
| /linux/drivers/clk/samsung/ |
| H A D | clk.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 13 #include <linux/clk-provider.h> 14 #include <linux/device-id/of.h> 16 #include "clk-pll.h" 17 #include "clk-cpu.h" 20 * struct samsung_clk_provider - information about clock provider 23 * @sysreg: syscon regmap for clock-provider sysreg controller 24 * @lock: maintains exclusion between callbacks for a given clock-provider 25 * @auto_clock_gate: enable auto clk mode for all clocks in clock-provider 27 * @option_offset: option reg offset. Enables auto mode for clock-provider [all …]
|