Thanks Felipe,
On 21/04/14 23:08, Felipe Balbi wrote:
+ if (var-reg_write_delay host-mclk)
+ udelay(1 + ((var-reg_write_delay * USEC_PER_SEC)/host-mclk));
looks like this should be quirk flag instead of a write delay... No
strong feelings though, but it looks like the
From: Ivan T. Ivanov iiva...@mm-sol.com
Hi,
This is a sixth version of patches posted earlier here [1].
Changes since v5.
0001 - Enables driver on new ARCH_QCOM arches
0002 - Fixes section mismatch warning
0012 - Fix coding style error - pointer by Sergei
0014 - usleep_range() replaced with
From: Ivan T. Ivanov iiva...@mm-sol.com
Put the transceiver in non-driving mode. Otherwise host
may not detect soft-disconnection.
Signed-off-by: Ivan T. Ivanov iiva...@mm-sol.com
Cc: Pavankumar Kondeti pkond...@codeaurora.org
---
drivers/usb/phy/phy-msm-usb.c | 18 ++
1 file
From: Ivan T. Ivanov iiva...@mm-sol.com
They could be more than one USB2.0 PHY's on the platform.
This will allow all of them to be registred successfuly.
Signed-off-by: Ivan T. Ivanov iiva...@mm-sol.com
---
drivers/usb/phy/phy-msm-usb.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
From: Ivan T. Ivanov iiva...@mm-sol.com
Allow support to use 2nd HSPHY with USB2 Core.
Some platforms may have configuration to allow USB controller
work with any of the two HSPHYs present. By default driver
configures USB core to use primary HSPHY. Add support to allow
user select 2nd HSPHY
From: Tim Bird tbird...@gmail.com
Fix the value used for Parallel Transceiver Select (PTS) for the MSM USB
controller. This is a standard chipidea PORTSC definition, where
a PHY_TYPE of 10b (30) is ULPI and 11b (30) is SERIAL.
Fix the definitions and use them correctly in the driver code.
From: Ivan T. Ivanov iiva...@mm-sol.com
New platform uses RBCPR hardware feature, with that voting for
absolute voltage of VDD CX is not required. Hence vote for corner of
VDD CX which uses nominal corner voltage on VDD CX.
Signed-off-by: Ivan T. Ivanov iiva...@mm-sol.com
Cc: Mayank Rana
From: Ivan T. Ivanov iiva...@mm-sol.com
On few legacy platforms, USB PHY is having dedicated reset clk.
It is used to reset USB PHY after putting USB PHY into low power
mode and for calibration of USB PHY. Putting USB PHY into low
power mode is causing ulpi read/write timeout as expected. USB PHY
From: Tim Bird tbird...@gmail.com
Select the secondary PHY using the TCSR register, if phy-num=1
in the DTS (or phy_number is set in the platform data). The
SOC has 2 PHYs which can be used with the OTG port, and this
code allows configuring the correct one.
Note: This resolves the problem I
From: Ivan T. Ivanov iiva...@mm-sol.com
Signed-off-by: Ivan T. Ivanov iiva...@mm-sol.com
---
drivers/usb/phy/phy-msm-usb.c | 29 +
include/linux/usb/msm_hsusb.h | 3 +++
2 files changed, 24 insertions(+), 8 deletions(-)
diff --git a/drivers/usb/phy/phy-msm-usb.c
From: Ivan T. Ivanov iiva...@mm-sol.com
This fixes following:
WARNING: drivers/usb/phy/built-in.o(.data+0x68): Section mismatch in reference
from the variable msm_otg_driver to the function .init.text:msm_otg_probe()
The variable msm_otg_driver references
the function __init msm_otg_probe()
From: Ivan T. Ivanov iiva...@mm-sol.com
Allows MSM OTG controller to be specified via device tree.
Signed-off-by: Ivan T. Ivanov iiva...@mm-sol.com
---
.../devicetree/bindings/usb/msm-hsusb.txt | 67 +
drivers/usb/phy/phy-msm-usb.c | 108
From: Ivan T. Ivanov iiva...@mm-sol.com
This fixes following:
WARNING: quoted string split across lines
WARNING: Prefer seq_puts to seq_printf
Signed-off-by: Ivan T. Ivanov iiva...@mm-sol.com
---
drivers/usb/phy/phy-msm-usb.c | 39 ++-
1 file changed, 14
From: Ivan T. Ivanov iiva...@mm-sol.com
Prefix did not bring any useful information. Currently none
of the MSM platforms define these regulators, so it is safe
to rename them.
Signed-off-by: Ivan T. Ivanov iiva...@mm-sol.com
---
drivers/usb/phy/phy-msm-usb.c | 6 +++---
1 file changed, 3
From: Ivan T. Ivanov iiva...@mm-sol.com
Whether regulators are available or not is checked at driver
probe. If they are not available driver will refuse to load,
so no need to check them again.
Signed-off-by: Ivan T. Ivanov iiva...@mm-sol.com
---
drivers/usb/phy/phy-msm-usb.c | 10 --
1
From: Ivan T. Ivanov iiva...@mm-sol.com
Move memory, regulators, clocks and irq allocation to
devm_* variants. Properly check for valid clk handles.
Signed-off-by: Ivan T. Ivanov iiva...@mm-sol.com
---
drivers/usb/phy/phy-msm-usb.c | 195 --
1 file
From: Ivan T. Ivanov iiva...@mm-sol.com
There are no references to 'pclk_src_name' in plaform code,
so it is unused.
Signed-off-by: Ivan T. Ivanov iiva...@mm-sol.com
---
drivers/usb/phy/phy-msm-usb.c | 26 +-
include/linux/usb/msm_hsusb.h | 5 -
2 files changed, 1
From: Ivan T. Ivanov iiva...@mm-sol.com
Use enum usb_dr_mode and drop default usb_dr_mode from platform data.
USB DT bindings states: dr_mode: ...In case this attribute isn't
passed via DT, USB DRD controllers should default to OTG...,
so remove redundand field.
Signed-off-by: Ivan T. Ivanov
From: Ivan T. Ivanov iiva...@mm-sol.com
Function return negative code on error.
Signed-off-by: Ivan T. Ivanov iiva...@mm-sol.com
---
drivers/usb/phy/phy-msm-usb.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/usb/phy/phy-msm-usb.c b/drivers/usb/phy/phy-msm-usb.c
From: Ivan T. Ivanov iiva...@mm-sol.com
This series intend to fix driver, which was broken for a while.
It is used to create peripheral role device, which in coordination
with phy-usb-msm driver could provide USB2.0 gadget support for
Qualcomm targets.
Changes since version 2.
- Rename
From: Ivan T. Ivanov iiva...@mm-sol.com
Document device tree binding information as required by
the Qualcomm USB controller.
Signed-off-by: Ivan T. Ivanov iiva...@mm-sol.com
---
Documentation/devicetree/bindings/usb/ci-hdrc-qcom.txt | 17 +
1 file changed, 17 insertions(+)
From: Ivan T. Ivanov iiva...@mm-sol.com
Allows controller to be specified via device tree.
Pass PHY phandle specified in DT to core driver.
Signed-off-by: Ivan T. Ivanov iiva...@mm-sol.com
---
drivers/usb/chipidea/ci_hdrc_msm.c | 23 ++-
1 file changed, 22 insertions(+), 1
On 17/04/14 21:35, Jason Gunthorpe wrote:
The above is useful for loading the raw uncompressed Image without
carrying the full ELF baggage.
What exactly is the full ELF baggage? Aren't there existing mechanisms to
omit
debugging symbols, for example, if size is of concern?
FWIW, it is a
On 22/04/14 11:40, Russell King - ARM Linux wrote:
On Tue, Apr 22, 2014 at 11:26:53AM +0100, Daniel Thompson wrote:
On 18/04/14 05:34, Nicolas Pitre wrote:
I'm not suggesting to break anything or changing existing platforms,
but how do we improve the Image format in a compatible way. If
Hello.
On 22-04-2014 13:20, Ivan T. Ivanov wrote:
From: Tim Bird tbird...@gmail.com
Fix the value used for Parallel Transceiver Select (PTS) for the MSM USB
controller. This is a standard chipidea PORTSC definition, where
a PHY_TYPE of 10b (30) is ULPI and 11b (30) is SERIAL.
Fix the
Hi Christopher,
On 22/04/14 13:58, Christopher Covington wrote:
Hi Srini,
On 04/21/2014 05:43 PM, srinivas.kandaga...@linaro.org wrote:
This patches are tested in PIO mode on IFC8064 board with both eMMC and
external SD card. I would appreciate any feedback/suggestions on the overall
On 04/17/2014 10:35 PM, Jason Gunthorpe wrote:
On Thu, Apr 17, 2014 at 02:33:43PM -0400, Christopher Covington wrote:
On 04/16/2014 07:21 PM, Nicolas Pitre wrote:
On Wed, 16 Apr 2014, Christopher Covington wrote:
Thank you for the suggestion. This approach also came to mind, but it would
On Tue, Apr 22, 2014 at 12:20:20PM +0300, Ivan T. Ivanov wrote:
From: Ivan T. Ivanov iiva...@mm-sol.com
Controller could be found on APQ and MSM platforms,
make configuration description more generic.
Signed-off-by: Ivan T. Ivanov iiva...@mm-sol.com
---
drivers/usb/phy/Kconfig | 6
On 22/04/14 10:20, Ivan T. Ivanov wrote:
From: Ivan T. Ivanov iiva...@mm-sol.com
Move memory, regulators, clocks and irq allocation to
devm_* variants. Properly check for valid clk handles.
-module_platform_driver_probe(msm_otg_driver, msm_otg_probe);
On Tue, Apr 15, 2014 at 5:10 AM, Andy Gross agr...@codeaurora.org wrote:
This set of patches adds pinctrl support for the Qualcomm IPQ8064 platform.
The IPQ8064 uses the same TLMM block as the APQ8064, but has a different
number
of pins, functions, and function assignments. The second patch
On Tue, Apr 22, 2014 at 06:12:19PM +0300, Ivan T. Ivanov wrote:
On Tue, 2014-04-22 at 09:57 -0500, Felipe Balbi wrote:
On Tue, Apr 22, 2014 at 12:20:22PM +0300, Ivan T. Ivanov wrote:
From: Ivan T. Ivanov iiva...@mm-sol.com
#define ENOLOG ENOCOMMIT
return -ENOLOG;
Hi,
On Tue, 2014-04-22 at 09:57 -0500, Felipe Balbi wrote:
On Tue, Apr 22, 2014 at 12:20:20PM +0300, Ivan T. Ivanov wrote:
From: Ivan T. Ivanov iiva...@mm-sol.com
Controller could be found on APQ and MSM platforms,
make configuration description more generic.
Signed-off-by: Ivan
On Tue, 2014-04-22 at 09:57 -0500, Felipe Balbi wrote:
On Tue, Apr 22, 2014 at 12:20:22PM +0300, Ivan T. Ivanov wrote:
From: Ivan T. Ivanov iiva...@mm-sol.com
#define ENOLOGENOCOMMIT
return -ENOLOG;
#if SIMPLE_CHANGE
#define ENOLOG 0
#endif
Will fix it :-)
On Tue, 2014-04-22 at 16:07 +0100, Srinivas Kandagatla wrote:
On 22/04/14 10:43, Ivan T. Ivanov wrote:
+- interrupts: interrupt-specifier for the controller interrupt.
+- usb-phy: phandle for the PHY device
+- dr_mode: Sould be peripheral
s/Sould/Should/
+
Thanks. will fix
On Tue, Apr 22, 2014 at 06:16:35PM +0300, Ivan T. Ivanov wrote:
Hi,
On Tue, 2014-04-22 at 09:57 -0500, Felipe Balbi wrote:
On Tue, Apr 22, 2014 at 12:20:20PM +0300, Ivan T. Ivanov wrote:
From: Ivan T. Ivanov iiva...@mm-sol.com
Controller could be found on APQ and MSM platforms,
On Tue, 2014-04-22 at 16:07 +0100, Srinivas Kandagatla wrote:
On 22/04/14 10:20, Ivan T. Ivanov wrote:
From: Ivan T. Ivanov iiva...@mm-sol.com
Move memory, regulators, clocks and irq allocation to
devm_* variants. Properly check for valid clk handles.
On 22/04/14 10:20, Ivan T. Ivanov wrote:
@@ -79,8 +78,7 @@ static int msm_hsusb_init_vddcx(struct msm_otg *motg, int
init)
ret = regulator_set_voltage(motg-vddcx, 0,
USB_PHY_VDD_DIG_VOL_MAX);
if (ret)
-
On Tue, Apr 22, 2014 at 8:11 AM, Linus Walleij linus.wall...@linaro.org wrote:
On Tue, Apr 15, 2014 at 5:10 AM, Andy Gross agr...@codeaurora.org wrote:
This set of patches adds pinctrl support for the Qualcomm IPQ8064 platform.
The IPQ8064 uses the same TLMM block as the APQ8064, but has a
Hi Ivan,
On 22/04/14 10:20, Ivan T. Ivanov wrote:
From: Ivan T. Ivanoviiva...@mm-sol.com
Allows MSM OTG controller to be specified via device tree.
Signed-off-by: Ivan T. Ivanoviiva...@mm-sol.com
---
.../devicetree/bindings/usb/msm-hsusb.txt | 67 +
index 8756e4b..551e971 100644
+++ b/arch/arm/include/asm/memory.h
@@ -350,7 +350,7 @@ static inline __deprecated void *bus_to_virt(unsigned
long x)
#define virt_addr_valid(kaddr) (((unsigned long)(kaddr) = PAGE_OFFSET
(unsigned long)(kaddr) (unsigned long)high_memory) \
On Tue, Apr 22, 2014 at 10:44:14AM +0100, Daniel Thompson wrote:
On 17/04/14 21:35, Jason Gunthorpe wrote:
The above is useful for loading the raw uncompressed Image without
carrying the full ELF baggage.
What exactly is the full ELF baggage? Aren't there existing mechanisms to
omit
On Tue, Apr 22, 2014 at 04:50:12PM +0200, Michal Simek wrote:
On 04/17/2014 10:35 PM, Jason Gunthorpe wrote:
+/* If we have a known, fixed physical load address then set LOAD_OFFSET
+ and generate an ELF that has the physical load address in the program
+ headers. */
+#ifndef
On Thu 10 Apr 15:17 PDT 2014, Josh Cartwright wrote:
Hi Josh,
Thanks for posting this RFC.
The Resource Power Manager (RPM) is responsible managing SoC-wide
resources (clocks, regulators, etc) on MSM and other Qualcomm SoCs.
This driver provides an implementation of the message-RAM-based
On Tue, Apr 22, 2014 at 06:11:42PM +0100, Russell King - ARM Linux wrote:
Put another way, if your platform is part of the multi-platform kernel
then you are *excluded* from being able to use this... unless you hack
the Kconfig, and then also provide a constant value for PHYS_OFFSET,
thereby
On Tue, 22 Apr 2014, Jason Gunthorpe wrote:
On Tue, Apr 22, 2014 at 10:44:14AM +0100, Daniel Thompson wrote:
On 17/04/14 21:35, Jason Gunthorpe wrote:
The above is useful for loading the raw uncompressed Image without
carrying the full ELF baggage.
What exactly is the full ELF
On Tue, Apr 22, 2014 at 11:53:25AM -0600, Jason Gunthorpe wrote:
On Tue, Apr 22, 2014 at 06:11:42PM +0100, Russell King - ARM Linux wrote:
Put another way, if your platform is part of the multi-platform kernel
then you are *excluded* from being able to use this... unless you hack
the
Initial regulator driver for ldos on the pm8921 controlled by RPM.
Signed-off-by: Bjorn Andersson bjorn.anders...@sonymobile.com
---
drivers/regulator/Kconfig | 7 +
drivers/regulator/Makefile| 1 +
drivers/regulator/msm_rpm-regulator.c | 467
Signed-off-by: Bjorn Andersson bjorn.anders...@sonymobile.com
---
drivers/mfd/Kconfig | 7 +
drivers/mfd/Makefile| 1 +
drivers/mfd/msm_rpm-8064.h | 420 +++
drivers/mfd/msm_rpm-8960.h | 400 +
To be used for reference in the design discussion related to RPM driver
implementation for family A.
Regulator driver is a not even close to the shape it should be, but shows a
user of the api. Instead of having every regulator exposed as it's own
compatible, I would now have it take a resource
On Tue, Apr 22, 2014 at 01:55:16PM -0400, Nicolas Pitre wrote:
We do not want people in general to have PLAT_PHYS_OFFSET defined and
CONFIG_ARM_PATCH_PHYS_VIRT disabled. In fact a huge effort has been
deployed to go the exact opposite way over the last few years.
There are special cases
On Tue, Apr 22, 2014 at 08:32:10PM +0200, Arnd Bergmann wrote:
@@ -1943,6 +1953,7 @@ config DEPRECATED_PARAM_STRUCT
# TEXT and BSS so we preserve their values in the config files.
config ZBOOT_ROM_TEXT
hex Compressed ROM boot loader base address
+ depends on BROKEN_MULTIPLATFORM
On Tuesday 22 April 2014 19:38:55 Russell King - ARM Linux wrote:
On Tue, Apr 22, 2014 at 08:32:10PM +0200, Arnd Bergmann wrote:
@@ -1943,6 +1953,7 @@ config DEPRECATED_PARAM_STRUCT
# TEXT and BSS so we preserve their values in the config files.
config ZBOOT_ROM_TEXT
hex
From: Rob Herring r...@kernel.org
This is a follow-up to the multi-platform kconfig clean-ups I did for
3.15. This is fixing new things which got introduced in 3.15. For
example, the BCM2835 changes appear to have been lost with its move to
mach-bcm.
Rob
Rob Herring (3):
ARM: mvebu:
From: Rob Herring r...@kernel.org
Multi-platform support implies all these options are already selected and
individual platforms don't need to select them.
Signed-off-by: Rob Herring r...@kernel.org
Cc: Kumar Gala ga...@codeaurora.org
Cc: David Brown dav...@codeaurora.org
Cc:
From: Josh Cartwright jo...@codeaurora.org
The Qualcomm 8941 and 8841 PMICs are components used with the Snapdragon
800 series SoC family. This driver exists largely as a glue mfd component,
it exists to be an owner of an SPMI regmap for children devices
described in device tree.
Signed-off-by:
From: Josh Cartwright jo...@codeaurora.org
Document the bindings used to describe the Qualcomm 8x41 PMICs.
Signed-off-by: Josh Cartwright jo...@codeaurora.org
Signed-off-by: Courtney Cavin courtney.ca...@sonymobile.com
---
Documentation/devicetree/bindings/mfd/pm8x41.txt | 34
56 matches
Mail list logo