Re: [PATCH v5 1/2] misc: fastrpc: support complete DMA pool access to the DSP

2024-06-11 Thread Dmitry Baryshkov
>of_node, "memory-region", 0); > + if (domain_id == SDSP_DOMAIN_ID && rmem_node) { I think we can drop the domain_id check here. The rest looks good to me. Reviewed-by: Dmitry Baryshkov > + u64 src_perms; > + > +

Re: [PATCH v5 2/2] misc: fastrpc: use coherent pool for untranslated Compute Banks

2024-06-11 Thread Dmitry Baryshkov
--- > drivers/misc/fastrpc.c | 5 - > 1 file changed, 4 insertions(+), 1 deletion(-) > Reviewed-by: Dmitry Baryshkov -- With best wishes Dmitry

Re: [PATCH v2 5/5] arm64: dts: qcom: sdx75-idp: enable MPSS remoteproc node

2024-06-17 Thread Dmitry Baryshkov
On Mon, Jun 17, 2024 at 03:04:28PM GMT, Naina Mehta wrote: > Enable MPSS remoteproc node on sdx75-idp platform. > > Signed-off-by: Naina Mehta > --- > arch/arm64/boot/dts/qcom/sdx75-idp.dts | 6 ++ > 1 file changed, 6 insertions(+) > Reviewed-by: Dmitry Baryshkov

Re: [PATCH v2 4/5] arm64: dts: qcom: sdx75: Add remoteproc node

2024-06-17 Thread Dmitry Baryshkov
On Mon, Jun 17, 2024 at 03:04:27PM GMT, Naina Mehta wrote: > Add MPSS remoteproc node for SDX75 SoC. > > Signed-off-by: Naina Mehta > --- > arch/arm64/boot/dts/qcom/sdx75.dtsi | 47 + > 1 file changed, 47 insertions(+) > Reviewed-by: Dmitry Ba

Re: [v4 2/3] leds: sy7802: Add support for Silergy SY7802 flash LED controller

2024-06-17 Thread Dmitry Baryshkov
On Mon, Jun 17, 2024 at 12:18:11PM GMT, Markus Elfring wrote: > >> Would you become interested to apply a statement like > >> “guard(mutex)(&chip->mutex);”? > >> https://elixir.bootlin.com/linux/v6.10-rc3/source/include/linux/mutex.h#L196 > > > > This does not look like real improvement for code t

Re: [PATCH 1/5] ARM: dts: qcom: msm8974: Use mboxes in smsm node

2024-06-20 Thread Dmitry Baryshkov
ed, 1 insertion(+), 3 deletions(-) > Reviewed-by: Dmitry Baryshkov -- With best wishes Dmitry

Re: [PATCH 2/5] arm64: dts: qcom: msm8916: Use mboxes in smsm node

2024-06-20 Thread Dmitry Baryshkov
ed, 1 insertion(+), 2 deletions(-) > Reviewed-by: Dmitry Baryshkov -- With best wishes Dmitry

Re: [PATCH 3/5] arm64: dts: qcom: msm8939: Use mboxes in smsm node

2024-06-20 Thread Dmitry Baryshkov
ed, 1 insertion(+), 2 deletions(-) > Reviewed-by: Dmitry Baryshkov -- With best wishes Dmitry

Re: [PATCH 4/5] arm64: dts: qcom: msm8953: Use mboxes in smsm node

2024-06-20 Thread Dmitry Baryshkov
ed, 1 insertion(+), 2 deletions(-) > Reviewed-by: Dmitry Baryshkov -- With best wishes Dmitry

Re: [PATCH 5/5] arm64: dts: qcom: msm8976: Use mboxes in smsm node

2024-06-20 Thread Dmitry Baryshkov
ed, 1 insertion(+), 3 deletions(-) > Reviewed-by: Dmitry Baryshkov -- With best wishes Dmitry

Re: [PATCH 5/7] ARM: dts: qcom: msm8226: Add CPU frequency scaling support

2024-06-20 Thread Dmitry Baryshkov
On Wed, Jun 19, 2024 at 11:02:49PM GMT, Luca Weiss wrote: > Add a node for the a7pll with its frequencies. With this we can use the > apcs-kpss-global driver for the apcs node and use the apcs to scale the > CPU frequency according to the opp-table. > > At the same time unfortunately we need to pr

Re: [PATCH 6/7] ARM: dts: qcom: msm8226: Hook up CPU cooling

2024-06-20 Thread Dmitry Baryshkov
-msm8226.dtsi | 25 + > 1 file changed, 25 insertions(+) > Reviewed-by: Dmitry Baryshkov -- With best wishes Dmitry

Re: [PATCH 7/7] ARM: dts: qcom: msm8226: Convert APCS usages to mbox interface

2024-06-20 Thread Dmitry Baryshkov
-- > 1 file changed, 3 insertions(+), 3 deletions(-) > Reviewed-by: Dmitry Baryshkov -- With best wishes Dmitry

Re: [PATCH v3 2/4] remoteproc: qcom: q6v5: Add support for q6 rmb registers

2024-06-20 Thread Dmitry Baryshkov
On Thu, Jun 20, 2024 at 05:31:41PM GMT, Komal Bajaj wrote: > From: Melody Olvera > > When attaching a running Q6, the remoteproc driver needs a way > to communicate with the Q6 using rmb registers, so allow the > rmb register to be gotten from the device tree if present. rmb or RMB? And what is

Re: [PATCH v3 3/4] remoteproc: qcom_q6v5_pas: Add support to attach a DSP

2024-06-20 Thread Dmitry Baryshkov
On Thu, Jun 20, 2024 at 05:31:42PM GMT, Komal Bajaj wrote: > From: Melody Olvera > > Some chipsets will have DSPs which will have begun running prior > to linux booting, so add support to late attach these DSPs by > adding support for: > - run-time checking of an offline or running DSP via rmb re

Re: [PATCH 3/3] ARM: dts: qcom: msm8974-sony-shinano: increase load on l21 for sdhc2

2024-06-21 Thread Dmitry Baryshkov
On Fri, Jun 21, 2024 at 11:14:48AM GMT, Valeriy Klimin wrote: > SD cards would exhibit errors similar to ones described in commit > 27fe0fc05f35 ("ARM: dts: msm8974-FP2: Increase load on l20 for sdhci") > > This patch applies the same change to the regulator for sdhc2. > > Signed-off-by: Valeriy

Re: [PATCH 1/3] ARM: dts: qcom: Add Sony Xperia Z3 Compact smartphone

2024-06-21 Thread Dmitry Baryshkov
t; --- > arch/arm/boot/dts/qcom/Makefile| 1 + > .../qcom-msm8974pro-sony-xperia-shinano-aries.dts | 44 > ++ > 2 files changed, 45 insertions(+) > Reviewed-by: Dmitry Baryshkov -- With best wishes Dmitry

Re: [PATCH 1/2] arm64: dts: qcom: sm7225-fairphone-fp4: Configure PM8008 regulators

2024-06-21 Thread Dmitry Baryshkov
++- > 1 file changed, 108 insertions(+), 1 deletion(-) > Reviewed-by: Dmitry Baryshkov -- With best wishes Dmitry

Re: [PATCH 2/2] arm64: dts: qcom: qcm6490-fairphone-fp5: Configure PM8008 regulators

2024-06-21 Thread Dmitry Baryshkov
++- > 1 file changed, 104 insertions(+), 1 deletion(-) > Reviewed-by: Dmitry Baryshkov -- With best wishes Dmitry

Re: [PATCH v9 1/8] remoteproc: qcom: Add PRNG proxy clock

2024-06-21 Thread Dmitry Baryshkov
On Fri, Jun 21, 2024 at 05:16:52PM GMT, Gokul Sriram Palanisamy wrote: > PRNG clock is needed by the secure PIL, support for the same > is added in subsequent patches. Which 'same'? What is 'secure PIL'? > > Signed-off-by: Nikhil Prakash V > Signed-off-by: Sricharan R > Signed-off-by: Gokul Sr

Re: [PATCH v9 2/8] remoteproc: qcom: Add secure PIL support

2024-06-21 Thread Dmitry Baryshkov
On Fri, Jun 21, 2024 at 05:16:53PM GMT, Gokul Sriram Palanisamy wrote: > IPQ8074 uses secure PIL. Hence, adding the support for the same. See Documentation/process/submitting-patches.rst > > Signed-off-by: Nikhil Prakash V > Signed-off-by: Sricharan R > Signed-off-by: Gokul Sriram Palanisamy

Re: [PATCH v9 0/8] remoteproc: qcom: q6v5-wcss: Add support for secure pil

2024-06-21 Thread Dmitry Baryshkov
On Fri, Jun 21, 2024 at 05:16:51PM GMT, Gokul Sriram Palanisamy wrote: > IPQ8074 needs support for secure pil as well. Could you please settle on 'pil' or 'PIL'. Just use one of them. Explain, what is secure PIL. > Also, currently only unified firmware is supported. What is unified firmware? Wha

Re: [PATCH v9 4/8] remoteproc: qcom: Add ssr subdevice identifier

2024-06-21 Thread Dmitry Baryshkov
On Fri, Jun 21, 2024 at 05:16:55PM GMT, Gokul Sriram Palanisamy wrote: > Add name for ssr subdevice on IPQ8074 SoC. Is it SSR or ssr? Why is it necessary? > > Signed-off-by: Nikhil Prakash V > Signed-off-by: Sricharan R > Signed-off-by: Gokul Sriram Palanisamy Three authors for a single-line

Re: [PATCH v9 0/8] remoteproc: qcom: q6v5-wcss: Add support for secure pil

2024-06-21 Thread Dmitry Baryshkov
On Fri, Jun 21, 2024 at 05:16:51PM GMT, Gokul Sriram Palanisamy wrote: > IPQ8074 needs support for secure pil as well. > Also, currently only unified firmware is supported. > IPQ8074 supports split firmware for q6 and m3, so > adding support for that. > > changes since v8: > - Rebased on top of L

Re: [PATCH v9 7/8] clk: qcom: Add WCSSAON reset

2024-06-21 Thread Dmitry Baryshkov
On Fri, Jun 21, 2024 at 05:16:58PM GMT, Gokul Sriram Palanisamy wrote: > Add WCSSAON reset required for Q6v5 on IPQ8074 SoC. > > Signed-off-by: Nikhil Prakash V > Signed-off-by: Sricharan R > Signed-off-by: Gokul Sriram Palanisamy Three authors for a single line? > Acked-by: Stephen Boyd > -

Re: [PATCH v2 0/3] Add Sony Xperia Z3 Compact smartphone

2024-06-21 Thread Dmitry Baryshkov
On Fri, Jun 21, 2024 at 05:26:41PM GMT, Valeriy Klimin wrote: > This is almost the same as the dts of the Xperia Z3, except for the > battery charge limits. > > The current on the l21 regulator for shinano is also bumped up > to stop SD card errors. > > Signed-off-by: Valeriy Klimin > --- > Cha

[PATCH v9 0/5] soc: qcom: add in-kernel pd-mapper implementation

2024-06-21 Thread Dmitry Baryshkov
To: Bjorn Andersson To: Konrad Dybcio To: Sibi Sankar To: Mathieu Poirier Cc: linux-arm-...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Cc: linux-remotep...@vger.kernel.org --- Dmitry Baryshkov (5): soc: qcom: pdr: protect locator_addr with the main mutex soc: qcom: pdr: fi

[PATCH v9 1/5] soc: qcom: pdr: protect locator_addr with the main mutex

2024-06-21 Thread Dmitry Baryshkov
eil Armstrong # on SM8550-QRD Tested-by: Steev Klimaszewski Tested-by: Alexey Minnekhanov Signed-off-by: Dmitry Baryshkov --- drivers/soc/qcom/pdr_interface.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/soc/qcom/pdr_interface.c b/drivers/soc/qcom/pdr_inte

[PATCH v9 2/5] soc: qcom: pdr: fix parsing of domains lists

2024-06-21 Thread Dmitry Baryshkov
lpers") Tested-by: Steev Klimaszewski Tested-by: Alexey Minnekhanov Reviewed-by: Chris Lew Tested-by: Neil Armstrong # on SM8550-QRD Signed-off-by: Dmitry Baryshkov --- drivers/soc/qcom/pdr_interface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/soc/qcom/pdr_i

[PATCH v9 3/5] soc: qcom: pdr: extract PDR message marshalling data

2024-06-21 Thread Dmitry Baryshkov
hanov Tested-by: Neil Armstrong # on SM8550-QRD Signed-off-by: Dmitry Baryshkov --- drivers/soc/qcom/Kconfig| 4 + drivers/soc/qcom/Makefile | 1 + drivers/soc/qcom/pdr_internal.h | 306 ++ drivers/soc/qcom/qcom_pdr_msg.c

[PATCH v9 4/5] soc: qcom: add pd-mapper implementation

2024-06-21 Thread Dmitry Baryshkov
to match a protection domains map for a particular board. It is not possible to implement it as a 'driver' as there is no corresponding device. Tested-by: Steev Klimaszewski Tested-by: Alexey Minnekhanov Reviewed-by: Chris Lew Tested-by: Neil Armstrong # on SM8550-QRD Signed-off-

[PATCH v9 5/5] remoteproc: qcom: enable in-kernel PD mapper

2024-06-21 Thread Dmitry Baryshkov
: Dmitry Baryshkov --- drivers/remoteproc/qcom_common.c| 87 + drivers/remoteproc/qcom_common.h| 10 + drivers/remoteproc/qcom_q6v5_adsp.c | 3 ++ drivers/remoteproc/qcom_q6v5_mss.c | 3 ++ drivers/remoteproc/qcom_q6v5_pas.c | 3 ++ drivers

Re: [PATCH v9 4/8] remoteproc: qcom: Add ssr subdevice identifier

2024-06-25 Thread Dmitry Baryshkov
On Tue, Jun 25, 2024 at 09:04:17AM GMT, Krzysztof Kozlowski wrote: > On 25/06/2024 08:28, Gokul Sriram P wrote: > > > > On 6/21/2024 8:40 PM, Krzysztof Kozlowski wrote: > >> On 21/06/2024 13:46, Gokul Sriram Palanisamy wrote: > >>> Add name for ssr subdevice on IPQ8074 SoC. > >> Why? > >   Oops!

[PATCH 0/2] qcom: fix missing dependencies for the QCOM_PD_MAPPER

2024-06-26 Thread Dmitry Baryshkov
While refactoring pd-mapper to use auxiliary bus for the PD mapper instantiation I forgot to select the bus in Kconfig entries. Fix it now. Signed-off-by: Dmitry Baryshkov --- Dmitry Baryshkov (2): soc: qcom: add missing pd-mapper dependencies remoteproc: qcom: select AUXILIARY_BUS

[PATCH 1/2] soc: qcom: add missing pd-mapper dependencies

2024-06-26 Thread Dmitry Baryshkov
The pd-mapper driver uses auxiliary bus and Qualcomm PDR message format data. Add missing dependencies to the driver's Kconfig entry. Reported-by: Mark Brown Fixes: 1ebcde047c54 ("soc: qcom: add pd-mapper implementation") Signed-off-by: Dmitry Baryshkov --- drivers/soc/qcom/Kc

[PATCH 2/2] remoteproc: qcom: select AUXILIARY_BUS

2024-06-26 Thread Dmitry Baryshkov
The QCOM_PD_MAPPER implementation made Qualcomm remoteproc drivers use auxiliary bus for the pd-mapper subdevice. Add necessary dependency. Reported-by: Mark Brown Fixes: 5b9f51b200dc ("remoteproc: qcom: enable in-kernel PD mapper") Signed-off-by: Dmitry Baryshkov --- drivers/

Re: [PATCH v9 1/8] remoteproc: qcom: Add PRNG proxy clock

2024-06-26 Thread Dmitry Baryshkov
On Tue, Jun 25, 2024 at 11:03:30AM GMT, Gokul Sriram P wrote: > > On 6/22/2024 2:38 AM, Dmitry Baryshkov wrote: > > On Fri, Jun 21, 2024 at 05:16:52PM GMT, Gokul Sriram Palanisamy wrote: > > > PRNG clock is needed by the secure PIL, support for the same > > >

Re: [PATCH v9 1/8] remoteproc: qcom: Add PRNG proxy clock

2024-06-27 Thread Dmitry Baryshkov
On Thu, Jun 27, 2024 at 03:31:01PM GMT, Gokul Sriram P wrote: > > On 6/27/2024 12:47 AM, Dmitry Baryshkov wrote: > > On Tue, Jun 25, 2024 at 11:03:30AM GMT, Gokul Sriram P wrote: > > > On 6/22/2024 2:38 AM, Dmitry Baryshkov wrote: > > > > On Fri, Jun 21, 202

Re: [PATCH v9 3/8] remoteproc: qcom: Add support for split q6 + m3 wlan firmware

2024-06-27 Thread Dmitry Baryshkov
On Fri, Jun 21, 2024 at 05:16:54PM GMT, Gokul Sriram Palanisamy wrote: > IPQ8074 supports split firmware for q6 and m3 as well. > So add support for loading the m3 firmware before q6. > Now the drivers works fine for both split and unified > firmwares. Right now linux-firmware ships both q6 and m3

Re: [PATCH v9 1/8] remoteproc: qcom: Add PRNG proxy clock

2024-06-27 Thread Dmitry Baryshkov
On Thu, Jun 27, 2024 at 04:59:38PM GMT, Gokul Sriram P wrote: > > On 6/27/2024 4:38 PM, Dmitry Baryshkov wrote: > > On Thu, Jun 27, 2024 at 03:31:01PM GMT, Gokul Sriram P wrote: > > > On 6/27/2024 12:47 AM, Dmitry Baryshkov wrote: > > > > On Tue, Jun 25, 2024

Re: [PATCH] arm64: dts: qcom: sm7225-fairphone-fp4: Name the regulators

2024-06-28 Thread Dmitry Baryshkov
reason about. > > Signed-off-by: Luca Weiss > --- > arch/arm64/boot/dts/qcom/sm7225-fairphone-fp4.dts | 34 > +++ > 1 file changed, 34 insertions(+) > Reviewed-by: Dmitry Baryshkov -- With best wishes Dmitry

Re: [PATCH V3 1/2] soc: qcom: smp2p: Use devname for interrupt descriptions

2024-07-02 Thread Dmitry Baryshkov
On Thu, Jun 27, 2024 at 04:18:30PM GMT, Sudeepgoud Patil wrote: > From: Chris Lew > > When using /proc/interrupts to collect statistics on smp2p interrupt > counts, it is hard to distinguish the different instances of smp2p from > each other. For example to debug a processor boot issue, the ready

Re: [PATCH V3 2/2] soc: qcom: smp2p: Introduce tracepoint support

2024-07-02 Thread Dmitry Baryshkov
On Thu, Jun 27, 2024 at 04:18:31PM GMT, Sudeepgoud Patil wrote: > This commit introduces tracepoint support for smp2p, enabling See Documentation/process/submitting-patches.rst, "This patch". > logging of communication between local and remote processors. > These tracepoints include information a

Re: [PATCH] soc: qcom: socinfo: Add PM6350 PMIC

2024-07-03 Thread Dmitry Baryshkov
On Wed, Jul 03, 2024 at 09:01:03AM GMT, Luca Weiss wrote: > Add the ID for the PM6350 PMIC found on e.g. SM7225 Fairphone 4. > > Signed-off-by: Luca Weiss > --- > drivers/soc/qcom/socinfo.c | 1 + > 1 file changed, 1 insertion(+) > Reviewed-by: Dmitry Baryshkov -- With best wishes Dmitry

Re: [PATCH] arm64: dts: qcom: sm6350: Add missing qcom,non-secure-domain property

2024-07-03 Thread Dmitry Baryshkov
On Wed, Jul 03, 2024 at 09:03:01AM GMT, Luca Weiss wrote: > By default the DSP domains are non secure, add the missing nit: secure With that fixed: Reviewed-by: Dmitry Baryshkov > qcom,non-secure-domain property to mark them as non-secure. > > Fixes: efc33c969f23 ("arm64:

Re: [PATCH v4 2/5] remoteproc: qcom: pas: Add SDX75 remoteproc support

2024-07-13 Thread Dmitry Baryshkov
On Tue, Jul 09, 2024 at 12:19:21PM GMT, Naina Mehta wrote: > Add MPSS Peripheral Authentication Service support for SDX75 platform. > > Signed-off-by: Naina Mehta > --- > drivers/remoteproc/qcom_q6v5_pas.c | 1 + > 1 file changed, 1 insertion(+) > Reviewed-by: Dmitry

Re: [PATCH 1/4] ASoC: qcom: apq8016_sbc.c: Add Quinary support

2024-07-22 Thread Dmitry Baryshkov
On Mon, Jul 22, 2024 at 11:51:05AM GMT, Adam Skladowski wrote: > From: Vladimir Lypak > > Add support for configuring Quinary Mi2S interface > it will be used on MSM8953 and MSM8976 platform. > > Signed-off-by: Vladimir Lypak > [Adam: Split from MSM8953 support patch,add msg] > Signed-off-by: A

Re: [PATCH v2 1/4] ASoC: qcom: apq8016_sbc.c: Add Quinary support

2024-07-27 Thread Dmitry Baryshkov
On Sat, Jul 27, 2024 at 08:20:24PM GMT, Adam Skladowski wrote: > From: Vladimir Lypak > > Add support for configuring Quinary Mi2S interface > it will be used on MSM8953 and MSM8976 platform. > > Signed-off-by: Vladimir Lypak > [Adam: Split from MSM8953 support patch,add msg] > Signed-off-by: A

Re: [PATCH v2 2/4] ASoC: msm8916-wcd-analog: add cajon and cajon v2 support

2024-07-27 Thread Dmitry Baryshkov
On Sat, Jul 27, 2024 at 08:20:25PM GMT, Adam Skladowski wrote: > From: Vladimir Lypak > > Add regs overrides for Cajon(PM8952) and Cajon v2(PM8953) codecs. > > Signed-off-by: Vladimir Lypak > [Adam: Add Cajon support,add msg] > Co-developed-by: Adam Skladowski > Signed-off-by: Adam Skladowski

Re: [PATCH v2 3/4] ASoC: dt-bindings: apq8016-sbc: Add msm8953/msm8976-qdsp6-sndcard

2024-07-27 Thread Dmitry Baryshkov
On Sat, Jul 27, 2024 at 08:20:26PM GMT, Adam Skladowski wrote: > Document MSM8953/MSM8976 QDSP6 cards. > > Signed-off-by: Adam Skladowski > --- > .../sound/qcom,apq8016-sbc-sndcard.yaml | 51 --- > 1 file changed, 45 insertions(+), 6 deletions(-) > > diff --git > a/Docume

Re: [PATCH v2 4/4] ASoC: qcom: apq8016_sbc: Add support for msm8953/msm8976 SoC

2024-07-27 Thread Dmitry Baryshkov
On Sat, Jul 27, 2024 at 08:20:27PM GMT, Adam Skladowski wrote: > From: Vladimir Lypak > > Introduce support for audio card on MSM8953/MSM8976 platform. > Main difference between those two is Q6AFE CLK API supported by firmware > which influence way we enable digital codec clock. > Either inside m

[PATCH v2 0/5] soc: qcom: fix rpm_requests module probing

2024-07-29 Thread Dmitry Baryshkov
tead. Signed-off-by: Dmitry Baryshkov --- Changes in v2: - Separate fix from the improvements (Krzysztof - Split the qcom,glink-smd-rpm compat from the qcom,smd-rpm as they use different channels underneath. - Link to v1: https://lore.kernel.org/r/20240729-fix-smd-rpm-v1-0-99a96133c...@linaro.org

[PATCH v2 1/5] Revert "soc: qcom: smd-rpm: Match rpmsg channel instead of compatible"

2024-07-29 Thread Dmitry Baryshkov
instead of compatible") Fixes: bcabe1e09135 ("soc: qcom: smd-rpm: Match rpmsg channel instead of compatible") Cc: sta...@vger.kernel.org Signed-off-by: Dmitry Baryshkov --- drivers/soc/qcom/smd-rpm.c | 35 ++- 1 file changed, 26 insertions(+), 9 d

[PATCH v2 2/5] dt-bindings: soc: qcom: smd-rpm: add generic compatibles

2024-07-29 Thread Dmitry Baryshkov
Add two generic compatibles to all smd-rpm devices, they follow the same RPMSG protocol and are either accessed through the smd-edge or through the glink-edge. Signed-off-by: Dmitry Baryshkov --- .../devicetree/bindings/clock/qcom,rpmcc.yaml | 2 +- .../bindings/remoteproc/qcom,glink-rpm

[PATCH v2 3/5] soc: qcom: smd-rpm: add qcom,smd-rpm compatible

2024-07-29 Thread Dmitry Baryshkov
Add the generic qcom,smd-rpm and qcom,glink-smd-rpm compatibles so that there is no need to add further compat strings to the list. Existing strings are intact to keep compatibility with existing DTS. Signed-off-by: Dmitry Baryshkov --- drivers/soc/qcom/smd-rpm.c | 6 ++ 1 file changed, 6

[PATCH v2 4/5] ARM: dts: qcom: add generic compat string to RPM glink channels

2024-07-29 Thread Dmitry Baryshkov
Add the generic qcom,smd-rpm compatible to RPM nodes to follow the schema. Signed-off-by: Dmitry Baryshkov --- arch/arm/boot/dts/qcom/qcom-apq8084.dtsi | 2 +- arch/arm/boot/dts/qcom/qcom-msm8226.dtsi | 2 +- arch/arm/boot/dts/qcom/qcom-msm8974.dtsi | 2 +- 3 files changed, 3 insertions(+), 3

[PATCH v2 5/5] arm64: dts: qcom: add generic compat string to RPM glink channels

2024-07-29 Thread Dmitry Baryshkov
Add the generic qcom,smd-rpm / qcom,glink-smd-rpm compatible to RPM nodes to follow the schema. Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/ipq6018.dtsi | 2 +- arch/arm64/boot/dts/qcom/ipq9574.dtsi | 2 +- arch/arm64/boot/dts/qcom/msm8916.dtsi | 2 +- arch/arm64/boot/dts/qcom

Re: [PATCH V2 1/1] remoteproc: qcom: Add NOTIFY_FATAL event type to SSR subdevice

2024-08-28 Thread Dmitry Baryshkov
On Tue, Aug 20, 2024 at 11:39:43AM GMT, Gokul Sriram Palanisamy wrote: > From: Vignesh Viswanathan > > Currently the SSR subdevice notifies the client driver on crash of the > rproc from the recovery workqueue using the BEFORE_SHUTDOWN event. > However, the client driver might be interested to kn

Re: [PATCH V5 1/1] remoteproc: qcom: q6v5: Get crash reason from specific SMEM partition

2024-08-28 Thread Dmitry Baryshkov
On Tue, Aug 20, 2024 at 02:42:31PM GMT, Gokul Sriram Palanisamy wrote: > From: Vignesh Viswanathan > > q6v5 fatal and watchdog IRQ handlers always retrieves the crash reason > information from SMEM global partition (QCOM_SMEM_HOST_ANY). > > For some targets like IPQ9574 and IPQ5332, crash reason

Re: [PATCH V2 1/4] dt-bindings: remoteproc: qcom: document hexagon based WCSS secure PIL

2024-08-30 Thread Dmitry Baryshkov
On Thu, Aug 29, 2024 at 07:10:18PM GMT, Gokul Sriram Palanisamy wrote: > From: Manikanta Mylavarapu > > Add new binding document for hexagon based WCSS secure PIL remoteproc. > IPQ5332, IPQ9574 follows secure PIL remoteproc. What is the difference between PAS and secure PIL? > > Signed-off-by:

Re: [PATCH V2 2/4] remoteproc: qcom: add hexagon based WCSS secure PIL driver

2024-08-30 Thread Dmitry Baryshkov
On Thu, Aug 29, 2024 at 07:10:19PM GMT, Gokul Sriram Palanisamy wrote: > From: Vignesh Viswanathan > > Add support to bring up hexagon based WCSS secure PIL remoteproc. > IPQ5332, IPQ9574 supports secure PIL remoteproc. Could you please clarify, why this can't be handled by the qcom_q6v5_pas dri

Re: [PATCH 03/19] dt-bindings: phy: Add QMP UFS PHY comptible for QCS8300

2024-09-04 Thread Dmitry Baryshkov
On Wed, Sep 04, 2024 at 04:33:44PM GMT, Jingyi Wang wrote: > From: Xin Liu > > Document the QMP UFS PHY compatible for QCS8300 to support physical > layer functionality for USB found on the SoC. So this is talking about USB, but the patch changes UFS. Please adjust. > > Signed-off-by: Xin Liu

Re: [PATCH 17/19] arm64: defconfig: enable clock controller, interconnect and pinctrl for QCS8300

2024-09-05 Thread Dmitry Baryshkov
On Thu, Sep 05, 2024 at 12:54:35PM GMT, Jingyi Wang wrote: > > > On 9/4/2024 5:39 PM, Krzysztof Kozlowski wrote: > > On 04/09/2024 10:33, Jingyi Wang wrote: > >> Enable clock controller, interrconnect and pinctrl for QCS8300. > > > > NXP QCS8300? What is QCS8300? Which products use it? That's a

Re: [PATCH 17/19] arm64: defconfig: enable clock controller, interconnect and pinctrl for QCS8300

2024-09-06 Thread Dmitry Baryshkov
On Fri, 6 Sept 2024 at 09:15, Jingyi Wang wrote: > > Hi Dmitry, > > On 9/6/2024 11:18 AM, Dmitry Baryshkov wrote: > > On Thu, Sep 05, 2024 at 12:54:35PM GMT, Jingyi Wang wrote: > >> > >> > >> On 9/4/2024 5:39 PM, Krzysztof Kozlowski wrote:

Re: [PATCH v2 2/3] pinctrl: qcom: msm8226: Add blsp_i2c6 function

2023-09-23 Thread Dmitry Baryshkov
On Fri, 22 Sept 2023 at 19:56, Luca Weiss wrote: > > On GPIO22 and GPIO23 there is another I2C bus. Add the function for it. > > Signed-off-by: Luca Weiss > --- > drivers/pinctrl/qcom/pinctrl-msm8226.c | 8 ++-- > 1 file changed, 6 insertions(+), 2 deletions(-) &

Re: [PATCH v2 3/3] ARM: dts: qcom: msm8226: Add blsp1_i2c6 and blsp1_uart2

2023-09-23 Thread Dmitry Baryshkov
On Fri, 22 Sept 2023 at 19:56, Luca Weiss wrote: > > Add more busses found on msm8226 SoC. > > Signed-off-by: Luca Weiss > --- > arch/arm/boot/dts/qcom/qcom-msm8226.dtsi | 33 > > 1 file changed, 33 insertions(+) > Reviewed-by: Dmitr

Re: [PATCH v2] ARM: dts: qcom: msm8974: correct qfprom node size

2023-09-23 Thread Dmitry Baryshkov
On Fri, 22 Sept 2023 at 19:57, Luca Weiss wrote: > > On Sonntag, 6. August 2023 12:47:51 CEST Luca Weiss wrote: > > Hi Bjorn, > > > > On Montag, 31. Juli 2023 23:45:21 CEST Bjorn Andersson wrote: > > > On Thu, Jun 15, 2023 at 08:20:41PM +0200, Konrad Dybcio wrote: > > > > On 15.06.2023 20:17, Luca

Re: [PATCH] ARM: dts: qcom: msm8226: provide dsi phy clocks to mmcc

2023-09-23 Thread Dmitry Baryshkov
des") > Signed-off-by: Luca Weiss > --- > arch/arm/boot/dts/qcom/qcom-msm8226.dtsi | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) Reviewed-by: Dmitry Baryshkov -- With best wishes Dmitry

Re: [PATCH v2 1/2] drm/msm: add compatibles for sm8150/sm8250 display

2021-02-16 Thread Dmitry Baryshkov
On Mon, 15 Feb 2021 at 19:25, Jonathan Marek wrote: > > The driver already has support for sm8150/sm8250, but the compatibles were > never added. > > Also inverse the non-mdp4 condition in add_display_components() to avoid > having to check every new compatible in the condition. > > Signed-off-by:

Re: [PATCH v3 2/2] arm64: dts: qcom: sm8250: fix display nodes

2021-02-16 Thread Dmitry Baryshkov
Except for the compatible value changes: Reviewed-by: Dmitry Baryshkov May I suggest to split the compatibility name changes into a separate series from this patch (without it the patch stands a chance of being accepted into the stable tree, if I'm not mistaken). On Mon, 15 Feb 2021 at

Re: [PATCH v2 1/2] drm/msm: add compatibles for sm8150/sm8250 display

2021-02-16 Thread Dmitry Baryshkov
On Tue, 16 Feb 2021 at 21:06, Jonathan Marek wrote: > > On 2/16/21 11:54 AM, Dmitry Baryshkov wrote: > > On Mon, 15 Feb 2021 at 19:25, Jonathan Marek wrote: > >> > >> The driver already has support for sm8150/sm8250, but the compatibles were > >> never add

Re: [PATCH] arm64: dts: qcom: sm8250: Fix epss_l3 unit address

2021-02-11 Thread Dmitry Baryshkov
On Thu, 11 Feb 2021 at 22:37, Georgi Djakov wrote: > > The unit address of the epss_l3 node is incorrect and does not match > the address of its "reg" property. Let's fix it. > > Signed-off-by: Georgi Djakov Reviewed-by: Dmitry Baryshkov -- With best wishes Dmitry

Re: [PATCH 2/2] arm64: dts: qcom: sm8250: fix display nodes

2021-02-11 Thread Dmitry Baryshkov
On Thu, 11 Feb 2021 at 21:11, Jonathan Marek wrote: > > Apply these fixes to the newly added sm8250 display ndoes > - Use sm8250 compatibles instead of sdm845 compatibles > - Remove "notused" interconnect (which apparently was blindly copied from >my old patches) > - Use dispcc node example

[PATCH 1/2] phy: qcom-qmp: move DP functions to callbacks

2021-02-11 Thread Dmitry Baryshkov
In preparation to adding support for V4 DP PHY move DP functions to callbacks at struct qmp_phy_cfg. Signed-off-by: Dmitry Baryshkov --- drivers/phy/qualcomm/phy-qcom-qmp.c | 438 +++- 1 file changed, 231 insertions(+), 207 deletions(-) diff --git a/drivers/phy/qualcomm

[PATCH 2/2] phy: qcom-qmp: add support for sm8250-usb3-dp phy

2021-02-11 Thread Dmitry Baryshkov
Add support for QMP V4 Combo USB3+DP PHY (for SM8250 platform). Signed-off-by: Dmitry Baryshkov --- drivers/phy/qualcomm/phy-qcom-qmp.c | 445 +--- drivers/phy/qualcomm/phy-qcom-qmp.h | 77 +++-- 2 files changed, 463 insertions(+), 59 deletions(-) diff --git a/drivers

[PATCH] misc: fastrpc: restrict user apps from sending kernel RPC messages

2021-02-11 Thread Dmitry Baryshkov
agatla Cc: Jonathan Marek Cc: sta...@vger.kernel.org Signed-off-by: Dmitry Baryshkov --- drivers/misc/fastrpc.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/misc/fastrpc.c b/drivers/misc/fastrpc.c index 815d01f785df..e7f3a22fdaa3 100644 --- a/drivers/misc/fastrpc.c +++ b/dr

[PATCH v2] misc: fastrpc: restrict user apps from sending kernel RPC messages

2021-02-12 Thread Dmitry Baryshkov
agatla Cc: Jonathan Marek Cc: sta...@vger.kernel.org Signed-off-by: Dmitry Baryshkov --- Changes since v1: - changed to dev_warn_ratelimited to prevent userspace from flooding kernel log drivers/misc/fastrpc.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/misc/fastrpc.c b/dr

Re: [PATCH 3/3] arm64: dts: qcom: sc7180: Delete charger thermal zone and ADC channel for lazor <= rev3

2021-02-23 Thread Dmitry Baryshkov
Hi, On Sat, 20 Feb 2021 at 05:13, Matthias Kaehlcke wrote: > > Lazor rev3 and older are stuffed with a 47k NTC as thermistor for > the charger temperature which currently isn't supported by the > PM6150 ADC driver. Delete the charger thermal zone and ADC channel > to avoid the use of bogus temper

Re: [PATCH 1/2] dm crypt: replaced #if defined with IS_ENABLED

2021-02-02 Thread Dmitry Baryshkov
ing. As we now always build the callsite when the function > is defined, we can remove that first #if guard. > > Suggested-by: Arnd Bergmann > Signed-off-by: Ahmad Fatoum Acked-by: Dmitry Baryshkov -- With best wishes Dmitry

Re: [PATCH v2 3/5] pcie-qcom: provide a way to power up qca6390 chip on RB5 platform

2021-02-02 Thread Dmitry Baryshkov
On Wed, 3 Feb 2021 at 00:37, Rob Herring wrote: > > On Tue, Feb 2, 2021 at 1:48 PM Bjorn Andersson > wrote: > > > > On Sat 30 Jan 10:14 CST 2021, Dmitry Baryshkov wrote: > > > > > On Sat, 30 Jan 2021 at 06:53, Bjorn Andersson > > > wrote: > &g

[PATCH v2 0/5] Add support for Qualcomm QCA639x chips family

2021-01-28 Thread Dmitry Baryshkov
r up power domains connected to this bridge. -------- Dmitry Baryshkov (4): misc: qca639x: add support for QCA639x powerup sequence arm64: qcom: dts: qrb5165-rb5: add qca6391 power device pcie-qcom: provide a way to power up qca63

[PATCH v2 3/5] pcie-qcom: provide a way to power up qca6390 chip on RB5 platform

2021-01-28 Thread Dmitry Baryshkov
QCA chip is started before scanning the PCIe bus. Signed-off-by: Dmitry Baryshkov --- drivers/pci/controller/dwc/pcie-qcom.c | 21 + 1 file changed, 21 insertions(+) diff --git a/drivers/pci/controller/dwc/pcie-qcom.c b/drivers/pci/controller/dwc/pcie-qcom.c index

[PATCH v2 1/5] misc: qca639x: add support for QCA639x powerup sequence

2021-01-28 Thread Dmitry Baryshkov
Qualcomm QCA639x is a family of WiFi + Bluetooth SoCs, with BT part being controlled through the UART and WiFi being present on PCIe bus. Both blocks share common power sources. Add device driver handling power sequencing of QCA6390/1. Signed-off-by: Dmitry Baryshkov --- drivers/misc/Kconfig

[PATCH v2 2/5] arm64: qcom: dts: qrb5165-rb5: add qca6391 power device

2021-01-28 Thread Dmitry Baryshkov
Add qca6391 to device tree as a way to provide power domain to WiFi and BT parts of the chip. Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/qrb5165-rb5.dts | 61 1 file changed, 61 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts b

[PATCH v2 5/5] arm64: dts: qcom: Add Bluetooth support on RB5

2021-01-28 Thread Dmitry Baryshkov
From: Manivannan Sadhasivam Add Bluetooth support on RB5 using the onboard QCA6391 WLAN+BT chipset. Signed-off-by: Manivannan Sadhasivam [DB: added qca6391 power domain, removed s2f regulator] Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/qrb5165-rb5.dts | 29

[PATCH v2 4/5] arm64: dtb: qcom: qrb5165-rb5: add bridge@0,0 to power up qca6391 chip

2021-01-28 Thread Dmitry Baryshkov
ff-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/qrb5165-rb5.dts | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts b/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts index 2b0c1cc9333b..b39a9729395f 100644 --- a/arch/arm64/boot/dts/qcom/qrb5165-rb

Re: [PATCH v2 3/5] pcie-qcom: provide a way to power up qca6390 chip on RB5 platform

2021-01-28 Thread Dmitry Baryshkov
On 28/01/2021 22:26, Rob Herring wrote: On Thu, Jan 28, 2021 at 11:52 AM Dmitry Baryshkov wrote: Some Qualcomm platforms require to power up an external device before probing the PCI bus. E.g. on RB5 platform the QCA6390 WiFi/BT chip needs to be powered up before PCIe0 bus is probed. Add a

Re: [PATCH v2 4/5] arm64: dtb: qcom: qrb5165-rb5: add bridge@0,0 to power up qca6391 chip

2021-01-28 Thread Dmitry Baryshkov
On 28/01/2021 22:21, Rob Herring wrote: On Thu, Jan 28, 2021 at 11:52 AM Dmitry Baryshkov wrote: If QCA6391 chip (connected to PCIe0) is not powered at the PCIe probe time, PCIe0 bus probe will timeout and the device will not be detected. So use qca6391 as pcie0's bridge power-domain.

Re: [PATCH v2 5/5] arm64: dts: qcom: Add Bluetooth support on RB5

2021-01-28 Thread Dmitry Baryshkov
On 28/01/2021 22:15, Rob Herring wrote: On Thu, Jan 28, 2021 at 11:52 AM Dmitry Baryshkov wrote: From: Manivannan Sadhasivam Add Bluetooth support on RB5 using the onboard QCA6391 WLAN+BT chipset. Signed-off-by: Manivannan Sadhasivam [DB: added qca6391 power domain, removed s2f regulator

Re: [PATCH v2 3/5] pcie-qcom: provide a way to power up qca6390 chip on RB5 platform

2021-01-29 Thread Dmitry Baryshkov
On Sat, 30 Jan 2021 at 00:50, Bjorn Helgaas wrote: > > On Fri, Jan 29, 2021 at 06:45:21AM +0300, Dmitry Baryshkov wrote: > > On 28/01/2021 22:26, Rob Herring wrote: > > > On Thu, Jan 28, 2021 at 11:52 AM Dmitry Baryshkov > > > wrote: > > > > > > &g

Re: [PATCH v2 3/5] pcie-qcom: provide a way to power up qca6390 chip on RB5 platform

2021-01-30 Thread Dmitry Baryshkov
On Sat, 30 Jan 2021 at 06:53, Bjorn Andersson wrote: > > On Fri 29 Jan 16:19 CST 2021, Dmitry Baryshkov wrote: > > > On Sat, 30 Jan 2021 at 00:50, Bjorn Helgaas wrote: > > > > > > On Fri, Jan 29, 2021 at 06:45:21AM +0300, Dmitry Baryshkov wrote: > > >

Re: [PATCH] drm/msm/dsi: save PLL registers across first PHY reset

2021-01-30 Thread Dmitry Baryshkov
On Sat, 30 Jan 2021 at 05:00, Benjamin Li wrote: > > > On 10/30/20 6:55 AM, Dmitry Baryshkov wrote: > > Hello, > > > > On 07/10/2020 03:10, benl-kernelpatc...@squareup.com wrote: > >> From: Benjamin Li > >> > >> Take advantage of previously-

Re: [PATCH v2 3/5] pcie-qcom: provide a way to power up qca6390 chip on RB5 platform

2021-01-30 Thread Dmitry Baryshkov
On Sat, 30 Jan 2021 at 11:04, Yassine Oudjana wrote: > > On Thu, Jan 28, 2021 at 11:52 AM Dmitry Baryshkov > wrote: > > > > Some Qualcomm platforms require to power up an external device before > > probing the PCI bus. E.g. on RB5 platform the QCA6390 WiFi/BT chip

Re: [PATCH 4/7] spi: spi-geni-qcom: Add support for GPI dma

2021-02-04 Thread Dmitry Baryshkov
On 11/01/2021 18:16, Vinod Koul wrote: We can use GPI DMA for devices where it is enabled by firmware. Add support for this mode Signed-off-by: Vinod Koul --- drivers/spi/spi-geni-qcom.c | 395 +++- 1 file changed, 384 insertions(+), 11 deletions(-) diff --gi

Re: [PATCH 3/7] regulator: qcom-rpmh: Correct the pmic5_hfsmps515 buck

2021-02-25 Thread Dmitry Baryshkov
On 24/02/2021 11:33, satya priya wrote: Correct the REGULATOR_LINEAR_RANGE and n_voltges for pmic5_hfsmps515 buck. Signed-off-by: satya priya --- drivers/regulator/qcom-rpmh-regulator.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/regulator/qcom-rpmh-regula

Re: [PATCH 3/7] regulator: qcom-rpmh: Correct the pmic5_hfsmps515 buck

2021-02-26 Thread Dmitry Baryshkov
On Fri, 26 Feb 2021 at 09:59, wrote: > > Hi, > > On 2021-02-25 16:39, Dmitry Baryshkov wrote: > > On 24/02/2021 11:33, satya priya wrote: > >> Correct the REGULATOR_LINEAR_RANGE and n_voltges for > >> pmic5_hfsmps515 buck. > >> > >> Signed-

[PATCH] driver core: platform: don't oops on unbound devices

2020-12-11 Thread Dmitry Baryshkov
Platform code stopped checking if the device is bound to the actual platform driver, thus calling non-existing drv->shutdown(). Verify that _dev->driver is not NULL before calling remove/shutdown callbacks. Signed-off-by: Dmitry Baryshkov Fixes: 9c30921fe799 ("driver core: platform: u

Re: [PATCH] driver core: platform: don't oops on unbound devices

2020-12-12 Thread Dmitry Baryshkov
Hello, On Sat, 12 Dec 2020 at 18:39, Uwe Kleine-König wrote: > > Hello, > > On Sat, Dec 12, 2020 at 12:41:32PM +0100, Greg Kroah-Hartman wrote: > > On Sat, Dec 12, 2020 at 04:14:26AM +0300, Dmitry Baryshkov wrote: > > > Platform code stopped checking if the de

[PATCH v2] driver core: platform: don't oops in platform_shutdown() on unbound devices

2020-12-12 Thread Dmitry Baryshkov
Signed-off-by: Dmitry Baryshkov Fixes: 9c30921fe799 ("driver core: platform: use bus_type functions") --- drivers/base/platform.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/drivers/base/platform.c b/drivers/base/platform.c index 0358dc3ea3ad..e9477e0bbca5 1006

[PATCH v3] driver core: platform: don't oops in platform_shutdown() on unbound devices

2020-12-12 Thread Dmitry Baryshkov
ver callbacks to bus callbacks, so the shutdown function must be prepared to be called without a driver. Add the corresponding check in the shutdown function. Signed-off-by: Dmitry Baryshkov Fixes: 9c30921fe799 ("driver core: platform: use bus_type functions") --- drivers/base/platform.c

<    1   2   3   4   5   >