Home
last modified time | relevance | path

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

/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-6.6/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 */
140 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()
327 !atkbd->vdata.num_function_row_keys) in atkbd_attr_is_visible()
330 return attr->mode; in atkbd_attr_is_visible()
[all …]
/kernel/linux/linux-6.6/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 "mt8192-asurada-audio-rt1015p-rt5682.dtsi"
8 #include <dt-bindings/leds/common.h>
11 model = "Google Spherion (rev0 - 3)";
12 compatible = "google,spherion-rev3", "google,spherion-rev2",
13 "google,spherion-rev1", "google,spherion-rev0",
17 compatible = "pwm-leds";
20 function = LED_FUNCTION_KBD_BACKLIGHT;
[all …]
Dmt8192-asurada-hayato-r1.dts1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
5 /dts-v1/;
6 #include "mt8192-asurada.dtsi"
7 #include "mt8192-asurada-audio-rt1015p-rt5682.dtsi"
11 compatible = "google,hayato-rev1", "google,hayato", "mediatek,mt8192";
15 function-row-physmap = <
44 bt_pins: bt-pins {
45 pins-bt-kill {
47 output-low;
50 pins-bt-wake {
[all …]
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>
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 …]
/kernel/linux/linux-6.6/arch/arm64/boot/dts/qcom/
Dsc7180-trogdor-pazquel360.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
8 /* This file must be included after sc7180-trogdor.dtsi */
9 #include "sc7180-trogdor-pazquel.dtsi"
13 realtek,dmic1-clk-pin = <2>;
14 realtek,dmic-clk-rate-hz = <2048000>;
15 /delete-property/ VBAT-supply;
19 clock-frequency = <400000>;
25 pinctrl-names = "default";
26 pinctrl-0 = <&ts_int_l>, <&ts_reset_l>;
28 interrupt-parent = <&tlmm>;
[all …]
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.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
8 /dts-v1/;
10 #include "sc7180-trogdor.dtsi"
11 #include "sc7180-trogdor-parade-ps8640.dtsi"
12 #include <arm/cros-ec-keyboard.dtsi>
13 #include "sc7180-trogdor-lte-sku.dtsi"
22 /delete-property/ VBAT-supply;
23 realtek,dmic1-clk-pin = <2>;
24 realtek,dmic-clk-rate-hz = <2048000>;
33 clock-frequency = <400000>;
[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 choke-5v-thermal {
16 thermal-sensors = <&pm6150_adc_tm 1>;
19 choke-5v-crit {
30 realtek,dmic-clk-driving-high;
[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 …]
/kernel/linux/linux-5.10/drivers/input/keyboard/
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
57 MODULE_PARM_DESC(scroll, "Enable scroll-wheel on MS Office and similar keyboards");
237 /* Serializes reconnect(), attr->set() and event work */
245 * System-specific keymap fixup routine
314 if (!atkbd->num_function_row_keys) in atkbd_show_function_row_physmap()
317 for (i = 0; i < atkbd->num_function_row_keys; i++) in atkbd_show_function_row_physmap()
318 size += scnprintf(buf + size, PAGE_SIZE - size, "%02X ", in atkbd_show_function_row_physmap()
319 atkbd->function_row_physmap[i]); in atkbd_show_function_row_physmap()
[all …]