-by: Srinivas Kandagatla
---
sound/soc/codecs/Kconfig | 10 +
sound/soc/codecs/Makefile |2 +
sound/soc/codecs/wsa881x.c | 1134
3 files changed, 1146 insertions(+)
create mode 100644 sound/soc/codecs/wsa881x.c
diff --git a/sound/soc/codecs/Kconfig b/sound/soc
thermal sensor support in WSA881x.
Thanks,
srini
Changes since v4:
- updated slave bindings according to Rob's and Pierre Suggestion.
- fixup warnings from make dt_binding_check
Srinivas Kandagatla (4):
dt-bindings: soundwire: add slave bindings
soundwire: core: add device tree support
This patch adds bindings for Soundwire Slave devices that includes how
SoundWire enumeration address and Link ID are used to represented in
SoundWire slave device tree nodes.
Signed-off-by: Srinivas Kandagatla
---
.../soundwire/soundwire-controller.yaml | 72 +++
1 file
to call the ioctl to decrement the refcount.
So remove this extra refcount in the ioctl
More info of dma buf usage at drivers/dma-buf/dma-buf.c
Reported-by: Mayank Chopra
Reported-by: Jorge Ramirez-Ortiz
Tested-by: Jorge Ramirez-Ortiz
Signed-off-by: Srinivas Kandagatla
---
drivers/misc
From: Jorge Ramirez-Ortiz
Remove unused INIT_MEMLEN_MAX define.
Signed-off-by: Jorge Ramirez-Ortiz
Signed-off-by: Abhinav Asati
Signed-off-by: Vamsi Singamsetty
Signed-off-by: Srinivas Kandagatla
---
drivers/misc/fastrpc.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/misc
-by: Mayank Chopra
Signed-off-by: Srinivas Kandagatla
---
drivers/misc/fastrpc.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/misc/fastrpc.c b/drivers/misc/fastrpc.c
index eee2bb398947..47ae84afac2e 100644
--- a/drivers/misc/fastrpc.c
+++ b/drivers/misc/fastrpc.c
@@ -550,6 +550,7
all references has been relinquished.
Signed-off-by: Bjorn Andersson
Signed-off-by: Mayank Chopra
Signed-off-by: Abhinav Asati
Signed-off-by: Vamsi Singamsetty
Signed-off-by: Srinivas Kandagatla
---
drivers/misc/fastrpc.c | 43 +-
1 file changed, 38
-off-by: Mayank Chopra
Signed-off-by: Abhinav Asati
Signed-off-by: Vamsi Singamsetty
Signed-off-by: Srinivas Kandagatla
---
drivers/misc/fastrpc.c | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/misc/fastrpc.c b/drivers/misc/fastrpc.c
index c019e867e7fa..59ee6de26229 100644
c: fastrpc: remove unused definition
Srinivas Kandagatla (2):
misc: fastrpc: fix double refcounting on dmabuf
misc: fastrpc: free dma buf scatter list
drivers/misc/fastrpc.c | 74 --
1 file changed, 43 insertions(+), 31 deletions(-)
--
2.21.0
On 28/08/2019 08:50, Jorge Ramirez wrote:
On 8/27/19 23:45, Srinivas Kandagatla wrote:
On 23/08/2019 16:23, Jorge Ramirez-Ortiz wrote:
can you add me as a co-author to this patch please?
No problem I can do that if you feel so!
yes please. thanks!
since I spent about a day doing
map/unmap on that dmabuf fd,
having an additional api adds another level of refcount which is totally
redundant and is the root cause for this leak.
--srini
also you can add my tested-by if you want
TIA
On Fri, 23 Aug 2019 at 12:07, Srinivas Kandagatla
mailto:srinivas.kandaga...@linaro.
On 26/08/2019 17:22, Pierre-Louis Bossart wrote:
+ description:
+ Is the textual representation of SoundWire Enumeration
+ address. compatible string should contain SoundWire Version
ID,
+ Manufacturer ID, Part ID and Class ID in order and shall be in
+ lower-case
thanks for reviewing the patch!
On 27/08/2019 21:20, Rob Herring wrote:
On Fri, Aug 23, 2019 at 12:23:40PM +0530, Vinod Koul wrote:
On 23-08-19, 00:37, Srinivas Kandagatla wrote:
This patch adds bindings for Soundwire Slave devices that includes how
SoundWire enumeration address and Link ID
Thanks for taking time to review!
On 27/08/2019 13:20, Rob Herring wrote:
On Thu, Aug 22, 2019 at 6:38 PM Srinivas Kandagatla
wrote:
This patch adds bindings for WSA8810/WSA8815 Class-D Smart Speaker
Amplifier. This Amplifier also has a simple thermal sensor for
over temperature and speaker
On 23/08/2019 17:44, Pierre-Louis Bossart wrote:
On 8/23/19 10:57 AM, Srinivas Kandagatla wrote:
On 23/08/2019 16:41, Pierre-Louis Bossart wrote:
On 8/22/19 6:37 PM, Srinivas Kandagatla wrote:
This patch adds bindings for Soundwire Slave devices that includes how
SoundWire
On 23/08/2019 16:41, Pierre-Louis Bossart wrote:
On 8/22/19 6:37 PM, Srinivas Kandagatla wrote:
This patch adds bindings for Soundwire Slave devices that includes how
SoundWire enumeration address and Link ID are used to represented in
SoundWire slave device tree nodes.
Signed-off
On 23/08/2019 16:44, Pierre-Louis Bossart wrote:
On 8/22/19 6:37 PM, Srinivas Kandagatla wrote:
This patch adds support to parsing device tree based
SoundWire slave devices.
Signed-off-by: Srinivas Kandagatla
---
drivers/soundwire/bus.c | 2 ++
drivers/soundwire/bus.h | 1
-by: Mayank Chopra
Signed-off-by: Srinivas Kandagatla
---
drivers/misc/fastrpc.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/misc/fastrpc.c b/drivers/misc/fastrpc.c
index eee2bb398947..47ae84afac2e 100644
--- a/drivers/misc/fastrpc.c
+++ b/drivers/misc/fastrpc.c
@@ -550,6 +550,7
sysfs
Signed-off-by: Bjorn Andersson
Signed-off-by: Mayank Chopra
Signed-off-by: Abhinav Asati
Signed-off-by: Vamsi Singamsetty
Signed-off-by: Srinivas Kandagatla
---
drivers/misc/fastrpc.c | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/misc/fastrpc.c b/drivers/misc/fastrpc.c
to call the ioctl to decrement the refcount.
So remove this extra refcount in the ioctl
More info of dma buf usage at drivers/dma-buf/dma-buf.c
Reported-by: Mayank Chopra
Reported-by: Jorge Ramirez-Ortiz
Signed-off-by: Srinivas Kandagatla
---
drivers/misc/fastrpc.c | 25
From: Jorge Ramirez-Ortiz
Remove unused INIT_MEMLEN_MAX define.
Signed-off-by: Jorge Ramirez-Ortiz
Signed-off-by: Abhinav Asati
Signed-off-by: Vamsi Singamsetty
Signed-off-by: Srinivas Kandagatla
---
drivers/misc/fastrpc.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/misc
all references has been relinquished.
TEST=stop and start remote proc1 using sysfs
Signed-off-by: Bjorn Andersson
Signed-off-by: Mayank Chopra
Signed-off-by: Abhinav Asati
Signed-off-by: Vamsi Singamsetty
Signed-off-by: Srinivas Kandagatla
---
drivers/misc/fastrpc.c | 43
reference rpmsg_device after remove
Jorge Ramirez-Ortiz (1):
misc: fastrpc: remove unused definition
Srinivas Kandagatla (2):
misc: fastrpc: fix double refcounting on dmabuf
misc: fastrpc: free dma buf scatter list
drivers/misc/fastrpc.c | 74 --
1
[] device_initial_probe+0x20/0x28
[] bus_probe_device+0x34/0x7c
[] deferred_probe_work_func+0x6c/0x98
[] process_one_work+0x160/0x2f8
Signed-off-by: Srinivas Kandagatla
---
drivers/thermal/qcom/tsens-8960.c | 2 ++
drivers/thermal/qcom/tsens-v0_1.c | 12 ++--
drivers/thermal/qcom/tsens-v1.c
This patch adds bindings for WSA8810/WSA8815 Class-D Smart Speaker
Amplifier. This Amplifier also has a simple thermal sensor for
over temperature and speaker protection.
Signed-off-by: Srinivas Kandagatla
---
.../bindings/sound/qcom,wsa881x.yaml | 44 +++
1 file
This patch adds bindings for Soundwire Slave devices that includes how
SoundWire enumeration address and Link ID are used to represented in
SoundWire slave device tree nodes.
Signed-off-by: Srinivas Kandagatla
---
.../soundwire/soundwire-controller.yaml | 75 +++
1 file
-by: Srinivas Kandagatla
---
sound/soc/codecs/Kconfig | 10 +
sound/soc/codecs/Makefile |2 +
sound/soc/codecs/wsa881x.c | 1134
3 files changed, 1146 insertions(+)
create mode 100644 sound/soc/codecs/wsa881x.c
diff --git a/sound/soc/codecs/Kconfig b/sound/soc
to Banajit Goswami and Patrick Lai's Team.
TODO:
Add thermal sensor support in WSA881x.
Thanks,
srini
Changes since v3:
- updated slave bindings according to Rob's Suggestion.
- moved bindings to yaml
Srinivas Kandagatla (4):
dt-bindings: soundwire: add slave bindings
soundwire: core
This patch adds support to parsing device tree based
SoundWire slave devices.
Signed-off-by: Srinivas Kandagatla
---
drivers/soundwire/bus.c | 2 ++
drivers/soundwire/bus.h | 1 +
drivers/soundwire/slave.c | 52 +++
3 files changed, 55 insertions
-by: Srinivas Kandagatla
---
sound/soc/codecs/Kconfig | 10 +
sound/soc/codecs/Makefile |2 +
sound/soc/codecs/wsa881x.c | 1134
3 files changed, 1146 insertions(+)
create mode 100644 sound/soc/codecs/wsa881x.c
diff --git a/sound/soc/codecs/Kconfig b/sound/soc
thermal sensor support in WSA881x.
Thanks,
srini
Changes since v3:
- updated slave bindings according to Rob's Suggestion.
- moved bindings to yaml
Srinivas Kandagatla (4):
dt-bindings: soundwire: add slave bindings
soundwire: core: add device tree support for slave devices
dt-bindings
This patch adds support to parsing device tree based
SoundWire slave devices.
Signed-off-by: Srinivas Kandagatla
---
drivers/soundwire/bus.c | 2 ++
drivers/soundwire/bus.h | 1 +
drivers/soundwire/slave.c | 52 +++
3 files changed, 55 insertions
This patch adds bindings for Soundwire Slave devices that includes how
SoundWire enumeration address and Link ID are used to represented in
SoundWire slave device tree nodes.
Signed-off-by: Srinivas Kandagatla
---
.../soundwire/soudwire-controller.yaml| 75 +++
1 file
This patch adds bindings for WSA8810/WSA8815 Class-D Smart Speaker
Amplifier. This Amplifier also has a simple thermal sensor for
over temperature and speaker protection.
Signed-off-by: Srinivas Kandagatla
---
.../bindings/sound/qcom,wsa881x.yaml | 44 +++
1 file
On 22/08/2019 13:36, Rob Herring wrote:
+soundwire@c2d {
+compatible = "qcom,soundwire-v1.5.0"
+reg = <0x0c2d 0x2000>;
+
+spkr_left:wsa8810-left{
+compatible = "sdw0110217201000";
+...
+};
+
+spkr_right:wsa8810-right{
+compatible
On 21/08/2019 18:05, Takashi Iwai wrote:
On Wed, 21 Aug 2019 12:02:25 +0200,
Srinivas Kandagatla wrote:
From: Deepa Madiregama
- mixer_ctl_set() function is limiting the volume level
to particular range. This results in incorrect initial
volume setting for that device.
- In USB
On 22/08/2019 11:09, Takashi Iwai wrote:
On Thu, 22 Aug 2019 11:56:52 +0200,
Srinivas Kandagatla wrote:
QDSP supports up to 384000 rates on SLIM dais and 352800 rate on TDM dais.
Add this missing rates.
Signed-off-by: Srinivas Kandagatla
---
sound/soc/qcom/qdsp6/q6afe-dai.c | 92
On 21/08/2019 22:44, Rob Herring wrote:
On Fri, Aug 09, 2019 at 02:34:04PM +0100, Srinivas Kandagatla wrote:
This patch adds bindings for Soundwire Slave devices that includes how
SoundWire enumeration address and Link ID are used to represented in
SoundWire slave device tree nodes.
Signed
QDSP supports up to 384000 rates on SLIM dais and 352800 rate on TDM dais.
Add this missing rates.
Signed-off-by: Srinivas Kandagatla
---
sound/soc/qcom/qdsp6/q6afe-dai.c | 92 +++-
1 file changed, 32 insertions(+), 60 deletions(-)
diff --git a/sound/soc/qcom/qdsp6
On this codec SLIMBus RX path supports 384000 rate on primary interpolator.
Add this missing rate as supported rate.
Signed-off-by: Srinivas Kandagatla
---
sound/soc/codecs/wcd9335.c | 20
1 file changed, 12 insertions(+), 8 deletions(-)
diff --git a/sound/soc/codecs
Q6ASM dais support max rate up to 384KHz, update this.
Signed-off-by: Srinivas Kandagatla
---
sound/soc/qcom/qdsp6/q6asm-dai.c | 18 +-
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/sound/soc/qcom/qdsp6/q6asm-dai.c b/sound/soc/qcom/qdsp6/q6asm-dai.c
index
that drivers can use it.
Signed-off-by: Vidyakumar Athota
Signed-off-by: Banajit Goswami
Signed-off-by: Srinivas Kandagatla
---
include/sound/pcm.h | 5 +
sound/core/pcm_native.c | 2 +-
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/include/sound/pcm.h b/include/sound/pcm.h
index
of these new rates.
Srinivas Kandagatla (3):
ASoC: wcd9335: Fix primary interpolator max rate
ASoC: qdsp6: q6afe-dai: Update max rate for slim and tdm dais
ASoC: qdsp6: q6asm-dai: fix max rates on q6asm dais
Vidyakumar Athota (1):
ALSA: pcm: add support for 352.8KHz and 384KHz sample rate
include
Thanks for taking time to review,
On 21/08/2019 18:44, Takashi Iwai wrote:
On Wed, 21 Aug 2019 12:27:05 +0200,
Srinivas Kandagatla wrote:
From: Vidyakumar Athota
Most of the modern codecs supports 352.8KHz and 384KHz sample rates.
Currently HW params fails to set 352.8Kz and 384KHz sample
Add fastrpc compute context bank nodes to both cdsp and adsp.
Signed-off-by: Srinivas Kandagatla
---
arch/arm64/boot/dts/qcom/sdm845.dtsi | 74
1 file changed, 74 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi
b/arch/arm64/boot/dts/qcom/sdm845
that drivers can use it.
Signed-off-by: Vidyakumar Athota
Signed-off-by: Srinivas Kandagatla
---
include/sound/pcm.h | 5 +
sound/core/pcm_native.c | 2 +-
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/include/sound/pcm.h b/include/sound/pcm.h
index 1e9bb1c91770..bbe6eb1ff5d2
the wrong values for dBmin/dBmax.
- Fix is to use appropriate resolution factor while
calculating the dBmin/dBmax values.
Signed-off-by: Deepa Madiregama
Signed-off-by: Banajit Goswami
Signed-off-by: Meng Wang
Signed-off-by: Srinivas Kandagatla
---
sound/usb/mixer.c | 6 --
1 file
On 16/08/2019 15:09, Thomas Bogendoerfer wrote:
On Wed, Aug 14, 2019 at 01:52:49PM +0100, Srinivas Kandagatla wrote:
On 14/08/2019 12:46, Thomas Bogendoerfer wrote:
On Tue, 13 Aug 2019 10:40:34 +0100
Srinivas Kandagatla wrote:
On 09/08/2019 11:32, Thomas Bogendoerfer wrote
gned-off-by: Srinivas Kandagatla
---
drivers/slimbus/slimbus.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/slimbus/slimbus.h b/drivers/slimbus/slimbus.h
index 9be41089edde..b2f013bfe42e 100644
--- a/drivers/slimbus/slimbus.h
+++ b/drivers/slimbus/slimbus.h
@@ -439,
-off-by: Nishka Dasgupta
Reviewed-by: Bjorn Andersson
Signed-off-by: Srinivas Kandagatla
---
drivers/slimbus/qcom-ngd-ctrl.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/drivers/slimbus/qcom-ngd-ctrl.c b/drivers/slimbus/qcom-ngd-ctrl.c
index f3585777324c..29fbab55c3b3
Hi Greg,
Here are some slimbus patches for 5.4 which includes:
Two fixes, one to fix the dt node refcount and other
is to address a coccicheck.
Can you please queue them up for 5.4.
Thanks,
srini
Nishka Dasgupta (1):
slimbus: qcom-ngd-ctrl: Add of_node_put() before return
Srinivas
From: Stefan Wahren
The email address listed in MODULE_AUTHOR() will be disabled in the
near future. Replace it with my private one.
Signed-off-by: Stefan Wahren
Signed-off-by: Srinivas Kandagatla
---
drivers/nvmem/mxs-ocotp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
Signed-off-by: Srinivas Kandagatla
---
drivers/nvmem/sunxi_sid.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/nvmem/sunxi_sid.c b/drivers/nvmem/sunxi_sid.c
index a079a80ddf2c..e26ef1bbf198 100644
--- a/drivers/nvmem/sunxi_sid.c
+++ b/drivers/nvmem/sunxi_sid.c
@@ -186,6 +186,7
bytes on Meson8, Meson8b and Meson8m2).
Calculate the remaining data to copy inside meson_mx_efuse_read() so
reading 6 bytes doesn't write beyond the end of the data buffer.
Signed-off-by: Martin Blumenstingl
Reviewed-by: Neil Armstrong
Signed-off-by: Srinivas Kandagatla
---
drivers/nvmem
From: Fugang Duan
Add new compatible string "fsl,imx8qm-scu-ocotp" into binding
doc for i.MX8 SCU OCOTP driver.
Signed-off-by: Fugang Duan
Signed-off-by: Srinivas Kandagatla
---
Documentation/devicetree/bindings/arm/freescale/fsl,scu.txt | 4 +++-
1 file changed, 3 insertions(+),
From: Anson Huang
i.MX8MN is a new SoC of i.MX8M series, it is similar to i.MX8MM
in terms of addressing and clock setup, add support for its fuse
read/write.
Signed-off-by: Anson Huang
Signed-off-by: Srinivas Kandagatla
---
drivers/nvmem/imx-ocotp.c | 7 +++
1 file changed, 7 insertions
From: Fugang Duan
i.MX8QM efuse table has some difference with i.MX8QXP platform,
so add i.MX8QM platform support.
Signed-off-by: Fugang Duan
Signed-off-by: Srinivas Kandagatla
---
drivers/nvmem/imx-ocotp-scu.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/drivers/nvmem/imx
Hi Greg,
Here are some nvmem patches for 5.4 which includes:
- adding support to new imx mx8mn octp and mx8qm fsl providers
- fix for smaller word size in meson provider and fix in sunxi provier.
- finally author email update from Stefan
Can you please queue them up for 5.4.
thanks,
srini
From: Anson Huang
Add compatible for i.MX8MN and add i.MX8MM/i.MX8MN to the description.
Signed-off-by: Anson Huang
Reviewed-by: Rob Herring
Signed-off-by: Srinivas Kandagatla
---
Documentation/devicetree/bindings/nvmem/imx-ocotp.txt | 3 ++-
1 file changed, 2 insertions(+), 1 deletion
On 07/08/2019 05:03, fugang.d...@nxp.com wrote:
From: Fugang Duan
The patch set is to add i.MX8QM platform support for i.MX8 SCU
OCOTP driver due to i.MX8QM efuse table has some difference with
i.MX8QXP platform.
V2:
- Add dt-bindings for the new compatible string support.
Fugang Duan
On 16/08/2019 01:10, syzbot wrote:
syzbot has bisected this bug to:
commit 2aeac95d1a4cc85aae57ab842d5c3340df0f817f
Author: Srinivas Kandagatla
Date: Tue Jun 11 10:40:41 2019 +
soundwire: add module_sdw_driver helper macro
Not sure how adding a macro with no users triggers
On 14/08/2019 12:46, Thomas Bogendoerfer wrote:
On Tue, 13 Aug 2019 10:40:34 +0100
Srinivas Kandagatla wrote:
On 09/08/2019 11:32, Thomas Bogendoerfer wrote:
nvmem_device_find provides a way to search for nvmem devices with
the help of a match function simlair to bus_find_device
On 13/08/2019 15:34, Pierre-Louis Bossart wrote:
On 8/13/19 3:35 AM, Srinivas Kandagatla wrote:
From: Vinod Koul
This callback allows masters to compute the bus parameters required.
This looks like a partial use of the patch ('soundwire: Add Intel
resource management algorithm')? see
On 13/08/2019 18:51, Pierre-Louis Bossart wrote:
On 8/13/19 11:50 AM, Srinivas Kandagatla wrote:
Thanks for the review,
On 13/08/2019 15:44, Pierre-Louis Bossart wrote:
On 8/13/19 3:35 AM, Srinivas Kandagatla wrote:
On platforms which have smart speaker amplifiers connected via
soundwire
Thanks for the review,
On 13/08/2019 17:03, Cezary Rojewski wrote:
On 2019-08-13 10:35, Srinivas Kandagatla wrote:
On platforms which have smart speaker amplifiers connected via
soundwire and modeled as aux devices in ASoC, in such usecases machine
driver should be able to get sdw master
Thanks for the review,
On 13/08/2019 15:44, Pierre-Louis Bossart wrote:
On 8/13/19 3:35 AM, Srinivas Kandagatla wrote:
On platforms which have smart speaker amplifiers connected via
soundwire and modeled as aux devices in ASoC, in such usecases machine
driver should be able to get sdw master
On 09/08/2019 11:32, Thomas Bogendoerfer wrote:
nvmem_device_find provides a way to search for nvmem devices with
the help of a match function simlair to bus_find_device.
Signed-off-by: Thomas Bogendoerfer
---
drivers/nvmem/core.c | 62 ++
This patch adds bindings for Qualcomm soundwire controller.
Qualcomm SoundWire Master controller is present in most Qualcomm SoCs
either integrated as part of WCD audio codecs via slimbus or
as part of SOC I/O.
Signed-off-by: Srinivas Kandagatla
---
.../bindings/soundwire/qcom,sdw.txt
function would provide more
flexibility to above configurations.
Signed-off-by: Srinivas Kandagatla
---
include/sound/soc-dai.h | 10 ++
1 file changed, 10 insertions(+)
diff --git a/include/sound/soc-dai.h b/include/sound/soc-dai.h
index dc48fe081a20..1e01f4a302e0 100644
--- a/include/sound
From: Vinod Koul
This callback allows masters to compute the bus parameters required.
Signed-off-by: Vinod Koul
Signed-off-by: Srinivas Kandagatla
---
drivers/soundwire/stream.c| 10 ++
include/linux/soundwire/sdw.h | 2 ++
2 files changed, 12 insertions(+)
diff --git a/drivers
Make stream name const pointer
Signed-off-by: Srinivas Kandagatla
---
drivers/soundwire/stream.c| 2 +-
include/linux/soundwire/sdw.h | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/soundwire/stream.c b/drivers/soundwire/stream.c
index 60bc2fe42928
() dummy function.
- Cleaned up driver to handle read/writes in same way without special casing.
- removed unused defines
Srinivas Kandagatla (4):
soundwire: stream: make stream name a const pointer
ASoC: core: add support to snd_soc_dai_get_sdw_stream()
dt-bindings: soundwire: add bindings
amplifiers.
Signed-off-by: Srinivas Kandagatla
---
drivers/soundwire/Kconfig | 9 +
drivers/soundwire/Makefile | 4 +
drivers/soundwire/qcom.c | 919 +
3 files changed, 932 insertions(+)
create mode 100644 drivers/soundwire/qcom.c
diff --git a/drivers
improve the system]
url:
https://github.com/0day-ci/linux/commits/Srinivas-Kandagatla/ASoC-codecs-Add-WSA881x-Smart-Speaker-amplifier-support/20190812-080612
config: m68k-allmodconfig (attached as .config)
compiler: m68k-linux-gcc (GCC) 7.4.0
reproduce:
wget
https
document renamed to slave.txt
- fix error code from dt slave parsing
Srinivas Kandagatla (4):
dt-bindings: soundwire: add slave bindings
soundwire: core: add device tree support for slave devices
dt-bindings: ASoC: Add WSA881x bindings
ASoC: codecs: add wsa881x amplifier support
.../bindings
-by: Srinivas Kandagatla
---
sound/soc/codecs/Kconfig | 10 +
sound/soc/codecs/Makefile |2 +
sound/soc/codecs/wsa881x.c | 1134
3 files changed, 1146 insertions(+)
create mode 100644 sound/soc/codecs/wsa881x.c
diff --git a/sound/soc/codecs/Kconfig b/sound/soc
This patch adds support to parsing device tree based
SoundWire slave devices.
Signed-off-by: Srinivas Kandagatla
---
drivers/soundwire/bus.c | 2 ++
drivers/soundwire/bus.h | 1 +
drivers/soundwire/slave.c | 44 +++
3 files changed, 47 insertions
This patch adds bindings for WSA8810/WSA8815 Class-D Smart Speaker
Amplifier. This Amplifier also has a simple thermal sensor for
over temperature and speaker protection.
Signed-off-by: Srinivas Kandagatla
---
.../bindings/sound/qcom,wsa881x.txt | 24 +++
1 file
This patch adds bindings for Soundwire Slave devices that includes how
SoundWire enumeration address and Link ID are used to represented in
SoundWire slave device tree nodes.
Signed-off-by: Srinivas Kandagatla
---
.../devicetree/bindings/soundwire/slave.txt | 51 +++
1 file
On 09/08/2019 05:54, Vinod Koul wrote:
On 08-08-19, 20:52, Mark Brown wrote:
On Thu, Aug 08, 2019 at 05:48:56PM +0100, Srinivas Kandagatla wrote:
On 08/08/2019 16:58, Pierre-Louis Bossart wrote:
+- sdw-instance-id: Should be ('Instance ID') from SoundWire
+ Enumeration Address
On 09/08/2019 06:07, Vinod Koul wrote:
On 08-08-19, 15:45, Srinivas Kandagatla wrote:
This patch adds support to parsing device tree based
SoundWire slave devices.
Signed-off-by: Srinivas Kandagatla
---
drivers/soundwire/bus.c | 2 ++
drivers/soundwire/bus.h | 1 +
drivers
On 09/08/2019 06:46, Vinod Koul wrote:
+int sdw_of_find_slaves(struct sdw_bus *bus)
+{
+ struct device *dev = bus->dev;
+ struct device_node *node;
+
+ for_each_child_of_node(bus->dev->of_node, node) {
+ struct sdw_slave_id id;
+ const char *compat = NULL;
+ int
On 08/08/2019 16:58, Pierre-Louis Bossart wrote:
+++ b/Documentation/devicetree/bindings/soundwire/slave.txt
@@ -0,0 +1,46 @@
+SoundWire slave device bindings.
+
+SoundWire is a 2-pin multi-drop interface with data and clock line.
+It facilitates development of low cost, efficient, high
Thanks for taking time to review,
On 08/08/2019 16:18, Pierre-Louis Bossart wrote:
+/* 4 ports */
+static struct sdw_dpn_prop wsa_sink_dpn_prop[WSA881X_MAX_SWR_PORTS] = {
+ {
+ /* DAC */
+ .num = 1,
+ .type = SDW_DPN_SIMPLE,
IIRC we added the REDUCED type in
Thanks for taking time to review.
On 08/08/2019 16:00, Pierre-Louis Bossart wrote:
@@ -35,6 +36,7 @@ static int sdw_slave_add(struct sdw_bus *bus,
slave->dev.release = sdw_slave_release;
slave->dev.bus = _bus_type;
+ slave->dev.of_node = of_node_get(to_of_node(fwnode));
This patch adds bindings for Soundwire Slave devices which includes how
SoundWire enumeration address is represented in SoundWire slave device
tree nodes.
Signed-off-by: Srinivas Kandagatla
---
.../devicetree/bindings/soundwire/slave.txt | 46 +++
1 file changed, 46 insertions
-by: Srinivas Kandagatla
---
sound/soc/codecs/Kconfig | 10 +
sound/soc/codecs/Makefile |2 +
sound/soc/codecs/wsa881x.c | 1160
3 files changed, 1172 insertions(+)
create mode 100644 sound/soc/codecs/wsa881x.c
diff --git a/sound/soc/codecs/Kconfig b/sound/soc
also depends on the soundwire Kconfig patch
https://lkml.org/lkml/2019/7/18/834 from Pierre
Thanks,
srini
Changes since v1 RFC:
- bindings document renamed to slave.txt
- fix error code from dt slave parsing
Srinivas Kandagatla (4):
dt-bindings: soundwire: add slave bindings
soundwire: core
This patch adds bindings for WSA8810/WSA8815 Class-D Smart Speaker
Amplifier. This Amplifier also has a simple thermal sensor for
over temperature and speaker protection.
Signed-off-by: Srinivas Kandagatla
---
.../bindings/sound/qcom,wsa881x.txt | 27 +++
1 file
This patch adds support to parsing device tree based
SoundWire slave devices.
Signed-off-by: Srinivas Kandagatla
---
drivers/soundwire/bus.c | 2 ++
drivers/soundwire/bus.h | 1 +
drivers/soundwire/slave.c | 47 +++
3 files changed, 50 insertions
have been using some thing similar in my setup.
I did test this with Qualcomm WSA881x codec.
Tested-by: Srinivas Kandagatla
--srini
On 23/07/2019 16:32, Jose Diaz de Grenu wrote:
Currently the imx-ocotp driver does only allow reading complete OTP words
correcty aligned.
Usually OTP memory is limited, so the fields are stored using as few bits as
possible. This means that a given value rarely uses 32 bits and happens to
On 27/07/2019 20:34, Martin Blumenstingl wrote:
Some Amlogic boards store the Ethernet MAC address inside the eFuse. The
Ethernet MAC address uses 6 bytes. The existing logic in
meson_mx_efuse_read() would write beyond the end of the data buffer when
trying to read data with a size that is
On 31/07/2019 08:14, Stefan Mavrodiev wrote:
Like in H3, A64 SID controller doesn't return correct data
when using direct access. It appears that on A64, SID needs
8 bytes of word_size.
Workaround is to enable read by registers.
Signed-off-by: Stefan Mavrodiev
Applied Thanks,
srini
On 04/07/2019 15:20, fugang.d...@nxp.com wrote:
From: Fugang Duan
i.MX8QM efuse table has some difference with i.MX8QXP platform,
so add i.MX8QM platform support.
Signed-off-by: Fugang Duan
---
drivers/nvmem/imx-ocotp-scu.c | 7 +++
1 file changed, 7 insertions(+)
diff --git
On 11/07/2019 03:37, anson.hu...@nxp.com wrote:
From: Anson Huang
Add compatible for i.MX8MN and add i.MX8MM/i.MX8MN to the description.
Signed-off-by: Anson Huang
Applied both the patches.
Thanks,
srini
---
Documentation/devicetree/bindings/nvmem/imx-ocotp.txt | 3 ++-
1 file
Hi Sascha,
On 01/07/2019 09:06, Sascha Hauer wrote:
Hi Srinivas,
On Tue, May 21, 2019 at 11:21:07AM +0200, Sascha Hauer wrote:
On Tue, May 21, 2019 at 10:02:32AM +0100, Srinivas Kandagatla wrote:
On 21/05/2019 09:56, Sascha Hauer wrote:
. Are there any suggestions how to register
Thanks Vinod for taking time to review,
On 01/07/2019 07:11, Vinod Koul wrote:
On 11-06-19, 11:40, Srinivas Kandagatla wrote:
This patch adds bindings for Soundwire Slave devices which includes how
SoundWire enumeration address is represented in SoundWire slave device
tree nodes.
Signed-off
Thanks for review,
On 01/07/2019 07:17, Vinod Koul wrote:
On 11-06-19, 11:40, Srinivas Kandagatla wrote:
This patch adds support to parsing device tree based
SoundWire slave devices.
Signed-off-by: Srinivas Kandagatla
---
drivers/soundwire/bus.c | 2 +-
drivers/soundwire/bus.h | 1
...@vger.kernel.org
Reported-by: Srinivas Kandagatla
Signed-off-by: Sricharan R
Thanks for the patch, It works for me now!
Tested-by: Srinivas Kandagatla
--srini
---
drivers/dma/qcom/bam_dma.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/dma/qcom/bam_dma.c b/drivers/dma/qcom
801 - 900 of 6454 matches
Mail list logo