could not get BT and WLAN working at same time on IFC6410.
Thanks,
srini
Srinivas Kandagatla (2):
mmc: pwrseq: Add support to control multiple gpios in simple pwrseq
mmc: pwrseq: Update document with multiple gpios support
.../devicetree/bindings/mmc/mmc-pwrseq-simple.txt | 7 ++-
drivers/mmc
This patch updates the text and examples the mmc pwrseq document with multiple
gpios support. Typical example is WLAN and BT chips on SDIO bus.
Signed-off-by: Srinivas Kandagatla
---
Documentation/devicetree/bindings/mmc/mmc-pwrseq-simple.txt | 7 ---
1 file changed, 4 insertions(+), 3
On 28/01/15 16:13, Javier Martinez Canillas wrote:
Hello Srinivas,
Thanks a lot for your feedback.
On 01/28/2015 03:01 PM, Srinivas Kandagatla wrote:
Hi Javier,
You are in a lead of 3 hrs from me..
Surprisingly I send very much same patch just few Mins ago :-)
:-)
I didn't fin
On 28/01/15 13:35, Ulf Hansson wrote:
On 28 January 2015 at 14:16, Srinivas Kandagatla
wrote:
This patchset adds support to reset/powerup multiple gpio pins on a given
sdio bus. The use case is simple, on sdio we could have multiple devices
like WLAN, BT which are controlled by there own
There are various issues with the examples in this documentation, some
of the DT labels are invalid and one of the macro THERMAL_NO_LIMITS
referenced is not available as well.
This patch attempts to fix such errors in the documentation.
Signed-off-by: Srinivas Kandagatla
---
Changes Since v1
not get BT and WLAN working at same time on IFC6410.
Signed-off-by: Srinivas Kandagatla
---
drivers/mmc/core/pwrseq_simple.c | 64
1 file changed, 45 insertions(+), 19 deletions(-)
diff --git a/drivers/mmc/core/pwrseq_simple.c b/drivers/mmc/core
ort.
* Move kerneldoc to the src files spotted by Mark Brown.
* Remove local list and do eeprom lookup by using class_find_device()
Thanks,
srini
Maxime Ripard (1):
eeprom: sunxi: Move the SID driver to the eeprom framework
Srinivas Kandagatla (9):
regmap: Introduce regmap_get_max_r
This patch introduces regmap_get_max_register() function which would be
used by the infrastructures like eeprom framework built on top of
regmap.
Signed-off-by: Srinivas Kandagatla
---
drivers/base/regmap/regmap.c | 12
include/linux/regmap.h | 7 +++
2 files changed, 19
This patch introduces regmap_get_reg_stride() function which would
be used by the infrastructures like eeprom framework built on top of
regmap. Mostly this function would be used for sanity checks on inputs
within such infrastructure.
Signed-off-by: Srinivas Kandagatla
---
drivers/base/regmap
eeprom framework]
Signed-off-by: Srinivas Kandagatla
---
drivers/Kconfig | 2 +
drivers/Makefile| 1 +
drivers/eeprom/Kconfig | 10 ++
drivers/eeprom/Makefile | 6 ++
drivers/eeprom/core.c | 233
the framework]
Signed-off-by: Srinivas Kandagatla
---
drivers/eeprom/core.c | 271
include/linux/eeprom-consumer.h | 61 +
2 files changed, 332 insertions(+)
create mode 100644 include/linux/eeprom-consumer.h
diff --git a/drivers
This patch adds bindings for simple eeprom framework which allows eeprom
consumers to talk to eeprom providers to get access to eeprom cell data.
Signed-off-by: Maxime Ripard
[Maxime Ripard: intial version of eeprom framework]
Signed-off-by: Srinivas Kandagatla
---
.../devicetree/bindings
-by: Srinivas Kandagatla
---
Documentation/ABI/testing/sysfs-driver-sunxi-sid | 22 ---
.../bindings/eeprom/allwinner,sunxi-sid.txt| 21 +++
.../bindings/misc/allwinner,sunxi-sid.txt | 17 ---
drivers/eeprom/Kconfig | 11 ++
drivers/eeprom
This patch adds probe and remove helper functions for eeproms which are
mmio based, With these helper function new eeprom consumer drivers need
very little code add its driver.
This code is currently used for qfprom and sunxi-sid eeprom consumer drivers.
Signed-off-by: Srinivas Kandagatla
This patch adds bindings for qfprom found in QCOM SOCs. QFPROM driver
is based on simple eeprom framework.
Signed-off-by: Srinivas Kandagatla
---
.../devicetree/bindings/eeprom/qfprom.txt | 34 ++
1 file changed, 34 insertions(+)
create mode 100644 Documentation
the driver.
Signed-off-by: Srinivas Kandagatla
---
drivers/eeprom/Kconfig | 15 +++
drivers/eeprom/Makefile | 4
drivers/eeprom/qfprom.c | 51 +
3 files changed, 70 insertions(+)
create mode 100644 drivers/eeprom/qfprom.c
diff
This patch adds MAINTAINERS to eeprom framework.
Signed-off-by: Srinivas Kandagatla
---
MAINTAINERS | 9 +
1 file changed, 9 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index 358eb01..7094bb0 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -3721,6 +3721,15 @@ T: git git
Thanks Matt and Rob for review,
On 06/04/15 16:04, Matt Porter wrote:
On Mon, Apr 06, 2015 at 09:11:05AM -0500, Rob Herring wrote:
On Mon, Apr 6, 2015 at 8:32 AM, Matt Porter wrote:
On Mon, Mar 30, 2015 at 10:57:59PM +0100, Srinivas Kandagatla wrote:
This patch adds bindings for simple
On 07/04/15 18:46, Mark Brown wrote:
On Tue, Apr 07, 2015 at 06:35:49PM +0100, Srinivas Kandagatla wrote:
On 06/04/15 16:04, Matt Porter wrote:
On Mon, Apr 06, 2015 at 09:11:05AM -0500, Rob Herring wrote:
The generic binding could really use a "read-only" property here as this
i
Thanks Stephen for review,
On 07/04/15 19:45, Stephen Boyd wrote:
On 03/30, Srinivas Kandagatla wrote:
@@ -130,6 +138,37 @@ static struct class eeprom_class = {
.dev_release= eeprom_release,
};
+static int of_eeprom_match(struct device *dev, const void *eeprom_np
On 07/04/15 20:46, Matt Porter wrote:
On Tue, Apr 07, 2015 at 07:03:30PM +0100, Srinivas Kandagatla wrote:
On 07/04/15 18:46, Mark Brown wrote:
On Tue, Apr 07, 2015 at 06:35:49PM +0100, Srinivas Kandagatla wrote:
On 06/04/15 16:04, Matt Porter wrote:
On Mon, Apr 06, 2015 at 09:11:05AM
On 08/04/15 14:13, Pramod Gurav wrote:
There is no bit setting as UART_IPR_RXSTALE_LAST for UART_DM core so do
it only for UART core.
Signed-off-by: Pramod Gurav
--
Changes since last version:
- Added new macro fo UART_DM_MR1_AUTO_RFR_LEVEL1 instead of modifying
existing.
- Added a new m
On 10/04/15 21:21, Stephen Boyd wrote:
On 04/10/15 12:39, Srinivas Kandagatla wrote:
On 10/04/15 18:04, Stephen Boyd wrote:
On 04/10/15 05:34, Srinivas Kandagatla wrote:
@@ -250,6 +265,18 @@
};
};
+ext_3p3v: regulator-fixed@1 {
+compatible
for serial port
Srinivas Kandagatla (8):
ARM: dts: apq8064: add RPM regulators support
ARM: dts: apq8064-ifc6410: Add basic regulators
ARM: dts: apq8064: Add usb host support.
ARM: dts: apq8064: Add USB OTG support
ARM: dts: apq8064: Add SATA controller support.
ARM: dts: apq8064-cm
This patch adds support to basic regulators wiredup on IFC6410 board.
All these regulators are tested as part of USB, SATA and HDMI.
Signed-off-by: Srinivas Kandagatla
---
arch/arm/boot/dts/qcom-apq8064-ifc6410.dts | 67 ++
1 file changed, 67 insertions(+)
diff
This patch adds rpm node to apq8064 dt as rpm would be used by other
devices for regulator support.
Signed-off-by: Srinivas Kandagatla
---
arch/arm/boot/dts/qcom-apq8064.dtsi | 24
1 file changed, 24 insertions(+)
diff --git a/arch/arm/boot/dts/qcom-apq8064.dtsi
b
From: Nicolas Dechesne
This patch adds device tree nodes to support two usb hosts on Compulab QS600
board.
Signed-off-by: Srinivas Kandagatla
[Srinivas Kandagatla: fixed up regulators and status properties]
Signed-off-by: Nicolas Dechesne
---
arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts | 22
This patch adds i2c3 node which is used for panel control on IFC6410.
Signed-off-by: Srinivas Kandagatla
---
arch/arm/boot/dts/qcom-apq8064-ifc6410.dts | 10 ++
arch/arm/boot/dts/qcom-apq8064.dtsi| 27 +++
2 files changed, 37 insertions(+)
diff --git a
I2C1 pinctrl is not really specific to a board, moving to SOC dtsi would
avoid redefining this in every board.
Signed-off-by: Srinivas Kandagatla
---
arch/arm/boot/dts/qcom-apq8064-ifc6410.dts | 7 ---
arch/arm/boot/dts/qcom-apq8064.dtsi| 7 +++
2 files changed, 7 insertions
This patch adds AHCI based SATA controller support to APQ8064.
Tested on IFC6410 board.
Signed-off-by: Srinivas Kandagatla
---
arch/arm/boot/dts/qcom-apq8064-ifc6410.dts | 9
arch/arm/boot/dts/qcom-apq8064.dtsi| 35 ++
2 files changed, 44 insertions
This patch adds basic regulator support for USB and HDMI.
Signed-off-by: Srinivas Kandagatla
---
arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts | 61 +
1 file changed, 61 insertions(+)
diff --git a/arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts
b/arch/arm/boot/dts/qcom
From: Pramod Gurav
Define an alias for serial port present on ifc6410 which is used as
console.
Signed-off-by: Srinivas Kandagatla
[Srinivas Kandagatla: renamed the serial0 label appropriately]
Signed-off-by: Pramod Gurav
---
arch/arm/boot/dts/qcom-apq8064-ifc6410.dts | 4
arch/arm/boot
This patch adds USB OTG support on USB1 of APQ8064 SOC.
Tested on IFC6410 with ethernet gadget.
Signed-off-by: Srinivas Kandagatla
---
arch/arm/boot/dts/qcom-apq8064-ifc6410.dts | 17
arch/arm/boot/dts/qcom-apq8064.dtsi| 32 ++
2 files
From: Nicolas Dechesne
This patch adds USB OTG support on USB1 for Compulab QS-600 Board.
Signed-off-by: Srinivas Kandagatla
[Srinivas Kandagatla: fixed up regulators and status properties]
Signed-off-by: Nicolas Dechesne
---
arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts | 17
This patch adds device tree nodes to support two usb hosts on APQ8064
SOC.
Signed-off-by: Srinivas Kandagatla
---
arch/arm/boot/dts/qcom-apq8064-ifc6410.dts | 22 ++
arch/arm/boot/dts/qcom-apq8064.dtsi| 47 ++
2 files changed, 69 insertions
documentation. I would like to get your opinon on the
over all approch.
Kenneth/Patrick,
Could you please try these patches on storm board?
Thanks,
srini
Srinivas Kandagatla (14):
ASoC: qcom: Remove redundant error check.
ASoC: qcom: remove unnecessary header files
ASoC: qcom: move
This patch remove redundant check after request_resource as ioremap would
do the check anyway.
Signed-off-by: Srinivas Kandagatla
---
sound/soc/qcom/lpass-cpu.c | 4
1 file changed, 4 deletions(-)
diff --git a/sound/soc/qcom/lpass-cpu.c b/sound/soc/qcom/lpass-cpu.c
index 6698d05..1e284c6
This patch attempts to remove the hardcoded i2s port number in lpass
driver. Now the the port number comes from the dai id field.
This will allow other SOCs to use different port numbers on the lpass
driver.
Signed-off-by: Srinivas Kandagatla
---
sound/soc/qcom/lpass-cpu.c | 17
This patch removes unnecessary header files in lpass cpu and platform
code.
Signed-off-by: Srinivas Kandagatla
---
sound/soc/qcom/lpass-cpu.c | 6 +-
sound/soc/qcom/lpass-platform.c | 6 --
2 files changed, 1 insertion(+), 11 deletions(-)
diff --git a/sound/soc/qcom/lpass-cpu.c b
.
Signed-off-by: Srinivas Kandagatla
---
sound/soc/qcom/Kconfig | 9 +-
sound/soc/qcom/Makefile | 2 +
sound/soc/qcom/lpass-cpu.c | 157
sound/soc/qcom/lpass-ipq806x.c | 82 +
sound/soc/qcom/lpass-lpaif
This patch adds dma channel bit mask to lpass data to keep track of dma
channel allocations. This flag would be used in apq8016 lpass driver.
Signed-off-by: Srinivas Kandagatla
---
sound/soc/qcom/lpass.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/sound/soc/qcom/lpass.h b/sound/soc
Some LPASS integrations like on APQ8016 do not have OSR clk, so adding
no osr clk bit would allow such integrations to use lpass driver.
Signed-off-by: Srinivas Kandagatla
---
sound/soc/qcom/lpass-cpu.c | 49 +-
sound/soc/qcom/lpass.h | 2 ++
2
This patch adds apq8016 machine driver support. This patch was tested on
two apq8016-sbc and msm8916-mtp board for both hdmi and analog audio
features.
Signed-off-by: Srinivas Kandagatla
---
sound/soc/qcom/Kconfig | 9 ++
sound/soc/qcom/Makefile | 1 +
sound/soc/qcom/apq8016.c | 214
This patch adds apq8016 lpass driver support. APQ8016 has 4 MI2S which
can be routed to one internal codec and 2 external codec interfaces.
Primary, Secondary, Quaternary I2S can do Rx(playback) and Tertiary and
Quaternary can do Tx(capture).
Signed-off-by: Srinivas Kandagatla
---
sound/soc
This patch updates lpass bindings with apq8016 specific bindings.
Signed-off-by: Srinivas Kandagatla
---
Documentation/devicetree/bindings/sound/qcom,lpass-cpu.txt | 13 -
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/sound/qcom
This patch adds bindings for apq8016 machine driver.
On APQ8016 4 MI2S can be configured to different sinks like internal
codec/external codec, this connection is controlled via 2 iomux
registers.
Signed-off-by: Srinivas Kandagatla
---
.../bindings/sound/qcom,apq8016-machine.txt| 61
This patch adds ability to pass dma channel control bits start offset, which
differ in differnet qcom SOCs. On apq8016 dma channel control bits start
after an offset of 1.
Signed-off-by: Srinivas Kandagatla
---
sound/soc/qcom/lpass-platform.c | 2 +-
sound/soc/qcom/lpass.h | 6
This patch removes hardcoded dma channel value in lpass driver, Now the
dma channel allocation happens in the SOC specific layer. This will
allow different LPASS integrations to use the lpass driver in more
generic way.
Signed-off-by: Srinivas Kandagatla
---
sound/soc/qcom/lpass-ipq806x.c | 12
This patch adds ablity to lpass driver to handle interrupt per dma
channel. Without this patch its not possible to use multipl ports on the
lpass.
Signed-off-by: Srinivas Kandagatla
---
sound/soc/qcom/lpass-platform.c | 89 +
sound/soc/qcom/lpass.h
This patch adds support to allow bitclk and osrclk per i2s dai port.
on APQ8016 there are 4 i2s ports each one has its own bit clks.
Without this patch its not possible to support multiple i2s ports in the
lpass driver.
Signed-off-by: Srinivas Kandagatla
---
sound/soc/qcom/lpass-cpu.c | 53
On 08/04/15 18:48, Bjorn Andersson wrote:
On Wed, Mar 18, 2015 at 4:01 AM, Marc Zyngier wrote:
There is a number of cases where a kernel subsystem may want to
introspect the state of an interrupt at the irqchip level:
- When a peripheral is shared between virtual machines,
its interrupt s
On 29/05/15 02:20, Dan Williams wrote:
On Thu, May 21, 2015 at 9:42 AM, Srinivas Kandagatla
wrote:
Thankyou all for providing inputs and comments on previous versions of this
patchset.
Here is the v5 of the patchset addressing all the issues raised as
part of previous versions review.
This
devices, for example: ONESHOT_STOPPED.
Cc: Srinivas Kandagatla
Cc: Maxime Coquelin
Cc: Patrice Chotard
Signed-off-by: Viresh Kumar
---
drivers/clocksource/arm_global_timer.c | 37 --
1 file changed, 17 insertions(+), 20 deletions(-)
diff --git a/drivers/clocksourc
Hi Stefan,
On 16/06/15 09:52, Stefan Wahren wrote:
Hi Caesar,
[add Maxime and Srinivas]
Am 16.06.2015 um 09:27 schrieb Caesar Wang:
The original driver is uploaded by Jianqun.
Here is his patchs:
https://patchwork.kernel.org/patch/5410341/
https://patchwork.kernel.org/patch/5410351
On 16/06/15 11:06, Caesar Wang wrote:
Hi Srinivas,
在 2015年06月16日 17:21, Srinivas Kandagatla 写道:
Hi Stefan,
On 16/06/15 09:52, Stefan Wahren wrote:
Hi Caesar,
[add Maxime and Srinivas]
Am 16.06.2015 um 09:27 schrieb Caesar Wang:
The original driver is uploaded by Jianqun.
Here is his
On 18/06/15 08:05, Stefan Wahren wrote:
Hi Srinivas,
Am 16.06.2015 um 12:54 schrieb Srinivas Kandagatla:
On 16/06/15 11:06, Caesar Wang wrote:
Hi Srinivas,
在 2015年06月16日 17:21, Srinivas Kandagatla 写道:
Hi Stefan,
On 16/06/15 09:52, Stefan Wahren wrote:
Hi Caesar,
[add Maxime and
On 22/06/15 15:54, Archit Taneja wrote:
Decrement device node refcount if of_get_child_by_name is successfully
called.
Signed-off-by: Archit Taneja
---
drivers/gpu/drm/msm/dsi/dsi_host.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/gpu/drm/msm/dsi/dsi_host.c
b/drivers/gpu
version of eeprom framework]
Signed-off-by: Srinivas Kandagatla
---
drivers/Kconfig| 2 +
drivers/Makefile | 1 +
drivers/nvmem/Kconfig | 10 ++
drivers/nvmem/Makefile | 6 +
drivers/nvmem/core.c | 398
rt.
* Move kerneldoc to the src files spotted by Mark Brown.
* Remove local list and do eeprom lookup by using class_find_device()
Thanks,
srini
Maxime Ripard (1):
nvmem: sunxi: Move the SID driver to the nvmem framework
Srinivas Kandagatla (8):
nvmem: Add a simple NVMEM framework for nvm
This patch adds bindings for simple nvmem framework which allows nvmem
consumers to talk to nvmem providers to get access to nvmem cell data.
Signed-off-by: Maxime Ripard
[Maxime Ripard: intial version of eeprom framework]
Signed-off-by: Srinivas Kandagatla
---
Documentation/devicetree
the driver.
Signed-off-by: Srinivas Kandagatla
---
drivers/nvmem/Kconfig | 15 +
drivers/nvmem/Makefile | 4 +++
drivers/nvmem/qfprom.c | 89 ++
3 files changed, 108 insertions(+)
create mode 100644 drivers/nvmem/qfprom.c
diff --git a
This patch add basic how-to and api summary documentation for simple
NVMEM framework.
Signed-off-by: Srinivas Kandagatla
---
Documentation/nvmem/nvmem.txt | 151 ++
1 file changed, 151 insertions(+)
create mode 100644 Documentation/nvmem/nvmem.txt
diff
, which is what these new APIS provide.
These wrapper apis would help such users to avoid code duplication in
there drivers and also avoid them reading a big eeprom blob and parsing
it internally in there driver.
Signed-off-by: Srinivas Kandagatla
---
drivers/nvmem/core.c | 256
the framework]
Signed-off-by: Srinivas Kandagatla
---
drivers/nvmem/core.c | 415 +
include/linux/nvmem-consumer.h | 75
2 files changed, 490 insertions(+)
create mode 100644 include/linux/nvmem-consumer.h
diff --git a/drivers/nvmem
This patch adds bindings for qfprom found in QCOM SOCs. QFPROM driver
is based on simple nvmem framework.
Reviewed-by: Stephen Boyd
Signed-off-by: Srinivas Kandagatla
---
Documentation/devicetree/bindings/nvmem/qfprom.txt | 35 ++
1 file changed, 35 insertions(+)
create
-by: Srinivas Kandagatla
---
Documentation/ABI/testing/sysfs-driver-sunxi-sid | 22 ---
.../bindings/misc/allwinner,sunxi-sid.txt | 17 ---
.../bindings/nvmem/allwinner,sunxi-sid.txt | 21 +++
drivers/misc/eeprom/Kconfig| 13 --
drivers/misc/eeprom
This patch adds MAINTAINERS to nvmem framework.
Signed-off-by: Srinivas Kandagatla
---
MAINTAINERS | 9 +
1 file changed, 9 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index b2ef613..26e1829 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -6993,6 +6993,15 @@ S: Supported
Hi Sanchayan,
On 23/06/15 14:44, Sanchayan Maity wrote:
The patch adds support for the On Chip One Time Programmable Peripheral
(OCOTP) and On Chip ROM (OCROM) support.
On Vybrid OCOTP contain data like SoC ID, MAC address and OCROM has the
revision ID.
Signed-off-by: Sanchayan Maity
---
d
On 24/06/15 09:35, Maxime Ripard wrote:
Hi,
On Tue, Jun 23, 2015 at 07:14:57PM +0530, Sanchayan Maity wrote:
+static struct nvmem_config ocotp_config = {
+ .name = "soc_id",
+};
+
+static struct nvmem_config rom_config = {
+ .name = "rom_rev",
+};
Srinivas, shouldn't we use the
On 24/06/15 06:19, maitysancha...@gmail.com wrote:
I just tested it without the "select REGMAP_MMIO" and it works just fine.
You just got lucky in this case, as REGMAP_MMIO is getting selected
somewhere else.
Drivers should directly select the dependecies. In this case this driver
actually
On 23/06/15 20:47, Stefan Wahren wrote:
0001000
>
i want to port OCOTP driver for MXS, which hasn't MMIO. From my understanding
That's cool.
hexdump would readout the complete register range defined in provider DT node.
How can i achieve that hexdump only reads the data area within the reg
On 23/06/15 21:44, Stefan Wahren wrote:
Srinivas Kandagatla hat am 23. Juni 2015 um
01:09 geschrieben:
From: Maxime Ripard
Now that we have the nvmem framework, we can consolidate the common
driver code. Move the driver to the framework, and hopefully, it will
fix the sysfs file
On 23/06/15 10:25, Rajendra Nayak wrote:
[]..
+Example:
+
+qfprom: qfprom@0070 {
+compatible = "qcom,qfprom";
+reg= <0x0070 0x8000>;
+...
+/* Data cells */
+tsens_calibration: calib@404 {
+reg = <0x4404 0x10>;
+
On 23/06/15 21:35, Stefan Wahren wrote:
+Required properties:
>+reg: specifies the offset in byte within that storage device, start bit
>+ in the byte and the length in bits of the data we care about.
Is the second parameter really in bits, not bytes?
Thanks for spotting this, I will fix this
On 23/06/15 21:16, Stefan Wahren wrote:
+
>+struct device;
Do we need forward declaration of struct device_node too?
Yep, Will fix it in next version.
--srini
>+/* consumer cookie */
>[...]
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message
On 23/06/15 21:28, Stefan Wahren wrote:
>@@ -26,6 +35,21 @@ void devm_nvmem_cell_put(struct device *dev, struct
>nvmem_cell *cell);
>void *nvmem_cell_read(struct nvmem_cell *cell, ssize_t *len);
>int nvmem_cell_write(struct nvmem_cell *cell, void *buf, ssize_t len);
>
>+/* direct nvmem device r
On 23/06/15 21:10, Stefan Wahren wrote:
Hi Srinivas,
sorry for the messed up indention.
NP,
+ */
+
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
Sorting alphabetically would by nice
Good Idea.
+ [...]
+/**
+ * nvmem_regis
On 23/06/15 10:26, Pantelis Antoniou wrote:
Hi Joe,
>On Jun 23, 2015, at 05:52 , Joe Perches wrote:
>
>On Tue, 2015-06-23 at 00:08 +0100, Srinivas Kandagatla wrote:
>>This patch adds just providers part of the framework just to enable easy
>>review.
>[]
>>
On 24/06/15 01:24, Stephen Boyd wrote:
Can you assign the attributes to the device_type in the nvmem::struct
device? I don't see why these attributes need to be part of the class.
I will fix this.
>>
>>>+{
>>>+return class_register(&nvmem_class);
>>
>>I thought class was on the way out
On 24/06/15 13:30, Stefan Wahren wrote:
>If the question is just about hexdump, then hexdump itself can read
>file from given offset and size.
yes, this is my question at first. Let me show the difference between
the current implementation and my expectations as a user.
$ hexdump /sys/class/n
On 24/06/15 18:47, Stefan Wahren wrote:
Hi Srinivas,
Srinivas Kandagatla hat am 24. Juni 2015 um
15:03 geschrieben:
On 24/06/15 13:30, Stefan Wahren wrote:
If the question is just about hexdump, then hexdump itself can read
file from given offset and size.
yes, this is my question at
/pinctrl/qcom/Makefile | 2 +
drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c | 795 ++
Tested the gpio driver with WLAN on IFC6410
Tested-by: Srinivas Kandagatla
--srini
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel&qu
On 02/06/15 20:55, Mark Brown wrote:
On Fri, May 22, 2015 at 04:54:07PM +0100, Srinivas Kandagatla wrote:
+ if (cpu_dai->id == MI2S_QUATERNARY) {
+ /* Configure the Quat MI2S to TLMM */
+ writel(readl(pdata->mic
the dai links to the correct codec names.
- removed the special case for EPROBE_DEFER in probe, spotted by Mark.
- Dropped all the Changes since comments as most of the patches
in last series are merged to topic/qcom branch.
--srini
Srinivas Kandagatla (2):
ASoC: qcom: document apq8016
This patch adds bindings for apq8016 sbc machine driver.
APQ8016 has 4 MI2S which can be configured to different sinks like
internal codec/external codec, this connection and various parameters
are controlled via 2 iomux registers.
Acked-by: Kenneth Westfield
Signed-off-by: Srinivas Kandagatla
This patch adds apq8016 machine driver support. This patch is tested on
DB410c and msm8916-mtp board for both hdmi and analog audio
features.
Acked-by: Kenneth Westfield
Signed-off-by: Srinivas Kandagatla
---
sound/soc/qcom/Kconfig | 9 ++
sound/soc/qcom/Makefile | 2 +
sound
This patch removes special casing the EPROBE_DEFER error handling in the
driver.
Signed-off-by: Srinivas Kandagatla
---
sound/soc/qcom/storm.c | 9 +++--
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/sound/soc/qcom/storm.c b/sound/soc/qcom/storm.c
index ee06613..2d833bf
-by: Srinivas Kandagatla
---
sound/soc/qcom/storm.c | 17 +
1 file changed, 5 insertions(+), 12 deletions(-)
diff --git a/sound/soc/qcom/storm.c b/sound/soc/qcom/storm.c
index b8bd296..ee06613 100644
--- a/sound/soc/qcom/storm.c
+++ b/sound/soc/qcom/storm.c
@@ -69,11 +69,6 @@ sta
On 09/06/15 17:57, Mark Brown wrote:
On Tue, Jun 09, 2015 at 01:59:29PM +0100, Srinivas Kandagatla wrote:
>+Optional CPU/CODEC subnodes properties:
>+- external : flag to indicate if the I2S is connected to external codec
>+Example:
Missing blank line between the property and the
On 09/06/15 18:13, Mark Brown wrote:
On Tue, Jun 09, 2015 at 06:08:24PM +0100, Srinivas Kandagatla wrote:
+- external : flag to indicate if the I2S is connected to external codec
not sure I understand why we need a boolean property indicating if an
external CODEC is in use - what is
On 09/06/15 18:07, Mark Brown wrote:
On Tue, Jun 09, 2015 at 01:59:36PM +0100, Srinivas Kandagatla wrote:
+ if (cpu_dai->id == MI2S_QUATERNARY) {
+ /* Configure the Quat MI2S to TLMM */
+ writel(readl(pdata->mic
On 09/06/15 19:04, Mark Brown wrote:
On Tue, Jun 09, 2015 at 06:51:59PM +0100, Srinivas Kandagatla wrote:
On 09/06/15 18:07, Mark Brown wrote:
Why not just do these one time at probe, we don't undo them when we shut
the DAI down?
If I do that Am afraid that the driver would loos
This patch adds apq8016 machine driver support. This patch is tested on
DB410c and msm8916-mtp board for both hdmi and analog audio
features.
Acked-by: Kenneth Westfield
Signed-off-by: Srinivas Kandagatla
---
sound/soc/qcom/Kconfig | 9 ++
sound/soc/qcom/Makefile | 2 +
sound
This patch adds bindings for apq8016 sbc machine driver.
APQ8016 has 4 MI2S which can be configured to different sinks like
internal codec/external codec, this connection and various parameters
are controlled via 2 iomux registers.
Acked-by: Kenneth Westfield
Signed-off-by: Srinivas Kandagatla
names.
- removed the special case for EPROBE_DEFER in probe, spotted by Mark.
- Dropped all the Changes since comments as most of the patches
in last series are merged to topic/qcom branch.
--srini
Srinivas Kandagatla (2):
ASoC: qcom: document apq8016 sbc machine driver bindings
ASoC: qcom:
Many thanks for review.
On 16/06/15 23:43, Stephen Boyd wrote:
On 05/21/2015 09:43 AM, Srinivas Kandagatla wrote:
diff --git a/drivers/nvmem/core.c b/drivers/nvmem/core.c
new file mode 100644
index 000..6c2f0b1
--- /dev/null
+++ b/drivers/nvmem/core.c
@@ -0,0 +1,398 @@
+/*
+ * nvmem
On 16/06/15 23:29, Stephen Boyd wrote:
On 05/21/2015 09:43 AM, Srinivas Kandagatla wrote:
@@ -379,6 +380,351 @@ int nvmem_unregister(struct nvmem_device *nvmem)
[...]
+
+ return nvmem;
+}
+
+static int __nvmem_device_put(struct nvmem_device *nvmem)
Why does this return int? It'
On 16/06/15 23:49, Stephen Boyd wrote:
On 05/21/2015 09:43 AM, Srinivas Kandagatla wrote:
diff --git a/drivers/nvmem/core.c b/drivers/nvmem/core.c
index 8a4b358..68ee8d1 100644
--- a/drivers/nvmem/core.c
+++ b/drivers/nvmem/core.c
@@ -436,6 +436,51 @@ static int __nvmem_device_put(struct
On 16/06/15 23:53, Stephen Boyd wrote:
On 05/21/2015 09:44 AM, Srinivas Kandagatla wrote:
diff --git a/Documentation/devicetree/bindings/nvmem/nvmem.txt
b/Documentation/devicetree/bindings/nvmem/nvmem.txt
new file mode 100644
index 000..ecea654
--- /dev/null
+++ b/Documentation
On 16/06/15 23:58, Stephen Boyd wrote:
On 05/21/2015 09:44 AM, Srinivas Kandagatla wrote:
diff --git a/drivers/nvmem/nvmem-mmio.c b/drivers/nvmem/nvmem-mmio.c
new file mode 100644
index 000..0d8131f
--- /dev/null
+++ b/drivers/nvmem/nvmem-mmio.c
@@ -0,0 +1,69 @@
+/*
+ * Copyright (C) 2015
701 - 800 of 3797 matches
Mail list logo