[PATCH v3 3/5] misc: fastrpc: Add support for context Invoke method

2019-01-14 Thread Srinivas Kandagatla
Qualcomm kernels. Credits to various Qualcomm authors who have contributed to this code. Specially Tharun Kumar Merugu Co-developed-by: Thierry Escande Signed-off-by: Thierry Escande Signed-off-by: Srinivas Kandagatla --- drivers/misc/fastrpc.c | 713

[PATCH v3 2/5] misc: fastrpc: Add Qualcomm fastrpc basic driver model

2019-01-14 Thread Srinivas Kandagatla
context char device. Co-developed-by: Thierry Escande Signed-off-by: Thierry Escande Signed-off-by: Srinivas Kandagatla --- drivers/misc/Kconfig | 10 ++ drivers/misc/Makefile | 1 + drivers/misc/fastrpc.c | 327 + 3 files changed, 338 insertions

[PATCH v3 1/5] misc: dt-bindings: Add Qualcomm Fastrpc bindings

2019-01-14 Thread Srinivas Kandagatla
-developed-by: Thierry Escande Signed-off-by: Thierry Escande Signed-off-by: Srinivas Kandagatla --- .../devicetree/bindings/misc/qcom,fastrpc.txt | 84 +++ 1 file changed, 84 insertions(+) create mode 100644 Documentation/devicetree/bindings/misc/qcom,fastrpc.txt diff --git a

[PATCH v3 0/5] misc: Add support to Qualcomm FastRPC driver

2019-01-14 Thread Srinivas Kandagatla
replace reg property with label property as suggested by Bjorn - minor content cleanup in bindings as suggested by Mark Rutland Srinivas Kandagatla (5): misc: dt-bindings: Add Qualcomm Fastrpc bindings misc: fastrpc: Add Qualcomm fastrpc basic driver model misc: fastrpc: Add support for co

[PATCH v3 5/5] misc: fastrpc: Add support for dmabuf exporter

2019-01-14 Thread Srinivas Kandagatla
: Thierry Escande Signed-off-by: Thierry Escande Signed-off-by: Srinivas Kandagatla --- drivers/misc/fastrpc.c | 177 include/uapi/misc/fastrpc.h | 8 ++ 2 files changed, 185 insertions(+) diff --git a/drivers/misc/fastrpc.c b/drivers/misc/fastrpc.c index

Re: [PATCH 0/4] slimbus: minor fixes.

2019-01-14 Thread Srinivas Kandagatla
On 14/01/2019 14:53, Greg KH wrote: Should all of these go into 5.0-final? backported to any older releases as well? Or can we wait until 5.1-rc1? We can wait until 5.1-rc1 thanks, srini thanks,

[PATCH 1/4] slimbus: core: match full device id

2019-01-14 Thread Srinivas Kandagatla
match full slim device id instead of just product and manufacture code, this will allow drivers to be much more specific to that device. Signed-off-by: Srinivas Kandagatla --- drivers/slimbus/core.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/slimbus/core.c b

[PATCH 0/4] slimbus: minor fixes.

2019-01-14 Thread Srinivas Kandagatla
last one is to fix missing spinlock init. Thanks, srini Srinivas Kandagatla (4): slimbus: core: match full device id slimbus: core: do not call device_status under a lock slimbus: core: use slim_device_update_status() to update status slimbus: core: add missing spin_lock_init on txn_lock

[PATCH 4/4] slimbus: core: add missing spin_lock_init on txn_lock

2019-01-14 Thread Srinivas Kandagatla
Add missing spin lock intialization this also fixes the spinlock bad magic warning. Signed-off-by: Srinivas Kandagatla --- drivers/slimbus/core.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/slimbus/core.c b/drivers/slimbus/core.c index 8ffdc9876223..b2f07d2043eb 100644 --- a

[PATCH 3/4] slimbus: core: use slim_device_update_status() to update status

2019-01-14 Thread Srinivas Kandagatla
use slim_device_update_status() instead of directly calling the device_status() callback. Move slim_device_update_status() before probe to avoid forward declaration too. Signed-off-by: Srinivas Kandagatla --- drivers/slimbus/core.c | 37 ++--- 1 file changed, 18

[PATCH 2/4] slimbus: core: do not call device_status under a lock

2019-01-14 Thread Srinivas Kandagatla
Calling device_status callback under a lock would prevent drivers to do any slimbus trasactions which would invoke this lock like get_laddr(). Remove this unnecessary lock! Signed-off-by: Srinivas Kandagatla --- drivers/slimbus/core.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a

[PATCH v5 0/8] ASoC: Add support to WCD9335 Audio Codec

2019-01-10 Thread Srinivas Kandagatla
! Srinivas Kandagatla (8): ASoC: dt-bindings: update wcd9335 bindings. ASoC: wcd9335: add support to wcd9335 codec ASoC: wcd9335: add CLASS-H Controller support ASoC: wcd9335: add basic controls ASoC: wcd9335: add playback dapm widgets ASoC: wcd9335: add capture dapm widgets ASoC: wcd9335

[PATCH v5 4/8] ASoC: wcd9335: add basic controls

2019-01-10 Thread Srinivas Kandagatla
This patch adds basic controls found in wcd9335 codec. Signed-off-by: Srinivas Kandagatla Reviewed-by: Vinod Koul --- sound/soc/codecs/wcd9335.c | 359 + 1 file changed, 359 insertions(+) diff --git a/sound/soc/codecs/wcd9335.c b/sound/soc/codecs/wcd9335.c

[PATCH v5 2/8] ASoC: wcd9335: add support to wcd9335 codec

2019-01-10 Thread Srinivas Kandagatla
headset control (MBHC), Active noise cancellation and Sidetone paths and processing. This patchset adds very basic support for playback and capture via the 9 interpolators and ADC respectively. Signed-off-by: Srinivas Kandagatla Reviewed-by: Vinod Koul --- sound/soc/codecs/Kconfig |6

[PATCH v5 8/8] ASoC: apq8096: add slim support

2019-01-10 Thread Srinivas Kandagatla
Signed-off-by: Srinivas Kandagatla --- sound/soc/qcom/apq8096.c | 71 +++- 1 file changed, 70 insertions(+), 1 deletion(-) diff --git a/sound/soc/qcom/apq8096.c b/sound/soc/qcom/apq8096.c index fb45f396ab4a..94363fd6846a 100644 --- a/sound/soc/qcom/apq8096.c

[PATCH v5 6/8] ASoC: wcd9335: add capture dapm widgets

2019-01-10 Thread Srinivas Kandagatla
This patch adds required dapm widgets for capture path. Signed-off-by: Srinivas Kandagatla Reviewed-by: Vinod Koul --- sound/soc/codecs/wcd9335.c | 1448 +++- 1 file changed, 1447 insertions(+), 1 deletion(-) diff --git a/sound/soc/codecs/wcd9335.c b/sound/soc

[PATCH v5 3/8] ASoC: wcd9335: add CLASS-H Controller support

2019-01-10 Thread Srinivas Kandagatla
CLASS-H controller/Amplifier is common accorss Qualcomm WCD codec series. This patchset adds basic CLASS-H controller apis for WCD codecs after wcd9335 to use. Signed-off-by: Srinivas Kandagatla Reviewed-by: Vinod Koul --- sound/soc/codecs/Makefile | 2 +- sound/soc/codecs/wcd-clsh-v2.c

[PATCH v5 5/8] ASoC: wcd9335: add playback dapm widgets

2019-01-10 Thread Srinivas Kandagatla
This patch adds required dapm widgets for playback. Signed-off-by: Srinivas Kandagatla Reviewed-by: Vinod Koul --- sound/soc/codecs/wcd9335.c | 1795 1 file changed, 1795 insertions(+) diff --git a/sound/soc/codecs/wcd9335.c b/sound/soc/codecs/wcd9335.c

[PATCH v5 7/8] ASoC: wcd9335: add audio routings

2019-01-10 Thread Srinivas Kandagatla
This patch adds audio routing for both playback and capture. Signed-off-by: Srinivas Kandagatla Reviewed-by: Vinod Koul --- sound/soc/codecs/wcd9335.c | 189 + 1 file changed, 189 insertions(+) diff --git a/sound/soc/codecs/wcd9335.c b/sound/soc/codecs

[PATCH v5 1/8] ASoC: dt-bindings: update wcd9335 bindings.

2019-01-10 Thread Srinivas Kandagatla
This patch updates wcd9335 bindings with recommended properties. Signed-off-by: Srinivas Kandagatla Reviewed-by: Rob Herring --- .../devicetree/bindings/sound/qcom,wcd9335.txt | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Documentation/devicetree

Re: [PATCH 0/4] ASoC: qdsp6: Add support for audio over DP

2018-12-14 Thread Srinivas Kandagatla
ASoC: qdsp6: q6routing: add display_port_rx port routing Nice work Rohit, All the patches look good to me! Acked-by: Srinivas Kandagatla

Re: [PATCH v5 4/4] arm64: dts: add msm8996 compatible to gicv3

2018-12-13 Thread Srinivas Kandagatla
On 13/12/2018 17:26, Marc Zyngier wrote: I've applied the first 3 patches to irqchip/next. Please route this one via arm-soc. Thanks, I will request Andy to take in his next pull request! --srini Thanks, M.

Re: [PATCH v2 6/6] misc: fastrpc: Add support for compat ioctls

2018-12-12 Thread Srinivas Kandagatla
What prevents you from doing that and requiring compat support? I removed most of the compat IOCTLS except this one. The reason is that this ioctl takes arguments which can vary in number for each call. Then do not do that :) Remember, you get to design the api, fix the structure size to

Re: [PATCH v2 6/6] misc: fastrpc: Add support for compat ioctls

2018-12-12 Thread Srinivas Kandagatla
Thanks for the comments, On 12/12/18 10:59, Greg KH wrote: This patch adds support for compat ioctl from 32 bits userland to Qualcomm fastrpc driver. Ick, why? Why not just fix up your ioctl structures to not need that at all? For new code being added to the kernel, there's no excuse to have

Re: [PATCH v2 3/6] misc: fastrpc: Add support for context Invoke method

2018-12-12 Thread Srinivas Kandagatla
On 12/12/18 11:02, Greg KH wrote: On Fri, Dec 07, 2018 at 04:35:10PM +, Srinivas Kandagatla wrote: +#define FASTRPC_BUILD_SCALARS(attr, method, in, out, oin, oout) \ + uint32_t) (attr) & 0x07) << 29) | \ + (((uint32_t) (method) & 0x1f) &l

Re: [PATCH v2 1/6] misc: dt-bindings: Add Qualcomm Fastrpc bindings

2018-12-11 Thread Srinivas Kandagatla
On 07/12/18 18:23, Mark Rutland wrote: + cb@1 { + compatible = "qcom,fastrpc-compute-cb"; + reg = <1>; + iommus = <&lpass_q6_smmu 1>; These iommus should be associated with the device (i.e. the DSP itself). Are you referring to implement this

Re: [PATCH v2 1/6] misc: dt-bindings: Add Qualcomm Fastrpc bindings

2018-12-11 Thread Srinivas Kandagatla
On 11/12/18 00:10, Bjorn Andersson wrote: [..] +- reg + Usage: required + Value type: + Definition: DSP Processor ID. + Possible values are : + 0 - ADSP + 1 - MDSP + 2 - SDSP + 3 -

[PATCH v5 2/4] irqchip/gic: common: add support to device tree based quirks

2018-12-10 Thread Srinivas Kandagatla
This patch adds support to device tree based quirks based on device tree compatible string. Signed-off-by: Srinivas Kandagatla --- drivers/irqchip/irq-gic-common.c | 12 drivers/irqchip/irq-gic-common.h | 3 +++ drivers/irqchip/irq-gic-v3.c | 7 +++ 3 files changed, 22

[PATCH v5 3/4] irqchip: gic-v3: Add quirk for msm8996 secured registers

2018-12-10 Thread Srinivas Kandagatla
ble string. Without this patch Qualcomm DB820c board reboots when GICR_WAKER is accessed. Signed-off-by: Srinivas Kandagatla --- drivers/irqchip/irq-gic-v3.c | 20 1 file changed, 20 insertions(+) diff --git a/drivers/irqchip/irq-gic-v3.c b/drivers/irqchip/irq-gic-v3.c index df

[PATCH v5 4/4] arm64: dts: add msm8996 compatible to gicv3

2018-12-10 Thread Srinivas Kandagatla
DB820c board reboots on mainline. Signed-off-by: Srinivas Kandagatla --- arch/arm64/boot/dts/qcom/msm8996.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi index 8585c61e32ef..cd9650cea05d

[PATCH v5 1/4] dt-bindings/gic-v3: Add msm8996 compatible string

2018-12-10 Thread Srinivas Kandagatla
other SoCs, using compatible seems to be the only way to apply quirks required for msm8996 based SoCs. Without this quirk many qcom SoCs (atleast 3 that I know) are unable to boot mainline. Signed-off-by: Srinivas Kandagatla --- .../devicetree/bindings/interrupt-controller/arm,gic-v3.txt | 4

[PATCH v5 0/4] irqchip/gic-v3: Add support to DT based quirk for msm8996

2018-12-10 Thread Srinivas Kandagatla
gic_enable_of_quirks() followed by the actual quirk required for msm8996. Without this quirk many qcom SoCs (atleast 3 that I know) are unable to boot mainline. Changes since v4: - Added missing empty entry into quirk table. Srinivas Kandagatla (4): dt-bindings/gic-v3: Add msm8996 compatible

Re: [PATCH v4 2/4] irqchip/gic: common: add support to device tree based quirks

2018-12-10 Thread Srinivas Kandagatla
On 10/12/18 10:55, Marc Zyngier wrote: +void gic_enable_of_quirks(const struct device_node *np, + const struct gic_quirk *quirks, void *data) +{ + for (; quirks->desc; quirks++) { So you expect quirks->desc to be NULL at some point, just like for any other qui

Re: [PATCH v2 1/6] misc: dt-bindings: Add Qualcomm Fastrpc bindings

2018-12-10 Thread Srinivas Kandagatla
Thanks for the review, On 07/12/18 18:23, Mark Rutland wrote: On Fri, Dec 07, 2018 at 04:35:08PM +, Srinivas Kandagatla wrote: The FastRPC driver implements an IPC (Inter-Processor Communication) mechanism that allows for clients to transparently make remote method invocations across DSP

[PATCH v4 2/4] irqchip/gic: common: add support to device tree based quirks

2018-12-10 Thread Srinivas Kandagatla
This patch adds support to device tree based quirks based on device tree compatible string. Signed-off-by: Srinivas Kandagatla --- drivers/irqchip/irq-gic-common.c | 12 drivers/irqchip/irq-gic-common.h | 3 +++ drivers/irqchip/irq-gic-v3.c | 5 + 3 files changed, 20

[PATCH v4 0/4] irqchip/gic-v3: Add support to DT based quirk for msm8996

2018-12-10 Thread Srinivas Kandagatla
as suggest by Marc Thanks, Srini Srinivas Kandagatla (4): dt-bindings/gic-v3: Add msm8996 compatible string irqchip/gic: common: add support to device tree based quirks irqchip: gic-v3: Add quirk for msm8996 secured registers arm64: dts: add msm8996 compatible to gicv3 .../interrupt

[PATCH v4 3/4] irqchip: gic-v3: Add quirk for msm8996 secured registers

2018-12-10 Thread Srinivas Kandagatla
ble string. Without this patch Qualcomm DB820c board reboots when GICR_WAKER is accessed. Signed-off-by: Srinivas Kandagatla --- drivers/irqchip/irq-gic-v3.c | 20 1 file changed, 20 insertions(+) diff --git a/drivers/irqchip/irq-gic-v3.c b/drivers/irqchip/irq-gic-v3.c index c9

[PATCH v4 1/4] dt-bindings/gic-v3: Add msm8996 compatible string

2018-12-10 Thread Srinivas Kandagatla
other SoCs, using compatible seems to be the only way to apply quirks required for msm8996 based SoCs. Without this quirk many qcom SoCs (atleast 3 that I know) are unable to boot mainline. Signed-off-by: Srinivas Kandagatla --- .../devicetree/bindings/interrupt-controller/arm,gic-v3.txt | 4

[PATCH v4 4/4] arm64: dts: add msm8996 compatible to gicv3

2018-12-10 Thread Srinivas Kandagatla
DB820c board reboots on mainline. Signed-off-by: Srinivas Kandagatla --- arch/arm64/boot/dts/qcom/msm8996.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi index 8585c61e32ef..cd9650cea05d

[PATCH v2 1/6] misc: dt-bindings: Add Qualcomm Fastrpc bindings

2018-12-07 Thread Srinivas Kandagatla
-developed-by: Thierry Escande Signed-off-by: Thierry Escande Signed-off-by: Srinivas Kandagatla --- .../devicetree/bindings/misc/qcom,fastrpc.txt | 73 +++ 1 file changed, 73 insertions(+) create mode 100644 Documentation/devicetree/bindings/misc/qcom,fastrpc.txt diff --git a

[PATCH v2 2/6] misc: fastrpc: Add Qualcomm fastrpc basic driver model

2018-12-07 Thread Srinivas Kandagatla
context char device. Signed-off-by: Srinivas Kandagatla Co-developed-by: Thierry Escande Signed-off-by: Thierry Escande --- drivers/misc/Kconfig | 10 ++ drivers/misc/Makefile | 1 + drivers/misc/fastrpc.c | 319 + 3 files changed, 330 insertions

[PATCH v2 4/6] misc: fastrpc: Add support for create remote init process

2018-12-07 Thread Srinivas Kandagatla
this code. Specially Tharun Kumar Merugu Co-developed-by: Thierry Escande Signed-off-by: Thierry Escande Signed-off-by: Srinivas Kandagatla --- drivers/misc/fastrpc.c | 140 include/uapi/misc/fastrpc.h | 12 2 files changed, 152 insertions

[PATCH v2 6/6] misc: fastrpc: Add support for compat ioctls

2018-12-07 Thread Srinivas Kandagatla
code. Specially Tharun Kumar Merugu Co-developed-by: Thierry Escande Signed-off-by: Thierry Escande Signed-off-by: Srinivas Kandagatla --- drivers/misc/fastrpc.c | 71 ++ 1 file changed, 71 insertions(+) diff --git a/drivers/misc/fastrpc.c b/drivers

[PATCH v2 3/6] misc: fastrpc: Add support for context Invoke method

2018-12-07 Thread Srinivas Kandagatla
Qualcomm kernels. Credits to various Qualcomm authors who have contributed to this code. Specially Tharun Kumar Merugu Co-developed-by: Thierry Escande Signed-off-by: Thierry Escande Signed-off-by: Srinivas Kandagatla --- drivers/misc/fastrpc.c | 716

[PATCH v2 5/6] misc: fastrpc: Add support for dmabuf exporter

2018-12-07 Thread Srinivas Kandagatla
: Thierry Escande Signed-off-by: Thierry Escande Signed-off-by: Srinivas Kandagatla --- drivers/misc/fastrpc.c | 176 include/uapi/misc/fastrpc.h | 8 ++ 2 files changed, 184 insertions(+) diff --git a/drivers/misc/fastrpc.c b/drivers/misc/fastrpc.c index

[PATCH v2 0/6] misc: Add support to Qualcomm FastRPC driver

2018-12-07 Thread Srinivas Kandagatla
ized most of the code from RFC review comments. Srinivas Kandagatla (6): misc: dt-bindings: Add Qualcomm Fastrpc bindings misc: fastrpc: Add Qualcomm fastrpc basic driver model misc: fastrpc: Add support for context Invoke method misc: fastrpc: Add support for create remote init process m

[PATCH v2] thermal: tsens: qcom: do not create duplicate regmap debugfs entries

2018-12-06 Thread Srinivas Kandagatla
: Failed to create 4a9000.thermal-sensor debugfs directory Signed-off-by: Srinivas Kandagatla Acked-by: Amit Kucheria Tested-by: Amit Kucheria --- Changes since v1: -rename tsens_config to tsens_tm_config as suggested by Amit. drivers/thermal/qcom/tsens-common.c | 17 + 1 file

Re: [alsa-devel] [PATCH v2 4/5] ASoC: sdm845: Add configuration for headset codec

2018-12-05 Thread Srinivas Kandagatla
On 28/11/18 09:00, Cheng-Yi Chiang wrote: Set DAI format and sysclk for headset codec. Signed-off-by: Cheng-Yi Chiang Acked-by: Srinivas Kandagatla

Re: [alsa-devel] [PATCH v2 3/5] ASoC: sdm845: Add TDM configuration for speaker

2018-12-05 Thread Srinivas Kandagatla
On 28/11/18 09:00, Cheng-Yi Chiang wrote: Set TDM time slots and DAI format for speaker codec. Signed-off-by: Cheng-Yi Chiang Acked-by: Srinivas Kandagatla

Re: [alsa-devel] [PATCH v2 1/5] ASoC: qcom: sdm845: Add board specific dapm widgets

2018-12-05 Thread Srinivas Kandagatla
Hi Jimmy, On 28/11/18 09:00, Cheng-Yi Chiang wrote: Add board specific dapm widgets so these widgets can be used in the route. Signed-off-by: Rohit kumar Signed-off-by: Cheng-Yi Chiang --- sound/soc/qcom/sdm845.c | 10 ++ 1 file changed, 10 insertions(+) Am not sure why are yo

Re: [RFC PATCH 3/6] char: fastrpc: Add support for context Invoke method

2018-11-30 Thread Srinivas Kandagatla
On 30/11/18 16:19, Arnd Bergmann wrote: On Fri, Nov 30, 2018 at 5:03 PM Srinivas Kandagatla wrote: On 30/11/18 15:08, Arnd Bergmann wrote: On Fri, Nov 30, 2018 at 4:01 PM Srinivas Kandagatla wrote: Thanks Arnd for the review comments! On 30/11/18 13:41, Arnd Bergmann wrote: On Fri, Nov

Re: [RFC PATCH 2/6] char: fastrpc: Add Qualcomm fastrpc basic driver model

2018-11-30 Thread Srinivas Kandagatla
Thanks for the comments! On 30/11/18 16:13, Greg KH wrote: + "sdsp", "cdsp"}; +static dev_t fastrpc_major; Why do you need a whole major number for this? Why not just use the Not really! misc interface instead? Sure, I will give that a go!

Re: [RFC PATCH 3/6] char: fastrpc: Add support for context Invoke method

2018-11-30 Thread Srinivas Kandagatla
On 30/11/18 15:08, Arnd Bergmann wrote: On Fri, Nov 30, 2018 at 4:01 PM Srinivas Kandagatla wrote: Thanks Arnd for the review comments! On 30/11/18 13:41, Arnd Bergmann wrote: On Fri, Nov 30, 2018 at 11:48 AM Srinivas Kandagatla wrote: +static long fastrpc_device_ioctl(struct file

Re: [RFC PATCH 3/6] char: fastrpc: Add support for context Invoke method

2018-11-30 Thread Srinivas Kandagatla
Thanks Arnd for the review comments! On 30/11/18 13:41, Arnd Bergmann wrote: On Fri, Nov 30, 2018 at 11:48 AM Srinivas Kandagatla wrote: This patch adds support to compute context invoke method on the remote processor (DSP). This involves setting up the functions input and output arguments

Re: [RFC PATCH 4/6] char: fastrpc: Add support for create remote init process

2018-11-30 Thread Srinivas Kandagatla
Thanks Arnd for the review comments, On 30/11/18 13:26, Arnd Bergmann wrote: On Fri, Nov 30, 2018 at 11:48 AM Srinivas Kandagatla wrote: + +static int fastrpc_init_process(struct fastrpc_user *fl, + struct fastrpc_ioctl_init *init) +{ + struct

[PATCH 0/2] slimbus: patches for 4.21

2018-11-30 Thread Srinivas Kandagatla
Hi Greg, Here are few trivial slimbus fixes. Could you please take them for 4.21 Thanks, srini Colin Ian King (1): slimbus: ngd: fix spelling mistake "exeeds" -> "exceeds" Wolfram Sang (1): slimbus: qcom-ctrl: simplify getting .driver_data drivers/slimbus/qcom-ctrl.c | 6 ++ drive

[PATCH 2/2] slimbus: ngd: fix spelling mistake "exeeds" -> "exceeds"

2018-11-30 Thread Srinivas Kandagatla
From: Colin Ian King There is a spelling mistake in a dev_err message, fix this. Signed-off-by: Colin Ian King Signed-off-by: Srinivas Kandagatla --- drivers/slimbus/qcom-ngd-ctrl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/slimbus/qcom-ngd-ctrl.c b/drivers

[PATCH 1/2] slimbus: qcom-ctrl: simplify getting .driver_data

2018-11-30 Thread Srinivas Kandagatla
From: Wolfram Sang We should get 'driver_data' from 'struct device' directly. Going via platform_device is an unneeded step back and forth. Signed-off-by: Wolfram Sang Signed-off-by: Srinivas Kandagatla --- drivers/slimbus/qcom-ctrl.c | 6 ++ 1 file changed, 2 insert

[PATCH 1/6] nvmem: add type attribute

2018-11-30 Thread Srinivas Kandagatla
Belloni Signed-off-by: Srinivas Kandagatla --- drivers/nvmem/core.c | 21 + include/linux/nvmem-provider.h | 16 2 files changed, 37 insertions(+) diff --git a/drivers/nvmem/core.c b/drivers/nvmem/core.c index 27f67dfa649d..d9fd11033c1c 100644 --- a

[PATCH 4/6] nvmem: meson-efuse: add peripheral clock

2018-11-30 Thread Srinivas Kandagatla
From: Jerome Brunet Get and enable the peripheral clock required by the efuse device. The driver has been handle to work without it so far because the clock was left enabled by default but it won't be the case soon. Signed-off-by: Jerome Brunet Signed-off-by: Srinivas Kandagatla --- dr

[PATCH 5/6] nvmem: Move nvmem_type_str array to its only user

2018-11-30 Thread Srinivas Kandagatla
Joe Perches Cc: Srinivas Kandagatla Signed-off-by: Andy Shevchenko Signed-off-by: Srinivas Kandagatla --- drivers/nvmem/core.c | 7 +++ include/linux/nvmem-provider.h | 7 --- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/nvmem/core.c b/drivers/nvm

[PATCH 6/6] nvmem: add new config option

2018-11-30 Thread Srinivas Kandagatla
y: Bartosz Golaszewski Signed-off-by: Srinivas Kandagatla --- drivers/nvmem/core.c | 3 ++- include/linux/nvmem-provider.h | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/nvmem/core.c b/drivers/nvmem/core.c index 22345e65a301..f7301bb4ef3b 100644 --- a/dri

[PATCH 3/6] nvmem: meson-efuse: bindings: add peripheral clock

2018-11-30 Thread Srinivas Kandagatla
Signed-off-by: Jerome Brunet Reviewed-by: Rob Herring Signed-off-by: Srinivas Kandagatla --- Documentation/devicetree/bindings/nvmem/amlogic-efuse.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/nvmem/amlogic-efuse.txt b/Documentation/devicetree/bindings

[PATCH 2/6] nvmem: meson-efuse: add error message on user_max failure.

2018-11-30 Thread Srinivas Kandagatla
From: Jerome Brunet Add an explicit error message when SM_EFUSE_USER_MAX command fails Signed-off-by: Jerome Brunet Signed-off-by: Srinivas Kandagatla --- drivers/nvmem/meson-efuse.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/nvmem/meson-efuse.c b/drivers

[PATCH 0/6] nvmem: patches for 4.21

2018-11-30 Thread Srinivas Kandagatla
Hi Greg, This patchset adds support to - new meson-efuse peripheral clock - add type attribute - add new config option to ignore dt node to scan cells. Can you please pick them up for 4.21. thanks, srini Alexandre Belloni (1): nvmem: add type attribute Andy Shevchenk

[PATCH] rpmsg: core: make rpmsg bus DMA capable

2018-11-30 Thread Srinivas Kandagatla
Many of the rpmsg clients like audio, fastrpc drivers need to allocate dma memory. Make this bus DMA capable so that the child devices can use dma apis. Signed-off-by: Srinivas Kandagatla --- drivers/rpmsg/rpmsg_core.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/rpmsg

[RFC PATCH 2/6] char: fastrpc: Add Qualcomm fastrpc basic driver model

2018-11-30 Thread Srinivas Kandagatla
context char device. Signed-off-by: Srinivas Kandagatla --- drivers/char/Kconfig | 10 ++ drivers/char/Makefile | 1 + drivers/char/fastrpc.c | 337 + 3 files changed, 348 insertions(+) create mode 100644 drivers/char/fastrpc.c diff --git a/drivers

[RFC PATCH 0/6] char: Add support to Qualcomm FastRPC driver

2018-11-30 Thread Srinivas Kandagatla
SDK. Thanks, srini Srinivas Kandagatla (5): char: dt-bindings: Add Qualcomm Fastrpc bindings char: fastrpc: Add Qualcomm fastrpc basic driver model char: fastrpc: Add support for context Invoke method char: fastrpc: Add support for create remote init process char: fastrpc: Add support for dma

[RFC PATCH 1/6] char: dt-bindings: Add Qualcomm Fastrpc bindings

2018-11-30 Thread Srinivas Kandagatla
-off-by: Srinivas Kandagatla --- .../devicetree/bindings/char/qcom,fastrpc.txt | 73 +++ 1 file changed, 73 insertions(+) create mode 100644 Documentation/devicetree/bindings/char/qcom,fastrpc.txt diff --git a/Documentation/devicetree/bindings/char/qcom,fastrpc.txt b

[RFC PATCH 4/6] char: fastrpc: Add support for create remote init process

2018-11-30 Thread Srinivas Kandagatla
this code. Specially Tharun Kumar Merugu Signed-off-by: Srinivas Kandagatla --- drivers/char/fastrpc.c | 172 +++ include/uapi/linux/fastrpc.h | 18 2 files changed, 190 insertions(+) diff --git a/drivers/char/fastrpc.c b/drivers/char/fastrpc.c index

[RFC PATCH 6/6] char: fastrpc: Add support for compat ioctls

2018-11-30 Thread Srinivas Kandagatla
have contributed to this code. Specially Tharun Kumar Merugu Signed-off-by: Thierry Escande Signed-off-by: Srinivas Kandagatla --- drivers/char/fastrpc.c | 279 + 1 file changed, 279 insertions(+) diff --git a/drivers/char/fastrpc.c b/drivers/char

[RFC PATCH 3/6] char: fastrpc: Add support for context Invoke method

2018-11-30 Thread Srinivas Kandagatla
Qualcomm kernels. Credits to various Qualcomm authors who have contributed to this code. Specially Tharun Kumar Merugu Signed-off-by: Srinivas Kandagatla --- drivers/char/fastrpc.c | 790 +++ include/uapi/linux/fastrpc.h | 56 +++ 2 files changed, 846 insertions

[RFC PATCH 5/6] char: fastrpc: Add support for dmabuf exporter

2018-11-30 Thread Srinivas Kandagatla
: Srinivas Kandagatla --- drivers/char/fastrpc.c | 173 ++- include/uapi/linux/fastrpc.h | 8 ++ 2 files changed, 180 insertions(+), 1 deletion(-) diff --git a/drivers/char/fastrpc.c b/drivers/char/fastrpc.c index 3630e883d3f4..3c52502eae9f 100644 --- a/drivers

Re: [PATCH v2 01/25] nvmem: add new config option

2018-11-29 Thread Srinivas Kandagatla
Hi Srinivas, if there are no objections - can you Ack this patch for Greg to pick up into char-misc? Patch is fine for me. I normally send all the nvmem patches just before rc5. --srini Bart

Re: [RFC PATCH v3 3/4] irqchip: gic-v3: Add quirk for msm8996 secured registers

2018-11-29 Thread Srinivas Kandagatla
On 28/11/18 23:33, Bjorn Andersson wrote: Given that the change request introducing this restriction looks quite generic and that we've heard reports of other shipping platforms having the same restriction, could we make this slightly more generic? I.e. dropping the MSM8996 from the flag name

Re: [PATCH] slimbus: ngd: fix spelling mistake "exeeds" -> "exceeds"

2018-11-27 Thread Srinivas Kandagatla
On 27/11/18 14:34, Colin King wrote: From: Colin Ian King There is a spelling mistake in a dev_err message, fix this. Signed-off-by: Colin Ian King --- drivers/slimbus/qcom-ngd-ctrl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Thanks Applied!

Re: [alsa-devel] [PATCH 3/4] ASoC: qcom: sdm845: Add codec related configuration for sdm845

2018-11-27 Thread Srinivas Kandagatla
Thanks for the patch Jimmy, On 24/11/18 11:09, Cheng-Yi Chiang wrote: Set TDM time slots and DAI format for speaker codec. Set DAI format and clock for headset. > Signed-off-by: Rohit kumar Signed-off-by: Cheng-Yi Chiang Overall the patch looks good for me, but this needs to be split into tw

Re: [alsa-devel] [PATCH 4/4] ASoC: qcom: Kconfig: select config for codec

2018-11-27 Thread Srinivas Kandagatla
On 24/11/18 11:09, Cheng-Yi Chiang wrote: Select SND_SOC_RT5663 and SND_SOC_MAX98927 for SND_SOC_SDM845. Signed-off-by: Rohit kumar Signed-off-by: Cheng-Yi Chiang Acked-by: Srinivas Kandagatla --- sound/soc/qcom/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sound

Re: [alsa-devel] [PATCH 2/4] ASoC: qcom: sdm845: Create and setup jack in init callback

2018-11-27 Thread Srinivas Kandagatla
On 24/11/18 11:09, Cheng-Yi Chiang wrote: Add a callback for init ops on dai_link to create and setup jack. Signed-off-by: Rohit kumar Signed-off-by: Cheng-Yi Chiang Acked-by: Srinivas Kandagatla --- sound/soc/qcom/sdm845.c | 57 +++-- 1 file

Re: [alsa-devel] [PATCH 1/4] ASoC: qcom: sdm845: Add board specific dapm widgets

2018-11-27 Thread Srinivas Kandagatla
On 24/11/18 11:09, Cheng-Yi Chiang wrote: Add board specific dapm widgets so these widgets can be used in the route. Signed-off-by: Rohit kumar Signed-off-by: Cheng-Yi Chiang Acked-by: Srinivas Kandagatla --- sound/soc/qcom/sdm845.c | 10 ++ 1 file changed, 10 insertions

Re: [PATCH 2/2] ASoC: sdm845: Add support for Secondary MI2S interface

2018-11-21 Thread Srinivas Kandagatla
On 16/11/18 07:41, Rohit kumar wrote: Add support to configure bit clock for secondary MI2S TX interface. Signed-off-by: Rohit kumar --- sound/soc/qcom/sdm845.c | 18 ++ Acked-by: Srinivas Kandagatla

Re: [PATCH 1/2] ASoC: sdm845: Update slot_width for Quaternary TDM port

2018-11-21 Thread Srinivas Kandagatla
-by: Srinivas Kandagatla

Re: [alsa-devel] [PATCH v3 1/5] ALSA: soc-compress: add support to snd_compr_set_runtime_buffer()

2018-11-16 Thread Srinivas Kandagatla
Thanks for your comments! On 16/11/18 07:18, Daniel Baluta wrote: One minor comment: struct snd_compr_ops *ops; + struct snd_dma_buffer *dma_buffer_p; I don't think it is necessary to encode the type inside the name variable So, dma_buffer would sounds better to me then dma_b

[PATCH] qcom: apr: Make apr callbacks in non-atomic context

2018-11-15 Thread Srinivas Kandagatla
all the dais to be nonatomic. All the callbacks are now invoked as part of rx work queue. Signed-off-by: Srinivas Kandagatla --- drivers/soc/qcom/apr.c | 74 +++--- 1 file changed, 69 insertions(+), 5 deletions(-) diff --git a/drivers/soc/qcom/apr.c b/drivers

[PATCH v3 2/5] ALSA: compress: make use of runtime buffer for copy

2018-11-15 Thread Srinivas Kandagatla
Default copy function uses kmalloc to allocate buffers, lets check if the runtime buffers are setup before making this allocations. This can be useful if the buffers are dma buffers. Signed-off-by: Srinivas Kandagatla --- sound/core/compress_offload.c | 18 +++--- 1 file changed, 15

[PATCH v3 3/5] ASoC: q6asm-dai: dt-bindings: Add support to compress dais

2018-11-15 Thread Srinivas Kandagatla
board level wiring. These two new dt properties will allow such flexibilty at board level dts. Signed-off-by: Srinivas Kandagatla Reviewed-by: Vinod Koul Reviewed-by: Rob Herring --- .../devicetree/bindings/sound/qcom,q6asm.txt | 27 +++ 1 file changed, 27 insertions(+) diff

[PATCH v3 0/5] ASoC: qdsp6: add compress offload support

2018-11-15 Thread Srinivas Kandagatla
like compress UAPI header changes and FastRPC which are being worked in parallel. Once ready will post them! thanks, srini Changes since v2 (//lkml.org/lkml/2018/9/26/461): - Removed some unnecessary empty line adds. - Added more info to snd_compr_set_runtime_buffer() commit message Srinivas

[PATCH v3 1/5] ALSA: soc-compress: add support to snd_compr_set_runtime_buffer()

2018-11-15 Thread Srinivas Kandagatla
buffer on compressed stream. Signed-off-by: Srinivas Kandagatla --- include/sound/compress_driver.h | 19 +++ 1 file changed, 19 insertions(+) diff --git a/include/sound/compress_driver.h b/include/sound/compress_driver.h index ea8c93bbb0e0..0cdc3999ecfa 100644 --- a/include/sound

[PATCH v3 5/5] ASoC: qdsp6: q6asm-dai: Add support to compress offload

2018-11-15 Thread Srinivas Kandagatla
This patch adds MP3 playback support in q6asm dais, adding other codec support should be pretty trivial. Signed-off-by: Srinivas Kandagatla --- sound/soc/qcom/Kconfig | 1 + sound/soc/qcom/qdsp6/q6asm-dai.c | 372 ++- 2 files changed, 372 insertions(+), 1

[PATCH v3 4/5] ASoC: qdsp6: q6asm: add support to MP3 format

2018-11-15 Thread Srinivas Kandagatla
This patch adds support to mp3 format in ASM module. Signed-off-by: Srinivas Kandagatla --- sound/soc/qcom/qdsp6/q6asm.c | 5 + 1 file changed, 5 insertions(+) diff --git a/sound/soc/qcom/qdsp6/q6asm.c b/sound/soc/qcom/qdsp6/q6asm.c index e1cfa846a1dc..4f85cb19a309 100644 --- a/sound/soc

[PATCH] thermal: tsens: qcom: do not create duplicate regmap debugfs entries

2018-11-15 Thread Srinivas Kandagatla
: Failed to create 4a9000.thermal-sensor debugfs directory Signed-off-by: Srinivas Kandagatla --- drivers/thermal/qcom/tsens-common.c | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/drivers/thermal/qcom/tsens-common.c b/drivers/thermal/qcom/tsens-common.c index

Re: Crash in msm serial on dragonboard with ftrace bootargs

2018-11-15 Thread Srinivas Kandagatla
On 15/11/18 10:33, Sai Prakash Ranjan wrote: On 11/13/2018 3:14 PM, Srinivas Kandagatla wrote: Hi Sai, On 25/10/18 15:36, saiprakash.ran...@codeaurora.org wrote: "If I disable dma node and LS-UART0, then I don't see any crash and ftrace also works fine" And one more obse

Re: Crash in msm serial on dragonboard with ftrace bootargs

2018-11-13 Thread Srinivas Kandagatla
Hi Sai, On 25/10/18 15:36, saiprakash.ran...@codeaurora.org wrote: "If I disable dma node and LS-UART0, then I don't see any crash and ftrace also works fine" And one more observation is that even without ftrace cmdline, if I use earlycon and disable dma, I face the same crash. So basically

Re: [PATCH 2/4] nvmem: meson-efuse: bindings: add peripheral clock

2018-11-13 Thread Srinivas Kandagatla
On 30/10/18 10:22, Jerome Brunet wrote: The efuse found in gx SoC requires a peripheral clock to properly operate. We have been able to work without it until now because the clock was on by default, and left on by the CCF. Soon, it will not be the case anymore, so the device needs to claim the

Re: [PATCH 4/4] nvmem: meson-efuse: add peripheral clock

2018-11-13 Thread Srinivas Kandagatla
On 30/10/18 10:22, Jerome Brunet wrote: Get and enable the peripheral clock required by the efuse device. The driver has been handle to work without it so far because the clock was left enabled by default but it won't be the case soon. Signed-off-by: Jerome Brunet --- drivers/nvmem/meson-ef

Re: [PATCH 0/4] nvmem: meson: efuse updates

2018-11-12 Thread Srinivas Kandagatla
On 12/11/18 13:28, jbru...@baylibre.com wrote: Also I need ack from dt-maintaners on clk bindings to pick patch 2 and 4. I understand for patch 2, but don't really get it for patch 4 ? Patch 2 is bindings which what I need ack from DT maintainers. Patch 4 is driver changes related to patch 2

Re: [PATCH] nvmem: add type attribute

2018-11-12 Thread Srinivas Kandagatla
On 07/11/18 10:51, Alexandre Belloni wrote: Add a type attribute so userspace is able to know how the data is stored as this can help taking the correct decision when selecting which device to use. This will also help program display the proper warnings when burning fuses for example. Signed-

Re: [PATCH 1/4] nvmem: meson-efuse: add error message on user_max failure.

2018-11-12 Thread Srinivas Kandagatla
On 30/10/18 10:22, Jerome Brunet wrote: Add an explicit error message when SM_EFUSE_USER_MAX command fails Signed-off-by: Jerome Brunet --- drivers/nvmem/meson-efuse.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) Applied to nvmem for-next branch! thanks, srini

Re: [PATCH 0/4] nvmem: meson: efuse updates

2018-11-12 Thread Srinivas Kandagatla
On 30/10/18 10:22, Jerome Brunet wrote: The first change of this patchset just adds add error message in case of failure. If there is problem with the secure monitor, the SM_EFUSE_USER_MAX call will be first one to fail so it is better if it give us a clue to help debugging, instead af silentl

[PATCH 2/2] slimbus: ngd: QCOM_QMI_HELPERS has to be selected

2018-11-12 Thread Srinivas Kandagatla
From: Niklas Cassel QCOM_QMI_HELPERS is a hidden kconfig, so the proper usage is to select it, not depend upon it. Because of this change, we now also need to depend on the same Kconfigs as QCOM_QMI_HELPERS depends on. Signed-off-by: Niklas Cassel Signed-off-by: Srinivas Kandagatla

<    7   8   9   10   11   12   13   14   15   16   >