[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <050724b3-aed6-41d3-b2b4-18b90fbf0ad3@cherry.de>
Date: Thu, 26 Sep 2024 15:24:03 +0200
From: Quentin Schulz <quentin.schulz@...rry.de>
To: Jakob Unterwurzacher <jakobunt@...il.com>
Cc: heiko@...ech.de, linux-kernel@...r.kernel.org,
linux-rockchip@...ts.infradead.org,
Jakob Unterwurzacher <jakob.unterwurzacher@...rry.de>
Subject: Re: [PATCH v2] arm64: dts: rockchip: add attiny_rst_gate to Ringneck
Hi Jakob,
On 9/26/24 3:20 PM, Jakob Unterwurzacher wrote:
> Ringneck v1.4 can contain (placement option) an on-board ATtiny
> microcontroller instead of an STM32. In normal operation, this
> is transparent to the software, as both microcontrollers emulate
> the same ICs (amc6821 and isl1208).
>
> For flashing the ATtiny, the SWITCH_REG1 regulator of the board's PMIC is
> used to enable the ATtiny UPDI debug interface. If the STM32 is placed, or if
> we are running on an older Ringneck revision, SWITCH_REG1 is not connected
> and has no effect.
>
> Add attiny-updi-gate-regulator so userspace can control it via sysfs
> (needs CONFIG_REGULATOR_USERSPACE_CONSUMER):
>
> echo enabled > /sys/devices/platform/attiny-updi-gate-regulator/state
>
> Signed-off-by: Jakob Unterwurzacher <jakob.unterwurzacher@...rry.de>
> Tested-by: Quentin Schulz <quentin.schulz@...rry.de>
Reviewed-by: Quentin Schulz <quentin.schulz@...rry.de>
This is a candidate for backporting to stable branches as well I assume,
@Heiko?
Thanks!
Quentin
Powered by blists - more mailing lists