~z3ntu

Vienna

https://z3ntu.xyz

~z3ntu/openrazer

Last active 1 year, 11 months ago
View more

Recent activity

[PATCH] drm/msm/adreno: fix probe without iommu a month 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) 2 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 2 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 3 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]

[PATCH dispatch.sr.ht] Indicate a successful 'Save' in github_commit_to_build 5 months ago

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

Previously there was no sign of the 'Save changes' button doing
anything. Now it displays the 'Changes saved.' message already present
on other pages, such as github_pr_to_build.
---
 dispatchsrht/tasks/github/github_commit_to_build.py | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/dispatchsrht/tasks/github/github_commit_to_build.py b/dispatchsrht/tasks/github/github_commit_to_build.py
index e6b2892..d7ff279 100644
--- a/dispatchsrht/tasks/github/github_commit_to_build.py
+++ b/dispatchsrht/tasks/github/github_commit_to_build.py
@@ -6,6 +6,7 @@ from dispatchsrht.tasks.github.common import githubloginrequired
from dispatchsrht.tasks.github.common import submit_github_build
from dispatchsrht.types import Task
[message trimmed]

Re: [PATCH v3 2/2] leds: add sgm3140 driver 5 months ago

From Luca Weiss to ~postmarketos/upstreaming

On Montag, 27. April 2020 11:51:02 CEST Pavel Machek wrote:
> Hi!
> 
> > Add a driver for the SGMICRO SGM3140 Buck/Boost Charge Pump LED driver.
> > 
> > This device is controlled by two GPIO pins, one for enabling and the
> > second one for switching between torch and flash mode.
> > 
> > Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
> 
> Thanks, applied, but... I may remove it again.
> 
> > +++ b/drivers/leds/leds-sgm3140.c
> > @@ -0,0 +1,320 @@

[PATCH v3 2/2] leds: add sgm3140 driver 6 months ago

From Luca Weiss to ~postmarketos/upstreaming

Add a driver for the SGMICRO SGM3140 Buck/Boost Charge Pump LED driver.

This device is controlled by two GPIO pins, one for enabling and the
second one for switching between torch and flash mode.

Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
---
Changes since v2:
 - switch from of to fwnode API

 drivers/leds/Kconfig        |   8 +
 drivers/leds/Makefile       |   1 +
 drivers/leds/leds-sgm3140.c | 320 ++++++++++++++++++++++++++++++++++++
 3 files changed, 329 insertions(+)
[message trimmed]

[PATCH v3 1/2] dt-bindings: leds: Add binding for sgm3140 6 months ago

From Luca Weiss to ~postmarketos/upstreaming

Add YAML devicetree binding for SGMICRO SGM3140 charge pump used for
camera flash LEDs.

Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
Reviewed-by: Dan Murphy <dmurphy@ti.com>
Reviewed-by: Rob Herring <robh@kernel.org>
---
Changes since v2:
 - add 'type: object' to led property
 - rename dt node in example from sgm3140 to led-controller to match dt spec

 .../bindings/leds/leds-sgm3140.yaml           | 62 +++++++++++++++++++
 1 file changed, 62 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/leds/leds-sgm3140.yaml
[message trimmed]

[PATCH v3 0/2] Add sgm3140 flash led driver 6 months ago

From Luca Weiss to ~postmarketos/upstreaming

This series introduces a driver for the SGMICRO SGM3140 charge pump
used in the PinePhone smartphone.

Luca Weiss (2):
  dt-bindings: leds: Add binding for sgm3140
  leds: add sgm3140 driver

 .../bindings/leds/leds-sgm3140.yaml           |  62 ++++
 drivers/leds/Kconfig                          |   8 +
 drivers/leds/Makefile                         |   1 +
 drivers/leds/leds-sgm3140.c                   | 320 ++++++++++++++++++
 4 files changed, 391 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/leds/leds-sgm3140.yaml
 create mode 100644 drivers/leds/leds-sgm3140.c

Re: [PATCH v2 2/2] leds: add sgm3140 driver 6 months ago

From Luca Weiss to ~postmarketos/upstreaming

Hi Andy,

On Samstag, 4. April 2020 11:58:31 CEST Andy Shevchenko wrote:
> On Mon, Mar 30, 2020 at 10:49 PM Luca Weiss <luca@z3ntu.xyz> wrote:
> > Add a driver for the SGMICRO SGM3140 Buck/Boost Charge Pump LED driver.
> > 
> > This device is controlled by two GPIO pins, one for enabling and the
> > second one for switching between torch and flash mode.
> 
> ...
> 
> > +config LEDS_SGM3140
> > +       tristate "LED support for the SGM3140"
> > +       depends on LEDS_CLASS_FLASH