As the A64 is designed for use in mobile devices without easy access to
a UART, MMC0, or a FEL button, it would be useful to be able to reboot
to FEL mode, fastboot, etc. via a command from Linux. As reboot(2)
supports passing a command with LINUX_REBOOT_CMD_RESTART2, and we have
battery-backed
Store a reboot mode in one of the RTC's general purpose registers.
This value can be used by U-Boot or another bootlader, for example to
enter FEL or fastboot mode.
Signed-off-by: Samuel Holland
---
arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 17 +
1 file changed, 17
The sun6i RTC provides 64 bytes of general-purpose data registers.
They can be used to save data in the always-on RTC power domain.
The registers are writable via 32-bit MMIO accesses only.
Expose the region as a NVMEM provider so it can be used by userspace and
other drivers.
Signed-off-by:
On 1/18/21 7:05 PM, Andre Przywara wrote:
> The #ifdef CONFIG_xxxPWR conditionals were not working as expected, as
> string Kconfig symbols are always "defined" from the preprocessor's
> perspective. This lead to unnecessary calls to the GPIO routines, but
> also always added a half a second delay
The #ifdef CONFIG_xxxPWR conditionals were not working as expected, as
string Kconfig symbols are always "defined" from the preprocessor's
perspective. This lead to unnecessary calls to the GPIO routines, but
also always added a half a second delay to wait for a SATA disk to power
up. Many thanks
On Mon, Jan 18, 2021 at 11:53 PM Andre Przywara wrote:
>
> On Mon, 18 Jan 2021 14:28:54 +0100
> Maxime Ripard wrote:
>
> Hi Maxime,
>
> > On Mon, Jan 18, 2021 at 02:08:29AM +, Andre Przywara wrote:
> > > From: Yangtao Li
> > >
> > > This patch adds support for A100 MMC controller, which use
On Mon, 18 Jan 2021 14:28:54 +0100
Maxime Ripard wrote:
Hi Maxime,
> On Mon, Jan 18, 2021 at 02:08:29AM +, Andre Przywara wrote:
> > From: Yangtao Li
> >
> > This patch adds support for A100 MMC controller, which use word
> > address for internal dma.
> >
> > Signed-off-by: Yangtao Li
>
On Mon, Jan 18, 2021 at 02:08:44AM +, Andre Przywara wrote:
> Use enums to group all compatible devices together on the way.
>
> Signed-off-by: Andre Przywara
> Acked-by: Rob Herring
Acked-by: Maxime Ripard
Maxime
--
You received this message because you are subscribed to the Google
On Mon, Jan 18, 2021 at 02:08:43AM +, Andre Przywara wrote:
> The USB PHY used in the Allwinner H616 SoC inherits some traits from its
> various predecessors: it has four full PHYs like the H3, needs some
> extra bits to be set like the H6, and clears a different bit in the
> PMU_UNK1 register
On Mon, Jan 18, 2021 at 02:08:42AM +, Andre Przywara wrote:
> The H616 MUSB peripheral is presumably compatible to the H3 one.
>
> Signed-off-by: Andre Przywara
Acked-by: Maxime Ripard
Maxime
--
You received this message because you are subscribed to the Google Groups
"linux-sunxi"
On Mon, Jan 18, 2021 at 02:08:41AM +, Andre Przywara wrote:
> The H616 has four PHYs as the H3, along with their respective clock
> gates and resets, so the property description is identical.
>
> However the PHYs itself need some special bits, so we need a new
> compatible string for it.
>
>
On Mon, Jan 18, 2021 at 02:08:40AM +, Andre Przywara wrote:
> As Icenowy pointed out, newer manuals (starting with H6) actually
> document the register block at offset 0x800 as "HCI controller and PHY
> interface", also describe the bits in our "PMU_UNK1" register.
> Let's put proper names to
On Mon, Jan 18, 2021 at 02:08:35AM +, Andre Przywara wrote:
> While the clocks are fairly similar to the H6, many differ in tiny
> details, so a separate clock driver seems indicated.
>
> Derived from the H6 clock driver, and adjusted according to the manual.
>
> Signed-off-by: Andre
On Mon, Jan 18, 2021 at 02:08:34AM +, Andre Przywara wrote:
> The clocks itself are identical to the H6 R-CCU, it's just that the H616
> has not all of them implemented (or connected).
>
> Signed-off-by: Andre Przywara
Acked-by: Maxime Ripard
Maxime
--
You received this message because
On Mon, Jan 18, 2021 at 02:08:33AM +, Andre Przywara wrote:
> Signed-off-by: Andre Przywara
> Acked-by: Rob Herring
Acked-by: Maxime Ripard
Maxime
--
You received this message because you are subscribed to the Google Groups
"linux-sunxi" group.
To unsubscribe from this group and stop
On Mon, Jan 18, 2021 at 02:08:31AM +, Andre Przywara wrote:
> Port A is used for an internal connection to some analogue circuitry
> which looks like an AC200 IP (as in the H6), though this is not
> mentioned in the manual.
>
> Signed-off-by: Andre Przywara
Acked-by: Maxime Ripard
Thanks!
On Mon, Jan 18, 2021 at 02:08:30AM +, Andre Przywara wrote:
> A new SoC, a new compatible string.
> Also we were too miserly with just allowing seven interrupt banks.
>
> Signed-off-by: Andre Przywara
Acked-by: Maxime Ripard
Maxime
--
You received this message because you are subscribed
Hi,
On Mon, Jan 18, 2021 at 02:08:29AM +, Andre Przywara wrote:
> From: Yangtao Li
>
> This patch adds support for A100 MMC controller, which use word address
> for internal dma.
>
> Signed-off-by: Yangtao Li
> Signed-off-by: Andre Przywara
We should also disable the timings setup in
On Mon, Jan 18, 2021 at 02:08:45AM +, Andre Przywara wrote:
> Add simple "allwinner,sun50i-h616-xxx" compatible names to existing
> bindings, and pair them with an existing fallback compatible string,
> as the devices are compatible.
> This covers I2C, infrared, RTC and SPI.
>
> Use enums to
On Wed, Jan 13, 2021 at 5:16 PM Chen-Yu Tsai wrote:
>
> On Thu, Jan 7, 2021 at 6:27 PM Samuel Holland wrote:
> >
> > On 1/6/21 5:38 AM, Chen-Yu Tsai wrote:
> > > On Wed, Jan 6, 2021 at 7:06 PM Maxime Ripard wrote:
> > >>
> > >> On Mon, Jan 04, 2021 at 10:54:19AM +, André Przywara wrote:
> >
On Sat, Jan 16, 2021 at 11:37:10AM +0100, Jernej Skrabec wrote:
> Bluetooth module on BananaPi M2 Zero can also be used for streaming
> audio. However, for that case higher UART speed is required.
>
> Add a max-speed property.
>
> Signed-off-by: Jernej Skrabec
Applied, thanks
Maxime
--
You
On Sat, Jan 16, 2021 at 11:52:28AM +0100, Jernej Skrabec wrote:
> Bluetooth module on BananaPi M2 Plus can also be used for streaming
> audio. However, for that case higher UART speed is required.
>
> Add a max-speed property.
>
> Signed-off-by: Jernej Skrabec
Applied, thanks
Maxime
--
You
Hi,
Thanks for working on this
On Fri, Jan 15, 2021 at 09:01:29PM +0100, Paul Kocialkowski wrote:
> The v4l2_async_notifier_parse_fwnode_endpoints helper is getting
> deprecated in favor of explicit parsing of the endpoints.
>
> Implement it instead of using this deprecated function.
>
> Since
23 matches
Mail list logo