History

Merge tag 'v3.19-rc4' into next

Merge with mainline to bring in the latest thermal and other changes.

Dmitry Torokhov committed 11 years ago

Commit 0c49cd22 parents 0c3e994 eaa27f315497 files · +879003 −622018Browse files

Showing the changes to include/linux/platform_data (21 of 15497 files). Show all

Unified · Split

21 files
  1. include/linux/platform_data/asoc-s3c.h +1 −0
  2. include/linux/platform_data/bcmgenet.h +18 −0
  3. include/linux/platform_data/dma-dw.h +59 −0
  4. include/linux/platform_data/dma-imx.h +1 −0
  5. include/linux/platform_data/dwc3-exynos.h +0 −24
  6. include/linux/platform_data/elm.h +16 −0
  7. include/linux/platform_data/gpio-dwapb.h +32 −0
  8. include/linux/platform_data/hsmmc-omap.h +90 −0
  9. include/linux/platform_data/i2c-designware.h +21 −0
  10. include/linux/platform_data/isl9305.h +30 −0
  11. include/linux/platform_data/lp855x.h +2 −0
  12. include/linux/platform_data/mmc-atmel-mci.h +22 −0
  13. include/linux/platform_data/mmc-omap.h +0 −27
  14. include/linux/platform_data/mtd-nand-omap2.h +1 −0
  15. include/linux/platform_data/pxa_sdhci.h +0 −5
  16. include/linux/platform_data/rcar-du.h +0 −74
  17. include/linux/platform_data/samsung-usbphy.h +0 −27
  18. include/linux/platform_data/serial-omap.h +0 −3
  19. include/linux/platform_data/st21nfca.h +0 −1
  20. include/linux/platform_data/st21nfcb.h +0 −1
  21. include/linux/platform_data/tegra_emc.h +0 −34
include/linux/platform_data/asoc-s3c.h+1−0
@@ -27,6 +27,7 @@ struct samsung_i2s { · 26 unmodified lines
2727 #define QUIRK_NO_MUXPSR (1 << 2)
2828 #define QUIRK_NEED_RSTCLR (1 << 3)
2929 #define QUIRK_SUPPORTS_TDM (1 << 4)
30+#define QUIRK_SUPPORTS_IDMA (1 << 5)
3031 /* Quirks of the I2S controller */
3132 u32 quirks;
3233 dma_addr_t idma_addr;
include/linux/platform_data/bcmgenet.h+18−0
@@ -0,0 +1,18 @@
1+#ifndef __LINUX_PLATFORM_DATA_BCMGENET_H__
2+#define __LINUX_PLATFORM_DATA_BCMGENET_H__
3+
4+#include <linux/types.h>
5+#include <linux/if_ether.h>
6+#include <linux/phy.h>
7+
8+struct bcmgenet_platform_data {
9+ bool mdio_enabled;
10+ phy_interface_t phy_interface;
11+ int phy_address;
12+ int phy_speed;
13+ int phy_duplex;
14+ u8 mac_address[ETH_ALEN];
15+ int genet_version;
16+};
17+
18+#endif
include/linux/platform_data/dma-dw.h+59−0
@@ -0,0 +1,59 @@
1+/*
2+ * Driver for the Synopsys DesignWare DMA Controller
3+ *
4+ * Copyright (C) 2007 Atmel Corporation
5+ * Copyright (C) 2010-2011 ST Microelectronics
6+ *
7+ * This program is free software; you can redistribute it and/or modify
8+ * it under the terms of the GNU General Public License version 2 as
9+ * published by the Free Software Foundation.
10+ */
11+#ifndef _PLATFORM_DATA_DMA_DW_H
12+#define _PLATFORM_DATA_DMA_DW_H
13+
14+#include <linux/device.h>
15+
16+/**
17+ * struct dw_dma_slave - Controller-specific information about a slave
18+ *
19+ * @dma_dev: required DMA master device. Depricated.
20+ * @src_id: src request line
21+ * @dst_id: dst request line
22+ * @src_master: src master for transfers on allocated channel.
23+ * @dst_master: dest master for transfers on allocated channel.
24+ */
25+struct dw_dma_slave {
26+ struct device *dma_dev;
27+ u8 src_id;
28+ u8 dst_id;
29+ u8 src_master;
30+ u8 dst_master;
31+};
32+
33+/**
34+ * struct dw_dma_platform_data - Controller configuration parameters
35+ * @nr_channels: Number of channels supported by hardware (max 8)
36+ * @is_private: The device channels should be marked as private and not for
37+ * by the general purpose DMA channel allocator.
38+ * @chan_allocation_order: Allocate channels starting from 0 or 7
39+ * @chan_priority: Set channel priority increasing from 0 to 7 or 7 to 0.
40+ * @block_size: Maximum block size supported by the controller
41+ * @nr_masters: Number of AHB masters supported by the controller
42+ * @data_width: Maximum data width supported by hardware per AHB master
43+ * (0 - 8bits, 1 - 16bits, ..., 5 - 256bits)
44+ */
45+struct dw_dma_platform_data {
46+ unsigned int nr_channels;
47+ bool is_private;
48+#define CHAN_ALLOCATION_ASCENDING 0 /* zero to seven */
49+#define CHAN_ALLOCATION_DESCENDING 1 /* seven to zero */
50+ unsigned char chan_allocation_order;
51+#define CHAN_PRIORITY_ASCENDING 0 /* chan0 highest */
52+#define CHAN_PRIORITY_DESCENDING 1 /* chan7 highest */
53+ unsigned char chan_priority;
54+ unsigned short block_size;
55+ unsigned char nr_masters;
56+ unsigned char data_width[4];
57+};
58+
59+#endif /* _PLATFORM_DATA_DMA_DW_H */
include/linux/platform_data/dma-imx.h+1−0
@@ -41,6 +41,7 @@ enum sdma_peripheral_type { · 40 unmodified lines
4141 IMX_DMATYPE_ESAI, /* ESAI */
4242 IMX_DMATYPE_SSI_DUAL, /* SSI Dual FIFO */
4343 IMX_DMATYPE_ASRC_SP, /* Shared ASRC */
44+ IMX_DMATYPE_SAI, /* SAI */
4445 };
4546
4647 enum imx_dma_prio {
include/linux/platform_data/dwc3-exynos.h+0−24
@@ -1,24 +0,0 @@
1−/**
2− * dwc3-exynos.h - Samsung EXYNOS DWC3 Specific Glue layer, header.
3− *
4− * Copyright (c) 2012 Samsung Electronics Co., Ltd.
5− * http://www.samsung.com
6− *
7− * Author: Anton Tikhomirov <av.tikhomirov@samsung.com>
8− *
9− * This program is free software; you can redistribute it and/or modify
10− * it under the terms of the GNU General Public License as published by
11− * the Free Software Foundation; either version 2 of the License, or
12− * (at your option) any later version.
13− */
14−
15−#ifndef _DWC3_EXYNOS_H_
16−#define _DWC3_EXYNOS_H_
17−
18−struct dwc3_exynos_data {
19− int phy_type;
20− int (*phy_init)(struct platform_device *pdev, int type);
21− int (*phy_exit)(struct platform_device *pdev, int type);
22−};
23−
24−#endif /* _DWC3_EXYNOS_H_ */
include/linux/platform_data/elm.h+16−0
@@ -42,8 +42,24 @@ struct elm_errorvec { · 41 unmodified lines
4242 int error_loc[16];
4343 };
4444
45+#if IS_ENABLED(CONFIG_MTD_NAND_OMAP_BCH)
4546 void elm_decode_bch_error_page(struct device *dev, u8 *ecc_calc,
4647 struct elm_errorvec *err_vec);
4748 int elm_config(struct device *dev, enum bch_ecc bch_type,
4849 int ecc_steps, int ecc_step_size, int ecc_syndrome_size);
50+#else
51+static inline void
52+elm_decode_bch_error_page(struct device *dev, u8 *ecc_calc,
53+ struct elm_errorvec *err_vec)
54+{
55+}
56+
57+static inline int elm_config(struct device *dev, enum bch_ecc bch_type,
58+ int ecc_steps, int ecc_step_size,
59+ int ecc_syndrome_size)
60+{
61+ return -ENOSYS;
62+}
63+#endif /* CONFIG_MTD_NAND_ECC_BCH */
64+
4965 #endif /* __ELM_H */
include/linux/platform_data/gpio-dwapb.h+32−0
@@ -0,0 +1,32 @@
1+/*
2+ * Copyright(c) 2014 Intel Corporation.
3+ *
4+ * This program is free software; you can redistribute it and/or modify it
5+ * under the terms and conditions of the GNU General Public License,
6+ * version 2, as published by the Free Software Foundation.
7+ *
8+ * This program is distributed in the hope it will be useful, but WITHOUT
9+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
10+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
11+ * more details.
12+ */
13+
14+#ifndef GPIO_DW_APB_H
15+#define GPIO_DW_APB_H
16+
17+struct dwapb_port_property {
18+ struct device_node *node;
19+ const char *name;
20+ unsigned int idx;
21+ unsigned int ngpio;
22+ unsigned int gpio_base;
23+ unsigned int irq;
24+ bool irq_shared;
25+};
26+
27+struct dwapb_platform_data {
28+ struct dwapb_port_property *properties;
29+ unsigned int nports;
30+};
31+
32+#endif
include/linux/platform_data/hsmmc-omap.h+90−0
@@ -0,0 +1,90 @@
1+/*
2+ * MMC definitions for OMAP2
3+ *
4+ * Copyright (C) 2006 Nokia Corporation
5+ *
6+ * This program is free software; you can redistribute it and/or modify
7+ * it under the terms of the GNU General Public License version 2 as
8+ * published by the Free Software Foundation.
9+ */
10+
11+/*
12+ * struct omap_hsmmc_dev_attr.flags possibilities
13+ *
14+ * OMAP_HSMMC_SUPPORTS_DUAL_VOLT: Some HSMMC controller instances can
15+ * operate with either 1.8Vdc or 3.0Vdc card voltages; this flag
16+ * should be set if this is the case. See for example Section 22.5.3
17+ * "MMC/SD/SDIO1 Bus Voltage Selection" of the OMAP34xx Multimedia
18+ * Device Silicon Revision 3.1.x Revision ZR (July 2011) (SWPU223R).
19+ *
20+ * OMAP_HSMMC_BROKEN_MULTIBLOCK_READ: Multiple-block read transfers
21+ * don't work correctly on some MMC controller instances on some
22+ * OMAP3 SoCs; this flag should be set if this is the case. See
23+ * for example Advisory 2.1.1.128 "MMC: Multiple Block Read
24+ * Operation Issue" in _OMAP3530/3525/3515/3503 Silicon Errata_
25+ * Revision F (October 2010) (SPRZ278F).
26+ */
27+#define OMAP_HSMMC_SUPPORTS_DUAL_VOLT BIT(0)
28+#define OMAP_HSMMC_BROKEN_MULTIBLOCK_READ BIT(1)
29+#define OMAP_HSMMC_SWAKEUP_MISSING BIT(2)
30+
31+struct omap_hsmmc_dev_attr {
32+ u8 flags;
33+};
34+
35+struct mmc_card;
36+
37+struct omap_hsmmc_platform_data {
38+ /* back-link to device */
39+ struct device *dev;
40+
41+ /* set if your board has components or wiring that limits the
42+ * maximum frequency on the MMC bus */
43+ unsigned int max_freq;
44+
45+ /* Integrating attributes from the omap_hwmod layer */
46+ u8 controller_flags;
47+
48+ /* Register offset deviation */
49+ u16 reg_offset;
50+
51+ /*
52+ * 4/8 wires and any additional host capabilities
53+ * need to OR'd all capabilities (ref. linux/mmc/host.h)
54+ */
55+ u32 caps; /* Used for the MMC driver on 2430 and later */
56+ u32 pm_caps; /* PM capabilities of the mmc */
57+
58+ /* switch pin can be for card detect (default) or card cover */
59+ unsigned cover:1;
60+
61+ /* use the internal clock */
62+ unsigned internal_clock:1;
63+
64+ /* nonremovable e.g. eMMC */
65+ unsigned nonremovable:1;
66+
67+ /* eMMC does not handle power off when not in sleep state */
68+ unsigned no_regulator_off_init:1;
69+
70+ /* we can put the features above into this variable */
71+#define HSMMC_HAS_PBIAS (1 << 0)
72+#define HSMMC_HAS_UPDATED_RESET (1 << 1)
73+#define HSMMC_HAS_HSPE_SUPPORT (1 << 2)
74+ unsigned features;
75+
76+ int switch_pin; /* gpio (card detect) */
77+ int gpio_wp; /* gpio (write protect) */
78+
79+ int (*set_power)(struct device *dev, int power_on, int vdd);
80+ void (*remux)(struct device *dev, int power_on);
81+ /* Call back before enabling / disabling regulators */
82+ void (*before_set_reg)(struct device *dev, int power_on, int vdd);
83+ /* Call back after enabling / disabling regulators */
84+ void (*after_set_reg)(struct device *dev, int power_on, int vdd);
85+ /* if we have special card, init it using this callback */
86+ void (*init_card)(struct mmc_card *card);
87+
88+ const char *name;
89+ u32 ocr_mask;
90+};
include/linux/platform_data/i2c-designware.h+21−0
@@ -0,0 +1,21 @@
1+/*
2+ * Copyright(c) 2014 Intel Corporation.
3+ *
4+ * This program is free software; you can redistribute it and/or modify it
5+ * under the terms and conditions of the GNU General Public License,
6+ * version 2, as published by the Free Software Foundation.
7+ *
8+ * This program is distributed in the hope it will be useful, but WITHOUT
9+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
10+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
11+ * more details.
12+ */
13+
14+#ifndef I2C_DESIGNWARE_H
15+#define I2C_DESIGNWARE_H
16+
17+struct dw_i2c_platform_data {
18+ unsigned int i2c_scl_freq;
19+};
20+
21+#endif
include/linux/platform_data/isl9305.h+30−0
@@ -0,0 +1,30 @@
1+/*
2+ * isl9305 - Intersil ISL9305 DCDC regulator
3+ *
4+ * Copyright 2014 Linaro Ltd
5+ *
6+ * Author: Mark Brown <broonie@kernel.org>
7+ *
8+ * This program is free software; you can redistribute it and/or modify it
9+ * under the terms of the GNU General Public License as published by the
10+ * Free Software Foundation; either version 2 of the License, or (at your
11+ * option) any later version.
12+ */
13+
14+#ifndef __ISL9305_H
15+#define __ISL9305_H
16+
17+#define ISL9305_DCD1 0
18+#define ISL9305_DCD2 1
19+#define ISL9305_LDO1 2
20+#define ISL9305_LDO2 3
21+
22+#define ISL9305_MAX_REGULATOR ISL9305_LDO2
23+
24+struct regulator_init_data;
25+
26+struct isl9305_pdata {
27+ struct regulator_init_data *init_data[ISL9305_MAX_REGULATOR];
28+};
29+
30+#endif
include/linux/platform_data/lp855x.h+2−0
@@ -136,6 +136,7 @@ struct lp855x_rom_data { · 135 unmodified lines
136136 Only valid when mode is PWM_BASED.
137137 * @size_program : total size of lp855x_rom_data
138138 * @rom_data : list of new eeprom/eprom registers
139+ * @supply : regulator that supplies 3V input
139140 */
140141 struct lp855x_platform_data {
141142 const char *name;
@@ -144,6 +145,7 @@ struct lp855x_platform_data { · 2 unmodified lines
144145 unsigned int period_ns;
145146 int size_program;
146147 struct lp855x_rom_data *rom_data;
148+ struct regulator *supply;
147149 };
148150
149151 #endif
include/linux/platform_data/mmc-atmel-mci.h+22−0
@@ -0,0 +1,22 @@
1+#ifndef __MMC_ATMEL_MCI_H
2+#define __MMC_ATMEL_MCI_H
3+
4+#include <linux/platform_data/dma-atmel.h>
5+#include <linux/platform_data/dma-dw.h>
6+
7+/**
8+ * struct mci_dma_data - DMA data for MCI interface
9+ */
10+struct mci_dma_data {
11+#ifdef CONFIG_ARM
12+ struct at_dma_slave sdata;
13+#else
14+ struct dw_dma_slave sdata;
15+#endif
16+};
17+
18+/* accessor macros */
19+#define slave_data_ptr(s) (&(s)->sdata)
20+#define find_slave_dev(s) ((s)->sdata.dma_dev)
21+
22+#endif /* __MMC_ATMEL_MCI_H */
include/linux/platform_data/mmc-omap.h+0−27
@@ -10,32 +10,8 @@ · 9 unmodified lines
1010
1111 #define OMAP_MMC_MAX_SLOTS 2
1212
13−/*
14− * struct omap_mmc_dev_attr.flags possibilities
15− *
16− * OMAP_HSMMC_SUPPORTS_DUAL_VOLT: Some HSMMC controller instances can
17− * operate with either 1.8Vdc or 3.0Vdc card voltages; this flag
18− * should be set if this is the case. See for example Section 22.5.3
19− * "MMC/SD/SDIO1 Bus Voltage Selection" of the OMAP34xx Multimedia
20− * Device Silicon Revision 3.1.x Revision ZR (July 2011) (SWPU223R).
21− *
22− * OMAP_HSMMC_BROKEN_MULTIBLOCK_READ: Multiple-block read transfers
23− * don't work correctly on some MMC controller instances on some
24− * OMAP3 SoCs; this flag should be set if this is the case. See
25− * for example Advisory 2.1.1.128 "MMC: Multiple Block Read
26− * Operation Issue" in _OMAP3530/3525/3515/3503 Silicon Errata_
27− * Revision F (October 2010) (SPRZ278F).
28− */
29−#define OMAP_HSMMC_SUPPORTS_DUAL_VOLT BIT(0)
30−#define OMAP_HSMMC_BROKEN_MULTIBLOCK_READ BIT(1)
31−#define OMAP_HSMMC_SWAKEUP_MISSING BIT(2)
32−
3313 struct mmc_card;
3414
35−struct omap_mmc_dev_attr {
36− u8 flags;
37−};
38−
3915 struct omap_mmc_platform_data {
4016 /* back-link to device */
4117 struct device *dev;
@@ -106,9 +82,6 @@ struct omap_mmc_platform_data { · 64 unmodified lines
10682 unsigned vcc_aux_disable_is_sleep:1;
10783
10884 /* we can put the features above into this variable */
109−#define HSMMC_HAS_PBIAS (1 << 0)
110−#define HSMMC_HAS_UPDATED_RESET (1 << 1)
111−#define HSMMC_HAS_HSPE_SUPPORT (1 << 2)
11285 #define MMC_OMAP7XX (1 << 3)
11386 #define MMC_OMAP15XX (1 << 4)
11487 #define MMC_OMAP16XX (1 << 5)
include/linux/platform_data/mtd-nand-omap2.h+1−0
@@ -71,6 +71,7 @@ struct omap_nand_platform_data { · 70 unmodified lines
7171 struct mtd_partition *parts;
7272 int nr_parts;
7373 bool dev_ready;
74+ bool flash_bbt;
7475 enum nand_io xfer_type;
7576 int devsize;
7677 enum omap_ecc ecc_opt;
include/linux/platform_data/pxa_sdhci.h+0−5
@@ -55,9 +55,4 @@ struct sdhci_pxa_platdata { · 54 unmodified lines
5555 unsigned int quirks2;
5656 unsigned int pm_caps;
5757 };
58−
59−struct sdhci_pxa {
60− u8 clk_enable;
61− u8 power_mode;
62−};
6358 #endif /* _PXA_SDHCI_H_ */
include/linux/platform_data/rcar-du.h+0−74
@@ -1,74 +0,0 @@
1−/*
2− * rcar_du.h -- R-Car Display Unit DRM driver
3− *
4− * Copyright (C) 2013 Renesas Corporation
5− *
6− * Contact: Laurent Pinchart (laurent.pinchart@ideasonboard.com)
7− *
8− * This program is free software; you can redistribute it and/or modify
9− * it under the terms of the GNU General Public License as published by
10− * the Free Software Foundation; either version 2 of the License, or
11− * (at your option) any later version.
12− */
13−
14−#ifndef __RCAR_DU_H__
15−#define __RCAR_DU_H__
16−
17−#include <drm/drm_mode.h>
18−
19−enum rcar_du_output {
20− RCAR_DU_OUTPUT_DPAD0,
21− RCAR_DU_OUTPUT_DPAD1,
22− RCAR_DU_OUTPUT_LVDS0,
23− RCAR_DU_OUTPUT_LVDS1,
24− RCAR_DU_OUTPUT_TCON,
25− RCAR_DU_OUTPUT_MAX,
26−};
27−
28−enum rcar_du_encoder_type {
29− RCAR_DU_ENCODER_UNUSED = 0,
30− RCAR_DU_ENCODER_NONE,
31− RCAR_DU_ENCODER_VGA,
32− RCAR_DU_ENCODER_LVDS,
33−};
34−
35−struct rcar_du_panel_data {
36− unsigned int width_mm; /* Panel width in mm */
37− unsigned int height_mm; /* Panel height in mm */
38− struct drm_mode_modeinfo mode;
39−};
40−
41−struct rcar_du_connector_lvds_data {
42− struct rcar_du_panel_data panel;
43−};
44−
45−struct rcar_du_connector_vga_data {
46− /* TODO: Add DDC information for EDID retrieval */
47−};
48−
49−/*
50− * struct rcar_du_encoder_data - Encoder platform data
51− * @type: the encoder type (RCAR_DU_ENCODER_*)
52− * @output: the DU output the connector is connected to (RCAR_DU_OUTPUT_*)
53− * @connector.lvds: platform data for LVDS connectors
54− * @connector.vga: platform data for VGA connectors
55− *
56− * Encoder platform data describes an on-board encoder, its associated DU SoC
57− * output, and the connector.
58− */
59−struct rcar_du_encoder_data {
60− enum rcar_du_encoder_type type;
61− enum rcar_du_output output;
62−
63− union {
64− struct rcar_du_connector_lvds_data lvds;
65− struct rcar_du_connector_vga_data vga;
66− } connector;
67−};
68−
69−struct rcar_du_platform_data {
70− struct rcar_du_encoder_data *encoders;
71− unsigned int num_encoders;
72−};
73−
74−#endif /* __RCAR_DU_H__ */
include/linux/platform_data/samsung-usbphy.h+0−27
@@ -1,27 +0,0 @@
1−/*
2− * Copyright (C) 2012 Samsung Electronics Co.Ltd
3− * http://www.samsung.com/
4− * Author: Praveen Paneri <p.paneri@samsung.com>
5− *
6− * Defines platform data for samsung usb phy driver.
7− *
8− * This program is free software; you can redistribute it and/or modify it
9− * under the terms of the GNU General Public License as published by the
10− * Free Software Foundation; either version 2 of the License, or (at your
11− * option) any later version.
12− */
13−
14−#ifndef __SAMSUNG_USBPHY_PLATFORM_H
15−#define __SAMSUNG_USBPHY_PLATFORM_H
16−
17−/**
18− * samsung_usbphy_data - Platform data for USB PHY driver.
19− * @pmu_isolation: Function to control usb phy isolation in PMU.
20− */
21−struct samsung_usbphy_data {
22− void (*pmu_isolation)(int on);
23−};
24−
25−extern void samsung_usbphy_set_pdata(struct samsung_usbphy_data *pd);
26−
27−#endif /* __SAMSUNG_USBPHY_PLATFORM_H */
include/linux/platform_data/serial-omap.h+0−3
@@ -38,9 +38,6 @@ struct omap_uart_port_info { · 37 unmodified lines
3838 unsigned int dma_rx_timeout;
3939 unsigned int autosuspend_timeout;
4040 unsigned int dma_rx_poll_rate;
41− int DTR_gpio;
42− int DTR_inverted;
43− int DTR_present;
4441
4542 int (*get_context_loss_count)(struct device *);
4643 void (*enable_wakeup)(struct device *, bool);
include/linux/platform_data/st21nfca.h+0−1
@@ -24,7 +24,6 @@ · 23 unmodified lines
2424 #define ST21NFCA_HCI_DRIVER_NAME "st21nfca_hci"
2525
2626 struct st21nfca_nfc_platform_data {
27− unsigned int gpio_irq;
2827 unsigned int gpio_ena;
2928 unsigned int irq_polarity;
3029 };
include/linux/platform_data/st21nfcb.h+0−1
@@ -24,7 +24,6 @@ · 23 unmodified lines
2424 #define ST21NFCB_NCI_DRIVER_NAME "st21nfcb_nci"
2525
2626 struct st21nfcb_nfc_platform_data {
27− unsigned int gpio_irq;
2827 unsigned int gpio_reset;
2928 unsigned int irq_polarity;
3029 };
include/linux/platform_data/tegra_emc.h+0−34
@@ -1,34 +0,0 @@
1−/*
2− * Copyright (C) 2011 Google, Inc.
3− *
4− * Author:
5− * Colin Cross <ccross@android.com>
6− * Olof Johansson <olof@lixom.net>
7− *
8− * This software is licensed under the terms of the GNU General Public
9− * License version 2, as published by the Free Software Foundation, and
10− * may be copied, distributed, and modified under those terms.
11− *
12− * This program is distributed in the hope that it will be useful,
13− * but WITHOUT ANY WARRANTY; without even the implied warranty of
14− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15− * GNU General Public License for more details.
16− *
17− */
18−
19−#ifndef __TEGRA_EMC_H_
20−#define __TEGRA_EMC_H_
21−
22−#define TEGRA_EMC_NUM_REGS 46
23−
24−struct tegra_emc_table {
25− unsigned long rate;
26− u32 regs[TEGRA_EMC_NUM_REGS];
27−};
28−
29−struct tegra_emc_pdata {
30− int num_tables;
31− struct tegra_emc_table *tables;
32−};
33−
34−#endif

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t