AW: Re: [linux-sunxi] Re: Bringing LVDS on A64 (VDP7) to work

2019-05-21 Thread Kamps, John-Eric
Hi. Thanks for the sample code. I read the register (Attached file with comments) and compared them with the Allwinner User Manual V1.1 Summary Clock: Video0 = 24MHz*99/8=297MHz MIPI based on Video0 = 297MHz*3*2/5=356,4MHz Then the pixel clock is 356,4MHz/7=50,914MHz Requested is 51,45MHz -->

[linux-sunxi] Re: [PATCH v5 5/6] drm: sun4i: Add support for enabling DDC I2C bus to sun8i_dw_hdmi glue

2019-05-21 Thread 'Ondřej Jirman' via linux-sunxi
Hi Maxime, On Tue, May 21, 2019 at 01:46:11PM +0200, Maxime Ripard wrote: > Hi, > > On Tue, May 21, 2019 at 01:50:08AM +0200, meg...@megous.com wrote: > > From: Ondrej Jirman > > > > Orange Pi 3 board requires enabling a voltage shifting circuit via GPIO > > for the DDC bus to be usable. > > >

[linux-sunxi] Re: [PATCH v5 5/6] drm: sun4i: Add support for enabling DDC I2C bus to sun8i_dw_hdmi glue

2019-05-21 Thread Maxime Ripard
Hi, On Tue, May 21, 2019 at 01:50:08AM +0200, meg...@megous.com wrote: > From: Ondrej Jirman > > Orange Pi 3 board requires enabling a voltage shifting circuit via GPIO > for the DDC bus to be usable. > > Add support for hdmi-connector node's optional ddc-en-gpios property to > support this use

[linux-sunxi] Re: [PATCH] arm64: dts: allwinner: a64-oceanic-5205-5inmfd: Enable CAN

2019-05-21 Thread Michael Nazzareno Trimarchi
Hi Maxime On Tue, May 21, 2019 at 10:10 AM Maxime Ripard wrote: > > On Tue, May 21, 2019 at 08:47:02AM +0200, Michael Nazzareno Trimarchi wrote: > > > > + }; > > > > + > > > > }; > > > > > > > > { > > > > @@ -77,6 +95,31 @@ > > > > status = "okay"; > > > > }; > > > > > > > > + { >

[linux-sunxi] Re: [PATCH v5 2/6] net: stmmac: sun8i: force select external PHY when no internal one

2019-05-21 Thread 'Ondřej Jirman' via linux-sunxi
Hello Sergei, On Tue, May 21, 2019 at 12:27:24PM +0300, Sergei Shtylyov wrote: > Hello! > > On 21.05.2019 2:50, meg...@megous.com wrote: > > > From: Icenowy Zheng > > > > The PHY selection bit also exists on SoCs without an internal PHY; if it's > > set to 1 (internal PHY, default value) then

[linux-sunxi] Re: [PATCH v5 2/6] net: stmmac: sun8i: force select external PHY when no internal one

2019-05-21 Thread Sergei Shtylyov
Hello! On 21.05.2019 2:50, meg...@megous.com wrote: From: Icenowy Zheng The PHY selection bit also exists on SoCs without an internal PHY; if it's set to 1 (internal PHY, default value) then the MAC will not make use of any PHY such SoCs. ^ "on" or "with" missing? This problem

Re: [linux-sunxi] Re: Bringing LVDS on A64 (VDP7) to work

2019-05-21 Thread Priit Laes
On Tue, May 21, 2019 at 07:24:32AM +, Kamps, John-Eric wrote: > Hi Jagan > > >Possible checks. > > >01. Try the bsp first, since we don't have any kind of reference documents. > OK I will compare them > > >02: Identify the working pixel clock rates along with dividers > I will check the

[linux-sunxi] Re: [PATCH] arm64: dts: allwinner: a64-oceanic-5205-5inmfd: Enable CAN

2019-05-21 Thread Maxime Ripard
On Tue, May 21, 2019 at 08:47:02AM +0200, Michael Nazzareno Trimarchi wrote: > > > + }; > > > + > > > }; > > > > > > { > > > @@ -77,6 +95,31 @@ > > > status = "okay"; > > > }; > > > > > > + { > > > + can_pins: can-pins { > > > + pins = "PD6", /*

AW:[linux-sunxi] Re: Bringing LVDS on A64 (VDP7) to work

2019-05-21 Thread Kamps, John-Eric
Hi Jagan >Possible checks. >01. Try the bsp first, since we don't have any kind of reference documents. OK I will compare them >02: Identify the working pixel clock rates along with dividers I will check the kernel log from the original device. >03: Better get the regmap of tcon0 and other

[linux-sunxi] Re: [PATCH] arm64: dts: allwinner: a64-oceanic-5205-5inmfd: Enable CAN

2019-05-21 Thread Michael Nazzareno Trimarchi
Hi Maxime On Thu, Apr 18, 2019 at 4:56 PM Maxime Ripard wrote: > > On Thu, Apr 18, 2019 at 07:46:58PM +0530, Jagan Teki wrote: > > Oceanic 5205 5inMFD has MCP2515 CAN device connected via SPI1. > > > > - via SPI1 bus > > - vdd supplied by 5V supply along with PL2 enable pin > > - xceiver supply