Home
last modified time | relevance | path

Searched +full:smbus +full:- +full:timeout +full:- +full:disable (Results 1 – 25 of 109) sorted by relevance

12345

/kernel/linux/linux-5.10/Documentation/devicetree/bindings/hwmon/
Dmax6697.txt4 - compatible:
16 - reg: I2C address
20 - smbus-timeout-disable
21 Set to disable SMBus timeout. If not specified, SMBus timeout will be
23 - extended-range-enable
26 - beta-compensation-enable
30 - alert-mask
34 - over-temperature-mask
35 Over-temperature bit mask. Over-temperature reporting disabled for
38 If not specified, over-temperature reporting will be enabled for all
[all …]
Dstts751.txt4 - compatible: "stts751"
5 - reg: I2C bus address of the device
8 - smbus-timeout-disable: when set, the smbus timeout function will be disabled
12 temp-sensor {
Djc42.txt1 Properties for Jedec JC-42.4 compatible temperature sensors
4 - compatible: May include a device-specific string consisting of the
7 Must include "jedec,jc-42.4-temp" for any Jedec JC-42.4
35 - reg: I2C address
38 - smbus-timeout-disable: When set, the smbus timeout function will be disabled.
43 temp-sensor@1a {
44 compatible = "jedec,jc-42.4-temp";
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/hwmon/
Dmax6697.txt4 - compatible:
16 - reg: I2C address
20 - smbus-timeout-disable
21 Set to disable SMBus timeout. If not specified, SMBus timeout will be
23 - extended-range-enable
26 - beta-compensation-enable
30 - alert-mask
34 - over-temperature-mask
35 Over-temperature bit mask. Over-temperature reporting disabled for
38 If not specified, over-temperature reporting will be enabled for all
[all …]
Dstts751.txt4 - compatible: "stts751"
5 - reg: I2C bus address of the device
8 - smbus-timeout-disable: when set, the smbus timeout function will be disabled
12 temp-sensor {
Djedec,jc42.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Jedec JC-42.4 compatible temperature sensors
10 - Jean Delvare <jdelvare@suse.com>
11 - Guenter Roeck <linux@roeck-us.net>
16 const: jedec,jc-42.4-temp
19 - compatible
24 - const: jedec,jc-42.4-temp
25 - items:
[all …]
/kernel/linux/linux-6.6/drivers/i2c/busses/
Di2c-amd8111.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * SMBus 2.0 driver for AMD-8111 IO-Hub.
21 MODULE_DESCRIPTION("AMD8111 SMBus 2.0 driver");
61 #define AMD_EC_CMD_BD 0x83 /* disable burst mode */
68 static int amd_ec_wait_write(struct amd_smbus *smbus) in amd_ec_wait_write() argument
70 int timeout = 500; in amd_ec_wait_write() local
72 while ((inb(smbus->base + AMD_EC_SC) & AMD_EC_SC_IBF) && --timeout) in amd_ec_wait_write()
75 if (!timeout) { in amd_ec_wait_write()
76 dev_warn(&smbus->dev->dev, in amd_ec_wait_write()
77 "Timeout while waiting for IBF to clear\n"); in amd_ec_wait_write()
[all …]
Di2c-nforce2.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 SMBus driver for nVidia nForce2 MCP
7 Copyright (c) 2003 Hans-Frieder Vogt <hfvogt@arcor.de>,
9 SMBus 2.0 driver for AMD-8111 IO-Hub
21 nForce4 MCP-04 0034
35 /* Note: we assume there can only be one nForce2, with two SMBus interfaces */
50 MODULE_AUTHOR("Hans-Frieder Vogt <hfvogt@gmx.net>");
51 MODULE_DESCRIPTION("nForce2/3/4/5xx SMBus driver");
64 * nVidia nForce2 SMBus control register definitions
72 * ACPI 2.0 chapter 13 SMBus 2.0 EC register model
[all …]
Di2c-i801.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 Copyright (c) 1998 - 2002 Frodo Looijaard <frodol@dds.nl>,
6 Copyright (C) 2007 - 2014 Jean Delvare <jdelvare@suse.de>
16 * region SMBus Block proc. block
18 * ---------------------------------------------------------------------------
43 * Lynx Point-LP (PCH) 0x9c22 32 hard yes yes yes
51 * Wildcat Point-LP (PCH) 0x9ca2 32 hard yes yes yes
54 * Sunrise Point-H (PCH) 0xa123 32 hard yes yes yes
55 * Sunrise Point-LP (PCH) 0x9d23 32 hard yes yes yes
61 * Kaby Lake PCH-H (PCH) 0xa2a3 32 hard yes yes yes
[all …]
Di2c-ali15x3.c1 // SPDX-License-Identifier: GPL-2.0-or-later
34 ACPI-compliant Power Management Unit (PMU).
47 /* Note: we assume there can only be one ALI15X3, with one SMBus interface */
59 /* ALI15X3 SMBus address offsets */
127 - SMB I/O address is initialized in ali15x3_setup()
128 - Device is enabled in ali15x3_setup()
129 - We can use the addresses in ali15x3_setup()
133 The data sheet says that the address registers are read-only in ali15x3_setup()
143 /* Determine the address of the SMBus area */ in ali15x3_setup()
145 ali15x3_smba &= (0xffff & ~(ALI15X3_SMB_IOSIZE - 1)); in ali15x3_setup()
[all …]
Di2c-ali1535.c1 // SPDX-License-Identifier: GPL-2.0-or-later
18 the sequencing of the SMBus transactions has been modified
22 by comparing this driver to the i2c-ali15x3 driver.
26 ACPI-compliant Power Management Unit (PMU).
39 /* Note: we assume there can only be one ALI1535, with one SMBus interface */
52 /* ALI1535 SMBus address offsets */
87 #define ALI1535_DEV10B_EN 0x80 /* Enable 10-bit addressing in */
89 #define ALI1535_T_OUT 0x08 /* Time-out Command (write) */
90 #define ALI1535_A_HIGH_BIT9 0x08 /* Bit 9 of 10-bit address in */
91 /* Alert-Response-Address */
[all …]
Di2c-viapro.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 Copyright (c) 1998 - 2002 Frodo Looijaard <frodol@dds.nl>,
6 Copyright (C) 2005 - 2008 Jean Delvare <jdelvare@suse.de>
30 Note: we assume there can only be one device, with one SMBus interface.
50 /* SMBus address offsets */
62 /* SMBus data in configuration space can be found in two places,
84 MODULE_PARM_DESC(force, "Forcibly enable the SMBus. DANGEROUS!");
91 "Forcibly enable the SMBus at the given address. "
118 for (; i < I2C_SMBUS_BLOCK_MAX - 1; i++) in vt596_dump_regs()
127 /* Return -1 on error, 0 on success */
[all …]
Di2c-sis630.c1 // SPDX-License-Identifier: GPL-2.0-or-later
16 +------------------------+--------------------+-------------------+
18 +------------------------+--------------------+-------------------+
20 | SMBus registers offset | 0x80 | 0xE0 |
25 +------------------------+--------------------+-------------------+
28 Note: we assume there can only be one device, with one SMBus interface.
43 /* SIS630/730/964 SMBus registers */
58 #define MSTO_EN 0x40 /* Host Master Timeout Enable */
100 /* SMBus base address */
126 /* Make sure the SMBus host is ready to start transmitting. */ in sis630_transaction_start()
[all …]
/kernel/linux/linux-5.10/drivers/i2c/busses/
Di2c-amd8111.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * SMBus 2.0 driver for AMD-8111 IO-Hub.
21 MODULE_DESCRIPTION("AMD8111 SMBus 2.0 driver");
61 #define AMD_EC_CMD_BD 0x83 /* disable burst mode */
68 static int amd_ec_wait_write(struct amd_smbus *smbus) in amd_ec_wait_write() argument
70 int timeout = 500; in amd_ec_wait_write() local
72 while ((inb(smbus->base + AMD_EC_SC) & AMD_EC_SC_IBF) && --timeout) in amd_ec_wait_write()
75 if (!timeout) { in amd_ec_wait_write()
76 dev_warn(&smbus->dev->dev, in amd_ec_wait_write()
77 "Timeout while waiting for IBF to clear\n"); in amd_ec_wait_write()
[all …]
Di2c-nforce2.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 SMBus driver for nVidia nForce2 MCP
7 Copyright (c) 2003 Hans-Frieder Vogt <hfvogt@arcor.de>,
9 SMBus 2.0 driver for AMD-8111 IO-Hub
21 nForce4 MCP-04 0034
35 /* Note: we assume there can only be one nForce2, with two SMBus interfaces */
50 MODULE_AUTHOR("Hans-Frieder Vogt <hfvogt@gmx.net>");
51 MODULE_DESCRIPTION("nForce2/3/4/5xx SMBus driver");
64 * nVidia nForce2 SMBus control register definitions
72 * ACPI 2.0 chapter 13 SMBus 2.0 EC register model
[all …]
Di2c-i801.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 Copyright (c) 1998 - 2002 Frodo Looijaard <frodol@dds.nl>,
6 Copyright (C) 2007 - 2014 Jean Delvare <jdelvare@suse.de>
16 * region SMBus Block proc. block
18 * ---------------------------------------------------------------------------
43 * Lynx Point-LP (PCH) 0x9c22 32 hard yes yes yes
51 * Wildcat Point-LP (PCH) 0x9ca2 32 hard yes yes yes
54 * Sunrise Point-H (PCH) 0xa123 32 hard yes yes yes
55 * Sunrise Point-LP (PCH) 0x9d23 32 hard yes yes yes
61 * Kaby Lake PCH-H (PCH) 0xa2a3 32 hard yes yes yes
[all …]
Di2c-ali15x3.c1 // SPDX-License-Identifier: GPL-2.0-or-later
34 ACPI-compliant Power Management Unit (PMU).
47 /* Note: we assume there can only be one ALI15X3, with one SMBus interface */
59 /* ALI15X3 SMBus address offsets */
127 - SMB I/O address is initialized in ali15x3_setup()
128 - Device is enabled in ali15x3_setup()
129 - We can use the addresses in ali15x3_setup()
133 The data sheet says that the address registers are read-only in ali15x3_setup()
143 /* Determine the address of the SMBus area */ in ali15x3_setup()
145 ali15x3_smba &= (0xffff & ~(ALI15X3_SMB_IOSIZE - 1)); in ali15x3_setup()
[all …]
Di2c-ali1535.c1 // SPDX-License-Identifier: GPL-2.0-or-later
18 the sequencing of the SMBus transactions has been modified
22 by comparing this driver to the i2c-ali15x3 driver.
26 ACPI-compliant Power Management Unit (PMU).
39 /* Note: we assume there can only be one ALI1535, with one SMBus interface */
52 /* ALI1535 SMBus address offsets */
87 #define ALI1535_DEV10B_EN 0x80 /* Enable 10-bit addressing in */
89 #define ALI1535_T_OUT 0x08 /* Time-out Command (write) */
90 #define ALI1535_A_HIGH_BIT9 0x08 /* Bit 9 of 10-bit address in */
91 /* Alert-Response-Address */
[all …]
Di2c-viapro.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 Copyright (c) 1998 - 2002 Frodo Looijaard <frodol@dds.nl>,
6 Copyright (C) 2005 - 2008 Jean Delvare <jdelvare@suse.de>
30 Note: we assume there can only be one device, with one SMBus interface.
50 /* SMBus address offsets */
62 /* SMBus data in configuration space can be found in two places,
84 MODULE_PARM_DESC(force, "Forcibly enable the SMBus. DANGEROUS!");
91 "Forcibly enable the SMBus at the given address. "
118 for (; i < I2C_SMBUS_BLOCK_MAX - 1; i++) in vt596_dump_regs()
127 /* Return -1 on error, 0 on success */
[all …]
Di2c-mlxbf.c1 // SPDX-License-Identifier: GPL-2.0
54 * Note that the following SMBus, CAUSE, GPIO and PLL register addresses
56 * memory-mapped region whose addresses are specified in either the DT or
61 * SMBus Master core clock frequency. Timing configurations are
62 * strongly dependent on the core clock frequency of the SMBus
66 /* Reference clock for Bluefield - 156 MHz. */
106 /* Transfer timeout occurred. */
149 * Note that Smbus GWs are on GPIOs 30:25. Two pins are used to control
152 * SMBUS GW0 -> bits[26:25]
153 * SMBUS GW1 -> bits[28:27]
[all …]
Di2c-sis630.c1 // SPDX-License-Identifier: GPL-2.0-or-later
16 +------------------------+--------------------+-------------------+
18 +------------------------+--------------------+-------------------+
20 | SMBus registers offset | 0x80 | 0xE0 |
25 +------------------------+--------------------+-------------------+
28 Note: we assume there can only be one device, with one SMBus interface.
43 /* SIS630/730/964 SMBus registers */
58 #define MSTO_EN 0x40 /* Host Master Timeout Enable */
100 /* SMBus base adress */
126 /* Make sure the SMBus host is ready to start transmitting. */ in sis630_transaction_start()
[all …]
Di2c-piix4.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 Copyright (c) 1998 - 2002 Frodo Looijaard <frodol@dds.nl> and
11 Serverworks OSB4, CSB5, CSB6, HT-1000, HT-1100
13 AMD Hudson-2, ML, CZ
18 SMBus interfaces.
38 /* PIIX4 SMBus address offsets */
74 /* Multi-port constants */
87 * Hudson-2/Bolton port is always selected by bits 2:1 of register 0x2f.
124 DMI_MATCH(DMI_BOARD_NAME, "PC-AM2RD790"),
138 on Intel-based systems */
[all …]
/kernel/linux/linux-5.10/Documentation/driver-api/
Dipmi.rst12 standardized database for field-replaceable units (FRUs) and a watchdog
25 -------------
32 No matter what, you must pick 'IPMI top-level message handler' to use
35 The message handler does not provide any user-level interfaces.
47 this, choose 'IPMI SMBus handler', but be ready to try to do some
50 these enabled and let the drivers auto-detect what is present.
61 "The SMBus Driver" on how to hand-configure your system.
65 the kernel, then via a kernel command-line option you can have the
71 'Disable watchdog shutdown on close'.
74 'IPMI Poweroff' to do this. The driver will auto-detect if the system
[all …]
/kernel/linux/linux-6.6/Documentation/driver-api/
Dipmi.rst12 standardized database for field-replaceable units (FRUs) and a watchdog
25 -------------
32 No matter what, you must pick 'IPMI top-level message handler' to use
35 The message handler does not provide any user-level interfaces.
47 this, choose 'IPMI SMBus handler', but be ready to try to do some
50 these enabled and let the drivers auto-detect what is present.
61 "The SMBus Driver" on how to hand-configure your system.
65 the kernel, then via a kernel command-line option you can have the
71 'Disable watchdog shutdown on close'.
74 'IPMI Poweroff' to do this. The driver will auto-detect if the system
[all …]
/kernel/linux/linux-5.10/drivers/staging/kpc2000/
Dkpc2000_i2c.c1 // SPDX-License-Identifier: GPL-2.0+
5 * Adapted i2c-i801.c for use with Kadoka hardware.
7 * Copyright (C) 1998 - 2002
11 * Copyright (C) 2007 - 2012
12 * Jean Delvare <khali@linux-fr.org>
15 * Copyright (C) 2014-2018 Daktronics
23 #include <linux/io-64-nonatomic-lo-hi.h>
42 *** Part 1 - i2c Handlers ***
47 /* I801 SMBus address offsets */
48 #define SMBHSTSTS(p) ((0 * REG_SIZE) + (p)->smba)
[all …]

12345