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

2024-03-29 Thread Luca Weiss
Type-C port management functionality lives inside of the PMIC block on pm7250b. The Type-C port management logic controls orientation detection, vbus/vconn sense and to send/receive Type-C Power Domain messages. Reviewed-by: Bryan O'Donoghue Reviewed-by: Konrad Dybcio Signed-off-by: Luca Weiss

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

2024-03-29 Thread Luca Weiss
Add the required DTS node for the USB VBUS output regulator, which is available on PM7250B. This will provide the VBUS source to connected peripherals. Reviewed-by: Bryan O'Donoghue Signed-off-by: Luca Weiss --- arch/arm64/boot/dts/qcom/pm7250b.dtsi | 6 ++ 1 file changed, 6 insertions

[PATCH v2 0/3] Add TCPM support for PM7250B and Fairphone 4

2024-03-29 Thread Luca Weiss
Kozlowski To: Conor Dooley Cc: ~postmarketos/upstream...@lists.sr.ht Cc: phone-de...@vger.kernel.org Cc: linux-arm-...@vger.kernel.org Cc: devicet...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Luca Weiss Changes in v2: - Move disabled as last property for pm7250b_vbus

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

2024-03-22 Thread Luca Weiss
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 correctly, though functionally everything appears to work fine

[PATCH 4/5] arm64: dts: qcom: pm7250b: Add a TCPM description

2024-03-22 Thread Luca Weiss
Type-C port management functionality lives inside of the PMIC block on pm7250b. The Type-C port management logic controls orientation detection, vbus/vconn sense and to send/receive Type-C Power Domain messages. Signed-off-by: Luca Weiss --- arch/arm64/boot/dts/qcom/pm7250b.dtsi | 39

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

2024-03-22 Thread Luca Weiss
Add the required DTS node for the USB VBUS output regulator, which is available on PM7250B. This will provide the VBUS source to connected peripherals. Signed-off-by: Luca Weiss --- arch/arm64/boot/dts/qcom/pm7250b.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot

[PATCH 2/5] dt-bindings: usb: qcom,pmic-typec: Add support for the PM7250B PMIC

2024-03-22 Thread Luca Weiss
The PM6150 PMIC has the same Type-C register block as the PM8150B. Define corresponding compatible string, having the qcom,pm8150b-vbus-reg as a fallback. Signed-off-by: Luca Weiss --- Documentation/devicetree/bindings/usb/qcom,pmic-typec.yaml | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH 1/5] dt-bindings: regulator: qcom,usb-vbus-regulator: Add PM7250B compatible

2024-03-22 Thread Luca Weiss
The VBUS register block on the PM6150 PMIC shares the design with the PM8150B one. Define corresponding compatible string, having the qcom,pm8150b-vbus-reg as a fallback. Signed-off-by: Luca Weiss --- Documentation/devicetree/bindings/regulator/qcom,usb-vbus-regulator.yaml | 1 + 1 file changed

[PATCH 0/5] Add TCPM support for PM7250B and Fairphone 4

2024-03-22 Thread Luca Weiss
This series adds support for Type-C Port Management on the Fairphone 4 which enables USB role switching and orientation switching. This enables a user for example to plug in a USB stick or a USB keyboard to the Type-C port. Signed-off-by: Luca Weiss --- Luca Weiss (5): dt-bindings

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

2024-03-22 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: > > > >

[PATCH 1/2] ARM: dts: qcom: msm8974: Add @0 to memory node name

2024-03-18 Thread Luca Weiss
-msm8974pro-fairphone-fp2.dtb: /: memory: False schema does not allow {'device_type': ['memory'], 'reg': [[0, 0]]} from schema $id: http://devicetree.org/schemas/root-node.yaml# Signed-off-by: Luca Weiss --- arch/arm/boot/dts/qcom/qcom-msm8974.dtsi | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH 2/2] ARM: dts: qcom: msm8974: Add empty chosen node

2024-03-18 Thread Luca Weiss
Add an empty /chosen node to the dtsi like is common on most other Qualcomm SoC files, so that various pieces of software expecting this node to exist don't complain. Signed-off-by: Luca Weiss --- arch/arm/boot/dts/qcom/qcom-msm8974.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git

[PATCH 0/2] Small fixes for MSM8974 SoC dtsi

2024-03-18 Thread Luca Weiss
One fix for dt schema validation, one for the /chosen node. Signed-off-by: Luca Weiss --- Luca Weiss (2): ARM: dts: qcom: msm8974: Add @0 to memory node name ARM: dts: qcom: msm8974: Add empty chosen node arch/arm/boot/dts/qcom/qcom-msm8974.dtsi | 4 +++- 1 file changed, 3

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

2024-03-15 Thread Luca Weiss
Switch to using the new DRM_AUX_BRIDGE helper to create the transparent DRM bridge device instead of handcoding corresponding functionality. Signed-off-by: Luca Weiss --- Very similar to this patch: c5d296bad640 ("usb: typec: nb7vpq904m: switch to DRM_AUX_BRIDGE") --- drivers/usb

[PATCH v2 1/2] dt-bindings: arm: qcom: Add Samsung Galaxy Note 3

2024-03-14 Thread Luca Weiss
Add the compatible for this Samsung smartphone ("phablet" as it was named in that era). 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/bi

[PATCH v2 2/2] ARM: dts: qcom: msm8974: Add Samsung Galaxy Note 3

2024-03-14 Thread Luca Weiss
From: Adam Honse Add the devicetree for this "phablet" using the Snapdragon 800 SoC. Signed-off-by: Adam Honse [l...@z3ntu.xyz: clean up, prepare for upstream] Signed-off-by: Luca Weiss --- arch/arm/boot/dts/qcom/Makefile| 1 + .../boot/dts/qcom/qcom-msm89

[PATCH v2 0/2] Add Samsung Galaxy Note 3 support

2024-03-14 Thread Luca Weiss
Add the dts for "hlte" which is a phablet from 2013. Signed-off-by: Luca Weiss --- Changes in v2: - Correct property order (Konrad) - Pick up tags - Link to v1: https://lore.kernel.org/r/20240310-samsung-hlte-v1-0-e9b55bf98...@z3ntu.xyz --- Adam Honse (1): ARM: dts: qcom: ms

[PATCH v2 3/3] ARM: dts: qcom: Add Sony Xperia Z3 smartphone

2024-03-14 Thread Luca Weiss
Add the dts for the Xperia Z3 smartphone which is based on Sony's shinano platform, so at the moment there's little device-specific dts to add on top of the common parts. Signed-off-by: Luca Weiss --- arch/arm/boot/dts/qcom/Makefile| 1 + .../qcom-msm8974pro-sony-xperia

[PATCH v2 2/3] dt-bindings: arm: qcom: Add Sony Xperia Z3

2024-03-14 Thread Luca Weiss
Add the compatible for this Sony 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/Documentation/devicetree/bindings/arm

[PATCH v2 1/3] ARM: dts: qcom: msm8974-sony-castor: Split into shinano-common

2024-03-14 Thread Luca Weiss
In preparation for adding the Sony Xperia Z3 smartphone, split the common parts into shinano-common.dtsi. No functional change intended. Reviewed-by: Konrad Dybcio Signed-off-by: Luca Weiss --- .../qcom-msm8974pro-sony-xperia-shinano-castor.dts | 863 + ...com-msm8974pro

[PATCH v2 0/3] Split sony-castor into shinano-common and add Sony Xperia Z3

2024-03-14 Thread Luca Weiss
Prepare for adding sony-leo dts by splitting common parts into a separate dtsi file. Then add the dts for Sony Xperia Z3. Depends on: https://lore.kernel.org/linux-arm-msm/20240306-castor-changes-v1-0-2286eaf85...@z3ntu.xyz/T/ Signed-off-by: Luca Weiss --- Changes in v2: - Add leo dtb

Re: [PATCH 0/2] Add Samsung Galaxy Note 3 support

2024-03-11 Thread Luca Weiss
On Montag, 11. März 2024 15:23:30 CET Rob Herring wrote: > > On Sun, 10 Mar 2024 15:13:35 +0100, Luca Weiss wrote: > > Add the dts for "hlte" which is a phablet from 2013. > > > > Signed-off-by: Luca Weiss > > --- > > Adam Honse (1): > >

[PATCH 2/2] ARM: dts: qcom: msm8974: Add Samsung Galaxy Note 3

2024-03-10 Thread Luca Weiss
From: Adam Honse Add the devicetree for this "phablet" using the Snapdragon 800 SoC. Signed-off-by: Adam Honse [l...@z3ntu.xyz: clean up, prepare for upstream] Signed-off-by: Luca Weiss --- arch/arm/boot/dts/qcom/Makefile| 1 + .../boot/dts/qcom/qcom-msm89

[PATCH 1/2] dt-bindings: arm: qcom: Add Samsung Galaxy Note 3

2024-03-10 Thread Luca Weiss
Add the compatible for this Samsung smartphone ("phablet" as it was named in that era). 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/Documentation/

[PATCH 0/2] Add Samsung Galaxy Note 3 support

2024-03-10 Thread Luca Weiss
Add the dts for "hlte" which is a phablet from 2013. Signed-off-by: Luca Weiss --- Adam Honse (1): ARM: dts: qcom: msm8974: Add Samsung Galaxy Note 3 Luca Weiss (1): dt-bindings: arm: qcom: Add Samsung Galaxy Note 3 Documentation/devicetree/bindings/arm/qcom.yaml|

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

2024-03-10 Thread Luca Weiss
On Sonntag, 10. März 2024 12:41:09 CET Luca Weiss wrote: > Add the dts for the Xperia Z3 smartphone which is based on Sony's > shinano platform, so at the moment there's little device-specific dts to > add on top of the common parts. > > Signed-off-by: Luca Weiss > --- >

[PATCH 2/3] dt-bindings: arm: qcom: Add Sony Xperia Z3

2024-03-10 Thread Luca Weiss
Add the compatible for this Sony smartphone. 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/Documentation/devicetree/bindings/arm/qcom.yaml index 1a5fb889a444

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

2024-03-10 Thread Luca Weiss
Add the dts for the Xperia Z3 smartphone which is based on Sony's shinano platform, so at the moment there's little device-specific dts to add on top of the common parts. Signed-off-by: Luca Weiss --- .../qcom-msm8974pro-sony-xperia-shinano-leo.dts| 44 ++ 1 file changed

[PATCH 1/3] ARM: dts: qcom: msm8974-sony-castor: Split into shinano-common

2024-03-10 Thread Luca Weiss
In preparation for adding the Sony Xperia Z3 smartphone, split the common parts into shinano-common.dtsi. No functional change intended. Signed-off-by: Luca Weiss --- .../qcom-msm8974pro-sony-xperia-shinano-castor.dts | 853 - ...com-msm8974pro-sony-xperia-shinano

[PATCH 0/3] Split sony-castor into shinano-common and add Sony Xperia Z3

2024-03-10 Thread Luca Weiss
Prepare for adding sony-leo dts by splitting common parts into a separate dtsi file. Then add the dts for Sony Xperia Z3. Depends on: https://lore.kernel.org/linux-arm-msm/20240306-castor-changes-v1-0-2286eaf85...@z3ntu.xyz/T/ Signed-off-by: Luca Weiss --- Luca Weiss (3): ARM: dts: qcom

[PATCH 3/5] ARM: dts: qcom: msm8974pro-castor: Remove camera button definitions

2024-03-05 Thread Luca Weiss
>From what I can tell, the camera buttons are not part of Z2 Tablet hardware even though other devices based on 'shinano' do have them. Fixes: ab80661883de ("ARM: dts: qcom: msm8974: Add Sony Xperia Z2 Tablet") Signed-off-by: Luca Weiss --- .../dts/qcom/qcom-msm8974pro-sony-x

[PATCH 1/5] ARM: dts: qcom: msm8974pro-castor: Clean up formatting

2024-03-05 Thread Luca Weiss
Clean up some easy things do prepare the dts for further changes. * Move pinctrl-names below pinctrl-* * Move status as last property * Remove default linux,input-type value Signed-off-by: Luca Weiss --- .../qcom-msm8974pro-sony-xperia-shinano-castor.dts | 65 +- 1 file

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

2024-03-05 Thread Luca Weiss
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(+) diff --git a/arch/arm/boot/dts/qcom/qcom-msm8974pro-sony-xperia-shinano-castor.dts b/arch/arm/boot/dts/qcom

[PATCH 0/5] Some devicetree cleanup for MSM8974 Sony Xperia Z2 Tablet

2024-03-05 Thread Luca Weiss
The sony-castor dts has been around for a while, clean up some things to prepare for further changes including the introduction of the shinano-based Sony Xperia Z3. Signed-off-by: Luca Weiss --- Luca Weiss (5): ARM: dts: qcom: msm8974pro-castor: Clean up formatting ARM: dts: qcom

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

2024-03-05 Thread Luca Weiss
Add the mmc0 & mmc1 aliases to make sure internal storage always becomes /dev/mmcblk0 and SD card becomes /dev/mmcblk1 Signed-off-by: Luca Weiss --- arch/arm/boot/dts/qcom/qcom-msm8974pro-sony-xperia-shinano-castor.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot

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

2024-03-05 Thread Luca Weiss
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(-) diff --git a/arch/arm/boot/dts/qcom/qcom-msm8974pro-sony-xperia-shinano-castor.dts b/arch

[PATCH] arm64: dts: qcom: sdm632-fairphone-fp3: enable USB-C port handling

2024-02-20 Thread Luca Weiss
Add the definition for the USB-C connector found on this phone and hook up the relevant bits. This enables USB role switching. Signed-off-by: Luca Weiss --- arch/arm64/boot/dts/qcom/msm8953.dtsi | 14 ++ arch/arm64/boot/dts/qcom/sdm632-fairphone-fp3.dts | 31

[PATCH] arm64: dts: qcom: Fix type of "wdog" IRQs for remoteprocs

2024-02-19 Thread Luca Weiss
er@b22! Fix that by updating the devicetrees to use IRQ_TYPE_EDGE_RISING for these interrupts, as is already used in most dt's. Also the driver was already using the interrupts with that type. Signed-off-by: Luca Weiss --- See also this thread: https://lore.kernel.org/linux-arm-msm/efecb4cf

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

2024-02-18 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. Keep qcom,hfpll in the driver for compatibility with old dtbs. Signed-off-by: Luca Weiss --- drivers/clk/qcom/hfpll.c | 6 -- 1 file changed

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

2024-02-18 Thread Luca Weiss
is not used upstream yet. * Add qcs404-hfpll. QCS404 currently uses qcom,hfpll. Mark that as deprecated since every SoC appears to need different driver data so "qcom,hfpll" makes no sense to keep Signed-off-by: Luca Weiss --- .../devicetree/bindings/clock/qcom,hfpll.txt

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

2024-02-18 Thread Luca Weiss
Follow the updated bindings and use a QCS404-specific compatible for the HFPLL on this SoC. Signed-off-by: Luca Weiss --- Please note that this patch should only land after the patch for the clock driver. --- arch/arm64/boot/dts/qcom/qcs404.dtsi | 2 +- 1 file changed, 1 insertion(+), 1

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

2024-02-18 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 --- Changes in v2: - Drop APQ8064/IPQ8064/MSM8960 compatibles (Dmitry) - Update example to MSM8974 since IPQ8064 is dropped - Clean up dt binding description (Krzysztof

[PATCH] Bluetooth: Add more Bluetooth version defines

2024-02-16 Thread Luca Weiss
Add the various Bluetooth version identifiers found in the "Assigned Numbers" document[0] from the Bluetooth SIG. [0] https://www.bluetooth.com/specifications/assigned-numbers/ Signed-off-by: Luca Weiss --- To be clear, I don't have a use case for these extra defines myself but som

[PATCH] arm64: dts: qcom: sm6350: Add interconnect for MDSS

2024-02-16 Thread Luca Weiss
Add the definition for the interconnect used in the display subsystem. Signed-off-by: Luca Weiss --- arch/arm64/boot/dts/qcom/sm6350.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm6350.dtsi b/arch/arm64/boot/dts/qcom/sm6350.dtsi index 5e8c8896ba66

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

2024-02-16 Thread Luca Weiss
On Mon Jan 8, 2024 at 11:45 PM CET, Dmitry Baryshkov wrote: > 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,n

Re: [PATCH v2 2/2] ARM: dts: qcom: Add support for Samsung Galaxy Tab 4 8.0 Wi-Fi

2024-02-15 Thread Luca Weiss
> + smem_region: smem@fa0 { > + reg = <0x0fa0 0x10>; > + no-map; > + }; > + > + reserved@fb0 { > + reg = <0x0fb0 0x26>; > +

[PATCH v2] ARM: dts: qcom: msm8226: Add watchdog node

2024-02-14 Thread Luca Weiss
From: Matti Lehtimäki Add watchdog for MSM8226 platform. Signed-off-by: Matti Lehtimäki Reviewed-by: Konrad Dybcio Signed-off-by: Luca Weiss --- Changes in v2: - Rebase on qcom for-next - Pick up tags - Link to v1: https://lore.kernel.org/r/20231011-msm8226-msm8974-watchdog-v1-0-2c472818f

Re: [PATCH v2 1/3] dt-bindings: power: rpmpd: Add MSM8974 power domains

2024-02-11 Thread Luca Weiss
On Sonntag, 11. Februar 2024 12:03:15 CET Stephan Gerhold wrote: > On Sat, Feb 10, 2024 at 05:38:56PM +0100, Luca Weiss wrote: > > Add the compatibles and indexes for the rpmpd in MSM8974, both with the > > standard PM8841+PM8941 PMICs but also devices found with PMA8084. >

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

2024-02-10 Thread Luca Weiss
version. [l...@z3ntu.xyz: extract to standalone patch and adjust for review comments] Fixes: c59ffb519357 ("arm: dts: msm8974: Add thermal zones, tsens and qfprom nodes") Signed-off-by: Craig Tatlor Signed-off-by: Luca Weiss --- Changes in v3: - Update size from 0x3000 to 0x21

[PATCH v2 3/3] pmdomain: qcom: rpmpd: Add MSM8974PRO+PMA8084 power domains

2024-02-10 Thread Luca Weiss
Add the power domains CX & GFX found on MSM8974 devices that use PMA8084 instead of the standard PM8841+PM8941 combo. Signed-off-by: Luca Weiss --- drivers/pmdomain/qcom/rpmpd.c | 29 + 1 file changed, 29 insertions(+) diff --git a/drivers/pmdomain/qcom/rpmpd

[PATCH v2 2/3] pmdomain: qcom: rpmpd: Add MSM8974+PM8841 power domains

2024-02-10 Thread Luca Weiss
Add the power domains CX & GFX found on devices with MSM8974 and PM8841. Signed-off-by: Luca Weiss --- drivers/pmdomain/qcom/rpmpd.c | 54 +++ 1 file changed, 54 insertions(+) diff --git a/drivers/pmdomain/qcom/rpmpd.c b/drivers/pmdomain/qcom/rpm

[PATCH v2 0/3] Add RPMPD support for MSM8974

2024-02-10 Thread Luca Weiss
voltages to it, so these are ignored in this series. Signed-off-by: Luca Weiss --- Changes in v2: - Drop MSM8974_VDDGFX_AO in all patches - Link to v1: https://lore.kernel.org/r/20240210-msm8974-rpmpd-v1-0-de9355e68...@z3ntu.xyz --- Luca Weiss (3): dt-bindings: power: rpmpd: Add MSM8974

[PATCH v2 1/3] dt-bindings: power: rpmpd: Add MSM8974 power domains

2024-02-10 Thread Luca Weiss
Add the compatibles and indexes for the rpmpd in MSM8974, both with the standard PM8841+PM8941 PMICs but also devices found with PMA8084. Signed-off-by: Luca Weiss --- Documentation/devicetree/bindings/power/qcom,rpmpd.yaml | 2 ++ include/dt-bindings/power/qcom-rpmpd.h | 7

Re: [PATCH 2/3] pmdomain: qcom: rpmpd: Add MSM8974+PM8841 power domains

2024-02-10 Thread Luca Weiss
On Samstag, 10. Februar 2024 15:19:54 CET Konrad Dybcio wrote: > On 2/10/24 15:12, Luca Weiss wrote: > > Add the power domains CX & GFX found on devices with MSM8974 and PM8841. > > > > Signed-off-by: Luca Weiss > > --- > > [...] > > > +static stru

[PATCH v2 1/3] dt-bindings: soc: qcom: qcom,saw2: add msm8226 l2 compatible

2024-02-10 Thread Luca Weiss
Add the compatible for the SAW2 for L2 cache found on MSM8226. Signed-off-by: Luca Weiss --- Documentation/devicetree/bindings/soc/qcom/qcom,saw2.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/soc/qcom/qcom,saw2.yaml b/Documentation/devicetree

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

2024-02-10 Thread Luca Weiss
to commit message] Acked-by: Konrad Dybcio 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

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

2024-02-10 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 | 96 1 file

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

2024-02-10 Thread Luca Weiss
-0472ec237...@linaro.org/ Signed-off-by: Luca Weiss --- Changes in v2: - Add saw_l2 node with bindings - Rebase on linux-next - Pick up tags - Link to v1: https://lore.kernel.org/r/20231203-msm8226-cpu-v1-0-d18e83340...@z3ntu.xyz --- Ivaylo Ivanov (1): ARM: dts: qcom: msm8226: Add CPU and SAW

[PATCH 3/3] pmdomain: qcom: rpmpd: Add MSM8974PRO+PMA8084 power domains

2024-02-10 Thread Luca Weiss
Add the power domains CX & GFX found on MSM8974 devices that use PMA8084 instead of the standard PM8841+PM8941 combo. Signed-off-by: Luca Weiss --- drivers/pmdomain/qcom/rpmpd.c | 41 + 1 file changed, 41 insertions(+) diff --git a/drivers/pmdomain/

[PATCH 2/3] pmdomain: qcom: rpmpd: Add MSM8974+PM8841 power domains

2024-02-10 Thread Luca Weiss
Add the power domains CX & GFX found on devices with MSM8974 and PM8841. Signed-off-by: Luca Weiss --- drivers/pmdomain/qcom/rpmpd.c | 66 +++ 1 file changed, 66 insertions(+) diff --git a/drivers/pmdomain/qcom/rpmpd.c b/drivers/pmdomain/qcom/rpm

[PATCH 1/3] dt-bindings: power: rpmpd: Add MSM8974 power domains

2024-02-10 Thread Luca Weiss
Add the compatibles and indexes for the rpmpd in MSM8974, both with the standard PM8841+PM8941 PMICs but also devices found with PMA8084. Signed-off-by: Luca Weiss --- Documentation/devicetree/bindings/power/qcom,rpmpd.yaml | 2 ++ include/dt-bindings/power/qcom-rpmpd.h | 8

[PATCH 0/3] Add RPMPD support for MSM8974

2024-02-10 Thread Luca Weiss
voltages to it, so these are ignored in this series. Signed-off-by: Luca Weiss --- Luca Weiss (3): dt-bindings: power: rpmpd: Add MSM8974 power domains pmdomain: qcom: rpmpd: Add MSM8974+PM8841 power domains pmdomain: qcom: rpmpd: Add MSM8974PRO+PMA8084 power domains

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

2024-02-08 Thread Luca Weiss
The QCM6490 Linux Android firmware needs this workaround as well. Add it to the list. Acked-by: Heikki Krogerus Reviewed-by: Dmitry Baryshkov 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

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

2024-02-08 Thread Luca Weiss
Document the QCM6490 compatible used to describe the pmic glink on this platform. Reviewed-by: Krzysztof Kozlowski 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

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

2024-02-08 Thread Luca Weiss
This series adds all the necessary bits to enable USB-C role switching, charger and fuel gauge (all via pmic-glink) on Fairphone 5. Signed-off-by: Luca Weiss --- Changes in v2: - Rebase on -next, drop applied patch - Pick up tags - Link to v1: https://lore.kernel.org/r/20231220-fp5-pmic-glink

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

2024-02-06 Thread Luca Weiss
On Tue Jan 2, 2024 at 2:53 PM CET, Greg Kroah-Hartman wrote: > On Tue, Jan 02, 2024 at 02:43:24PM +0100, Luca Weiss wrote: > > 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 T

Re: [PATCH 1/3] dt-bindings: mfd: qcom,spmi-pmic: Add pbs to SPMI device types

2024-02-05 Thread Luca Weiss
On Montag, 5. Februar 2024 14:46:45 CET Rob Herring wrote: > On Mon, 05 Feb 2024 10:51:38 +0100, Luca Weiss wrote: > > Add the PBS (Programmable Boot Sequencer) to the list of devices. > > > > Signed-off-by: Luca Weiss > > --- > > > > Documentation/devi

[PATCH 3/3] arm64: defconfig: Enable QCOM PBS

2024-02-05 Thread Luca Weiss
Enable the PBS driver used on e.g. PMI632. Signed-off-by: Luca Weiss --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index cfa3e00def09..e92a5fd9f660 100644 --- a/arch/arm64/configs/defconfig +++ b

[PATCH 2/3] arm64: dts: qcom: pmi632: Add PBS client and use in LPG node

2024-02-05 Thread Luca Weiss
With SDAM + PBS the LPG driver can configure the LED pattern in hardware. Signed-off-by: Luca Weiss --- arch/arm64/boot/dts/qcom/pmi632.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/pmi632.dtsi b/arch/arm64/boot/dts/qcom/pmi632.dtsi index

[PATCH 1/3] dt-bindings: mfd: qcom,spmi-pmic: Add pbs to SPMI device types

2024-02-05 Thread Luca Weiss
Add the PBS (Programmable Boot Sequencer) to the list of devices. Signed-off-by: Luca Weiss --- Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml | 4 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml b/Documentation/devicetree

[PATCH 0/3] Add PPG support for PMI632 LPG dtsi

2024-02-05 Thread Luca Weiss
Hook up the PBS & SDAM to the PMI632 LPG so that we can use the hw_pattern for the LEDs. Signed-off-by: Luca Weiss --- Luca Weiss (3): dt-bindings: mfd: qcom,spmi-pmic: Add pbs to SPMI device types arm64: dts: qcom: pmi632: Add PBS client and use in LPG node arm64: defco

Re: [PATCH] media: dt-bindings: qcom,sc7280-venus: Allow one IOMMU entry

2024-01-29 Thread Luca Weiss
On Mon Jan 29, 2024 at 6:37 PM CET, Conor Dooley wrote: > On Mon, Jan 29, 2024 at 08:48:54AM +0100, Luca Weiss wrote: > > Some SC7280-based boards crash when providing the "secure_non_pixel" > > context bank, so allow only one iommu in the bindings also. > > > &

[PATCH] media: dt-bindings: qcom,sc7280-venus: Allow one IOMMU entry

2024-01-28 Thread Luca Weiss
Some SC7280-based boards crash when providing the "secure_non_pixel" context bank, so allow only one iommu in the bindings also. Signed-off-by: Luca Weiss --- Reference: https://lore.kernel.org/linux-arm-msm/20231201-sc7280-venus-pas-v3-2-bc132dc5f...@fairphone.com/ --- Documentation/

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

2024-01-27 Thread Luca Weiss
On Freitag, 26. Jänner 2024 00:50:43 CET Konrad Dybcio wrote: > On 1/25/24 22:56, Luca Weiss wrote: > > From: Vladimir Lypak > > > > Add the GPU node for the Adreno 506 found on this family of SoCs. The > > clock speeds are a bit different per SoC variant, SDM450 ma

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

2024-01-27 Thread Luca Weiss
On Freitag, 26. Jänner 2024 00:49:55 CET Konrad Dybcio wrote: > On 1/25/24 23:24, Dmitry Baryshkov wrote: > > On 25/01/2024 23:56, Luca Weiss wrote: > >> From: Vladimir Lypak > >> > >> Add the IOMMU used for the GPU on MSM8953. > >> > >> Sig

Re: [PATCH] arm64: dts: qcom: sm6350: Add tsens thermal zones

2024-01-26 Thread Luca Weiss
On Thu Jan 25, 2024 at 5:30 PM CET, Konrad Dybcio wrote: > > > On 1/24/24 16:31, Luca Weiss wrote: > > Add the definitions for the various thermal zones found on the SM6350 > > SoC. Hooking up GPU and CPU cooling can limit the clock speeds there to > > reduce the tempe

[PATCH RFC 0/2] Add GPU support to MSM8953 SoC

2024-01-25 Thread Luca Weiss
it's somewhat understandable. Please let me know what you think, which direction we can take to resolve this. (Also GPU clock-names dt-schema check fails but that seems to be the case on more a5xx GPUs also) Signed-off-by: Luca Weiss --- Vladimir Lypak (2): arm64: dts: qcom: msm8953: Add

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

2024-01-25 Thread Luca Weiss
From: Vladimir Lypak Add the IOMMU used for the GPU on MSM8953. Signed-off-by: Vladimir Lypak --- arch/arm64/boot/dts/qcom/msm8953.dtsi | 31 +++ 1 file changed, 31 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8953.dtsi

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

2024-01-25 Thread Luca Weiss
the 600MHz OPP and use the new dtsi for sdm450-motorola-ali. Signed-off-by: Vladimir Lypak Co-developed-by: Luca Weiss Signed-off-by: Luca Weiss --- arch/arm64/boot/dts/qcom/msm8953.dtsi| 115 +++ arch/arm64/boot/dts/qcom/sdm450-motorola-ali.dts | 2 +- arch/arm64

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

2024-01-25 Thread Luca Weiss
From: Vladimir Lypak With this reset we can avoid situations like IRQ storms from DSI host before it even started probing (because boot-loader left DSI IRQs on). Signed-off-by: Vladimir Lypak Reviewed-by: Konrad Dybcio Signed-off-by: Luca Weiss --- arch/arm64/boot/dts/qcom/msm8953.dtsi | 2

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

2024-01-25 Thread Luca Weiss
From: Vladimir Lypak Add new entries in the gcc driver for some more resets found on MSM8953. Signed-off-by: Vladimir Lypak [luca: expand commit message, move entry, add more entries] Signed-off-by: Luca Weiss --- drivers/clk/qcom/gcc-msm8953.c | 4 1 file changed, 4 insertions(+) diff

[PATCH v2 1/3] dt-bindings: clock: gcc-msm8953: add more resets

2024-01-25 Thread Luca Weiss
From: Vladimir Lypak Add new defines for some more BCRs found on MSM8953. Signed-off-by: Vladimir Lypak [luca: expand commit message, add more resets] Acked-by: Krzysztof Kozlowski Signed-off-by: Luca Weiss --- include/dt-bindings/clock/qcom,gcc-msm8953.h | 4 1 file changed, 4

[PATCH v2 0/3] Add MDSS_BCR reset (+some more) for MSM8953

2024-01-25 Thread Luca Weiss
Add the MDSS_BCR reset that is found in the GCC of MSM8953 so we can make sure the MDSS gets properly reset before Linux starts using it. Also add some others that have been found in the LK sources. Signed-off-by: Luca Weiss --- Changes in v2: - Add more resets from LK sources - Pick up tags

Re: [PATCH 2/3] clk: qcom: gcc-msm8953: add MDSS_BCR reset

2024-01-25 Thread Luca Weiss
On Mittwoch, 24. Jänner 2024 13:10:53 CET Konrad Dybcio wrote: > On 1/23/24 22:03, Luca Weiss wrote: > > From: Vladimir Lypak > > > > Add an entry in the gcc driver for the MDSS_BCR reset found on MSM8953. > > > > Signed-off-by: Vladimir Lypak > > [

[PATCH] arm64: dts: qcom: sm6350: Add tsens thermal zones

2024-01-24 Thread Luca Weiss
a placeholder until those zones can be hooked up to cooling. Signed-off-by: Luca Weiss --- arch/arm64/boot/dts/qcom/sm6350.dtsi | 565 +++ 1 file changed, 565 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm6350.dtsi b/arch/arm64/boot/dts/qcom/sm6350.dtsi index

[PATCH 0/3] Add MDSS_BCR reset for MSM8953

2024-01-23 Thread Luca Weiss
Add the MDSS_BCR reset that is found in the GCC of MSM8953 so we can make sure the MDSS gets properly reset before Linux starts using it. Signed-off-by: Luca Weiss --- Vladimir Lypak (3): dt-bindings: clock: gcc-msm8953: add reset for MDSS subsystem clk: qcom: gcc-msm8953: add

[PATCH 1/3] dt-bindings: clock: gcc-msm8953: add reset for MDSS subsystem

2024-01-23 Thread Luca Weiss
From: Vladimir Lypak Add a new define for the GCC_MDSS_BCR found on MSM8953. Signed-off-by: Vladimir Lypak [luca: expand commit message] Signed-off-by: Luca Weiss --- include/dt-bindings/clock/qcom,gcc-msm8953.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/dt-bindings/clock

[PATCH 2/3] clk: qcom: gcc-msm8953: add MDSS_BCR reset

2024-01-23 Thread Luca Weiss
From: Vladimir Lypak Add an entry in the gcc driver for the MDSS_BCR reset found on MSM8953. Signed-off-by: Vladimir Lypak [luca: expand commit message, move entry] Signed-off-by: Luca Weiss --- drivers/clk/qcom/gcc-msm8953.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk

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

2024-01-23 Thread Luca Weiss
From: Vladimir Lypak With this reset we can avoid situations like IRQ storms from DSI host before it even started probing (because boot-loader left DSI IRQs on). Signed-off-by: Vladimir Lypak Signed-off-by: Luca Weiss --- arch/arm64/boot/dts/qcom/msm8953.dtsi | 2 ++ 1 file changed, 2

Re: [PATCH] ARM: dts: qcom: msm8926-htc-memul: Add rmtfs memory node

2024-01-22 Thread Luca Weiss
On Montag, 22. Jänner 2024 11:53:33 CET Konrad Dybcio wrote: > On 21.01.2024 11:21, Luca Weiss wrote: > > Add the rmtfs-mem node which was part of one of the "unknown" memory > > reservation. Split that one, make sure the reserved-memory in total > > still covers

[PATCH] ARM: dts: qcom: msm8926-htc-memul: Add rmtfs memory node

2024-01-21 Thread Luca Weiss
Add the rmtfs-mem node which was part of one of the "unknown" memory reservation. Split that one, make sure the reserved-memory in total still covers the same space. Signed-off-by: Luca Weiss --- arch/arm/boot/dts/qcom/qcom-msm8926-htc-memul.dts | 15 ++- 1 file c

[PATCH] ARM: dts: qcom: apq8026-lg-lenok: Add vibrator support

2024-01-21 Thread Luca Weiss
This device has a vibrator attached to the CAMSS_GP0_CLK, use clk-pwm and pwm-vibrator to make the vibrator work. Signed-off-by: Luca Weiss --- arch/arm/boot/dts/qcom/qcom-apq8026-lg-lenok.dts | 38 1 file changed, 38 insertions(+) diff --git a/arch/arm/boot/dts/qcom

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

2024-01-11 Thread Luca Weiss
On Wed Jan 10, 2024 at 8:16 PM CET, Konrad Dybcio wrote: > > > On 1/9/24 12:24, Luca Weiss wrote: > > On Tue Jan 9, 2024 at 11:09 AM CET, Konrad Dybcio wrote: > >> > >> > >> On 1/5/24 15:54, Luca Weiss wrote: > >>> Configure the thermals for th

[PATCH] arm64: dts: qcom: sm7225-fairphone-fp4: Switch firmware ext to .mbn

2024-01-10 Thread Luca Weiss
Specify the file name for the squashed/non-split firmware with the .mbn extension instead of the split .mdt. The kernel can load both but the squashed version is preferred in dts nowadays. Signed-off-by: Luca Weiss --- arch/arm64/boot/dts/qcom/sm7225-fairphone-fp4.dts | 8 1 file

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

2024-01-09 Thread Luca Weiss
On Tue Jan 9, 2024 at 11:09 AM CET, 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. > > >

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

2024-01-08 Thread Luca Weiss
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 probe but > > this fail

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

2024-01-08 Thread Luca Weiss
rt") Signed-off-by: Luca Weiss --- Not tested myself, but David Heidelberg was so nice and ran it on a SM8350 board in a test farm and it seems to be working as expected. But still please test it on some other boards so make sure it actually works as expected there also. --- arch/arm64/boot/dts/

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

2024-01-06 Thread Luca Weiss
On Dienstag, 2. Jänner 2024 11:41:26 CET Krzysztof Kozlowski wrote: > On 31/12/2023 15:48, Luca Weiss wrote: > > It doesn't appear that the configuration is for the HFPLL is generic, so > > That's ok... > > > add a qcs404-specific compatible and rename the existin

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

2024-01-05 Thread Luca Weiss
really only be considered as placeholders, more configuration with cooling etc. can be added later. Signed-off-by: Luca Weiss --- arch/arm64/boot/dts/qcom/sm7225-fairphone-fp4.dts | 191 ++ 1 file changed, 191 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm7225

[PATCH 1/2] arm64: dts: qcom: sm7225-fairphone-fp4: Add PMK8003 thermals

2024-01-05 Thread Luca Weiss
with cooling etc. can be added later. Signed-off-by: Luca Weiss --- arch/arm64/boot/dts/qcom/sm7225-fairphone-fp4.dts | 25 +++ 1 file changed, 25 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm7225-fairphone-fp4.dts b/arch/arm64/boot/dts/qcom/sm7225-fairphone-fp4.dts index

<    1   2   3   4   5   >