[oe-commits] org.oe.dev linux-rp: update linux-rp-2.6.23+2.6.24-rc0+git to rc6 (from poky)

Laibsch commit openembedded-commits at lists.openembedded.org
Wed Jan 16 14:06:13 UTC 2008


linux-rp: update linux-rp-2.6.23+2.6.24-rc0+git to rc6 (from poky)

Author: Laibsch at openembedded.org
Branch: org.openembedded.dev
Revision: c794a426d2a55b0c4b5f1f6fee90c8272bd266e9
ViewMTN: http://monotone.openembedded.org/revision/info/c794a426d2a55b0c4b5f1f6fee90c8272bd266e9
Files:
1
packages/linux/linux-rp-2.6.23+2.6.24-rc0+git
packages/linux/linux-rp-2.6.23+2.6.24-rc6+git
packages/linux/linux-rp_2.6.23+2.6.24-rc0+git.bb
packages/linux/linux-rp_2.6.23+2.6.24-rc6+git.bb
packages/linux/linux-rp-2.6.23+2.6.24-rc6+git/hx2750_base-r31.patch
packages/linux/linux-rp-2.6.23+2.6.24-rc6+git/pxa27x_overlay-r8.patch
packages/linux/linux-rp-2.6.23+2.6.24-rc6+git/squashfs3.2-2.6.20-r0.patch
packages/linux/linux-rp-2.6.23+2.6.24-rc6+git/versatile-armv6.patch
packages/linux/linux-rp-2.6.23+2.6.24-rc6+git/defconfig-akita
packages/linux/linux-rp-2.6.23+2.6.24-rc6+git/defconfig-c7x0
packages/linux/linux-rp-2.6.23+2.6.24-rc6+git/defconfig-collie
packages/linux/linux-rp-2.6.23+2.6.24-rc6+git/defconfig-poodle
packages/linux/linux-rp-2.6.23+2.6.24-rc6+git/defconfig-spitz
packages/linux/linux-rp-2.6.23+2.6.24-rc6+git/defconfig-tosa
Diffs:

#
# mt diff -r525bef44a7e3d206a0c914acabaf284a20b9cb7c -rc794a426d2a55b0c4b5f1f6fee90c8272bd266e9
#
# 
# 
# rename "packages/linux/linux-rp-2.6.23+2.6.24-rc0+git"
#     to "packages/linux/linux-rp-2.6.23+2.6.24-rc6+git"
# 
# rename "packages/linux/linux-rp_2.6.23+2.6.24-rc0+git.bb"
#     to "packages/linux/linux-rp_2.6.23+2.6.24-rc6+git.bb"
# 
# add_file "packages/linux/linux-rp-2.6.23+2.6.24-rc6+git/hx2750_base-r31.patch"
#  content [9d52a94da2bc5efdbef91b8e0c297a7d5e5c9cf3]
# 
# add_file "packages/linux/linux-rp-2.6.23+2.6.24-rc6+git/pxa27x_overlay-r8.patch"
#  content [50400c7a806a9483d297bfadce35b7608d9a8919]
# 
# add_file "packages/linux/linux-rp-2.6.23+2.6.24-rc6+git/squashfs3.2-2.6.20-r0.patch"
#  content [16a42047b8f2cb7836925cbc7aca3977e1bfddad]
# 
# add_file "packages/linux/linux-rp-2.6.23+2.6.24-rc6+git/versatile-armv6.patch"
#  content [4741cf31febeef15c0b7646588b288c097a3d14c]
# 
# patch "packages/linux/linux-rp-2.6.23+2.6.24-rc6+git/defconfig-akita"
#  from [4560f10f9dd70ee7bc009c083ad859551b0c517a]
#    to [828611f21dd3772a9db45569a4333a5e08e90a87]
# 
# patch "packages/linux/linux-rp-2.6.23+2.6.24-rc6+git/defconfig-c7x0"
#  from [94163c88c3af2445025f92864e982346295b7374]
#    to [76de453dac80746ab730d22aaf3f526cd2a99f26]
# 
# patch "packages/linux/linux-rp-2.6.23+2.6.24-rc6+git/defconfig-collie"
#  from [f8c89cefc2aacd273421cdd6abb162f6197a7640]
#    to [d04adf43f4133208ae5284b94bbd81d1d721a81e]
# 
# patch "packages/linux/linux-rp-2.6.23+2.6.24-rc6+git/defconfig-poodle"
#  from [48b1f25f947c9d614a87810486a63edbaaeec93b]
#    to [17c355fed953e68652a97c9e41af957bfa52f4f2]
# 
# patch "packages/linux/linux-rp-2.6.23+2.6.24-rc6+git/defconfig-spitz"
#  from [60f2f3675a8045720aebad8b900d6c464040e0e3]
#    to [a4c61e81d4db69a81a8ad36c0e7dc5aeafd0bc6a]
# 
# patch "packages/linux/linux-rp-2.6.23+2.6.24-rc6+git/defconfig-tosa"
#  from [db15e2aa6464fd82b3b9a756eff0884b88791d0d]
#    to [46bd890ef0de9d01529d9491080643eeda533fd7]
# 
# patch "packages/linux/linux-rp_2.6.23+2.6.24-rc6+git.bb"
#  from [0afded2a24262628483699733fd10c9496b37e7d]
#    to [076ea04844ab570db5f22cfc2d543f19f9f2af3d]
# 
============================================================
--- packages/linux/linux-rp-2.6.23+2.6.24-rc6+git/hx2750_base-r31.patch	9d52a94da2bc5efdbef91b8e0c297a7d5e5c9cf3
+++ packages/linux/linux-rp-2.6.23+2.6.24-rc6+git/hx2750_base-r31.patch	9d52a94da2bc5efdbef91b8e0c297a7d5e5c9cf3
@@ -0,0 +1,1094 @@
+---
+ arch/arm/mach-pxa/Kconfig         |   10 
+ arch/arm/mach-pxa/Makefile        |    1 
+ arch/arm/mach-pxa/hx2750.c        |  450 ++++++++++++++++++++++++++++++++++++++
+ arch/arm/mach-pxa/hx2750_test.c   |  433 ++++++++++++++++++++++++++++++++++++
+ arch/arm/mach-pxa/pm.c            |    5 
+ arch/arm/mach-pxa/pxa25x.c        |    4 
+ arch/arm/mach-pxa/pxa27x.c        |    4 
+ include/asm-arm/arch-pxa/hx2750.h |   90 +++++++
+ 8 files changed, 995 insertions(+), 2 deletions(-)
+
+--- /dev/null
++++ linux-2.6.24-rc1/include/asm-arm/arch-pxa/hx2750.h
+@@ -0,0 +1,90 @@
++/*
++ * Hardware specific definitions for iPAQ hx2750
++ *
++ * Copyright 2005 Openedhand Ltd.
++ *
++ * Author: Richard Purdie <richard at o-hand.com>
++ *
++ * This program is free software; you can redistribute it and/or modify
++ * it under the terms of the GNU General Public License version 2 as
++ * published by the Free Software Foundation.
++ *
++ */
++#ifndef __ASM_ARCH_HX2750_H
++#define __ASM_ARCH_HX2750_H  1
++
++/*
++ * HX2750 (Non Standard) GPIO Definitions
++ */
++
++#define HX2750_GPIO_KEYPWR      (0)    /* Power button */
++#define HX2750_GPIO_BATTCOVER1  (9)    /* Battery Cover Switch */
++#define HX2750_GPIO_CF_IRQ      (11)   /* CF IRQ? */
++#define HX2750_GPIO_USBCONNECT  (12)   /* USB Connected? */
++#define HX2750_GPIO_CF_DETECT   (13)   /* CF Card Detect? */
++#define HX2750_GPIO_EXTPWR      (14)   /* External Power Detect */
++#define HX2750_GPIO_BATLVL      (15)   /* Battery Level Detect */
++#define HX2750_GPIO_CF_PWR      (17)   /* CF Power? */
++#define HX2750_GPIO_SR_STROBE   (18)   /* Shift Register Strobe */
++#define HX2750_GPIO_CHARGE      (22)   /* Charging Enable (active low) */
++#define HX2750_GPIO_TSC2101_SS  (24)   /* TSC2101 SS# */
++#define HX2750_GPIO_BTPWR       (27)   /* Bluetooth Power? */
++#define HX2750_GPIO_BATTCOVER2  (33)   /* Battery Cover Switch */
++#define HX2750_GPIO_SD_DETECT   (38)   /* MMC Card Detect */
++#define HX2750_GPIO_SR_CLK1     (52)   /* Shift Register Clock */
++#define HX2750_GPIO_SR_CLK2     (53)
++#define HX2750_GPIO_CF_WIFIIRQ  (54)   /* CF Wifi IRQ? */
++#define HX2750_GPIO_GPIO_DIN    (88)   /* Shift Register Data */
++#define HX2750_GPIO_KEYLEFT     (90)   /* Left button */
++#define HX2750_GPIO_KEYRIGHT    (91)   /* Right button */
++#define HX2750_GPIO_KEYCAL      (93)   /* Calander button */
++#define HX2750_GPIO_KEYTASK     (94)   /* Task button */
++#define HX2750_GPIO_KEYSIDE     (95)   /* Side button */
++#define HX2750_GPIO_KEYENTER    (96)   /* Enter Button*/
++#define HX2750_GPIO_KEYCON      (97)   /* Contacts button */
++#define HX2750_GPIO_KEYMAIL     (98)   /* Mail button */
++#define HX2750_GPIO_BIOPWR      (99)   /* BIO Reader Power? */
++#define HX2750_GPIO_KEYUP       (100)  /* Up button */
++#define HX2750_GPIO_KEYDOWN     (101)  /* Down button*/
++#define HX2750_GPIO_SD_READONLY (103)  /* MMC/SD Write Protection */
++#define HX2750_GPIO_LEDMAIL     (106)  /* Green Mail LED */
++#define HX2750_GPIO_HP_JACK     (108)  /* Head Phone Jack Present */
++#define HX2750_GPIO_PENDOWN     (117)  /* Touch Screen Pendown */
++
++
++//#define HX2750_GPIO_     () /* */
++
++/*
++ * HX2750 Interrupts
++ */
++#define HX2750_IRQ_GPIO_EXTPWR      IRQ_GPIO(HX2750_GPIO_EXTPWR)
++#define HX2750_IRQ_GPIO_SD_DETECT   IRQ_GPIO(HX2750_GPIO_SD_DETECT)
++#define HX2750_IRQ_GPIO_PENDOWN     IRQ_GPIO(HX2750_GPIO_PENDOWN)
++#define HX2750_IRQ_GPIO_CF_DETECT   IRQ_GPIO(HX2750_GPIO_CF_DETECT)
++#define HX2750_IRQ_GPIO_CF_IRQ      IRQ_GPIO(HX2750_GPIO_CF_IRQ)
++#define HX2750_IRQ_GPIO_CF_WIFIIRQ  IRQ_GPIO(HX2750_GPIO_CF_WIFIIRQ)
++
++/*
++ * HX2750 Extra GPIO Definitions
++ */
++
++#define HX2750_EGPIO_WIFI_PWR	(1 << 11)  /* Wifi power */
++#define HX2750_EGPIO_LCD_PWR	(1 << 10)  /* LCD Power */
++#define HX2750_EGPIO_BL_PWR     (1 << 9)   /* Backlight LED Power */
++#define HX2750_EGPIO_8          (1 << 8)   /* */
++#define HX2750_EGPIO_7          (1 << 7)   /* */
++#define HX2750_EGPIO_SD_PWR     (1 << 6)   /* SD Power */
++#define HX2750_EGPIO_TSC_PWR    (1 << 5)   /* TS Power */
++#define HX2750_EGPIO_CF0_RESET  (1 << 4)   /* CF0 Reset */
++#define HX2750_EGPIO_CF1_RESET  (1 << 3)   /* CF1 Reset */
++#define HX2750_EGPIO_2          (1 << 2)   /* Power/Red LED Related?*/
++#define HX2750_EGPIO_1          (1 << 1)   /* Power/Red LED Related?*/
++#define HX2750_EGPIO_PWRLED     (1 << 0)   /* Power/Red LED Related?*/
++
++
++void hx2750_set_egpio(unsigned int gpio);
++void hx2750_clear_egpio(unsigned int gpio);
++
++
++#endif /* __ASM_ARCH_HX2750_H  */
++
+--- linux-2.6.24-rc1.orig/arch/arm/mach-pxa/Makefile
++++ linux-2.6.24-rc1/arch/arm/mach-pxa/Makefile
+@@ -22,6 +22,7 @@
+ obj-$(CONFIG_MACH_POODLE)	+= poodle.o corgi_ssp.o
+ obj-$(CONFIG_MACH_TOSA)		+= tosa.o
+ obj-$(CONFIG_MACH_EM_X270)	+= em-x270.o
++obj-$(CONFIG_MACH_HX2750)	+= hx2750.o hx2750_test.o
+ 
+ ifeq ($(CONFIG_MACH_ZYLONITE),y)
+   obj-y				+= zylonite.o
+--- /dev/null
++++ linux-2.6.24-rc1/arch/arm/mach-pxa/hx2750_test.c
+@@ -0,0 +1,433 @@
++/*
++ * HP iPAQ hx2750 Test Development Code
++ *
++ * Copyright 2005 Openedhand Ltd.
++ *
++ * Author: Richard Purdie <richard at o-hand.com>
++ *
++ * This program is free software; you can redistribute it and/or modify
++ * it under the terms of the GNU General Public License version 2 as
++ * published by the Free Software Foundation.
++ *
++ */
++
++#include <linux/init.h>
++#include <linux/kernel.h>
++#include <linux/ioport.h>
++#include <linux/device.h>
++#include <linux/input.h>
++#include <linux/delay.h>
++#include <linux/interrupt.h>
++
++#include <asm/mach-types.h>
++#include <asm/hardware.h>
++#include <asm/mach/arch.h>
++
++#include <asm/arch/hx2750.h>
++#include <asm/arch/pxa-regs.h>
++
++
++static int prodval;
++
++/*
++ * Sysfs functions
++ */
++static ssize_t test1_show(struct device *dev, char *buf)
++{
++	unsigned long rp;
++
++	asm ("mrc	p15, 0, %0, cr1, cr0;\n" :"=r"(rp) );
++	printk("%lx\n",rp);
++
++	asm ("mrc	p15, 0, %0, cr1, cr1;\n" :"=r"(rp) );
++	printk("%lx\n",rp);
++
++	asm ("mrc	p15, 0, %0, cr2, cr0;\n" :"=r"(rp) );
++	printk("%lx\n",rp);
++
++	asm ("mrc	p15, 0, %0, cr3, cr0;\n" :"=r"(rp) );
++	printk("%lx\n",rp);
++
++	asm ("mrc	p15, 0, %0, cr13, cr0;\n" :"=r"(rp) );
++	printk("%lx\n",rp);
++
++	return sprintf(buf, "%d\n",prodval);
++}
++extern void tsc2101_print_miscdata(struct device *dev);
++extern struct platform_device tsc2101_device;
++
++static ssize_t test1_store(struct device *dev, const char *buf, size_t count)
++{
++	prodval = simple_strtoul(buf, NULL, 10);
++
++ 	tsc2101_print_miscdata(&tsc2101_device.dev);
++
++	return count;
++}
++
++static DEVICE_ATTR(test1, 0644, test1_show, test1_store);
++
++static ssize_t test2_show(struct device *dev, char *buf)
++{
++	printk(KERN_ERR "SSCR0_P2: %08x\n", SSCR0_P2);
++	printk(KERN_ERR "SSCR1_P2: %08x\n", SSCR1_P2);
++	printk(KERN_ERR "SSSR_P2:  %08x\n", SSSR_P2);
++	printk(KERN_ERR "SSITR_P2: %08x\n", SSITR_P2);
++	printk(KERN_ERR "SSDR_P2:  %08x\n", SSDR_P2);
++	printk(KERN_ERR "SSTO_P2:  %08x\n", SSTO_P2);
++	printk(KERN_ERR "SSPSP_P2: %08x\n", SSPSP_P2);
++
++	hx2750_ssp_init2();
++
++	printk(KERN_ERR "SSCR0_P2: %08x\n", SSCR0_P2);
++	printk(KERN_ERR "SSCR1_P2: %08x\n", SSCR1_P2);
++	printk(KERN_ERR "SSSR_P2:  %08x\n", SSSR_P2);
++	printk(KERN_ERR "SSITR_P2: %08x\n", SSITR_P2);
++	printk(KERN_ERR "SSDR_P2:  %08x\n", SSDR_P2);
++	printk(KERN_ERR "SSTO_P2:  %08x\n", SSTO_P2);
++	printk(KERN_ERR "SSPSP_P2: %08x\n", SSPSP_P2);
++
++	return sprintf(buf, "%d\n",0);
++}
++
++static DEVICE_ATTR(test2, 0444, test2_show, NULL);
++
++extern unsigned int hx2750_egpio_current;
++
++static ssize_t setegpio_show(struct device *dev, char *buf)
++{
++	return sprintf(buf, "%x\n",hx2750_egpio_current);
++}
++
++static ssize_t setegpio_store(struct device *dev, const char *buf, size_t count)
++{
++	unsigned int val = simple_strtoul(buf, NULL, 10);
++
++	hx2750_set_egpio(1 << val);
++
++	return count;
++}
++
++static DEVICE_ATTR(setegpio, 0644, setegpio_show, setegpio_store);
++
++static ssize_t clregpio_show(struct device *dev, char *buf)
++{
++	return sprintf(buf, "%x\n",hx2750_egpio_current);
++}
++
++static ssize_t gpio_show(struct device *dev, char *buf)
++{
++	int i;
++
++	printk(KERN_ERR "GPIO# D S A INTER\n");
++
++	for (i=0;i<119;i++) {
++		printk(KERN_ERR " %3d: ",i);
++		if (GPDR(i) & GPIO_bit(i))
++			printk("O ");
++		else
++  			printk("I ");
++		printk("%d ",(GPLR(i) & GPIO_bit(i)) != 0);
++		printk("%d ",((GAFR(i) & (0x3 << (((i) & 0xf)*2)))) >> (((i) & 0xf)*2) );
++		if (GEDR(i) & GPIO_bit(i))
++			printk("ED ");
++		if (GRER(i) & GPIO_bit(i))
++			printk("RE ");
++		if (GFER(i) & GPIO_bit(i))
++			printk("FE ");
++
++ 		printk("\n");
++	}
++	return sprintf(buf, "EGPIO: %x\n",hx2750_egpio_current);
++}
++
++static ssize_t clregpio_store(struct device *dev, const char *buf, size_t count)
++{
++	unsigned int val = simple_strtoul(buf, NULL, 10);
++
++	hx2750_clear_egpio(1 << val);
++
++	return count;
++}
++
++static DEVICE_ATTR(clregpio, 0644, clregpio_show, clregpio_store);
++
++
++static ssize_t gpioclr_store(struct device *dev, const char *buf, size_t count)
++{
++	int prod;
++	prod = simple_strtoul(buf, NULL, 10);
++
++	GPCR(prod) = GPIO_bit(prod);
++
++	return count;
++}
++
++static DEVICE_ATTR(gpioclr, 0644, gpio_show, gpioclr_store);
++
++static ssize_t gpioset_store(struct device *dev, const char *buf, size_t count)
++{
++	int prod;
++	prod = simple_strtoul(buf, NULL, 10);
++
++	GPSR(prod) = GPIO_bit(prod);
++
++	return count;
++}
++
++static DEVICE_ATTR(gpioset, 0644, gpio_show, gpioset_store);
++
++
++static ssize_t ssp2read_store(struct device *dev, const char *buf, size_t count)
++{
++	unsigned int val = simple_strtoul(buf, NULL, 16);
++
++	printk("Read: %08x\n",hx2750_ssp2_read(val));
++
++	return count;
++}
++
++static DEVICE_ATTR(ssp2read, 0200, NULL, ssp2read_store);
++
++static ssize_t ssp2write_store(struct device *dev, const char *buf, size_t count)
++{
++	unsigned int val = simple_strtoul(buf, NULL, 16);
++
++	printk("Write: %08x\n",hx2750_ssp2_write(val));
++
++	return count;
++}
++
++static DEVICE_ATTR(ssp2write, 0200, NULL, ssp2write_store);
++
++
++static ssize_t sspr_store(struct device *dev, const char *buf, size_t count)
++{
++	unsigned long val,ret;
++	val = simple_strtoul(buf, NULL, 0);
++
++	hx2750_tsc2101_send(1<<15,val,&ret,1);
++
++	printk("Response: %x\n",ret);
++
++	return count;
++}
++
++static DEVICE_ATTR(sspr, 0200, NULL, sspr_store);
++
++static ssize_t sspw_store(struct device *dev, const char *buf, size_t count)
++{
++	int val,ret;
++	sscanf(buf, "%lx %lx", &val, &ret);
++
++	hx2750_tsc2101_send(0,val,&ret,1);
++
++	return count;
++}
++
++static DEVICE_ATTR(sspw, 0200, NULL, sspw_store);
++
++
++extern struct pm_ops pxa_pm_ops;
++extern void pxa_cpu_resume(void);
++extern unsigned long pxa_pm_pspr_value;
++
++static int (*pxa_pm_enter_orig)(suspend_state_t state);
++
++//static struct {
++//	u32 ffier, fflcr, ffmcr, ffspr, ffisr, ffdll, ffdlh;
++//} sys_ctx;
++
++u32 resstruct[20];
++
++static int hx2750_pxa_pm_enter(suspend_state_t state)
++{
++	int i;
++	u32 save[10];
++
++	PWER = 0xC0000003;// | PWER_RTC;
++	PFER = 0x00000003;
++	PRER = 0x00000003;
++
++	PGSR0=0x00000018;
++	PGSR1=0x00000380;
++	PGSR2=0x00800000;
++	PGSR3=0x00500400;
++
++	//PVCR=0x494; or 0x14;
++	//PVCR=0x14;
++	//PCMD0=0x41f;
++	//i=PISR;
++	//PICR=0x00000062;
++
++	//PCFR=0x457;
++	//PCFR=0x70; // Does not resume from sleep
++	PCFR=0x077; // was 0x477
++	PSLR=0xff100004;
++
++	resstruct[0]=0x0000b4e6;
++	resstruct[1]=0x00000001;
++	resstruct[2]=virt_to_phys(pxa_cpu_resume);
++	resstruct[3]=0xffffffff; //value for r0
++
++	resstruct[14]=0x00000078;  //mcr	15, 0, r0, cr1, cr0, {0}
++	resstruct[15]=0x00000000;  //mcr	15, 0, r0, cr1, cr1, {0} 0xffffffff
++	resstruct[16]=0xa0000000;  //mcr	15, 0, r0, cr2, cr0, {0} 0xa0748000
++	resstruct[17]=0x00000001;  //mcr	15, 0, r0, cr3, cr0, {0} 0x00000015
++	resstruct[18]=0x00000000;  //mcr	15, 0, r0, cr13, cr0, {0} 0x00000000
++
++	pxa_pm_pspr_value=virt_to_phys(&resstruct[0]);
++
++	hx2750_send_egpio(3);
++
++	pxa_gpio_mode(87 | GPIO_OUT  | GPIO_DFLT_HIGH);
++
++	//sys_ctx.ffier = FFIER;
++	//sys_ctx.fflcr = FFLCR;
++	//sys_ctx.ffmcr = FFMCR;
++	//sys_ctx.ffspr = FFSPR;
++	//sys_ctx.ffisr = FFISR;
++	//FFLCR |= 0x80;
++	//sys_ctx.ffdll = FFDLL;
++	//sys_ctx.ffdlh = FFDLH;
++	//FFLCR &= 0xef;
++
++	pxa_pm_enter_orig(state);
++
++	//FFMCR = sys_ctx.ffmcr;
++	//FFSPR = sys_ctx.ffspr;
++	//FFLCR = sys_ctx.fflcr;
++	//FFLCR |= 0x80;
++	//FFDLH = sys_ctx.ffdlh;
++	//FFDLL = sys_ctx.ffdll;
++	//FFLCR = sys_ctx.fflcr;
++	//FFISR = sys_ctx.ffisr;
++	//FFLCR = 0x07;
++	//FFIER = sys_ctx.ffier;
++
++	return 0;
++}
++
++static irqreturn_t hx2750_charge_int(int irq, void *dev_id, struct pt_regs *regs)
++{
++	if ((GPLR(HX2750_GPIO_EXTPWR) & GPIO_bit(HX2750_GPIO_EXTPWR)) == 0) {
++		printk("Charging On\n");
++		GPCR(HX2750_GPIO_CHARGE);
++	} else {
++		printk("Charging Off\n");
++		GPSR(HX2750_GPIO_CHARGE);
++	}
++
++	return IRQ_HANDLED;
++}
++
++
++
++
++static irqreturn_t hx2750_interrupt(int irq, void *dev_id, struct pt_regs *regs)
++{
++    printk("Input %d changed.\n", irq-32);
++
++	return IRQ_HANDLED;
++}
++
++
++static int __init hx2750_test_probe(struct device *dev)
++{
++	pxa_gpio_mode(21 | GPIO_OUT | GPIO_DFLT_HIGH);
++	pxa_gpio_mode(HX2750_GPIO_CHARGE | GPIO_OUT | GPIO_DFLT_HIGH);
++	pxa_gpio_mode(83 | GPIO_OUT | GPIO_DFLT_HIGH);
++	pxa_gpio_mode(HX2750_GPIO_BIOPWR | GPIO_OUT | GPIO_DFLT_HIGH);
++	pxa_gpio_mode(116 | GPIO_OUT | GPIO_DFLT_HIGH);
++	pxa_gpio_mode(118 | GPIO_OUT | GPIO_DFLT_HIGH);
++
++
++	//pxa_gpio_mode(HX2750_GPIO_CF_PWR | GPIO_OUT | GPIO_DFLT_LOW);
++	pxa_gpio_mode(HX2750_GPIO_CF_PWR | GPIO_OUT | GPIO_DFLT_HIGH);
++	pxa_gpio_mode(HX2750_GPIO_BTPWR | GPIO_OUT | GPIO_DFLT_LOW);
++	pxa_gpio_mode(79 | GPIO_OUT | GPIO_DFLT_LOW);
++	pxa_gpio_mode(85 | GPIO_OUT | GPIO_DFLT_LOW);
++	pxa_gpio_mode(HX2750_GPIO_LEDMAIL | GPIO_OUT | GPIO_DFLT_LOW);
++	pxa_gpio_mode(107 | GPIO_OUT | GPIO_DFLT_LOW);
++	pxa_gpio_%s
>>> DIFF TRUNCATED @ 16K






More information about the Openembedded-commits mailing list