Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fc915c8b authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman
Browse files

Merge 3.5-rc4 into tty-next



This is to pick up the serial port and tty changes in Linus's tree to allow
everyone to sync up.

Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parents fe89def7 6b16351a
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -111,6 +111,7 @@ Uwe Kleine-König <ukleinek@informatik.uni-freiburg.de>
Uwe Kleine-König <ukl@pengutronix.de>
Uwe Kleine-König <ukl@pengutronix.de>
Uwe Kleine-König <Uwe.Kleine-Koenig@digi.com>
Uwe Kleine-König <Uwe.Kleine-Koenig@digi.com>
Valdis Kletnieks <Valdis.Kletnieks@vt.edu>
Valdis Kletnieks <Valdis.Kletnieks@vt.edu>
Viresh Kumar <viresh.linux@gmail.com> <viresh.kumar@st.com>
Takashi YOSHII <takashi.yoshii.zj@renesas.com>
Takashi YOSHII <takashi.yoshii.zj@renesas.com>
Yusuke Goda <goda.yusuke@renesas.com>
Yusuke Goda <goda.yusuke@renesas.com>
Gustavo Padovan <gustavo@las.ic.unicamp.br>
Gustavo Padovan <gustavo@las.ic.unicamp.br>
+31 −0
Original line number Original line Diff line number Diff line
@@ -219,6 +219,7 @@ What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_scale
What:		/sys/bus/iio/devices/iio:deviceX/in_voltageY_supply_scale
What:		/sys/bus/iio/devices/iio:deviceX/in_voltageY_supply_scale
What:		/sys/bus/iio/devices/iio:deviceX/in_voltage_scale
What:		/sys/bus/iio/devices/iio:deviceX/in_voltage_scale
What:		/sys/bus/iio/devices/iio:deviceX/out_voltageY_scale
What:		/sys/bus/iio/devices/iio:deviceX/out_voltageY_scale
What:		/sys/bus/iio/devices/iio:deviceX/out_altvoltageY_scale
What:		/sys/bus/iio/devices/iio:deviceX/in_accel_scale
What:		/sys/bus/iio/devices/iio:deviceX/in_accel_scale
What:		/sys/bus/iio/devices/iio:deviceX/in_accel_peak_scale
What:		/sys/bus/iio/devices/iio:deviceX/in_accel_peak_scale
What:		/sys/bus/iio/devices/iio:deviceX/in_anglvel_scale
What:		/sys/bus/iio/devices/iio:deviceX/in_anglvel_scale
@@ -273,6 +274,7 @@ What: /sys/bus/iio/devices/iio:deviceX/in_accel_scale_available
What:		/sys/.../iio:deviceX/in_voltageX_scale_available
What:		/sys/.../iio:deviceX/in_voltageX_scale_available
What:		/sys/.../iio:deviceX/in_voltage-voltage_scale_available
What:		/sys/.../iio:deviceX/in_voltage-voltage_scale_available
What:		/sys/.../iio:deviceX/out_voltageX_scale_available
What:		/sys/.../iio:deviceX/out_voltageX_scale_available
What:		/sys/.../iio:deviceX/out_altvoltageX_scale_available
What:		/sys/.../iio:deviceX/in_capacitance_scale_available
What:		/sys/.../iio:deviceX/in_capacitance_scale_available
KernelVersion:	2.635
KernelVersion:	2.635
Contact:	linux-iio@vger.kernel.org
Contact:	linux-iio@vger.kernel.org
@@ -298,14 +300,19 @@ Description:
		gives the 3dB frequency of the filter in Hz.
		gives the 3dB frequency of the filter in Hz.


What:		/sys/bus/iio/devices/iio:deviceX/out_voltageY_raw
What:		/sys/bus/iio/devices/iio:deviceX/out_voltageY_raw
What:		/sys/bus/iio/devices/iio:deviceX/out_altvoltageY_raw
KernelVersion:	2.6.37
KernelVersion:	2.6.37
Contact:	linux-iio@vger.kernel.org
Contact:	linux-iio@vger.kernel.org
Description:
Description:
		Raw (unscaled, no bias etc.) output voltage for
		Raw (unscaled, no bias etc.) output voltage for
		channel Y.  The number must always be specified and
		channel Y.  The number must always be specified and
		unique if the output corresponds to a single channel.
		unique if the output corresponds to a single channel.
		While DAC like devices typically use out_voltage,
		a continuous frequency generating device, such as
		a DDS or PLL should use out_altvoltage.


What:		/sys/bus/iio/devices/iio:deviceX/out_voltageY&Z_raw
What:		/sys/bus/iio/devices/iio:deviceX/out_voltageY&Z_raw
What:		/sys/bus/iio/devices/iio:deviceX/out_altvoltageY&Z_raw
KernelVersion:	2.6.37
KernelVersion:	2.6.37
Contact:	linux-iio@vger.kernel.org
Contact:	linux-iio@vger.kernel.org
Description:
Description:
@@ -316,6 +323,8 @@ Description:


What:		/sys/bus/iio/devices/iio:deviceX/out_voltageY_powerdown_mode
What:		/sys/bus/iio/devices/iio:deviceX/out_voltageY_powerdown_mode
What:		/sys/bus/iio/devices/iio:deviceX/out_voltage_powerdown_mode
What:		/sys/bus/iio/devices/iio:deviceX/out_voltage_powerdown_mode
What:		/sys/bus/iio/devices/iio:deviceX/out_altvoltageY_powerdown_mode
What:		/sys/bus/iio/devices/iio:deviceX/out_altvoltage_powerdown_mode
KernelVersion:	2.6.38
KernelVersion:	2.6.38
Contact:	linux-iio@vger.kernel.org
Contact:	linux-iio@vger.kernel.org
Description:
Description:
@@ -330,6 +339,8 @@ Description:


What:		/sys/.../iio:deviceX/out_votlageY_powerdown_mode_available
What:		/sys/.../iio:deviceX/out_votlageY_powerdown_mode_available
What:		/sys/.../iio:deviceX/out_voltage_powerdown_mode_available
What:		/sys/.../iio:deviceX/out_voltage_powerdown_mode_available
What:		/sys/.../iio:deviceX/out_altvotlageY_powerdown_mode_available
What:		/sys/.../iio:deviceX/out_altvoltage_powerdown_mode_available
KernelVersion:	2.6.38
KernelVersion:	2.6.38
Contact:	linux-iio@vger.kernel.org
Contact:	linux-iio@vger.kernel.org
Description:
Description:
@@ -338,6 +349,8 @@ Description:


What:		/sys/bus/iio/devices/iio:deviceX/out_voltageY_powerdown
What:		/sys/bus/iio/devices/iio:deviceX/out_voltageY_powerdown
What:		/sys/bus/iio/devices/iio:deviceX/out_voltage_powerdown
What:		/sys/bus/iio/devices/iio:deviceX/out_voltage_powerdown
What:		/sys/bus/iio/devices/iio:deviceX/out_altvoltageY_powerdown
What:		/sys/bus/iio/devices/iio:deviceX/out_altvoltage_powerdown
KernelVersion:	2.6.38
KernelVersion:	2.6.38
Contact:	linux-iio@vger.kernel.org
Contact:	linux-iio@vger.kernel.org
Description:
Description:
@@ -346,6 +359,24 @@ Description:
		normal operation. Y may be suppressed if all outputs are
		normal operation. Y may be suppressed if all outputs are
		controlled together.
		controlled together.


What:		/sys/bus/iio/devices/iio:deviceX/out_altvoltageY_frequency
KernelVersion:	3.4.0
Contact:	linux-iio@vger.kernel.org
Description:
		Output frequency for channel Y in Hz. The number must always be
		specified and unique if the output corresponds to a single
		channel.

What:		/sys/bus/iio/devices/iio:deviceX/out_altvoltageY_phase
KernelVersion:	3.4.0
Contact:	linux-iio@vger.kernel.org
Description:
		Phase in radians of one frequency/clock output Y
		(out_altvoltageY) relative to another frequency/clock output
		(out_altvoltageZ) of the device X. The number must always be
		specified and unique if the output corresponds to a single
		channel.

What:		/sys/bus/iio/devices/iio:deviceX/events
What:		/sys/bus/iio/devices/iio:deviceX/events
KernelVersion:	2.6.35
KernelVersion:	2.6.35
Contact:	linux-iio@vger.kernel.org
Contact:	linux-iio@vger.kernel.org
+1 −1
Original line number Original line Diff line number Diff line
@@ -60,4 +60,4 @@ Introduction
  Document Author
  Document Author
  ---------------
  ---------------


  Viresh Kumar <viresh.kumar@st.com>, (c) 2010-2012 ST Microelectronics
  Viresh Kumar <viresh.linux@gmail.com>, (c) 2010-2012 ST Microelectronics
+21 −1
Original line number Original line Diff line number Diff line
@@ -6,7 +6,9 @@ Supported chips:
    Prefix: 'coretemp'
    Prefix: 'coretemp'
    CPUID: family 0x6, models 0xe (Pentium M DC), 0xf (Core 2 DC 65nm),
    CPUID: family 0x6, models 0xe (Pentium M DC), 0xf (Core 2 DC 65nm),
                              0x16 (Core 2 SC 65nm), 0x17 (Penryn 45nm),
                              0x16 (Core 2 SC 65nm), 0x17 (Penryn 45nm),
                              0x1a (Nehalem), 0x1c (Atom), 0x1e (Lynnfield)
                              0x1a (Nehalem), 0x1c (Atom), 0x1e (Lynnfield),
                              0x26 (Tunnel Creek Atom), 0x27 (Medfield Atom),
                              0x36 (Cedar Trail Atom)
    Datasheet: Intel 64 and IA-32 Architectures Software Developer's Manual
    Datasheet: Intel 64 and IA-32 Architectures Software Developer's Manual
               Volume 3A: System Programming Guide
               Volume 3A: System Programming Guide
               http://softwarecommunity.intel.com/Wiki/Mobility/720.htm
               http://softwarecommunity.intel.com/Wiki/Mobility/720.htm
@@ -52,6 +54,17 @@ Some information comes from ark.intel.com


Process		Processor					TjMax(C)
Process		Processor					TjMax(C)


22nm		Core i5/i7 Processors
		i7 3920XM, 3820QM, 3720QM, 3667U, 3520M		105
		i5 3427U, 3360M/3320M				105
		i7 3770/3770K					105
		i5 3570/3570K, 3550, 3470/3450			105
		i7 3770S					103
		i5 3570S/3550S, 3475S/3470S/3450S		103
		i7 3770T					94
		i5 3570T					94
		i5 3470T					91

32nm		Core i3/i5/i7 Processors
32nm		Core i3/i5/i7 Processors
		i7 660UM/640/620, 640LM/620, 620M, 610E		105
		i7 660UM/640/620, 640LM/620, 620M, 610E		105
		i5 540UM/520/430, 540M/520/450/430		105
		i5 540UM/520/430, 540M/520/450/430		105
@@ -65,6 +78,11 @@ Process Processor TjMax(C)
		U3400						105
		U3400						105
		P4505/P4500 					90
		P4505/P4500 					90


32nm		Atom Processors
		Z2460						90
		D2700/2550/2500					100
		N2850/2800/2650/2600				100

45nm		Xeon Processors 5400 Quad-Core
45nm		Xeon Processors 5400 Quad-Core
		X5492, X5482, X5472, X5470, X5460, X5450	85
		X5492, X5482, X5472, X5470, X5460, X5450	85
		E5472, E5462, E5450/40/30/20/10/05		85
		E5472, E5462, E5450/40/30/20/10/05		85
@@ -85,6 +103,8 @@ Process Processor TjMax(C)
		N475/470/455/450				100
		N475/470/455/450				100
		N280/270					90
		N280/270					90
		330/230						125
		330/230						125
		E680/660/640/620				90
		E680T/660T/640T/620T				110


45nm		Core2 Processors
45nm		Core2 Processors
		Solo ULV SU3500/3300				100
		Solo ULV SU3500/3300				100
+25 −19
Original line number Original line Diff line number Diff line
@@ -10,8 +10,8 @@ Currently this network device driver is for all STM embedded MAC/GMAC
(i.e. 7xxx/5xxx SoCs), SPEAr (arm), Loongson1B (mips) and XLINX XC2V3000
(i.e. 7xxx/5xxx SoCs), SPEAr (arm), Loongson1B (mips) and XLINX XC2V3000
FF1152AMT0221 D1215994A VIRTEX FPGA board.
FF1152AMT0221 D1215994A VIRTEX FPGA board.


DWC Ether MAC 10/100/1000 Universal version 3.60a (and older) and DWC Ether MAC 10/100
DWC Ether MAC 10/100/1000 Universal version 3.60a (and older) and DWC Ether
Universal version 4.0 have been used for developing this driver.
MAC 10/100 Universal version 4.0 have been used for developing this driver.


This driver supports both the platform bus and PCI.
This driver supports both the platform bus and PCI.


@@ -54,27 +54,27 @@ net_device structure enabling the scatter/gather feature.
When one or more packets are received, an interrupt happens. The interrupts
When one or more packets are received, an interrupt happens. The interrupts
are not queued so the driver has to scan all the descriptors in the ring during
are not queued so the driver has to scan all the descriptors in the ring during
the receive process.
the receive process.
This is based on NAPI so the interrupt handler signals only if there is work to be
This is based on NAPI so the interrupt handler signals only if there is work
done, and it exits.
to be done, and it exits.
Then the poll method will be scheduled at some future point.
Then the poll method will be scheduled at some future point.
The incoming packets are stored, by the DMA, in a list of pre-allocated socket
The incoming packets are stored, by the DMA, in a list of pre-allocated socket
buffers in order to avoid the memcpy (Zero-copy).
buffers in order to avoid the memcpy (Zero-copy).


4.3) Timer-Driver Interrupt
4.3) Timer-Driver Interrupt
Instead of having the device that asynchronously notifies the frame receptions, the
Instead of having the device that asynchronously notifies the frame receptions,
driver configures a timer to generate an interrupt at regular intervals.
the driver configures a timer to generate an interrupt at regular intervals.
Based on the granularity of the timer, the frames that are received by the device
Based on the granularity of the timer, the frames that are received by the
will experience different levels of latency. Some NICs have dedicated timer
device will experience different levels of latency. Some NICs have dedicated
device to perform this task. STMMAC can use either the RTC device or the TMU
timer device to perform this task. STMMAC can use either the RTC device or the
channel 2  on STLinux platforms.
TMU channel 2  on STLinux platforms.
The timers frequency can be passed to the driver as parameter; when change it,
The timers frequency can be passed to the driver as parameter; when change it,
take care of both hardware capability and network stability/performance impact.
take care of both hardware capability and network stability/performance impact.
Several performance tests on STM platforms showed this optimisation allows to spare
Several performance tests on STM platforms showed this optimisation allows to
the CPU while having the maximum throughput.
spare the CPU while having the maximum throughput.


4.4) WOL
4.4) WOL
Wake up on Lan feature through Magic and Unicast frames are supported for the GMAC
Wake up on Lan feature through Magic and Unicast frames are supported for the
core.
GMAC core.


4.5) DMA descriptors
4.5) DMA descriptors
Driver handles both normal and enhanced descriptors. The latter has been only
Driver handles both normal and enhanced descriptors. The latter has been only
@@ -107,6 +107,7 @@ These are included in the include/linux/stmmac.h header file
and detailed below as well:
and detailed below as well:


struct plat_stmmacenet_data {
struct plat_stmmacenet_data {
	char *phy_bus_name;
	int bus_id;
	int bus_id;
	int phy_addr;
	int phy_addr;
	int interface;
	int interface;
@@ -124,19 +125,24 @@ and detailed below as well:
	void (*bus_setup)(void __iomem *ioaddr);
	void (*bus_setup)(void __iomem *ioaddr);
	int (*init)(struct platform_device *pdev);
	int (*init)(struct platform_device *pdev);
	void (*exit)(struct platform_device *pdev);
	void (*exit)(struct platform_device *pdev);
	void *custom_cfg;
	void *custom_data;
	void *bsp_priv;
	void *bsp_priv;
 };
 };


Where:
Where:
 o phy_bus_name: phy bus name to attach to the stmmac.
 o bus_id: bus identifier.
 o bus_id: bus identifier.
 o phy_addr: the physical address can be passed from the platform.
 o phy_addr: the physical address can be passed from the platform.
	    If it is set to -1 the driver will automatically
	    If it is set to -1 the driver will automatically
	    detect it at run-time by probing all the 32 addresses.
	    detect it at run-time by probing all the 32 addresses.
 o interface: PHY device's interface.
 o interface: PHY device's interface.
 o mdio_bus_data: specific platform fields for the MDIO bus.
 o mdio_bus_data: specific platform fields for the MDIO bus.
 o dma_cfg: internal DMA parameters
   o pbl: the Programmable Burst Length is maximum number of beats to
   o pbl: the Programmable Burst Length is maximum number of beats to
       be transferred in one DMA transaction.
       be transferred in one DMA transaction.
       GMAC also enables the 4xPBL by default.
       GMAC also enables the 4xPBL by default.
   o fixed_burst/mixed_burst/burst_len
 o clk_csr: fixed CSR Clock range selection.
 o clk_csr: fixed CSR Clock range selection.
 o has_gmac: uses the GMAC core.
 o has_gmac: uses the GMAC core.
 o enh_desc: if sets the MAC will use the enhanced descriptor structure.
 o enh_desc: if sets the MAC will use the enhanced descriptor structure.
@@ -160,8 +166,9 @@ Where:
	     this is sometime necessary on some platforms (e.g. ST boxes)
	     this is sometime necessary on some platforms (e.g. ST boxes)
	     where the HW needs to have set some PIO lines or system cfg
	     where the HW needs to have set some PIO lines or system cfg
	     registers.
	     registers.
 o custom_cfg: this is a custom configuration that can be passed while
 o custom_cfg/custom_data: this is a custom configuration that can be passed
	      initialising the resources.
			   while initialising the resources.
 o bsp_priv: another private poiter.


For MDIO bus The we have:
For MDIO bus The we have:


@@ -180,7 +187,6 @@ Where:
 o irqs: list of IRQs, one per PHY.
 o irqs: list of IRQs, one per PHY.
 o probed_phy_irq: if irqs is NULL, use this for probed PHY.
 o probed_phy_irq: if irqs is NULL, use this for probed PHY.



For DMA engine we have the following internal fields that should be
For DMA engine we have the following internal fields that should be
tuned according to the HW capabilities.
tuned according to the HW capabilities.


Loading