Home
last modified time | relevance | path

Searched full:olpc (Results 1 – 25 of 82) sorted by relevance

1234

/linux/arch/x86/platform/olpc/
H A Dolpc.c3 * Support for the OLPC DCON and OLPC EC access
19 #include <linux/olpc-ec.h>
23 #include <asm/olpc.h>
39 printk(KERN_ERR "olpc-ec: invalid argument to " in olpc_ec_timeout_set()
42 printk(KERN_DEBUG "olpc-ec: using %d ms delay for EC commands.\n", in olpc_ec_timeout_set()
75 printk(KERN_WARNING "olpc-ec: %d: waited %u ms for IBF!\n", in __wait_on_ibf()
95 printk(KERN_WARNING "olpc-ec: %d: waited %u ms for OBF!\n", in __wait_on_obf()
120 printk(KERN_ERR "olpc-ec: timeout while attempting to " in olpc_xo1_ec_cmd()
126 printk(KERN_ERR "olpc-ec: timeout waiting for EC to " in olpc_xo1_ec_cmd()
141 pr_devel("olpc-ec: running cmd 0x%x\n", cmd); in olpc_xo1_ec_cmd()
[all …]
H A Dolpc_dt.c3 * OLPC-specific OFW device tree support code.
12 * Adapted for x86/OLPC by Andres Salomon <dilinger@queued.net>
19 #include <asm/olpc.h>
253 if (olpc_dt_compatible_match(node, "olpc,xo1.5-battery")) in olpc_dt_fixup()
256 /* Add olpc,xo1.5-battery compatible marker to battery node */ in olpc_dt_fixup()
258 olpc_dt_interpret(" \" olpc,xo1.5-battery\" +compatible"); in olpc_dt_fixup()
261 if (olpc_dt_compatible_match(node, "olpc,xo1-battery")) { in olpc_dt_fixup()
263 * If we have a olpc,xo1-battery compatible, then we're in olpc_dt_fixup()
274 olpc_dt_interpret(" \" olpc,xo1-dcon\" +compatible"); in olpc_dt_fixup()
280 if (olpc_dt_compatible_match(node, "olpc,xo1-battery")) { in olpc_dt_fixup()
[all …]
H A DMakefile2 obj-$(CONFIG_OLPC) += olpc.o olpc_ofw.o olpc_dt.o
3 obj-$(CONFIG_OLPC_XO1_PM) += olpc-xo1-pm.o xo1-wakeup.o
4 obj-$(CONFIG_OLPC_XO1_RTC) += olpc-xo1-rtc.o
5 obj-$(CONFIG_OLPC_XO1_SCI) += olpc-xo1-sci.o
6 obj-$(CONFIG_OLPC_XO15_SCI) += olpc-xo15-sci.o
H A Dolpc-xo1-pm.c3 * Support for power management features of the OLPC XO-1 laptop
16 #include <linux/olpc-ec.h>
19 #include <asm/olpc.h>
21 #define DRV_NAME "olpc-xo1-pm"
92 printk(KERN_INFO "OLPC XO-1 power off sequence...\n"); in xo1_power_off()
134 else if (strcmp(pdev->name, "olpc-xo1-pm-acpi") == 0) in xo1_pm_probe()
141 printk(KERN_INFO "OLPC XO-1 support registered\n"); in xo1_pm_probe()
151 else if (strcmp(pdev->name, "olpc-xo1-pm-acpi") == 0) in xo1_pm_remove()
167 .name = "olpc-xo1-pm-acpi",
H A Dolpc-xo1-rtc.c3 * Support for OLPC XO-1 Real Time Clock (RTC)
14 #include <asm/olpc.h>
61 node = of_find_compatible_node(NULL, NULL, "olpc,xo1-rtc"); in xo1_rtc_init()
66 pr_info("olpc-xo1-rtc: Initializing OLPC XO-1 RTC\n"); in xo1_rtc_init()
H A Dolpc-xo15-sci.c3 * Support for OLPC XO-1.5 System Control Interrupts (SCI)
12 #include <linux/olpc-ec.h>
15 #include <asm/olpc.h>
17 #define DRV_NAME "olpc-xo15-sci"
20 #define XO15_SCI_DEVICE_NAME "OLPC XO-1.5 SCI"
H A Dolpc-xo1-sci.c3 * Support for OLPC XO-1 System Control Interrupts (SCI)
21 #include <linux/olpc-ec.h>
25 #include <asm/olpc.h>
27 #define DRV_NAME "olpc-xo1-sci"
359 r = gpio_request(OLPC_GPIO_ECSCI, "OLPC-ECSCI"); in setup_ec_sci()
403 r = gpio_request(OLPC_GPIO_LID, "OLPC-LID"); in setup_lid_events()
615 .name = "olpc-xo1-sci-acpi",
/linux/drivers/platform/olpc/
H A DKconfig6 bool "Platform support for OLPC XO 1.75 hardware"
9 Say Y here to get to see options for the ARM-based OLPC platform.
12 Unless you have an OLPC XO laptop, you will want to say N.
17 tristate "OLPC XO 1.75 Embedded Controller"
23 Include support for the OLPC XO Embedded Controller (EC). The EC
27 Unless you have an OLPC XO laptop, you will want to say N.
H A DMakefile3 # OLPC XO platform-specific drivers
5 obj-$(CONFIG_OLPC_EC) += olpc-ec.o
6 obj-$(CONFIG_OLPC_XO175_EC) += olpc-xo175-ec.o
H A Dolpc-ec.c3 * Generic driver for the OLPC Embedded Controller.
19 #include <linux/olpc-ec.h>
109 * Throw a cmd descripter onto the list. We now have SMP OLPC machines, so
281 pr_debug("olpc-ec: bad ec cmd: cmd:response-count [arg1 [arg2 ...]]\n"); in ec_dbgfs_cmd_write()
291 pr_debug("olpc-ec: debugfs cmd 0x%02x with %d args %5ph, want %d returns\n", in ec_dbgfs_cmd_write()
298 pr_debug("olpc-ec: response %8ph (%d bytes expected)\n", in ec_dbgfs_cmd_write()
334 dbgfs_dir = debugfs_create_dir("olpc-ec", NULL); in olpc_ec_setup_debugfs()
483 .name = "olpc-ec",
/linux/Documentation/devicetree/bindings/power/supply/
H A Dolpc-battery.yaml4 $id: http://devicetree.org/schemas/power/supply/olpc-battery.yaml#
7 title: OLPC Battery
19 - const: olpc,xo1.5-battery
20 - const: olpc,xo1-battery
22 - const: olpc,xo1-battery
/linux/Documentation/devicetree/bindings/misc/
H A Dolpc,xo1.75-ec.yaml5 $id: http://devicetree.org/schemas/misc/olpc,xo1.75-ec.yaml#
8 title: OLPC XO-1.75 Embedded Controller
12 on a OLPC XO-1.75 laptop computer.
25 const: olpc,xo1.75-ec
50 compatible = "olpc,xo1.75-ec";
/linux/arch/arm/boot/dts/marvell/
H A Dmmp2-olpc-xo-1-75.dts3 * OLPC XO 1.75 Laptop.
16 model = "OLPC XO-1.75";
17 compatible = "olpc,xo-1.75", "mrvl,mmp2";
90 compatible = "olpc,xo1.5-battery", "olpc,xo1-battery";
110 label = "OLPC XO";
125 compatible = "olpc,ap-sp";
232 compatible = "olpc,xo1.75-ec";
/linux/sound/pci/cs5535audio/
H A Dcs5535audio_olpc.c3 * OLPC XO-1 additional sound features
14 #include <asm/olpc.h>
17 #define DRV_NAME "cs5535audio-olpc"
20 * OLPC has an additional feature on top of the regular AD1888 codec features.
45 * OLPC XO-1's V_REFOUT is a mic bias enable.
139 /* invert EAPD if on an OLPC B3 or higher */ in olpc_prequirks()
170 /* add the OLPC-specific controls */ in olpc_quirks()
/linux/Documentation/devicetree/bindings/serio/
H A Dolpc,ap-sp.txt1 OLPC AP-SP serio interface
4 - compatible : "olpc,ap-sp"
10 compatible = "olpc,ap-sp";
/linux/arch/x86/include/asm/
H A Dolpc.h2 /* OLPC machine specific definitions */
22 * OLPC board IDs contain the major build number within the mask 0x0ff0,
44 * The DCON is OLPC's Display Controller. It has a number of unique
53 * The "Mass Production" version of OLPC's XO is identified as being model
/linux/drivers/input/serio/
H A Dolpc_apsp.c3 * OLPC serio driver for multiplexed input from Marvell MMP security processor
19 * The OLPC XO-1.75 and XO-4 laptops do not have a hardware PS/2 controller.
20 * Instead, the OLPC firmware runs a bit-banging PS/2 implementation on an
222 error = request_irq(priv->irq, olpc_apsp_rx, 0, "olpc-apsp", priv); in olpc_apsp_probe()
252 { .compatible = "olpc,ap-sp", },
261 .name = "olpc-apsp",
266 MODULE_DESCRIPTION("OLPC AP-SP serio driver");
/linux/drivers/platform/x86/
H A Dxo1-rfkill.c3 * Support for rfkill through the OLPC XO-1 laptop embedded controller
11 #include <linux/olpc-ec.h>
77 MODULE_DESCRIPTION("OLPC XO-1 software RF kill switch");
/linux/drivers/mfd/
H A Dcs5535-mfd.c17 #include <asm/olpc.h>
57 .name = "olpc-xo1-pm-acpi",
62 .name = "olpc-xo1-sci-acpi",
113 "Failed to add CS5535 OLPC sub-devices: %d\n", in cs5535_mfd_probe()
/linux/Documentation/devicetree/bindings/rtc/
H A Dolpc-xo1-rtc.txt1 OLPC XO-1 RTC
5 - compatible : "olpc,xo1-rtc"
/linux/drivers/staging/olpc_dcon/
H A DMakefile2 olpc-dcon-objs += olpc_dcon.o olpc_dcon_xo_1.o olpc_dcon_xo_1_5.o
3 obj-$(CONFIG_FB_OLPC_DCON) += olpc-dcon.o
H A DKconfig4 depends on OLPC && FB && BROKEN
15 This controller is only available on OLPC platforms. Unless you have
/linux/Documentation/ABI/testing/
H A Ddebugfs-olpc1 What: /sys/kernel/debug/olpc-ec/cmd
7 A generic interface for executing OLPC Embedded Controller commands and
/linux/drivers/media/platform/marvell/
H A DKconfig18 generation OLPC systems.
36 in OLPC XO 1.75 systems.
/linux/drivers/power/supply/
H A Dolpc_battery.c19 #include <linux/olpc-ec.h>
540 pr_err("olpc-battery: " in olpc_bat_eeprom_read()
653 np = of_find_compatible_node(NULL, NULL, "olpc,xo1.75-ec"); in olpc_battery_probe()
667 printk(KERN_NOTICE "OLPC EC version 0x%02x too old for " in olpc_battery_probe()
686 if (of_device_is_compatible(pdev->dev.of_node, "olpc,xo1.5-battery")) { in olpc_battery_probe()
714 { .compatible = "olpc,xo1-battery" },
715 { .compatible = "olpc,xo1.5-battery" },
722 .name = "olpc-battery",

1234