diff options
| author | Boris Brezillon <boris.brezillon@free-electrons.com> | 2017-08-28 12:04:15 -0400 |
|---|---|---|
| committer | Boris Brezillon <boris.brezillon@free-electrons.com> | 2017-08-28 12:04:15 -0400 |
| commit | 5ffa70b2a38befadb920b85fe87f5da2b4cff623 (patch) | |
| tree | 411b1d357731db5e2611f0ca67082a8c909b7d9d /include/linux/platform_data | |
| parent | 75864b301c91bf41ec2fb49ce4efb62fcb48b954 (diff) | |
| parent | cc4a41fe5541a73019a864883297bd5043aa6d98 (diff) | |
Merge tag 'v4.13-rc7' into mtd/next
Merge v4.13-rc7 back to resolve merge conflicts in
drivers/mtd/nand/nandsim.c and include/asm-generic/vmlinux.lds.h.
Diffstat (limited to 'include/linux/platform_data')
| -rw-r--r-- | include/linux/platform_data/hsmmc-omap.h | 10 | ||||
| -rw-r--r-- | include/linux/platform_data/st_sensors_pdata.h | 2 |
2 files changed, 2 insertions, 10 deletions
diff --git a/include/linux/platform_data/hsmmc-omap.h b/include/linux/platform_data/hsmmc-omap.h index 8e981be2e2c2..0ff1e0dba720 100644 --- a/include/linux/platform_data/hsmmc-omap.h +++ b/include/linux/platform_data/hsmmc-omap.h | |||
| @@ -55,9 +55,6 @@ struct omap_hsmmc_platform_data { | |||
| 55 | u32 caps; /* Used for the MMC driver on 2430 and later */ | 55 | u32 caps; /* Used for the MMC driver on 2430 and later */ |
| 56 | u32 pm_caps; /* PM capabilities of the mmc */ | 56 | u32 pm_caps; /* PM capabilities of the mmc */ |
| 57 | 57 | ||
| 58 | /* use the internal clock */ | ||
| 59 | unsigned internal_clock:1; | ||
| 60 | |||
| 61 | /* nonremovable e.g. eMMC */ | 58 | /* nonremovable e.g. eMMC */ |
| 62 | unsigned nonremovable:1; | 59 | unsigned nonremovable:1; |
| 63 | 60 | ||
| @@ -73,13 +70,6 @@ struct omap_hsmmc_platform_data { | |||
| 73 | int gpio_cd; /* gpio (card detect) */ | 70 | int gpio_cd; /* gpio (card detect) */ |
| 74 | int gpio_cod; /* gpio (cover detect) */ | 71 | int gpio_cod; /* gpio (cover detect) */ |
| 75 | int gpio_wp; /* gpio (write protect) */ | 72 | int gpio_wp; /* gpio (write protect) */ |
| 76 | |||
| 77 | int (*set_power)(struct device *dev, int power_on, int vdd); | ||
| 78 | void (*remux)(struct device *dev, int power_on); | ||
| 79 | /* Call back before enabling / disabling regulators */ | ||
| 80 | void (*before_set_reg)(struct device *dev, int power_on, int vdd); | ||
| 81 | /* Call back after enabling / disabling regulators */ | ||
| 82 | void (*after_set_reg)(struct device *dev, int power_on, int vdd); | ||
| 83 | /* if we have special card, init it using this callback */ | 73 | /* if we have special card, init it using this callback */ |
| 84 | void (*init_card)(struct mmc_card *card); | 74 | void (*init_card)(struct mmc_card *card); |
| 85 | 75 | ||
diff --git a/include/linux/platform_data/st_sensors_pdata.h b/include/linux/platform_data/st_sensors_pdata.h index 79b0e4cdb814..f8274b0c6888 100644 --- a/include/linux/platform_data/st_sensors_pdata.h +++ b/include/linux/platform_data/st_sensors_pdata.h | |||
| @@ -17,10 +17,12 @@ | |||
| 17 | * Available only for accelerometer and pressure sensors. | 17 | * Available only for accelerometer and pressure sensors. |
| 18 | * Accelerometer DRDY on LSM330 available only on pin 1 (see datasheet). | 18 | * Accelerometer DRDY on LSM330 available only on pin 1 (see datasheet). |
| 19 | * @open_drain: set the interrupt line to be open drain if possible. | 19 | * @open_drain: set the interrupt line to be open drain if possible. |
| 20 | * @spi_3wire: enable spi-3wire mode. | ||
| 20 | */ | 21 | */ |
| 21 | struct st_sensors_platform_data { | 22 | struct st_sensors_platform_data { |
| 22 | u8 drdy_int_pin; | 23 | u8 drdy_int_pin; |
| 23 | bool open_drain; | 24 | bool open_drain; |
| 25 | bool spi_3wire; | ||
| 24 | }; | 26 | }; |
| 25 | 27 | ||
| 26 | #endif /* ST_SENSORS_PDATA_H */ | 28 | #endif /* ST_SENSORS_PDATA_H */ |
