/linux-5.10/drivers/clk/renesas/ |
D | clk-r8a7779.c | 1 // SPDX-License-Identifier: GPL-2.0 10 #include <linux/clk-provider.h> 18 #include <linux/soc/renesas/rcar-rst.h> 20 #include <dt-bindings/clock/r8a7779-clock.h> 27 void __iomem *reg; member 30 /* ----------------------------------------------------------------------------- 38 *------------------------------------------------+-------------------- 74 *------------------------ 85 /* ----------------------------------------------------------------------------- 102 div = config->z_div; in r8a7779_cpg_register_clock() [all …]
|
D | clk-mstp.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * R-Car MSTP clocks 12 #include <linux/clk-provider.h> 31 * struct mstp_clock_group - MSTP gating clocks group 37 * @width_8bit: registers are 8-bit, not 32-bit 50 * struct mstp_clock - MSTP gating clock 51 * @hw: handle between common and hardware-specific interfaces 64 u32 __iomem *reg) in cpg_mstp_read() argument 66 return group->width_8bit ? readb(reg) : readl(reg); in cpg_mstp_read() 70 u32 __iomem *reg) in cpg_mstp_write() argument [all …]
|
/linux-5.10/arch/arm64/boot/dts/allwinner/ |
D | sun50i-h6-orangepi.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 5 /dts-v1/; 7 #include "sun50i-h6.dtsi" 9 #include <dt-bindings/gpio/gpio.h> 13 compatible = "xunlong,orangepi-one-plus", "allwinner,sun50i-h6"; 20 stdout-path = "serial0:115200n8"; 24 compatible = "hdmi-connector"; 26 ddc-en-gpios = <&pio 7 2 GPIO_ACTIVE_HIGH>; /* PH2 */ 30 remote-endpoint = <&hdmi_out_con>; 36 #clock-cells = <0>; [all …]
|
/linux-5.10/drivers/clk/ |
D | clk-vt8500.c | 1 // SPDX-License-Identifier: GPL-2.0-only 13 #include <linux/clk-provider.h> 43 void __iomem *reg; member 53 of_find_compatible_node(NULL, NULL, "via,vt8500-pmc"); in vtwm_set_pmc_base() 81 spin_lock_irqsave(cdev->lock, flags); in vt8500_dclk_enable() 83 en_val = readl(cdev->en_reg); in vt8500_dclk_enable() 84 en_val |= BIT(cdev->en_bit); in vt8500_dclk_enable() 85 writel(en_val, cdev->en_reg); in vt8500_dclk_enable() 87 spin_unlock_irqrestore(cdev->lock, flags); in vt8500_dclk_enable() 97 spin_lock_irqsave(cdev->lock, flags); in vt8500_dclk_disable() [all …]
|
/linux-5.10/Documentation/devicetree/bindings/thermal/ |
D | thermal-zones.yaml | 1 # SPDX-License-Identifier: (GPL-2.0) 4 --- 5 $id: http://devicetree.org/schemas/thermal/thermal-zones.yaml# 6 $schema: http://devicetree.org/meta-schemas/base.yaml# 11 - Amit Kucheria <amitk@kernel.org> 20 - thermal-sensor: device that measures temperature, has SoC-specific bindings 21 - cooling-device: device used to dissipate heat either passively or actively 22 - thermal-zones: a container of the following node types used to describe all 25 This binding describes the thermal-zones. 27 The polling-delay properties of a thermal-zone are bound to the maximum dT/dt [all …]
|
/linux-5.10/drivers/power/supply/ |
D | cpcap-battery.c | 9 * Copyright (C) 2009-2010 Motorola, Inc. 34 #include <linux/mfd/motorola-cpcap.h> 38 * map to MC13783UG.pdf "Table 5-19. Register 13, Power Control 0" 127 struct regmap *reg; member 139 #define CPCAP_NO_BATTERY -400 148 return &ddata->state[state]; in cpcap_battery_get_state() 169 channel = ddata->channels[CPCAP_BATTERY_IIO_BATTDET]; in cpcap_charger_battery_temperature() 172 dev_warn(ddata->dev, "%s failed: %i\n", __func__, error); in cpcap_charger_battery_temperature() 188 channel = ddata->channels[CPCAP_BATTERY_IIO_VOLTAGE]; in cpcap_battery_get_voltage() 191 dev_warn(ddata->dev, "%s failed: %i\n", __func__, error); in cpcap_battery_get_voltage() [all …]
|
D | cpcap-charger.c | 1 // SPDX-License-Identifier: GPL-2.0-only 10 * Copyright (C) 2009-2010 Motorola, Inc. 31 #include <linux/mfd/motorola-cpcap.h> 38 * similar. Also see the Motorola Linux kernel cpcap-regbits.h. CPCAP_REG_CHRGR_1 90 * values in "Table 8-3. Charge Path Regulator Current Limit 132 struct regmap *reg; member 180 /* No battery always shows temperature of -40000 */ 186 channel = ddata->channels[CPCAP_CHARGER_IIO_BATTDET]; in cpcap_charger_battery_found() 189 dev_warn(ddata->dev, "%s failed: %i\n", __func__, error); in cpcap_charger_battery_found() 194 return temperature > -20000 && temperature < 60000; in cpcap_charger_battery_found() [all …]
|
/linux-5.10/arch/arm/boot/dts/ |
D | berlin2q-marvell-dmp.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 3 * Copyright (C) 2014 Antoine Ténart <antoine.tenart@free-electrons.com> 6 /dts-v1/; 8 #include <dt-bindings/gpio/gpio.h> 12 model = "Marvell BG2-Q DMP"; 13 compatible = "marvell,berlin2q-dmp", "marvell,berlin2q", "marvell,berlin"; 17 reg = <0x00000000 0x80000000>; 22 stdout-path = "serial0:115200n8"; 26 compatible = "simple-bus"; 27 #address-cells = <1>; [all …]
|
D | omap3-evm.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2011 Texas Instruments Incorporated - https://www.ti.com/ 5 /dts-v1/; 8 #include "omap3-evm-common.dtsi" 9 #include "omap3-evm-processor-common.dtsi" 13 compatible = "ti,omap3-evm", "ti,omap3430", "ti,omap3"; 17 pinctrl-names = "default"; 18 pinctrl-0 = <&hsusb2_2_pins>; 21 pinctrl-single,pins = < 33 pinctrl-single,pins = < [all …]
|
D | sun8i-reference-design-tablet.dtsi | 4 * This file is dual-licensed: you can use it either under the terms 42 #include "sunxi-reference-design-tablet.dtsi" 44 #include <dt-bindings/pwm/pwm.h> 52 compatible = "pwm-backlight"; 54 brightness-levels = <0 10 20 30 40 50 60 70 80 90 100>; 55 default-brightness-level = <8>; 56 enable-gpios = <&pio 7 6 GPIO_ACTIVE_HIGH>; /* PH6 */ 60 stdout-path = "serial0:115200n8"; 70 clock-frequency = <400000>; 73 reg = <0x40>; [all …]
|
D | sun8i-h3-orangepi-plus2e.dts | 4 * This file is dual-licensed: you can use it either under the terms 48 #include "sun8i-h3-orangepi-pc-plus.dts" 52 compatible = "xunlong,orangepi-plus2e", "allwinner,sun8i-h3"; 54 reg_gmac_3v3: gmac-3v3 { 55 compatible = "regulator-fixed"; 56 regulator-name = "gmac-3v3"; 57 regulator-min-microvolt = <3300000>; 58 regulator-max-microvolt = <3300000>; 59 startup-delay-us = <100000>; 60 enable-active-high; [all …]
|
D | sun8i-h3-orangepi-pc-plus.dts | 4 * This file is dual-licensed: you can use it either under the terms 44 #include "sun8i-h3-orangepi-pc.dts" 48 compatible = "xunlong,orangepi-pc-plus", "allwinner,sun8i-h3"; 51 /* ethernet0 is the H3 emac, defined in sun8i-h3.dtsi */ 57 vmmc-supply = <®_vcc3v3>; 58 bus-width = <4>; 59 non-removable; 64 * alias for it (which e.g. makes u-boot set a mac-address). 67 reg = <1>; 72 pinctrl-names = "default"; [all …]
|
D | sun4i-a10-mk802ii.dts | 4 * This file is dual-licensed: you can use it either under the terms 43 /dts-v1/; 44 #include "sun4i-a10.dtsi" 45 #include "sunxi-common-regulators.dtsi" 46 #include <dt-bindings/gpio/gpio.h> 50 compatible = "allwinner,mk802ii", "allwinner,sun4i-a10"; 57 stdout-path = "serial0:115200n8"; 73 compatible = "x-powers,axp209"; 74 reg = <0x34>; 77 interrupt-controller; [all …]
|
D | sun4i-a10-inet97fv2.dts | 6 * This file is dual-licensed: you can use it either under the terms 45 /dts-v1/; 46 #include "sun4i-a10.dtsi" 47 #include "sunxi-common-regulators.dtsi" 49 #include <dt-bindings/gpio/gpio.h> 50 #include <dt-bindings/input/input.h> 51 #include <dt-bindings/interrupt-controller/irq.h> 54 model = "INet-97F Rev 02"; 55 compatible = "primux,inet97fv2", "allwinner,sun4i-a10"; 62 stdout-path = "serial0:115200n8"; [all …]
|
D | sun4i-a10-pcduino.dts | 5 * This file is dual-licensed: you can use it either under the terms 44 /dts-v1/; 45 #include "sun4i-a10.dtsi" 46 #include "sunxi-common-regulators.dtsi" 48 #include <dt-bindings/gpio/gpio.h> 49 #include <dt-bindings/input/input.h> 53 compatible = "linksprite,a10-pcduino", "allwinner,sun4i-a10"; 60 stdout-path = "serial0:115200n8"; 64 compatible = "gpio-leds"; 77 gpio-keys { [all …]
|
D | omap3-devkit8000-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 6 #include <dt-bindings/input/input.h> 12 reg = <0x80000000 0x10000000>; /* 256 MB */ 16 compatible = "gpio-leds"; 20 gpios = <&gpio6 26 GPIO_ACTIVE_HIGH>; /* 186 -> LED1 */ 21 default-state = "on"; 22 linux,default-trigger = "heartbeat"; 27 gpios = <&gpio6 3 GPIO_ACTIVE_HIGH>; /* 163 -> LED2 */ 28 default-state = "on"; 29 linux,default-trigger = "none"; [all …]
|
/linux-5.10/Documentation/devicetree/bindings/mfd/ |
D | rohm,bd71847-pmic.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/mfd/rohm,bd71847-pmic.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com> 14 single-core, dual-core, and quad-core SoCs such as NXP-i.MX 8M. It is 18 …/www.rohm.com/products/power-management/power-management-ic-for-system/industrial-consumer-applica… 19 …//www.rohm.com/products/power-management/power-management-ic-for-system/industrial-consumer-applic… 24 - rohm,bd71847 25 - rohm,bd71850 [all …]
|
/linux-5.10/drivers/mmc/host/ |
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> 25 #include <linux/firmware/xlnx-zynqmp.h> 28 #include "sdhci-pltfm.h" 55 * On some SoCs the syscon area has a feature where the upper 16-bits of 56 * each 32-bit register act as a write mask for the lower 16-bits. This allows 64 * struct sdhci_arasan_soc_ctl_field - Field used in sdhci_arasan_soc_ctl_map 66 * @reg: Offset within the syscon of the register containing this field [all …]
|
/linux-5.10/Documentation/devicetree/bindings/pinctrl/ |
D | qcom,pmic-mpp.txt | 1 Qualcomm PMIC Multi-Purpose Pin (MPP) block 6 - compatible: 10 "qcom,pm8018-mpp", 11 "qcom,pm8038-mpp", 12 "qcom,pm8058-mpp", 13 "qcom,pm8821-mpp", 14 "qcom,pm8841-mpp", 15 "qcom,pm8916-mpp", 16 "qcom,pm8917-mpp", 17 "qcom,pm8921-mpp", [all …]
|
/linux-5.10/Documentation/devicetree/bindings/memory-controllers/ |
D | st,stm32-fmc2-ebi.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/memory-controllers/st,stm32-fmc2-ebi.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 asynchronous static devices (such as PSNOR, PSRAM or other memory-mapped 14 - to translate AXI transactions into the appropriate external device 16 - to meet the access time requirements of the external devices 22 - Christophe Kerello <christophe.kerello@st.com> 26 const: st,stm32mp1-fmc2-ebi 28 reg: [all …]
|
/linux-5.10/drivers/net/can/sja1000/ |
D | sja1000.h | 2 * sja1000.h - Philips SJA1000 network device driver 7 * Copyright (c) 2002-2007 Volkswagen Group Electronic Research 18 * 3. Neither the name of Volkswagen nor the names of its contributors 56 /* SJA1000 registers - manual section 6.4 (Pelican Mode) */ 78 /* Common registers - manual section 6.5 */ 157 /* the lower-layer is responsible for appropriate locking */ 158 u8 (*read_reg) (const struct sja1000_priv *priv, int reg); 159 void (*write_reg) (const struct sja1000_priv *priv, int reg, u8 val); 163 void *priv; /* for board-specific data */
|
/linux-5.10/arch/arm64/boot/dts/marvell/ |
D | armada-ap80x.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 #include <dt-bindings/interrupt-controller/arm-gic.h> 9 #include <dt-bindings/thermal/thermal.h> 11 /dts-v1/; 14 #address-cells = <2>; 15 #size-cells = <2>; 25 compatible = "arm,psci-0.2"; 29 reserved-memory { 30 #address-cells = <2>; 31 #size-cells = <2>; [all …]
|
/linux-5.10/drivers/hwmon/ |
D | smsc47m1.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * smsc47m1.c - Part of lm_sensors, Linux kernel modules 8 * Super-I/O chips. 11 * Copyright (C) 2004-2007 Jean Delvare <jdelvare@suse.de> 24 #include <linux/hwmon-sysfs.h> 41 /* Super-I/0 registers and commands */ 43 #define REG 0x2e /* The register to read/write */ macro 47 superio_outb(int reg, int val) in superio_outb() argument 49 outb(reg, REG); in superio_outb() 54 superio_inb(int reg) in superio_inb() argument [all …]
|
/linux-5.10/arch/arm64/boot/dts/freescale/ |
D | imx8mn-evk.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 9 #include "imx8mn-evk.dtsi" 10 #include <dt-bindings/interrupt-controller/irq.h> 14 compatible = "fsl,imx8mn-evk", "fsl,imx8mn"; 20 reg = <0x25>; 21 pinctrl-names = "default"; 22 pinctrl-0 = <&pinctrl_pmic>; 23 interrupt-parent = <&gpio1>; 28 regulator-name = "BUCK1"; [all …]
|
/linux-5.10/Documentation/devicetree/bindings/regulator/ |
D | act8945a-regulator.txt | 1 Device-Tree bindings for regulators of Active-semi ACT8945A Multi-Function Device 4 - compatible: "active-semi,act8945a", please refer to ../mfd/act8945a.txt. 7 - active-semi,vsel-high: Indicates if the VSEL pin is set to logic-high. 8 If this property is missing, assume the VSEL pin is set to logic-low. 11 - vp1-supply: The input supply for REG_DCDC1 12 - vp2-supply: The input supply for REG_DCDC2 13 - vp3-supply: The input supply for REG_DCDC3 14 - inl45-supply: The input supply for REG_LDO1 and REG_LDO2 15 - inl67-supply: The input supply for REG_LDO3 and REG_LDO4 18 regulator-initial-mode, regulator-allowed-modes and regulator-mode could be [all …]
|