}
> -
> - pa->ppid_to_apid = devm_kcalloc(>dev,
> - PMIC_ARB_MAX_PPID,
> - sizeof(*pa->ppid_to_apid),
> - GFP_KERNEL);
>
"mmc: sdhci-msm: Add sdhci msm register write APIs
> which wait for pwr irq") Signed-off-by: Bjorn Andersson
> <bjorn.anders...@linaro.org>
Tested-by: Luca Weiss <l...@z3ntu.xyz>
> ---
>
> The offending patch is part of your v4.15 pull request, so please p
PMIC_ARB_MAX_PPID,
> - sizeof(*pa->ppid_to_apid),
> - GFP_KERNEL);
> - if (!pa->ppid_to_apid) {
> - err = -ENOMEM;
> - goto err_put_ctrl;
> - }
> }
>
> dev_info(>dev, "PMIC arbiter version %s (0x%x)\n",
Tested-by: Luca Weiss
> which wait for pwr irq") Signed-off-by: Bjorn Andersson
>
Tested-by: Luca Weiss
> ---
>
> The offending patch is part of your v4.15 pull request, so please pick
> this up for the -rcs.
>
> Changes since v1:
> - Fixed spelling of swichable...
>
> drive
Hi Konrad,
On Sonntag, 24. Jänner 2021 16:04:13 CET Konrad Dybcio wrote:
> > + mdss@fd90 {
> > + status = "ok";
> > +
> > + mdp@fd90 {
> > + status = "ok";
> > + };
> > +
> > + dsi@fd922800 {
> > + status =
Hi Bjorn,
On Mon Sep 28, 2020 at 8:15 PM, Bjorn Andersson wrote:
> The Light Pulse Generator (LPG) is a PWM-block found in a wide range of
> PMICs from Qualcomm. It can operate on fixed parameters or based on a
> lookup-table, altering the duty cycle over time - which provides the
> means for
The function iommu_domain_alloc returns NULL on platforms without IOMMU
such as msm8974. This resulted in PTR_ERR(-ENODEV) being assigned to
gpu->aspace so the correct code path wasn't taken.
Fixes: ccac7ce373c1 ("drm/msm: Refactor address space initialization")
Signed-off-b
ers/leds/Makefile|1 +
> drivers/leds/leds-qcom-lpg.c | 1190 ++
> 3 files changed, 1200 insertions(+)
> create mode 100644 drivers/leds/leds-qcom-lpg.c
Tested on msm8974 (pm8941) on the Fairphone 2, works great there!
Tested-by: Luca Weiss
Regards
Luca
of
> any of the NoCs to fix the regression.
>
> Reported-by: Luca Weiss
> Fixes: b1d681d8d324 ("interconnect: Add sync state support")
> Signed-off-by: Georgi Djakov
Tested-by: Luca Weiss
> ---
> drivers/interconnect/qcom/msm8974.c | 9 +
> 1 file changed
On Freitag, 24. Mai 2019 11:20:01 CEST Maxime Ripard wrote:
>
> It would be great to drop the -keys from the compatible, and to
> document the bindings
>
> Looks good otherwise
>
> Maxime
Hi again,
So I should just document the "allwinner,sun50i-a64-lradc" string in
Suggested-by: Rob Clark
> Fixes: 2d99ced787e3d ("drm/msm: async commit support")
> ---
I've tested this now on fairphone-fp2 and lge-nexus5-hammerhead, works great!
Tested-by: Luca Weiss
Regards
Luca
OCMEM driver")
Signed-off-by: Luca Weiss
---
drivers/soc/qcom/ocmem.c | 8 +++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/drivers/soc/qcom/ocmem.c b/drivers/soc/qcom/ocmem.c
index 7f9e9944d1ea..f1875dc31ae2 100644
--- a/drivers/soc/qcom/ocmem.c
+++ b/drivers/soc/qc
Hi Brian,
how about something like that (formatting is surely broken because I'm not
sending this with git-send-email^^)?
I'd says this should be work fine with all devices as all modes are defined in
the device-specific dts but the reg and offset values are in the board dts.
Should I also add
This enables userspace to signal the bootloader to go into the
bootloader or recovery mode.
The magic values can be found in both the downstream kernel and the LK
kernel (bootloader).
Reviewed-by: Brian Masney
Signed-off-by: Luca Weiss
---
Changes v1 -> v2:
- Move the majority of the n
On May 20, 2019 1:07:42 PM GMT+02:00, Maxime Ripard
> > >
> > > wrote:
> > >> >On Sat, May 18, 2019 at 07:09:30PM +0200, Luca Weiss wrote:
> > >> >> Add a node describing the KEYADC on the A64.
> > >> >>
> > >> >
execution failed: -5
[ 137.569832] mmcblk0: error -110 requesting status
[ 137.593558] mmcblk0: recovery failed!
With this patch, there are no more sdhci errors and booting works fine.
Signed-off-by: Luca Weiss
---
arch/arm/boot/dts/qcom-msm8974-fairphone-fp2.dts | 2 ++
1 file changed, 2
The gpio is not used for SD card detection on the FP2.
Signed-off-by: Luca Weiss
---
arch/arm/boot/dts/qcom-msm8974-fairphone-fp2.dts | 10 +-
1 file changed, 1 insertion(+), 9 deletions(-)
diff --git a/arch/arm/boot/dts/qcom-msm8974-fairphone-fp2.dts
b/arch/arm/boot/dts/qcom-msm8974
Hi Maxime,
On Mittwoch, 29. Juli 2020 14:34:44 CEST Maxime Ripard wrote:
> Hi!
>
> On Sat, Jul 25, 2020 at 01:08:12PM +0200, Luca Weiss wrote:
> > All revisions of the PinePhone have an SGM3140 LED flash. The gpios were
> > swapped on v1.0 of the board but this was fix
All revisions of the PinePhone have an SGM3140 LED flash. The gpios were
swapped on v1.0 of the board but this was fixed in later revisions.
Signed-off-by: Luca Weiss
---
.../boot/dts/allwinner/sun50i-a64-pinephone-1.0.dts | 5 +
.../boot/dts/allwinner/sun50i-a64-pinephone-1.1.dts | 5
This enables userspace to signal the bootloader to go into the
bootloader or recovery mode.
The magic values can be found in both the downstream kernel and the LK
kernel (bootloader).
Signed-off-by: Luca Weiss
---
Sidenote: Why are there no userspace tools to be found that support
this? Anyways
Parse async sub-devices related to the sensor by switching the async
sub-device registration function.
Signed-off-by: Luca Weiss
---
drivers/media/i2c/ov5640.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/media/i2c/ov5640.c b/drivers/media/i2c/ov5640.c
index
On Freitag, 21. Juni 2019 02:01:22 CEST you wrote:
> I think that it makes sense to put this snippet in qcom-msm8974.dtsi
> with a status of disabled, and then enable it in
> qcom-msm8974-fairphone-fp2.dts like so:
>
> imem@fe805000 {
> status = "ok";
> };
Do you want me to put the whole
This adds the necessary registers and audio routes to play audio using
the Earpiece, that's supported on the A64.
Signed-off-by: Luca Weiss
---
So, first of all: This is my first audio patch and I hope I didn't make
too many mistakes :) , especially with the routes at the bottom of
the patch
On Montag, 3. Juni 2019 09:42:47 CEST Maxime Ripard wrote:
> Hi,
>
> On Fri, May 31, 2019 at 12:27:55PM +0200, Luca Weiss wrote:
> > On Freitag, 24. Mai 2019 11:20:01 CEST Maxime Ripard wrote:
> > > It would be great to drop the -keys from the compatible, and to
>
From: Martijn Braam
The stk3335 light/proximity sensor is similar to the stk3310 and stk3311
sensors and works with the stk3310 driver.
Signed-off-by: Martijn Braam
Signed-off-by: Luca Weiss
---
drivers/iio/light/stk3310.c | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff
Add a node describing the KEYADC on the A64.
Signed-off-by: Luca Weiss
---
.../devicetree/bindings/input/sun4i-lradc-keys.txt| 1 +
arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 8
2 files changed, 9 insertions(+)
diff --git a/Documentation/devicetree/bindings
devicetree
patch was squashed into the driver patch by the maintainer while merging. I'll
fix this up asap.
Luca
On Dienstag, 4. Juni 2019 16:59:07 CEST Maxime Ripard wrote:
> Hi Luca,
>
> On Tue, Jun 04, 2019 at 04:42:53PM +0200, Luca Weiss wrote:
> > Add a node describing the KE
Add a node describing the KEYADC on the A64.
Signed-off-by: Luca Weiss
---
Changes since v1:
- Use a a64 compatible with a fallback to the a83t one (the A64 also
uses a 3/4 voltage divider, as is the case with the A83T)
- Correct the reg property (size 0x100 => 0x400)
arch/arm64/boot/
Add the A64 compatible with a fallback to the A83T compatible.
Signed-off-by: Luca Weiss
---
Changes from v1:
- New patch. Document new compatible string.
Documentation/devicetree/bindings/input/sun4i-lradc-keys.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree
Add binding documentation for the stk33xx family of ambient light
sensors.
Signed-off-by: Luca Weiss
---
.../bindings/iio/light/stk33xx.yaml | 49 +++
1 file changed, 49 insertions(+)
create mode 100644 Documentation/devicetree/bindings/iio/light/stk33xx.yaml
diff
Sensortek Technology Corp. produces Proximity Sensors with ALS and
Accelerometers.
Signed-off-by: Luca Weiss
---
This patch series depends on "iio: light: stk3310: Add support for
stk3335", that's curerntly in linux-next.
Documentation/devicetree/bindings/vendor-prefixes.yaml | 2
Add device tree support for the stk33xx family of ambient light sensors.
Tested-by: Martijn Braam
Signed-off-by: Luca Weiss
---
drivers/iio/light/stk3310.c | 9 +
1 file changed, 9 insertions(+)
diff --git a/drivers/iio/light/stk3310.c b/drivers/iio/light/stk3310.c
index b955183edfe8
This adds the necessary registers and audio routes to play audio using
the Earpiece, that's supported on the A64.
Signed-off-by: Luca Weiss
---
Changes v1 -> v2:
* Make the earpiece enable register a DAPM widget
* Adjust the audio routes to include the new Earpiece Amp widget
* Left/Right Ana
On Freitag, 26. Juli 2019 00:18:47 CEST Amit Kucheria wrote:
> Register upper-lower interrupt for the tsens controller.
>
> Signed-off-by: Amit Kucheria
> ---
> Cc: masn...@onstation.org
>
> arch/arm/boot/dts/qcom-msm8974.dtsi | 36 +++--
> 1 file changed, 19
On Montag, 29. Juli 2019 11:07:35 CEST Brian Masney wrote:
> On Sat, Jul 27, 2019 at 12:58:54PM +0530, Amit Kucheria wrote:
> > On Fri, Jul 26, 2019 at 4:59 PM Brian Masney wrote:
> > > On Fri, Jul 26, 2019 at 04:40:16PM +0530, Amit Kucheria wrote:
> > > > How well does cpufreq work on 8974? I
On Freitag, 12. April 2019 19:43:52 CEST Stephen Boyd wrote:
> Quoting Luca Weiss (2019-04-12 08:06:24)
>
> > diff --git a/drivers/input/misc/gpio-vibra.c
> > b/drivers/input/misc/gpio-vibra.c new file mode 100644
> > index ..3fd2dfd4f670
> > --- /dev/nul
On Freitag, 12. April 2019 17:06:23 CEST Luca Weiss wrote:
> Provide a simple driver for GPIO controllable vibrators.
> It will be used by the Fairphone 2.
>
> Signed-off-by: Luca Weiss
> ---
> .../bindings/input/gpio-vibrator.txt | 20 +++
>
Provide a simple driver for GPIO controllable vibrators.
It will be used by the Fairphone 2.
Signed-off-by: Luca Weiss
Reviewed-by: Rob Herring
---
Changes for v5:
- Simply compatible property definition
- Remove reference to regulator schema
.../bindings/input/gpio-vibrator.yaml | 37
Add a node describing the vibration motor on the Fairphone 2.
Signed-off-by: Luca Weiss
---
arch/arm/boot/dts/qcom-msm8974-fairphone-fp2.dts | 6 ++
1 file changed, 6 insertions(+)
diff --git a/arch/arm/boot/dts/qcom-msm8974-fairphone-fp2.dts
b/arch/arm/boot/dts/qcom-msm8974-fairphone-fp2
Provide a simple driver for GPIO controllable vibrators.
It will be used by the Fairphone 2.
Signed-off-by: Luca Weiss
---
drivers/input/misc/Kconfig | 12 ++
drivers/input/misc/Makefile | 1 +
drivers/input/misc/gpio-vibra.c | 209
3 files changed
Provide a simple driver for GPIO controllable vibrators.
It will be used by the Fairphone 2.
Signed-off-by: Luca Weiss
---
Changes from v3:
- Convert .txt based doc to the new yaml based format
.../bindings/input/gpio-vibrator.yaml | 39 +++
1 file changed, 39
Signed-off-by: Luca Weiss
---
arch/arm/boot/dts/qcom-msm8974-fairphone-fp2.dts | 6 ++
1 file changed, 6 insertions(+)
diff --git a/arch/arm/boot/dts/qcom-msm8974-fairphone-fp2.dts
b/arch/arm/boot/dts/qcom-msm8974-fairphone-fp2.dts
index 643c57f84818..bf402ae39226 100644
--- a/arch/arm
Provide a simple driver for GPIO controllable vibrators.
It will be used by the Fairphone 2.
Signed-off-by: Luca Weiss
---
Changes from v3:
- Apply suggestions from Stephen Boyd
drivers/input/misc/Kconfig | 12 ++
drivers/input/misc/Makefile | 1 +
drivers/input/misc/gpio-vibra.c
Add a node describing the KEYADC on the A64.
Signed-off-by: Luca Weiss
---
arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 7 +++
1 file changed, 7 insertions(+)
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi
b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi
index 7734f70e1057
200, Luca Weiss wrote:
> > Provide a simple driver for GPIO controllable vibrators.
> > It will be used by the Fairphone 2.
> >
> > Signed-off-by: Luca Weiss
> > ---
> >
> > drivers/input/misc/Kconfig | 12 ++
> > drivers/input/misc/Makefi
Signed-off-by: Luca Weiss
---
arch/arm/boot/dts/qcom-msm8974-fairphone-fp2.dts | 6 ++
1 file changed, 6 insertions(+)
diff --git a/arch/arm/boot/dts/qcom-msm8974-fairphone-fp2.dts
b/arch/arm/boot/dts/qcom-msm8974-fairphone-fp2.dts
index 643c57f84818..bf402ae39226 100644
--- a/arch/arm
Provide a simple driver for GPIO controllable vibrators.
It will be used by the Fairphone 2.
Signed-off-by: Luca Weiss
---
Changes from v1:
- Mark vcc-supply as optional
.../bindings/input/gpio-vibrator.txt | 20 +++
1 file changed, 20 insertions(+)
create mode 100644
Provide a simple driver for GPIO controllable vibrators.
It will be used by the Fairphone 2.
Signed-off-by: Luca Weiss
---
drivers/input/misc/Kconfig | 12 ++
drivers/input/misc/Makefile | 1 +
drivers/input/misc/gpio-vibra.c | 214
3 files changed
Signed-off-by: Luca Weiss
---
arch/arm/boot/dts/qcom-msm8974-fairphone-fp2.dts | 6 ++
1 file changed, 6 insertions(+)
diff --git a/arch/arm/boot/dts/qcom-msm8974-fairphone-fp2.dts
b/arch/arm/boot/dts/qcom-msm8974-fairphone-fp2.dts
index 643c57f84818..bf402ae39226 100644
--- a/arch/arm
Provide a simple driver for GPIO controllable vibrators.
It will be used by the Fairphone 2.
Signed-off-by: Luca Weiss
---
drivers/input/misc/Kconfig | 12 ++
drivers/input/misc/Makefile | 1 +
drivers/input/misc/gpio-vibra.c | 209
3 files changed
Provide a simple driver for GPIO controllable vibrators.
It will be used by the Fairphone 2.
Signed-off-by: Luca Weiss
---
.../bindings/input/gpio-vibrator.txt | 20 +++
1 file changed, 20 insertions(+)
create mode 100644 Documentation/devicetree/bindings/input/gpio
)
[4.294933] ---[ end trace 18729cc2bca2b4b3 ]---
Signed-off-by: Luca Weiss
---
drivers/gpu/drm/msm/msm_gem_vma.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/msm/msm_gem_vma.c
b/drivers/gpu/drm/msm/msm_gem_vma.c
index 49c04829cf34..fcf7a83f0e6f 100644
Provide a simple driver for GPIO controllable vibrators.
It will be used by the Fairphone 2.
Signed-off-by: Luca Weiss
---
.../devicetree/bindings/input/gpio-vibrator.txt | 16
1 file changed, 16 insertions(+)
create mode 100644 Documentation/devicetree/bindings/input/gpio
Provide a simple driver for GPIO controllable vibrators.
It will be used by the Fairphone 2.
Signed-off-by: Luca Weiss
---
drivers/input/misc/Kconfig | 12 ++
drivers/input/misc/Makefile | 1 +
drivers/input/misc/gpio-vibra.c | 214
3 files changed
Configure the mount matrix to account for the sensor placement on the
board.
Signed-off-by: Luca Weiss
---
arch/arm/boot/dts/qcom-msm8974-lge-nexus5-hammerhead.dts | 4
1 file changed, 4 insertions(+)
diff --git a/arch/arm/boot/dts/qcom-msm8974-lge-nexus5-hammerhead.dts
b/arch/arm/boot
On Tue Sep 5, 2023 at 10:30 AM CEST, Luca Weiss wrote:
> On Thu Aug 31, 2023 at 2:27 PM CEST, Dmitry Baryshkov wrote:
> > On Thu, 31 Aug 2023 at 14:54, Krzysztof Kozlowski
> > wrote:
> > >
> > > On 31/08/2023 13:33, Dmitry Baryshkov wrote:
> > >
On Mon Sep 11, 2023 at 11:44 AM CEST, Krzysztof Kozlowski wrote:
> On 11/09/2023 10:34, Luca Weiss wrote:
> > On Tue Sep 5, 2023 at 10:30 AM CEST, Luca Weiss wrote:
> >> On Thu Aug 31, 2023 at 2:27 PM CEST, Dmitry Baryshkov wrote:
> >>> On Thu, 31 Aug 2023
amount of
time.
This behavior has been observed on both msm8974 and msm8226 smartphones.
Signed-off-by: Luca Weiss
---
Matti Lehtimäki (3):
dt-bindings: watchdog: qcom-wdt: Add MSM8226 and MSM8974 compatibles
ARM: dts: qcom: msm8226: Add watchdog node
ARM: dts: qcom: msm8974: Add
From: Matti Lehtimäki
Add watchdog for MSM8974 platform.
Signed-off-by: Matti Lehtimäki
Signed-off-by: Luca Weiss
---
arch/arm/boot/dts/qcom/qcom-msm8974.dtsi | 8
1 file changed, 8 insertions(+)
diff --git a/arch/arm/boot/dts/qcom/qcom-msm8974.dtsi
b/arch/arm/boot/dts/qcom/qcom
From: Matti Lehtimäki
Add compatibles for the MSM8226 and MSM8974 platforms to the Qualcomm
watchdog binding.
Signed-off-by: Matti Lehtimäki
Signed-off-by: Luca Weiss
---
Documentation/devicetree/bindings/watchdog/qcom-wdt.yaml | 2 ++
1 file changed, 2 insertions(+)
diff --git
From: Matti Lehtimäki
Add watchdog for MSM8226 platform.
Signed-off-by: Matti Lehtimäki
Signed-off-by: Luca Weiss
---
arch/arm/boot/dts/qcom/qcom-msm8226.dtsi | 8
1 file changed, 8 insertions(+)
diff --git a/arch/arm/boot/dts/qcom/qcom-msm8226.dtsi
b/arch/arm/boot/dts/qcom/qcom
*dev)
---
base-commit: 2933a1156742d8c47550493a77af8e2d81cf3c84
change-id: 20231011-msm8953-iommu-restore-fabc2e31fee7
Best regards,
--
Luca Weiss
Add the vendor prefix for HTC (https://www.htc.com/).
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/devicetree/bindings/vendor
Add support for this smartphone based on the MSM8926 SoC, codenamed
"memul".
Supported functionality:
* Power & volume buttons
* ADSP
* Magnetometer
* Accelerometer
* Touchscreen
* Vibrator
* Internal storage
* SD card
* Charger
* USB
Signed-off-by: Luca Weiss
---
arch/arm
, sorry)
Signed-off-by: Luca Weiss
---
Luca Weiss (3):
dt-bindings: vendor-prefixes: document HTC Corporation
dt-bindings: arm: qcom: Add HTC One Mini 2
ARM: dts: qcom: Add support for HTC One Mini 2
Documentation/devicetree/bindings/arm/qcom.yaml| 1 +
.../devicetree/bindings/
Document the compatible for the MSM8926-based HTC One Mini 2 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
parameter in the endpoint node to swap
this in the driver.
The parse_data_lanes_mapping function is mostly taken from nb7vpq904m.c.
Signed-off-by: Luca Weiss
---
drivers/usb/typec/mux/fsa4480.c | 81 +
1 file changed, 81 insertions(+)
diff --git a/drivers/usb
Allow specifying data-lanes to reverse the SBU muxing orientation where
necessary by the hardware design.
Signed-off-by: Luca Weiss
---
.../devicetree/bindings/usb/fcs,fsa4480.yaml | 29 +-
1 file changed, 28 insertions(+), 1 deletion(-)
diff --git a/Documentation
The Orient-Chip OCP96011 is generally compatible with the FSA4480, add a
compatible for it with the fallback on fsa4480.
However the AUX/SBU connections are expected to be swapped compared to
FSA4480, so document this in the data-lanes description.
Signed-off-by: Luca Weiss
---
Documentation
no reversing would be
needed, as explained above.
However I think the current solution with data-lanes in the endpoint is
the best fit and is also already used for a similar purpose in another
USB mux driver.
Signed-off-by: Luca Weiss
---
Luca Weiss (3):
dt-bindings: usb: fsa4480: Add data-lanes
On Fri Oct 13, 2023 at 10:38 AM CEST, Krzysztof Kozlowski wrote:
> On 13/10/2023 10:09, Luca Weiss wrote:
> > Add the defines for the ADC channels found on the PM7325. The list is
> > taken from downstream msm-5.4 and adjusted for mainline.
>
> Please use subject prefixes m
It can be useful to know with which return value for example the
typec_retimer_set call failed, so include this info in the dev_err
prints.
Signed-off-by: Luca Weiss
---
Changes in v2:
- Add ret to print in more prints, not just typec_retimer_set (Bjorn)
- Link to v1:
https://lore.kernel.org/r
On Tue Oct 17, 2023 at 11:01 AM CEST, Heikki Krogerus wrote:
> Hi Luca,
>
> On Fri, Oct 13, 2023 at 01:38:06PM +0200, Luca Weiss wrote:
> > On some hardware designs the AUX+/- lanes are connected reversed to
> > SBU1/2 compared to the expected design by FSA4480.
> >
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
---
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
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
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
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
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
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:
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:
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
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
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
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
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:
> >>
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
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
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
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:
> >
:
https://lore.kernel.org/linux-arm-msm/20230407-pm7250b-sid-v1-2-fc648478c...@fairphone.com/
Signed-off-by: Luca Weiss
---
Changes in v2:
- Add comments why nodes in sc7280.dtsi get disabled (Konrad)
- Mark more nodes in sc7280.dtsi as reserved
- Don't allow writing qfprom when (optional) clock
spi, etc
Signed-off-by: Luca Weiss
---
arch/arm64/boot/dts/qcom/Makefile | 1 +
arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts | 667 +
2 files changed, 668 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/Makefile
b/arch/arm64/boot/dts/qcom/Make
Add a node for the led controller found on PM8350C, used for flash and
torch purposes.
Signed-off-by: Luca Weiss
---
arch/arm64/boot/dts/qcom/pm8350c.dtsi | 6 ++
1 file changed, 6 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/pm8350c.dtsi
b/arch/arm64/boot/dts/qcom/pm8350c.dtsi
Like other Qualcomm PMICs the PM7250B can be used on different addresses
on the SPMI bus. Use similar defines like the PMK8350 to make this
possible but skip the ifndef based on maintainer feedback.
Signed-off-by: Luca Weiss
---
arch/arm64/boot/dts/qcom/pm7250b.dtsi | 14
On some platforms like sc7280 on non-ChromeOS devices the core clock
cannot be touched by Linux so we cannot provide it. Mark it as optional
as accessing qfprom for reading works without it but we still prohibit
writing if we cannot provide the clock.
Signed-off-by: Luca Weiss
---
drivers/nvmem
With the standard Qualcomm TrustZone setup, components such as lpasscc,
pdc_reset and watchdog shouldn't be touched by Linux. Mark them with
the status 'reserved' and reenable them in the chrome-common dtsi.
Signed-off-by: Luca Weiss
---
arch/arm64/boot/dts/qcom/sc7280-chrome-common.dtsi | 24
Allow the gpio-reserved-ranges property on SC7280 TLMM.
Acked-by: Linus Walleij
Acked-by: Krzysztof Kozlowski
Signed-off-by: Luca Weiss
---
Documentation/devicetree/bindings/pinctrl/qcom,sc7280-pinctrl.yaml | 4
1 file changed, 4 insertions(+)
diff --git a/Documentation/devicetree
Fairphone 5 is a smartphone based on the QCM6490 SoC.
Signed-off-by: Luca Weiss
---
Documentation/devicetree/bindings/arm/qcom.yaml | 6 ++
1 file changed, 6 insertions(+)
diff --git a/Documentation/devicetree/bindings/arm/qcom.yaml
b/Documentation/devicetree/bindings/arm/qcom.yaml
index
On Samstag, 23. September 2023 13:35:25 CEST Stephan Gerhold wrote:
> On Sat, Sep 23, 2023 at 01:19:46PM +0200, Luca Weiss wrote:
> > On Samstag, 23. September 2023 12:00:52 CEST Stephan Gerhold wrote:
> > > On Sat, Sep 23, 2023 at 11:32:47AM +0200, Luca Weiss wrote
Hi Matti,
On Samstag, 23. September 2023 00:40:26 CEST Matti Lehtimäki wrote:
> Add pin <-> wakeirq mappings to allow for waking up the AP from sleep
> through MPM-connected pins.
>
> Signed-off-by: Matti Lehtimäki
> ---
> drivers/pinctrl/qcom/pinctrl-msm8226.c | 12
> 1 file
1 - 100 of 416 matches
Mail list logo