702e122 | Suneel Garapati | 24 April 2013, 09:33:10 UTC | xilinx: arm: spi: handle zero speed in transfer message If the transfer speed is 0 in spi message, default the transfer speed to maximum supported flash frequency. Signed-off-by: Suneel Garapati <suneelg@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com> | 26 April 2013, 13:30:41 UTC |
6a0beda | Anirudha Sarangi | 03 April 2013, 17:37:02 UTC | xilinx_emacps: Fixes bug in skb handling for fragmented packets The existing driver has a bug related to skb handling for fragmented Tx packets. This patch fixes it. Signed-off-by: Anirudha Sarangi <anirudh@xilinx.com> | 04 April 2013, 05:48:14 UTC |
6c87e8a | Anirudha Sarangi | 03 April 2013, 17:37:01 UTC | xilinx_emacps: Fix bug in the logic for fragmented packets The existing driver has a bug for freeing up Tx BDs for fragmented Tx packets. This patch fixes it. Signed-off-by: Anirudha Sarangi <anirudh@xilinx.com> | 04 April 2013, 05:47:56 UTC |
985c32b | Anirudha Sarangi | 03 April 2013, 17:37:00 UTC | xilinx_emacps: Increase the number of Tx/Rx This patch increases the number of BDs on the Tx/Rx path to a reasonable value of 256 (existing is 32). This is required and may ensure better/efficient processing under heavy traffic (the existing napi weigth is 64). Signed-off-by: Anirudha Sarangi <anirudh@xilinx.com> | 04 April 2013, 05:46:17 UTC |
4abdc1f | Anirudha Sarangi | 03 April 2013, 17:36:59 UTC | xilinx_emacps: Add support for gmii to rgmii This patch adds support for the gmii to rgmii converter IP in the PL. This Xilinx IP appears on the mdio interface along with the regular PHY. It possesses a PHY address to be accessible on the mdio bus. The IP appears in the device tree under the mdio node. This patch reads the mdio node and on finding the presence of this converter takes appropriate action assuming it as a dummy PHY. After the regular PHY autoneg, the driver writes the spped/duplex settings to the appropriate register in the dummy PHY to ensure proper gmii to rgmii conversion. Signed-off-by: Anirudha Sarangi <anirudh@xilinx.com> | 04 April 2013, 05:46:15 UTC |
67062a4 | Anirudha Sarangi | 03 April 2013, 17:36:58 UTC | xilinx_emacps: Fixes a potential bug for PEEP This patch fixes a very minor bug that can show up when someone tests the Ethernet interface on PEEP. The bug is related to PHY handling. This patch fixes it. Signed-off-by: Anirudha Sarangi <anirudh@xilinx.com> | 04 April 2013, 05:46:13 UTC |
d9d2df5 | Anirudha Sarangi | 03 April 2013, 17:36:57 UTC | xilinx: dts: phy-mode entry is added in the This patch adds a new property "phy-mode" for all relevant device trees under the EmacPs node. This is done to ensure that the driver can handle varying type of PHY interfaces in a flexible way. Signed-off-by: Anirudha Sarangi <anirudh@xilinx.com> | 04 April 2013, 05:46:11 UTC |
38bfe40 | Anirudha Sarangi | 03 April 2013, 17:36:56 UTC | xilinx_emacps: Add support for EMIO The existing implementation was hardcoding the PHY interface as RGMII (MIO case). This patch makes the implementation flexible by assuming that the information regarding the PHY interface will come from the device tree. This will ensure that the driver takes care of both MIO (RGMII) and EMIO (GMII) cases. Signed-off-by: Anirudha Sarangi <anirudh@xilinx.com> | 04 April 2013, 05:46:06 UTC |
2c27a1c | Anirudha Sarangi | 03 April 2013, 17:36:55 UTC | xilinx_emacps: Fixes the Tx timeout handling The existing tx timeout handler was resulting a kernel crash when invoked for tx timeout case. The tx timeout handler was trying to allocate coherent memory for the BDs which was resulting in an error case for scheduling while atomic. This patch fixes it by using work queues for Tx timeout handling. Signed-off-by: Anirudha Sarangi <anirudh@xilinx.com> | 04 April 2013, 05:46:05 UTC |
d312cb6 | Anirudha Sarangi | 03 April 2013, 17:36:54 UTC | xilinx_emacps: Changes spin-lock The existing implementation had a single lock for tx and rx paths. This resulted in creating dependencies between tx and rx paths. For example a Rx interrupt had to wait for the start_xmit routine to finish. This could also result in potential locking issues as reported by running on Qemu. This patch uses two locks(one each for tx and rx paths) instead of a single lock. This patch avoids to the extent possible not to disable IRQs (avoids spin-lock-irqsave) and instead uses spin-lock-bh. This effectively makes the Tx and Rx paths independent of each other. This patch addresses all concerns (because of this new implementation) related to inadvertent corruption of registers. Signed-off-by: Anirudha Sarangi <anirudh@xilinx.com> | 04 April 2013, 05:46:04 UTC |
96ed756 | Anirudha Sarangi | 03 April 2013, 17:36:53 UTC | xilinx_emacps: Process the Tx done interrupt The releasing of the Tx BDs after Tx done interrupts earlier used to happen in the interrupt context. This patch changes it to ensure that the Tx done BD releasing happens in a bottom half(tasklet). Signed-off-by: Anirudha Sarangi <anirudh@xilinx.com> | 04 April 2013, 05:46:04 UTC |
e081428 | Anirudha Sarangi | 03 April 2013, 17:36:52 UTC | xilinx_emacps: Adds support for fragmented This patch alters the features parameter in ndev to add support for fragmented packets. It also adds support for scatter-gather packets. Signed-off-by: Anirudha Sarangi <anirudh@xilinx.com> | 04 April 2013, 05:46:03 UTC |
4a3cc7f | Anirudha Sarangi | 03 April 2013, 17:36:51 UTC | xilinx_emacps: Remove unused hash-defines This patch removes the unused hash-defines related to SLCR divisors and SLCR address offsets. Signed-off-by: Anirudha Sarangi <anirudh@xilinx.com> | 04 April 2013, 05:46:02 UTC |
b4f31e3 | Soren Brinkmann | 03 April 2013, 22:25:34 UTC | arm: dt: zynq-zc702: Fix ucd9248 nodes Commit 'arm: zynq: fix indentation and formatting' (sha1: 3a48d14c4fbb1a08ae659fed98091667a9778b53) wrongly added '0x' prefixes to the reg properties of ucd9248 nodes. Rectify this issue by removing the wrongly added prefixes. Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com> | 04 April 2013, 05:46:02 UTC |
0d4f0fb | Subbaraya Sundeep Bhatta | 03 April 2013, 15:43:18 UTC | usb: gadget: Select AXI USB gadget driver for Zynq Select AXI USB gadget driver for Zynq to use in Zynq PL. Signed-off-by: Subbaraya Sundeep Bhatta <sbhatta@xilinx.com> | 03 April 2013, 16:16:53 UTC |
cb60462 | Subbaraya Sundeep Bhatta | 03 April 2013, 14:56:20 UTC | usb: gadget: Code cleanup Code cleanup for checkpatch. Signed-off-by: Subbaraya Sundeep Bhatta <sbhatta@xilinx.com> | 03 April 2013, 15:36:10 UTC |
1fff8f4 | Subbaraya Sundeep Bhatta | 03 April 2013, 14:56:19 UTC | usb: gadget: Updated to support 3.8 kernel - Defined gadget max_speed - Modified xudc_start for new bind function - Changed endpoint names The endpoint names are parsed in udc framework and the addresses are assigned based on that. In 3.6 kernel, the ednpoint address are denoted by a single variable and hence we get proper address to the driver. Now the endpoints are differentiated based on direction and we always get endpoint address as 1 (for 2 endpoints) and we fail accessing the EP RAM address for ep2 Signed-off-by: Subbaraya Sundeep Bhatta <sbhatta@xilinx.com> | 03 April 2013, 15:35:02 UTC |
2eae16d | Subbaraya Sundeep Bhatta | 03 April 2013, 14:56:18 UTC | usb: gadget: Updated to support little endian systems. Updated to support little endian systems. Cleaned up the code for setup packet handling. Signed-off-by: Subbaraya Sundeep Bhatta <sbhatta@xilinx.com> | 03 April 2013, 15:26:49 UTC |
48b0ff7 | Michal Simek | 28 March 2013, 15:42:44 UTC | microblaze: Fix uaccess_ok macro Fix access_ok macro no to permit case where user will try to access the last address space which is equal to segment address. Example: segment addr = 0xbfff ffff address = 0xbfff fff0 size = 0x10 Current wrong implementation 0xbfff ffff >= (0xbfff fff0 | 0x10 | (0xbfff fff0 + 0x10)) 0xbfff ffff >= (0xbfff fff0 | 0xc000 0000) 0xbfff ffff >= 0xf000 0000 return 0 which is access failed even the combination is valid. because get_fs().seq returns the last valid address. This patch fix this problem. Size equals to zero is valid access. Signed-off-by: Michal Simek <michal.simek@xilinx.com> | 03 April 2013, 13:31:58 UTC |
ad0f7dd | Michal Simek | 02 April 2013, 09:45:42 UTC | arm: zynq: Do not use PHYS_OFFSET for multi platfrom kernel CONFIG_ARM_PATCH_PHYS_VIRT is always yes that's why CONFIG_PHYS_OFFSET is not setup anymore. Detect where kernel runs and if runs from zero then reserve memory which is not DMAable. This patch also fix the problem with rootfs on MMC card where this fault is report: mmc0: Timeout waiting for hardware interrupt. mmcblk0: error -110 transferring data, sector 1574716, nr 136, cmd response 0x900, card status 0xb00 mmcblk0: retrying using single block read Signed-off-by: Michal Simek <michal.simek@xilinx.com> Tested-by: Michael Przybylski <michaeljprzybylski@gmail.com> Tested-by: Lars-Peter Clausen <lars@metafoo.de> | 03 April 2013, 10:37:01 UTC |
b7b2aaa | Soren Brinkmann | 20 March 2013, 17:24:15 UTC | arm: zynq: Gracefully handle missing OCM Although, OCM is always part of the system, it might be unavailable due to an erroneous DT. Handle this cases gracefully instead of crashing the system. Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com> | 28 March 2013, 16:12:41 UTC |
cc15fe5 | Michal Simek | 28 March 2013, 15:41:49 UTC | watchdog: Remove additional compatibility string Device-tree bsp generate proper compatible string and all IPs are backward compatible to 1.00.a version. Signed-off-by: Michal Simek <michal.simek@xilinx.com> | 28 March 2013, 16:01:29 UTC |
af79e53 | Jagannadha Sutradharudu Teki | 28 March 2013, 09:49:07 UTC | xilinx: dts: Update the memory amount for zc706 Updated the actual memory amount used by zc706 board. This changes is follow-up on memory amount in previous patch. "Xilinx: ARM: Added zc706 device tree and compatibility" (sha1: 082f42fd30e07bb35100c435199f56adef932875) Signed-off-by: Jagannadha Sutradharudu Teki <jaganna@xilinx.com> | 28 March 2013, 16:00:55 UTC |
17fb76b | Naveen Mamindlapalli | 25 March 2013, 11:35:19 UTC | usb: xilinxps_udc: Fixed zero length packet issue with control endpoint. Fixed sending a separate zero length packet for control IN endpoint. The ZLT bit in dQH takes care of it. Configured control OUT endpoint not to wait for zero length packet from the host controller. See USB 2.0 section 5.5.3 for more details. Signed-off-by: Naveen Mamindlapalli <naveenm@xilinx.com> | 25 March 2013, 15:58:33 UTC |
4c3fb78 | Soren Brinkmann | 19 March 2013, 20:10:24 UTC | tty: xuartps: Store baud rate in driver data Store the current baudrate in struct xuartps. This data is used in some parts of the driver but was never initialized correctly. Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com> | 22 March 2013, 10:40:31 UTC |
25bc0a6 | Davor Joja | 21 March 2013, 12:25:11 UTC | media: video: adv7511: Driver update for 3.8 kernel Driver updated for compiling on 3.8 kernel version. Linux coding style errors and most of warnings. Signed-off-by: Davor Joja <davor.joja@logicbricks.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com> | 22 March 2013, 07:52:56 UTC |
9afd122 | Davor Joja | 21 March 2013, 12:10:57 UTC | video: fb: xylonfb: Fix driver coding style Fixed bug in Kconfig for selecting FB mode helpers. Linux coding style errors and most of warnings. Signed-off-by: Davor Joja <davor.joja@logicbricks.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com> | 22 March 2013, 07:52:09 UTC |
544a544 | Srikanth Thokala | 19 March 2013, 12:18:47 UTC | zynq: pcie: Removed sparse warnings Removes sparse warnings and cleans up code. Signed-off-by: Srikanth Thokala <sthokal@xilinx.com> | 20 March 2013, 16:18:58 UTC |
53dc7ac | Naveen Mamindlapalli | 19 March 2013, 11:59:16 UTC | usb: xilinxps_udc: Update the driver to use usb_endpoint_descriptor inside the struct usb_ep. Update the driver to use usb_endpoint_descriptor inside the struct usb_ep. Remove redundant pointer to struct usb_endpoint_descriptor. Signed-off-by: Naveen Mamindlapalli <naveenm@xilinx.com> | 20 March 2013, 07:50:38 UTC |
e5b9aae | Naveen Mamindlapalli | 19 March 2013, 11:59:17 UTC | usb: xilinxps_udc: Added checking for full speed gadget. Added checking for full speed gadget. The controller supports both high speed and full speed in device mode. Signed-off-by: Naveen Mamindlapalli <naveenm@xilinx.com> | 20 March 2013, 07:50:37 UTC |
ffedaba | Naveen Mamindlapalli | 20 March 2013, 07:36:44 UTC | usb: xilinxps_udc: Added s/w workaround for USB disconnect detection Added s/w workaround for USB disconnect detection as mentioned in AR# 47538. See http://www.xilinx.com/support/answers/47538.htm for more details. This fix is not applicable for OTG mode as there is no callback registered for B session end event. Signed-off-by: Naveen Mamindlapalli <naveenm@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com> | 20 March 2013, 07:50:36 UTC |
3882531 | Naveen Mamindlapalli | 19 March 2013, 11:23:21 UTC | usb: xilinxps_otg: Removed unused function declaration. Removed unused function declaration. Signed-off-by: Naveen Mamindlapalli <naveenm@xilinx.com> | 20 March 2013, 07:50:35 UTC |
036fca5 | Michal Simek | 19 March 2013, 10:22:42 UTC | dma: Rename xilinx dmatest to axidmatest The reason is that there is standard dmatest in dma folder a because of the design of these xilinx proprietary tests without binding that ends in duplicating filenames just because of the same driver name. Warning log: WARNING: at fs/sysfs/dir.c:536 sysfs_add_one+0x78/0x98() sysfs: cannot create duplicate filename '/module/dmatest/parameters/iterations' Renaming driver to different name caused that kernel will use different module name. ~ # ls /sys/module/ | grep dma axidmatest cdmatest dmatest vdmatest Signed-off-by: Michal Simek <michal.simek@xilinx.com> | 19 March 2013, 10:24:25 UTC |
69eca4d | Davor Joja | 18 March 2013, 12:39:56 UTC | adv7511: Support for ADV7511 HDMI transmitter Cisco V4L2 driver for ADV7511 HDMI transmitter. Driver changes against original version: - fixed compiling issues - fixed race conditions - added OFDT support for greater flexibility and configurability on different hw platforms Signed-off-by: Davor Joja <davor.joja@logicbricks.com> | 19 March 2013, 08:46:30 UTC |
a2d2c4d | Lars-Peter Clausen | 07 March 2013, 09:43:43 UTC | [media] adv7604: Move adv7604_{read,write}_reg out of CONFIG_VIDEO_ADV_DEBUG section Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> | 19 March 2013, 08:46:29 UTC |
610b9d5 | Lars-Peter Clausen | 18 January 2013, 15:14:39 UTC | [media] adv7604: Add adv7611 support This patch adds support for the Analog Devices ADV7611 HDMI receiver. The adv7611 is quite similar to the adv7604. It has only one instead of four HDMI inputs and no analog frontend though. Also some register bits have been shuffled around, but large parts of their register maps are compatible. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> | 19 March 2013, 08:46:28 UTC |
2e73f8c | Sakari Ailus | 15 September 2012, 10:51:47 UTC | [media] v4l: Helper function for obtaining timestamps v4l2_get_timestamp() produces a monotonic timestamp but unlike ktime_get_ts(), it uses struct timeval instead of struct timespec, saving the drivers the conversion job when getting timestamps for v4l2_buffer's timestamp field. Signed-off-by: Sakari Ailus <sakari.ailus@iki.fi> Acked-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com> | 19 March 2013, 08:46:27 UTC |
3e95685 | Davor Joja | 08 March 2013, 15:15:49 UTC | video: fb: xylonfb: Driver version 2.0 Added support for logiCVC IP version 3.0 functionality with YUV and Alpha layers. FB console available on top of the 8bpp YUV CLUT layer. YUV supported formats 4:2:2 (16 bpp) and 4:4:4 (32 bpp), alpha layer format is 8bpp. Added miscellaneous module. Miscellaneous interface implements ADV7511 control functions working on top of Cisco adv7511 V4L2 driver. logiCVC dynamic configuration to preferred resolution of connected display, according to EDID. Improved driver configuration from kernel configuration menu and DTS file. Signed-off-by: Davor Joja <davor.joja@logicbricks.com> | 19 March 2013, 08:46:26 UTC |
e572379 | Dan Christensen | 17 March 2013, 09:48:56 UTC | microblaze: intc: set the default irq_domain Register the irq_domain created during initialization as the default so that device drivers can pass NULL to irq_create_mapping and get a virtual irq to pass to request_irq. Signed-off-by: Dan Christensen <opello@opello.org> | 19 March 2013, 08:46:25 UTC |
068160c | Michal Simek | 15 March 2013, 17:39:09 UTC | Merge commit 'v3.8' into master-next ARM Zynq: Start to use ARM MULTI option (side-effect remove mach-zynq/include folder) Use smp_operations Drivers: Remove mainline clk driver and use origin one. Remove __devinit, __devexit, __definitdata, __devexit_p, __exit_p from all drivers dma: DMA: PL330: Remove controller clock enable/disable (sha1: faf6fbc6f2ca3b34bf464a8bb079a998e571957c) DMA: PL330: Remove redundant runtime_suspend/resume functions (sha1: 7c71b8eb268ee38235f7e924d943ea9d90e59469) Nand: "mtd: kill MTD_NAND_VERIFY_WRITE" (sha1: 657f28f8811c92724db10d18bbbec70d540147d6) USB ehci: USB: EHCI: remove ehci_port_power() routine (sha1: c73cee717e7d5da0698acb720ad1219646fe4f46) USB gadget: usb: gadget: remove global variable composite in composite.c (sha1: ffe0b335062505a98d7296dae2c2a197713f87e0) usb: gadget: Clear usb_endpoint_descriptor inside the struct usb_ep on disable (sha1: f9c56cdd3905c96c600456203637bd7ec8ec6383) usb: gadget: rename usb_gadget_driver::speed to max_speed (sha1: 7177aed44f515d949f587170e0e177ce17e74793) usb: udc: Fix gadget driver's speed check in various UDC drivers (sha1: bfe0658b402dab3d6fbef4b7bd81a46d0e68eb86) USB: use usb_endpoint_maxp() instead of le16_to_cpu() (sha1: 29cc88979a8818cd8c5019426e945aed118b400e) USB otg: usb: move children to struct usb_port (sha1: ff823c79a5c33194c2e5594f7c4686ea3547910c) Signed-off-by: Michal Simek <michal.simek@xilinx.com> | 19 March 2013, 08:39:59 UTC |
2530265 | Michal Simek | 15 March 2013, 14:59:14 UTC | cfi: Remove CFI_MFR_NMX and use CFI_MFR_INTEL instead Do not define already defined macro. Signed-off-by: Michal Simek <michal.simek@xilinx.com> | 15 March 2013, 17:35:39 UTC |
3a48d14 | Chris Kohn | 14 March 2013, 23:04:16 UTC | arm: zynq: fix indentation and formatting use tabs consistently for indentation Signed-off-by: Christian Kohn <christian.kohn@xilinx.com> | 15 March 2013, 17:35:39 UTC |
9e32e88 | Michal Simek | 15 March 2013, 10:31:17 UTC | usb: gadget: usbps_udc: Enable kernel module Enable option to compile kernel module. Signed-off-by: Michal Simek <michal.simek@xilinx.com> | 15 March 2013, 17:35:38 UTC |
a7e5b97 | Srikanth Thokala | 14 March 2013, 03:00:34 UTC | xilinx: vdma: External frame sync issue This fixes external frame sync issue. Signed-off-by: SrikanthT <sthokal@xilinx.com> Signed-off-by: Radhey Shyam Pandey <radheys@xilinx.com> | 15 March 2013, 17:35:37 UTC |
010f45f | Subbaraya Sundeep Bhatta | 14 March 2013, 10:49:32 UTC | usb: gadget: Renamed endpoint names Renamed endpoint names since they generally need to include endpoint numbers. ep-a -> ep-1 . . ep-g -> ep-7 Signed-off-by: Subbaraya Sundeep Bhatta <sbhatta@xilinx.com> | 15 March 2013, 17:35:36 UTC |
63cb767 | Subbaraya Sundeep Bhatta | 14 March 2013, 10:49:31 UTC | usb: gadget: Renamed udc_reinit function Renamed to maintain consistency udc_reinit -> xudc_reinit Signed-off-by: Subbaraya Sundeep Bhatta <sbhatta@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com> | 15 March 2013, 17:35:35 UTC |
a84ace1 | Subbaraya Sundeep Bhatta | 14 March 2013, 10:49:29 UTC | usb: gadget: Changed variable names to use small case Modified variable names to small case as per coding guidelines Signed-off-by: Subbaraya Sundeep Bhatta <sbhatta@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com> | 15 March 2013, 17:35:34 UTC |
f634e5d | Subbaraya Sundeep Bhatta | 14 March 2013, 10:49:28 UTC | usb: gadget: Added macros to avoid magic values Added macros and updated functions to use macros instead of magic values. Signed-off-by: Subbaraya Sundeep Bhatta <sbhatta@xilinx.com> | 15 March 2013, 17:35:33 UTC |
9eb2678 | Subbaraya Sundeep Bhatta | 14 March 2013, 10:49:25 UTC | usb: gadget: Updated usb_gadget_unregister_driver function Updated usb_gadget_unregister_driver function to stop the device prior to unbinding Signed-off-by: Subbaraya Sundeep Bhatta <sbhatta@xilinx.com> | 15 March 2013, 17:35:32 UTC |
4226471 | Subbaraya Sundeep Bhatta | 14 March 2013, 10:49:24 UTC | usb: gadget: Replaced IO functions in_be32 -> udc->read_fn out_be32 -> udc->write_fn IO functions are called based on IP Endianess Signed-off-by: Subbaraya Sundeep Bhatta <sbhatta@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com> | 15 March 2013, 17:35:31 UTC |
29c54b8 | Subbaraya Sundeep Bhatta | 14 March 2013, 10:49:27 UTC | usb: gadget: Updated as per latest usb gadget framework-cont - Added xusb_release function - Renamed usb_gadget_register_driver -> xudc_start - Renamed usb_gadget_unregister_driver -> xudc_stop - Modified xudb_udc_ops structure to include xudc_start and xudc_stop - Modified controller structure to include xusb_release Signed-off-by: Subbaraya Sundeep Bhatta <sbhatta@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com> | 15 March 2013, 17:35:30 UTC |
17c2661 | Subbaraya Sundeep Bhatta | 14 March 2013, 10:49:26 UTC | usb: gadget: Updated as per latest usb gadget framework-init Modified usb_of_probe, xudc_init, usb_of_remove and xusb_remove functions as per latest usb gadget framework Signed-off-by: Subbaraya Sundeep Bhatta <sbhatta@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com> | 15 March 2013, 17:35:29 UTC |
4756871 | Subbaraya Sundeep Bhatta | 14 March 2013, 10:49:23 UTC | usb: gadget: Minor code cleanups - Remove trailing spaces - Add tabs - Line over 80 characters Signed-off-by: Subbaraya Sundeep Bhatta <sbhatta@xilinx.com> | 15 March 2013, 17:35:28 UTC |
ba3811b | Subbaraya Sundeep Bhatta | 14 March 2013, 10:49:34 UTC | usb: gadget: Added required header files Added required header files. Replaced : SA_RESTART -> IRQF_SHARED Signed-off-by: Subbaraya Sundeep Bhatta <sbhatta@xilinx.com> | 15 March 2013, 17:35:27 UTC |
7a21833 | Subbaraya Sundeep Bhatta | 14 March 2013, 10:49:33 UTC | usb: gadget: Removed NO_IRQ Updated usb_of_probe not to use NO_IRQ Signed-off-by: Subbaraya Sundeep Bhatta <sbhatta@xilinx.com> | 15 March 2013, 17:35:26 UTC |
837e64f | Subbaraya Sundeep Bhatta | 14 March 2013, 10:49:22 UTC | usb: gadget: Replaced of_platform_driver with platform_driver of_platform_driver -> platform_driver Signed-off-by: Subbaraya Sundeep Bhatta <sbhatta@xilinx.com> | 15 March 2013, 17:35:25 UTC |
0402940 | Srikanth Thokala | 13 March 2013, 14:28:10 UTC | net: ethernet: axienet: Added memory barriers to remove potential issues This patch puts a write memory barrier to ensure successful BD update before starting the DMA transmit engine. Similarly, a read memory barrier is required to ensures that the relevant BD status fields are updated before the SW processes them. Signed-off-by: Srikanth Thokala <sthokal@xilinx.com> | 15 March 2013, 17:35:24 UTC |
5381389 | Srikanth Thokala | 13 March 2013, 14:28:09 UTC | net: ethernet: axienet: Support for RGMII This patch adds support for the RGMII. The h/w configuration parameter C_PHY_TYPE, which represents the interface configured in the design, is used to differentiate various interfaces supported by AXI Ethernet. Signed-off-by: Srikanth Thokala <sthokal@xilinx.com> | 15 March 2013, 17:35:23 UTC |
1d44be0 | Michal Simek | 12 March 2013, 12:05:13 UTC | arm: zynq: Do not use isa dma infrastructure and remove old pl330 driver - Disable ISA_DMA_API and remove appropriate headers - Update defconfig and enable mainline pl330 driver - Remove old pl330 driver with configuration option Signed-off-by: Michal Simek <michal.simek@xilinx.com> | 15 March 2013, 17:35:22 UTC |
b9965a5 | Naveen Mamindlapalli | 12 March 2013, 07:49:51 UTC | arm: zynq: Added dts entry for Zynq PL330 amba device. Added dts entry for Zynq PL330 amba device. Signed-off-by: Naveen Mamindlapalli <naveenm@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com> | 15 March 2013, 17:35:21 UTC |
75aa94f | Naveen Mamindlapalli | 12 March 2013, 07:49:48 UTC | DMA: PL330: Added support for Zynq PL330 interrupt configuration. Added support for Zynq PL330 interrupt configuration. Zynq supports 8 DMA interrupts and 1 DMA abort interrupt. The device tree needs to generate all the interrupts. Signed-off-by: Naveen Mamindlapalli <naveenm@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com> | 15 March 2013, 17:35:20 UTC |
3e891d3 | Naveen Mamindlapalli | 12 March 2013, 07:49:50 UTC | clk: zynq: Added PL330 DMA clock. Added PL330 DMA clock. Signed-off-by: Naveen Mamindlapalli <naveenm@xilinx.com> | 15 March 2013, 17:35:15 UTC |
23ef060 | Naveen Mamindlapalli | 12 March 2013, 08:25:39 UTC | dmatest: Fixed alignment issue with PL330 DMA driver for Zynq. Fixed alignment issue with PL330 DMA driver for Zynq. This takes care of MFIFO alignment issues. This needs to be taken care by the PL330 driver. Signed-off-by: Naveen Mamindlapalli <naveenm@xilinx.com> | 12 March 2013, 14:01:16 UTC |
f3765f4 | Naveen Mamindlapalli | 12 March 2013, 07:49:49 UTC | arm: amba: Increased number of irqs to handle Zynq PL330 interrupts. Increased number of irqs to handle PL330 DMA interrupts. There are total 9 interrupts supported by Zynq PL330 DMA block. Signed-off-by: Naveen Mamindlapalli <naveenm@xilinx.com> | 12 March 2013, 14:01:15 UTC |
330e8f5 | Michal Simek | 12 March 2013, 11:02:22 UTC | arm: smp: Remove xilinx ancient hack in common code No reason to hack common code. Signed-off-by: Michal Simek <michal.simek@xilinx.com> | 12 March 2013, 11:29:28 UTC |
87e2359 | Michal Simek | 12 March 2013, 11:11:05 UTC | usb: c67x00: trivial: Clean coding style Remove trailing white spaces. Signed-off-by: Michal Simek <michal.simek@xilinx.com> | 12 March 2013, 11:29:27 UTC |
2091e73 | Michal Simek | 12 March 2013, 11:05:35 UTC | arm: zynq: Remove slcr.h It is controversial patch because xilinx_devcfg contains some externs which shouldn't contain but we can live with this for now because that driver needs to be changed anyway. Signed-off-by: Michal Simek <michal.simek@xilinx.com> | 12 March 2013, 11:29:26 UTC |
c6022c5 | Michal Simek | 12 March 2013, 11:04:23 UTC | arm: zynq: Move xilinx_system_reset to common.c Move this function out of header. Signed-off-by: Michal Simek <michal.simek@xilinx.com> | 12 March 2013, 11:29:25 UTC |
ba05e00 | Michal Simek | 11 March 2013, 13:23:27 UTC | arm: zynq: Fix compilation warning in suspend code This should be the part of this patch: "arm: zynq: Suspend support" (sha1: 74c679a6809cda93ac7de54fe2ae632974c25409) Signed-off-by: Michal Simek <michal.simek@xilinx.com> | 11 March 2013, 13:50:16 UTC |
03b8c8b | Michal Simek | 11 March 2013, 13:10:40 UTC | configs: Update zynq defconfig to reflect changes - enable SMC - gpio changes because of dynamic irq allocation - enable xilinx dma drivers + test modules Signed-off-by: Michal Simek <michal.simek@xilinx.com> | 11 March 2013, 13:30:11 UTC |
1ab6ac1 | Naveen Mamindlapalli | 08 March 2013, 14:45:29 UTC | usb: xilinxps_udc: Added support for Test Mode feature The test mode is used for compliance testing of USB devices. All the devices must support this feature for compliance. As part of this feature, the host sends SET_FEATURE command with TEST_MODE feature and device needs to enable that test mode. The exit from TEST_MODE is to power cycle the device. There are 5 test modes as given below. 1. Test_SE0_NAK 2. Test_J 3. Test_K 4. Test_Packet 5. Test_Force_Enable For more information, refer to "section 7.1.20 Test Mode Support" of USB 2.0 spec. Signed-off-by: Naveen Mamindlapalli <naveenm@xilinx.com> | 11 March 2013, 13:28:22 UTC |
a773b47 | Naveen Mamindlapalli | 08 March 2013, 14:46:19 UTC | usb: xilinxps_udc: Fixed USB MSC error recovery test failure Fixed USB mass storage class error recovery test failure as part of compliance testing using windows USBCV. If the CBW is not valid, the device shall STALL the Bulk-In pipe. Also, the device shall either STALL the Bulk-Out pipe, or the device shall accept and discard any Bulk-Out data. The device shall maintain this state until a Reset Recovery. Signed-off-by: Naveen Mamindlapalli <naveenm@xilinx.com> | 11 March 2013, 13:28:21 UTC |
d654691 | Naveen Mamindlapalli | 08 March 2013, 14:46:18 UTC | usb: xilinxps_udc: Fixed kernel crash during gadget driver unloading. Fixed kernel crash when unloading the gadget driver. The crash is happening because of accessing otg related pointers when otg driver is not probed. The USB controller driver is in peripheral mode. Signed-off-by: Naveen Mamindlapalli <naveenm@xilinx.com> | 11 March 2013, 13:28:20 UTC |
d5d710a | Naveen Mamindlapalli | 08 March 2013, 14:46:17 UTC | usb: xilinxps_udc: Fixed USB halt endpoint support. Fixed USB halt endpoint support as part of compliance testing using Windows USBCV tool. The halt endpoint test is working with g_mass_storage and g_ether gadget. It fails with g_zero because of g_zero queuing some BULK requests and DCD is checking whether endpoint request queue is empty before halting. Signed-off-by: Naveen Mamindlapalli <naveenm@xilinx.com> | 11 March 2013, 13:28:19 UTC |
6ee3671 | Srikanth Thokala | 08 March 2013, 12:29:14 UTC | microblaze: pcie: Fix section mismatch errors This patch fix section mismatch errors. WARNING: vmlinux.o(.text+0x81d4): Section mismatch in reference from the function pcibios_allocate_bus_resources() to the function .init.text:reparent_resources() The function pcibios_allocate_bus_resources() references the function __init reparent_resources(). This is often because pcibios_allocate_bus_resources lacks a __init annotation or the annotation of reparent_resources is wrong. WARNING: vmlinux.o(.text+0x88d8): Section mismatch in reference from the function pcibios_finish_adding_to_bus() to the function .devinit.text:pcibios_claim_one_bus() The function pcibios_finish_adding_to_bus() references the function __devinit pcibios_claim_one_bus(). This is often because pcibios_finish_adding_to_bus lacks a __devinit annotation or the annotation of pcibios_claim_one_bus is wrong. WARNING: vmlinux.o(.text+0x8df0): Section mismatch in reference from the function fixup_xilinx_axipcie_bridge() to the variable .devinit.data:xilinx_axipcie_match The function fixup_xilinx_axipcie_bridge() references the variable __devinitdata xilinx_axipcie_match. This is often because fixup_xilinx_axipcie_bridge lacks a __devinitdata annotation or the annotation of xilinx_axipcie_match is wrong. Signed-off-by: Srikanth Thokala <sthokal@xilinx.com> | 11 March 2013, 13:28:18 UTC |
efe8040 | Srikanth Thokala | 08 March 2013, 12:29:13 UTC | microblaze: pcie: Fix rescan issues This commit addresses following issues: . Initially, end point is up and running. When a reset is triggered, it clears the bridge-enable bit (it resets on transition from link up to down) resulting in failure of rescan. . Link is not up (EP is in reset state), during kernel boot. Then EP comes to normal state and Link is up (after kernel boot). User cannot issue rescan, as the root port device entry doesn't list in /sys/bus/pci. Signed-off-by: Srikanth Thokala <sthokal@xilinx.com> | 11 March 2013, 13:28:17 UTC |
347be81 | Michal Simek | 04 March 2013, 15:59:36 UTC | uio: Add two platform uio drivers to one - Remove Userspace I/O platform driver without IRQ support - Add support for uio drivers without IRQ - Remove code duplication from OF binding Signed-off-by: Michal Simek <michal.simek@xilinx.com> | 11 March 2013, 13:28:10 UTC |
c0265c7 | Michal Simek | 07 March 2013, 13:13:47 UTC | zynq: Synchronize zed board DTS Synchronize it with the latest device-tree BSP. Signed-off-by: Michal Simek <michal.simek@xilinx.com> | 07 March 2013, 13:16:47 UTC |
7c76ee8 | Michal Simek | 07 March 2013, 12:42:27 UTC | zynq: slcr: Remove sparse warning zynq_slcr_base should be declared in the header. Let's add it. Signed-off-by: Michal Simek <michal.simek@xilinx.com> | 07 March 2013, 13:16:33 UTC |
74c679a | Soren Brinkmann | 05 March 2013, 17:58:50 UTC | arm: zynq: Suspend support Adding initial suspend support to the Zynq architecture. The required suspend functions are implemented and suspend is at least partially working. Clock gating and PLL bypassing heavily depend on device drivers. It's likely that drivers/HW not implementing proper suspend and resume callbacks break when a suspend is triggered. During suspend DRAM is put into self-refresh and all DDR related clocks are stopped and the DDR PLL is bypassed. Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com> | 07 March 2013, 13:16:28 UTC |
a0ddd4c | Jason Wu | 07 March 2013, 02:18:13 UTC | memory:zynq-smc: Use default timing when DTS property is not found If any of the NAND flash timing is missing from the DTS, us the default NAND flash timing. The default flash timing is for 2Gb Numonyx MT29F2G08ABAEAWP NAND flash. Signed-off-by: Jason Wu <huanyu@xilinx.com> | 07 March 2013, 12:25:09 UTC |
4beb332 | Jason Wu | 07 March 2013, 02:18:12 UTC | memory:zynq-smc: Update DTS property for SMC timing Using the default dts property generated by device tree generator. Signed-off-by: Jason Wu <huanyu@xilinx.com> | 07 March 2013, 12:25:08 UTC |
364f011 | Andrei Simion | 07 March 2013, 06:13:09 UTC | xilinx: dts: Update zc706 dts with PLLs Missing PLL entries in the zc706 dts caused kernel boot to hang. Signed-off-by: Andrei Simion <andrei.simion@xilinx.com> Acked-by: Soren Brinkmann <soren.brinkmann@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com> | 07 March 2013, 12:23:36 UTC |
0dc15f1 | Soren Brinkmann | 07 March 2013, 01:16:43 UTC | usb: xusbps: Reuse struct device_node across all usb devices The DT has only a single node for USB, but the driver creates several platform devices, dependent on the USB driver mode. So, synchronize the struct device_node pointers across those devices to refer to the only DT node for USB. Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com> | 07 March 2013, 10:25:15 UTC |
15fbf95 | Soren Brinkmann | 06 March 2013, 00:48:17 UTC | arm: zynq: Remove zynq-ep107.dtb target. Removing the make target for the zynq-ep107.dtb since the dts has already been removed. This should have been part of 'arm: dt: zynq: Remove ep107 dts (sha1: 81030d699bef3f256d61f0c7c971bd03286bd142)' Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com> | 06 March 2013, 06:20:58 UTC |
a87624b | Suneel Garapati | 05 March 2013, 13:18:45 UTC | xilinx: arm: spi: Disable spi while changing clock configuration Disable spi and then change the clock phase and clock polarity configuration in config register and enable spi. This modification is done in setup transfer function. Signed-off-by: Suneel Garapati <suneelg@xilinx.com> | 06 March 2013, 06:20:33 UTC |
34f34ca | Lars-Peter Clausen | 26 February 2013, 13:06:14 UTC | spi: xilinx-ps: Set SPI master mode bits Properly setup master->mode_bits to the supported modes of the device. The SPI core will check if a master can support the mode requested by a SPI slave device. If mode_bits is not initialized the core will error out on all modes but SPI_MODE_0. Also get rid of the mode superfluous checks in xspips_setup_transfer() and xspips_setup(). The SPI core will take care of making sure that this master can support the salve device. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> | 04 March 2013, 17:50:14 UTC |
09f393f | Soren Brinkmann | 01 March 2013, 01:34:40 UTC | arm: zynq: Order Makefile targets alphabetically Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com> | 04 March 2013, 17:50:13 UTC |
81030d6 | Soren Brinkmann | 01 March 2013, 01:34:39 UTC | arm: dt: zynq: Remove ep107 dts The current kernel and dts are not tested on ep107. Hence, remove it. Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com> | 04 March 2013, 17:50:12 UTC |
65ca9b8 | Michal Simek | 04 March 2013, 13:01:20 UTC | usg: gadget: Simplify driver initialization Use module_platform_driver macro which creates init and exit functions. Signed-off-by: Michal Simek <michal.simek@xilinx.com> | 04 March 2013, 13:02:29 UTC |
3986c05 | Lars-Peter Clausen | 22 February 2013, 10:53:29 UTC | memory: zynq-smc: Add a terminating entry to the OF match table Add a terminating entry to the OF match table of the zynq smc driver. Without this the driver may bind to random devices who's compatibility string comes next in memory. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Acked-by: Soren Brinkmann <soren.brinkmann@xilinx.com> | 04 March 2013, 12:41:18 UTC |
9e9f1a2 | Dave Tubbs | 04 March 2013, 11:37:29 UTC | usb: Make sure each c67x00 TD has been executed Make sure each c67x00 TD has been executed or retry using the existing retry mechanism. Reference Cypress Semiconductor BIOS User's Manual 1.2, page 3-16 Signed-off-by: Dave Tubbs <dave.tubbs@portalislc.com> Acked-by: Peter Korsgaard <jacmet@sunsite.dk> | 04 March 2013, 11:42:30 UTC |
53ed359 | Dave Tubbs | 04 March 2013, 11:32:36 UTC | usb: c67x00 RetryCnt value in c67x00 TD should be 3 RetryCnt value in c67x00 TD should be 3 (both bits set to 1). Reference Cypress Semiconductor BIOS User's Manual 1.2, page 3-14 Signed-off-by: Dave Tubbs <dave.tubbs@portalislc.com> Acked-by: Peter Korsgaard <jacmet@sunsite.dk> | 04 March 2013, 11:42:28 UTC |
ef9b601 | Dave Tubbs | 04 March 2013, 11:30:52 UTC | usb: Correction to c67x00 TD data length mask TD data length is 10 bits, correct TD_PORTLENMASK_DL. Reference Cypress Semiconductor BIOS User's Manual 1.2, page 3-10 Signed-off-by: Dave Tubbs <dave.tubbs@portalislc.com> | 04 March 2013, 11:42:27 UTC |
950f65b | Jagannadha Sutradharudu Teki | 15 February 2013, 13:44:18 UTC | xilinx: afx: udpate device tree flash partitions The u-boot was changed and now Linux device tree flash partitions are being cleaned up to allow for a bitstream to be up high in flash. Signed-off-by: Jagannadha Sutradharudu Teki <jaganna@xilinx.com> | 04 March 2013, 10:27:11 UTC |
19f949f | Linus Torvalds | 18 February 2013, 23:58:34 UTC | Linux 3.8 | 18 February 2013, 23:58:34 UTC |
e9cf59a | Linus Torvalds | 18 February 2013, 18:23:40 UTC | Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input Pull input subsystem fixes from Dmitry Torokhov: "Two small driver fixups and a documentation update for managed input devices" * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input: Input: wacom - fix wacom_set_report retry logic Input: document that unregistering managed devices is not necessary Input: lm8323 - fix checking PWM interrupt status | 18 February 2013, 18:23:40 UTC |
7c45512 | Linus Torvalds | 18 February 2013, 17:58:02 UTC | mm: fix pageblock bitmap allocation Commit c060f943d092 ("mm: use aligned zone start for pfn_to_bitidx calculation") fixed out calculation of the index into the pageblock bitmap when a !SPARSEMEM zome was not aligned to pageblock_nr_pages. However, the _allocation_ of that bitmap had never taken this alignment requirement into accout, so depending on the exact size and alignment of the zone, the use of that index could then access past the allocation, resulting in some very subtle memory corruption. This was reported (and bisected) by Ingo Molnar: one of his random config builds would hang with certain very specific kernel command line options. In the meantime, commit c060f943d092 has been marked for stable, so this fix needs to be back-ported to the stable kernels that backported the commit to use the right alignment. Bisected-and-tested-by: Ingo Molnar <mingo@kernel.org> Acked-by: Mel Gorman <mgorman@suse.de> Cc: stable@kernel.org Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> | 18 February 2013, 17:58:02 UTC |
f741656 | Linus Torvalds | 15 February 2013, 20:12:55 UTC | Merge tag 'stable/for-linus-3.8-rc7-tag-two' of git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen Pull xen fixes from Konrad Rzeszutek Wilk: "Two fixes: - A simple bug-fix for redundant NULL check. - CVE-2013-0228/XSA-42: x86/xen: don't assume %ds is usable in xen_iret for 32-bit PVOPS and two reverts: - Revert the PVonHVM kexec. The patch introduces a regression with older hypervisor stacks, such as Xen 4.1." * tag 'stable/for-linus-3.8-rc7-tag-two' of git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen: Revert "xen PVonHVM: use E820_Reserved area for shared_info" Revert "xen/PVonHVM: fix compile warning in init_hvm_pv_info" xen: remove redundant NULL check before unregister_and_remove_pcpu(). x86/xen: don't assume %ds is usable in xen_iret for 32-bit PVOPS. | 15 February 2013, 20:12:55 UTC |
ac89758 | Mauro Carvalho Chehab | 15 February 2013, 15:39:31 UTC | Revert "[media] dvb_frontend: return -ENOTTY for unimplement IOCTL" As reported by Klaus Schmidinger: "In VDR I use an ioctl() call with FE_READ_UNCORRECTED_BLOCKS on a device (using stb0899). After this call I check 'errno' for EOPNOTSUPP to determine whether this device supports this call. This used to work just fine, until a few months ago I noticed that my devices using stb0899 didn't display their signal quality in VDR's OSD any more. After further investigation I found that ioctl(FE_READ_UNCORRECTED_BLOCKS) no longer returns EOPNOTSUPP, but rather ENOTTY. And since I stop getting the signal quality in case any unknown errno value appears, this broke my signal quality query function." While the changes reflect what is there at: http://comments.gmane.org/gmane.linux.kernel/1235728 it does cause regression on userspace. So, revert it to stop the damage. This reverts commit 177ffe506cf8 ("[media] dvb_frontend: return -ENOTTY for unimplement IOCTL"). Reported-by: Klaus Schmidinger <Klaus.Schmidinger@tvdr.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> | 15 February 2013, 20:11:23 UTC |