/Linux-v6.1/Documentation/devicetree/bindings/leds/backlight/ |
D | pwm-backlight.yaml | 1 # 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@kernel.org> 11 - Daniel Thompson <daniel.thompson@linaro.org> 12 - Jingoo Han <jingoohan1@gmail.com> 16 const: pwm-backlight 21 pwm-names: true [all …]
|
/Linux-v6.1/arch/arm/boot/dts/ |
D | rk3288-veyron-edp.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 9 backlight_regulator: backlight-regulator { 10 compatible = "regulator-fixed"; 11 enable-active-high; 13 pinctrl-names = "default"; 14 pinctrl-0 = <&bl_pwr_en>; 15 regulator-name = "backlight_regulator"; 16 vin-supply = <&vcc33_sys>; 17 startup-delay-us = <15000>; 20 panel_regulator: panel-regulator { [all …]
|
D | mba6ulx.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0-or-later OR MIT) 3 * Copyright 2018-2022 TQ-Systems GmbH 4 * Author: Markus Niebel <Markus.Niebel@tq-group.com> 8 model = "TQ-Systems MBA6ULx Baseboard"; 18 stdout-path = &uart1; 22 compatible = "pwm-backlight"; 23 power-supply = <®_mba6ul_3v3>; 24 enable-gpios = <&expander_out0 4 GPIO_ACTIVE_HIGH>; 29 compatible = "gpio-beeper"; 33 gpio_buttons: gpio-keys { [all …]
|
D | s5pv210-aries.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 6 /dts-v1/; 7 #include <dt-bindings/gpio/gpio.h> 8 #include <dt-bindings/interrupt-controller/irq.h> 32 reserved-memory { 33 #address-cells = <1>; 34 #size-cells = <1>; 38 compatible = "shared-dma-pool"; 39 no-map; 44 compatible = "shared-dma-pool"; [all …]
|
D | imx6sl-tolino-shine2hd.dts | 1 // SPDX-License-Identifier: GPL-2.0 5 * Name on mainboard is: 37NB-E60QF0+4A2 or 37NB-E60QF0+4A3 11 /dts-v1/; 13 #include <dt-bindings/input/input.h> 14 #include <dt-bindings/gpio/gpio.h> 19 compatible = "kobo,tolino-shine2hd", "fsl,imx6sl"; 22 stdout-path = &uart1; 25 gpio_keys: gpio-keys { 26 compatible = "gpio-keys"; 27 pinctrl-names = "default"; [all …]
|
D | tegra20-asus-tf101.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 4 #include <dt-bindings/input/atmel-maxtouch.h> 5 #include <dt-bindings/input/gpio-keys.h> 6 #include <dt-bindings/input/input.h> 7 #include <dt-bindings/thermal/thermal.h> 10 #include "tegra20-cpu-opp.dtsi" 11 #include "tegra20-cpu-opp-microvolt.dtsi" 16 chassis-type = "convertible"; 32 * The decompressor and also some bootloaders rely on a [all …]
|
D | tegra30-asus-nexus7-grouper-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 #include <dt-bindings/input/gpio-keys.h> 4 #include <dt-bindings/input/input.h> 5 #include <dt-bindings/power/summit,smb347-charger.h> 6 #include <dt-bindings/thermal/thermal.h> 9 #include "tegra30-cpu-opp.dtsi" 10 #include "tegra30-cpu-opp-microvolt.dtsi" 11 #include "tegra30-asus-lvds-display.dtsi" 26 * The decompressor and also some bootloaders rely on a 27 * pre-existing /chosen node to be available to insert the [all …]
|
D | tegra20-acer-a500-picasso.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 4 #include <dt-bindings/input/atmel-maxtouch.h> 5 #include <dt-bindings/input/gpio-keys.h> 6 #include <dt-bindings/input/input.h> 7 #include <dt-bindings/thermal/thermal.h> 10 #include "tegra20-cpu-opp.dtsi" 11 #include "tegra20-cpu-opp-microvolt.dtsi" 31 * The decompressor and also some bootloaders rely on a 32 * pre-existing /chosen node to be available to insert the [all …]
|
D | tegra30-asus-transformer-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 #include <dt-bindings/input/gpio-keys.h> 4 #include <dt-bindings/input/input.h> 5 #include <dt-bindings/thermal/thermal.h> 8 #include "tegra30-cpu-opp.dtsi" 9 #include "tegra30-cpu-opp-microvolt.dtsi" 12 chassis-type = "convertible"; 30 * The decompressor and also some bootloaders rely on a 31 * pre-existing /chosen node to be available to insert the 40 reserved-memory { [all …]
|
D | tegra30-pegatron-chagall.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 4 #include <dt-bindings/input/gpio-keys.h> 5 #include <dt-bindings/input/input.h> 6 #include <dt-bindings/thermal/thermal.h> 9 #include "tegra30-cpu-opp.dtsi" 10 #include "tegra30-cpu-opp-microvolt.dtsi" 11 #include "tegra30-asus-lvds-display.dtsi" 16 chassis-type = "tablet"; 34 * The decompressor and also some bootloaders rely on a [all …]
|
/Linux-v6.1/arch/arm64/boot/dts/mediatek/ |
D | mt8183-kukui-jacuzzi-fennel-sku1.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 6 /dts-v1/; 7 #include "mt8183-kukui-jacuzzi-fennel.dtsi" 8 #include "mt8183-kukui-audio-da7219-rt1015p.dtsi" 12 compatible = "google,fennel-sku1", "google,fennel", "mediatek,mt8183"; 15 compatible = "pwm-leds"; 16 keyboard_backlight: keyboard-backlight { 19 max-brightness = <1023>; 31 compatible = "hid-over-i2c"; 33 interrupt-parent = <&pio>; [all …]
|
/Linux-v6.1/arch/arm64/boot/dts/allwinner/ |
D | sun50i-a64-pinetab.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 /dts-v1/; 9 #include "sun50i-a64.dtsi" 10 #include "sun50i-a64-cpu-opp.dtsi" 12 #include <dt-bindings/gpio/gpio.h> 13 #include <dt-bindings/input/input.h> 14 #include <dt-bindings/pwm/pwm.h> 18 compatible = "pine64,pinetab", "allwinner,sun50i-a64"; 19 chassis-type = "tablet"; 27 compatible = "pwm-backlight"; [all …]
|
/Linux-v6.1/drivers/video/backlight/ |
D | pwm_bl.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Simple PWM based backlight control, board code has to setup 4 * 1) pin configuration so PWM waveforms can output 8 #include <linux/delay.h> 17 #include <linux/pwm.h> 23 struct pwm_device *pwm; member 47 pwm_get_state(pb->pwm, &state); in pwm_backlight_power_on() 48 if (pb->enabled) in pwm_backlight_power_on() 51 err = regulator_enable(pb->power_supply); in pwm_backlight_power_on() 53 dev_err(pb->dev, "failed to enable power supply\n"); in pwm_backlight_power_on() [all …]
|
D | lp855x_bl.c | 1 // SPDX-License-Identifier: GPL-2.0-only 13 #include <linux/delay.h> 17 #include <linux/pwm.h> 40 #define DEFAULT_BL_NAME "lcd-backlight" 73 struct pwm_device *pwm; member 80 return i2c_smbus_write_byte_data(lp->client, reg, data); in lp855x_write_byte() 88 ret = i2c_smbus_read_byte_data(lp->client, reg); in lp855x_update_bit() 90 dev_err(lp->dev, "failed to read 0x%.2x\n", reg); in lp855x_update_bit() 105 switch (lp->chip_id) { in lp855x_is_valid_rom_area() 172 struct lp855x_platform_data *pd = lp->pdata; in lp855x_configure() [all …]
|
/Linux-v6.1/arch/arm64/boot/dts/rockchip/ |
D | rk3399-pinebook-pro.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 /dts-v1/; 9 #include <dt-bindings/input/gpio-keys.h> 10 #include <dt-bindings/input/linux-event-codes.h> 11 #include <dt-bindings/pwm/pwm.h> 12 #include <dt-bindings/usb/pd.h> 13 #include <dt-bindings/leds/common.h> 15 #include "rk3399-opp.dtsi" 19 compatible = "pine64,pinebook-pro", "rockchip,rk3399"; 20 chassis-type = "laptop"; [all …]
|
D | rk3566-anbernic-rgxx3.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 /dts-v1/; 5 #include <dt-bindings/gpio/gpio.h> 6 #include <dt-bindings/input/linux-event-codes.h> 7 #include <dt-bindings/leds/common.h> 8 #include <dt-bindings/pinctrl/rockchip.h> 9 #include <dt-bindings/soc/rockchip,vop2.h> 14 stdout-path = "serial2:1500000n8"; 17 adc-joystick { 18 compatible = "adc-joystick"; [all …]
|
/Linux-v6.1/drivers/gpu/drm/radeon/ |
D | atombios.h | 2 * Copyright 2006-2007 Advanced Micro Devices, Inc. 175 #define ATOM_FAKE_DESKTOP_STRING "DSK" //Flag used to enable mobile ASIC on Desktop 214 UCHAR uaFirmWareSignature[4]; /*Signature to distinguish between Atombios and non-atombios, 397 …ONG ulPointerReturnFlag:1; // BYTE_3[7]=1 - Return the pointer to the right Data Block; BYTE_… 403 …ONG ulPointerReturnFlag:1; // BYTE_3[7]=1 - Return the pointer to the right Data Block; BYTE_… 410 …ULONG ulClock; //When returen, it's the re-calculated clock based on given Fb_div Post_Di… 422 UCHAR ucPostDiv; //return post div to be written to register 483 …ULONG ucPostDiv:8; //return parameter: post divider which is used to program to register d… 487 …ULONG ucPostDiv:8; //return parameter: post divider which is used to program to register d… 504 …UCHAR ucInputFlag; //Input Flags. ucInputFlag[0] - Strobe(1)/Performance(0)… [all …]
|
/Linux-v6.1/drivers/gpu/drm/amd/include/ |
D | atombios.h | 2 * Copyright 2006-2007 Advanced Micro Devices, Inc. 107 #define ATOM_SCALER_DISABLE 0 //For Fudo, it's bypass and auto-cengter & no replication 108 #define ATOM_SCALER_CENTER 1 //For Fudo, it's bypass and auto-center & auto replication 110 #define ATOM_SCALER_MULTI_EX 3 //For Fudo only, it's multi-tap mode only used to drive TV or CV,… 182 #define ATOM_FAKE_DESKTOP_STRING "DSK" //Flag used to enable mobile ASIC on Desktop 222 UCHAR uaFirmWareSignature[4]; //Signature to distinguish between Atombios and non-atombios, 245 UCHAR uaFirmWareSignature[4]; //Signature to distinguish between Atombios and non-atombios, 427 …ONG ulPointerReturnFlag:1; // BYTE_3[7]=1 - Return the pointer to the right Data Block; BYTE_… 433 …ONG ulPointerReturnFlag:1; // BYTE_3[7]=1 - Return the pointer to the right Data Block; BYTE_… 440 …ULONG ulClock; //When returen, it's the re-calculated clock based on given Fb_div Post_Di… [all …]
|
D | atomfirmware.h | 6 * Description header file of general definitions for OS and pre-OS video drivers 31 * If a change in VBIOS/Driver/Tool's interface is only needed for pre-SoC15 products, then the chan… 32 * If a change is needed for both pre and post SoC15 products, then the change has to be made separa… 115 ATOM_SCALER_DISABLE =0, /*scaler bypass mode, auto-center & no replication*/ 116 ATOM_SCALER_CENTER =1, //For Fudo, it's bypass and auto-center & auto replication 201 #define BIOS_VERSION_PREFIX "ATOMBIOSBK-AMD" 244 …tom_string_def atom_bios_string; //Signature to distinguish between Atombios and non-atombios, 603 uint32_t maco_pwrlimit_mw; // bomaco mode power limit in unit of m-watt 604 uint32_t usb_pwrlimit_mw; // power limit when USB is enable in unit of m-watt 628 uint8_t pwr_on_digon_to_de; /*all pwr sequence numbers below are in uint of 4ms*/ [all …]
|
/Linux-v6.1/arch/arm64/boot/dts/freescale/ |
D | imx8mq-librem5.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright 2018-2020 Purism SPC 6 /dts-v1/; 8 #include "dt-bindings/input/input.h" 9 #include <dt-bindings/interrupt-controller/irq.h> 10 #include <dt-bindings/leds/common.h> 11 #include "dt-bindings/pwm/pwm.h" 12 #include "dt-bindings/usb/pd.h" 18 chassis-type = "handset"; 20 backlight_dsi: backlight-dsi { [all …]
|
/Linux-v6.1/arch/arm64/boot/dts/qcom/ |
D | sdm845-cheza.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 #include <dt-bindings/input/input.h> 9 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 12 /* PMICs depend on spmi_bus label and so must come after SoC */ 25 stdout-path = "serial0:115200n8"; 29 compatible = "pwm-backlight"; 31 enable-gpios = <&tlmm 37 GPIO_ACTIVE_HIGH>; 32 power-supply = <&ppvar_sys>; 33 pinctrl-names = "default"; 34 pinctrl-0 = <&ap_edp_bklten>; [all …]
|
/Linux-v6.1/sound/soc/codecs/ |
D | sta350.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Codec driver for ST STA350 2.1-channel high-efficiency digital audio system 8 * based on code from: 22 #include <linux/delay.h> 35 #include <sound/soc-dapm.h> 55 /* Power-up register defaults */ 156 "vdd-dig", /* digital supply, 3.3V */ 157 "vdd-pll", /* pll supply, 3.3V */ 158 "vcc" /* power amp supply, 5V - 26V */ 179 static const DECLARE_TLV_DB_SCALE(mvol_tlv, -12750, 50, 1); [all …]
|
/Linux-v6.1/drivers/gpu/drm/amd/display/dc/core/ |
D | dc_link_dp.c | 50 link->ctx->logger 133 link->dpcd_caps.dpcd_rev.raw >= DPCD_REV_12) { in get_cr_training_aux_rd_interval() 160 link->dpcd_caps.dpcd_rev.raw >= DPCD_REV_12) { in get_eq_training_aux_rd_interval() 276 struct dpcd_caps *rx_caps = &link->dpcd_caps; in decide_eq_training_pattern() 281 enc_caps = &link_enc->features; in decide_eq_training_pattern() 285 if (enc_caps->flags.bits.IS_TPS4_CAPABLE && in decide_eq_training_pattern() 286 rx_caps->max_down_spread.bits.TPS4_SUPPORTED) in decide_eq_training_pattern() 288 else if (enc_caps->flags.bits.IS_TPS3_CAPABLE && in decide_eq_training_pattern() 289 rx_caps->max_ln_count.bits.TPS3_SUPPORTED) in decide_eq_training_pattern() 310 switch (link_settings->link_rate) { in get_dpcd_link_rate() [all …]
|
/Linux-v6.1/drivers/gpu/drm/nouveau/ |
D | nouveau_bios.c | 2 * Copyright 2005-2006 Erik Waling 4 * Copyright 2007-2009 Stuart Bennett 30 #include <linux/io-mapping.h> 40 #define BIOSLOG(sip, fmt, arg...) NV_DEBUG(sip->dev, fmt, ##arg) 71 if (bios->major_version < 5) /* pre BIT */ in clkcmptable() 77 compareclk = ROM16(bios->data[clktable + compare_record_len * i]); in clkcmptable() 79 if (bios->major_version < 5) { in clkcmptable() 80 uint8_t tmdssub = bios->data[clktable + 2 + compare_record_len * i]; in clkcmptable() 81 scriptptr = ROM16(bios->data[bios->init_script_tbls_ptr + tmdssub * 2]); in clkcmptable() 83 scriptptr = ROM16(bios->data[clktable + 2 + compare_record_len * i]); in clkcmptable() [all …]
|
/Linux-v6.1/drivers/gpu/drm/amd/display/dc/ |
D | dc.h | 2 * Copyright 2012-14 Advanced Micro Devices, Inc. 102 // for example, 1080p -> 8K is 4.0, or 4000 raw value 110 // for example, 8K -> 1080p is 0.25, or 250 raw value 122 * DOC: color-management-caps 127 * abstracted HW. DCE 5-12 had almost no important changes, but starting with 130 * decide mapping to HW block based on logical capabilities. 134 * struct rom_curve_caps - predefined transfer function caps for degamma and regamma 150 * struct dpp_color_caps - color pipeline capabilities for display pipe and 155 * just plain 256-entry lookup 158 * @post_csc: post color space conversion, before gamut remap [all …]
|