/linux/Documentation/devicetree/bindings/clock/ |
H A D | intel,cgu-lgm.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/clock/intel,cgu-lgm.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Rahul Tanwar <rahul.tanwar@linux.intel.com> 13 Lightning Mountain(LGM) SoC's Clock Generation Unit(CGU) driver provides 17 Please refer to include/dt-bindings/clock/intel,lgm-clk.h header file, it 23 const: intel,cgu-lgm 28 '#clock-cells': 32 - compatible [all …]
|
/linux/Documentation/devicetree/bindings/leds/ |
H A D | leds-lgm.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/leds/leds-lgm.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Intel Lightning Mountain (LGM) SoC LED Serial Shift Output (SSO) Controller driver 10 - Zhu, Yi Xin <Yixin.zhu@intel.com> 11 - Amireddy Mallikarjuna reddy <mallikarjunax.reddy@intel.com> 15 const: intel,lgm-ssoled 23 clock-names: 25 - const: sso [all …]
|
/linux/Documentation/devicetree/bindings/mmc/ |
H A D | arasan,sdhci.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Adrian Hunter <adrian.hunter@intel.com> 13 - $ref: mmc-controller.yaml# 14 - if: 18 const: arasan,sdhci-5.1 21 - phys 22 - phy-names 23 - if: [all …]
|
/linux/drivers/clk/x86/ |
H A D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0-only 2 obj-$(CONFIG_X86_AMD_PLATFORM_DEVICE) += clk-fch.o 3 obj-$(CONFIG_X86_INTEL_LPSS) += clk-lpss-atom.o clk-pmc-atom.o 4 obj-$(CONFIG_CLK_LGM_CGU) += clk-cgu.o clk-cgu-pll.o clk-lgm.o
|
H A D | clk-lgm.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) 2020-2022 MaxLinear, Inc. 8 #include <linux/clk-provider.h> 12 #include <dt-bindings/clock/intel,lgm-clk.h> 13 #include "clk-cgu.h" 121 * It's more efficient to provide an explicit table due to non-linear 225 * (network on chip peripheral clk) as critical clocks because 427 struct device *dev = &pdev->dev; in lgm_cgu_probe() 428 struct device_node *np = dev->of_node; in lgm_cgu_probe() 434 return -ENOMEM; in lgm_cgu_probe() [all …]
|
/linux/drivers/pwm/ |
H A D | pwm-intel-lgm.c | 1 // SPDX-License-Identifier: GPL-2.0 6 * - The hardware supports fixed period & configures only 2-wire mode. 7 * - Supports normal polarity. Does not support changing polarity. 8 * - When PWM is disabled, output of PWM will become 0(inactive). It doesn't 10 * - When duty cycle is changed, PWM output may be a mix of previous setting 13 * - It is a dedicated PWM fan controller. There are no other consumers for 17 #include <linux/clk.h> 36 #define LGM_PWM_MAX_RPM (BIT(16) - 1) 38 #define LGM_PWM_MAX_DUTY_CYCLE (BIT(8) - 1) 57 struct regmap *regmap = pc->regmap; in lgm_pwm_enable() [all …]
|
H A D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 2 obj-$(CONFIG_PWM) += core.o 3 obj-$(CONFIG_PWM_AB8500) += pwm-ab8500.o 4 obj-$(CONFIG_PWM_ADP5585) += pwm-adp5585.o 5 obj-$(CONFIG_PWM_APPLE) += pwm-apple.o 6 obj-$(CONFIG_PWM_ATMEL) += pwm-atmel.o 7 obj-$(CONFIG_PWM_ATMEL_HLCDC_PWM) += pwm-atmel-hlcdc.o 8 obj-$(CONFIG_PWM_ATMEL_TCB) += pwm-atmel-tcb.o 9 obj-$(CONFIG_PWM_AXI_PWMGEN) += pwm-axi-pwmgen.o 10 obj-$(CONFIG_PWM_BCM_IPROC) += pwm-bcm-iproc.o [all …]
|
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 3 bool "Pulse-Width Modulation (PWM) Support" 5 Generic Pulse-Width Modulation (PWM) support. 7 In Pulse-Width Modulation, a variation of the width of pulses 48 will be called pwm-ab8500. 67 will be called pwm-apple. 77 will be called pwm-atmel. 85 (Atmel High-end LCD Controller). This PWM output is mainly used 89 will be called pwm-atmel-hlcdc. 102 will be called pwm-atmel-tcb. [all …]
|
/linux/drivers/leds/blink/ |
H A D | leds-lgm-sso.c | 1 // SPDX-License-Identifier: GPL-2.0 9 #include <linux/clk.h> 23 #define SSO_DEV_NAME "lgm-sso" 55 #define DATA_CLK_EDGE 0 /* 0-rising, 1-falling */ 63 * SW - Software has to update the SWU bit 64 * GPTC - General Purpose timer is used as clock source 65 * FPID - Divided FSC clock (FPID) is used as clock source 149 if (rate <= priv->freq[i]) in sso_get_blink_rate_idx() 153 return -1; in sso_get_blink_rate_idx() 179 return pin - LED_GRP1_PIN_MAX; in sso_led_pin_blink_off() [all …]
|
/linux/drivers/dma/lgm/ |
H A D | lgm-dma.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (c) 2016 - 2020 Intel Corporation. 9 #include <linux/clk.h> 10 #include <linux/dma-mapping.h> 23 #include "../virt-dma.h" 25 #define DRIVER_NAME "lgm-dma" 68 #define DMA_MAX_CLASS (SZ_32 - 1) 142 #define DMA_ORRC_MAX_CNT (SZ_32 - 1) 149 #define DMA_MAX_DESC_NUM (SZ_8K - 1) 150 #define DMA_CHAN_BOFF_MAX (SZ_256 - 1) [all …]
|
/linux/drivers/mtd/nand/raw/ |
H A D | intel-nand-controller.c | 1 // SPDX-License-Identifier: GPL-2.0+ 4 #include <linux/clk.h> 7 #include <linux/dma-direction.h> 8 #include <linux/dma-mapping.h> 121 struct clk *clk; member 137 return readl_poll_timeout(ctrl->ebu + EBU_WAIT, status, in ebu_nand_waitrdy() 145 u8 cs_num = ebu_host->cs_num; in ebu_nand_readb() 148 val = readb(ebu_host->cs[cs_num].chipaddr + HSNAND_CS_OFFS); in ebu_nand_readb() 156 u8 cs_num = ebu_host->cs_num; in ebu_nand_writeb() 158 writeb(value, ebu_host->cs[cs_num].chipaddr + offset); in ebu_nand_writeb() [all …]
|
/linux/drivers/tty/serial/ |
H A D | lantiq.c | 1 // SPDX-License-Identifier: GPL-2.0 12 #include <linux/clk.h> 111 struct clk *freqclk; 113 struct clk *clk; member 144 u32 fstat = __raw_readl(port->membase + LTQ_ASC_FSTAT); in lqasc_tx_ready() 156 spin_lock_irqsave(<q_port->lock, flags); in lqasc_start_tx() 159 writeb(ch, port->membase + LTQ_ASC_TBUF)); in lqasc_start_tx() 160 spin_unlock_irqrestore(<q_port->lock, flags); in lqasc_start_tx() 167 __raw_writel(ASCWHBSTATE_CLRREN, port->membase + LTQ_ASC_WHBSTATE); in lqasc_stop_rx() 173 struct tty_port *tport = &port->state->port; in lqasc_rx_chars() [all …]
|
/linux/drivers/phy/intel/ |
H A D | phy-intel-lgm-emmc.c | 1 // SPDX-License-Identifier: GPL-2.0 8 #include <linux/clk.h> 48 struct clk *emmcclk; 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() [all …]
|
H A D | phy-intel-lgm-combo.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Intel Combo-PHY driver 5 * Copyright (C) 2019-2020 Intel Corporation. 9 #include <linux/clk.h> 20 #include <dt-bindings/phy/phy.h> 37 #define COMBO_PHY_ID(x) ((x)->parent->id) 38 #define PHY_ID(x) ((x)->id) 88 struct clk *core_clk; 107 struct intel_combo_phy *cbphy = iphy->parent; in intel_cbphy_iphy_enable() 108 u32 mask = BIT(cbphy->phy_mode * 2 + iphy->id); in intel_cbphy_iphy_enable() [all …]
|
/linux/drivers/pci/controller/dwc/ |
H A D | pcie-intel-gw.c | 1 // SPDX-License-Identifier: GPL-2.0 9 #include <linux/clk.h> 20 #include "pcie-designware.h" 22 #define PORT_AFR_N_FTS_GEN12_DFT (SZ_128 - 1) 68 struct clk *core_clk; 86 writel(val, pcie->app_base + ofs); in pcie_app_wr() 92 pcie_update_bits(pcie->app_base, ofs, mask, val); in pcie_app_wr_mask() 97 return dw_pcie_readl_dbi(&pcie->pci, ofs); in pcie_rc_cfg_rd() 102 dw_pcie_writel_dbi(&pcie->pci, ofs, val); in pcie_rc_cfg_wr() 108 pcie_update_bits(pcie->pci.dbi_base, ofs, mask, val); in pcie_rc_cfg_wr_mask() [all …]
|
/linux/drivers/mmc/host/ |
H A D | sdhci-of-arasan.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * Copyright (C) 2011 - 2012 Michal Simek <monstr@monstr.eu> 9 * Based on sdhci-of-esdhc.c 18 #include <linux/clk-provider.h> 26 #include <linux/firmware/xlnx-zynqmp.h> 29 #include "sdhci-cqhci.h" 30 #include "sdhci-pltfm.h" 92 * On some SoCs the syscon area has a feature where the upper 16-bits of 93 * each 32-bit register act as a write mask for the lower 16-bits. This allows 101 * struct sdhci_arasan_soc_ctl_field - Field used in sdhci_arasan_soc_ctl_map [all …]
|
/linux/drivers/spi/ |
H A D | spi-lantiq-ssc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2011-2015 Daniel Schwierzeck <daniel.schwierzeck@gmail.com> 4 * Copyright (C) 2016 Hauke Mehrtens <hauke@hauke-m.de> 11 #include <linux/clk.h> 142 #define LTQ_SPI_RXCNT_TODO_M 0xFFFF /* Recevie to-do value */ 169 struct clk *spi_clk; 170 struct clk *fpi_clk; 191 return __raw_readl(spi->regbase + reg); in lantiq_ssc_readl() 197 __raw_writel(val, spi->regbase + reg); in lantiq_ssc_writel() 203 u32 val = __raw_readl(spi->regbase + reg); in lantiq_ssc_maskl() [all …]
|
H A D | spi-cadence-quadspi.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 // Copyright Altera Corporation (C) 2012-2014. All rights reserved. 6 // Copyright Intel Corporation (C) 2019-2020. All rights reserved. 7 // Copyright (C) 2020 Texas Instruments Incorporated - http://www.ti.com 9 #include <linux/clk.h> 12 #include <linux/dma-mapping.h> 16 #include <linux/firmware/xlnx-zynqmp.h> 30 #include <linux/spi/spi-mem.h> 33 #define CQSPI_NAME "cadence-qspi" 74 struct clk *clk; member [all …]
|
/linux/ |
H A D | MAINTAINERS | 5 --------------------------------------------------- 21 W: *Web-page* with status/info 23 B: URI for where to file *bugs*. A web-page with detailed bug 28 patches to the given subsystem. This is either an in-tree file, 29 or a URI. See Documentation/maintainer/maintainer-entry-profile.rst 46 N: [^a-z]tegra all files whose path contains tegra 64 ---------------- 83 3WARE SAS/SATA-RAID SCSI DRIVERS (3W-XXXX, 3W-9XXX, 3W-SAS) 85 L: linux-scsi@vger.kernel.org 88 F: drivers/scsi/3w-* [all …]
|