Home
last modified time | relevance | path

Searched +full:cros +full:- +full:ec +full:- +full:mkbp +full:- +full:proximity (Results 1 – 5 of 5) sorted by relevance

/linux-6.12.1/Documentation/devicetree/bindings/iio/proximity/
Dgoogle,cros-ec-mkbp-proximity.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/iio/proximity/google,cros-ec-mkbp-proximity.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: ChromeOS EC MKBP Proximity Sensor
10 - Stephen Boyd <swboyd@chromium.org>
11 - Benson Leung <bleung@chromium.org>
14 Google's ChromeOS EC sometimes has the ability to detect user proximity.
15 This is implemented on the EC as near/far logic and exposed to the OS
16 via an MKBP switch bit.
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/mfd/
Dgoogle,cros-ec.yaml1 # 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 …]
/linux-6.12.1/drivers/iio/proximity/
Dcros_ec_mkbp_proximity.c1 // SPDX-License-Identifier: GPL-2.0
3 * Driver for cros-ec proximity sensor exposed through MKBP switch
27 struct cros_ec_device *ec; member
75 msg->command = EC_CMD_MKBP_INFO; in cros_ec_mkbp_proximity_query()
76 msg->version = 1; in cros_ec_mkbp_proximity_query()
77 msg->outsize = sizeof(*params); in cros_ec_mkbp_proximity_query()
78 msg->insize = insize; in cros_ec_mkbp_proximity_query()
80 params->info_type = EC_MKBP_INFO_CURRENT; in cros_ec_mkbp_proximity_query()
81 params->event_type = EC_MKBP_EVENT_SWITCH; in cros_ec_mkbp_proximity_query()
88 dev_warn(ec_dev->dev, "wrong result size: %d != %zu\n", ret, in cros_ec_mkbp_proximity_query()
[all …]
/linux-6.12.1/arch/arm64/boot/dts/qcom/
Dsc7180-trogdor-coachz.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
8 #include "sc7180-trogdor.dtsi"
9 #include "sc7180-trogdor-ti-sn65dsi86.dtsi"
10 #include "sc7180-trogdor-detachable.dtsi"
12 /* Deleted nodes from sc7180-trogdor.dtsi */
14 /delete-node/ &pp3300_codec;
17 /* BOARD-SPECIFIC TOP LEVEL NODES */
19 adau7002: audio-codec-1 {
21 IOVDD-supply = <&pp1800_l15a>;
22 wakeup-delay-ms = <80>;
[all …]
/linux-6.12.1/include/linux/platform_data/
Dcros_ec_commands.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Host communication command constants for ChromeOS EC
7 * NOTE: This file is auto-generated from ChromeOS EC Open Source code from
8 * https://chromium.googlesource.com/chromiumos/platform/ec/+/master/include/ec_commands.h
11 /* Host communication command constants for Chrome EC */
52 * The actual block is 0x800-0x8ff, but some BIOSes think it's 0x880-0x8ff
56 * MEC series EC; an attempt to address a larger region may fail.
63 /* EC command register bit functions */
65 #define EC_LPC_CMDR_PENDING BIT(1) /* Write pending to EC */
66 #define EC_LPC_CMDR_BUSY BIT(2) /* EC is busy processing a command */
[all …]