Home
last modified time | relevance | path

Searched +full:aspire1 +full:- +full:ec (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/Documentation/devicetree/bindings/platform/
Dacer,aspire1-ec.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/platform/acer,aspire1-ec.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Nikita Travkin <nikita@trvn.ru>
15 laptop lid status and HPD events for the USB Type-C DP alt mode.
19 const: acer,aspire1-ec
28 $ref: /schemas/connector/usb-connector.yaml#
31 - compatible
32 - reg
[all …]
/linux-6.12.1/drivers/platform/arm64/
DMakefile1 # SPDX-License-Identifier: GPL-2.0-only
5 # This dir should only include drivers for EC-like devices.
8 obj-$(CONFIG_EC_ACER_ASPIRE1) += acer-aspire1-ec.o
9 obj-$(CONFIG_EC_LENOVO_YOGA_C630) += lenovo-yoga-c630.o
Dacer-aspire1-ec.c1 // SPDX-License-Identifier: GPL-2.0-only
94 struct aspire_ec *ec = data; in aspire_ec_irq_handler() local
108 id = i2c_smbus_read_byte_data(ec->client, ASPIRE_EC_EVENT); in aspire_ec_irq_handler()
110 dev_err(&ec->client->dev, "Failed to read event id: %pe\n", ERR_PTR(id)); in aspire_ec_irq_handler()
124 aspire_ec_ram_read(ec->client, ASPIRE_EC_RAM_WATCHDOG, &tmp, sizeof(tmp)); in aspire_ec_irq_handler()
126 aspire_ec_ram_write(ec->client, ASPIRE_EC_RAM_WATCHDOG, tmp); in aspire_ec_irq_handler()
131 input_report_switch(ec->idev, SW_LID, 1); in aspire_ec_irq_handler()
132 input_sync(ec->idev); in aspire_ec_irq_handler()
137 input_report_switch(ec->idev, SW_LID, 0); in aspire_ec_irq_handler()
138 input_sync(ec->idev); in aspire_ec_irq_handler()
[all …]
/linux-6.12.1/arch/arm64/boot/dts/qcom/
Dsc7180-acer-aspire1.dts1 // SPDX-License-Identifier: BSD-3-Clause
3 /dts-v1/;
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/sound/qcom,q6asm.h>
7 #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
14 /delete-node/ &tz_mem;
15 /delete-node/ &ipa_fw_mem;
19 compatible = "acer,aspire1", "qcom,sc7180";
20 chassis-type = "laptop";
30 stdout-path = "serial0:115200n8";
[all …]