[linux-sunxi] Re: [PATCH v6 2/6] mailbox: sun6i-msgbox: Add a new mailbox driver

2020-02-12 Thread Samuel Holland
Jassi, On 2/12/20 8:02 PM, Jassi Brar wrote: > On Sun, Jan 12, 2020 at 11:18 PM Samuel Holland wrote: >> >> +static int sun6i_msgbox_send_data(struct mbox_chan *chan, void *data) >> +{ >> + struct sun6i_msgbox *mbox = to_sun6i_msgbox(chan); >> + int n = channel_number(chan); >> +

[linux-sunxi] Re: [PATCH 1/2] pinctrl: sunxi: Forward calls to irq_set_irq_wake

2020-02-12 Thread Samuel Holland
All, On 1/17/20 3:33 PM, Samuel Holland wrote: > The pinctrl irqchip may be connected to an irqchip that implements the > .irq_set_wake callback, such as the R_INTC on A31 and newer sunxi SoCs. > In order for GPIOs to be able to trigger wakeup, the IRQ from the > pinctrl to the upper irqchip must

[linux-sunxi] Re: [PATCH v6 0/6] Allwinner sun6i message box support

2020-02-12 Thread Samuel Holland
Jassi, On 1/12/20 11:18 PM, Samuel Holland wrote: > This series adds support for the "hardware message box" in sun8i, sun9i, > and sun50i SoCs, used for communication with the ARISC management > processor (the platform's equivalent of the ARM SCP). The end goal is to > use the arm_scpi driver as a

[linux-sunxi] [PATCH v2 2/2] ARM: sun7i: dts: Add LVDS panel support on A20

2020-02-12 Thread andrey . lebedev
From: Andrey Lebedev Define pins for LVDS channels 0 and 1, configure reset line for tcon0 and provide sample LVDS panel, connected to tcon0. Signed-off-by: Andrey Lebedev --- arch/arm/boot/dts/sun7i-a20.dtsi | 45 +--- 1 file changed, 42 insertions(+), 3 deletions(

[linux-sunxi] [PATCH v2 1/2] ARM: sun7i: Support LVDS output on Allwinner A20

2020-02-12 Thread andrey . lebedev
From: Andrey Lebedev A20 SoC (found in Cubieboard 2 among others) requires different LVDS set up procedure than A33. Timing controller (tcon) driver only implements sun6i-style procedure, that doesn't work on A20 (sun7i). Signed-off-by: Andrey Lebedev --- drivers/gpu/drm/sun4i/sun4i_tcon.c | 9

Re: [linux-sunxi] [PATCH v2] arm64: dts: allwinner: h6: orangepi-3: Add eMMC node

2020-02-12 Thread Ondřej Jirman
Hi, On Mon, Feb 10, 2020 at 06:40:07PM +0100, Jernej Skrabec wrote: > OrangePi 3 can optionally have 8 GiB eMMC (soldered on board). Because > those pins are dedicated to eMMC exclusively, node can be added for both > variants (with and without eMMC). Kernel will then scan bus for presence > of eM