[PATCH 0/2] More thermal configuration for Fairphone 4

2024-01-05 Thread Luca Weiss
Add the thermal configuration for the thermistors connected to PMK8003 and PM6150L. With that all the external thermistors on the phone should be present in the dts. Signed-off-by: Luca Weiss --- Luca Weiss (2): arm64: dts: qcom: sm7225-fairphone-fp4: Add PMK8003 thermals arm64: dts

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

2024-01-02 Thread Luca Weiss
On Tue Jan 2, 2024 at 2:36 PM CET, Greg Kroah-Hartman wrote: > On Thu, Dec 21, 2023 at 02:45:26PM +0100, Luca Weiss wrote: > > On Thu Dec 21, 2023 at 1:53 PM CET, Konrad Dybcio wrote: > > > On 21.12.2023 11:34, Dmitry Baryshkov wrote: > > > > On Thu, 21

[PATCH 3/3] arm64: dts: qcom: qcs404: Use specific compatible for hfpll

2023-12-31 Thread Luca Weiss
Follow the updated bindings and use a QCS404-specific compatible for the HFPLL. Signed-off-by: Luca Weiss --- arch/arm64/boot/dts/qcom/qcs404.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/qcs404.dtsi b/arch/arm64/boot/dts/qcom/qcs404.dtsi

[PATCH 2/3] clk: qcom: hfpll: Add QCS404-specific compatible

2023-12-31 Thread Luca Weiss
It doesn't appear that the configuration is for the HFPLL is generic, so add a qcs404-specific compatible and rename the existing struct to qcs404. Signed-off-by: Luca Weiss --- drivers/clk/qcom/hfpll.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/clk/qcom

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

2023-12-31 Thread Luca Weiss
compatible but without an SoC-specific string. Signed-off-by: Luca Weiss --- .../devicetree/bindings/clock/qcom,hfpll.txt | 63 - .../devicetree/bindings/clock/qcom,hfpll.yaml | 82 ++ 2 files changed, 82 insertions(+), 63 deletions(-) diff --git

[PATCH 0/3] Convert qcom,hfpll documentation to yaml + related changes

2023-12-31 Thread Luca Weiss
Finally touch the hfpll doc and convert it to yaml, and do some related changes along the way. Signed-off-by: Luca Weiss --- Luca Weiss (3): dt-bindings: clock: qcom,hfpll: Convert to YAML clk: qcom: hfpll: Add QCS404-specific compatible arm64: dts: qcom: qcs404: Use specific

[PATCH] arm64: dts: qcom: qcm6490-fairphone-fp5: Add missing reserved-memory

2023-12-29 Thread Luca Weiss
Add device-tree for Fairphone 5") Signed-off-by: Luca Weiss --- arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts b/arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts index 176898

[PATCH] arm64: dts: qcom: sc7280: Add static properties to cryptobam

2023-12-29 Thread Luca Weiss
ters during probe, the rest of the time when the BAM is used by QCE then the interconnect will be active already. Fixes: d488f903a860 ("arm64: dts: qcom: sc7280: add QCrypto nodes") Signed-off-by: Luca Weiss --- See also: https://lore.kernel.org/linux-arm-msm/cy01ekqvwe36.b9x5tdxar...

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

2023-12-21 Thread Luca Weiss
On Thu Dec 21, 2023 at 1:53 PM CET, Konrad Dybcio wrote: > On 21.12.2023 11:34, Dmitry Baryshkov wrote: > > 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 W

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

2023-12-20 Thread Luca Weiss
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. > > > > One thing that could be

[PATCH 3/3] arm64: dts: qcom: qcm6490-fairphone-fp5: Add PMIC GLINK

2023-12-20 Thread Luca Weiss
Via the PMIC GLINK driver we can get info about fuel gauge, charger and USB connector events. Add the node to the dts and configure USB so that role switching works. Signed-off-by: Luca Weiss --- arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts | 46 +- arch/arm64/boot/dts

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

2023-12-20 Thread Luca Weiss
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(+) diff --git a/drivers/usb/typec/ucsi/ucsi_glink.c b/drivers/usb/typec/ucsi/ucsi_glink.c index

[PATCH 1/3] dt-bindings: soc: qcom: qcom,pmic-glink: document QCM6490 compatible

2023-12-20 Thread Luca Weiss
Document the QCM6490 compatible used to describe the pmic glink on this platform. Signed-off-by: Luca Weiss --- Documentation/devicetree/bindings/soc/qcom/qcom,pmic-glink.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/soc/qcom/qcom,pmic-glink.yaml b

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

2023-12-20 Thread Luca Weiss
variety on sc7280-based platforms and they might require different quirks in the future, so limit this PDOS quirk to just qcm6490 for now. If someone thinks it should be qcom,sc7280-pmic-glink, please let me know :) Signed-off-by: Luca Weiss --- Luca Weiss (3): dt-bindings: soc: qcom: qcom

[PATCH 1/3] ARM: dts: qcom: msm8974-klte: Remove unused property

2023-12-17 Thread Luca Weiss
Fixes tag] Signed-off-by: Luca Weiss --- arch/arm/boot/dts/qcom/qcom-msm8974pro-samsung-klte.dts | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/boot/dts/qcom/qcom-msm8974pro-samsung-klte.dts b/arch/arm/boot/dts/qcom/qcom-msm8974pro-samsung-klte.dts index ca3aa16b4b10..b93539e2b87e 100644

[PATCH 3/3] ARM: dts: qcom: msm8974*: Re-enable remoteprocs on various boards

2023-12-17 Thread Luca Weiss
: 6d933c0ec171 ("ARM: dts: qcom: msm8974-*: re-add remoteproc supplies") Signed-off-by: Luca Weiss --- arch/arm/boot/dts/qcom/qcom-msm8974-lge-nexus5-hammerhead.dts | 2 ++ arch/arm/boot/dts/qcom/qcom-msm8974-sony-xperia-rhine.dtsi| 2 ++ arch/arm/boot/dts/qcom/qcom-

[PATCH 2/3] ARM: dts: qcom: msm8974: Remove bogus cd-gpio pinctrl

2023-12-17 Thread Luca Weiss
No board in mainline uses GPIO 54 for card-detect on sdhc_2, and this also causes conflict when both sdhc_2 and blsp2_uart4 are used, such as on qcom-msm8974-lge-nexus5-hammerhead. Fixes: 1dfe967ec7cf ("ARM: dts: qcom-msm8974*: Consolidate I2C/UART/SDHCI") Signed-off-by: Luca Weiss ---

[PATCH 0/3] Several smaller msm8974 fixes

2023-12-17 Thread Luca Weiss
Send some smaller fixes that have been sitting around in my tree for some time. Signed-off-by: Luca Weiss --- Alexey Minnekhanov (1): ARM: dts: qcom: msm8974-klte: Remove unused property Luca Weiss (2): ARM: dts: qcom: msm8974: Remove bogus cd-gpio pinctrl ARM: dts: qcom

[PATCH] dt-bindings: arm: qcom: Fix up htc-memul compatible

2023-12-11 Thread Luca Weiss
While applying the original patch, some things got messed up and it didn't apply to the correct section. Move the compatible to the correct location to fix that. Fixes: bfccc195192e ("dt-bindings: arm: qcom: Add HTC One Mini 2") Signed-off-by: Luca Weiss --- Documentation/devicetre

Re: [PATCH v3 1/3] media: venus: core: Set up secure memory ranges for SC7280

2023-12-11 Thread Luca Weiss
On Fri Dec 1, 2023 at 10:33 AM CET, Luca Weiss wrote: > Not all SC7280 devices ship with ChromeOS firmware. Other devices need > PAS for image authentication. That requires the predefined virtual > address ranges to be passed via scm calls. Define them to enable Venus > on non-CrOS SC

[PATCH v3 11/11] arm64: dts: qcom: qcm6490-fairphone-fp5: Enable WiFi

2023-12-08 Thread Luca Weiss
Now that the WPSS remoteproc is enabled, enable wifi so we can use it. Reviewed-by: Konrad Dybcio Signed-off-by: Luca Weiss --- Depends on (just to resolve merge conflicts, could also rebase without that): https://lore.kernel.org/linux-arm-msm/20231201-sc7280-venus-pas-v3-3-bc132dc5f

[PATCH v3 10/11] arm64: dts: qcom: qcm6490-fairphone-fp5: Enable various remoteprocs

2023-12-08 Thread Luca Weiss
Enable the ADSP, CDSP, MPSS and WPSS that are found on the SoC. Reviewed-by: Konrad Dybcio Signed-off-by: Luca Weiss --- arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts | 20 1 file changed, 20 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5

[PATCH v3 08/11] arm64: dts: qcom: sc7280: Add ADSP node

2023-12-08 Thread Luca Weiss
Add the node for the ADSP found on the SC7280 SoC, using standard Qualcomm firmware. Acked-by: Konrad Dybcio Signed-off-by: Luca Weiss --- arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts | 5 -- arch/arm64/boot/dts/qcom/sc7280-chrome-common.dtsi | 5 -- arch/arm64/boot/dts/qcom/sc7280

[PATCH v3 09/11] arm64: dts: qcom: sc7280: Add CDSP node

2023-12-08 Thread Luca Weiss
Add the node for the ADSP found on the SC7280 SoC, using standard Qualcomm firmware. Remove the reserved-memory node from sc7280-chrome-common since CDSP is currently not used there. Acked-by: Konrad Dybcio Signed-off-by: Luca Weiss --- arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts | 5

[PATCH v3 07/11] arm64: dts: qcom: sc7280: Use WPSS PAS instead of PIL

2023-12-08 Thread Luca Weiss
The wpss-pil driver wants to manage too many resources that cannot be touched with standard Qualcomm firmware. Use the compatible from the PAS driver and move the ChromeOS-specific bits to sc7280-chrome-common.dtsi. Signed-off-by: Luca Weiss --- arch/arm64/boot/dts/qcom/sc7280-chrome

[PATCH v3 03/11] arm64: dts: qcom: sc7280: Rename reserved-memory nodes

2023-12-08 Thread Luca Weiss
It was clarified a while ago that reserved-memory nodes shouldn't be called memory@ but should have a descriptive name. Update sc7280.dtsi to follow that. Reviewed-by: Konrad Dybcio Signed-off-by: Luca Weiss --- arch/arm64/boot/dts/qcom/sc7280.dtsi | 26 +- 1 file

[PATCH v3 06/11] remoteproc: qcom_q6v5_pas: Add SC7280 ADSP, CDSP & WPSS

2023-12-08 Thread Luca Weiss
rad Dybcio Signed-off-by: Luca Weiss --- drivers/remoteproc/qcom_q6v5_pas.c | 19 +++ 1 file changed, 19 insertions(+) diff --git a/drivers/remoteproc/qcom_q6v5_pas.c b/drivers/remoteproc/qcom_q6v5_pas.c index 913a5d2068e8..a9dd58608052 100644 --- a/drivers/remoteproc/qcom_

[PATCH v3 05/11] dt-bindings: remoteproc: qcom: sc7180-pas: Add SC7280 compatibles

2023-12-08 Thread Luca Weiss
Add the compatibles and constraints for the ADSP, CDSP and WPSS found on the SC7280 SoC. Reviewed-by: Krzysztof Kozlowski Signed-off-by: Luca Weiss --- .../bindings/remoteproc/qcom,sc7180-pas.yaml| 21 + 1 file changed, 21 insertions(+) diff --git a/Documentation

[PATCH v3 04/11] arm64: dts: qcom: sc7280*: move MPSS and WPSS memory to dtsi

2023-12-08 Thread Luca Weiss
It appears that all SC7280-based devices so far have mpss_mem and wpss_mem on the same reg with the same size. Also these memory regions are referenced already in sc7280.dtsi so that's where they should also be defined. Signed-off-by: Luca Weiss --- arch/arm64/boot/dts/qcom/qcm6490-fairphone

[PATCH v3 02/11] arm64: dts: qcom: sc7280: Remove unused second MPSS reg

2023-12-08 Thread Luca Weiss
The bindings for sc7280-mpss-pas neither expects a second reg nor a reg-names property, which is only required by the sc7280-mss-pil bindings. Move it to sc7280-herobrine-lte-sku.dtsi, the only place where that other compatible is used. Reviewed-by: Krzysztof Kozlowski Signed-off-by: Luca Weiss

[PATCH v3 01/11] dt-bindings: remoteproc: qcom: sc7180-pas: Fix SC7280 MPSS PD-names

2023-12-08 Thread Luca Weiss
Kozlowski Signed-off-by: Luca Weiss --- Documentation/devicetree/bindings/remoteproc/qcom,sc7180-pas.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,sc7180-pas.yaml b/Documentation/devicetree/bindings/remoteproc/qcom,sc718

[PATCH v3 00/11] Remoteprocs (ADSP, CDSP, WPSS) for SC7280

2023-12-08 Thread Luca Weiss
t simpler, and I couldn't test much of that yet. Signed-off-by: Luca Weiss --- Changes in v3: - Rebase on qcom for-next and resolve conflicts - Pick up tags - Link to v2: https://lore.kernel.org/r/20231113-sc7280-remoteprocs-v2-0-e5c5fd526...@fairphone.com Changes in v2: - Add patch renaming

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

2023-12-05 Thread Luca Weiss
From: Nitin Rawat Add UFS host controller and PHY nodes for sc7280 soc. Signed-off-by: Nitin Rawat Reviewed-by: Konrad Dybcio Tested-by: Konrad Dybcio # QCM6490 FP5 [luca: various cleanups and additions as written in the cover letter] Signed-off-by: Luca Weiss --- arch/arm64/boot/dts/qcom

[PATCH v6 1/3] scsi: ufs: qcom: dt-bindings: Add SC7280 compatible string

2023-12-05 Thread Luca Weiss
From: Nitin Rawat Document the compatible string for the UFS found on SC7280. Signed-off-by: Nitin Rawat Reviewed-by: Krzysztof Kozlowski Reviewed-by: Bao D. Nguyen Acked-by: Manivannan Sadhasivam Signed-off-by: Luca Weiss --- Documentation/devicetree/bindings/ufs/qcom,ufs.yaml | 2 ++ 1

[PATCH v6 3/3] arm64: dts: qcom: sc7280: Add UFS nodes for sc7280 IDP board

2023-12-05 Thread Luca Weiss
From: Nitin Rawat Add UFS host controller and PHY nodes for sc7280 IDP board. Signed-off-by: Nitin Rawat Acked-by: Manivannan Sadhasivam Signed-off-by: Luca Weiss --- arch/arm64/boot/dts/qcom/sc7280-idp.dtsi | 19 +++ 1 file changed, 19 insertions(+) diff --git a/arch/arm64

[PATCH v6 0/3] Add UFS host controller and Phy nodes for sc7280

2023-12-05 Thread Luca Weiss
Best regards, -- Luca Weiss

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

2023-12-04 Thread Luca Weiss
On Mon Dec 4, 2023 at 6:28 PM CET, 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: > > > >

Re: [PATCH] ARM: dts: qcom: apq8026-samsung-matissewifi: Configure touch keys

2023-12-04 Thread Luca Weiss
ACK>; Might be prettier like this since it's 6 items you're adding, not one long property? linux,keycodes = , , , , , ; Resulting dtb should

Re: [PATCH 2/2] ARM: dts: qcom: msm8226: Add CPU and SAW/ACC nodes

2023-12-04 Thread Luca Weiss
On Montag, 4. Dezember 2023 11:41:36 CET Konrad Dybcio wrote: > On 3.12.2023 23:38, Luca Weiss wrote: > > From: Ivaylo Ivanov > > > > Add CPU and SAW/ACC nodes to enable SMP on MSM8226. > > > > Signed-off-by: Ivaylo Ivanov > > [luca: update some nodes to

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

2023-12-04 Thread Luca Weiss
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 and PHY nodes for sc7280 soc. > > > > Signed-off-by: Nitin Rawat > > Reviewed-by: Konrad Dybcio

Re: [PATCH v2] arm64: dts: qcom: qcm6490-fairphone-fp5: Enable UFS

2023-12-04 Thread Luca Weiss
On Sun Dec 3, 2023 at 5:41 AM CET, Bjorn Andersson wrote: > On Mon, Oct 02, 2023 at 02:30:41PM +0200, Luca Weiss wrote: > > Enable the UFS phy and controller so that we can access the internal > > storage of the phone. > > > > At the same time we need to bump the minim

[PATCH v5 3/3] arm64: dts: qcom: sc7280: Add UFS nodes for sc7280 IDP board

2023-12-04 Thread Luca Weiss
From: Nitin Rawat Add UFS host controller and PHY nodes for sc7280 IDP board. Signed-off-by: Nitin Rawat Acked-by: Manivannan Sadhasivam Signed-off-by: Luca Weiss --- arch/arm64/boot/dts/qcom/sc7280-idp.dtsi | 19 +++ 1 file changed, 19 insertions(+) diff --git a/arch/arm64

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

2023-12-04 Thread Luca Weiss
From: Nitin Rawat Add UFS host controller and PHY nodes for sc7280 soc. Signed-off-by: Nitin Rawat Reviewed-by: Konrad Dybcio Tested-by: Konrad Dybcio # QCM6490 FP5 [luca: various cleanups and additions as written in the cover letter] Signed-off-by: Luca Weiss --- arch/arm64/boot/dts/qcom

[PATCH v5 1/3] scsi: ufs: qcom: dt-bindings: Add SC7280 compatible string

2023-12-04 Thread Luca Weiss
From: Nitin Rawat Document the compatible string for the UFS found on SC7280. Signed-off-by: Nitin Rawat Reviewed-by: Krzysztof Kozlowski Reviewed-by: Bao D. Nguyen Acked-by: Manivannan Sadhasivam Signed-off-by: Luca Weiss --- Documentation/devicetree/bindings/ufs/qcom,ufs.yaml | 2 ++ 1

[PATCH v5 0/3] Add UFS host controller and Phy nodes for sc7280

2023-12-04 Thread Luca Weiss
(-) --- base-commit: ce733604ab13d907655fd76ef5be55d16bbd0f8c change-id: 20231204-sc7280-ufs-b1e746ea60ed Best regards, -- Luca Weiss

[PATCH 1/2] ARM: dts: qcom: msm8226: Sort and clean up nodes

2023-12-03 Thread Luca Weiss
to commit message] Signed-off-by: Luca Weiss --- arch/arm/boot/dts/qcom/qcom-msm8226.dtsi | 660 +++ 1 file changed, 330 insertions(+), 330 deletions(-) diff --git a/arch/arm/boot/dts/qcom/qcom-msm8226.dtsi b/arch/arm/boot/dts/qcom/qcom-msm8226.dtsi index 97a377b5a0ec

[PATCH 0/2] Bring up more CPU cores on MSM8226

2023-12-03 Thread Luca Weiss
Add some nodes to bring up SMP on msm8226 SoC. Another commit to fix the sorting of the nodes is also included since the ordering is currently a bit all over the place. Signed-off-by: Luca Weiss --- Ivaylo Ivanov (1): ARM: dts: qcom: msm8226: Add CPU and SAW/ACC nodes Matti Lehtimäki (1

[PATCH 2/2] ARM: dts: qcom: msm8226: Add CPU and SAW/ACC nodes

2023-12-03 Thread Luca Weiss
From: Ivaylo Ivanov Add CPU and SAW/ACC nodes to enable SMP on MSM8226. Signed-off-by: Ivaylo Ivanov [luca: update some nodes to fix dtbs_check errors, reorder, cleanup] Signed-off-by: Luca Weiss --- arch/arm/boot/dts/qcom/qcom-msm8226.dtsi | 91 1 file

[PATCH] ARM: dts: qcom: Disable pm8941 & pm8226 smbb charger by default

2023-12-03 Thread Luca Weiss
From: Bryant Mairs Some platforms don't use the built-in charging hardware (e.g. milletwifi). As this is an optional peripheral, default it to off. Keep it enabled for all other boards that use smbb. Signed-off-by: Bryant Mairs Signed-off-by: Luca Weiss --- arch/arm/boot/dts/qcom/pm8226

Re: [PATCH v2 1/2] arm64: dts: qcom: msm8953: Set initial address for memory

2023-12-03 Thread Luca Weiss
On Sonntag, 3. Dezember 2023 05:20:23 CET Bjorn Andersson wrote: > On Sat, Nov 25, 2023 at 01:19:27PM +0100, Luca Weiss wrote: > > The dtbs_check really doesn't like having memory without reg set. > > > > The base address depends on the amount of RAM you have: > >

Re: (subset) [PATCH 0/3] Add watchdog nodes to msm8226 & msm8974

2023-12-03 Thread Luca Weiss
On Sonntag, 3. Dezember 2023 05:54:39 CET Bjorn Andersson wrote: > On Wed, 11 Oct 2023 18:33:12 +0200, Luca Weiss wrote: > > Document the compatible for the watchdog found on both SoCs, and add > > them to the SoC dtsi file. And especially for the case where the > > bootloade

[PATCH v3 3/3] arm64: dts: qcom: qcm6490-fairphone-fp5: Enable venus node

2023-12-01 Thread Luca Weiss
Enable the venus node so that the video encoder/decoder will start working. Reviewed-by: Konrad Dybcio Reviewed-by: Bryan O'Donoghue Reviewed-by: Vikash Garodia Signed-off-by: Luca Weiss --- arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts | 5 + 1 file changed, 5 insertions(+) diff

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

2023-12-01 Thread Luca Weiss
for iommu since (on some boards) we cannot touch that. At the same time also disable the venus node by default in the dtsi, like it's done on other SoCs. Reviewed-by: Bryan O'Donoghue Signed-off-by: Luca Weiss --- arch/arm64/boot/dts/qcom/sc7280-chrome-common.dtsi | 11 +++ arch/arm64/boot/dts

[PATCH v3 1/3] media: venus: core: Set up secure memory ranges for SC7280

2023-12-01 Thread Luca Weiss
Reviewed-by: Vikash Garodia Signed-off-by: Luca Weiss --- drivers/media/platform/qcom/venus/core.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/media/platform/qcom/venus/core.c b/drivers/media/platform/qcom/venus/core.c index 9cffe975581b..a712dd4f02a5 100644 --- a/drivers

[PATCH v3 0/3] Enable venus on Fairphone 5 / non-ChromeOS sc7280 venus support

2023-12-01 Thread Luca Weiss
Devices with Qualcomm firmware (compared to ChromeOS firmware) need some changes in the venus driver and dts layout so that venus can initialize. Do these changes, similar to sc7180. Signed-off-by: Luca Weiss --- Changes in v3: - Move 0x2184 iommu from sc7280.dtsi to sc7280-chrome-common.dtsi

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

2023-12-01 Thread Luca Weiss
On Tue Nov 28, 2023 at 9:14 AM CET, Vikash Garodia wrote: > > On 11/24/2023 9:26 PM, Luca Weiss wrote: > > On Fri Nov 24, 2023 at 2:35 PM CET, Vikash Garodia wrote: > >> > >> > >> On 11/24/2023 6:23 PM, Dmitry Baryshkov wrote: > >>> On Fri,

Re: [PATCH 1/4] dt-bindings: remoteproc: qcom: wcnss: Add WCN3680B compatible

2023-11-27 Thread Luca Weiss
On Montag, 27. November 2023 21:07:28 CET Stephan Gerhold wrote: > On Sat, Nov 25, 2023 at 01:25:22PM +0100, Luca Weiss wrote: > > On Montag, 16. Oktober 2023 16:44:28 CET Stephan Gerhold wrote: > > > On Mon, Oct 16, 2023 at 03:16:14PM +0200, Loic Poulain wrote: > > >

Re: [PATCH 1/4] dt-bindings: remoteproc: qcom: wcnss: Add WCN3680B compatible

2023-11-25 Thread Luca Weiss
On Montag, 16. Oktober 2023 16:44:28 CET Stephan Gerhold wrote: > On Mon, Oct 16, 2023 at 03:16:14PM +0200, Loic Poulain wrote: > > On Mon, 16 Oct 2023 at 07:35, Krzysztof Kozlowski > > > > wrote: > > > On 15/10/2023 22:03, Luca Weiss wrote: > > >

[PATCH v2 1/2] arm64: dts: qcom: msm8953: Set initial address for memory

2023-11-25 Thread Luca Weiss
one of the values, 0x1000 which is used on devices with 3.75 GiB RAM. Since the bootloader will update it to what's present on the device it doesn't matter too much. Signed-off-by: Luca Weiss --- arch/arm64/boot/dts/qcom/msm8953.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) d

[PATCH v2 2/2] arm64: dts: qcom: msm8953: Use non-deprecated qcom,domain in LPASS

2023-11-25 Thread Luca Weiss
Use the qcom,domain property instead of the deprecated qcom,apr-domain, which in turn also fixes a bunch of dtbs_checks warnings. Reviewed-by: Krzysztof Kozlowski Signed-off-by: Luca Weiss --- arch/arm64/boot/dts/qcom/msm8953.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[PATCH v2 0/2] Small dtsi fixes for msm8953 SoC

2023-11-25 Thread Luca Weiss
Fix some small things in the qcom/msm8953.dtsi file to make dtbs_check happier than before. Signed-off-by: Luca Weiss --- Changes in v2: - Expand on RAM address commit message (Stephan) - Pick up tags - Link to v1: https://lore.kernel.org/r/20231015-msm8953-misc-fixes-v1-0-b800deca9

Re: [PATCH] iommu/qcom: restore IOMMU state if needed

2023-11-25 Thread Luca Weiss
On Mittwoch, 11. Oktober 2023 19:57:26 CET Luca Weiss wrote: > From: Vladimir Lypak > > If the IOMMU has a power domain then some state will be lost in > qcom_iommu_suspend and TZ will reset device if we don't call > qcom_scm_restore_sec_cfg before accessing it again.

[PATCH v3 1/3] dt-bindings: vendor-prefixes: document HTC Corporation

2023-11-25 Thread Luca Weiss
Add the vendor prefix for HTC (https://www.htc.com/). Acked-by: Krzysztof Kozlowski Signed-off-by: Luca Weiss --- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Documentation

[PATCH v3 2/3] dt-bindings: arm: qcom: Add HTC One Mini 2

2023-11-25 Thread Luca Weiss
Document the compatible for the MSM8926-based HTC One Mini 2 smartphone. Acked-by: Krzysztof Kozlowski Signed-off-by: Luca Weiss --- Documentation/devicetree/bindings/arm/qcom.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/arm/qcom.yaml b

[PATCH v3 3/3] ARM: dts: qcom: Add support for HTC One Mini 2

2023-11-25 Thread Luca Weiss
Add support for this smartphone based on the MSM8926 SoC, codenamed "memul". Supported functionality: * Power & volume buttons * ADSP * Magnetometer * Accelerometer * Touchscreen * Vibrator * SD card * Charger * USB Reviewed-by: Konrad Dybcio Signed-off-by: Luca Weiss --- arc

[PATCH v3 0/3] Add support for HTC One Mini 2 smartphone

2023-11-25 Thread Luca Weiss
3ntu.xyz/T/ Signed-off-by: Luca Weiss --- Changes in v3: - Add regulator-allow-set-load for sdhc_2 vqmmc-supply (Konrad) - Pick up tags - Link to v2: https://lore.kernel.org/r/20231024-htc-memul-v2-0-8912940b6...@z3ntu.xyz Changes in v2: - Pick up tags - Add spaces around regulator nodes - Set fir

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

2023-11-24 Thread Luca Weiss
On Fri Nov 24, 2023 at 2:35 PM CET, Vikash Garodia wrote: > > > On 11/24/2023 6:23 PM, Dmitry Baryshkov wrote: > > On Fri, 24 Nov 2023 at 14:30, Vikash Garodia > > wrote: > >> > >> On 11/24/2023 5:05 PM, Luca Weiss wrote: > >>> On Fr

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

2023-11-24 Thread Luca Weiss
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/2023 7:50 PM, Luca Weiss wrote: > >>> If the video-firmware node

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

2023-11-22 Thread Luca Weiss
On Wed Nov 22, 2023 at 2:17 PM CET, Vikash Garodia wrote: > > On 10/2/2023 7:50 PM, Luca Weiss wrote: > > If the video-firmware node is present, the venus driver assumes we're on > > a system that doesn't use TZ for starting venus, like on ChromeOS > > devices. > >

Re: [PATCH] wifi: ath11k: Defer on rproc_get failure

2023-11-13 Thread Luca Weiss
On Mon Nov 13, 2023 at 4:37 PM CET, Kalle Valo wrote: > "Luca Weiss" writes: > > > On Fri Oct 27, 2023 at 10:25 AM CEST, Kalle Valo wrote: > > > >> Luca Weiss writes: > >> > >> > If we already have gotten the rproc_handle (meaning the

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

2023-11-13 Thread Luca Weiss
On Mon Nov 13, 2023 at 1:22 PM CET, Kalle Valo wrote: > (adding ath11k list) > > Dmitry Baryshkov writes: > > > [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, Konra

[PATCH v2 11/11] arm64: dts: qcom: qcm6490-fairphone-fp5: Enable WiFi

2023-11-13 Thread Luca Weiss
Now that the WPSS remoteproc is enabled, enable wifi so we can use it. Signed-off-by: Luca Weiss --- Depends on (just to resolve merge conflicts, could also rebase without that): https://lore.kernel.org/linux-arm-msm/20231002-sc7280-venus-pas-v2-3-bd2408891...@fairphone.com/ --- arch/arm64/boot

[PATCH v2 08/11] arm64: dts: qcom: sc7280: Add ADSP node

2023-11-13 Thread Luca Weiss
Add the node for the ADSP found on the SC7280 SoC, using standard Qualcomm firmware. Signed-off-by: Luca Weiss --- arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts | 5 -- arch/arm64/boot/dts/qcom/sc7280-chrome-common.dtsi | 5 -- arch/arm64/boot/dts/qcom/sc7280.dtsi | 74

[PATCH v2 09/11] arm64: dts: qcom: sc7280: Add CDSP node

2023-11-13 Thread Luca Weiss
Add the node for the ADSP found on the SC7280 SoC, using standard Qualcomm firmware. Remove the reserved-memory node from sc7280-chrome-common since CDSP is currently not used there. Signed-off-by: Luca Weiss --- arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts | 5 - arch/arm64/boot/dts

[PATCH v2 10/11] arm64: dts: qcom: qcm6490-fairphone-fp5: Enable various remoteprocs

2023-11-13 Thread Luca Weiss
Enable the ADSP, CDSP, MPSS and WPSS that are found on the SoC. Signed-off-by: Luca Weiss --- arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts | 20 1 file changed, 20 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts b/arch/arm64/boot/dts

[PATCH v2 07/11] arm64: dts: qcom: sc7280: Use WPSS PAS instead of PIL

2023-11-13 Thread Luca Weiss
The wpss-pil driver wants to manage too many resources that cannot be touched with standard Qualcomm firmware. Use the compatible from the PAS driver and move the ChromeOS-specific bits to sc7280-chrome-common.dtsi. Signed-off-by: Luca Weiss --- arch/arm64/boot/dts/qcom/sc7280-chrome

[PATCH v2 06/11] remoteproc: qcom_q6v5_pas: Add SC7280 ADSP, CDSP & WPSS

2023-11-13 Thread Luca Weiss
Add support for the ADSP, CDSP and WPSS remoteprocs found on the SC7280 SoC using the q6v5-pas driver. This driver can be used on regular LA ("Linux Android") based releases, however the SC7280 ChromeOS devices need different driver support due to firmware differences. Signed-off-by:

[PATCH v2 05/11] dt-bindings: remoteproc: qcom: sc7180-pas: Add SC7280 compatibles

2023-11-13 Thread Luca Weiss
Add the compatibles and constraints for the ADSP, CDSP and WPSS found on the SC7280 SoC. Reviewed-by: Krzysztof Kozlowski Signed-off-by: Luca Weiss --- .../bindings/remoteproc/qcom,sc7180-pas.yaml| 21 + 1 file changed, 21 insertions(+) diff --git a/Documentation

[PATCH v2 04/11] arm64: dts: qcom: sc7280*: move MPSS and WPSS memory to dtsi

2023-11-13 Thread Luca Weiss
It appears that all SC7280-based devices so far have mpss_mem and wpss_mem on the same reg with the same size. Also these memory regions are referenced already in sc7280.dtsi so that's where they should also be defined. Signed-off-by: Luca Weiss --- arch/arm64/boot/dts/qcom/qcm6490-fairphone

[PATCH v2 03/11] arm64: dts: qcom: sc7280: Rename reserved-memory nodes

2023-11-13 Thread Luca Weiss
It was clarified a while ago that reserved-memory nodes shouldn't be called memory@ but should have a descriptive name. Update sc7280.dtsi to follow that. Signed-off-by: Luca Weiss --- arch/arm64/boot/dts/qcom/sc7280.dtsi | 26 +- 1 file changed, 13 insertions(+), 13

[PATCH v2 01/11] dt-bindings: remoteproc: qcom: sc7180-pas: Fix SC7280 MPSS PD-names

2023-11-13 Thread Luca Weiss
Kozlowski Signed-off-by: Luca Weiss --- Documentation/devicetree/bindings/remoteproc/qcom,sc7180-pas.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,sc7180-pas.yaml b/Documentation/devicetree/bindings/remoteproc/qcom,sc718

[PATCH v2 00/11] Remoteprocs (ADSP, CDSP, WPSS) for SC7280

2023-11-13 Thread Luca Weiss
t simpler, and I couldn't test much of that yet. Signed-off-by: Luca Weiss --- Changes in v2: - Add patch renaming memory@ reserved-memory nodes (preparation for next) - Add patch moving mpss_mem and wpss_mem to sc7280.dtsi - Follow *_mem node being in sc7280.dtsi also for ADSP & CDSP pat

[PATCH v2 02/11] arm64: dts: qcom: sc7280: Remove unused second MPSS reg

2023-11-13 Thread Luca Weiss
The bindings for sc7280-mpss-pas neither expects a second reg nor a reg-names property, which is only required by the sc7280-mss-pil bindings. Move it to sc7280-herobrine-lte-sku.dtsi, the only place where that other compatible is used. Reviewed-by: Krzysztof Kozlowski Signed-off-by: Luca Weiss

Re: [PATCH 8/9] arm64: dts: qcom: qcm6490-fairphone-fp5: Enable various remoteprocs

2023-10-31 Thread Luca Weiss
On Mon Oct 30, 2023 at 8:26 PM CET, Konrad Dybcio wrote: > On 27.10.2023 16:20, Luca Weiss wrote: > > Enable the ADSP, CDSP, MPSS and WPSS that are found on the SoC. > > > > Signed-off-by: Luca Weiss > > --- > > arch/arm64/boot/dts/qc

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

2023-10-31 Thread Luca Weiss
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 > > --- > > arch/arm64/boot/dts/qcom/qcm6490-fairp

Re: [PATCH 7/9] arm64: dts: qcom: sc7280: Add CDSP node

2023-10-31 Thread Luca Weiss
On Tue Oct 31, 2023 at 7:44 AM CET, Mukesh Ojha wrote: > > > On 10/30/2023 8:33 PM, Doug Anderson wrote: > > Hi, > > > > On Mon, Oct 30, 2023 at 7:43 AM Luca Weiss wrote: > >> > >> On Mon Oct 30, 2023 at 3:11 PM CET, Doug Anderson wrote: > >>

Re: [PATCH 7/9] arm64: dts: qcom: sc7280: Add CDSP node

2023-10-30 Thread Luca Weiss
On Mon Oct 30, 2023 at 3:11 PM CET, Doug Anderson wrote: > Hi, > > On Mon, Oct 30, 2023 at 2:12 AM Luca Weiss wrote: > > > > On Mon Oct 30, 2023 at 10:04 AM CET, Mukesh Ojha wrote: > > > > > > > > > On 10/27/2023 7:50 PM, Luca Weiss wrote: > >

Re: [PATCH 7/9] arm64: dts: qcom: sc7280: Add CDSP node

2023-10-30 Thread Luca Weiss
On Mon Oct 30, 2023 at 10:04 AM CET, Mukesh Ojha wrote: > > > On 10/27/2023 7:50 PM, Luca Weiss wrote: > > Add the node for the ADSP found on the SC7280 SoC, using standard > > Qualcomm firmware. > > > > The memory region for sc7280-chrome-common.dtsi is taken

[PATCH 2/9] arm64: dts: qcom: sc7280: Remove unused second MPSS reg

2023-10-27 Thread Luca Weiss
The bindings for sc7280-mpss-pas neither expects a second reg nor a reg-names property, which is only required by the sc7280-mss-pil bindings. Move it to sc7280-herobrine-lte-sku.dtsi, the only place where that other compatible is used. Signed-off-by: Luca Weiss --- arch/arm64/boot/dts/qcom

[PATCH 3/9] dt-bindings: remoteproc: qcom: sc7180-pas: Add SC7280 compatibles

2023-10-27 Thread Luca Weiss
Add the compatibles and constraints for the ADSP, CDSP and WPSS found on the SC7280 SoC. Signed-off-by: Luca Weiss --- .../bindings/remoteproc/qcom,sc7180-pas.yaml| 21 + 1 file changed, 21 insertions(+) diff --git a/Documentation/devicetree/bindings/remoteproc/qcom

[PATCH 7/9] arm64: dts: qcom: sc7280: Add CDSP node

2023-10-27 Thread Luca Weiss
Add the node for the ADSP found on the SC7280 SoC, using standard Qualcomm firmware. The memory region for sc7280-chrome-common.dtsi is taken from msm-5.4 yupik.dtsi since the other areas also seem to match that file there, though I cannot be sure there. Signed-off-by: Luca Weiss --- arch

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

2023-10-27 Thread Luca Weiss
Now that the WPSS remoteproc is enabled, enable wifi so we can use it. Signed-off-by: Luca Weiss --- arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts b/arch/arm64/boot/dts/qcom/qcm6490

[PATCH 5/9] arm64: dts: qcom: sc7280: Use WPSS PAS instead of PIL

2023-10-27 Thread Luca Weiss
The wpss-pil driver wants to manage too many resources that cannot be touched with standard Qualcomm firmware. Use the compatible from the PAS driver and move the ChromeOS-specific bits to sc7280-chrome-common.dtsi. Signed-off-by: Luca Weiss --- arch/arm64/boot/dts/qcom/sc7280-chrome

[PATCH 6/9] arm64: dts: qcom: sc7280: Add ADSP node

2023-10-27 Thread Luca Weiss
Add the node for the ADSP found on the SC7280 SoC, using standard Qualcomm firmware. Signed-off-by: Luca Weiss --- arch/arm64/boot/dts/qcom/sc7280.dtsi | 69 1 file changed, 69 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sc7280.dtsi b/arch/arm64

[PATCH 8/9] arm64: dts: qcom: qcm6490-fairphone-fp5: Enable various remoteprocs

2023-10-27 Thread Luca Weiss
Enable the ADSP, CDSP, MPSS and WPSS that are found on the SoC. Signed-off-by: Luca Weiss --- arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts | 20 1 file changed, 20 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts b/arch/arm64/boot/dts

[PATCH 4/9] remoteproc: qcom_q6v5_pas: Add SC7280 ADSP, CDSP & WPSS

2023-10-27 Thread Luca Weiss
Add support for the ADSP, CDSP and WPSS remoteprocs found on the SC7280 SoC using the q6v5-pas driver. This driver can be used on regular LA ("Linux Android") based releases, however the SC7280 ChromeOS devices need different driver support due to firmware differences. Signed-off-by:

[PATCH 1/9] dt-bindings: remoteproc: qcom: sc7180-pas: Fix SC7280 MPSS PD-names

2023-10-27 Thread Luca Weiss
The power domains for MPSS on SC7280 are actually named CX and MSS, and not CX and MX. Adjust the name which also aligns the bindings with the dts and fixes validation. Fixes: 8bb92d6fd0b3 ("dt-bindings: remoteproc: qcom,sc7180-pas: split into separate file") Signed-off-by:

[PATCH 0/9] Remoteprocs (ADSP, CDSP, WPSS) for SC7280

2023-10-27 Thread Luca Weiss
andard firmware. Also it seems on ChromeOS devices gpr+q6apm+q6prm is used. On my device it appears to be instead apr+q6afe+q6asm+q6adm but I don't add either in this series to keep it a bit simpler, and I couldn't test much of that yet. Signed-off-by: Luca Weiss --- Luca Weiss (9): dt-bindings

Re: [PATCH] wifi: ath11k: Defer on rproc_get failure

2023-10-27 Thread Luca Weiss
On Fri Oct 27, 2023 at 10:25 AM CEST, Kalle Valo wrote: > Luca Weiss writes: > > > If we already have gotten the rproc_handle (meaning the "qcom,rproc" > > property is defined in the devicetree), it's a valid state that the > > remoteproc module hasn't pro

[PATCH] wifi: ath11k: Defer on rproc_get failure

2023-10-27 Thread Luca Weiss
e the wpss remoteproc is available. Signed-off-by: Luca Weiss --- drivers/net/wireless/ath/ath11k/ahb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/wireless/ath/ath11k/ahb.c b/drivers/net/wireless/ath/ath11k/ahb.c index 235336ef2a7a..f8f5e653cd03 100644 ---

<    1   2   3   4   5   >