[PATCH 0/5] Generic clocks framework

2008-02-02 Thread Dmitry Baryshkov
Hi, Currently we have a generic clock api for using clocks. This patchset tries to fill other side: an api for providing clocks. Currently each platform that wants to provide implementation is forced to reimplement everything from scratch. This leads for major code duplication. E.g. the ARM arch

[PATCH 2/5] Clocklib debugfs support

2008-02-02 Thread Dmitry Baryshkov
Provide /sys/kernel/debug/clock to ease debugging. Signed-off-by: Dmitry Baryshkov <[EMAIL PROTECTED]> --- include/linux/clklib.h |5 +++ kernel/clklib.c| 68 2 files changed, 73 insertions(+), 0 deletions(-) diff --git a/i

[PATCH 1/5] Add generic framework for managing clocks.

2008-02-02 Thread Dmitry Baryshkov
Provide a generic framework that platform may choose to support clocks api. In particular this provides platform-independant struct clk definition, a full implementation of clocks api and a set of functions for registering and unregistering clocks in a safe way. Signed-off-by: Dmitry Baryshkov

[PATCH 4/5] Use correct clock for IrDA on pxa

2008-02-02 Thread Dmitry Baryshkov
Signed-off-by: Dmitry Baryshkov <[EMAIL PROTECTED]> --- drivers/net/irda/pxaficp_ir.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/net/irda/pxaficp_ir.c b/drivers/net/irda/pxaficp_ir.c index 8c09344..36d2ec0 100644 --- a/drivers/net/irda/pxaficp_ir.c

[PATCH 5/5] Use clocklib for sa1100 sub-arch.

2008-02-02 Thread Dmitry Baryshkov
Signed-off-by: Dmitry Baryshkov <[EMAIL PROTECTED]> --- arch/arm/Kconfig |1 + arch/arm/mach-sa1100/clock.c | 95 ++--- 2 files changed, 6 insertions(+), 90 deletions(-) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 45c1790..c

[PATCH 3/5] Use clocklib for ARM pxa sub-arch.

2008-02-02 Thread Dmitry Baryshkov
Signed-off-by: Dmitry Baryshkov <[EMAIL PROTECTED]> --- arch/arm/Kconfig |1 + arch/arm/mach-pxa/clock.c | 108 -- arch/arm/mach-pxa/clock.h | 58 +++--- arch/arm/mach-pxa/pxa25x.c | 187 +-- arch/ar

Re: [PATCH 1/6] Core driver for WM97xx touchscreens

2008-02-12 Thread Dmitry Baryshkov
th 2.6.25-rc1 (device is initialized twice). Also as got deprecated there is no point including it. Patch below -- With best wishes Dmitry >From 81b96191eb50837bdf1f437a6f4f05786cc0b49e Mon Sep 17 00:00:00 2001 From: Dmitry Baryshkov <[EMAIL PROTECTED]> Date: Wed, 13 Feb 2008 01:5

[PATCH 1/3] power_supply: add few more values and props

2008-01-06 Thread Dmitry Baryshkov
Add LiMn (one of the most common for small non-rechargable batteries)i battery technology and voltage_min/_max properties support. Signed-off-by: Dmitry Baryshkov <[EMAIL PROTECTED]> diff --git a/drivers/power/power_supply_sysfs.c b/drivers/power/power_supply_sysfs.c index 249f61b..4

[PATCH 2/3] pda_power: add suspend/resume support

2008-01-06 Thread Dmitry Baryshkov
Add suspend/resume/wakeup support for pda_power. Signed-off-by: Dmitry Baryshkov <[EMAIL PROTECTED]> diff --git a/drivers/power/pda_power.c b/drivers/power/pda_power.c index d98622f..d1ebfa0 100644 --- a/drivers/power/pda_power.c +++ b/drivers/power/pda_power.c @@ -239,12 +239,44 @@ stat

[PATCH 3/3]

2008-01-06 Thread Dmitry Baryshkov
Support using VOLTAGE_* properties for apm calculations. It's pretty dummy, but useful for batteries for which we can only get voltages. diff --git a/drivers/power/apm_power.c b/drivers/power/apm_power.c index bbf3ee1..526c96e 100644 --- a/drivers/power/apm_power.c +++ b/drivers/power/apm_power.c

[PATCH] pda_power: add device_init_wakeup

2008-01-09 Thread Dmitry Baryshkov
Add device_init_wakeup to init wakeup. Signed-off-by: Dmitry Baryshkov <[EMAIL PROTECTED]> diff --git a/drivers/power/pda_power.c b/drivers/power/pda_power.c index d98622f..28360e8 100644 --- a/drivers/power/pda_power.c +++ b/drivers/power/pda_power.c @@ -207,6 +207,8 @@ stat

[PATCH] handle EV_PWR in input_set_capability

2007-12-11 Thread Dmitry Baryshkov
Handle EV_PWR type of input caps. Signed-off-by: Dmitry Baryshkov <[EMAIL PROTECTED]> Index: linux-test/drivers/input/input.c === --- linux-test.orig/drivers/input/input.c 2007-12-11 17:47:37.736228749 +0300 +++ linu

[PATCH] Tosa keyboard support

2007-12-11 Thread Dmitry Baryshkov
Support keyboard on tosa (Sharp Zaurus SL-6000x). Largely based on patch by Dirk Opfer. Todo: EAR_IN event support Signed-off-by: Dmitry Baryshkov <[EMAIL PROTECTED]> Index: linux-test/drivers/input/keyboard/Kconfig === ---

Re: [PATCH] Tosa keyboard support

2007-12-11 Thread Dmitry Baryshkov
Hi, Sorry, posted wrong version of patch. Here is correct version: Support keyboard on tosa (Sharp Zaurus SL-6000x). Largely based on patches by Dirk Opfer. Signed-off-by: Dmitry Baryshkov <[EMAIL PROTECTED]> Index: tosa-tree/drivers/input/keyboard/K

Re: [PATCH] Core driver for WM97xx touchscreens

2008-01-18 Thread Dmitry Baryshkov
Hi, Dmitry Torokhov wrote: > I will need some more time to review and understand the need for the new > bus in the driver. Most likely this can be converted to platform_bus. Maybe this can also get help from soon-to-be posted MFD (multi function devices) helpers. -- With best wishes Dmitry -

Re: [PATCH] Core driver for WM97xx touchscreens

2008-01-19 Thread Dmitry Baryshkov
Ben Dooks wrote: > On Fri, Jan 18, 2008 at 06:11:45PM +0000, Dmitry Baryshkov wrote: >> Hi, >> >> Dmitry Torokhov wrote: >> >> > I will need some more time to review and understand the need for the >> > new bus in the driver. >> >> Most

[PATCH] Fallback to ipv4 if we try to add join IPv4 multicast group via ipv4-mapped address.

2007-10-02 Thread Dmitry Baryshkov
Signed-off-by: Dmitry Baryshkov <[EMAIL PROTECTED]> diff --git a/net/ipv6/mcast.c b/net/ipv6/mcast.c index ae98818..c70a87d 100644 --- a/net/ipv6/mcast.c +++ b/net/ipv6/mcast.c @@ -38,6 +38,7 @@ #include #include #include +#include #include #include #include @@ -183,6 +184,17

Re: [PATCH] Fallback to ipv4 if we try to add join IPv4 multicast group via ipv4-mapped address.

2007-10-03 Thread Dmitry Baryshkov
this weekend I'll have more time to check. -- With best wishes Dmitry Baryshkov - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

[PATCH] pda-power: only register available psu

2008-01-02 Thread Dmitry Baryshkov
Currently pda-power adds both ac and usb power supply units. This patch fixes it so that psu are added only if they are enabled. Signed-off-by: Dmitry Baryshkov <[EMAIL PROTECTED]> diff --git a/drivers/power/pda_power.c b/drivers/power/pda_power.c index c058f28..42eac09 100644 --- a/d

Re: [patch] 0/4 Support for Toshiba TMIO multifunction devices

2007-11-20 Thread Dmitry Baryshkov
Hi, ian wrote: Hi guys. This patchset contains support for three toshiba multifunction devices. Just to note, that there is an alternative implementation for at least the tc6393 chip devices. Most current version of those patches can be found in the OpenEmbedded monotone. it introduces

Re: [PATCH] pda_power: add device_init_wakeup

2008-01-12 Thread Dmitry Baryshkov
Hi, Please apply this patch. Otherwise pda_power can't generate wakeup events. I forgot this in the initial pda_power suspend/resume patch. Add device_init_wakeup to init wakeup. Signed-off-by: Dmitry Baryshkov <[EMAIL PROTECTED]> diff --git a/drivers/power/pda_power.c b/dr

Re: [PATCH 1/6] Core driver for WM97xx touchscreens

2008-01-26 Thread Dmitry Baryshkov
Hi, Please apply this patch. BTW: Could you please also add me to the "CC" list of this patch serie? >From 1e61dd8a8c8346f925f09cae34275c9754bf2be1 Mon Sep 17 00:00:00 2001 From: Dmitry Baryshkov <[EMAIL PROTECTED]> Date: Sat, 26 Jan 2008 13:04:29 +0300 Subject: [PATCH] Fix wm

Re: [PATCH 1/6] Core driver for WM97xx touchscreens

2008-01-26 Thread Dmitry Baryshkov
Hi, Mark Brown wrote: > +#ifdef CONFIG_PM > +int wm97xx_resume(struct device *dev) > +{ > + struct wm97xx *wm = dev_get_drvdata(dev); > + > + /* restore digitiser and gpios */ > + if (wm->id == WM9713_ID2) { > + wm97xx_reg_write(wm, AC97_WM9713_DIG1, wm->dig[0]); > +

Re: [UPDATED v4] WM97xx touchscreen drivers

2008-01-29 Thread Dmitry Baryshkov
Mark Brown wrote: > This patch series adds support for the touchscreen controllers provided > by Wolfson Microelectronics WM97xx series chips in both polled and > streaming modes. > > Changes since last submission: > - Fix from Dmitry Baryshkov for build with CONFIG_PM. - Add

Re: [PATCH 1/3] dt-bindings: clock: qcom,hfpll: Convert to YAML

2024-01-02 Thread Dmitry Baryshkov
On Sun, 31 Dec 2023 at 16:49, Luca Weiss wrote: > > Convert the .txt documentation to .yaml. > > Take the liberty to change the compatibles for ipq8064, apq8064, msm8974 > and msm8960 to follow the updated naming schema. These compatibles are > not used upstream yet. > > Also add a compatible for

Re: [PATCH RFT] arm64: dts: qcom: sm8350: Reenable crypto & cryptobam

2024-01-08 Thread Dmitry Baryshkov
On Mon, 8 Jan 2024 at 16:23, Luca Weiss wrote: > > On Mon Jan 8, 2024 at 3:18 PM CET, Konrad Dybcio wrote: > > On 8.01.2024 14:49, Luca Weiss wrote: > > > When num-channels and qcom,num-ees is not provided in devicetree, the > > > driver will try to read these values from the registers during prob

Re: [PATCH 2/2] arm64: dts: qcom: sm7225-fairphone-fp4: Add PM6150L thermals

2024-01-09 Thread Dmitry Baryshkov
On Tue, 9 Jan 2024 at 12:10, Konrad Dybcio wrote: > > > > On 1/5/24 15:54, Luca Weiss wrote: > > Configure the thermals for the PA_THERM1, MSM_THERM, PA_THERM0, > > RFC_CAM_THERM, CAM_FLASH_THERM and QUIET_THERM thermistors connected to > > PM6150L. > > > > Due to hardware constraints we can only

Re: [PATCH v2 3/3] arm64: dts: qcom: msm8953: add reset for display subsystem

2024-01-25 Thread Dmitry Baryshkov
Konrad Dybcio > Signed-off-by: Luca Weiss > --- > arch/arm64/boot/dts/qcom/msm8953.dtsi | 2 ++ > 1 file changed, 2 insertions(+) Reviewed-by: Dmitry Baryshkov -- With best wishes Dmitry

Re: [PATCH v2 2/3] clk: qcom: gcc-msm8953: add more resets

2024-01-25 Thread Dmitry Baryshkov
ss > --- > drivers/clk/qcom/gcc-msm8953.c | 4 > 1 file changed, 4 insertions(+) Reviewed-by: Dmitry Baryshkov -- With best wishes Dmitry

Re: [PATCH RFC 1/2] arm64: dts: qcom: msm8953: Add GPU IOMMU

2024-01-25 Thread Dmitry Baryshkov
@1c48000 { Nit: most of the platforms use the adreno_smmu label. But maybe the msm-iommu vs arm-smmu makes difference here. Nevertheless: Reviewed-by: Dmitry Baryshkov + compatible = "qcom,msm8953-iommu", "qcom,msm-iommu-v2"; +

Re: [PATCH RFC 2/2] arm64: dts: qcom: msm8953: Add GPU

2024-01-25 Thread Dmitry Baryshkov
/sdm450-motorola-ali.dts | 2 +- arch/arm64/boot/dts/qcom/sdm450.dtsi | 14 +++ arch/arm64/boot/dts/qcom/sdm632.dtsi | 8 ++ 4 files changed, 138 insertions(+), 1 deletion(-) Reviewed-by: Dmitry Baryshkov -- With best wishes Dmitry

Re: [PATCH 3/3] remoteproc: qcom_q6v5_pas: Unload lite firmware on ADSP

2024-01-29 Thread Dmitry Baryshkov
On Mon, 29 Jan 2024 at 15:35, Abel Vesa wrote: > > From: Sibi Sankar > > The UEFI loads a lite variant of the ADSP firmware to support charging > use cases. The kernel needs to unload and reload it with the firmware > that has full feature support for audio. This patch arbitarily shutsdown > the

Re: [PATCH 2/3] remoteproc: qcom_q6v5_pas: Add support for X1E80100 ADSP/CDSP

2024-01-29 Thread Dmitry Baryshkov
> 1 file changed, 41 insertions(+) > Reviewed-by: Dmitry Baryshkov -- With best wishes Dmitry

Re: [PATCH v2 3/3] arm64: dts: qcom: qcs404: Use qcs404-hfpll compatible for hfpll

2024-02-18 Thread Dmitry Baryshkov
> --- > arch/arm64/boot/dts/qcom/qcs404.dtsi | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: Dmitry Baryshkov -- With best wishes Dmitry

Re: [PATCH 5/5] ARM: dts: qcom: msm8974pro-castor: Rename wifi node name

2024-03-06 Thread Dmitry Baryshkov
On Wed, 6 Mar 2024 at 01:18, Luca Weiss wrote: > > Give the wifi node a generic node name 'wifi'. > > Signed-off-by: Luca Weiss > --- > arch/arm/boot/dts/qcom/qcom-msm8974pro-sony-xperia-shinano-castor.dts | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-)

Re: [PATCH 4/5] ARM: dts: qcom: msm8974pro-castor: Add debounce-interval for keys

2024-03-06 Thread Dmitry Baryshkov
On Wed, 6 Mar 2024 at 01:26, Luca Weiss wrote: > > Set the debounce-interval for the GPIO keys. > > Signed-off-by: Luca Weiss > --- > arch/arm/boot/dts/qcom/qcom-msm8974pro-sony-xperia-shinano-castor.dts | 2 ++ > 1 file changed, 2 insertions(+) Reviewed-by: Dmitry Bary

Re: [PATCH 2/5] ARM: dts: qcom: msm8974pro-castor: Add mmc aliases

2024-03-06 Thread Dmitry Baryshkov
no-castor.dts | 2 ++ > 1 file changed, 2 insertions(+) Reviewed-by: Dmitry Baryshkov -- With best wishes Dmitry

Re: [PATCH] usb: typec: ptn36502: switch to DRM_AUX_BRIDGE

2024-03-15 Thread Dmitry Baryshkov
5d296bad640 ("usb: typec: nb7vpq904m: switch to DRM_AUX_BRIDGE") Thanks! LGTM > --- > drivers/usb/typec/mux/Kconfig| 2 +- > drivers/usb/typec/mux/ptn36502.c | 44 > ++-- > 2 files changed, 3 insertions(+), 43 deletions(-) Reviewed-by: Dmitry Baryshkov -- With best wishes Dmitry

Re: [PATCH 5/5] arm64: dts: qcom: sm7225-fairphone-fp4: Enable USB role switching

2024-03-22 Thread Dmitry Baryshkov
On Fri, 22 Mar 2024 at 10:03, Luca Weiss wrote: > > Configure the Type-C and VBUS regulator on PM7250B and wire it up to the > USB PHY, so that USB role and orientation switching works. > > Signed-off-by: Luca Weiss > --- > With this patch I'm not quite sure if the 'ports' are connected > correct

[PATCH 0/3] arm64: dts: qcom: msm8996: enable fastrpc and glink-edge

2024-03-31 Thread Dmitry Baryshkov
Enable the FastRPC and glink-edge nodes on MSM8996 platform. Tested on APQ8096 Dragonboard820c. Signed-off-by: Dmitry Baryshkov --- Dmitry Baryshkov (2): dt-bindings: remoteproc: qcom,msm8996-mss-pil: allow glink-edge on msm8996 arm64: dts: qcom: msm8996: add glink-edge nodes

[PATCH 1/3] dt-bindings: remoteproc: qcom,msm8996-mss-pil: allow glink-edge on msm8996

2024-03-31 Thread Dmitry Baryshkov
MSM8996 has limited glink support, allow glink-edge node on MSM8996 platform. Signed-off-by: Dmitry Baryshkov --- Documentation/devicetree/bindings/remoteproc/qcom,msm8996-mss-pil.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,msm8996

[PATCH 2/3] arm64: dts: qcom: msm8996: add glink-edge nodes

2024-03-31 Thread Dmitry Baryshkov
adsp: 930.remoteproc:glink-edge.LOOPBACK_CTL_LPASS.-1.-1 930.remoteproc:glink-edge.glink_ssr.-1.-1 930.remoteproc:glink-edge.rpmsg_chrdev.0.0 Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/msm8996.dtsi | 22 ++ 1 file changed, 22 insertions(+) diff

[PATCH 3/3] arm64: dts: msm8996: add fastrpc nodes

2024-03-31 Thread Dmitry Baryshkov
From: Srinivas Kandagatla The ADSP provides fastrpc/compute capabilities. Enable support for the fastrpc on this DSP. Signed-off-by: Srinivas Kandagatla Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/msm8996.dtsi | 57 +++ 1 file changed, 57

Re: [PATCH 3/3] arm64: dts: msm8996: add fastrpc nodes

2024-04-02 Thread Dmitry Baryshkov
On Tue, 2 Apr 2024 at 17:47, Konrad Dybcio wrote: > > On 31.03.2024 11:10 PM, Dmitry Baryshkov wrote: > > From: Srinivas Kandagatla > > > > The ADSP provides fastrpc/compute capabilities. Enable support for the > > fastrpc on this DSP. > > > > Signed-o

Re: [PATCH] ARM: dts: qcom: msm8974-sony-shinano: Enable vibrator

2024-04-06 Thread Dmitry Baryshkov
4 insertions(+) Reviewed-by: Dmitry Baryshkov -- With best wishes Dmitry

Re: [PATCHv3 2/2] usb: typec: anx7688: Add driver for ANX7688 USB-C HDMI bridge

2024-04-09 Thread Dmitry Baryshkov
On Tue, Apr 09, 2024 at 01:04:12PM +0200, Pavel Machek wrote: > Hi! > > > > This is driver for ANX7688 USB-C HDMI, with flashing and debugging > > > features removed. ANX7688 is rather criticial piece on PinePhone, > > > there's no display and no battery charging without it. > > > > > > There's l

Re: [PATCH v2 2/2] ARM: dts: qcom: msm8974-hammerhead: Update gpio hog node name

2024-04-09 Thread Dmitry Baryshkov
On Tue, 9 Apr 2024 at 21:37, Luca Weiss wrote: > > Follow the gpio-hog bindings and use otg-hog as node name. > > Signed-off-by: Luca Weiss > --- > arch/arm/boot/dts/qcom/qcom-msm8974-lge-nexus5-hammerhead.dts | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) &

Re: [PATCHv3 1/2] dt-bindings: usb: typec: anx7688: start a binding document

2024-04-11 Thread Dmitry Baryshkov
On Thu, Apr 11, 2024 at 09:59:35PM +0200, Krzysztof Kozlowski wrote: > On 10/04/2024 04:20, Ondřej Jirman wrote: > > On Mon, Apr 08, 2024 at 10:12:30PM GMT, Krzysztof Kozlowski wrote: > >> On 08/04/2024 17:17, Ondřej Jirman wrote: > >>> > >>> Now for things to not fail during suspend/resume based o

[PATCH v2 1/3] dt-bindings: remoteproc: qcom,msm8996-mss-pil: allow glink-edge on msm8996

2024-04-17 Thread Dmitry Baryshkov
MSM8996 has limited glink support, allow glink-edge node on MSM8996 platform. Acked-by: Rob Herring Signed-off-by: Dmitry Baryshkov --- Documentation/devicetree/bindings/remoteproc/qcom,msm8996-mss-pil.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/Documentation/devicetree/bindings

[PATCH v2 0/3] arm64: dts: qcom: msm8996: enable fastrpc and glink-edge

2024-04-17 Thread Dmitry Baryshkov
Enable the FastRPC and glink-edge nodes on MSM8996 platform. Tested on APQ8096 Dragonboard820c. Signed-off-by: Dmitry Baryshkov --- Changes in v2: - Fixed order of compute nodes (Konrad) - Link to v1: https://lore.kernel.org/r/20240401-msm8996-remoteproc-v1-0-f02ab47fc...@linaro.org --- Dmitry

[PATCH v2 2/3] arm64: dts: qcom: msm8996: add glink-edge nodes

2024-04-17 Thread Dmitry Baryshkov
adsp: 930.remoteproc:glink-edge.LOOPBACK_CTL_LPASS.-1.-1 930.remoteproc:glink-edge.glink_ssr.-1.-1 930.remoteproc:glink-edge.rpmsg_chrdev.0.0 Reviewed-by: Konrad Dybcio Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/msm8996.dtsi | 22 ++ 1 file

[PATCH v2 3/3] arm64: dts: msm8996: add fastrpc nodes

2024-04-17 Thread Dmitry Baryshkov
From: Srinivas Kandagatla The ADSP provides fastrpc/compute capabilities. Enable support for the fastrpc on this DSP. Signed-off-by: Srinivas Kandagatla Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/msm8996.dtsi | 57 +++ 1 file changed, 57

[PATCH v7 0/6] soc: qcom: add in-kernel pd-mapper implementation

2024-04-24 Thread Dmitry Baryshkov
-0-5d12a081d...@linaro.org Changes in RFC v2: - Swapped num_domains / domains (Konrad) - Fixed an issue with battery not working on sc8280xp - Added missing configuration for QCS404 --- Dmitry Baryshkov (6): soc: qcom: pdr: protect locator_addr with the main mutex soc: qcom: pdr: fix

[PATCH v7 1/6] soc: qcom: pdr: protect locator_addr with the main mutex

2024-04-24 Thread Dmitry Baryshkov
eil Armstrong # on SM8550-QRD Signed-off-by: Dmitry Baryshkov --- drivers/soc/qcom/pdr_interface.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/soc/qcom/pdr_interface.c b/drivers/soc/qcom/pdr_interface.c index a1b6a4081dea..19cfe4b41235 100644 --- a/dri

[PATCH v7 2/6] soc: qcom: pdr: fix parsing of domains lists

2024-04-24 Thread Dmitry Baryshkov
lpers") 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_interface.c b/drivers/soc/qcom/pdr_interface.c index 19cfe4b41235..3c6f2d21e5e4 100644 --- a/drivers/soc/qcom/pdr_interface.c +++

[PATCH v7 3/6] soc: qcom: pdr: extract PDR message marshalling data

2024-04-24 Thread Dmitry Baryshkov
The in-kernel PD mapper is going to use same message structures as the QCOM_PDR_HELPERS module. Extract message marshalling data to separate module that can be used by both PDR helpers and by PD mapper. Reviewed-by: Bryan O'Donoghue Signed-off-by: Dmitry Baryshkov --- drivers/soc/qcom/Kc

[PATCH v7 4/6] soc: qcom: qmi: add a way to remove running service

2024-04-24 Thread Dmitry Baryshkov
Add qmi_del_server(), a pair to qmi_add_server(), a way to remove running server from the QMI socket. This is e.g. necessary for pd-mapper, which needs to readd a server each time the DSP is started or stopped. Tested-by: Neil Armstrong # on SM8550-QRD Signed-off-by: Dmitry Baryshkov

[PATCH v7 6/6] remoteproc: qcom: enable in-kernel PD mapper

2024-04-24 Thread Dmitry Baryshkov
Request in-kernel protection domain mapper to be started before starting Qualcomm DSP and release it once DSP is stopped. Once all DSPs are stopped, the PD mapper will be stopped too. Signed-off-by: Dmitry Baryshkov --- drivers/remoteproc/Kconfig | 4 drivers/remoteproc

[PATCH v7 5/6] soc: qcom: add pd-mapper implementation

2024-04-24 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. Signed-off-by: Dmitry Baryshkov --- drivers/soc/qcom/Kconfig | 10 + drivers/soc/qcom/Makefile | 1 + drivers/soc/qcom/pdr

Re: [PATCH v7 0/6] soc: qcom: add in-kernel pd-mapper implementation

2024-04-25 Thread Dmitry Baryshkov
On Thu, 25 Apr 2024 at 10:08, Steev Klimaszewski wrote: > > Hi Dmitry, > > On Wed, Apr 24, 2024 at 4:28 AM Dmitry Baryshkov > wrote: > > > > Protection domain mapper is a QMI service providing mapping between > > 'protection domains' and services su

Re: [PATCH v7 6/6] remoteproc: qcom: enable in-kernel PD mapper

2024-04-26 Thread Dmitry Baryshkov
On Sat, 27 Apr 2024 at 04:03, Chris Lew wrote: > > > > On 4/24/2024 2:28 AM, Dmitry Baryshkov wrote: > > diff --git a/drivers/remoteproc/qcom_q6v5_adsp.c > > b/drivers/remoteproc/qcom_q6v5_adsp.c > > index 1d24c9b656a8..02d0c626b03b 100644 > > --- a/drivers/r

Re: [PATCH v7 1/6] soc: qcom: pdr: protect locator_addr with the main mutex

2024-05-11 Thread Dmitry Baryshkov
On Thu, 25 Apr 2024 at 22:30, Chris Lew wrote: > > > On 4/24/2024 2:27 AM, Dmitry Baryshkov wrote: > > If the service locator server is restarted fast enough, the PDR can > > rewrite locator_addr fields concurrently. Protect them by placing > > modification of thos

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

2024-05-11 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 | 15 +++ 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/drivers/soc/qcom/pdr_interface.c b/drivers/soc/qcom/pd

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

2024-05-11 Thread Dmitry Baryshkov
n issue with battery not working on sc8280xp - Added missing configuration for QCS404 --- Dmitry Baryshkov (5): soc: qcom: pdr: protect locator_addr with the main mutex soc: qcom: pdr: fix parsing of domains lists soc: qcom: pdr: extract PDR message marshalling data soc:

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

2024-05-11 Thread Dmitry Baryshkov
lpers") Tested-by: Steev Klimaszewski Tested-by: Alexey Minnekhanov 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_interface.c b/drivers/soc/qcom/pdr_interface.c index e0

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

2024-05-11 Thread Dmitry Baryshkov
Request in-kernel protection domain mapper to be started before starting Qualcomm DSP and release it once DSP is stopped. Once all DSPs are stopped, the PD mapper will be stopped too. Signed-off-by: Dmitry Baryshkov --- drivers/remoteproc/qcom_common.c| 87

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

2024-05-11 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 Signed-off-by: Dmitry Baryshkov --- drivers/soc/qcom/Kconfig | 11 + drive

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

2024-05-11 Thread Dmitry Baryshkov
hanov 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 | 319 4 files changed

[PATCH 00/12] arm64: qcom: autodetect firmware paths

2024-05-21 Thread Dmitry Baryshkov
com/sm8250/Thundercomm/RB5/cdsp.mbn -> ../../cdsp.mbn +Link: qcom/sm8250/Thundercomm/RB5/cdspr.jsn -> ../../cdspr.jsn Suggested-by: Arnd Bergmann Signed-off-by: Dmitry Baryshkov --- Dmitry Baryshkov (12): soc: qcom: add firmware name helper wifi: wcn36xx: make use of QCOM_FW_HELPER

[PATCH 01/12] soc: qcom: add firmware name helper

2024-05-21 Thread Dmitry Baryshkov
node compatible. Suggested-by: Arnd Bergmann Signed-off-by: Dmitry Baryshkov --- drivers/soc/qcom/Kconfig | 5 +++ drivers/soc/qcom/Makefile | 1 + drivers/soc/qcom/qcom_fw_helper.c | 86 ++ include/linux/soc/qcom/fw_helper.h | 10

[PATCH 02/12] wifi: wcn36xx: make use of QCOM_FW_HELPER

2024-05-21 Thread Dmitry Baryshkov
Make the driver use qcom_fw_helper to autodetect the path to the calibration data file. Signed-off-by: Dmitry Baryshkov --- drivers/net/wireless/ath/wcn36xx/Kconfig | 1 + drivers/net/wireless/ath/wcn36xx/main.c | 5 + 2 files changed, 6 insertions(+) diff --git a/drivers/net/wireless/ath

[PATCH 03/12] soc: qcom: wcnss_ctrl: make use of QCOM_FW_HELPER

2024-05-21 Thread Dmitry Baryshkov
Make the driver use qcom_fw_helper to autodetect the path to the calibration data file. Signed-off-by: Dmitry Baryshkov --- drivers/soc/qcom/Kconfig | 1 + drivers/soc/qcom/wcnss_ctrl.c | 9 + 2 files changed, 10 insertions(+) diff --git a/drivers/soc/qcom/Kconfig b/drivers/soc

[PATCH 04/12] remoteproc: qcom_q6v5_mss: switch to mbn files by default

2024-05-21 Thread Dmitry Baryshkov
We have been pushing userspace to use mbn files by default for ages. As a preparation for making the firmware-name optional, make the driver use .mbn instead of .mdt files by default. Signed-off-by: Dmitry Baryshkov --- drivers/remoteproc/qcom_q6v5_mss.c | 2 +- 1 file changed, 1 insertion

[PATCH 05/12] remoteproc: qcom_q6v5_mss: make use of QCOM_FW_HELPER

2024-05-21 Thread Dmitry Baryshkov
Make the driver use qcom_fw_helper to autodetect the path to the calibration data file. Signed-off-by: Dmitry Baryshkov --- drivers/remoteproc/Kconfig | 1 + drivers/remoteproc/qcom_q6v5_mss.c | 10 ++ 2 files changed, 11 insertions(+) diff --git a/drivers/remoteproc/Kconfig b

[PATCH 06/12] remoteproc: qcom_q6v5_pas: switch to mbn files by default

2024-05-21 Thread Dmitry Baryshkov
We have been pushing userspace to use mbn files by default for ages. As a preparation for making the firmware-name optional, make the driver use .mbn instead of .mdt files by default. Signed-off-by: Dmitry Baryshkov --- drivers/remoteproc/qcom_q6v5_pas.c | 76

[PATCH 07/12] remoteproc: qcom_q6v5_pas: make use of QCOM_FW_HELPER

2024-05-21 Thread Dmitry Baryshkov
Make the driver use qcom_fw_helper to autodetect the path to the calibration data file. Signed-off-by: Dmitry Baryshkov --- drivers/remoteproc/Kconfig | 1 + drivers/remoteproc/qcom_q6v5_pas.c | 9 + 2 files changed, 10 insertions(+) diff --git a/drivers/remoteproc/Kconfig b

[PATCH 08/12] remoteproc: qcom_wcnss: switch to mbn files by default

2024-05-21 Thread Dmitry Baryshkov
We have been pushing userspace to use mbn files by default for ages. As a preparation for making the firmware-name optional, make the driver use .mbn instead of .mdt files by default. Signed-off-by: Dmitry Baryshkov --- drivers/remoteproc/qcom_wcnss.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH 09/12] remoteproc: qcom_wcnss: make use of QCOM_FW_HELPER

2024-05-21 Thread Dmitry Baryshkov
Make the driver use qcom_fw_helper to autodetect the path to the calibration data file. Signed-off-by: Dmitry Baryshkov --- drivers/remoteproc/qcom_wcnss.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/remoteproc/qcom_wcnss.c b/drivers/remoteproc/qcom_wcnss.c index

Re: [PATCH 3/3] remoteproc: qcom: pas: Add SM8650 remoteproc support

2023-10-25 Thread Dmitry Baryshkov
e changed, 50 insertions(+) Reviewed-by: Dmitry Baryshkov -- With best wishes Dmitry

Re: [PATCH 9/9] arm64: dts: qcom: qcm6490-fairphone-fp5: Enable WiFi

2023-11-04 Thread Dmitry Baryshkov
[Added Kalle to the CC list] On Tue, 31 Oct 2023 at 12:31, Luca Weiss wrote: > > On Mon Oct 30, 2023 at 8:26 PM CET, Konrad Dybcio wrote: > > On 27.10.2023 16:20, Luca Weiss wrote: > > > Now that the WPSS remoteproc is enabled, enable wifi so we can use it. > > > > > > Signed-off-by: Luca Weiss

Re: [PATCH v2 2/3] arm64: dts: qcom: sc7280: Move video-firmware to chrome-common

2023-11-24 Thread Dmitry Baryshkov
On Fri, 24 Nov 2023 at 14:30, Vikash Garodia wrote: > > On 11/24/2023 5:05 PM, Luca Weiss wrote: > > On Fri Nov 24, 2023 at 7:38 AM CET, Vikash Garodia wrote: > >> > >> On 11/22/2023 7:50 PM, Luca Weiss wrote: > >>> On Wed Nov 22, 2023 at 2:17 PM CET, Vikash Garodia wrote: > > On 10/2/20

Re: [PATCH v5 2/3] arm64: dts: qcom: sc7280: Add UFS nodes for sc7280 soc

2023-12-05 Thread Dmitry Baryshkov
On 05/12/2023 10:45, Nitin Rawat wrote: On 12/4/2023 10:58 PM, Manivannan Sadhasivam wrote: On Mon, Dec 04, 2023 at 01:21:42PM +0100, Luca Weiss wrote: On Mon Dec 4, 2023 at 1:15 PM CET, Nitin Rawat wrote: On 12/4/2023 3:54 PM, Luca Weiss wrote: From: Nitin Rawat Add UFS host controller

Re: [PATCH 2/3] usb: typec: ucsi: Add qcm6490-pmic-glink as needing PDOS quirk

2023-12-20 Thread Dmitry Baryshkov
On Wed, 20 Dec 2023 at 12:04, Luca Weiss wrote: > > The QCM6490 Linux Android firmware needs this workaround as well. Add it > to the list. > > Signed-off-by: Luca Weiss > --- > drivers/usb/typec/ucsi/ucsi_glink.c | 1 + > 1 file changed, 1 insertion(+) Reviewed-by: Dmi

Re: [PATCH 0/3] Fairphone 5 PMIC-GLINK support (USB-C, charger, fuel gauge)

2023-12-21 Thread Dmitry Baryshkov
On Thu, 21 Dec 2023 at 09:33, Luca Weiss wrote: > > On Wed Dec 20, 2023 at 1:32 PM CET, Konrad Dybcio wrote: > > On 20.12.2023 11:02, Luca Weiss wrote: > > > This series adds all the necessary bits to enable USB-C role switching, > > > charger and fuel gauge (all via pmic-glink) on Fairphone 5. >

[PATCH 10/12] remoteproc: qcom_wcnss: make use of QCOM_FW_HELPER

2024-05-21 Thread Dmitry Baryshkov
Make the driver use qcom_fw_helper to autodetect the path to the calibration data file. Signed-off-by: Dmitry Baryshkov --- drivers/remoteproc/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/remoteproc/Kconfig b/drivers/remoteproc/Kconfig index 7bb22fdb64e4..e0ffcaeca03d

[PATCH 11/12] arm64: dts: qcom: apq8016-sbc: drop firmware-name properties

2024-05-21 Thread Dmitry Baryshkov
As the drivers default to loading the firmware from the board-specific location, drop the firmware-name properties. In case of the WCNSS calibration data drop the path to the file, retaining just the file name. Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/apq8016-sbc.dts | 5

[PATCH 12/12] arm64: dts: qcom: apq8096-db820c: drop firmware-name properties

2024-05-21 Thread Dmitry Baryshkov
As the drivers default to loading the firmware from the board-specific location, drop the firmware-name properties. Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/apq8096-db820c.dts | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/apq8096-db820c.dts b

Re: [PATCH 06/12] remoteproc: qcom_q6v5_pas: switch to mbn files by default

2024-05-21 Thread Dmitry Baryshkov
On Tue, 21 May 2024 at 12:49, wrote: > > On 21/05/2024 11:45, Dmitry Baryshkov wrote: > > We have been pushing userspace to use mbn files by default for ages. > > As a preparation for making the firmware-name optional, make the driver > > use .mbn instead of .mdt files by

Re: [PATCH 01/12] soc: qcom: add firmware name helper

2024-05-21 Thread Dmitry Baryshkov
On Tue, 21 May 2024 at 12:52, wrote: > > On 21/05/2024 11:45, Dmitry Baryshkov wrote: > > Qualcomm platforms have different sets of the firmware files, which > > differ from platform to platform (and from board to board, due to the > > embedded signatures). Rather than

Re: [PATCH 01/12] soc: qcom: add firmware name helper

2024-05-21 Thread Dmitry Baryshkov
On Tue, 21 May 2024 at 13:20, Kalle Valo wrote: > > Dmitry Baryshkov writes: > > > On Tue, 21 May 2024 at 12:52, wrote: > >> > >> On 21/05/2024 11:45, Dmitry Baryshkov wrote: > >> > Qualcomm platforms have different sets of the firmware files, which

Re: [PATCH 09/12] remoteproc: qcom_wcnss: make use of QCOM_FW_HELPER

2024-05-22 Thread Dmitry Baryshkov
On Wed, 22 May 2024 at 22:22, Jeff Johnson wrote: > > On 5/21/2024 2:45 AM, Dmitry Baryshkov wrote: > > Make the driver use qcom_fw_helper to autodetect the path to the > > calibration data file. > > > > Signed-off-by: Dmitry Baryshkov > > --- >

Re: [PATCH v2 3/5] remoteproc: qcom_q6v5_pas: Add support for SA8775p ADSP, CDSP and GPDSP

2024-05-27 Thread Dmitry Baryshkov
On Mon, May 27, 2024 at 10:43:50AM +0200, Bartosz Golaszewski wrote: > From: Tengfei Fan > > Add support for PIL loading on ADSP, CDSP0, CDSP1, GPDSP0 and GPDSP1 on > SA8775p SoCs. > > Signed-off-by: Tengfei Fan > Co-developed-by: Bartosz Golaszewski > Signed-off-by: Bartosz Golaszewski > ---

Re: [PATCH v2 4/5] arm64: dts: qcom: sa8775p: add ADSP, CDSP and GPDSP nodes

2024-05-27 Thread Dmitry Baryshkov
-by: Bartosz Golaszewski > --- > arch/arm64/boot/dts/qcom/sa8775p.dtsi | 332 > ++ > 1 file changed, 332 insertions(+) > With nsp0 vs nsp1 vs nsp sorted out: Reviewed-by: Dmitry Baryshkov -- With best wishes Dmitry

Re: [PATCH v2 5/5] arm64: dts: qcom: sa8775p-ride: enable remoteprocs

2024-05-27 Thread Dmitry Baryshkov
ts/qcom/sa8775p-ride.dts | 25 + > 1 file changed, 25 insertions(+) > Reviewed-by: Dmitry Baryshkov -- With best wishes Dmitry

Re: [PATCH 01/12] soc: qcom: add firmware name helper

2024-05-27 Thread Dmitry Baryshkov
On Thu, 23 May 2024 at 01:48, Bjorn Andersson wrote: > > On Tue, May 21, 2024 at 03:08:31PM +0200, Dmitry Baryshkov wrote: > > On Tue, 21 May 2024 at 13:20, Kalle Valo wrote: > > > > > > Dmitry Baryshkov writes: > > > > > > > On Tue, 21 May 202

Re: [PATCH v3 1/3] arm64: dts: qcom: pm7250b: Add node for PMIC VBUS booster

2024-05-30 Thread Dmitry Baryshkov
ca Weiss > --- > arch/arm64/boot/dts/qcom/pm7250b.dtsi | 6 ++ > 1 file changed, 6 insertions(+) > Reviewed-by: Dmitry Baryshkov -- With best wishes Dmitry

Re: [PATCH v3 2/3] arm64: dts: qcom: pm7250b: Add a TCPM description

2024-05-30 Thread Dmitry Baryshkov
. > > Reviewed-by: Bryan O'Donoghue > Reviewed-by: Konrad Dybcio > Signed-off-by: Luca Weiss > --- > arch/arm64/boot/dts/qcom/pm7250b.dtsi | 40 > +++ > 1 file changed, 40 insertions(+) > Reviewed-by: Dmitry Baryshkov -- With best wishes Dmitry

Re: [PATCH v3 3/3] arm64: dts: qcom: sm7225-fairphone-fp4: Enable USB role switching

2024-05-30 Thread Dmitry Baryshkov
64/boot/dts/qcom/sm7225-fairphone-fp4.dts | 58 > +- > 3 files changed, 108 insertions(+), 1 deletion(-) > Usually the SoC changes come in a separate patch, but I won't insist on that. Reviewed-by: Dmitry Baryshkov -- With best wishes Dmitry

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

2024-06-06 Thread Dmitry Baryshkov
On Thu, 6 Jun 2024 at 01:48, Chris Lew wrote: > > Hi Dmitry, > > On 5/11/2024 2:56 PM, Dmitry Baryshkov wrote: > ... > > @@ -76,12 +76,12 @@ static int pdr_locator_new_server(struct qmi_handle > > *qmi, > > locator_h

Re: [PATCH v2] rpmsg: qcom_smd: Improve error handling for qcom_smd_parse_edge

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

  1   2   3   4   >