~z3ntu

Vienna

https://z3ntu.xyz

~z3ntu/openrazer

Last active 2 years ago
View more

Recent activity

[RFC PATCH] soc: qcom: socinfo: import PMIC IDs from pmic-spmi 7 days ago

From Luca Weiss to ~postmarketos/upstreaming

The driver in drivers/mfd/qcom-spmi-pmic.c has a more complete and more
up-to-date list of PMICs with the respective IDs. Use those names for
socinfo.

Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
---
I'm sending this as RFC because I'm not sure what names are correct for
the IDs that I've replaced (13, 16, 17, 20, 21, 24).
For PM8941, PM8841, PM8226 and PMA8084 I'm quite sure that the IDs are
correct, but I don't have devices with the other PMICs. Please advise
what to do.

 drivers/soc/qcom/socinfo.c | 24 ++++++++++++++++++------
 1 file changed, 18 insertions(+), 6 deletions(-)
[message trimmed]

[PATCH] soc: qcom: socinfo: Add more IDs 7 days ago

From Luca Weiss to ~postmarketos/upstreaming

Add the IDs for the following families of chips: 8064, 8226, 8610, 8625Q

Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
---
 drivers/soc/qcom/socinfo.c | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/drivers/soc/qcom/socinfo.c b/drivers/soc/qcom/socinfo.c
index f6cfb79338f0..63f14a2a4ef2 100644
--- a/drivers/soc/qcom/socinfo.c
+++ b/drivers/soc/qcom/socinfo.c
@@ -195,11 +195,30 @@ static const struct soc_id soc_id[] = {
	{ 139, "APQ8060AB" },
	{ 140, "MSM8260AB" },
[message trimmed]

[PATCH] ARM: dts: qcom: msm8974-hammerhead: add mount matrix for IMU a month ago

From Luca Weiss to ~postmarketos/upstreaming

Configure the mount matrix to account for the sensor placement on the
board.

Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
---
 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/dts/qcom-msm8974-lge-nexus5-hammerhead.dts
index e344007cf93f..924b0bd744b9 100644
--- a/arch/arm/boot/dts/qcom-msm8974-lge-nexus5-hammerhead.dts
+++ b/arch/arm/boot/dts/qcom-msm8974-lge-nexus5-hammerhead.dts
@@ -567,6 +567,10 @@ mpu6515@68 {
			pinctrl-names = "default";
[message trimmed]

Re: [PATCH] drm/msm/mdp5: Fix wait-for-commit for cmd panels 3 months ago

From Luca Weiss to ~postmarketos/upstreaming

Hi Iskren,

On Mittwoch, 27. Jänner 2021 16:24:40 CET Iskren Chernev wrote:
> Before the offending commit in msm_atomic_commit_tail wait_flush was
> called once per frame, after the commit was submitted. After it
> wait_flush is also called at the beginning to ensure previous
> potentially async commits are done.
> 
> For cmd panels the source of wait_flush is a ping-pong irq notifying
> a completion. The completion needs to be notified with complete_all so
> multiple waiting parties (new async committers) can proceed.
> 
> Signed-off-by: Iskren Chernev <iskren.chernev@gmail.com>
> Suggested-by: Rob Clark <robdclark@gmail.com>

[PATCH] soc: qcom: ocmem: don't return NULL in of_get_ocmem 3 months ago

From Luca Weiss to ~postmarketos/upstreaming

If ocmem probe fails for whatever reason, of_get_ocmem returned NULL.
Without this, users must check for both NULL and IS_ERR on the returned
pointer - which didn't happen in drivers/gpu/drm/msm/adreno/adreno_gpu.c
leading to a NULL pointer dereference.

Fixes: 88c1e9404f1d ("soc: qcom: add OCMEM driver")
Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
---
 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
[message trimmed]

Re: [PATCH 3/4] ARM: dts: qcom: msm8974-klte: add support for display 3 months ago

From Luca Weiss to ~postmarketos/upstreaming

Hi Konrad,

On Sonntag, 24. Jänner 2021 16:04:13 CET Konrad Dybcio wrote:
> > +	mdss@fd900000 {
> > +		status = "ok";
> > +
> > +		mdp@fd900000 {
> > +			status = "ok";
> > +		};
> > +
> > +		dsi@fd922800 {
> > +			status = "ok";
> > +
> > +			vdda-supply = <&pma8084_l2>;

[PATCH] drm/msm/adreno: fix probe without iommu 7 months ago

From Luca Weiss to ~postmarketos/upstreaming

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-by: Luca Weiss <luca@z3ntu.xyz>
---
 drivers/gpu/drm/msm/adreno/adreno_gpu.c | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/msm/adreno/adreno_gpu.c b/drivers/gpu/drm/msm/adreno/adreno_gpu.c
index 862dd35b27d3..6e8bef1a9ea2 100644
--- a/drivers/gpu/drm/msm/adreno/adreno_gpu.c
+++ b/drivers/gpu/drm/msm/adreno/adreno_gpu.c
[message trimmed]

Arch Linux package problem (signature invalid) 9 months ago

From Luca Weiss to ~sircmpwn/sr.ht-discuss

Hi, when upgrading the builds.sr.ht package on Arch Linux I'm getting the 
following error since a couple of days:

error: builds.sr.ht: signature from "SourceHut Arch Linux <archlinux@sr.ht>" 
is invalid
:: File /var/cache/pacman/pkg/builds.sr.ht-0.61.0-1-any.pkg.tar.zst is 
corrupted (invalid or corrupted package (PGP signature)).

I'm guessing a simple rebuild of the package should be sufficient to fix whatever 
happened here?

Thanks,
Luca

Re: [PATCH] arm64: dts: sun50i-pinephone: add led flash 9 months ago

From Luca Weiss to ~postmarketos/upstreaming

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 fixed in later revisions.
> > 
> > Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
> > ---
> > 
> >  .../boot/dts/allwinner/sun50i-a64-pinephone-1.0.dts   |  5 +++++
> >  .../boot/dts/allwinner/sun50i-a64-pinephone-1.1.dts   |  5 +++++

[PATCH] arm64: dts: sun50i-pinephone: add led flash 9 months ago

From Luca Weiss to ~postmarketos/upstreaming

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 <luca@z3ntu.xyz>
---
 .../boot/dts/allwinner/sun50i-a64-pinephone-1.0.dts   |  5 +++++
 .../boot/dts/allwinner/sun50i-a64-pinephone-1.1.dts   |  5 +++++
 .../boot/dts/allwinner/sun50i-a64-pinephone-1.2.dts   |  5 +++++
 .../boot/dts/allwinner/sun50i-a64-pinephone.dtsi      | 11 +++++++++++
 4 files changed, 26 insertions(+)

diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone-1.0.dts b/arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone-1.0.dts
index 0c42272106afa..b579b03d4e026 100644
--- a/arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone-1.0.dts
[message trimmed]