Re: [PATCH 2/2] arm64: dts: qcom: qcm6490-fairphone-fp5: Enable USB audio offload support

2025-08-01 Thread Luca Weiss
On Fri Aug 1, 2025 at 4:03 PM CEST, Konrad Dybcio wrote: > On 8/1/25 3:51 PM, Luca Weiss wrote: >> Enable USB audio offloading which allows to play audio via a USB-C >> headset with lower power consumption and enabling some other features. >> >> This can

[PATCH 2/2] arm64: dts: qcom: qcm6490-fairphone-fp5: Enable USB audio offload support

2025-08-01 Thread Luca Weiss
to regular playback to the USB sound card no xhci-hcd interrupts appear during playback, instead the ADSP will be handling the USB transfers. Signed-off-by: Luca Weiss --- arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts | 16 1 file changed, 16 insertions(+) diff --git a/arch/

[PATCH 1/2] arm64: dts: qcom: sc7280: Add q6usbdai node

2025-08-01 Thread Luca Weiss
Add a node for q6usb which handles USB audio offloading, allowing to play audio via a USB-C headset with lower power consumption and enabling some other features. We also need to set num-hc-interrupters for the dwc3 for the q6usb to be able to use its sideband interrupter. Signed-off-by: Luca

[PATCH 0/2] Enable USB audio offloading on Fairphone 5

2025-08-01 Thread Luca Weiss
Similar to Fairphone 4, we can enable USB audio offloading quite easily on the QCM6490-based Fairphone 5 smartphone. This allows to play audio via a USB-C headset with lower power consumption and enabling some other features. Signed-off-by: Luca Weiss --- Luca Weiss (2): arm64: dts: qcom

[PATCH] arm64: dts: qcom: sm6350: Add rpmh-stats node

2025-08-01 Thread Luca Weiss
The qcom_stats driver allows querying sleep stats from various remoteprocs. Add a node to enable it. Signed-off-by: Luca Weiss --- arch/arm64/boot/dts/qcom/sm6350.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm6350.dtsi b/arch/arm64/boot/dts/qcom

Re: [PATCH] net: ipa: add IPA v5.1 and v5.5 to ipa_version_string()

2025-07-31 Thread Luca Weiss
On Mon Jul 28, 2025 at 5:53 PM CEST, Alex Elder wrote: > On 7/28/25 3:35 AM, Luca Weiss wrote: >> Handle the case for v5.1 and v5.5 instead of returning "0.0". > > This makes sense for IPA v5.5. > > I have comments below, but I'll do this up front: > > Re

[PATCH] net: ipa: add IPA v5.1 and v5.5 to ipa_version_string()

2025-07-28 Thread Luca Weiss
Handle the case for v5.1 and v5.5 instead of returning "0.0". Also reword the comment below since I don't see any evidence of such a check happening, and - since 5.5 has been missing - can happen. Fixes: 3aac8ec1c028 ("net: ipa: add some new IPA versions") Signed-off-by:

Re: [PATCH v3 0/3] Enable USB audio offloading on Fairphone 4 smartphone

2025-07-23 Thread Luca Weiss
On Wed Jul 23, 2025 at 6:48 PM CEST, Mark Brown wrote: > On Wed, 23 Jul 2025 16:03:37 +0200, Luca Weiss wrote: >> Updated description for v3: >> Add the missing bits for the sound subsystem to enable USB audio >> offloading on the Fairphone 4. This is mostly s

Re: [PATCH] soc: qcom: ubwc: Add missing UBWC config for SM7225

2025-07-23 Thread Luca Weiss
On Wed Jul 23, 2025 at 4:19 PM CEST, Luca Weiss wrote: > SM7225 is a variation of SM6350, and also needs an entry in the table. And now a second after sending I checked sm7325 and that's also missing... > > Fixes: 1924272b9ce1 ("soc: qcom: Add UBWC config provider") >

[PATCH] soc: qcom: ubwc: Add missing UBWC config for SM7225

2025-07-23 Thread Luca Weiss
SM7225 is a variation of SM6350, and also needs an entry in the table. Fixes: 1924272b9ce1 ("soc: qcom: Add UBWC config provider") Signed-off-by: Luca Weiss --- Note, due to other bugs on next-20250723 I couldn't fully test that DPU/GPU are working, but this seems to be requi

[PATCH v3 1/3] ASoC: dt-bindings: qcom,q6afe: Document q6usb subnode

2025-07-23 Thread Luca Weiss
Document the subnode for Q6USB, used for USB audio offloading. Cc: Wesley Cheng Acked-by: Rob Herring (Arm) Signed-off-by: Luca Weiss --- Documentation/devicetree/bindings/sound/qcom,q6afe.yaml | 13 + 1 file changed, 13 insertions(+) diff --git a/Documentation/devicetree

[PATCH v3 2/3] ASoC: dt-bindings: qcom,sm8250: Add Fairphone 4 sound card

2025-07-23 Thread Luca Weiss
Document the bindings for the sound card on Fairphone 4 which uses the older non-audioreach audio architecture. Acked-by: Krzysztof Kozlowski Signed-off-by: Luca Weiss --- Documentation/devicetree/bindings/sound/qcom,sm8250.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation

[PATCH v3 3/3] ASoC: qcom: sm8250: Add Fairphone 4 soundcard compatible

2025-07-23 Thread Luca Weiss
Add a compatible for the SM7225-based Fairphone 4 which can use this machine driver. Reviewed-by: Dmitry Baryshkov Signed-off-by: Luca Weiss --- sound/soc/qcom/sm8250.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/soc/qcom/sm8250.c b/sound/soc/qcom/sm8250.c index

[PATCH v3 0/3] Enable USB audio offloading on Fairphone 4 smartphone

2025-07-23 Thread Luca Weiss
Updated description for v3: Add the missing bits for the sound subsystem to enable USB audio offloading on the Fairphone 4. This is mostly sndcard enablement now. Signed-off-by: Luca Weiss --- Changes in v3: - Drop applied dts patches - Rebase on next - Link to v2: https://lore.kernel.org/r

Re: [PATCH v2 0/5] Enable USB audio offloading on Fairphone 4 smartphone

2025-07-23 Thread Luca Weiss
On Wed Jul 23, 2025 at 2:19 PM CEST, Mark Brown wrote: > On Wed, Jul 23, 2025 at 01:09:35PM +0200, Luca Weiss wrote: >> On Wed Jul 23, 2025 at 12:57 PM CEST, Mark Brown wrote: > >> > As previously discussed they won't apply until after the merge window. > >&

Re: [PATCH v2 0/5] Enable USB audio offloading on Fairphone 4 smartphone

2025-07-23 Thread Luca Weiss
Hi Mark, On Wed Jul 23, 2025 at 12:57 PM CEST, Mark Brown wrote: > On Mon, Jul 21, 2025 at 08:22:06AM +0200, Luca Weiss wrote: >> On Wed Jul 16, 2025 at 9:19 AM CEST, Luca Weiss wrote: > >> > All dependencies for the patches have been applied already, so this >> > se

Re: [PATCH v3 2/2] interconnect: qcom: Add Milos interconnect provider driver

2025-07-23 Thread Luca Weiss
Hi Georgi, On Mon Jul 21, 2025 at 9:42 AM CEST, Luca Weiss wrote: > Hi Georgi, > > On Mon Jul 21, 2025 at 9:36 AM CEST, Georgi Djakov wrote: >> Hi Luca, >> >> On 7/9/25 4:14 PM, Luca Weiss wrote: >>> Add driver for the Qualcomm interconnect buses found in Mil

Re: [PATCH v2 1/2] dt-bindings: pinctrl: document the Milos Top Level Mode Multiplexer

2025-07-22 Thread Luca Weiss
Hi Rob, On Fri Jul 11, 2025 at 8:22 PM CEST, Rob Herring wrote: > On Wed, Jul 02, 2025 at 05:56:16PM +0200, Luca Weiss wrote: >> Document the Top Level Mode Multiplexer on the Milos Platform. >> >> Signed-off-by: Luca Weiss >> --- >> .../bindings/pinctrl/qc

Re: [PATCH v3 2/2] interconnect: qcom: Add Milos interconnect provider driver

2025-07-21 Thread Luca Weiss
Hi Georgi, On Mon Jul 21, 2025 at 9:36 AM CEST, Georgi Djakov wrote: > Hi Luca, > > On 7/9/25 4:14 PM, Luca Weiss wrote: >> Add driver for the Qualcomm interconnect buses found in Milos based >> platforms. The topology consists of several NoCs that are controlled by >&

Re: [PATCH v2 0/5] Enable USB audio offloading on Fairphone 4 smartphone

2025-07-20 Thread Luca Weiss
Hi Mark Brown, On Wed Jul 16, 2025 at 9:19 AM CEST, Luca Weiss wrote: > Hi all, > > On Thu May 1, 2025 at 8:48 AM CEST, Luca Weiss wrote: >> Since the series for the USB sound offloading driver was finally merged, >> we can add the sm6350 dts and enable it on Fairphone 4. &

Re: [PATCH v3 1/2] dt-bindings: remoteproc: qcom,milos-pas: Document remoteprocs

2025-07-17 Thread Luca Weiss
On Thu Jul 10, 2025 at 12:30 AM CEST, Rob Herring (Arm) wrote: > > On Wed, 09 Jul 2025 13:13:07 +0200, Luca Weiss wrote: >> Document the bindings for the ADSP, CDSP, MPSS and WPSS PAS on the Milos >> (e.g. SM7635) SoC. >> >> Signed-off-by: Luca Weiss >> --- &g

[PATCH 1/3] dt-bindings: clock: qcom: Remove double colon from description

2025-07-16 Thread Luca Weiss
No double colon is necessary in the description. Fix it for all bindings so future bindings won't have the same copy-paste mistake. Reported-by: Rob Herring Closes: https://lore.kernel.org/lkml/20250625150458.ga1182597-r...@kernel.org/ Signed-off-by: Luca Weiss --- Documentation/devic

[PATCH 2/3] dt-bindings: interconnect: qcom: Remove double colon from description

2025-07-16 Thread Luca Weiss
No double colon is necessary in the description. Fix it for all bindings so future bindings won't have the same copy-paste mistake. Reported-by: Rob Herring Closes: https://lore.kernel.org/lkml/20250625150458.ga1182597-r...@kernel.org/ Signed-off-by: Luca Weiss --- Documentation/devic

[PATCH 3/3] dt-bindings: soc: qcom,rpmh-rsc: Remove double colon from description

2025-07-16 Thread Luca Weiss
No double colon is necessary in the description. Fix it. Reported-by: Rob Herring Closes: https://lore.kernel.org/lkml/20250625150458.ga1182597-r...@kernel.org/ Signed-off-by: Luca Weiss --- Documentation/devicetree/bindings/soc/qcom/qcom,rpmh-rsc.yaml | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH 0/3] Remove double colon from description in dt-bindings

2025-07-16 Thread Luca Weiss
As requested by Rob[0], remove the double colons found in various bindings with "See also:: ". [0] https://lore.kernel.org/lkml/20250625150458.ga1182597-r...@kernel.org/ Signed-off-by: Luca Weiss --- Luca Weiss (3): dt-bindings: clock: qcom: Remove double colon from descriptio

Re: [PATCH v2 0/5] Enable USB audio offloading on Fairphone 4 smartphone

2025-07-16 Thread Luca Weiss
Hi all, On Thu May 1, 2025 at 8:48 AM CEST, Luca Weiss wrote: > Since the series for the USB sound offloading driver was finally merged, > we can add the sm6350 dts and enable it on Fairphone 4. > > A few devicetree binding bits have also been missing in that series, so > the

[PATCH v3 4/4] phy: qcom: phy-qcom-snps-eusb2: Update init sequence per HPG 1.0.2

2025-07-15 Thread Luca Weiss
The eUSB2 HPG version 1.0.2 asks to clear bits [7:1] on all targets. Implement that change in the driver to follow. See also https://lore.kernel.org/linux-arm-msm/7d073433-f254-4d75-a68b-d184f9002...@oss.qualcomm.com/ Signed-off-by: Luca Weiss --- drivers/phy/phy-snps-eusb2.c | 2 +- 1 file

[PATCH v3 1/4] dt-bindings: usb: qcom,snps-dwc3: Add Milos compatible

2025-07-15 Thread Luca Weiss
Document the Milos dwc3 compatible. Acked-by: Krzysztof Kozlowski Signed-off-by: Luca Weiss --- Documentation/devicetree/bindings/usb/qcom,snps-dwc3.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/usb/qcom,snps-dwc3.yaml b/Documentation/devicetree

[PATCH v3 0/4] Changes for the eUSB2 PHY on Milos

2025-07-15 Thread Luca Weiss
Document the eUSB2 PHY on Milos and add some driver changes for it. Signed-off-by: Luca Weiss --- Changes in v3: - Make "extra register write" commit unconditional for all targets, write the register directly as per Konrad's suggestion - Pick up tags - Link to v2: https://lo

[PATCH v3 11/11] clk: qcom: Add Video Clock controller (VIDEOCC) driver for Milos

2025-07-15 Thread Luca Weiss
Add support for the video clock controller found on Milos (e.g. SM7635) based devices. Reviewed-by: Konrad Dybcio Signed-off-by: Luca Weiss --- drivers/clk/qcom/Kconfig | 11 ++ drivers/clk/qcom/Makefile| 1 + drivers/clk/qcom/videocc-milos.c | 403

[PATCH v3 07/11] clk: qcom: Add Display Clock controller (DISPCC) driver for Milos

2025-07-15 Thread Luca Weiss
Add support for the display clock controller found on Milos (e.g. SM7635) based devices. Reviewed-by: Konrad Dybcio Signed-off-by: Luca Weiss --- drivers/clk/qcom/Kconfig| 10 + drivers/clk/qcom/Makefile | 1 + drivers/clk/qcom/dispcc-milos.c | 974

[PATCH v3 06/11] dt-bindings: clock: qcom: document the Milos Display Clock Controller

2025-07-15 Thread Luca Weiss
Add bindings documentation for the Milos (e.g. SM7635) Display Clock Controller. Reviewed-by: Krzysztof Kozlowski Signed-off-by: Luca Weiss --- .../bindings/clock/qcom,milos-dispcc.yaml | 63 ++ include/dt-bindings/clock/qcom,milos-dispcc.h | 61

[PATCH v3 10/11] dt-bindings: clock: qcom: document the Milos Video Clock Controller

2025-07-15 Thread Luca Weiss
Add bindings documentation for the Milos (e.g. SM7635) Video Clock Controller. Reviewed-by: Krzysztof Kozlowski Signed-off-by: Luca Weiss --- .../bindings/clock/qcom,milos-videocc.yaml | 53 ++ include/dt-bindings/clock/qcom,milos-videocc.h | 36

[PATCH v3 03/11] clk: qcom: Add Global Clock controller (GCC) driver for Milos

2025-07-15 Thread Luca Weiss
Add support for the global clock controller found on Milos (e.g. SM7635) based devices. Signed-off-by: Luca Weiss --- drivers/clk/qcom/Kconfig |9 + drivers/clk/qcom/Makefile|1 + drivers/clk/qcom/gcc-milos.c | 3225 ++ 3 files changed

[PATCH v3 04/11] dt-bindings: clock: qcom: document the Milos Camera Clock Controller

2025-07-15 Thread Luca Weiss
Add bindings documentation for the Milos (e.g. SM7635) Camera Clock Controller. Reviewed-by: Krzysztof Kozlowski Signed-off-by: Luca Weiss --- .../bindings/clock/qcom,milos-camcc.yaml | 51 include/dt-bindings/clock/qcom,milos-camcc.h | 131 + 2

[PATCH v3 02/11] dt-bindings: clock: qcom: document the Milos Global Clock Controller

2025-07-15 Thread Luca Weiss
Add bindings documentation for the Milos (e.g. SM7635) Global Clock Controller. Reviewed-by: Krzysztof Kozlowski Signed-off-by: Luca Weiss --- .../devicetree/bindings/clock/qcom,milos-gcc.yaml | 62 ++ include/dt-bindings/clock/qcom,milos-gcc.h | 210 + 2

[PATCH v3 01/11] clk: qcom: common: Add support to register rcg dfs in qcom_cc_really_probe

2025-07-15 Thread Luca Weiss
Add support to register the rcg dfs in qcom_cc_really_probe(). This allows users to move the call from the probe function to static properties. Signed-off-by: Luca Weiss --- drivers/clk/qcom/common.c | 10 ++ drivers/clk/qcom/common.h | 2 ++ 2 files changed, 12 insertions(+) diff

[PATCH v3 00/11] Add clock drivers for Milos

2025-07-15 Thread Luca Weiss
Document and add the clock drivers for GCC, CAMCC, DISPCC, GPUCC and VIDEOCC on the Milos SoC (e.g. SM7635). Signed-off-by: Luca Weiss --- Changes in v3: - Move dfs_rcgs to qcom_cc_driver_data (update common & gcc) - Pick up tags - Link to v2: https://lore.kernel.org/r/20250704-sm7635-clock

[PATCH v2 4/4] regulator: qcom-rpmh: add support for pm7550 regulators

2025-07-11 Thread Luca Weiss
Add RPMH regulators exposed by Qualcomm Technologies, Inc. PM7550 PMIC. It has 6 FTS525 (FT-SMPS) and 23 LDOs with 3 different types. L1-L11 are LDO515 LV NMOS, L12-L13 are LDO515 MV PMOS, L14-L23 are LDO512 MV PMOS. Reviewed-by: Konrad Dybcio Signed-off-by: Luca Weiss --- drivers/regulator

[PATCH v2 2/4] regulator: dt-bindings: qcom,rpmh: Add PMR735B compatible

2025-07-11 Thread Luca Weiss
Add the PMR735B compatible for the regulators in the PMIC found with the Milos SoC. Reviewed-by: Krzysztof Kozlowski Signed-off-by: Luca Weiss --- .../devicetree/bindings/regulator/qcom,rpmh-regulator.yaml | 14 ++ 1 file changed, 14 insertions(+) diff --git a/Documentation

[PATCH v2 3/4] regulator: qcom-rpmh: add support for pmr735b regulators

2025-07-11 Thread Luca Weiss
Add RPMH regulators exposed by Qualcomm Technologies, Inc. PMR735B PMIC. It has 12 LDOs with 2 different types, L4 & L10 are LDO512 LV PMOS and the rest are LDO512 NMOS. Reviewed-by: Konrad Dybcio Signed-off-by: Luca Weiss --- drivers/regulator/qcom-rpmh-regulator.c

[PATCH v2 0/4] Add RPMh regulator support for PM7550 & PMR735B

2025-07-11 Thread Luca Weiss
Document and add support for the regulators on PM7550 and PMR735B, which can be paired with the Milos SoC. Signed-off-by: Luca Weiss --- Changes in v2: - Update pm7550 ldo12/13 type to pmic5_pldo515_mv - Rebrand SM7635 to Milos as requested: https://lore.kernel.org/linux-arm-msm/agmi1zv6d+k+v

[PATCH v2 1/4] regulator: dt-bindings: qcom,rpmh: Add PM7550 compatible

2025-07-11 Thread Luca Weiss
Add the PM7550 compatible for the regulators in the PMIC found with the Milos SoC. Reviewed-by: Krzysztof Kozlowski Signed-off-by: Luca Weiss --- .../bindings/regulator/qcom,rpmh-regulator.yaml | 21 + 1 file changed, 21 insertions(+) diff --git a/Documentation

Re: [PATCH 4/4] regulator: qcom-rpmh: add support for pm7550 regulators

2025-07-11 Thread Luca Weiss
On Thu Jul 10, 2025 at 6:08 PM CEST, Konrad Dybcio wrote: > On 7/10/25 4:06 PM, Luca Weiss wrote: >> On Thu Jul 10, 2025 at 3:03 PM CEST, Konrad Dybcio wrote: >>> On 7/9/25 1:56 PM, Luca Weiss wrote: >>>> On Wed Jun 25, 2025 at 4:20 PM CEST, Konrad Dybcio wrote: &g

Re: [PATCH v2 4/4] phy: qcom: phy-qcom-snps-eusb2: Add extra register write for Milos

2025-07-10 Thread Luca Weiss
On Thu Jul 10, 2025 at 2:29 PM CEST, Konrad Dybcio wrote: > On 7/10/25 2:25 PM, Luca Weiss wrote: >> On Thu Jul 10, 2025 at 2:10 PM CEST, Konrad Dybcio wrote: >>> On 7/9/25 11:18 AM, Luca Weiss wrote: >>>> As per the downstream devicetree for M

Re: [PATCH 4/4] regulator: qcom-rpmh: add support for pm7550 regulators

2025-07-10 Thread Luca Weiss
On Thu Jul 10, 2025 at 3:03 PM CEST, Konrad Dybcio wrote: > On 7/9/25 1:56 PM, Luca Weiss wrote: >> On Wed Jun 25, 2025 at 4:20 PM CEST, Konrad Dybcio wrote: >>> On 6/25/25 4:10 PM, Konrad Dybcio wrote: >>>> On 6/25/25 11:18 AM, Luca Weiss wrote: >>>>

Re: [PATCH v2 4/4] phy: qcom: phy-qcom-snps-eusb2: Add extra register write for Milos

2025-07-10 Thread Luca Weiss
On Thu Jul 10, 2025 at 2:10 PM CEST, Konrad Dybcio wrote: > On 7/9/25 11:18 AM, Luca Weiss wrote: >> As per the downstream devicetree for Milos, add a register write for >> QCOM_USB_PHY_CFG_CTRL_1 as per the "eUSB2 HPG version 1.0.2 update". >> >> Reviewed

[PATCH v2 2/4] phy: qualcomm: phy-qcom-eusb2-repeater: Support tune-res-fsdif prop

2025-07-09 Thread Luca Weiss
Support reading the FS Differential TX Output Resistance Tuning from devicetree and writing the register, as required on some boards. Reviewed-by: Abel Vesa Reviewed-by: Neil Armstrong Signed-off-by: Luca Weiss --- drivers/phy/qualcomm/phy-qcom-eusb2-repeater.c | 3 +++ 1 file changed, 3

[PATCH v2 1/4] dt-bindings: phy: qcom,snps-eusb2-repeater: Document qcom,tune-res-fsdif

2025-07-09 Thread Luca Weiss
determined by hardware engineers to make sure the electrical properties are as expected. Signed-off-by: Luca Weiss --- Documentation/devicetree/bindings/phy/qcom,snps-eusb2-repeater.yaml | 6 ++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/phy/qcom,snps-eusb2

[PATCH v2 0/4] Add support for eUSB2 repeater on PMIV0104

2025-07-09 Thread Luca Weiss
Add a new property qcom,tune-res-fsdif for the eUSB2 repeater and add the compatible for the repeater on the PMIV0104 PMIC. Signed-off-by: Luca Weiss --- Changes in v2: - Expand the dt-bindings qcom,tune-res-fsdif commit message regarding the register value in dt. - Pick up tags - Link to v1

[PATCH v2 4/4] phy: qualcomm: phy-qcom-eusb2-repeater: Add support for PMIV0104

2025-07-09 Thread Luca Weiss
Add support for the eUSB2 repeater found on the PMIV0104. There is no default init table for this PMIC, just the board-specific tuning parameters are used on top of the default tuning values. Reviewed-by: Abel Vesa Reviewed-by: Neil Armstrong Signed-off-by: Luca Weiss --- drivers/phy/qualcomm

[PATCH v2 3/4] dt-bindings: phy: qcom,snps-eusb2-repeater: Add compatible for PMIV0104

2025-07-09 Thread Luca Weiss
Add a dt-bindings compatible string for the Qualcomm's PMIV0104 PMIC. Acked-by: Krzysztof Kozlowski Signed-off-by: Luca Weiss --- Documentation/devicetree/bindings/phy/qcom,snps-eusb2-repeater.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/phy

[PATCH v3 2/2] interconnect: qcom: Add Milos interconnect provider driver

2025-07-09 Thread Luca Weiss
Add driver for the Qualcomm interconnect buses found in Milos based platforms. The topology consists of several NoCs that are controlled by a remote processor that collects the aggregated bandwidth for each master-slave pairs. Signed-off-by: Luca Weiss --- drivers/interconnect/qcom/Kconfig

[PATCH v3 0/2] Add interconnect driver for Milos

2025-07-09 Thread Luca Weiss
Add documentation and driver for the interconnect on the Milos SoC. Signed-off-by: Luca Weiss --- Changes in v3: - Add "SoC" to dt-bindings title - Add QoS settings - Remove empty bcm arrays - Update spacing around compatible entries - Link to v2: https://lore.kernel.org/r/20250708-

[PATCH v3 1/2] dt-bindings: interconnect: document the RPMh Network-On-Chip Interconnect in Qualcomm Milos SoC

2025-07-09 Thread Luca Weiss
Document the RPMh Network-On-Chip Interconnect of the Milos (e.g. SM7635) SoC. Reviewed-by: Krzysztof Kozlowski Signed-off-by: Luca Weiss --- .../bindings/interconnect/qcom,milos-rpmh.yaml | 136 include/dt-bindings/interconnect/qcom,milos-rpmh.h | 141

Re: [PATCH 1/4] dt-bindings: phy: qcom,snps-eusb2-repeater: Document qcom,tune-res-fsdif

2025-07-09 Thread Luca Weiss
On Wed Jul 9, 2025 at 12:16 PM CEST, Krzysztof Kozlowski wrote: > On 09/07/2025 11:40, Luca Weiss wrote: >> Hi Krzysztof, >> >> On Tue Jul 8, 2025 at 10:31 AM CEST, Luca Weiss wrote: >>> On Tue Jul 8, 2025 at 10:21 AM CEST, Krzysztof Kozlowski wrote: >>>>

Re: [PATCH 4/4] regulator: qcom-rpmh: add support for pm7550 regulators

2025-07-09 Thread Luca Weiss
On Wed Jun 25, 2025 at 4:20 PM CEST, Konrad Dybcio wrote: > On 6/25/25 4:10 PM, Konrad Dybcio wrote: >> On 6/25/25 11:18 AM, Luca Weiss wrote: >>> Add RPMH regulators exposed by Qualcomm Technologies, Inc. PM7550 PMIC. >>> It has 6 FTS525 (FT-SMPS) and 23 LDOs with 3

Re: [PATCH v2 01/11] clk: qcom: common: Add support to register rcg dfs in qcom_cc_really_probe

2025-07-09 Thread Luca Weiss
Hi Jagadeesh, On Tue Jul 8, 2025 at 7:34 AM CEST, Jagadeesh Kona wrote: > > > On 7/4/2025 12:46 PM, Luca Weiss wrote: >> Add support to register the rcg dfs in qcom_cc_really_probe(). This >> allows users to move the call from the probe function to static >> properties.

[PATCH v2 5/5] arm64: dts: qcom: Add PM7550 PMIC

2025-07-09 Thread Luca Weiss
Add a dts for the PMIC used e.g. with Milos SoC-based devices. Signed-off-by: Luca Weiss --- arch/arm64/boot/dts/qcom/pm7550.dtsi | 67 1 file changed, 67 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/pm7550.dtsi b/arch/arm64/boot/dts/qcom/pm7550

[PATCH v2 4/5] pinctrl: qcom: spmi: Add PM7550

2025-07-09 Thread Luca Weiss
PM7550 is a PMIC, featuring 12 GPIOs. Describe it. Signed-off-by: Luca Weiss --- drivers/pinctrl/qcom/pinctrl-spmi-gpio.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c b/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c index

[PATCH v2 3/5] dt-bindings: pinctrl: qcom,pmic-gpio: Add PM7550 support

2025-07-09 Thread Luca Weiss
Update the Qualcomm Technologies, Inc. PMIC GPIO binding documentation to include the compatible string for the PM7550 PMICs. Signed-off-by: Luca Weiss --- Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation

[PATCH v2 2/5] dt-bindings: mfd: qcom-spmi-pmic: Document PM7550 PMIC

2025-07-09 Thread Luca Weiss
Document the compatible string for the PM7550 PMIC. Signed-off-by: Luca Weiss --- Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml b/Documentation/devicetree/bindings/mfd/qcom

[PATCH v2 1/5] dt-bindings: leds: qcom,spmi-flash-led: Add PM7550

2025-07-09 Thread Luca Weiss
Document compatible for PM7550 Torch and Flash LED controller. Signed-off-by: Luca Weiss --- Documentation/devicetree/bindings/leds/qcom,spmi-flash-led.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/leds/qcom,spmi-flash-led.yaml b/Documentation

[PATCH v2 0/5] Add support for PM7550 PMIC

2025-07-09 Thread Luca Weiss
The PM7550 PMIC is used in conjuction with the Milos SoC. Add binding docs and the devicetree description for it. Signed-off-by: Luca Weiss --- Changes in v2: - PMXR2230 -> PM7550 (Dmitry) - Replace some SM7635 references with Milos - Update critical temperature trip - Link to v1: ht

Re: [PATCH v2 0/2] Add Milos RPMHPD power domains

2025-07-09 Thread Luca Weiss
On Wed Jul 9, 2025 at 1:30 PM CEST, Ulf Hansson wrote: > On Mon, 7 Jul 2025 at 12:18, Luca Weiss wrote: >> >> Add support for the rpmhpd power domains in the Milos SoC. >> >> Signed-off-by: Luca Weiss > > The series applied for next (with a minor update t

[PATCH v2 3/4] pinctrl: qcom: spmi: Add PMIV0104

2025-07-09 Thread Luca Weiss
PMIV0104 is a PMIC, featuring 10 GPIOs. Describe it. Reviewed-by: Dmitry Baryshkov Signed-off-by: Luca Weiss --- drivers/pinctrl/qcom/pinctrl-spmi-gpio.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c b/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c

[PATCH v2 4/4] arm64: dts: qcom: Add PMIV0104 PMIC

2025-07-09 Thread Luca Weiss
Add a dts for the PMIC used e.g. on devices with the Milos SoC. Reviewed-by: Konrad Dybcio Signed-off-by: Luca Weiss --- arch/arm64/boot/dts/qcom/pmiv0104.dtsi | 73 ++ 1 file changed, 73 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/pmiv0104.dtsi b/arch

[PATCH v2 1/4] dt-bindings: mfd: qcom,spmi-pmic: Document PMIV0104

2025-07-09 Thread Luca Weiss
Add the PMIV0104 PMIC which is found on e.g. boards with Milos SoCs. Acked-by: Krzysztof Kozlowski Signed-off-by: Luca Weiss --- Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/mfd/qcom,spmi

[PATCH v2 2/4] dt-bindings: pinctrl: qcom,pmic-gpio: Add PMIV0104 support

2025-07-09 Thread Luca Weiss
Update the Qualcomm Technologies, Inc. PMIC GPIO binding documentation to include the compatible string for the PMIV0104 PMICs. Reviewed-by: Krzysztof Kozlowski Signed-off-by: Luca Weiss --- Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.yaml | 2 ++ 1 file changed, 2 insertions

[PATCH v2 0/4] Add support for PMIV0104 PMIC

2025-07-09 Thread Luca Weiss
The PMIV0104 PMIC is used in conjuction with the Milos SoC. Add binding docs, GPIO support and the devicetree description for it. Depends on the eUSB2 repeater patchset, as specified by the b4 deps. Signed-off-by: Luca Weiss --- Changes in v2: - Update commit messages to mention Milos instead

[PATCH v3 2/2] remoteproc: qcom: pas: Add Milos remoteproc support

2025-07-09 Thread Luca Weiss
Add the different remoteprocs found on the Milos SoC: ADSP, CDSP, MPSS and WPSS. Reviewed-by: Konrad Dybcio Signed-off-by: Luca Weiss --- drivers/remoteproc/qcom_q6v5_pas.c | 24 1 file changed, 24 insertions(+) diff --git a/drivers/remoteproc/qcom_q6v5_pas.c b

[PATCH v3 1/2] dt-bindings: remoteproc: qcom,milos-pas: Document remoteprocs

2025-07-09 Thread Luca Weiss
Document the bindings for the ADSP, CDSP, MPSS and WPSS PAS on the Milos (e.g. SM7635) SoC. Signed-off-by: Luca Weiss --- .../bindings/remoteproc/qcom,milos-pas.yaml| 201 + 1 file changed, 201 insertions(+) diff --git a/Documentation/devicetree/bindings/remoteproc

[PATCH v3 0/2] Add support for remoteprocs on Milos SoC

2025-07-09 Thread Luca Weiss
Add the bindings and driver for the ADSP, CDSP, MPSS and WPSS on the Milos SoC. Signed-off-by: Luca Weiss --- Changes in v3: - Rebrand SM7635 to Milos as requested: https://lore.kernel.org/linux-arm-msm/agmi1zv6d+k+v...@hu-bjorande-lv.qualcomm.com/ - Replace additions to two different bindings

Re: [PATCH 1/4] dt-bindings: phy: qcom,snps-eusb2-repeater: Document qcom,tune-res-fsdif

2025-07-09 Thread Luca Weiss
Hi Krzysztof, On Tue Jul 8, 2025 at 10:31 AM CEST, Luca Weiss wrote: > On Tue Jul 8, 2025 at 10:21 AM CEST, Krzysztof Kozlowski wrote: >> On Tue, Jul 08, 2025 at 10:13:24AM +0200, Krzysztof Kozlowski wrote: >>> On Wed, Jun 25, 2025 at 11:14:56AM +0200, Luca Weiss wrote: >

[PATCH v2 4/4] phy: qcom: phy-qcom-snps-eusb2: Add extra register write for Milos

2025-07-09 Thread Luca Weiss
As per the downstream devicetree for Milos, add a register write for QCOM_USB_PHY_CFG_CTRL_1 as per the "eUSB2 HPG version 1.0.2 update". Reviewed-by: Neil Armstrong Signed-off-by: Luca Weiss --- The downstream driver supports an arbitrary extra init sequence via qcom,param-ov

[PATCH v2 3/4] phy: qcom: phy-qcom-snps-eusb2: Add missing write from init sequence

2025-07-09 Thread Luca Weiss
l/qcom/-/commit/b4a89e3fda3246e09dd39e16e2ab43cd1329 Fixes: 80090810f5d3 ("phy: qcom: Add QCOM SNPS eUSB2 driver") Reviewed-by: Konrad Dybcio Reviewed-by: Neil Armstrong Signed-off-by: Luca Weiss --- drivers/phy/phy-snps-eusb2.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/phy/phy-snps-eusb2.c b/d

[PATCH v2 2/4] dt-bindings: phy: qcom,snps-eusb2: document the Milos Synopsys eUSB2 PHY

2025-07-09 Thread Luca Weiss
Document the Synopsys eUSB2 PHY on the Milos SoC by using the SM8550 as fallback. Signed-off-by: Luca Weiss --- Documentation/devicetree/bindings/phy/qcom,snps-eusb2-phy.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/phy/qcom,snps-eusb2-phy.yaml b

[PATCH v2 1/4] dt-bindings: usb: qcom,snps-dwc3: Add Milos compatible

2025-07-09 Thread Luca Weiss
Document the Milos dwc3 compatible. Signed-off-by: Luca Weiss --- Documentation/devicetree/bindings/usb/qcom,snps-dwc3.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/usb/qcom,snps-dwc3.yaml b/Documentation/devicetree/bindings/usb/qcom,snps-dwc3

[PATCH v2 0/4] Changes for the eUSB2 PHY on Milos

2025-07-09 Thread Luca Weiss
Document the eUSB2 PHY on Milos and add some driver changes for it. Signed-off-by: Luca Weiss --- Changes in v2: - Rebrand SM7635 to Milos as requested: https://lore.kernel.org/linux-arm-msm/agmi1zv6d+k+v...@hu-bjorande-lv.qualcomm.com/ - Clarify commit message for "Add missing write from

Re: [PATCH v2 2/2] interconnect: qcom: Add Milos interconnect provider driver

2025-07-08 Thread Luca Weiss
On Tue Jul 8, 2025 at 1:30 PM CEST, Konrad Dybcio wrote: > On 7/8/25 12:20 PM, Luca Weiss wrote: >> Add driver for the Qualcomm interconnect buses found in Milos based >> platforms. The topology consists of several NoCs that are controlled by >> a remote processor that co

Re: [PATCH 2/2] interconnect: qcom: Add SM7635 interconnect provider driver

2025-07-08 Thread Luca Weiss
Hi Konrad, On Fri Jun 27, 2025 at 2:48 PM CEST, Konrad Dybcio wrote: > On 6/25/25 11:13 AM, Luca Weiss wrote: >> Add driver for the Qualcomm interconnect buses found in SM7635 based >> platforms. The topology consists of several NoCs that are controlled by >> a remote proces

[PATCH v2 2/2] interconnect: qcom: Add Milos interconnect provider driver

2025-07-08 Thread Luca Weiss
Add driver for the Qualcomm interconnect buses found in Milos based platforms. The topology consists of several NoCs that are controlled by a remote processor that collects the aggregated bandwidth for each master-slave pairs. Signed-off-by: Luca Weiss --- drivers/interconnect/qcom/Kconfig

[PATCH v2 0/2] Add interconnect driver for Milos

2025-07-08 Thread Luca Weiss
Add documentation and driver for the interconnect on the Milos SoC. Signed-off-by: Luca Weiss --- Changes in v2: - Rebrand SM7635 to Milos as requested: https://lore.kernel.org/linux-arm-msm/agmi1zv6d+k+v...@hu-bjorande-lv.qualcomm.com/ - Fix double colon in dt-bindings - Specify b4 dependency

[PATCH v2 1/2] dt-bindings: interconnect: document the RPMh Network-On-Chip Interconnect in Qualcomm Milos SoC

2025-07-08 Thread Luca Weiss
Document the RPMh Network-On-Chip Interconnect of the Milos (e.g. SM7635) SoC. Signed-off-by: Luca Weiss --- .../bindings/interconnect/qcom,milos-rpmh.yaml | 136 include/dt-bindings/interconnect/qcom,milos-rpmh.h | 141 + 2 files changed, 277

Re: [PATCH 1/4] dt-bindings: phy: qcom,snps-eusb2-repeater: Document qcom,tune-res-fsdif

2025-07-08 Thread Luca Weiss
On Tue Jul 8, 2025 at 10:21 AM CEST, Krzysztof Kozlowski wrote: > On Tue, Jul 08, 2025 at 10:13:24AM +0200, Krzysztof Kozlowski wrote: >> On Wed, Jun 25, 2025 at 11:14:56AM +0200, Luca Weiss wrote: >> > Document the FS Differential TX Output Resistance Tuning value found on >&

Re: [PATCH v2 2/3] ASoC: codecs: Add Awinic AW8898 amplifier driver

2025-07-07 Thread Luca Weiss
Hi Mark, On 07-07-2025 2:02 p.m., Mark Brown wrote: On Sat, Jul 05, 2025 at 02:03:06PM +0200, Luca Weiss wrote: +static void aw8898_update_dev_mode(struct aw8898 *aw8898) +{ + unsigned int mode = AW8898_SYSCTRL_SPK_MODE; + + if (aw8898->dev_mode == AW8898_RECEI

Re: [PATCH v2 2/2] pmdomain: qcom: rpmhpd: Add Milos power domains

2025-07-07 Thread Luca Weiss
Hi Casey, On Mon Jul 7, 2025 at 3:23 PM CEST, Casey Connolly wrote: > > > On 7/7/25 12:18, Luca Weiss wrote: >> Add the power domains exposed by RPMH in the Qualcomm Milos platform. > > \o/ codenames! > >> >> Signed-off-by: Luca Weiss >> --

[PATCH v2 2/2] pmdomain: qcom: rpmhpd: Add Milos power domains

2025-07-07 Thread Luca Weiss
Add the power domains exposed by RPMH in the Qualcomm Milos platform. Signed-off-by: Luca Weiss --- drivers/pmdomain/qcom/rpmhpd.c | 19 +++ 1 file changed, 19 insertions(+) diff --git a/drivers/pmdomain/qcom/rpmhpd.c b/drivers/pmdomain/qcom/rpmhpd.c index

[PATCH v2 1/2] dt-bindings: power: qcom,rpmpd: document the Milos RPMh Power Domains

2025-07-07 Thread Luca Weiss
Document the RPMh Power Domains on the Milos (e.g. SM7635) Platform. Signed-off-by: Luca Weiss --- Documentation/devicetree/bindings/power/qcom,rpmpd.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/power/qcom,rpmpd.yaml b/Documentation/devicetree

[PATCH v2 0/2] Add Milos RPMHPD power domains

2025-07-07 Thread Luca Weiss
Add support for the rpmhpd power domains in the Milos SoC. Signed-off-by: Luca Weiss --- Changes in v2: - Rebrand SM7635 to Milos as requested: https://lore.kernel.org/linux-arm-msm/agmi1zv6d+k+v...@hu-bjorande-lv.qualcomm.com/ - Link to v1: https://lore.kernel.org/r/20250625-sm7635-rpmhpd-v1

[PATCH v2 3/4] dt-bindings: clock: qcom: document the Milos TCSR Clock Controller

2025-07-07 Thread Luca Weiss
Add bindings documentation for the Milos (e.g. SM7635) TCSR Clock Controller. Signed-off-by: Luca Weiss --- Documentation/devicetree/bindings/clock/qcom,sm8550-tcsr.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/clock/qcom,sm8550-tcsr.yaml b

[PATCH v2 4/4] clk: qcom: tcsrcc-sm8650: Add support for Milos SoC

2025-07-07 Thread Luca Weiss
The Milos SoC has a very similar tcsrcc block, only TCSR_UFS_CLKREF_EN uses different regs, and both TCSR_USB2_CLKREF_EN and TCSR_USB3_CLKREF_EN are not present. Modify these resources at probe if we're probing for Milos. Reviewed-by: Konrad Dybcio Signed-off-by: Luca Weiss --- driver

[PATCH v2 1/4] dt-bindings: clock: qcom: Document the Milos RPMH Clock Controller

2025-07-07 Thread Luca Weiss
Add bindings documentation for the Milos (e.g. SM7635) RPMH Clock Controller. Signed-off-by: Luca Weiss --- Documentation/devicetree/bindings/clock/qcom,rpmhcc.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/clock/qcom,rpmhcc.yaml b/Documentation

[PATCH v2 2/4] clk: qcom: rpmh: Add support for RPMH clocks on Milos

2025-07-07 Thread Luca Weiss
Add support for RPMH clocks on Milos SoCs. Reviewed-by: Konrad Dybcio Signed-off-by: Luca Weiss --- drivers/clk/qcom/clk-rpmh.c | 26 ++ 1 file changed, 26 insertions(+) diff --git a/drivers/clk/qcom/clk-rpmh.c b/drivers/clk/qcom/clk-rpmh.c index

[PATCH v2 0/4] Add RPMh and TCSR clock support for Milos (SM7635)

2025-07-07 Thread Luca Weiss
Add support in the RPMh and TCSR clock drivers for the Milos SoC. Signed-off-by: Luca Weiss --- Changes in v2: - Rebrand SM7635 to Milos as requested: https://lore.kernel.org/linux-arm-msm/agmi1zv6d+k+v...@hu-bjorande-lv.qualcomm.com/ - Pick up tags from Konrad - Link to v1: https

Re: [PATCH v4] remoteproc: qcom_q6v5_mss: support loading MBN file on msm8974

2025-07-06 Thread Luca Weiss
-fp2! Tested-by: Luca Weiss # msm8974pro-fairphone-fp2 [ 175.530764] remoteproc remoteproc1: powering up fc88.remoteproc [ 175.544439] remoteproc remoteproc1: Booting fw image mba.mbn, size 299792 [ 177.707706] qcom-q6v5-mss fc88.remoteproc: MBA booted without debug policy, loading mpss

Re: [PATCH 2/4] remoteproc: qcom_q6v5_pas: Use resource with CX PD for MSM8974

2025-07-06 Thread Luca Weiss
On 06-07-2025 3:17 p.m., Dmitry Baryshkov wrote: On Sun, Jul 06, 2025 at 02:32:26PM +0200, Luca Weiss wrote: On 06-07-2025 12:08 p.m., Dmitry Baryshkov wrote: On Sun, Jul 06, 2025 at 10:31:38AM +0200, Luca Weiss wrote: On 05-07-2025 10:57 p.m., Dmitry Baryshkov wrote: On Sat, Jun 21, 2025 at

Re: [PATCH 2/4] remoteproc: qcom_q6v5_pas: Use resource with CX PD for MSM8974

2025-07-06 Thread Luca Weiss
On 06-07-2025 12:08 p.m., Dmitry Baryshkov wrote: On Sun, Jul 06, 2025 at 10:31:38AM +0200, Luca Weiss wrote: On 05-07-2025 10:57 p.m., Dmitry Baryshkov wrote: On Sat, Jun 21, 2025 at 03:19:57PM +0200, Luca Weiss wrote: MSM8974 requires the CX power domain, so use the msm8996_adsp_resource

Re: [PATCH 2/4] remoteproc: qcom_q6v5_pas: Use resource with CX PD for MSM8974

2025-07-06 Thread Luca Weiss
On 05-07-2025 10:57 p.m., Dmitry Baryshkov wrote: On Sat, Jun 21, 2025 at 03:19:57PM +0200, Luca Weiss wrote: MSM8974 requires the CX power domain, so use the msm8996_adsp_resource which has cx under proxy_pd_names and is otherwise equivalent. Signed-off-by: Luca Weiss --- drivers

Re: [PATCH 0/4] Start using rpmpd for power domains on MSM8974

2025-07-05 Thread Luca Weiss
Hi Dmitry, On 24-06-2025 11:03 p.m., Dmitry Baryshkov wrote: On 24/06/2025 21:46, Luca Weiss wrote: Hi Dmitry, On 24-06-2025 2:59 a.m., Dmitry Baryshkov wrote: On Sat, Jun 21, 2025 at 03:19:55PM +0200, Luca Weiss wrote: Switch over the ADSP PIL to use power-domains instead of a regulator

  1   2   3   4   5   6   7   8   9   10   >