/openbmc/linux/Documentation/devicetree/bindings/sound/ |
H A D | google,cros-ec-codec.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 4 $id: http://devicetree.org/schemas/sound/google,cros-ec-codec.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Audio codec controlled by ChromeOS EC 10 - Cheng-Yi Chiang <cychiang@chromium.org> 11 - Tzung-Bi Shih <tzungbi@kernel.org> 14 Google's ChromeOS EC codec is a digital mic codec provided by the 15 Embedded Controller (EC) and is controlled via a host-command 16 interface. An EC codec node should only be found inside the "codecs" [all …]
|
H A D | mt8183-mt6358-ts3a227-max98357.txt | 4 - compatible : "mediatek,mt8183_mt6358_ts3a227_max98357" for MAX98357A codec 5 "mediatek,mt8183_mt6358_ts3a227_max98357b" for MAX98357B codec 6 "mediatek,mt8183_mt6358_ts3a227_rt1015" for RT1015 codec 7 "mediatek,mt8183_mt6358_ts3a227_rt1015p" for RT1015P codec 8 - mediatek,platform: the phandle of MT8183 ASoC platform 11 - mediatek,headset-codec: the phandles of ts3a227 codecs 12 - mediatek,ec-codec: the phandle of EC codecs. 13 See google,cros-ec-codec.txt for more details. 14 - mediatek,hdmi-codec: the phandles of HDMI codec 20 mediatek,headset-codec = <&ts3a227>; [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/mfd/ |
H A D | google,cros-ec.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/mfd/google,cros-ec.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Benson Leung <bleung@chromium.org> 11 - Guenter Roeck <groeck@chromium.org> 14 Google's ChromeOS EC is a microcontroller which talks to the AP and 16 The EC can be connected through various interfaces (I2C, SPI, and others) 22 - description: 23 For implementations of the EC connected through I2C. [all …]
|
/openbmc/u-boot/arch/arm/dts/ |
H A D | exynos5800-peach-pi.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * SAMSUNG/GOOGLE Peach-Pit board device tree source 9 /dts-v1/; 14 cpu-model = "Exynos5800"; 16 compatible = "google,pit-rev#", "google,pit", 20 google,bad-wake-gpios = <&gpx0 6 GPIO_ACTIVE_HIGH>; 21 hwid = "PIT TEST A-A 7848"; 22 lazy-init = <1>; 33 compatible = "pwm-backlight"; 35 brightness-levels = <0 100 500 1000 1500 2000 2500 2800>; [all …]
|
H A D | rk3399-gru-chromebook.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Google Gru-Chromebook shared properties 8 #include "rk3399-gru.dtsi" 11 pp900_ap: pp900-ap { 12 compatible = "regulator-fixed"; 13 regulator-name = "pp900_ap"; 15 /* EC turns on w/ pp900_ap_en; always on for AP */ 16 regulator-always-on; 17 regulator-boot-on; 18 regulator-min-microvolt = <900000>; [all …]
|
H A D | exynos5420-peach-pit.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * SAMSUNG/GOOGLE Peach-Pit board device tree source 9 /dts-v1/; 11 #include <dt-bindings/clock/maxim,max77802.h> 12 #include <dt-bindings/regulator/maxim,max77802.h> 17 compatible = "google,pit-rev#", "google,pit", 21 google,bad-wake-gpios = <&gpx0 6 GPIO_ACTIVE_HIGH>; 22 hwid = "PIT TEST A-A 7848"; 23 lazy-init = <1>; 34 compatible = "pwm-backlight"; [all …]
|
H A D | exynos5250-snow.dts | 12 /dts-v1/; 13 #include <dt-bindings/gpio/gpio.h> 14 #include <dt-bindings/interrupt-controller/irq.h> 15 #include <dt-bindings/input/input.h> 51 stdout-path = "serial3:115200n8"; 59 samsung,bl1-offset = <0x1400>; 60 samsung,bl2-offset = <0x3400>; 61 u-boot-memory = "/memory"; 62 u-boot-offset = <0x3e00000 0x100000>; 67 #address-cells = <1>; [all …]
|
H A D | rk3399-gru.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 5 * Copyright 2016-2017 Google, Inc 8 #include <dt-bindings/input/input.h> 10 #include "rk3399-op1-opp.dtsi" 14 u-boot,dm-pre-reloc; 15 stdout-path = "serial2:115200n8"; 16 u-boot,spl-boot-order = &spi_flash; 20 u-boot,spl-payload-offset = <0x40000>; 29 * - Rails that only connect to the EC (or devices that the EC talks to) 31 * - Rails _are_ included if the rails go to the AP even if the AP [all …]
|
H A D | exynos5250-spring.dts | 1 // SPDX-License-Identifier: GPL-2.0 9 /dts-v1/; 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/interrupt-controller/irq.h> 12 #include <dt-bindings/input/input.h> 48 samsung,bl1-offset = <0x1400>; 49 samsung,bl2-offset = <0x3400>; 50 u-boot-memory = "/memory"; 51 u-boot-offset = <0x3e00000 0x100000>; 56 #address-cells = <1>; [all …]
|
/openbmc/linux/sound/pci/ali5451/ |
H A D | ali5451.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 8 * -- 11 * -- 21 #include <linux/dma-mapping.h> 141 #define ALI_REG(codec, x) ((codec)->port + x) argument 180 struct snd_ali *codec; member 185 int count; /* runtime->period_size */ 187 /* --- */ 266 static inline unsigned int snd_ali_5451_peek(struct snd_ali *codec, in snd_ali_5451_peek() argument 269 return (unsigned int)inl(ALI_REG(codec, port)); in snd_ali_5451_peek() [all …]
|
/openbmc/linux/sound/soc/codecs/ |
H A D | cros_ec_codec.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * ChromeOS Embedded Controller codec driver. 7 * This driver uses the cros-ec interface to communicate with the ChromeOS 8 * EC for audio function. 71 return priv->ec_capabilities & BIT(cap); in ec_codec_capable() 83 return -ENOMEM; in send_ec_host_command() 85 msg->version = 0; in send_ec_host_command() 86 msg->command = cmd; in send_ec_host_command() 87 msg->outsize = outsize; in send_ec_host_command() 88 msg->insize = insize; in send_ec_host_command() [all …]
|
/openbmc/linux/arch/arm64/boot/dts/qcom/ |
H A D | sc7280-herobrine.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 16 #include <dt-bindings/input/gpio-keys.h> 17 #include <dt-bindings/input/input.h> 18 #include <dt-bindings/leds/common.h> 20 #include "sc7280-qcard.dtsi" 21 #include "sc7280-chrome-common.dtsi" 25 stdout-path = "serial0:115200n8"; 38 ppvar_sys: ppvar-sys-regulator { 39 compatible = "regulator-fixed"; 40 regulator-name = "ppvar_sys"; [all …]
|
H A D | sc7180-trogdor.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/input/gpio-keys.h> 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/leds/common.h> 12 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 13 #include <dt-bindings/sound/sc7180-lpass.h> 16 #include "sc7180-firmware-tfa.dtsi" 22 thermal-zones { 23 charger_thermal: charger-thermal { [all …]
|
/openbmc/u-boot/arch/sandbox/dts/ |
H A D | sandbox.dts | 1 /dts-v1/; 6 #address-cells = <1>; 7 #size-cells = <1>; 18 stdout-path = "/serial"; 21 audio: audio-codec { 22 compatible = "sandbox,audio-codec"; 23 #sound-dai-cells = <1>; 26 cros_ec: cros-ec { 28 u-boot,dm-pre-reloc; 29 compatible = "google,cros-ec-sandbox"; [all …]
|
/openbmc/linux/sound/soc/amd/ |
H A D | acp3x-rt5682-max9836.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 // Machine driver for AMD ACP Audio engine using DA7219 & MAX98357 codec. 11 #include <sound/soc-dapm.h> 50 EC, enumerator 56 struct snd_soc_card *card = rtd->card; in acp3x_5682_init() 58 struct snd_soc_component *component = codec_dai->component; in acp3x_5682_init() 60 dev_info(rtd->dev, "codec dai name = %s\n", codec_dai->name); in acp3x_5682_init() 67 dev_err(rtd->card->dev, in acp3x_5682_init() 72 /* set codec PLL */ in acp3x_5682_init() 76 dev_err(rtd->dev, "can't set rt5682 PLL: %d\n", ret); in acp3x_5682_init() [all …]
|
/openbmc/u-boot/board/advantech/som-db5800-som-6867/ |
H A D | som-db5800-som-6867.c | 1 // SPDX-License-Identifier: GPL-2.0+ 10 /* ALC262 Verb Table - 10EC0262 */ 85 * Codec Verb Table For AZALIA 86 * Codec Address: CAd value (0/1/2) 87 * Codec Vendor: 0x10EC0262 124 * Disable it again, so that the one on the EC can be used. in board_early_init_f()
|
/openbmc/linux/arch/arm64/boot/dts/rockchip/ |
H A D | rk3399-gru-chromebook.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Google Gru-Chromebook shared properties 8 #include "rk3399-gru.dtsi" 11 pp900_ap: pp900-ap { 12 compatible = "regulator-fixed"; 13 regulator-name = "pp900_ap"; 15 /* EC turns on w/ pp900_ap_en; always on for AP */ 16 regulator-always-on; 17 regulator-boot-on; 18 regulator-min-microvolt = <900000>; [all …]
|
H A D | rk3399-gru.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 5 * Copyright 2016-2017 Google, Inc 8 #include <dt-bindings/input/input.h> 10 #include "rk3399-op1-opp.dtsi" 19 stdout-path = "serial2:115200n8"; 28 * - Rails that only connect to the EC (or devices that the EC talks to) 30 * - Rails _are_ included if the rails go to the AP even if the AP 39 * - The EC controls the enable and the EC always enables a rail as 41 * - The rails are actually connected to each other by a jumper and 46 ppvar_sys: ppvar-sys { [all …]
|
H A D | rk3399-gru-scarlet.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Google Gru-scarlet board device tree source 8 #include "rk3399-gru.dtsi" 11 chassis-type = "tablet"; 16 pp1250_s3: pp1250-s3 { 17 compatible = "regulator-fixed"; 18 regulator-name = "pp1250_s3"; 20 /* EC turns on w/ pp1250_s3_en; always on for AP */ 21 regulator-always-on; 22 regulator-boot-on; [all …]
|
/openbmc/linux/drivers/platform/x86/dell/ |
H A D | dell-wmi-privacy.c | 1 // SPDX-License-Identifier: GPL-2.0-only 13 #include <linux/input/sparse-keymap.h> 19 #include "dell-wmi-privacy.h" 21 #define DELL_PRIVACY_GUID "6932965F-1671-4CEB-B988-D3AB0A901919" 78 return priv && (priv->features_present & BIT(DELL_PRIVACY_TYPE_AUDIO)); in dell_privacy_has_mic_mute() 86 * 3) WMI event is received by dell-privacy 87 * 4) KEY_MICMUTE emitted from dell-privacy 89 * 6) Codec kernel driver catches and calls ledtrig_audio_set which will call 91 * 7) dell-privacy notifies EC, the timeout is cancelled and the HW mute activates. 92 * If the EC is not notified then the HW mic mute will activate when the timeout [all …]
|
/openbmc/linux/arch/arm64/boot/dts/mediatek/ |
H A D | mt8195-cherry.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 6 #include <dt-bindings/gpio/gpio.h> 7 #include <dt-bindings/spmi/spmi.h> 25 backlight_lcd0: backlight-lcd0 { 26 compatible = "pwm-backlight"; 27 brightness-levels = <0 1023>; 28 default-brightness-level = <576>; 29 enable-gpios = <&pio 82 GPIO_ACTIVE_HIGH>; 30 num-interpolated-steps = <1023>; 32 power-supply = <&ppvar_sys>; [all …]
|
/openbmc/linux/drivers/media/platform/verisilicon/ |
H A D | hantro_v4l2.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Hantro VPU codec driver 7 * Alpha Lin <Alpha.Lin@rock-chips.com> 8 * Jeffy Chen <jeffy.chen@rock-chips.com> 13 * Based on s5p-mfc driver by Samsung Electronics Co., Ltd. 14 * Copyright (C) 2010-2011 Samsung Electronics Co., Ltd. 23 #include <media/v4l2-ctrls.h> 24 #include <media/v4l2-event.h> 25 #include <media/v4l2-mem2mem.h> 49 if (ctx->is_encoder) { in hantro_get_formats() [all …]
|
/openbmc/u-boot/arch/x86/dts/ |
H A D | chromebook_samus.dts | 1 /dts-v1/; 3 #include <dt-bindings/gpio/x86-gpio.h> 27 #address-cells = <1>; 28 #size-cells = <0>; 32 compatible = "intel,core-i3-gen5"; 34 intel,apic-id = <0>; 35 intel,slow-ramp = <3>; 40 compatible = "intel,core-i3-gen5"; 42 intel,apic-id = <1>; 47 compatible = "intel,core-i3-gen5"; [all …]
|
H A D | chromebook_link.dts | 1 /dts-v1/; 3 #include <dt-bindings/gpio/x86-gpio.h> 4 #include <dt-bindings/sound/azalia.h> 16 compatible = "google,link", "intel,celeron-ivybridge"; 29 #address-cells = <1>; 30 #size-cells = <0>; 34 compatible = "intel,core-gen3"; 36 intel,apic-id = <0>; 41 compatible = "intel,core-gen3"; 43 intel,apic-id = <1>; [all …]
|
/openbmc/linux/arch/arm/boot/dts/amlogic/ |
H A D | meson8b-ec100.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/input/input.h> 22 stdout-path = "serial0:115200n8"; 30 emmc_pwrseq: emmc-pwrseq { 31 compatible = "mmc-pwrseq-emmc"; 32 reset-gpios = <&gpio BOOT_9 GPIO_ACTIVE_LOW>; 35 gpio-keys { 36 compatible = "gpio-keys-polled"; [all …]
|