Home
last modified time | relevance | path

Searched +full:function +full:- +full:row +full:- +full:physmap (Results 1 – 11 of 11) sorted by relevance

/Linux-v6.1/drivers/input/
Dvivaldi-fmap.c1 // SPDX-License-Identifier: GPL-2.0
3 * Helpers for ChromeOS Vivaldi keyboard function row mapping
9 #include <linux/input/vivaldi-fmap.h>
15 * vivaldi_function_row_physmap_show - Print vivaldi function row physmap attribute
16 * @data: The vivaldi function row map
17 * @buf: Buffer to print the function row phsymap to
24 const u32 *physmap = data->function_row_physmap; in vivaldi_function_row_physmap_show() local
26 if (!data->num_function_row_keys) in vivaldi_function_row_physmap_show()
29 for (i = 0; i < data->num_function_row_keys; i++) in vivaldi_function_row_physmap_show()
30 size += scnprintf(buf + size, PAGE_SIZE - size, in vivaldi_function_row_physmap_show()
[all …]
/Linux-v6.1/drivers/input/keyboard/
Dcros_ec_keyb.c1 // SPDX-License-Identifier: GPL-2.0
6 // This driver uses the ChromeOS EC byte-level message-based protocol for
19 #include <linux/input/vivaldi-fmap.h>
33 * struct cros_ec_keyb - Structure representing EC keyboard device
39 * @ghost_filter: true to enable the matrix key-ghosting filter
45 * @bs_idev: The input device for non-matrix buttons and switches (or NULL).
47 * @vdata: vivaldi function row data
69 * struct cros_ec_bs_map - Mapping between Linux keycodes and EC button/switch
85 /* cros_ec_keyb_bs - Map EC button/switch #defines into kernel ones */
125 struct device *dev = ckdev->dev; in cros_ec_keyb_has_ghosting()
[all …]
Datkbd.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (c) 1999-2002 Vojtech Pavlik
12 * input-only controllers and AT keyboards connected over a one way RS232
22 #include <linux/input/vivaldi-fmap.h>
58 MODULE_PARM_DESC(scroll, "Enable scroll-wheel on MS Office and similar keyboards");
236 /* Serializes reconnect(), attr->set() and event work */
243 * System-specific keymap fixup routine
309 return vivaldi_function_row_physmap_show(&atkbd->vdata, buf); in atkbd_show_function_row_physmap()
320 !atkbd->vdata.num_function_row_keys) in atkbd_attr_is_visible()
323 return attr->mode; in atkbd_attr_is_visible()
[all …]
/Linux-v6.1/Documentation/devicetree/bindings/input/
Dgoogle,cros-ec-keyb.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
5 $id: http://devicetree.org/schemas/input/google,cros-ec-keyb.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
11 - Simon Glass <sjg@chromium.org>
12 - Benson Leung <bleung@chromium.org>
24 - description: ChromeOS EC with only buttons/switches
25 const: google,cros-ec-keyb-switches
26 - description: ChromeOS EC with keyboard and possibly buttons/switches
27 const: google,cros-ec-keyb
[all …]
/Linux-v6.1/arch/arm64/boot/dts/mediatek/
Dmt8192-asurada-spherion-r0.dts1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
5 /dts-v1/;
6 #include "mt8192-asurada.dtsi"
7 #include <dt-bindings/leds/common.h>
10 model = "Google Spherion (rev0 - 3)";
11 compatible = "google,spherion-rev3", "google,spherion-rev2",
12 "google,spherion-rev1", "google,spherion-rev0",
16 compatible = "pwm-leds";
19 function = LED_FUNCTION_KBD_BACKLIGHT;
22 max-brightness = <1023>;
[all …]
Dmt8192-asurada-hayato-r1.dts1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
5 /dts-v1/;
6 #include "mt8192-asurada.dtsi"
10 compatible = "google,hayato-rev1", "google,hayato", "mediatek,mt8192";
14 function-row-physmap = <
43 compatible = "hid-over-i2c";
44 post-power-on-delay-ms = <10>;
45 hid-descr-addr = <0x0001>;
46 vdd-supply = <&pp3300_u>;
Dmt8195-cherry.dtsi1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
6 #include <dt-bindings/gpio/gpio.h>
7 #include <dt-bindings/spmi/spmi.h>
26 stdout-path = "serial0:115200n8";
35 pp3300_z5: regulator-pp3300-ldo-z5 {
36 compatible = "regulator-fixed";
37 regulator-name = "pp3300_ldo_z5";
38 regulator-always-on;
39 regulator-boot-on;
40 regulator-min-microvolt = <3300000>;
[all …]
/Linux-v6.1/arch/arm64/boot/dts/qcom/
Dsc7180-trogdor-pazquel.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
8 /* This file must be included after sc7180-trogdor.dtsi */
9 #include <arm/cros-ec-keyboard.dtsi>
13 semtech,ph0-pin = <1 3 3>;
14 semtech,ph1-pin = <3 1 3>;
15 semtech,ph2-pin = <1 3 3>;
16 semtech,ph3-pin = <0 0 0>;
17 semtech,ph01-resolution = <1024>;
18 semtech,ph23-resolution = <1024>;
19 semtech,startup-sensor = <1>;
[all …]
Dsc7180-trogdor-kingoftown.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
8 /* This file must be included after sc7180-trogdor.dtsi */
9 #include <arm/cros-ec-keyboard.dtsi>
10 #include "sc7180-trogdor-lte-sku.dtsi"
14 realtek,dmic1-clk-pin = <2>;
15 realtek,dmic-clk-rate-hz = <2048000>;
24 clock-frequency = <400000>;
29 pinctrl-names = "default";
30 pinctrl-0 = <&ts_int_l>, <&ts_reset_l>;
32 interrupt-parent = <&tlmm>;
[all …]
Dsc7180-trogdor-pompom.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
8 #include "sc7180-trogdor.dtsi"
9 /* Must come after sc7180-trogdor.dtsi to modify cros_ec */
10 #include <arm/cros-ec-keyboard.dtsi>
11 #include "sc7180-trogdor-ti-sn65dsi86.dtsi"
14 thermal-zones {
15 5v-choke-thermal {
16 polling-delay-passive = <0>;
17 polling-delay = <250>;
19 thermal-sensors = <&pm6150_adc_tm 1>;
[all …]
Dsc7280-herobrine.dtsi1 // 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 …]