Re: [RFC PATCH 08/15] ata: ahci_platform: Manage SATA PHY

2013-09-23 Thread Sergei Shtylyov
Hello. On 23-09-2013 11:37, Roger Quadros wrote: Not sure why you asked -- I'm not using this driver, neither I'm Well, you have better grip of what's going on in the embedded world than me. I'm mostly curious whether adding dependency on PHY is okay. There is no hard dependency on p

Re: [RFC PATCH 08/15] ata: ahci_platform: Manage SATA PHY

2013-09-23 Thread Sergei Shtylyov
Hello. On 09/23/2013 01:48 AM, Tejun Heo wrote: @@ -37,6 +37,7 @@ #include #include +#include struct phy; should suffice. Unless it's actually likely to cause inclusion loop, I think it's better to include the header than adding explicit declarations. Apparently, tastes

Re: [PATCH] ARM: dts: am4372: Add McASP nodes

2013-10-21 Thread Sergei Shtylyov
Hello. On 10/21/2013 01:45 PM, Peter Ujfalusi wrote: Add nodes for McASP0 and McASP1 for AM43xx. Signed-off-by: Peter Ujfalusi --- arch/arm/boot/dts/am4372.dtsi | 27 +++ 1 file changed, 27 insertions(+) diff --git a/arch/arm/boot/dts/am4372.dtsi b/arch/arm/boo

Re: [PATCH 1/5] usb: musb: conditionally save and restore the context on suspend

2013-11-26 Thread Sergei Shtylyov
Hello. On 25-11-2013 23:39, Daniel Mack wrote: It appears not all platforms featuring a musb core need to save the musb core registers at suspend time and restore them on resume. The dsps platform does, however. So add a bit in struct musb_hdrc_platform_data to let platforms specify their ne

Re: OMAP baseline test results for v3.13-rc1 (toolchain Debian 4.7.2-5)

2013-12-09 Thread Sergei Shtylyov
Hello. On 12/09/2013 10:14 PM, Tony Lindgren wrote: Boot to userspace: FAIL ( 1/11): 37xxevm So looks like this is due to the switchover to DT-based booting for 37xx EVM. Will plug that in here and re-test. Here's the updated test report. Looks like dynamic idle PM tests are failin

Re: [PATCH 2/2] usb: musb: Rework USB and USB_GADGET dependency

2013-12-26 Thread Sergei Shtylyov
Hello. On 26-12-2013 16:24, Ezequiel Garcia wrote: This USB controller can work in as host-only, gadget-only or dual-role modes. Rework the dependency on the USB and USB_GADGET configs in order to allow building the driver when !USB or !USG_GADGET. Signed-off-by: Ezequiel Garcia [...] di

Re: [RFC PATCH 6/6] ARM: OMAP3: Enable Hardware Save and Restore for USB Host

2013-06-19 Thread Sergei Shtylyov
Hello. On 06/19/2013 06:05 PM, Roger Quadros wrote: To ensure hardware context is restored while resuming from OFF mode we need to enable the Hardware SAR bit for the USB Host power domain. Signed-off-by: Roger Quadros --- arch/arm/mach-omap2/powerdomains3xxx_data.c |8 +--- 1 fi

Re: [PATCH] N900: fix operation on emulator

2013-07-01 Thread Sergei Shtylyov
Hello. On 07/01/2013 06:03 PM, Pavel Machek wrote: Errata workarounds for N900 hardware actually break operation on emulator. Fix it. This approach was suggested by Pali Rohár (thanks!). (Also explain what "sleep_ind" led actually does). Looks like unrelated change and probably wort

Re: [PATCH] N900: fix operation on emulator

2013-07-01 Thread Sergei Shtylyov
Hello. On 07/01/2013 11:51 PM, Pavel Machek wrote: Errata workarounds for N900 hardware actually break operation on emulator. Fix it. This approach was suggested by Pali Rohár (thanks!). (Also explain what "sleep_ind" led actually does). Looks like unrelated change and probably wo

Re: [PATCH] musb: omap: Fix: pass all the resources to musb core

2013-07-08 Thread Sergei Shtylyov
Hello. On 08-07-2013 14:55, Kishon Vijay Abraham I wrote: commit 09fc7d (usb: musb: fix incorrect usage of resource pointer) assumes musb core will always have only 2 resources. But for OMAP platforms there can be 3 resources (2 irq resource and 1 iomem resource). Fixed it here. Signed-off-b

Re: [PATCH v2] arm: dts: AM43x: Add usb_otg_hs node

2013-07-09 Thread Sergei Shtylyov
Hello. On 09-07-2013 13:17, George Cherian wrote: Adds device node for HS USB Host module for AM437x changes from v1 renamed synopsis to snps removed flag tx-fifo-resize Signed-off-by: George Cherian --- arch/arm/boot/dts/am4372.dtsi | 18 ++ 1 file changed, 18 inse

Re: [PATCH v2] arm: dts: AM43x: Add usb_otg_hs node

2013-07-09 Thread Sergei Shtylyov
Hello. On 07/09/2013 06:07 PM, Sergei Shtylyov wrote: Adds device node for HS USB Host module for AM437x changes from v1 renamed synopsis to snps removed flag tx-fifo-resize Signed-off-by: George Cherian --- arch/arm/boot/dts/am4372.dtsi | 18 ++ 1 file changed, 18

Re: [PATCH v4 1/2] ARM: dts: twl: Add GPADC data to device tree

2013-07-16 Thread Sergei Shtylyov
Hello. On 07/16/2013 03:34 PM, Oleksandr Kozaruk wrote: GPADC is the general purpose ADC present on twl6030. The dt data is interrupt used to trigger end of ADC conversion. Signed-off-by: Oleksandr Kozaruk --- arch/arm/boot/dts/twl6030.dtsi | 6 ++ 1 file changed, 6 insertions(+)

Re: [PATCH v5 1/2] ARM: dts: twl: Add GPADC data to device tree

2013-07-17 Thread Sergei Shtylyov
Hello. On 17-07-2013 15:12, Oleksandr Kozaruk wrote: GPADC is the general purpose ADC present on twl6030. The dt data is interrupt used to trigger end of ADC conversion. Signed-off-by: Oleksandr Kozaruk --- arch/arm/boot/dts/twl6030.dtsi | 6 ++ 1 file changed, 6 insertions(+) dif

Re: [PATCH v2 3/4] arm: dts: Add USB phy nodes for AM33XX

2013-07-19 Thread Sergei Shtylyov
Hello. On 19-07-2013 16:34, George Cherian wrote: Add phy nodes for AM33XX platform and split the musb nodes per instance. Signed-off-by: Sebastian Andrzej Siewior Signed-off-by: George Cherian --- arch/arm/boot/dts/am33xx.dtsi | 68 +-- 1 file ch

Re: [PATCH v6 1/2] ARM: dts: twl: Add GPADC data to device tree

2013-07-19 Thread Sergei Shtylyov
Hello. On 19-07-2013 13:27, Oleksandr Kozaruk wrote: GPADC is the general purpose ADC present on twl6030. The dt data is interrupt used to trigger end of ADC conversion. Signed-off-by: Oleksandr Kozaruk --- arch/arm/boot/dts/twl6030.dtsi | 6 ++ 1 file changed, 6 insertions(+) dif

Re: [PATCH v6 1/2] ARM: dts: twl: Add GPADC data to device tree

2013-07-19 Thread Sergei Shtylyov
Hello. On 07/19/2013 07:40 PM, Grygorii Strashko wrote: GPADC is the general purpose ADC present on twl6030. The dt data is interrupt used to trigger end of ADC conversion. Signed-off-by: Oleksandr Kozaruk --- arch/arm/boot/dts/twl6030.dtsi | 6 ++ 1 file changed, 6 insertions(+)

Re: [PATCH v2 3/4] arm: dts: Add USB phy nodes for AM33XX

2013-07-19 Thread Sergei Shtylyov
Hello. On 07/19/2013 06:20 PM, Sebastian Andrzej Siewior wrote: diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi index 8e1248f..e3890c4 100644 --- a/arch/arm/boot/dts/am33xx.dtsi +++ b/arch/arm/boot/dts/am33xx.dtsi @@ -326,21 +326,59 @@ status = "disable

Re: [PATCH] ARM: OMAP3EVM: Marking omap3_evm_display_init() with CONFIG_BROKEN

2013-07-22 Thread Sergei Shtylyov
Hello. On 22-07-2013 9:29, Paul Walmsley wrote: From: Lokesh Vutla On 37xx EVM non-dt boot fails with current mainline, because of broken GPIO numbering in the board file that uses hardcoded GPIOs. So marking omap3_evm_display_init() with CONFIG_BROKEN for now as suggested by Tony as per

Re: [PATCH] usb: dwc3: core: modify IO memory resource after deferred probe completes

2013-07-25 Thread Sergei Shtylyov
On 07/25/2013 08:26 PM, Ivan T. Ivanov wrote: From: "Ivan T. Ivanov" When deferred probe happens driver will try to ioremap multiple times and will fail. Memory resource.start variable is a global variable, modifications in this field will be accumulated on every probe. Fix this by moving th

Re: [PATCH 1/3] arm: dts: am33xx.dtsi: Add node name to rtc device node

2014-02-05 Thread Sergei Shtylyov
Hello. On 02/05/2014 03:12 PM, Stefan Roese wrote: Making it possible to reference and therefor change (disable) this device node from other dts file which import this dtsi file. Signed-off-by: Stefan Roese Cc: Lukas Stockmann Cc: Benoit Cousson Cc: Tony Lindgren --- arch/arm/boot/dts/

Re: [PATCH v3 0/6] IIO pulse capture support for TI ECAP

2014-02-05 Thread Sergei Shtylyov
Hello. On 02/05/2014 10:01 PM, Matt Porter wrote: [...] This series adds support for PWM capture devices within IIO and adds a TI ECAP IIO driver. PWM capture devices are supported using a new IIO "pulse" channel type. The IIO ECAP driver implements interrupt driven triggered buffer capt

[PATCH 1/2] usb: rename 'phy' field of 'struct usb_hcd' to 'transceiver'

2014-04-09 Thread Sergei Shtylyov
Return to the 'phy' field of 'struct usb_hcd' its historic name 'transceiver'. This is in preparation to adding the generic PHY support. Signed-off-by: Sergei Shtylyov --- This patch is against the 'usb-next' branch of Greg KH's 'usb

Re: [PATCH 1/2] usb: rename 'phy' field of 'struct usb_hcd' to 'transceiver'

2014-04-09 Thread Sergei Shtylyov
Hello. On 04/09/2014 07:31 PM, Stephen Warren wrote: Return to the 'phy' field of 'struct usb_hcd' its historic name 'transceiver'. This is in preparation to adding the generic PHY support. Surely if the correct term is transceiver, we should be adding generic transceiver support not generic

Re: [PATCH 1/2] usb: rename 'phy' field of 'struct usb_hcd' to 'transceiver'

2014-04-09 Thread Sergei Shtylyov
On 04/09/2014 08:48 PM, Stephen Warren wrote: Return to the 'phy' field of 'struct usb_hcd' its historic name 'transceiver'. This is in preparation to adding the generic PHY support. Surely if the correct term is transceiver, we should be adding generic transceiver support not generic PHY sup

Re: [PATCH 1/2] usb: rename 'phy' field of 'struct usb_hcd' to 'transceiver'

2014-04-09 Thread Sergei Shtylyov
On 04/09/2014 09:37 PM, Stephen Warren wrote: Return to the 'phy' field of 'struct usb_hcd' its historic name 'transceiver'. This is in preparation to adding the generic PHY support. Surely if the correct term is transceiver, we should be adding generic transceiver support not generic PHY sup

Re: [PATCH 1/2] usb: rename 'phy' field of 'struct usb_hcd' to 'transceiver'

2014-04-09 Thread Sergei Shtylyov
Hello. On 04/09/2014 09:56 PM, Alan Stern wrote: Ok, the existing field is being replaced by something? I didn't get that No, not replaced. I'm adding the support for generic PHY to the existing USB PHY support. I thought that was clear from the changelog. from the patch description;

Re: [PATCH 1/2] usb: rename 'phy' field of 'struct usb_hcd' to 'transceiver'

2014-04-09 Thread Sergei Shtylyov
On 04/09/2014 11:01 PM, Stephen Warren wrote: Ok, the existing field is being replaced by something? I didn't get that No, not replaced. I'm adding the support for generic PHY to the existing USB PHY support. I thought that was clear from the changelog. from the patch description; I

Re: [PATCH 1/2] usb: rename 'phy' field of 'struct usb_hcd' to 'transceiver'

2014-04-10 Thread Sergei Shtylyov
On 10-04-2014 13:20, David Laight wrote: It doesn't do any pin muxing. It switches SoC internal USB signals between USB controllers. The pins remain the same. Doesn't something like that already happen for the companion USB1 controllers for USB2 ports? Did you mean USB 1.1 and USB 2

Re: [PATCH 1/2] usb: rename 'phy' field of 'struct usb_hcd' to 'transceiver'

2014-04-10 Thread Sergei Shtylyov
On 10-04-2014 15:14, David Laight wrote: It doesn't do any pin muxing. It switches SoC internal USB signals between USB controllers. The pins remain the same. Doesn't something like that already happen for the companion USB1 controllers for USB2 ports? Did you mean USB 1.1 and U

Re: [PATCH 1/6] PM / clock_ops: Add helpers combining generic runtime and generic clock PM

2014-04-24 Thread Sergei Shtylyov
Hello. On 24-04-2014 14:26, Geert Uytterhoeven wrote: Add helpers pm_generic_runtime_clk_suspend() and pm_generic_clk_runtime_resume(), combining generic runtime PM and generic clock PM. Signed-off-by: Geert Uytterhoeven [...] diff --git a/include/linux/pm_clock.h b/include/linux/pm_clo

Re: [PATCH 11/23] ARM: dts: omap5-uevm.dts: add tca6424a

2014-04-24 Thread Sergei Shtylyov
Hello. On 24-04-2014 14:17, Tomi Valkeinen wrote: omap5-uevm has a tca6424a I/O expander. Add it to the .dts file. Signed-off-by: Tomi Valkeinen Cc: Tony Lindgren --- arch/arm/boot/dts/omap5-uevm.dts | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/omap5-ue

Re: [PATCH 11/23] ARM: dts: omap5-uevm.dts: add tca6424a

2014-04-24 Thread Sergei Shtylyov
Hello. On 04/24/2014 06:33 PM, Tomi Valkeinen wrote: omap5-uevm has a tca6424a I/O expander. Add it to the .dts file. Signed-off-by: Tomi Valkeinen Cc: Tony Lindgren --- arch/arm/boot/dts/omap5-uevm.dts | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/oma

Re: [PATCH 07/10] ARM: dts: DRA7: Add DT node for DES IP

2014-04-26 Thread Sergei Shtylyov
Hello. On 26-04-2014 3:02, Joel Fernandes wrote: DRA7xx SoCs have a DES3DES IP. Add DT data for the same. Signed-off-by: Joel Fernandes --- arch/arm/boot/dts/dra7.dtsi | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/dra7.dtsi b/arch/arm/boot/dts/dra

Re: [PATCH v2 5/7] phy: omap-usb2: Add clock names to Documentation binding

2014-04-28 Thread Sergei Shtylyov
Hello. On 04/28/2014 06:01 PM, Roger Quadros wrote: Add "wkupclk" and "refclk" information to DT binding information. Signed-off-by: Roger Quadros --- Documentation/devicetree/bindings/phy/ti-phy.txt | 7 +++ 1 file changed, 7 insertions(+) diff --git a/Documentation/devicetree/bi

Re: [PATCH v2 1/6] usb: dwc3: dwc3-omap: Remove x_major calculation from revision register

2014-05-19 Thread Sergei Shtylyov
Hello. On 19-05-2014 12:32, George Cherian wrote: Remove the x_major calculation logic from the wrapper revision register to differentiate between OMAP5 and AM437x. This was done to find the register offsets of wrapper register. Now that We do it using dt compatible, remove the whole logic.

Re: [PATCH v5 5/6] usb: musb: dsps: Add the sw_babble_control()

2014-05-22 Thread Sergei Shtylyov
Hello. On 22-05-2014 10:29, George Cherian wrote: Add sw_babble_control() logic to differentiate between transient babble and real babble condition. Also add the SW babble control register definitions. Babble control register logic is implemented in the latest revision of AM335x. Signed-o

Re: [PATCH v5 5/6] usb: musb: dsps: Add the sw_babble_control()

2014-05-22 Thread Sergei Shtylyov
On 22-05-2014 10:29, George Cherian wrote: Add sw_babble_control() logic to differentiate between transient babble and real babble condition. Also add the SW babble control register definitions. Babble control register logic is implemented in the latest revision of AM335x. Signed-off-by: G

Re: [PATCH v5 6/6] usb: musb: dsps: Enable sw babble control for newer silicon

2014-05-22 Thread Sergei Shtylyov
Hello. On 22-05-2014 10:29, George Cherian wrote: Find whether we are running on newer silicon. The babble control register reads 0x4 by default in newer silicon as opposed to 0 in old versions of AM335x. Based on this enable the sw babble control logic. Signed-off-by: George Cherian ---

Re: [PATCH 3/6] phy: core: Support regulator supply for PHY power

2014-07-02 Thread Sergei Shtylyov
Hello. On 07/02/2014 04:03 PM, Roger Quadros wrote: Some PHYs can be powered by an external power regulator. e.g. USB_HS PHY on DRA7 SoC. Make the PHY core support a power regulator. Signed-off-by: Roger Quadros --- drivers/phy/phy-core.c | 32 include/l

Re: [PATCH] Removes FIXME message in usb.c

2014-07-09 Thread Sergei Shtylyov
Hello. On 07/09/2014 05:58 AM, Nicholas Krause wrote: This patch removes a fixme message in this file:wq for setting the usb 2 The vim's commands interspersed with text? :-) speed on the board to the correct level. We need to depend on the bootloader for doing this as the wires may be sh

Re: [net-next PATCH 1/1] drivers: net: cpsw: fix kernel warn on cpsw irq enable

2013-04-26 Thread Sergei Shtylyov
Hello. On 26-04-2013 15:30, Mugunthan V N wrote: With the commit id a11fbba Please also specify that commit's summary line in parens. from Sebastian Siewior, a kernel warning is generated as below. This warning is generated as the irq_enabled is not initialized for the primary interface

Re: [PATCH 1/3] drivers: regulator: palmas: add an API to set/clear the switch bit on SMPS10

2013-05-24 Thread Sergei Shtylyov
Hello. On 24-05-2013 18:31, Kishon Vijay Abraham I wrote: From: Graeme Gregory Added an API to set/clear the switch bit on SMPS10 which can be used by palmas usb. The switch bit should be set in order for palmas to supply VBUS and is needed when OMAP is acting as USB HOST. Signed-off-by:

Re: [PATCH v2] usb: omap2430: fix memleak in err case

2013-05-28 Thread Sergei Shtylyov
Hello. On 22-05-2013 7:30, Libo Chen wrote: when omap_get_control_dev faild, we should release related platform_device * Changelog from v1: * fix spell: s/fail/fails/, s/relational/related/ , thank Sergei It seems you've actually replaced "fail" with "faild", not "fails". Si

Re: [PATCH] usb: dwc3: Addition of "dr_mode" dt property.

2013-05-30 Thread Sergei Shtylyov
Hello. On 05/31/2013 12:14 AM, Ruchika Kharwar wrote: This patch adds an optional parameter "dr_mode" to the dwc3 core device node. In the case the compile flag for the DWC3 controller is set to "USB_DWC3_DUAL_ROLE" a device tree could restrain to either functionality of host or gadget. In the

Re: [net-next PATCH 1/8] drivers: net: phy: at803x code cleanup on register and unregister driver

2013-06-04 Thread Sergei Shtylyov
Hello. On 04-06-2013 10:10, Mugunthan V N wrote: Make use of phy_drivers_register/phy_drivers_unregister to register/unregister multiple phy drivers in a single module. Cc: Matus Ujhelyi Signed-off-by: Mugunthan V N --- drivers/net/phy/at803x.c | 35 ++-

Re: [net-next PATCH 1/8] drivers: net: phy: at803x code cleanup on register and unregister driver

2013-06-04 Thread Sergei Shtylyov
On 06/04/2013 04:43 PM, Mugunthan V N wrote: Make use of phy_drivers_register/phy_drivers_unregister to register/unregister multiple phy drivers in a single module. Cc: Matus Ujhelyi Signed-off-by: Mugunthan V N --- drivers/net/phy/at803x.c | 35 ++-

[PATCH v5 0/2] Add generic PHY support to USB HCD

2014-09-04 Thread Sergei Shtylyov
Hello. This patchset is against the usb-next' branch of Greg KH's 'usb.git' repo. Here I add support for the generic PHY to the 'struct usb_hcd' (having to rename the existing 'phy' field to 'usb_phy' beforehand). This was mainly intended to be used with the PCI OHCI/EHCI drivers and also xHCI

[PATCH v5 1/2] usb: rename phy to usb_phy in HCD

2014-09-04 Thread Sergei Shtylyov
lvstest.c' file, resolved rejects caused by patch reordering, updated changelog.] Signed-off-by: Sergei Shtylyov Acked-by: Alan Stern --- Changes in version 5: - imported the patch from Antoine Tenart's series; - added missing 'drivers/usb/misc/lvstest.c' file; - resolved rejects caus

Re: [PATCH 05/13] ARM: dts: DRA7: Add DCAN nodes

2014-09-08 Thread Sergei Shtylyov
Hello. On 9/8/2014 6:10 PM, Roger Quadros wrote: The SoC supports 2 DCAN nodes. Add them. Signed-off-by: Roger Quadros --- arch/arm/boot/dts/dra7.dtsi | 30 ++ 1 file changed, 30 insertions(+) diff --git a/arch/arm/boot/dts/dra7.dtsi b/arch/arm/boot/dts/dra

Re: [PATCH v5 1/2] usb: rename phy to usb_phy in HCD

2014-09-24 Thread Sergei Shtylyov
t [Sergei: added missing 'drivers/usb/misc/lvstest.c' file, resolved rejects caused by patch reordering, updated changelog.] Signed-off-by: Sergei Shtylyov Acked-by: Alan Stern Acked-by: Felipe Balbi --- Changes in version 5: - imported the patch from Antoine Tenart's series; - a

[PATCH v6 0/2] Add generic PHY support to USB HCD

2014-09-24 Thread Sergei Shtylyov
Hello. This patchset is against the usb-next' branch of Greg KH's 'usb.git' repo. Here I add support for the generic PHY to the 'struct usb_hcd' (having to rename the existing 'phy' field to 'usb_phy' beforehand). This was mainly intended to be used with the PCI OHCI/EHCI drivers and also xHCI

[PATCH v6 1/2] usb: rename phy to usb_phy in HCD

2014-09-24 Thread Sergei Shtylyov
lvstest.c' file, resolved rejects, updated changelog.] Signed-off-by: Sergei Shtylyov Acked-by: Alan Stern --- Changes in version 6: - resolved reject, refreshed the patch. Changes in version 5: - imported the patch from Antoine Tenart's series; - added missing 'drivers/usb/misc/lvste

Re: [PATCH v6 1/2] usb: rename phy to usb_phy in HCD

2014-09-24 Thread Sergei Shtylyov
ine Tenart [Sergei: added missing 'drivers/usb/misc/lvstest.c' file, resolved rejects, updated changelog.] Signed-off-by: Sergei Shtylyov Acked-by: Alan Stern Acked-by: Felipe Balbi Sorry, forgot to collect your ACK from the previous posting. :-/ WBR, Sergei -- To unsubscribe from

[PATCH] omap2430: use MUSB_DEVCTL_BDEVICE

2014-10-23 Thread Sergei Shtylyov
The OMAP2+ MUSB glue layer still uses a bare number for the DEVCTL.B-Device bit in one place, while there's #define MUSB_DEVCTL_BDEVICE for that. Signed-off-by: Sergei Shtylyov --- The patch is against the 'next' branch of Felipe Balbi's 'usb.git' repo. driv

Re: [PATCH] ARM: dts: DRA7: Add node for RTC

2014-11-17 Thread Sergei Shtylyov
Hello. On 11/17/2014 7:45 AM, Lokesh Vutla wrote: Add node for RTC. Signed-off-by: Lokesh Vutla [n...@ti.com: update with rtc crossbar number] Signed-off-by: Nishanth Menon --- arch/arm/boot/dts/dra7.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/d

Re: [PATCH] ARM: dts: DRA7: Add node for RTC

2014-11-17 Thread Sergei Shtylyov
On 11/17/2014 4:04 PM, Lokesh Vutla wrote: On 11/17/2014 7:45 AM, Lokesh Vutla wrote: Add node for RTC. Signed-off-by: Lokesh Vutla [n...@ti.com: update with rtc crossbar number] Signed-off-by: Nishanth Menon --- arch/arm/boot/dts/dra7.dtsi | 9 + 1 file changed, 9 insertion

Re: [PATCH] ARM: dts: DRA7: Add node for RTC

2014-11-18 Thread Sergei Shtylyov
Hello. On 11/18/2014 8:01 AM, Lokesh Vutla wrote: Add node for RTC. Signed-off-by: Lokesh Vutla [n...@ti.com: update with rtc crossbar number] Signed-off-by: Nishanth Menon --- arch/arm/boot/dts/dra7.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/d

Re: [PATCH 2/2] cpts: fix a run time warn_on.

2012-12-23 Thread Sergei Shtylyov
Hello. On 22-12-2012 23:41, Richard Cochran wrote: This patch fixes a warning in clk_enable by calling clk_prepare first. Signed-off-by: Richard Cochran --- drivers/net/ethernet/ti/cpts.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/net/ethernet/ti/c

Re: [PATCH v5 13/22] mfd: omap-usb-host: override number of ports from platform data

2013-01-03 Thread Sergei Shtylyov
Hello. On 02-01-2013 19:00, Roger Quadros wrote: Both OMAP4 and 5 exhibit the same revision ID in the REVISION register but they have different number of ports i.e. 2 and 3 respectively. So we can't rely on REVISION register for number of ports on OMAP5 and depend on platform data (or device tr

Re: [PATCH v2 3/3] usb: musb: omap: Add device tree support for omap musb glue

2013-01-08 Thread Sergei Shtylyov
Hello. On 09/11/2012 01:09 PM, Kishon Vijay Abraham I wrote: > Added device tree support for omap musb driver and updated the > Documentation with device tree binding information. > Signed-off-by: Kishon Vijay Abraham I Belated comments to the patch which didn't pass my message size filter

[PATCH 1/2] omap2430: fix wrong devm_kzalloc() result check

2013-01-08 Thread Sergei Shtylyov
el oops further when data pointed by 'config' is written to by subsequent of_property_read_u32() calls iff the allocation happens to fail... Signed-off-by: Sergei Shtylyov --- This patch is atop of 'musb' branch of Felipe's tree but can also be applied to the 'fixes&#

[PATCH 2/2] omap2430: kill redundant assignments in omap2430_probe()

2013-01-08 Thread Sergei Shtylyov
, so these assignments were completely redundant. Kill them, fixing overindented string, while at it. Signed-off-by: Sergei Shtylyov --- This patch is atop of 'musb' branch of Felipe's tree. drivers/usb/musb/omap2430.c |4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) In

Re: [RFC PATCH 2/7] ARM: OMAP: devices: create device for usb part of control module

2013-01-15 Thread Sergei Shtylyov
Hello. On 15-01-2013 12:42, Kishon Vijay Abraham I wrote: A seperate driver has been added to handle the usb part of control module. A device for the above driver is created here, using the register address information to be used by the driver for powering on the PHY and for writing to the mail

Re: [RFC PATCH 2/7] ARM: OMAP: devices: create device for usb part of control module

2013-01-17 Thread Sergei Shtylyov
Hello. On 01/15/2013 05:26 PM, kishon wrote: >> On 15-01-2013 12:42, Kishon Vijay Abraham I wrote: >>> A seperate driver has been added to handle the usb part of control >>> module. A device for the above driver is created here, using the register >>> address information to be used by the driver

Re: [PATCH 4/9] ARM: OMAP2+: AM33XX: hwmod: Update TPTC0 hwmod with the right flags

2013-01-18 Thread Sergei Shtylyov
Hello. On 18-01-2013 11:19, Vaibhav Bedia wrote: Third Party Transfer Controller (TPTC0) needs to be idled and put to standby under SW control. Add the appropriate flags in the TPTC0 hwmod entry. Signed-off-by: Vaibhav Bedia Acked-by: Santosh Shilimkar --- Change from RFC version:

Re: [PATCH 1/9] ARM: OMAP2+: AM33XX: CM: Get rid of unncessary header inclusions

2013-01-18 Thread Sergei Shtylyov
On 18-01-2013 11:19, Vaibhav Bedia wrote: Some of the included header files are not needed so remove them. Signed-off-by: Vaibhav Bedia Acked-by: Santosh Shilimkar --- Change from RFC version: No change arch/arm/mach-omap2/cm33xx.h |7 +-- 1 files changed, 1 insertions

Re: [PATCH 13/15] drivers/usb/musb/omap2430.c: adjust duplicate test

2013-01-21 Thread Sergei Shtylyov
On 21-01-2013 17:02, Julia Lawall wrote: From: Julia Lawall Delete successive tests to the same location. Data is the just previously allocated and tested value. Test the result of the allocation made here instead. A simplified version of the semantic match that finds this problem is as

Re: [PATCH v3 11/11] usb: dwc3: core: stray statements are removed

2013-01-25 Thread Sergei Shtylyov
Hello. On 25-01-2013 7:00, Kishon Vijay Abraham I wrote: No functional change. Stray statements where removed from dwc3 core. s/where/are/ Signed-off-by: Kishon Vijay Abraham I --- drivers/usb/dwc3/core.c |3 --- 1 file changed, 3 deletions(-) WBR, Sergei -- To unsubscribe fro

Re: [PATCH v2 4/6] ARM: dts: omap5: add dwc3 omap dt data

2013-01-26 Thread Sergei Shtylyov
Hello. On 25-01-2013 15:11, Kishon Vijay Abraham I wrote: Add dwc3 omap glue data to the omap5 dt data file. The information about the dt node added here is available @ Documentation/devicetree/bindings/usb/omap-usb.txt Signed-off-by: Kishon Vijay Abraham I --- arch/arm/boot/dts/omap5.dts

Re: [PATCH v2 5/6] ARM: dts: omap5: add dwc3 core dt data

2013-01-26 Thread Sergei Shtylyov
On 25-01-2013 15:11, Kishon Vijay Abraham I wrote: Add dwc3 core dt data as a subnode to dwc3 omap glue data in omap5 dt data file. The information for the entered data node is available @ Documentation/devicetree/bindings/usb/dwc3.txt Signed-off-by: Kishon Vijay Abraham I --- arch/arm/boo

Re: [PATCH v7 01/10] ARM: davinci: move private EDMA API to arm/common

2013-02-01 Thread Sergei Shtylyov
Hello. On 02/01/2013 09:49 PM, Matt Porter wrote: >>> Move mach-davinci/dma.c to common/edma.c so it can be used >>> by OMAP (specifically AM33xx) as well. >> I think this should rather go to drivers/dma/? > No, this is the private EDMA API. It's the analogous thing to > the private OMAP dma AP

Re: [PATCH v7 01/10] ARM: davinci: move private EDMA API to arm/common

2013-02-01 Thread Sergei Shtylyov
Hello. On 02/01/2013 09:58 PM, Felipe Balbi wrote: > Move mach-davinci/dma.c to common/edma.c so it can be used > by OMAP (specifically AM33xx) as well. I think this should rather go to drivers/dma/? >>> No, this is the private EDMA API. It's the analogous thing to >>> the private

Re: [PATCH v7 01/10] ARM: davinci: move private EDMA API to arm/common

2013-02-01 Thread Sergei Shtylyov
Hello. On 02-02-2013 0:56, Felipe Balbi wrote: good point, do you wanna send some patches ? I have already sent them countless times and even stuck CPPI 4.1 support (in arch/arm/common/cppi41.c) in Russell's patch system. TI requested to remove the patch. :-( sticking into arch/arm/co

Re: [PATCH v7 01/10] ARM: davinci: move private EDMA API to arm/common

2013-02-01 Thread Sergei Shtylyov
Hello. On 01-02-2013 22:59, Matt Porter wrote: Move mach-davinci/dma.c to common/edma.c so it can be used by OMAP (specifically AM33xx) as well. I think this should rather go to drivers/dma/? No, this is the private EDMA API. It's the analogous thing to the private OMAP dma API that is in

Re: [PATCH v7 01/10] ARM: davinci: move private EDMA API to arm/common

2013-02-01 Thread Sergei Shtylyov
Hello. On 02-02-2013 1:30, Russell King - ARM Linux wrote: On Fri, Feb 01, 2013 at 11:49:11PM +0300, Sergei Shtylyov wrote: good point, do you wanna send some patches ? I have already sent them countless times and even stuck CPPI 4.1 support (in arch/arm/common/cppi41.c) in Russell&#

Re: [PATCH v7 01/10] ARM: davinci: move private EDMA API to arm/common

2013-02-01 Thread Sergei Shtylyov
Hello. On 02-02-2013 1:30, Russell King - ARM Linux wrote: On Fri, Feb 01, 2013 at 11:49:11PM +0300, Sergei Shtylyov wrote: good point, do you wanna send some patches ? I have already sent them countless times and even stuck CPPI 4.1 support (in arch/arm/common/cppi41.c) in Russell&#

Re: [PATCH v7 01/10] ARM: davinci: move private EDMA API to arm/common

2013-02-01 Thread Sergei Shtylyov
Hello. On 02-02-2013 4:44, Russell King - ARM Linux wrote: On Fri, Feb 01, 2013 at 11:49:11PM +0300, Sergei Shtylyov wrote: good point, do you wanna send some patches ? I have already sent them countless times and even stuck CPPI 4.1 support (in arch/arm/common/cppi41.c) in Russell&#

Re: [PATCH v7 01/10] ARM: davinci: move private EDMA API to arm/common

2013-02-02 Thread Sergei Shtylyov
Hello. On 02-02-2013 14:18, Russell King - ARM Linux wrote: On Fri, Feb 01, 2013 at 11:49:11PM +0300, Sergei Shtylyov wrote: good point, do you wanna send some patches ? I have already sent them countless times and even stuck CPPI 4.1 support (in arch/arm/common/cppi41.c) in

Re: [PATCH v7 01/10] ARM: davinci: move private EDMA API to arm/common

2013-02-02 Thread Sergei Shtylyov
Hello. On 02-02-2013 16:17, Russell King - ARM Linux wrote: good point, do you wanna send some patches ? I have already sent them countless times and even stuck CPPI 4.1 support (in arch/arm/common/cppi41.c) in Russell's patch system. TI requested to remove the patch. :-( sticking

Re: [PATCH v7 01/10] ARM: davinci: move private EDMA API to arm/common

2013-02-02 Thread Sergei Shtylyov
Hello. On 02-02-2013 20:45, Russell King - ARM Linux wrote: There are two people on this thread CC list who were also involved or CC'd on the mails from the thread in 2010... Tony and Felipe. Unfortunately, the person who agreed to do the work is no longer in the land of the living. Yes I kno

Re: [PATCH v7 01/10] ARM: davinci: move private EDMA API to arm/common

2013-02-02 Thread Sergei Shtylyov
Hello. On 02-02-2013 16:45, Russell King - ARM Linux wrote: Now, CPPI is brand new code to arch/arm - always has been. It post-dates the DMA engine API. And it's been said many times about moving it to drivers/dma. The problem is Sergei doesn't want to do it - he's anti the I *can't* do

Re: [PATCH v7 01/10] ARM: davinci: move private EDMA API to arm/common

2013-02-02 Thread Sergei Shtylyov
Hello. On 02-02-2013 22:07, Matt Porter wrote: Move mach-davinci/dma.c to common/edma.c so it can be used by OMAP (specifically AM33xx) as well. I think this should rather go to drivers/dma/? No, this is the private EDMA API. It's the analogous thing to the private OMAP dma API that is in

Re: [PATCH v7 01/10] ARM: davinci: move private EDMA API to arm/common

2013-02-02 Thread Sergei Shtylyov
Hello. On 02-02-2013 23:55, Matt Porter wrote: Move mach-davinci/dma.c to common/edma.c so it can be used by OMAP (specifically AM33xx) as well. I think this should rather go to drivers/dma/? No, this is the private EDMA API. It's the analogous thing to the private OMAP dma API that is in

Re: [PATCH v7 01/10] ARM: davinci: move private EDMA API to arm/common

2013-02-04 Thread Sergei Shtylyov
Hello. On 02/04/2013 06:41 PM, Felipe Balbi wrote: > I guess to make the MUSB side simpler we would need musb-dma-engine glue > to map dmaengine to the private MUSB API. Then we would have some > starting point to also move inventra (and anybody else) to dmaengine > API.

Re: [PATCH v7 01/10] ARM: davinci: move private EDMA API to arm/common

2013-02-04 Thread Sergei Shtylyov
Hello. On 02/04/2013 07:47 PM, Felipe Balbi wrote: > On Mon, Feb 04, 2013 at 08:36:38PM +0300, Sergei Shtylyov wrote: >>> opted out of it. From the top of my head we have CPPI 3.x, CPPI 4.1, >>> Inventra DMA, OMAP sDMA and ux500 DMA engines supported by the driver. >&g

Re: [PATCH v7 01/10] ARM: davinci: move private EDMA API to arm/common

2013-02-04 Thread Sergei Shtylyov
Hello. On 02/04/2013 08:02 PM, Felipe Balbi wrote: >>> On Mon, Feb 04, 2013 at 08:36:38PM +0300, Sergei Shtylyov wrote: >>>>> opted out of it. From the top of my head we have CPPI 3.x, CPPI 4.1, >>>>> Inventra DMA, OMAP sDMA and ux500 DMA engines supported

Re: [PATCH 2/5] ARM: OMAP: devices: create device for usb part of control module

2013-02-06 Thread Sergei Shtylyov
Hello. On 06-02-2013 9:58, Kishon Vijay Abraham I wrote: A seperate driver has been added to handle the usb part of control module. A device for the above driver is created here, using the register address information to be used by the driver for powering on the PHY and for writing to the mailb

Re: [PATCH 3/8] ARM: OMAP5: prm: Allow prm init to success on OMAP5 SOCs

2013-02-21 Thread Sergei Shtylyov
Hello. On 20-02-2013 19:27, Santosh Shilimkar wrote: Allow prm init to success on OMAP5 SOCs. s/succees/succeed/ Signed-off-by: Santosh Shilimkar WBR, Sergei -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majord...@vger.kernel.org

Re: [PATCH 2/8] ARM: OMAP5: timer: Update the clocksource name as per clock data

2013-02-21 Thread Sergei Shtylyov
Hello. On 20-02-2013 19:27, Santosh Shilimkar wrote: OMAP5 clockdata has different sys clock clock node name. Fix the timer code One "clock" too many. :-) to take care of it. Signed-off-by: Santosh Shilimkar WBR, Sergei -- To unsubscribe from this list: send the line "unsubscribe

Re: [PATCH 6/9] ARM: OMAP4+: Remove out of placed smp_wmb() in secondary wakeup code

2013-02-21 Thread Sergei Shtylyov
Hello. On 20-02-2013 19:18, Santosh Shilimkar wrote: The smp_wmb() here is out of placed s/placed/place/ and redundant. So remove it. It is a left over of the pain_release Sure it's not 'pen_release'? cleanup mostly. Signed-off-by: Santosh Shilimkar WBR, Sergei -- To unsubsc

Re: [PATCH v2 7/8] ARM: dts: omap5: add dwc3 omap dt data

2013-03-05 Thread Sergei Shtylyov
Hello. On 05-03-2013 18:37, Kishon Vijay Abraham I wrote: Add dwc3 omap glue data to the omap5 dt data file. The information about the dt node added here is available @ Documentation/devicetree/bindings/usb/omap-usb.txt Signed-off-by: Kishon Vijay Abraham I --- arch/arm/boot/dts/omap5.dts

Re: [PATCH 1/4] ARM: OMAP2+: Add board-generic.c entry for ti81xx

2015-01-14 Thread Sergei Shtylyov
Hello. On 1/14/2015 2:37 AM, Tony Lindgren wrote: This allows booting ti81xx boards with with when a .dts So, with, with or when? :-) file is in place. Cc: Brian Hutchinson Signed-off-by: Tony Lindgren WBR, Sergei -- To unsubscribe from this list: send the line "unsubscribe linux

Re: -n900 (not mainline): fix compilation with 3.20-rc0

2015-02-11 Thread Sergei Shtylyov
Hello. On 02/12/2015 01:23 AM, Pavel Machek wrote: This looked like a patch in its final form, so I decided to comment on it... commit 02aa41563bd0f14268d2142ab69694880d3425a1 Author: Pavel Date: Wed Feb 11 23:22:51 2015 +0100 No need for this header. Fix compilation of wl125

Re: [PATCH 4/8] ARM OMAP2+ GPMC: change get_gpmc_timing_reg output for DTS

2015-02-26 Thread Sergei Shtylyov
Hello. On 02/26/2015 05:45 PM, Robert ABEL wrote: DTS output was formatted to require additional work when copy-pasting into DTS. Nano-second timings were replaced with interval of values that produce the same number of clock ticks. Signed-off-by: Robert ABEL --- drivers/memory/omap-gpmc.

Re: [PATCH 4/8] ARM OMAP2+ GPMC: change get_gpmc_timing_reg output for DTS

2015-02-27 Thread Sergei Shtylyov
Hello. On 2/27/2015 5:17 PM, Robert Abel wrote: Documentation/kernel-doc-nano-HOWTO.txt requires colons after the parameter names, doesn't it? Jesus Christ, you guys are killing me... I've already spent way more time on this patch series than I intended to anyway... That's what you

Re: [PATCHv4 23/35] ARM: OMAP2+: id: cache omap_type value

2015-03-18 Thread Sergei Shtylyov
Hello. On 03/18/2015 05:44 PM, Tero Kristo wrote: There is no need to read the register with every invocation of the function, as the value is constant. Thus, cache the value in a static variable. Signed-off-by: Tero Kristo --- arch/arm/mach-omap2/id.c |5 - 1 file changed, 4 ins

Re: [PATCH] usb: musb: Fix fifo reads for dm816x with musb_dsps

2015-03-19 Thread Sergei Shtylyov
Hello. On 3/19/2015 1:48 AM, Tony Lindgren wrote: Looks like dm81xx can only do 32-bit fifo reads like am35x. Let's set up musb-dsps with a custom read_fifo function based on the compatible flag. Otherwise we can get the following errors when starting dhclient on a asix USB Ethernet adapter:

Re: [PATCH] usb: musb: Fix fifo reads for dm816x with musb_dsps

2015-03-19 Thread Sergei Shtylyov
On 03/19/2015 04:30 PM, Sergei Shtylyov wrote: Looks like dm81xx can only do 32-bit fifo reads like am35x. Let's set up musb-dsps with a custom read_fifo function based on the compatible flag. Otherwise we can get the following errors when starting dhclient on a asix USB Ethernet ad

Re: [PATCH] usb: musb: Fix fifo reads for dm816x with musb_dsps

2015-03-19 Thread Sergei Shtylyov
On 03/19/2015 08:55 PM, Tony Lindgren wrote: --- a/drivers/usb/musb/musb_dsps.c +++ b/drivers/usb/musb/musb_dsps.c @@ -655,6 +655,36 @@ static int dsps_musb_reset(struct musb *musb) return !session_restart; } +/* Similar to am35x, dm81xx support only 32-bit read operation */ +static voi

<    1   2   3   4   5   >