mirror of
https://github.com/torvalds/linux.git
synced 2024-12-04 01:51:34 +00:00
This is is the pxa changes for v4.18 cycle :
- change to phase out at24 eeprom platform data - add a missing wakeup pin on pxa320 SoCs -----BEGIN PGP SIGNATURE----- iQJLBAABCAA1FiEExgkueSa0u8n4Ls+HA/Z63R24yxIFAlsIfowXHHJvYmVydC5q YXJ6bWlrQGZyZWUuZnIACgkQA/Z63R24yxI4gQ//S6EG4IeieVD8FGt7jcqp8dW/ RDZUjK42yjTW6IRYDU5WMsTwELdYb7QwSlPe4PDxijbJC1PbeoMqLWHrZAFm+Ni5 tDiFArgEegDbJ+nHf12fBHgUrUgoRJgnOEMKC/VGbGrfmYbfooyRsDu4Rw/pfAv0 N3k+3+F27Ip7nzQmjZ0Uut+L0fibQz1Eoz49CB8xJ8mNZ79B/tsse3iXqqCksVRG 0v2rGcJherHN751R02SY3sB2vg6puIGRnUiIBzMrNNT5GgD0aW3PE5yqjm0CCk61 jTynydbrQr1A9zlAUgJqWrUKhW2Gt+C0uAGJkFh0ssRNGN6vZth8O69UaqBPXljA deUMOLHYhp255BKfBwi3EEvCGJPw8QHj3s0sqrjjN3aeYJG5wGBSz7An1VrLyJtR waGU3Ux6SAvwU2hVvXDAfICudBuKJcuUOblP5HZrVpRJyIQA5hrhAcMfyxU8ZCmY nXCDNZX0LUenj5NnPXFmi4+4kg1osmDU9TGmg5Zc1AicxiUbWQ8rmUJzj4geqpG/ hOXMSr2D1wvu/bcM7cOT8WbUNBrXlLNXAfy83+CW5GSTsI1nY7i8X1c+wjbIEFd+ 5OvALK9B1R4xlqIqovnoXzYbd6h8thrfrXIlHMpoG9REB9gAqQVa4jz+nrnAFnVN s8l2UC4bpxKMnoCbzrQ= =/4US -----END PGP SIGNATURE----- Merge tag 'pxa-for-4.18' of https://github.com/rjarzmik/linux into next/soc This is is the pxa changes for v4.18 cycle : - change to phase out at24 eeprom platform data - add a missing wakeup pin on pxa320 SoCs * tag 'pxa-for-4.18' of https://github.com/rjarzmik/linux: ARM: pxa3xx: enable external wakeup pins ARM: pxa: stargate2: use device properties for at24 eeprom Signed-off-by: Olof Johansson <olof@lixom.net>
This commit is contained in:
commit
30a04c1e32
@ -446,6 +446,10 @@ static int __init pxa3xx_init(void)
|
||||
|
||||
pxa3xx_init_pm();
|
||||
|
||||
enable_irq_wake(IRQ_WAKEUP0);
|
||||
if (cpu_is_pxa320())
|
||||
enable_irq_wake(IRQ_WAKEUP1);
|
||||
|
||||
register_syscore_ops(&pxa_irq_syscore_ops);
|
||||
register_syscore_ops(&pxa3xx_mfp_syscore_ops);
|
||||
|
||||
|
@ -27,11 +27,11 @@
|
||||
|
||||
#include <linux/platform_data/i2c-pxa.h>
|
||||
#include <linux/platform_data/pcf857x.h>
|
||||
#include <linux/platform_data/at24.h>
|
||||
#include <linux/smc91x.h>
|
||||
#include <linux/gpio/machine.h>
|
||||
#include <linux/gpio.h>
|
||||
#include <linux/leds.h>
|
||||
#include <linux/property.h>
|
||||
|
||||
#include <asm/types.h>
|
||||
#include <asm/setup.h>
|
||||
@ -795,9 +795,9 @@ static struct pcf857x_platform_data platform_data_pcf857x = {
|
||||
.context = NULL,
|
||||
};
|
||||
|
||||
static struct at24_platform_data pca9500_eeprom_pdata = {
|
||||
.byte_len = 256,
|
||||
.page_size = 4,
|
||||
static const struct property_entry pca9500_eeprom_properties[] = {
|
||||
PROPERTY_ENTRY_U32("pagesize", 4),
|
||||
{ }
|
||||
};
|
||||
|
||||
/**
|
||||
@ -935,7 +935,7 @@ static struct i2c_board_info __initdata stargate2_i2c_board_info[] = {
|
||||
}, {
|
||||
.type = "24c02",
|
||||
.addr = 0x57,
|
||||
.platform_data = &pca9500_eeprom_pdata,
|
||||
.properties = pca9500_eeprom_properties,
|
||||
}, {
|
||||
.type = "max1238",
|
||||
.addr = 0x35,
|
||||
|
Loading…
Reference in New Issue
Block a user