/Linux-v6.6/Documentation/devicetree/bindings/mfd/ |
D | aspeed-lpc.yaml | 5 $id: http://devicetree.org/schemas/mfd/aspeed-lpc.yaml# 8 title: Aspeed Low Pin Count (LPC) Bus Controller 15 The LPC bus is a means to bridge a host CPU to a number of low-bandwidth 17 primary use case of the Aspeed LPC controller is as a slave on the bus 21 The LPC controller is represented as a multi-function device to account for the 26 * An LPC Host Interface Controller manages functions exposed to the host such 27 as LPC firmware hub cycles, configuration of the LPC-to-AHB mapping, UART 34 Additionally the state of the LPC controller influences the pinmux 42 - aspeed,ast2400-lpc-v2 43 - aspeed,ast2500-lpc-v2 [all …]
|
/Linux-v6.6/drivers/phy/ |
D | phy-lpc18xx-usb-otg.c | 29 struct lpc18xx_usb_otg_phy *lpc = phy_get_drvdata(phy); in lpc18xx_usb_otg_phy_init() local 33 ret = clk_set_rate(lpc->clk, 480000000); in lpc18xx_usb_otg_phy_init() 37 return clk_prepare(lpc->clk); in lpc18xx_usb_otg_phy_init() 42 struct lpc18xx_usb_otg_phy *lpc = phy_get_drvdata(phy); in lpc18xx_usb_otg_phy_exit() local 44 clk_unprepare(lpc->clk); in lpc18xx_usb_otg_phy_exit() 51 struct lpc18xx_usb_otg_phy *lpc = phy_get_drvdata(phy); in lpc18xx_usb_otg_phy_power_on() local 54 ret = clk_enable(lpc->clk); in lpc18xx_usb_otg_phy_power_on() 59 ret = regmap_update_bits(lpc->reg, LPC18XX_CREG_CREG0, in lpc18xx_usb_otg_phy_power_on() 62 clk_disable(lpc->clk); in lpc18xx_usb_otg_phy_power_on() 71 struct lpc18xx_usb_otg_phy *lpc = phy_get_drvdata(phy); in lpc18xx_usb_otg_phy_power_off() local [all …]
|
/Linux-v6.6/drivers/clocksource/ |
D | clksrc_st_lpc.c | 3 * Clocksource using the Low Power Timer found in the Low Power Controller (LPC) 18 #include <dt-bindings/mfd/st-lpc.h> 55 "clksrc-st-lpc", rate, 300, 32, in st_clksrc_init() 58 pr_err("clksrc-st-lpc: Failed to register clocksource\n"); in st_clksrc_init() 71 pr_err("clksrc-st-lpc: Failed to get LPC clock\n"); in st_clksrc_setup_clk() 76 pr_err("clksrc-st-lpc: Failed to enable LPC clock\n"); in st_clksrc_setup_clk() 81 pr_err("clksrc-st-lpc: Failed to get LPC clock rate\n"); in st_clksrc_setup_clk() 96 ret = of_property_read_u32(np, "st,lpc-mode", &mode); in st_clksrc_of_register() 98 pr_err("clksrc-st-lpc: An LPC mode must be provided\n"); in st_clksrc_of_register() 102 /* LPC can either run as a Clocksource or in RTC or WDT mode */ in st_clksrc_of_register() [all …]
|
/Linux-v6.6/Documentation/devicetree/bindings/watchdog/ |
D | st_lpc_wdt.txt | 1 STMicroelectronics Low Power Controller (LPC) - Watchdog 4 LPC currently supports Watchdog OR Real Time Clock OR Clocksource 7 [See: ../rtc/rtc-st-lpc.txt for RTC options] 8 [See: ../timer/st,stih407-lpc for Clocksource options] 12 - compatible : Should be: "st,stih407-lpc" 13 - reg : LPC registers base address + size 14 - interrupts : LPC interrupt line number and associated flags 15 - clocks : Clock used by LPC device (See: ../clock/clock-bindings.txt) 16 - st,lpc-mode : The LPC can run either one of three modes: 33 lpc@fde05000 { [all …]
|
/Linux-v6.6/Documentation/devicetree/bindings/rtc/ |
D | rtc-st-lpc.txt | 1 STMicroelectronics Low Power Controller (LPC) - RTC 4 LPC currently supports Watchdog OR Real Time Clock OR Clocksource 8 [See: ../timer/st,stih407-lpc for Clocksource options] 12 - compatible : Must be: "st,stih407-lpc" 13 - reg : LPC registers base address + size 14 - interrupts : LPC interrupt line number and associated flags 15 - clocks : Clock used by LPC device (See: ../clock/clock-bindings.txt) 16 - st,lpc-mode : The LPC can run either one of three modes: 23 lpc@fde05000 { 24 compatible = "st,stih407-lpc"; [all …]
|
/Linux-v6.6/Documentation/devicetree/bindings/timer/ |
D | st,stih407-lpc | 1 STMicroelectronics Low Power Controller (LPC) - Clocksource 4 LPC currently supports Watchdog OR Real Time Clock OR Clocksource 8 [See: ../rtc/rtc-st-lpc.txt for RTC options] 12 - compatible : Must be: "st,stih407-lpc" 13 - reg : LPC registers base address + size 14 - interrupts : LPC interrupt line number and associated flags 15 - clocks : Clock used by LPC device (See: ../clock/clock-bindings.txt) 16 - st,lpc-mode : The LPC can run either one of three modes: 23 lpc@fde05000 { 24 compatible = "st,stih407-lpc"; [all …]
|
/Linux-v6.6/Documentation/devicetree/bindings/ipmi/ |
D | aspeed,ast2400-kcs-bmc.yaml | 14 interfaces on the LPC bus for in-band IPMI communication with their host. 43 aspeed,lpc-io-reg: 48 The host CPU LPC IO data and status addresses for the device. For most 52 aspeed,lpc-interrupts: 57 A 2-cell property expressing the LPC SerIRQ number and the interrupt 67 description: The LPC channel number in the controller 95 - aspeed,lpc-io-reg 103 aspeed,lpc-io-reg = <0xca2>; 104 aspeed,lpc-interrupts = <11 IRQ_TYPE_LEVEL_LOW>;
|
/Linux-v6.6/drivers/soc/aspeed/ |
D | aspeed-lpc-ctrl.c | 17 #include <linux/aspeed-lpc-ctrl.h> 19 #define DEVICE_NAME "aspeed-lpc-ctrl" 110 * The bottom half of HICR7 is the MSB of the HOST LPC in aspeed_lpc_ctrl_ioctl() 167 * addr (host lpc address) is safe regardless of values. This in aspeed_lpc_ctrl_ioctl() 169 * side of the LPC bus. This cannot impact the hosts own in aspeed_lpc_ctrl_ioctl() 170 * memory space by surprise as LPC specific accessors are in aspeed_lpc_ctrl_ioctl() 205 * Enable LPC FHW cycles. This is required for the host to in aspeed_lpc_ctrl_ioctl() 285 if (!of_device_is_compatible(np, "aspeed,ast2400-lpc-v2") && in aspeed_lpc_ctrl_probe() 286 !of_device_is_compatible(np, "aspeed,ast2500-lpc-v2") && in aspeed_lpc_ctrl_probe() 287 !of_device_is_compatible(np, "aspeed,ast2600-lpc-v2")) { in aspeed_lpc_ctrl_probe() [all …]
|
D | Kconfig | 8 tristate "ASPEED LPC firmware cycle control" 13 Control LPC firmware cycle mappings through ioctl()s. The driver 15 host LPC read/write region can be buffered. 18 tristate "ASPEED LPC snoop support" 23 Provides a driver to control the LPC snoop interface which 25 the host to an arbitrary LPC I/O port.
|
D | aspeed-lpc-snoop.c | 5 * Provides a simple driver to control the ASPEED LPC snoop interface which 7 * the host to an arbitrary LPC I/O port. 26 #define DEVICE_NAME "aspeed-lpc-snoop" 209 /* Enable LPC snoop channel at requested port */ in aspeed_lpc_enable_snoop() 274 if (!of_device_is_compatible(np, "aspeed,ast2400-lpc-v2") && in aspeed_lpc_snoop_probe() 275 !of_device_is_compatible(np, "aspeed,ast2500-lpc-v2") && in aspeed_lpc_snoop_probe() 276 !of_device_is_compatible(np, "aspeed,ast2600-lpc-v2")) { in aspeed_lpc_snoop_probe() 277 dev_err(dev, "unsupported LPC device binding\n"); in aspeed_lpc_snoop_probe() 356 { .compatible = "aspeed,ast2400-lpc-snoop", 358 { .compatible = "aspeed,ast2500-lpc-snoop", [all …]
|
/Linux-v6.6/drivers/bus/ |
D | hisi_lpc.c | 22 #define DRV_NAME "hisi-lpc" 50 #define LPC_REG_OP_LEN 0x10 /* LPC cycles count per start */ 58 /* The minimal nanosecond interval for each query on LPC cycle status */ 66 * for extra 256 lpc clocks, so (256 + 13) * 30ns = 8 us. The maximum burst 92 * hisi_lpc_target_in - trigger a series of LPC cycles for read operation 93 * @lpcdev: pointer to hisi lpc device 94 * @para: some parameters used to control the lpc I/O operations 95 * @addr: the lpc I/O target port address 145 * hisi_lpc_target_out - trigger a series of LPC cycles for write operation 146 * @lpcdev: pointer to hisi lpc device [all …]
|
/Linux-v6.6/drivers/watchdog/ |
D | st_lpc_wdt.c | 3 * ST's LPC Watchdog 23 #include <dt-bindings/mfd/st-lpc.h> 29 /* LPC as WDT */ 58 .compatible = "st,stih407-lpc", 129 .identity = "ST LPC WDT", 162 ret = of_property_read_u32(np, "st,lpc-mode", &mode); in st_wdog_probe() 164 dev_err(dev, "An LPC mode must be provided\n"); in st_wdog_probe() 168 /* LPC can either run as a Clocksource or in RTC or WDT mode */ in st_wdog_probe() 236 dev_info(dev, "LPC Watchdog driver registered, reset type is %s", in st_wdog_probe() 291 .name = "st-lpc-wdt", [all …]
|
/Linux-v6.6/arch/powerpc/platforms/powernv/ |
D | opal-lpc.c | 3 * PowerNV LPC bus handling. 187 struct lpc_debugfs_entry *lpc = filp->private_data; in lpc_debug_read() local 204 if (lpc->lpc_type == OPAL_LPC_FW) { in lpc_debug_read() 210 rc = opal_lpc_read(opal_lpc_chip_id, lpc->lpc_type, pos, in lpc_debug_read() 224 * respective positions (ie, LPC position). in lpc_debug_read() 229 * IE. If the LPC transaction has bytes B0, B1, B2 and B3 in that in lpc_debug_read() 278 struct lpc_debugfs_entry *lpc = filp->private_data; in lpc_debug_write() local 295 if (lpc->lpc_type == OPAL_LPC_FW) { in lpc_debug_write() 334 rc = opal_lpc_write(opal_lpc_chip_id, lpc->lpc_type, pos, in lpc_debug_write() 374 root = debugfs_create_dir("lpc", arch_debugfs_dir); in opal_lpc_init_debugfs() [all …]
|
/Linux-v6.6/Documentation/arch/loongarch/ |
D | irq-chip-model.rst | 11 PCH-PIC (Main Interrupt Controller in LS7A chipset), PCH-LPC (LPC Interrupt Controller 15 controllers (in CPU), while PCH-PIC/PCH-LPC/PCH-MSI are controllers out of CPU (i.e., 24 interrupts go to PCH-PIC/PCH-LPC/PCH-MSI and gathered by HTVECINTC, and then go 48 | PCH-LPC | | Devices | | Devices | 61 interrupts go to PCH-PIC/PCH-LPC/PCH-MSI and gathered by EIOINTC, and then go to 80 | PCH-LPC | | Devices | | Devices | 127 PCH-LPC:: 159 - PCH-LPC is "LPC Interrupts" described in Section 24.3 of
|
/Linux-v6.6/include/linux/ |
D | dtlk.h | 21 (that is, all but LPC) */ 43 /* LPC speak commands */ 49 /* LPC Port Status Flags (valid only after one of the LPC 52 indicates the LPC synthesizer is 55 indicates that the hardware LPC 60 indicates that the LPC data buffer
|
/Linux-v6.6/Documentation/devicetree/bindings/arm/hisilicon/ |
D | low-pin-count.yaml | 13 Hisilicon HiP06 SoCs implement a Low Pin Count (LPC) controller, which 17 LPC device node. 28 - hisilicon,hip06-lpc 29 - hisilicon,hip07-lpc 50 compatible = "hisilicon,hip06-lpc";
|
/Linux-v6.6/Documentation/translations/zh_CN/arch/loongarch/ |
D | irq-chip-model.rst | 16 断控制器)、PCH-LPC(LS7A芯片组的LPC中断控制器)和PCH-MSI(MSI中断控制器)。 19 全局中断控制器(每个芯片一个,所有核共享),而PCH-PIC/PCH-LPC/PCH-MSI是CPU外部的中 28 PCH-LPC/PCH-MSI,然后被HTVECINTC统一收集,再发送到LIOINTC,最后到达CPUINTC:: 51 | PCH-LPC | | Devices | | Devices | 64 PCH-LPC/PCH-MSI,然后被EIOINTC统一收集,再直接到达CPUINTC:: 82 | PCH-LPC | | Devices | | Devices | 129 PCH-LPC:: 157 - PCH-LPC:即《龙芯7A1000桥片用户手册》第24.3节所描述的“LPC中断”。
|
/Linux-v6.6/drivers/rtc/ |
D | rtc-st-lpc.c | 3 * rtc-st-lpc.c - ST's LPC RTC, powered by the Low Power Timer 25 #include <dt-bindings/mfd/st-lpc.h> 37 /* LPC as WDT */ 191 ret = of_property_read_u32(np, "st,lpc-mode", &mode); in st_rtc_probe() 193 dev_err(&pdev->dev, "An LPC mode must be provided\n"); in st_rtc_probe() 197 /* LPC can either run as a Clocksource or in RTC or WDT mode */ in st_rtc_probe() 297 { .compatible = "st,stih407-lpc" }, 304 .name = "st-lpc-rtc", 313 MODULE_DESCRIPTION("STMicroelectronics LPC RTC driver");
|
/Linux-v6.6/Documentation/devicetree/bindings/serial/ |
D | 8250.yaml | 18 - aspeed,lpc-io-reg 20 - aspeed,lpc-interrupts 202 configured. One possible data source is the LPC/eSPI mode bit. Only 206 aspeed,lpc-io-reg: 210 The VUART LPC address. Only applicable to aspeed,ast2500-vuart. 212 aspeed,lpc-interrupts: 260 aspeed,lpc-io-reg = <0x3f8>; 261 aspeed,lpc-interrupts = <4 IRQ_TYPE_LEVEL_LOW>;
|
/Linux-v6.6/arch/x86/kernel/ |
D | i8237.c | 17 * 8237A DMA controller (used for ISA and LPC). 57 * LPC traffic for POST codes. Original LPC only decodes one byte of in i8237A_init_ops() 58 * port 0x80 but some BIOS may choose to enhance PCH LPC port 0x8x in i8237A_init_ops() 66 * support 8237 DMA or bus mastering from LPC. Platform firmware in i8237A_init_ops()
|
/Linux-v6.6/drivers/char/ipmi/ |
D | kcs_bmc_aspeed.c | 34 * LPCyE Enable LPC channel y 35 * IBFIEy Input Buffer Full IRQ Enable for LPC channel y 36 * IRQxEy Assert SerIRQ x for LPC channel y (Deprecated, use IDyIRQX, IRQXEy) 37 * IDyIRQX Use the specified 4-bit SerIRQ for LPC channel y 38 * SELyIRQX SerIRQ polarity for LPC channel y (low: 0, high: 1) 39 * IRQXEy Assert the SerIRQ specified in IDyIRQX for LPC channel y 535 "aspeed,lpc-io-reg", in aspeed_kcs_of_get_io_address() 538 dev_err(&pdev->dev, "No valid 'aspeed,lpc-io-reg' configured\n"); in aspeed_kcs_of_get_io_address() 543 dev_err(&pdev->dev, "Invalid data address in 'aspeed,lpc-io-reg'\n"); in aspeed_kcs_of_get_io_address() 548 dev_err(&pdev->dev, "Invalid status address in 'aspeed,lpc-io-reg'\n"); in aspeed_kcs_of_get_io_address() [all …]
|
/Linux-v6.6/arch/powerpc/include/asm/ |
D | mpc5121.h | 47 * LPC Module 75 u32 data_word; /* LPC RX/TX FIFO Data Word Register */ 76 u32 fifo_status; /* LPC RX/TX FIFO Status Register */ 77 u32 fifo_ctrl; /* LPC RX/TX FIFO Control Register */ 78 u32 fifo_alarm; /* LPC RX/TX FIFO Alarm Register */
|
/Linux-v6.6/drivers/mcb/ |
D | Kconfig | 33 tristate "LPC (non PCI) based MCB carrier" 37 This is a MCB carrier on a LPC or non PCI device. 39 If build as a module, the module is called mcb-lpc.ko
|
/Linux-v6.6/arch/arm/boot/dts/aspeed/ |
D | aspeed-bmc-amd-ethanolx.dts | 251 aspeed,lpc-io-reg = <0x60>; 256 aspeed,lpc-io-reg = <0x62>; 261 aspeed,lpc-io-reg = <0xCA2>; 266 aspeed,lpc-io-reg = <0x97DE>; 275 //Enable lpc clock 281 aspeed,lpc-io-reg = <0x3f8>; 282 aspeed,lpc-interrupts = <4 IRQ_TYPE_LEVEL_HIGH>;
|
/Linux-v6.6/Documentation/ABI/stable/ |
D | sysfs-driver-aspeed-vuart | 5 will appear on the host <-> BMC LPC bus. 13 the UART will appear on the host <-> BMC LPC bus. 21 host via the BMC LPC bus.
|