| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/mfd/ |
| D | gateworks-gsc.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/mfd/gateworks-gsc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 The Gateworks System Controller (GSC) is a device present across various 14 - Watchdog Timer 15 - GPIO 16 - Pushbutton controller 17 - Hardware monitor with ADC's for temperature and voltage rails and 21 - Tim Harvey <tharvey@gateworks.com> [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/mfd/ |
| D | gateworks-gsc.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/mfd/gateworks-gsc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 The Gateworks System Controller (GSC) is a device present across various 14 - Watchdog Timer 15 - GPIO 16 - Pushbutton controller 17 - Hardware monitor with ADC's for temperature and voltage rails and 21 - Tim Harvey <tharvey@gateworks.com> [all …]
|
| /kernel/linux/linux-5.10/drivers/mfd/ |
| D | gateworks-gsc.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * The Gateworks System Controller (GSC) is a multi-function 6 * system functions such as push-button monitoring, multiple ADC's for 15 #include <linux/mfd/gsc.h> 26 * The GSC suffers from an errata where occasionally during 27 * ADC cycles the chip can NAK I2C transactions. To ensure we have reliable 40 * -EAGAIN returned when the i2c host controller is busy in gsc_write() 41 * -EIO returned when i2c device is busy in gsc_write() 43 if (ret != -EAGAIN && ret != -EIO) in gsc_write() 59 * -EAGAIN returned when the i2c host controller is busy in gsc_read() [all …]
|
| /kernel/linux/linux-6.6/drivers/mfd/ |
| D | gateworks-gsc.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * The Gateworks System Controller (GSC) is a multi-function 6 * system functions such as push-button monitoring, multiple ADC's for 15 #include <linux/mfd/gsc.h> 26 * The GSC suffers from an errata where occasionally during 27 * ADC cycles the chip can NAK I2C transactions. To ensure we have reliable 40 * -EAGAIN returned when the i2c host controller is busy in gsc_write() 41 * -EIO returned when i2c device is busy in gsc_write() 43 if (ret != -EAGAIN && ret != -EIO) in gsc_write() 59 * -EAGAIN returned when the i2c host controller is busy in gsc_read() [all …]
|
| /kernel/linux/linux-6.6/Documentation/hwmon/ |
| D | gsc-hwmon.rst | 1 .. SPDX-License-Identifier: GPL-2.0 3 Kernel driver gsc-hwmon 6 Supported chips: Gateworks GSC 7 Datasheet: http://trac.gateworks.com/wiki/gsc 11 ------------ 14 various ADC's connected to the GSC, and optional FAN controller available 19 ------------------ 22 on the GSC version and firmware. The values returned by the driver do not need 30 ---------------------- 32 Temperatures are measured with 12-bit or 10-bit resolution and are scaled [all …]
|
| /kernel/linux/linux-5.10/Documentation/hwmon/ |
| D | gsc-hwmon.rst | 1 .. SPDX-License-Identifier: GPL-2.0 3 Kernel driver gsc-hwmon 6 Supported chips: Gateworks GSC 7 Datasheet: http://trac.gateworks.com/wiki/gsc 11 ------------ 14 various ADC's connected to the GSC, and optional FAN controller available 19 ------------------ 22 on the GSC version and firmware. The values returned by the driver do not need 30 ---------------------- 32 Temperatures are measured with 12-bit or 10-bit resolution and are scaled [all …]
|
| /kernel/linux/linux-6.6/arch/arm/boot/dts/nxp/imx/ |
| D | imx6qdl-gw5907.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 6 #include <dt-bindings/gpio/gpio.h> 7 #include <dt-bindings/input/linux-event-codes.h> 8 #include <dt-bindings/interrupt-controller/irq.h> 21 stdout-path = &uart2; 24 gpio-keys { 25 compatible = "gpio-keys"; 27 user-pb { 33 user-pb1x { 36 interrupt-parent = <&gsc>; [all …]
|
| D | imx6qdl-gw5913.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 6 #include <dt-bindings/gpio/gpio.h> 7 #include <dt-bindings/input/linux-event-codes.h> 8 #include <dt-bindings/interrupt-controller/irq.h> 21 stdout-path = &uart2; 24 gpio-keys { 25 compatible = "gpio-keys"; 27 user-pb { 33 user-pb1x { 36 interrupt-parent = <&gsc>; [all …]
|
| D | imx6qdl-gw5912.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 6 #include <dt-bindings/gpio/gpio.h> 7 #include <dt-bindings/input/linux-event-codes.h> 8 #include <dt-bindings/interrupt-controller/irq.h> 22 stdout-path = &uart2; 25 gpio-keys { 26 compatible = "gpio-keys"; 28 user-pb { 34 user-pb1x { 37 interrupt-parent = <&gsc>; [all …]
|
| D | imx6qdl-gw552x.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 #include <dt-bindings/gpio/gpio.h> 7 #include <dt-bindings/input/linux-event-codes.h> 8 #include <dt-bindings/interrupt-controller/irq.h> 25 gpio-keys { 26 compatible = "gpio-keys"; 28 user-pb { 34 user-pb1x { 37 interrupt-parent = <&gsc>; 41 key-erased { [all …]
|
| D | imx6qdl-gw5910.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 6 #include <dt-bindings/gpio/gpio.h> 7 #include <dt-bindings/input/linux-event-codes.h> 8 #include <dt-bindings/interrupt-controller/irq.h> 19 stdout-path = &uart2; 27 gpio-keys { 28 compatible = "gpio-keys"; 30 user-pb { 36 user-pb1x { 39 interrupt-parent = <&gsc>; [all …]
|
| D | imx6qdl-gw51xx.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 #include <dt-bindings/gpio/gpio.h> 7 #include <dt-bindings/input/linux-event-codes.h> 8 #include <dt-bindings/interrupt-controller/irq.h> 24 gpio-keys { 25 compatible = "gpio-keys"; 27 user-pb { 33 user-pb1x { 36 interrupt-parent = <&gsc>; 40 key-erased { [all …]
|
| D | imx6qdl-gw551x.dtsi | 4 * This file is dual-licensed: you can use it either under the terms 22 * MA 02110-1301 USA 48 #include <dt-bindings/gpio/gpio.h> 49 #include <dt-bindings/media/tda1997x.h> 50 #include <dt-bindings/input/linux-event-codes.h> 51 #include <dt-bindings/interrupt-controller/irq.h> 52 #include <dt-bindings/sound/fsl-imx-audmux.h> 68 gpio-keys { 69 compatible = "gpio-keys"; 71 user-pb { [all …]
|
| /kernel/linux/linux-5.10/arch/arm/boot/dts/ |
| D | imx6qdl-gw5907.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 6 #include <dt-bindings/gpio/gpio.h> 7 #include <dt-bindings/input/linux-event-codes.h> 8 #include <dt-bindings/interrupt-controller/irq.h> 21 stdout-path = &uart2; 24 gpio-keys { 25 compatible = "gpio-keys"; 26 #address-cells = <1>; 27 #size-cells = <0>; 29 user-pb { [all …]
|
| D | imx6qdl-gw5913.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 6 #include <dt-bindings/gpio/gpio.h> 7 #include <dt-bindings/input/linux-event-codes.h> 8 #include <dt-bindings/interrupt-controller/irq.h> 21 stdout-path = &uart2; 24 gpio-keys { 25 compatible = "gpio-keys"; 26 #address-cells = <1>; 27 #size-cells = <0>; 29 user-pb { [all …]
|
| D | imx6qdl-gw5912.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 6 #include <dt-bindings/gpio/gpio.h> 7 #include <dt-bindings/input/linux-event-codes.h> 8 #include <dt-bindings/interrupt-controller/irq.h> 22 stdout-path = &uart2; 25 gpio-keys { 26 compatible = "gpio-keys"; 27 #address-cells = <1>; 28 #size-cells = <0>; 30 user-pb { [all …]
|
| D | imx6qdl-gw552x.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 #include <dt-bindings/gpio/gpio.h> 7 #include <dt-bindings/input/linux-event-codes.h> 8 #include <dt-bindings/interrupt-controller/irq.h> 25 gpio-keys { 26 compatible = "gpio-keys"; 27 #address-cells = <1>; 28 #size-cells = <0>; 30 user-pb { 36 user-pb1x { [all …]
|
| D | imx6qdl-gw51xx.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 #include <dt-bindings/gpio/gpio.h> 7 #include <dt-bindings/input/linux-event-codes.h> 8 #include <dt-bindings/interrupt-controller/irq.h> 24 gpio-keys { 25 compatible = "gpio-keys"; 27 user-pb { 33 user-pb1x { 36 interrupt-parent = <&gsc>; 40 key-erased { [all …]
|
| D | imx6qdl-gw5910.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 6 #include <dt-bindings/gpio/gpio.h> 7 #include <dt-bindings/input/linux-event-codes.h> 8 #include <dt-bindings/interrupt-controller/irq.h> 19 stdout-path = &uart2; 27 gpio-keys { 28 compatible = "gpio-keys"; 29 #address-cells = <1>; 30 #size-cells = <0>; 32 user-pb { [all …]
|
| D | imx6qdl-gw53xx.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 #include <dt-bindings/gpio/gpio.h> 7 #include <dt-bindings/input/linux-event-codes.h> 8 #include <dt-bindings/interrupt-controller/irq.h> 27 compatible = "pwm-backlight"; 29 brightness-levels = <0 4 8 16 32 64 128 255>; 30 default-brightness-level = <7>; 33 gpio-keys { 34 compatible = "gpio-keys"; 35 #address-cells = <1>; [all …]
|
| D | imx6qdl-gw551x.dtsi | 4 * This file is dual-licensed: you can use it either under the terms 22 * MA 02110-1301 USA 48 #include <dt-bindings/gpio/gpio.h> 49 #include <dt-bindings/media/tda1997x.h> 50 #include <dt-bindings/input/linux-event-codes.h> 51 #include <dt-bindings/interrupt-controller/irq.h> 52 #include <dt-bindings/sound/fsl-imx-audmux.h> 68 gpio-keys { 69 compatible = "gpio-keys"; 70 #address-cells = <1>; [all …]
|
| /kernel/linux/linux-5.10/drivers/hwmon/ |
| D | gsc-hwmon.c | 1 // SPDX-License-Identifier: GPL-2.0 8 #include <linux/hwmon-sysfs.h> 9 #include <linux/mfd/gsc.h> 26 struct gsc_dev *gsc; member 59 u8 reg = hwmon->pdata->fan_base + (2 * attr->index); in pwm_auto_point_temp_show() 63 ret = regmap_bulk_read(hwmon->regmap, reg, regs, 2); in pwm_auto_point_temp_show() 77 u8 reg = hwmon->pdata->fan_base + (2 * attr->index); in pwm_auto_point_temp_store() 83 return -EINVAL; in pwm_auto_point_temp_store() 90 err = regmap_bulk_write(hwmon->regmap, reg, regs, 2); in pwm_auto_point_temp_store() 103 return sprintf(buf, "%d\n", 255 * (50 + (attr->index * 10))); in pwm_auto_point_pwm_show() [all …]
|
| /kernel/linux/linux-6.6/drivers/hwmon/ |
| D | gsc-hwmon.c | 1 // SPDX-License-Identifier: GPL-2.0 8 #include <linux/hwmon-sysfs.h> 9 #include <linux/mfd/gsc.h> 26 struct gsc_dev *gsc; member 59 u8 reg = hwmon->pdata->fan_base + (2 * attr->index); in pwm_auto_point_temp_show() 63 ret = regmap_bulk_read(hwmon->regmap, reg, regs, 2); in pwm_auto_point_temp_show() 77 u8 reg = hwmon->pdata->fan_base + (2 * attr->index); in pwm_auto_point_temp_store() 83 return -EINVAL; in pwm_auto_point_temp_store() 90 err = regmap_bulk_write(hwmon->regmap, reg, regs, 2); in pwm_auto_point_temp_store() 103 return sprintf(buf, "%d\n", 255 * (50 + (attr->index * 10))); in pwm_auto_point_pwm_show() [all …]
|
| /kernel/linux/linux-6.6/arch/arm64/boot/dts/freescale/ |
| D | imx8mm-venice-gw700x.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 #include <dt-bindings/gpio/gpio.h> 7 #include <dt-bindings/input/linux-event-codes.h> 8 #include <dt-bindings/net/ti-dp83867.h> 16 gpio-keys { 17 compatible = "gpio-keys"; 19 key-user-pb { 25 key-user-pb1x { 28 interrupt-parent = <&gsc>; 32 key-erased { [all …]
|
| D | imx8mp-venice-gw702x.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 #include <dt-bindings/gpio/gpio.h> 7 #include <dt-bindings/input/linux-event-codes.h> 8 #include <dt-bindings/net/ti-dp83867.h> 20 gpio-keys { 21 compatible = "gpio-keys"; 23 key-user-pb { 29 key-user-pb1x { 32 interrupt-parent = <&gsc>; 36 key-erased { [all …]
|