/freebsd/sys/contrib/device-tree/Bindings/hwmon/ |
H A D | adi,ltc2947.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Nuno Sá <nuno.sa@analog.com> 15 https://www.analog.com/media/en/technical-documentation/data-sheets/LTC2947.pdf 20 - adi,ltc2947 33 adi,accumulator-ctl-pol: 41 $ref: /schemas/types.yaml#/definitions/uint32-array 48 adi,accumulation-deadband-microamp: 55 adi,gpio-out-pol: [all …]
|
/freebsd/sys/arm/broadcom/bcm2835/ |
H A D | bcm2835_firmware.h | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 153 uint32_t gpio; member 156 uint32_t gpio; member 163 uint32_t gpio; member 167 uint32_t gpio; member 173 uint32_t gpio; member 176 uint32_t gpio; member 178 uint32_t pol; member 186 uint32_t gpio; member [all …]
|
H A D | raspberrypi_gpio.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 5 * Copyright (c) 2012-2015 Luiz Otavio O Souza <loos@FreeBSD.org> 36 #include <sys/gpio.h> 43 #include <dev/gpio/gpiobusvar.h> 62 #define RPI_FW_GPIO_LOCK(_sc) sx_xlock(&(_sc)->sc_sx) 63 #define RPI_FW_GPIO_UNLOCK(_sc) sx_xunlock(&(_sc)->sc_sx) 66 {"raspberrypi,firmware-gpio", 1}, 80 old_cfg.req.gpio = RPI_FW_GPIO_BASE + pin->gp_pin; in rpi_fw_gpio_pin_configure() 83 rv = bcm2835_firmware_property(sc->sc_firmware, in rpi_fw_gpio_pin_configure() [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/extcon/ |
H A D | wlf,arizona.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - patches@opensource.cirrus.com 20 wlf,hpdet-channel: 30 wlf,use-jd2: 35 wlf,use-jd2-nopull: 40 wlf,jd-invert: 45 wlf,micd-software-compare: 50 wlf,micd-detect-debounce: [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/sound/ |
H A D | cs35l36.txt | 5 - compatible : "cirrus,cs35l36" 7 - reg : the I2C address of the device for I2C 9 - VA-supply, VP-supply : power supplies for the device, 13 - cirrus,boost-ctl-millivolt : Boost Voltage Value. Configures the boost 18 - cirrus,boost-pea [all...] |
H A D | cirrus,cs35l45.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Ricardo Rivera-Matos <rriveram@opensource.cirrus.com> 11 - Richard Fitzgerald <rf@opensource.cirrus.com> 18 - $ref: dai-common.yaml# 23 - cirrus,cs35l45 31 '#sound-dai-cells': 34 reset-gpios: 37 vdd-a-supply: [all …]
|
/freebsd/sys/contrib/device-tree/include/dt-bindings/sound/ |
H A D | cs35l45.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ 3 * cs35l45.h -- CS35L45 ALSA SoC audio driver DT bindings header 12 * cirrus,asp-sdout-hiz-ctrl 14 * TX_HIZ_UNUSED: TX pin high-impedance during unused slots. 15 * TX_HIZ_DISABLED: TX pin high-impedance when all channels disabled. 21 * Optional GPIOX Sub-nodes: 22 * The cs35l45 node can have up to three "cirrus,gpio-ctrlX" ('X' = [1,2,3]) 23 * sub-nodes for configuring the GPIO pins. 25 * - gpio-dir : GPIO pin direction. Valid only when 'gpio-ctrl' 30 * - gpio-lvl : GPIO level. Valid only when 'gpio-ctrl' is 1 and 'gpio-dir' is 0. [all …]
|
/freebsd/sys/arm/allwinner/ |
H A D | a33_codec.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 39 #include <sys/gpio.h> 47 #include <dev/gpio/gpiobusvar.h> 133 { "allwinner,sun8i-a33-codec", 1}, 140 { -1, 0 } 152 #define CODEC_LOCK(sc) mtx_lock(&(sc)->mtx) 153 #define CODEC_UNLOCK(sc) mtx_unlock(&(sc)->mtx) 154 #define CODEC_READ(sc, reg) bus_read_4((sc)->res[0], (reg)) 155 #define CODEC_WRITE(sc, reg, val) bus_write_4((sc)->res[0], (reg), (val)) [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/mfd/ |
H A D | wlf,arizona.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - patches@opensource.cirrus.com 17 - $ref: /schemas/spi/spi-peripheral-props.yaml 18 - $ref: /schemas/sound/wlf,arizona.yaml# 19 - $ref: /schemas/regulator/wlf,arizona.yaml# 20 - $ref: /schemas/extcon/wlf,arizona.yaml# 21 - if: 26 - cirrus,cs47l24 [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/leds/ |
H A D | leds-bcm6358.txt | 5 which can either be controlled by software (exporting the 74x164 as spi-gpio. 6 See Documentation/devicetree/bindings/gpio/fairchild,74hc595.yaml), or 10 - compatible : should be "brcm,bcm6358-leds". 11 - #address-cells : must be 1. 12 - #size-cells : must be 0. 13 - reg : BCM6358 LED controller address and size. 16 - brcm,clk-div : SCK signal divider. Possible values are 1, 2, 4 and 8. 18 - brcm,clk-dat-low : Boolean, makes clock and data signals active low. 21 Each LED is represented as a sub-node of the brcm,bcm6358-leds device. 23 LED sub-node required properties: [all …]
|
/freebsd/sys/contrib/device-tree/src/arm64/qcom/ |
H A D | msm8994-msft-lumia-octagon.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 12 #include <dt-bindings/gpio/gpio.h> 13 #include <dt-bindings/input/gpio-keys.h> 14 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 20 /delete-node/ &adsp_mem; 21 /delete-node/ &audio_mem; 22 /delete-node/ &cont_splash_mem; 23 /delete-node/ &mba_mem; 24 /delete-node/ &mpss_mem; 25 /delete-node/ &peripheral_region; [all …]
|
/freebsd/sys/arm/freescale/vybrid/ |
H A D | vf_dcu4.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 47 #include <sys/gpio.h> 152 #define DCU_SFT_LCK_POL 0x114 /* Soft Lock POL */ 157 #define DCU_CTRLDESCL(n, m) 0x200 + (0x40 * n) + 0x4 * (m - 1) 202 { -1, 0 } 212 if (!ofw_bus_is_compatible(dev, "fsl,mvf600-dcu4")) in dcu_probe() 241 if ((node = ofw_bus_get_node(sc->dev)) == -1) in get_panel_info() 245 if ((len = OF_getproplen(node, "panel-size")) <= 0) in get_panel_info() 247 OF_getencprop(node, "panel-size", dts_value, len); in get_panel_info() [all …]
|
/freebsd/sys/contrib/device-tree/src/arm/ti/omap/ |
H A D | dra7.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2013 Texas Instruments Incorporated - https://www.ti.com/ 8 #include <dt-bindings/bus/ti-sysc.h> 9 #include <dt-bindings/clock/dra7.h> 10 #include <dt-bindings/interrupt-controller/arm-gic.h> 11 #include <dt-bindings/pinctrl/dra.h> 12 #include <dt-bindings/clock/dra7.h> 17 #address-cells = <2>; 18 #size-cells = <2>; 21 interrupt-parent = <&crossbar_mpu>; [all …]
|