[linux-sunxi] Re: [U-Boot] [PATCH] sunxi: set PIO voltage to hardware-detected value on startup on H6

2019-10-25 Thread Ondřej Jirman
Hi, On Wed, Apr 24, 2019 at 01:44:12PM +0800, Icenowy Zheng wrote: > The Allwinner H6 SoC has a register to set the PIO banks' voltage. When > it mismatches the real voltage supplied to the VCC to the PIO supply, > the PIO will work improperly. > > The PIO controller also has a register that

[linux-sunxi] Re: [PATCH v2 2/4] phy: allwinner: add phy driver for USB3 PHY on Allwinner H6 SoC

2019-10-25 Thread 'Kishon Vijay Abraham I' via linux-sunxi
Hi, On 24/10/19 4:24 PM, Ondrej Jirman wrote: > From: Icenowy Zheng > > Allwinner H6 SoC contains a USB3 PHY (with USB2 DP/DM lines also > controlled). > > Add a driver for it. > > The register operations in this driver is mainly extracted from the BSP > USB3 driver. > > Signed-off-by:

[linux-sunxi] Re: [PATCH v10 5/6] arm64: dts: allwinner: a64: Add MIPI DSI pipeline

2019-10-25 Thread Jagan Teki
On Fri, Oct 25, 2019 at 12:33 AM Maxime Ripard wrote: > > On Thu, Oct 24, 2019 at 01:28:28PM +0530, Jagan Teki wrote: > > On Thu, Oct 17, 2019 at 3:22 PM Maxime Ripard wrote: > > > > > > On Wed, Oct 16, 2019 at 02:19:44PM +0530, Jagan Teki wrote: > > > > On Wed, Oct 16, 2019 at 1:33 PM Maxime

[linux-sunxi] [DO NOT MERGE] [PATCH v11 7/7] arm64: dts: allwinner: bananapi-m64: Enable Bananapi S070WV20-CT16 DSI panel

2019-10-25 Thread Jagan Teki
This patch add support for Bananapi S070WV20-CT16 DSI panel to BPI-M64 board. DSI panel connected via board DSI port with, - DLDO1 as VCC-DSI supply - DCDC1 as VDD supply - PD7 gpio for lcd enable pin - PD6 gpio for lcd reset pin - PD5 gpio for backlight enable pin Signed-off-by: Jagan Teki ---

[linux-sunxi] [PATCH v11 2/7] dt-bindings: sun6i-dsi: Add A64 DPHY compatible (w/ A31 fallback)

2019-10-25 Thread Jagan Teki
The MIPI DSI PHY controller on Allwinner A64 is similar on the one on A31. Add A64 compatible and append A31 compatible as fallback. Signed-off-by: Jagan Teki --- .../bindings/phy/allwinner,sun6i-a31-mipi-dphy.yaml | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git

[linux-sunxi] [PATCH v11 0/7] drm/sun4i: Allwinner A64 MIPI-DSI support

2019-10-25 Thread Jagan Teki
This is v11 version for Allwinner A64 MIPI-DSI support and here is the previous version set[1] Changes for v11: - fix dt-bindings for dphy - fix dt-bindings for dsi controller - add bus clock handling code - tested on A64, A33 boards. Changes for v10: - updated dt-bindings as per .yaml format -

[linux-sunxi] [PATCH v11 3/7] drm/sun4i: dsi: Add has_mod_clk quirk

2019-10-25 Thread Jagan Teki
As per the user manual, look like mod clock is not mandatory for all Allwinner MIPI DSI controllers, it is connected to CLK_DSI_SCLK for A31 and not available in A64. So add has_mod_clk quirk and process the mod clk accordingly. Tested-by: Merlijn Wajer Signed-off-by: Jagan Teki ---

[linux-sunxi] [PATCH v11 1/7] dt-bindings: sun6i-dsi: Document A64 MIPI-DSI controller

2019-10-25 Thread Jagan Teki
The MIPI DSI controller in Allwinner A64 is similar to A33. But unlike A33, A64 doesn't have DSI_SCLK gating so it is valid to have separate compatible for A64 on the same driver. DSI_SCLK uses mod clock-names on dt-bindings, so the same is not required for A64. On that note - A64 require

[linux-sunxi] [PATCH v11 6/7] arm64: dts: allwinner: a64: Add MIPI DSI pipeline

2019-10-25 Thread Jagan Teki
Add MIPI DSI pipeline for Allwinner A64. - dsi node, with A64 compatible since it doesn't support DSI_SCLK gating unlike A33 - dphy node, with A64 compatible with A33 fallback since DPHY on A64 and A33 is similar - finally, attach the dsi_in to tcon0 for complete MIPI DSI Signed-off-by:

[linux-sunxi] [PATCH v3 2/4] dt-bindings: crypto: Add DT bindings documentation for sun8i-ss Security System

2019-10-25 Thread Corentin Labbe
This patch adds documentation for Device-Tree bindings of the Security System cryptographic offloader driver. Signed-off-by: Corentin Labbe --- .../bindings/crypto/allwinner,sun8i-ss.yaml | 61 +++ 1 file changed, 61 insertions(+) create mode 100644

[linux-sunxi] [PATCH v3 1/4] crypto: Add Allwinner sun8i-ss cryptographic offloader

2019-10-25 Thread Corentin Labbe
The Security System is an hardware cryptographic offloader present on Allwinner SoCs A80 and A83T. It is different from the previous sun4i-ss. This driver supports AES cipher in CBC and ECB mode. Acked-by: Maxime Ripard Signed-off-by: Corentin Labbe --- drivers/crypto/allwinner/Kconfig

[linux-sunxi] [PATCH v3 4/4] ARM: dts: sun9i: a80: Add Security System node

2019-10-25 Thread Corentin Labbe
The Security System is a hardware cryptographic accelerator that support AES/MD5/SHA1/DES/3DES/PRNG/RSA algorithms. It could be found on Allwinner SoC A80 and A83T This patch adds it on the Allwinner A80 SoC Device-tree. Signed-off-by: Corentin Labbe --- arch/arm/boot/dts/sun9i-a80.dtsi | 9

[linux-sunxi] [PATCH v3 3/4] ARM: dts: sun8i: a83t: Add Security System node

2019-10-25 Thread Corentin Labbe
The Security System is a hardware cryptographic accelerator that support AES/MD5/SHA1/DES/3DES/PRNG/RSA algorithms. It could be found on Allwinner SoC A80 and A83T This patch adds it on the Allwinner A83T SoC Device-tree. Signed-off-by: Corentin Labbe --- arch/arm/boot/dts/sun8i-a83t.dtsi | 9

[linux-sunxi] [PATCH v3 0/4] crypto: add sun8i-ss driver for Allwinner Security System

2019-10-25 Thread Corentin Labbe
Hello This patch serie adds support for the second version of Allwinner Security System. The first generation of the Security System is already handled by the sun4i-ss driver. Due to major change, the first driver cannot handle the second one. This new Security System is present on A80 and A83T

[linux-sunxi] [PATCH v11 4/7] drm/sun4i: dsi: Handle bus clock explicitly 

2019-10-25 Thread Jagan Teki
Usage of clocks are varies between different Allwinner DSI controllers. Clocking in A33 would need bus and mod clocks where as A64 would need only bus clock. To support this kind of clocking structure variants in the same dsi driver, explicit handling of common clock would require since the A64

[linux-sunxi] [PATCH v11 5/7] drm/sun4i: dsi: Add Allwinner A64 MIPI DSI support

2019-10-25 Thread Jagan Teki
The MIPI DSI controller in Allwinner A64 is similar to A33. But unlike A33, A64 doesn't have DSI_SCLK gating so add compatible for Allwinner A64 with uninitialized has_mod_clk driver. Signed-off-by: Jagan Teki Tested-by: Merlijn Wajer --- drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c | 7 +++ 1