| /kernel/linux/linux-5.10/arch/x86/platform/olpc/ |
| D | olpc.c | 3 * 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 …]
|
| D | olpc_dt.c | 3 * 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 …]
|
| D | Makefile | 2 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
|
| D | olpc-xo1-pm.c | 3 * 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() 168 .name = "olpc-xo1-pm-acpi",
|
| D | olpc-xo1-rtc.c | 3 * 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()
|
| /kernel/linux/linux-4.19/arch/x86/platform/olpc/ |
| D | olpc.c | 2 * Support for the OLPC DCON and OLPC EC access 23 #include <linux/olpc-ec.h> 27 #include <asm/olpc.h> 46 printk(KERN_ERR "olpc-ec: invalid argument to " in olpc_ec_timeout_set() 49 printk(KERN_DEBUG "olpc-ec: using %d ms delay for EC commands.\n", in olpc_ec_timeout_set() 82 printk(KERN_WARNING "olpc-ec: %d: waited %u ms for IBF!\n", in __wait_on_ibf() 102 printk(KERN_WARNING "olpc-ec: %d: waited %u ms for OBF!\n", in __wait_on_obf() 127 printk(KERN_ERR "olpc-ec: timeout while attempting to " in olpc_xo1_ec_cmd() 133 printk(KERN_ERR "olpc-ec: timeout waiting for EC to " in olpc_xo1_ec_cmd() 148 pr_devel("olpc-ec: running cmd 0x%x\n", cmd); in olpc_xo1_ec_cmd() [all …]
|
| D | Makefile | 2 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
|
| D | olpc-xo1-pm.c | 2 * Support for power management features of the OLPC XO-1 laptop 21 #include <linux/olpc-ec.h> 24 #include <asm/olpc.h> 26 #define DRV_NAME "olpc-xo1-pm" 97 printk(KERN_INFO "OLPC XO-1 power off sequence...\n"); in xo1_power_off() 144 else if (strcmp(pdev->name, "olpc-xo1-pm-acpi") == 0) in xo1_pm_probe() 151 printk(KERN_INFO "OLPC XO-1 support registered\n"); in xo1_pm_probe() 163 else if (strcmp(pdev->name, "olpc-xo1-pm-acpi") == 0) in xo1_pm_remove() 180 .name = "olpc-xo1-pm-acpi",
|
| D | olpc_dt.c | 2 * OLPC-specific OFW device tree support code. 11 * Adapted for x86/OLPC by Andres Salomon <dilinger@queued.net> 24 #include <asm/olpc.h> 242 /* Add olpc,xo1-battery compatible marker to battery node */ in olpc_dt_fixup() 244 " \" olpc,xo1-battery\" +compatible" in olpc_dt_fixup() 255 " \" dcon\" device-name \" olpc,xo1-dcon\" +compatible" in olpc_dt_fixup() 258 /* XO-1: add dcon device, mark RTC as olpc,xo1-rtc */ in olpc_dt_fixup() 261 " \" dcon\" device-name \" olpc,xo1-dcon\" +compatible" in olpc_dt_fixup() 264 " \" olpc,xo1-rtc\" +compatible" in olpc_dt_fixup() 291 { .compatible = "olpc,xo1-battery" }, [all …]
|
| D | olpc-xo1-rtc.c | 2 * Support for OLPC XO-1 Real Time Clock (RTC) 18 #include <asm/olpc.h> 65 node = of_find_compatible_node(NULL, NULL, "olpc,xo1-rtc"); in xo1_rtc_init() 70 pr_info("olpc-xo1-rtc: Initializing OLPC XO-1 RTC\n"); in xo1_rtc_init()
|
| D | olpc-xo15-sci.c | 2 * Support for OLPC XO-1.5 System Control Interrupts (SCI) 16 #include <linux/olpc-ec.h> 19 #include <asm/olpc.h> 21 #define DRV_NAME "olpc-xo15-sci" 24 #define XO15_SCI_DEVICE_NAME "OLPC XO-1.5 SCI" 82 struct power_supply *psy = power_supply_get_by_name("olpc-battery"); in battery_status_changed() 92 struct power_supply *psy = power_supply_get_by_name("olpc-ac"); in ac_status_changed()
|
| /kernel/linux/linux-5.10/drivers/platform/olpc/ |
| D | Kconfig | 6 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.
|
| D | Makefile | 3 # OLPC XO platform-specific drivers 5 obj-$(CONFIG_OLPC_EC) += olpc-ec.o 6 obj-$(CONFIG_OLPC_XO175_EC) += olpc-xo175-ec.o
|
| /kernel/linux/linux-4.19/drivers/staging/olpc_dcon/ |
| D | Makefile | 1 olpc-dcon-objs += olpc_dcon.o 2 olpc-dcon-$(CONFIG_FB_OLPC_DCON_1) += olpc_dcon_xo_1.o 3 olpc-dcon-$(CONFIG_FB_OLPC_DCON_1_5) += olpc_dcon_xo_1_5.o 4 obj-$(CONFIG_FB_OLPC_DCON) += olpc-dcon.o
|
| D | Kconfig | 3 depends on OLPC && FB 15 This controller is only available on OLPC platforms. Unless you have 19 bool "OLPC XO-1 DCON support" 29 bool "OLPC XO-1.5 DCON support"
|
| D | olpc_dcon_xo_1.c | 19 #include <asm/olpc.h> 27 if (gpio_request(OLPC_GPIO_DCON_STAT0, "OLPC-DCON")) { in dcon_init_xo_1() 31 if (gpio_request(OLPC_GPIO_DCON_STAT1, "OLPC-DCON")) { in dcon_init_xo_1() 35 if (gpio_request(OLPC_GPIO_DCON_IRQ, "OLPC-DCON")) { in dcon_init_xo_1() 39 if (gpio_request(OLPC_GPIO_DCON_LOAD, "OLPC-DCON")) { in dcon_init_xo_1() 43 if (gpio_request(OLPC_GPIO_DCON_BLANK, "OLPC-DCON")) { in dcon_init_xo_1()
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/misc/ |
| D | olpc,xo1.75-ec.yaml | 5 $id: http://devicetree.org/schemas/misc/olpc,xo1.75-ec.yaml# 8 title: OLPC XO-1.75 Embedded Controller bindings 12 on a OLPC XO-1.75 laptop computer. 25 const: olpc,xo1.75-ec 50 compatible = "olpc,xo1.75-ec";
|
| /kernel/linux/linux-5.10/arch/arm/boot/dts/ |
| D | mmp2-olpc-xo-1-75.dts | 3 * OLPC XO 1.75 Laptop. 15 model = "OLPC XO-1.75"; 16 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";
|
| /kernel/linux/linux-4.19/sound/pci/cs5535audio/ |
| D | cs5535audio_olpc.c | 2 * OLPC XO-1 additional sound features 18 #include <asm/olpc.h> 21 #define DRV_NAME "cs5535audio-olpc" 24 * OLPC has an additional feature on top of the regular AD1888 codec features. 49 * OLPC XO-1's V_REFOUT is a mic bias enable. 143 /* invert EAPD if on an OLPC B3 or higher */ in olpc_prequirks() 174 /* add the OLPC-specific controls */ in olpc_quirks()
|
| /kernel/linux/linux-5.10/sound/pci/cs5535audio/ |
| D | cs5535audio_olpc.c | 3 * 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()
|
| /kernel/linux/linux-4.19/drivers/platform/olpc/ |
| D | olpc-ec.c | 2 * Generic driver for the OLPC Embedded Controller. 19 #include <linux/olpc-ec.h> 20 #include <asm/olpc.h> 100 * Throw a cmd descripter onto the list. We now have SMP OLPC machines, so 187 pr_debug("olpc-ec: bad ec cmd: cmd:response-count [arg1 [arg2 ...]]\n"); in ec_dbgfs_cmd_write() 197 pr_debug("olpc-ec: debugfs cmd 0x%02x with %d args %5ph, want %d returns\n", in ec_dbgfs_cmd_write() 204 pr_debug("olpc-ec: response %8ph (%d bytes expected)\n", in ec_dbgfs_cmd_write() 240 dbgfs_dir = debugfs_create_dir("olpc-ec", NULL); in olpc_ec_setup_debugfs() 322 .name = "olpc-ec",
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/power/supply/ |
| D | olpc_battery.txt | 1 OLPC battery 5 - compatible : "olpc,xo1-battery" or "olpc,xo1.5-battery"
|
| /kernel/linux/linux-4.19/Documentation/devicetree/bindings/serio/ |
| D | olpc,ap-sp.txt | 1 OLPC AP-SP serio interface 4 - compatible : "olpc,ap-sp" 10 compatible = "olpc,ap-sp";
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/serio/ |
| D | olpc,ap-sp.txt | 1 OLPC AP-SP serio interface 4 - compatible : "olpc,ap-sp" 10 compatible = "olpc,ap-sp";
|
| /kernel/linux/linux-5.10/arch/x86/include/asm/ |
| D | olpc.h | 2 /* 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
|