Home
last modified time | relevance | path

Searched +full:pwm +full:- +full:gpios (Results 1 – 25 of 689) sorted by relevance

12345678910>>...28

/OK3568_Linux_fs/kernel/drivers/bus/
H A Dts-nbus.c2 * NBUS driver for TS-4600 based boards
4 * Copyright (c) 2016 - Savoir-faire Linux
11 * This driver implements a GPIOs bit-banged bus, called the NBUS by Technologic
13 * TS-4600 SoM.
23 #include <linux/pwm.h>
24 #include <linux/ts-nbus.h>
32 struct pwm_device *pwm; member
43 * request all gpios required by the bus.
48 ts_nbus->data = devm_gpiod_get_array(&pdev->dev, "ts,data", in ts_nbus_init_pdata()
50 if (IS_ERR(ts_nbus->data)) { in ts_nbus_init_pdata()
[all …]
/OK3568_Linux_fs/u-boot/doc/device-tree-bindings/video/
H A Dtegra20-dc.txt2 ------------------
5 U-Boot, and may change based on Linux activity)
12 - compatible : Should be "nvidia,tegra20-dc"
17 - nvidia,panel : phandle of LCD panel information
24 - nvidia,bits-per-pixel: number of bits per pixel (depth)
25 - nvidia,pwm : pwm to use to set display contrast (see tegra20-pwm.txt)
26 - nvidia,panel-timings: 4 cells containing required timings in ms:
28 * delay between panel_vdd-rise and data-rise
29 * delay between data-rise and backlight_vdd-rise
30 * delay between backlight_vdd and pwm-rise
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/leds/backlight/
H A Dpwm-backlight.yaml1 # SPDX-License-Identifier: GPL-2.0-only
3 ---
4 $id: http://devicetree.org/schemas/leds/backlight/pwm-backlight.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: pwm-backlight bindings
10 - Lee Jones <lee.jones@linaro.org>
11 - Daniel Thompson <daniel.thompson@linaro.org>
12 - Jingoo Han <jingoohan1@gmail.com>
16 const: pwm-backlight
21 pwm-names: true
[all …]
/OK3568_Linux_fs/kernel/arch/arm/boot/dts/
H A Dat91-kizbox.dts1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * at91-kizbox.dts - Device Tree file for Overkiz Kizbox board
5 * Copyright (C) 2012-2014 Boris BREZILLON <b.brezillon@overkiz.com>
6 * 2014-2015 Gaël PORTAY <g.portay@overkiz.com>
8 /dts-v1/;
10 #include <dt-bindings/pwm/pwm.h>
18 stdout-path = &dbgu;
27 clock-frequency = <18432000>;
32 compatible = "gpio-keys";
33 #address-cells = <1>;
[all …]
H A Dbcm53016-meraki-mr32.dts1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
6 * Copyright (C) 2018-2020 Christian Lamparter <chunkeey@gmail.com>
9 /dts-v1/;
12 #include "bcm5301x-nand-cs0-bch8.dtsi"
13 #include <dt-bindings/leds/common.h>
33 compatible = "gpio-leds";
38 gpios = <&chipcommon 18 GPIO_ACTIVE_LOW>;
39 panic-indicator;
44 gpios = <&chipcommon 19 GPIO_ACTIVE_HIGH>;
49 compatible = "gpio-keys";
[all …]
H A Dexynos4412-itop-elite.dts1 // SPDX-License-Identifier: GPL-2.0
13 /dts-v1/;
14 #include <dt-bindings/pwm/pwm.h>
15 #include <dt-bindings/sound/samsung-i2s.h>
16 #include "exynos4412-itop-scp-core.dtsi"
20 compatible = "topeet,itop4412-elite", "samsung,exynos4412", "samsung,exynos4";
24 stdout-path = "serial2:115200n8";
28 compatible = "gpio-leds";
32 gpios = <&gpx1 0 GPIO_ACTIVE_HIGH>;
33 default-state = "off";
[all …]
H A Dat91-tse850-3.dts1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * at91-tse850-3.dts - Device Tree file for the Axentia TSE-850 3.0 board
9 /dts-v1/;
10 #include <dt-bindings/pwm/pwm.h>
11 #include "at91-linea.dtsi"
14 model = "Axentia TSE-850 3.0";
19 compatible = "fixed-clock";
21 #clock-cells = <0>;
22 clock-frequency = <16000000>;
23 clock-output-names = "sck";
[all …]
H A Dat91sam9m10g45ek.dts1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * at91sam9m10g45ek.dts - Device Tree file for AT91SAM9M10G45-EK board
8 /dts-v1/;
10 #include <dt-bindings/pwm/pwm.h>
13 model = "Atmel AT91SAM9M10G45-EK";
18 stdout-path = "serial0:115200n8";
27 clock-frequency = <32768>;
31 clock-frequency = <12000000>;
43 compatible = "atmel,tcb-timer";
48 compatible = "atmel,tcb-timer";
[all …]
H A Dsun4i-a10-pov-protab2-ips9.dts4 * 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>
47 #include <dt-bindings/input/input.h>
48 #include <dt-bindings/interrupt-controller/irq.h>
49 #include <dt-bindings/pwm/pwm.h>
52 model = "Point of View Protab2-IPS9";
53 compatible = "pov,protab2-ips9", "allwinner,sun4i-a10";
[all …]
H A Dstm32mp15xx-dhcom-pdk2.dtsi1 // SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause
3 * Copyright (C) 2019-2020 Marek Vasut <marex@denx.de>
6 #include <dt-bindings/input/input.h>
7 #include <dt-bindings/pwm/pwm.h>
17 stdout-path = "serial0:115200n8";
20 clk_ext_audio_codec: clock-codec {
21 compatible = "fixed-clock";
22 #clock-cells = <0>;
23 clock-frequency = <24000000>;
26 display_bl: display-bl {
[all …]
H A Dsun4i-a10-dserve-dsrv9703c.dts4 * 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>
47 #include <dt-bindings/input/input.h>
48 #include <dt-bindings/interrupt-controller/irq.h>
49 #include <dt-bindings/pwm/pwm.h>
53 compatible = "dserve,dsrv9703c", "allwinner,sun4i-a10";
60 compatible = "pwm-backlight";
[all …]
H A Dsun7i-a20-wexler-tab7200.dts5 * This file is dual-licensed: you can use it either under the terms
44 /dts-v1/;
45 #include "sun7i-a20.dtsi"
46 #include "sunxi-common-regulators.dtsi"
48 #include <dt-bindings/gpio/gpio.h>
49 #include <dt-bindings/input/input.h>
50 #include <dt-bindings/interrupt-controller/irq.h>
51 #include <dt-bindings/pwm/pwm.h>
55 compatible = "wexler,tab7200", "allwinner,sun7i-a20";
62 compatible = "pwm-backlight";
[all …]
H A Dstm32mp157c-lxa-mc1.dts1 /* SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-3-Clause) */
3 * Copyright (C) 2020 STMicroelectronics - All Rights Reserved
7 /dts-v1/;
10 #include "stm32mp15xx-osd32.dtsi"
11 #include "stm32mp15xxac-pinctrl.dtsi"
13 #include <dt-bindings/gpio/gpio.h>
14 #include <dt-bindings/pwm/pwm.h>
17 model = "Linux Automation MC-1 board";
18 compatible = "lxa,stm32mp157c-mc1", "st,stm32mp157";
28 compatible = "pwm-backlight";
[all …]
H A Dsun5i-reference-design-tablet.dtsi4 * This file is dual-licensed: you can use it either under the terms
42 #include "sunxi-reference-design-tablet.dtsi"
44 #include <dt-bindings/interrupt-controller/irq.h>
45 #include <dt-bindings/pwm/pwm.h>
53 compatible = "pwm-backlight";
54 pwms = <&pwm 0 50000 PWM_POLARITY_INVERTED>;
55 brightness-levels = <0 10 20 30 40 50 60 70 80 90 100>;
56 default-brightness-level = <8>;
57 enable-gpios = <&axp_gpio 1 GPIO_ACTIVE_HIGH>; /* AXP GPIO1 */
61 stdout-path = "serial0:115200n8";
[all …]
H A Dsun5i-a13-pocketbook-touch-lux-3.dts1 // SPDX-License-Identifier: GPL-2.0 OR MIT
6 /dts-v1/;
7 #include "sun5i-a13.dtsi"
8 #include "sunxi-common-regulators.dtsi"
9 #include <dt-bindings/gpio/gpio.h>
10 #include <dt-bindings/input/input.h>
11 #include <dt-bindings/interrupt-controller/irq.h>
12 #include <dt-bindings/pwm/pwm.h>
16 compatible = "pocketbook,touch-lux-3", "allwinner,sun5i-a13";
26 compatible = "pwm-backlight";
[all …]
H A Dsun4i-a10-inet1.dts4 * 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>
47 #include <dt-bindings/input/input.h>
48 #include <dt-bindings/interrupt-controller/irq.h>
49 #include <dt-bindings/pwm/pwm.h>
52 model = "iNet-1";
53 compatible = "inet-tek,inet1", "allwinner,sun4i-a10";
[all …]
/OK3568_Linux_fs/u-boot/arch/arm/dts/
H A Dat91sam9m10g45ek.dts2 * at91sam9m10g45ek.dts - Device Tree file for AT91SAM9M10G45-EK board
9 /dts-v1/;
11 #include <dt-bindings/pwm/pwm.h>
14 model = "Atmel AT91SAM9M10G45-EK";
19 stdout-path = "serial0:115200n8";
20 u-boot,dm-pre-reloc;
29 clock-frequency = <32768>;
33 clock-frequency = <12000000>;
41 u-boot,dm-pre-reloc;
45 pinctrl-0 =
[all …]
H A Dtegra20-medcom-wide.dts1 /dts-v1/;
3 #include "tegra20-tamonten.dtsi"
6 model = "Avionic Design Medcom-Wide";
7 compatible = "ad,medcom-wide", "nvidia,tegra20";
10 stdout-path = &uartd;
36 clock-frequency = <216000000>;
43 pwm: pwm@7000a000 { label
51 left-margin = <2>;
52 right-margin = <47>;
53 hsync-len = <136>;
[all …]
H A Dtegra20-tec.dts1 /dts-v1/;
3 #include "tegra20-tamonten.dtsi"
10 stdout-path = &uartd;
36 clock-frequency = <216000000>;
55 pwm: pwm@7000a000 { label
63 left-margin = <120>;
64 right-margin = <120>;
65 hsync-len = <16>;
66 lower-margin = <15>;
67 upper-margin = <15>;
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/display/
H A Dssd1307fb.txt4 - compatible: Should be "solomon,<chip>fb-<bus>". The only supported bus for
7 - reg: Should contain address of the controller on the I2C bus. Most likely
9 - pwm: Should contain the pwm to use according to the OF device tree PWM
11 - solomon,height: Height in pixel of the screen driven by the controller
12 - solomon,width: Width in pixel of the screen driven by the controller
13 - solomon,page-offset: Offset of pages (band of 8 pixels) that the screen is
17 - reset-gpios: The GPIO used to reset the OLED display, if available. See
19 - vbat-supply: The supply for VBAT
20 - solomon,segment-no-remap: Display needs normal (non-inverted) data column
22 - solomon,col-offset: Offset of columns (COL/SEG) that the screen is mapped to.
[all …]
/OK3568_Linux_fs/u-boot/drivers/video/
H A Dpwm_backlight.c5 * SPDX-License-Identifier: GPL-2.0+
11 #include <pwm.h>
20 struct udevice *pwm; member
36 if (priv->reg) { in pwm_backlight_enable()
37 plat = dev_get_uclass_platdata(priv->reg); in pwm_backlight_enable()
39 dev->name, priv->reg->name, plat->name); in pwm_backlight_enable()
40 ret = regulator_set_enable(priv->reg, true); in pwm_backlight_enable()
42 debug("%s: Cannot enable regulator for PWM '%s'\n", in pwm_backlight_enable()
43 __func__, dev->name); in pwm_backlight_enable()
49 ret = pwm_set_invert(priv->pwm, priv->channel, priv->polarity); in pwm_backlight_enable()
[all …]
/OK3568_Linux_fs/kernel/arch/mips/boot/dts/ingenic/
H A Dgcw0.dts1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
5 #include <dt-bindings/clock/ingenic,tcu.h>
7 #include <dt-bindings/gpio/gpio.h>
8 #include <dt-bindings/iio/adc/ingenic,adc.h>
9 #include <dt-bindings/input/input.h>
29 stdout-path = "serial2:57600n8";
33 compatible = "regulator-fixed";
34 regulator-name = "vcc";
36 regulator-min-microvolt = <3300000>;
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/sound/
H A Daxentia,tse850-pcm5142.txt1 Devicetree bindings for the Axentia TSE-850 audio complex
4 - compatible: "axentia,tse850-pcm5142"
5 - axentia,cpu-dai: The phandle of the cpu dai.
6 - axentia,audio-codec: The phandle of the PCM5142 codec.
7 - axentia,add-gpios: gpio specifier that controls the mixer.
8 - axentia,loop1-gpios: gpio specifier that controls loop relays on channel 1.
9 - axentia,loop2-gpios: gpio specifier that controls loop relays on channel 2.
10 - axentia,ana-supply: Regulator that supplies the output amplifier. Must
11 support voltages in the 2V - 20V range, in 1V steps.
13 The schematics explaining the gpios are as follows:
[all …]
/OK3568_Linux_fs/kernel/drivers/hwmon/
H A Dgpio-fan.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * gpio-fan.c - Hwmon driver for fans connected to GPIO lines.
34 struct mutex lock; /* lock GPIOs operations. */
36 struct gpio_desc **gpios; member
57 sysfs_notify(&fan_data->hwmon_dev->kobj, NULL, "fan1_alarm"); in fan_alarm_notify()
58 kobject_uevent(&fan_data->hwmon_dev->kobj, KOBJ_CHANGE); in fan_alarm_notify()
65 schedule_work(&fan_data->alarm_work); in fan_alarm_irq_handler()
76 gpiod_get_value_cansleep(fan_data->alarm_gpio)); in fan1_alarm_show()
84 struct device *dev = fan_data->dev; in fan_alarm_init()
90 alarm_irq = gpiod_to_irq(fan_data->alarm_gpio); in fan_alarm_init()
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/bus/
H A Dts-nbus.txt4 Systems FPGA on the TS-4600 SoM.
7 - compatible : "technologic,ts-nbus"
8 - #address-cells : must be 1
9 - #size-cells : must be 0
10 - pwms : The PWM bound to the FPGA
11 - ts,data-gpios : The 8 GPIO pins connected to the data lines on the FPGA
12 - ts,csn-gpios : The GPIO pin connected to the csn line on the FPGA
13 - ts,txrx-gpios : The GPIO pin connected to the txrx line on the FPGA
14 - ts,strobe-gpios : The GPIO pin connected to the stobe line on the FPGA
15 - ts,ale-gpios : The GPIO pin connected to the ale line on the FPGA
[all …]

12345678910>>...28