Re: [PATCH v3.1 10/10] arm64: dts: allwinner: a64: Enable HDMI output on A64 boards w/ HDMI

2018-07-28 Thread Icenowy Zheng

在 2018-07-27 21:57,Jagan Teki 写道:

On Fri, Jul 27, 2018 at 6:56 PM, Icenowy Zheng  wrote:



于 2018年7月27日 GMT+08:00 下午8:56:15, Maxime Ripard 
 写到:

On Fri, Jul 27, 2018 at 01:12:57AM +0800, Icenowy Zheng wrote:

diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts

b/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts

index 1b9b92e541d2..1b972bade9f6 100644
--- a/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts
+++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts
@@ -62,6 +62,21 @@
 chosen {
 stdout-path = "serial0:115200n8";
 };
+
+connector {
+compatible = "hdmi-connector";
+type = "a";
+
+port {
+hdmi_con_in: endpoint {
+remote-endpoint = <_out_con>;
+};
+};
+};
+};
+
+ {
+status = "okay";
 };

  {
@@ -82,6 +97,17 @@

 };

+ {
+hdmi-supply = <_dldo1>;
+status = "okay";
+};
+
+_out {
+hdmi_out_con: endpoint {
+remote-endpoint = <_con_in>;
+};
+};
+
  {
 pinctrl-names = "default";
 pinctrl-0 = <_pins>;
@@ -99,6 +125,10 @@
 };
 };

+ {
+status = "okay";
+};
+
  {
 pinctrl-names = "default";
 pinctrl-0 = <_pins>;
@@ -238,6 +268,10 @@
 status = "disabled";
 };

+ {
+status = "okay";
+};


Is it working or not on the pine64?


Not tested yet, as my main A64 device is Pine A64-LTS now.


I have seen BPI-M64 seems failing.


Or could you try to use a slightly older version of linux-next?

I doubt the newest one have some severe regression that needs
to be figured.



[0.00] Booting Linux on physical CPU 0x00 [0x410fd034]
[0.00] Linux version
4.18.0-rc6-next-20180727-00014-gc7092bc38139 (jagan@jagan-XPS-13-9350)
(gcc version 6.3.1 20170109 (Linaro GCC 6.3-2
017.02)) #1 SMP PREEMPT Fri Jul 27 19:05:15 IST 2018
[0.00] Machine model: BananaPi-M64
[0.00] efi: Getting EFI parameters from FDT:
[0.00] efi: UEFI not found.
[0.00] cma: Reserved 32 MiB at 0xbc00
[0.00] NUMA: No NUMA configuration found
[0.00] NUMA: Faking a node at [mem
0x-0xbdff]
[0.00] NUMA: NODE_DATA [mem 0xbbfd7780-0xbbfd8f3f]
[0.00] Zone ranges:
[0.00]   DMA32[mem 0x4000-0xbdff]
[0.00]   Normal   empty
[0.00] Movable zone start for each node
[0.00] Early memory node ranges
[0.00]   node   0: [mem 0x4000-0xbdff]
[0.00] Initmem setup node 0 [mem 
0x4000-0xbdff]

[0.00] psci: probing for conduit method from DT.
[0.00] psci: PSCIv0.2 detected in firmware.
[0.00] psci: Using standard PSCI v0.2 function IDs
[0.00] psci: Trusted OS migration not required
[0.00] random: get_random_bytes called from
start_kernel+0xa4/0x414 with crng_init=0
[0.00] percpu: Embedded 23 pages/cpu @(ptrval) s56728
r8192 d29288 u94208
[0.00] Detected VIPT I-cache on CPU0
[0.00] CPU features: enabling workaround for ARM erratum 843419
[0.00] CPU features: enabling workaround for ARM erratum 845719
[0.00] CPU features: detected: Kernel page table isolation 
(KPTI)
[0.00] Built 1 zonelists, mobility grouping on.  Total pages: 
508032

[0.00] Policy zone: DMA32
[0.00] Kernel command line: console=ttyS0,115200 earlyprintk
root=/dev/mmcblk0p2 rootwait
[0.00] Memory: 1979032K/2064384K available (10812K kernel
code, 1382K rwdata, 5096K rodata, 1344K init, 382K bss, 52584K
reserved, 32768K
 cma-reserved)
[0.00] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, 
Nodes=1

[0.00] rcu: Preemptible hierarchical RCU implementation.
[0.00] rcu: RCU restricting CPUs from NR_CPUS=64 to 
nr_cpu_ids=4.

[0.00]  Tasks RCU enabled.
[0.00] rcu: Adjusting geometry for rcu_fanout_leaf=16, 
nr_cpu_ids=4

[0.00] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[0.00] GIC: Using split EOI/Deactivate mode
[0.00] Persistent clock returned invalid value
[0.00] arch_timer: cp15 timer(s) running at 24.00MHz (phys).
[0.00] clocksource: arch_sys_counter: mask: 0xff
max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[0.04] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps
every 4398046511097ns
[0.000491] Console: colour dummy device 80x25
[0.000575] Calibrating delay loop (skipped), value calculated
using timer frequency.. 48.00 BogoMIPS (lpj=96000)
[0.000589] pid_max: default: 32768 minimum: 301
[0.000671] Security Framework initialized
[0.001977] Dentry cache hash table entries: 262144 (order: 9, 
2097152 bytes)
[0.002635] Inode-cache hash table entries: 131072 (order: 8, 
1048576 bytes)
[0.002684] Mount-cache hash table entries: 4096 (order: 3, 32768 
bytes)
[0.002713] 

Re: [PATCH v3.1 10/10] arm64: dts: allwinner: a64: Enable HDMI output on A64 boards w/ HDMI

2018-07-28 Thread Icenowy Zheng

在 2018-07-27 22:00,Maxime Ripard 写道:

On Fri, Jul 27, 2018 at 09:26:11PM +0800, Icenowy Zheng wrote:



于 2018年7月27日 GMT+08:00 下午8:56:15, Maxime Ripard 
 写到:

>On Fri, Jul 27, 2018 at 01:12:57AM +0800, Icenowy Zheng wrote:
>> diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts
>b/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts
>> index 1b9b92e541d2..1b972bade9f6 100644
>> --- a/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts
>> +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts
>> @@ -62,6 +62,21 @@
>>chosen {
>>stdout-path = "serial0:115200n8";
>>};
>> +
>> +  connector {
>> +  compatible = "hdmi-connector";
>> +  type = "a";
>> +
>> +  port {
>> +  hdmi_con_in: endpoint {
>> +  remote-endpoint = <_out_con>;
>> +  };
>> +  };
>> +  };
>> +};
>> +
>> + {
>> +  status = "okay";
>>  };
>>
>>   {
>> @@ -82,6 +97,17 @@
>>
>>  };
>>
>> + {
>> +  hdmi-supply = <_dldo1>;
>> +  status = "okay";
>> +};
>> +
>> +_out {
>> +  hdmi_out_con: endpoint {
>> +  remote-endpoint = <_con_in>;
>> +  };
>> +};
>> +
>>   {
>>pinctrl-names = "default";
>>pinctrl-0 = <_pins>;
>> @@ -99,6 +125,10 @@
>>};
>>  };
>>
>> + {
>> +  status = "okay";
>> +};
>> +
>>   {
>>pinctrl-names = "default";
>>pinctrl-0 = <_pins>;
>> @@ -238,6 +268,10 @@
>>status = "disabled";
>>  };
>>
>> + {
>> +  status = "okay";
>> +};
>
>Is it working or not on the pine64?

Not tested yet, as my main A64 device is Pine A64-LTS now.


It was last reported as broken, so it's better to leave it out of that
patch until someone figures it out.


Sorry, I did find a bug. Although after fixing it HDMI on Pine A64+
works fine.

Will fix the bug when sending v3.2 (resending after rc1).



Thanks!
Maxime

___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


Re: [linux-sunxi] Re: [PATCH v3.1 10/10] arm64: dts: allwinner: a64: Enable HDMI output on A64 boards w/ HDMI

2018-07-28 Thread Icenowy Zheng


于 2018年7月27日 GMT+08:00 下午9:57:08, Jagan Teki  写到:
>On Fri, Jul 27, 2018 at 6:56 PM, Icenowy Zheng  wrote:
>>
>>
>> 于 2018年7月27日 GMT+08:00 下午8:56:15, Maxime Ripard
> 写到:
>>>On Fri, Jul 27, 2018 at 01:12:57AM +0800, Icenowy Zheng wrote:
 diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts
>>>b/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts
 index 1b9b92e541d2..1b972bade9f6 100644
 --- a/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts
 +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts
 @@ -62,6 +62,21 @@
  chosen {
  stdout-path = "serial0:115200n8";
  };
 +
 +connector {
 +compatible = "hdmi-connector";
 +type = "a";
 +
 +port {
 +hdmi_con_in: endpoint {
 +remote-endpoint = <_out_con>;
 +};
 +};
 +};
 +};
 +
 + {
 +status = "okay";
  };

   {
 @@ -82,6 +97,17 @@

  };

 + {
 +hdmi-supply = <_dldo1>;
 +status = "okay";
 +};
 +
 +_out {
 +hdmi_out_con: endpoint {
 +remote-endpoint = <_con_in>;
 +};
 +};
 +
   {
  pinctrl-names = "default";
  pinctrl-0 = <_pins>;
 @@ -99,6 +125,10 @@
  };
  };

 + {
 +status = "okay";
 +};
 +
   {
  pinctrl-names = "default";
  pinctrl-0 = <_pins>;
 @@ -238,6 +268,10 @@
  status = "disabled";
  };

 + {
 +status = "okay";
 +};
>>>
>>>Is it working or not on the pine64?
>>
>> Not tested yet, as my main A64 device is Pine A64-LTS now.
>
>I have seen BPI-M64 seems failing.
>
>[0.00] Booting Linux on physical CPU 0x00 [0x410fd034]
>[0.00] Linux version
>4.18.0-rc6-next-20180727-00014-gc7092bc38139 (jagan@jagan-XPS-13-9350)
>(gcc version 6.3.1 20170109 (Linaro GCC 6.3-2
>017.02)) #1 SMP PREEMPT Fri Jul 27 19:05:15 IST 2018
>[0.00] Machine model: BananaPi-M64
>[0.00] efi: Getting EFI parameters from FDT:
>[0.00] efi: UEFI not found.
>[0.00] cma: Reserved 32 MiB at 0xbc00
>[0.00] NUMA: No NUMA configuration found
>[0.00] NUMA: Faking a node at [mem
>0x-0xbdff]
>[0.00] NUMA: NODE_DATA [mem 0xbbfd7780-0xbbfd8f3f]
>[0.00] Zone ranges:
>[0.00]   DMA32[mem 0x4000-0xbdff]
>[0.00]   Normal   empty
>[0.00] Movable zone start for each node
>[0.00] Early memory node ranges
>[0.00]   node   0: [mem 0x4000-0xbdff]
>[0.00] Initmem setup node 0 [mem
>0x4000-0xbdff]
>[0.00] psci: probing for conduit method from DT.
>[0.00] psci: PSCIv0.2 detected in firmware.
>[0.00] psci: Using standard PSCI v0.2 function IDs
>[0.00] psci: Trusted OS migration not required
>[0.00] random: get_random_bytes called from
>start_kernel+0xa4/0x414 with crng_init=0
>[0.00] percpu: Embedded 23 pages/cpu @(ptrval) s56728
>r8192 d29288 u94208
>[0.00] Detected VIPT I-cache on CPU0
>[0.00] CPU features: enabling workaround for ARM erratum 843419
>[0.00] CPU features: enabling workaround for ARM erratum 845719
>[0.00] CPU features: detected: Kernel page table isolation
>(KPTI)
>[0.00] Built 1 zonelists, mobility grouping on.  Total pages:
>508032
>[0.00] Policy zone: DMA32
>[0.00] Kernel command line: console=ttyS0,115200 earlyprintk
>root=/dev/mmcblk0p2 rootwait
>[0.00] Memory: 1979032K/2064384K available (10812K kernel
>code, 1382K rwdata, 5096K rodata, 1344K init, 382K bss, 52584K
>reserved, 32768K
> cma-reserved)
>[0.00] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4,
>Nodes=1
>[0.00] rcu: Preemptible hierarchical RCU implementation.
>[0.00] rcu: RCU restricting CPUs from NR_CPUS=64 to
>nr_cpu_ids=4.
>[0.00]  Tasks RCU enabled.
>[0.00] rcu: Adjusting geometry for rcu_fanout_leaf=16,
>nr_cpu_ids=4
>[0.00] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
>[0.00] GIC: Using split EOI/Deactivate mode
>[0.00] Persistent clock returned invalid value
>[0.00] arch_timer: cp15 timer(s) running at 24.00MHz (phys).
>[0.00] clocksource: arch_sys_counter: mask: 0xff
>max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
>[0.04] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps
>every 4398046511097ns
>[0.000491] Console: colour dummy device 80x25
>[0.000575] Calibrating delay loop (skipped), value calculated
>using timer frequency.. 48.00 BogoMIPS (lpj=96000)
>[0.000589] pid_max: default: 32768 minimum: 301
>[0.000671] Security Framework initialized
>[0.001977] 

Re: [PATCH v3.1 10/10] arm64: dts: allwinner: a64: Enable HDMI output on A64 boards w/ HDMI

2018-07-28 Thread Jagan Teki
On Fri, Jul 27, 2018 at 6:56 PM, Icenowy Zheng  wrote:
>
>
> 于 2018年7月27日 GMT+08:00 下午8:56:15, Maxime Ripard  
> 写到:
>>On Fri, Jul 27, 2018 at 01:12:57AM +0800, Icenowy Zheng wrote:
>>> diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts
>>b/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts
>>> index 1b9b92e541d2..1b972bade9f6 100644
>>> --- a/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts
>>> +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts
>>> @@ -62,6 +62,21 @@
>>>  chosen {
>>>  stdout-path = "serial0:115200n8";
>>>  };
>>> +
>>> +connector {
>>> +compatible = "hdmi-connector";
>>> +type = "a";
>>> +
>>> +port {
>>> +hdmi_con_in: endpoint {
>>> +remote-endpoint = <_out_con>;
>>> +};
>>> +};
>>> +};
>>> +};
>>> +
>>> + {
>>> +status = "okay";
>>>  };
>>>
>>>   {
>>> @@ -82,6 +97,17 @@
>>>
>>>  };
>>>
>>> + {
>>> +hdmi-supply = <_dldo1>;
>>> +status = "okay";
>>> +};
>>> +
>>> +_out {
>>> +hdmi_out_con: endpoint {
>>> +remote-endpoint = <_con_in>;
>>> +};
>>> +};
>>> +
>>>   {
>>>  pinctrl-names = "default";
>>>  pinctrl-0 = <_pins>;
>>> @@ -99,6 +125,10 @@
>>>  };
>>>  };
>>>
>>> + {
>>> +status = "okay";
>>> +};
>>> +
>>>   {
>>>  pinctrl-names = "default";
>>>  pinctrl-0 = <_pins>;
>>> @@ -238,6 +268,10 @@
>>>  status = "disabled";
>>>  };
>>>
>>> + {
>>> +status = "okay";
>>> +};
>>
>>Is it working or not on the pine64?
>
> Not tested yet, as my main A64 device is Pine A64-LTS now.

I have seen BPI-M64 seems failing.

[0.00] Booting Linux on physical CPU 0x00 [0x410fd034]
[0.00] Linux version
4.18.0-rc6-next-20180727-00014-gc7092bc38139 (jagan@jagan-XPS-13-9350)
(gcc version 6.3.1 20170109 (Linaro GCC 6.3-2
017.02)) #1 SMP PREEMPT Fri Jul 27 19:05:15 IST 2018
[0.00] Machine model: BananaPi-M64
[0.00] efi: Getting EFI parameters from FDT:
[0.00] efi: UEFI not found.
[0.00] cma: Reserved 32 MiB at 0xbc00
[0.00] NUMA: No NUMA configuration found
[0.00] NUMA: Faking a node at [mem
0x-0xbdff]
[0.00] NUMA: NODE_DATA [mem 0xbbfd7780-0xbbfd8f3f]
[0.00] Zone ranges:
[0.00]   DMA32[mem 0x4000-0xbdff]
[0.00]   Normal   empty
[0.00] Movable zone start for each node
[0.00] Early memory node ranges
[0.00]   node   0: [mem 0x4000-0xbdff]
[0.00] Initmem setup node 0 [mem 0x4000-0xbdff]
[0.00] psci: probing for conduit method from DT.
[0.00] psci: PSCIv0.2 detected in firmware.
[0.00] psci: Using standard PSCI v0.2 function IDs
[0.00] psci: Trusted OS migration not required
[0.00] random: get_random_bytes called from
start_kernel+0xa4/0x414 with crng_init=0
[0.00] percpu: Embedded 23 pages/cpu @(ptrval) s56728
r8192 d29288 u94208
[0.00] Detected VIPT I-cache on CPU0
[0.00] CPU features: enabling workaround for ARM erratum 843419
[0.00] CPU features: enabling workaround for ARM erratum 845719
[0.00] CPU features: detected: Kernel page table isolation (KPTI)
[0.00] Built 1 zonelists, mobility grouping on.  Total pages: 508032
[0.00] Policy zone: DMA32
[0.00] Kernel command line: console=ttyS0,115200 earlyprintk
root=/dev/mmcblk0p2 rootwait
[0.00] Memory: 1979032K/2064384K available (10812K kernel
code, 1382K rwdata, 5096K rodata, 1344K init, 382K bss, 52584K
reserved, 32768K
 cma-reserved)
[0.00] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[0.00] rcu: Preemptible hierarchical RCU implementation.
[0.00] rcu: RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=4.
[0.00]  Tasks RCU enabled.
[0.00] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[0.00] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[0.00] GIC: Using split EOI/Deactivate mode
[0.00] Persistent clock returned invalid value
[0.00] arch_timer: cp15 timer(s) running at 24.00MHz (phys).
[0.00] clocksource: arch_sys_counter: mask: 0xff
max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[0.04] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps
every 4398046511097ns
[0.000491] Console: colour dummy device 80x25
[0.000575] Calibrating delay loop (skipped), value calculated
using timer frequency.. 48.00 BogoMIPS (lpj=96000)
[0.000589] pid_max: default: 32768 minimum: 301
[0.000671] Security Framework initialized
[0.001977] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes)
[0.002635] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes)
[0.002684] Mount-cache hash table entries: 

Re: [linux-sunxi] Re: [PATCH v3.1 10/10] arm64: dts: allwinner: a64: Enable HDMI output on A64 boards w/ HDMI

2018-07-28 Thread Jernej Škrabec
Dne petek, 27. julij 2018 ob 17:42:08 CEST je Icenowy Zheng napisal(a):
> 在 2018-07-27 22:00,Maxime Ripard 写道:
> 
> > On Fri, Jul 27, 2018 at 09:26:11PM +0800, Icenowy Zheng wrote:
> >> 于 2018年7月27日 GMT+08:00 下午8:56:15, Maxime Ripard
> >> 
> >>  写到:
> >> >On Fri, Jul 27, 2018 at 01:12:57AM +0800, Icenowy Zheng wrote:
> >> >> diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts
> >> >
> >> >b/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts
> >> >
> >> >> index 1b9b92e541d2..1b972bade9f6 100644
> >> >> --- a/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts
> >> >> +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts
> >> >> @@ -62,6 +62,21 @@
> >> >> 
> >> >> chosen {
> >> >> 
> >> >> stdout-path = "serial0:115200n8";
> >> >> 
> >> >> };
> >> >> 
> >> >> +
> >> >> +   connector {
> >> >> +   compatible = "hdmi-connector";
> >> >> +   type = "a";
> >> >> +
> >> >> +   port {
> >> >> +   hdmi_con_in: endpoint {
> >> >> +   remote-endpoint = <_out_con>;
> >> >> +   };
> >> >> +   };
> >> >> +   };
> >> >> +};
> >> >> +
> >> >> + {
> >> >> +   status = "okay";
> >> >> 
> >> >>  };
> >> >>  
> >> >>   {
> >> >> 
> >> >> @@ -82,6 +97,17 @@
> >> >> 
> >> >>  };
> >> >> 
> >> >> + {
> >> >> +   hdmi-supply = <_dldo1>;
> >> >> +   status = "okay";
> >> >> +};
> >> >> +
> >> >> +_out {
> >> >> +   hdmi_out_con: endpoint {
> >> >> +   remote-endpoint = <_con_in>;
> >> >> +   };
> >> >> +};
> >> >> +
> >> >> 
> >> >>   {
> >> >>  
> >> >> pinctrl-names = "default";
> >> >> pinctrl-0 = <_pins>;
> >> >> 
> >> >> @@ -99,6 +125,10 @@
> >> >> 
> >> >> };
> >> >>  
> >> >>  };
> >> >> 
> >> >> + {
> >> >> +   status = "okay";
> >> >> +};
> >> >> +
> >> >> 
> >> >>   {
> >> >>  
> >> >> pinctrl-names = "default";
> >> >> pinctrl-0 = <_pins>;
> >> >> 
> >> >> @@ -238,6 +268,10 @@
> >> >> 
> >> >> status = "disabled";
> >> >>  
> >> >>  };
> >> >> 
> >> >> + {
> >> >> +   status = "okay";
> >> >> +};
> >> >
> >> >Is it working or not on the pine64?
> >> 
> >> Not tested yet, as my main A64 device is Pine A64-LTS now.
> > 
> > It was last reported as broken, so it's better to leave it out of that
> > patch until someone figures it out.
> 
> Sorry, I did find a bug. Although after fixing it HDMI on Pine A64+
> works fine.
> 
> Will fix the bug when sending v3.2 (resending after rc1).

Why don't you simply send v4, with all patches and changelogs? It would be 
easier to comprehend.

Best regards,
Jernej

> 
> > Thanks!
> > Maxime




___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


Re: [PATCH v3.1 10/10] arm64: dts: allwinner: a64: Enable HDMI output on A64 boards w/ HDMI

2018-07-27 Thread Maxime Ripard
On Fri, Jul 27, 2018 at 09:26:11PM +0800, Icenowy Zheng wrote:
> 
> 
> 于 2018年7月27日 GMT+08:00 下午8:56:15, Maxime Ripard  
> 写到:
> >On Fri, Jul 27, 2018 at 01:12:57AM +0800, Icenowy Zheng wrote:
> >> diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts
> >b/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts
> >> index 1b9b92e541d2..1b972bade9f6 100644
> >> --- a/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts
> >> +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts
> >> @@ -62,6 +62,21 @@
> >>chosen {
> >>stdout-path = "serial0:115200n8";
> >>};
> >> +
> >> +  connector {
> >> +  compatible = "hdmi-connector";
> >> +  type = "a";
> >> +
> >> +  port {
> >> +  hdmi_con_in: endpoint {
> >> +  remote-endpoint = <_out_con>;
> >> +  };
> >> +  };
> >> +  };
> >> +};
> >> +
> >> + {
> >> +  status = "okay";
> >>  };
> >>  
> >>   {
> >> @@ -82,6 +97,17 @@
> >>  
> >>  };
> >>  
> >> + {
> >> +  hdmi-supply = <_dldo1>;
> >> +  status = "okay";
> >> +};
> >> +
> >> +_out {
> >> +  hdmi_out_con: endpoint {
> >> +  remote-endpoint = <_con_in>;
> >> +  };
> >> +};
> >> +
> >>   {
> >>pinctrl-names = "default";
> >>pinctrl-0 = <_pins>;
> >> @@ -99,6 +125,10 @@
> >>};
> >>  };
> >>  
> >> + {
> >> +  status = "okay";
> >> +};
> >> +
> >>   {
> >>pinctrl-names = "default";
> >>pinctrl-0 = <_pins>;
> >> @@ -238,6 +268,10 @@
> >>status = "disabled";
> >>  };
> >>  
> >> + {
> >> +  status = "okay";
> >> +};
> >
> >Is it working or not on the pine64?
> 
> Not tested yet, as my main A64 device is Pine A64-LTS now.

It was last reported as broken, so it's better to leave it out of that
patch until someone figures it out.

Thanks!
Maxime

-- 
Maxime Ripard, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com


signature.asc
Description: PGP signature
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


Re: [PATCH v3.1 10/10] arm64: dts: allwinner: a64: Enable HDMI output on A64 boards w/ HDMI

2018-07-27 Thread Icenowy Zheng


于 2018年7月27日 GMT+08:00 下午8:56:15, Maxime Ripard  写到:
>On Fri, Jul 27, 2018 at 01:12:57AM +0800, Icenowy Zheng wrote:
>> diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts
>b/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts
>> index 1b9b92e541d2..1b972bade9f6 100644
>> --- a/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts
>> +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts
>> @@ -62,6 +62,21 @@
>>  chosen {
>>  stdout-path = "serial0:115200n8";
>>  };
>> +
>> +connector {
>> +compatible = "hdmi-connector";
>> +type = "a";
>> +
>> +port {
>> +hdmi_con_in: endpoint {
>> +remote-endpoint = <_out_con>;
>> +};
>> +};
>> +};
>> +};
>> +
>> + {
>> +status = "okay";
>>  };
>>  
>>   {
>> @@ -82,6 +97,17 @@
>>  
>>  };
>>  
>> + {
>> +hdmi-supply = <_dldo1>;
>> +status = "okay";
>> +};
>> +
>> +_out {
>> +hdmi_out_con: endpoint {
>> +remote-endpoint = <_con_in>;
>> +};
>> +};
>> +
>>   {
>>  pinctrl-names = "default";
>>  pinctrl-0 = <_pins>;
>> @@ -99,6 +125,10 @@
>>  };
>>  };
>>  
>> + {
>> +status = "okay";
>> +};
>> +
>>   {
>>  pinctrl-names = "default";
>>  pinctrl-0 = <_pins>;
>> @@ -238,6 +268,10 @@
>>  status = "disabled";
>>  };
>>  
>> + {
>> +status = "okay";
>> +};
>
>Is it working or not on the pine64?

Not tested yet, as my main A64 device is Pine A64-LTS now.

>
>Maxime
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


Re: [PATCH v3.1 10/10] arm64: dts: allwinner: a64: Enable HDMI output on A64 boards w/ HDMI

2018-07-27 Thread Maxime Ripard
On Fri, Jul 27, 2018 at 01:12:57AM +0800, Icenowy Zheng wrote:
> diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts 
> b/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts
> index 1b9b92e541d2..1b972bade9f6 100644
> --- a/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts
> +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts
> @@ -62,6 +62,21 @@
>   chosen {
>   stdout-path = "serial0:115200n8";
>   };
> +
> + connector {
> + compatible = "hdmi-connector";
> + type = "a";
> +
> + port {
> + hdmi_con_in: endpoint {
> + remote-endpoint = <_out_con>;
> + };
> + };
> + };
> +};
> +
> + {
> + status = "okay";
>  };
>  
>   {
> @@ -82,6 +97,17 @@
>  
>  };
>  
> + {
> + hdmi-supply = <_dldo1>;
> + status = "okay";
> +};
> +
> +_out {
> + hdmi_out_con: endpoint {
> + remote-endpoint = <_con_in>;
> + };
> +};
> +
>   {
>   pinctrl-names = "default";
>   pinctrl-0 = <_pins>;
> @@ -99,6 +125,10 @@
>   };
>  };
>  
> + {
> + status = "okay";
> +};
> +
>   {
>   pinctrl-names = "default";
>   pinctrl-0 = <_pins>;
> @@ -238,6 +268,10 @@
>   status = "disabled";
>  };
>  
> + {
> + status = "okay";
> +};

Is it working or not on the pine64?

Maxime

-- 
Maxime Ripard, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com


signature.asc
Description: PGP signature
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[PATCH v3.1 10/10] arm64: dts: allwinner: a64: Enable HDMI output on A64 boards w/ HDMI

2018-07-27 Thread Icenowy Zheng
From: Jagan Teki 

Enable all necessary device tree nodes and add connector node to device
trees for all supported A64 boards with HDMI.

Signed-off-by: Jagan Teki 
[Icenowy: squash all board patches altogether and change supply name]
Signed-off-by: Icenowy Zheng 
---
Changes in v3,1:
- Squash all enablement patches altogether.
- Change supply name to match DT binding & driver change.
Changes for v3:
- Enable all pipeline components
Changes for v2:
- none

 .../dts/allwinner/sun50i-a64-bananapi-m64.dts | 34 +++
 .../dts/allwinner/sun50i-a64-nanopi-a64.dts   | 34 +++
 .../dts/allwinner/sun50i-a64-olinuxino.dts| 34 +++
 .../dts/allwinner/sun50i-a64-orangepi-win.dts | 34 +++
 .../boot/dts/allwinner/sun50i-a64-pine64.dts  | 34 +++
 .../allwinner/sun50i-a64-sopine-baseboard.dts | 34 +++
 6 files changed, 204 insertions(+)

diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-bananapi-m64.dts 
b/arch/arm64/boot/dts/allwinner/sun50i-a64-bananapi-m64.dts
index 094cfed13df9..0d8f5571d574 100644
--- a/arch/arm64/boot/dts/allwinner/sun50i-a64-bananapi-m64.dts
+++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-bananapi-m64.dts
@@ -60,6 +60,17 @@
stdout-path = "serial0:115200n8";
};
 
+   connector {
+   compatible = "hdmi-connector";
+   type = "a";
+
+   port {
+   hdmi_con_in: endpoint {
+   remote-endpoint = <_out_con>;
+   };
+   };
+   };
+
leds {
compatible = "gpio-leds";
 
@@ -86,6 +97,10 @@
};
 };
 
+ {
+   status = "okay";
+};
+
  {
status = "okay";
 };
@@ -103,6 +118,17 @@
status = "okay";
 };
 
+ {
+   hdmi-supply = <_dldo1>;
+   status = "okay";
+};
+
+_out {
+   hdmi_out_con: endpoint {
+   remote-endpoint = <_con_in>;
+   };
+};
+
  {
pinctrl-names = "default";
pinctrl-0 = <_pins>;
@@ -120,6 +146,10 @@
};
 };
 
+ {
+   status = "okay";
+};
+
  {
pinctrl-names = "default";
pinctrl-0 = <_pins>;
@@ -300,6 +330,10 @@
vcc-hdmi-supply = <_dldo1>;
 };
 
+ {
+   status = "okay";
+};
+
  {
pinctrl-names = "default";
pinctrl-0 = <_pins_a>;
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-nanopi-a64.dts 
b/arch/arm64/boot/dts/allwinner/sun50i-a64-nanopi-a64.dts
index 98dbff19f5cc..2bcf02f46366 100644
--- a/arch/arm64/boot/dts/allwinner/sun50i-a64-nanopi-a64.dts
+++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-nanopi-a64.dts
@@ -57,6 +57,21 @@
chosen {
stdout-path = "serial0:115200n8";
};
+
+   connector {
+   compatible = "hdmi-connector";
+   type = "a";
+
+   port {
+   hdmi_con_in: endpoint {
+   remote-endpoint = <_out_con>;
+   };
+   };
+   };
+};
+
+ {
+   status = "okay";
 };
 
  {
@@ -67,6 +82,17 @@
status = "okay";
 };
 
+ {
+   hdmi-supply = <_dldo1>;
+   status = "okay";
+};
+
+_out {
+   hdmi_out_con: endpoint {
+   remote-endpoint = <_con_in>;
+   };
+};
+
 /* i2c1 connected with gpio headers like pine64, bananapi */
  {
pinctrl-names = "default";
@@ -78,6 +104,10 @@
bias-pull-up;
 };
 
+ {
+   status = "okay";
+};
+
  {
pinctrl-names = "default";
pinctrl-0 = <_pins>;
@@ -199,6 +229,10 @@
vcc-hdmi-supply = <_dldo1>;
 };
 
+ {
+   status = "okay";
+};
+
  {
pinctrl-names = "default";
pinctrl-0 = <_pins_a>;
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-olinuxino.dts 
b/arch/arm64/boot/dts/allwinner/sun50i-a64-olinuxino.dts
index 3f531393eaee..5445a7a1db51 100644
--- a/arch/arm64/boot/dts/allwinner/sun50i-a64-olinuxino.dts
+++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-olinuxino.dts
@@ -58,12 +58,42 @@
stdout-path = "serial0:115200n8";
};
 
+   connector {
+   compatible = "hdmi-connector";
+   type = "a";
+
+   port {
+   hdmi_con_in: endpoint {
+   remote-endpoint = <_out_con>;
+   };
+   };
+   };
+
wifi_pwrseq: wifi_pwrseq {
compatible = "mmc-pwrseq-simple";
reset-gpios = <_pio 0 2 GPIO_ACTIVE_LOW>; /* PL2 */
};
 };
 
+ {
+   status = "okay";
+};
+
+ {
+   hdmi-supply = <_dldo1>;
+   status = "okay";
+};
+
+_out {
+   hdmi_out_con: endpoint {
+   remote-endpoint = <_con_in>;
+   };
+};
+
+ {
+   status = "okay";
+};
+
  {
pinctrl-names = "default";
pinctrl-0 = <_pins>;
@@ -218,6 +248,10 @@
vcc-hdmi-supply = <_dldo1>;
 };
 
+ {
+   status = "okay";
+};
+
  {
pinctrl-names = 

Re: [linux-sunxi] [PATCH v3.1 10/10] arm64: dts: allwinner: a64: Enable HDMI output on A64 boards w/ HDMI

2018-07-27 Thread Icenowy Zheng


于 2018年7月27日 GMT+08:00 上午2:03:00, "Jernej Škrabec"  写到:
>Dne četrtek, 26. julij 2018 ob 19:12:57 CEST je Icenowy Zheng
>napisal(a):
>> From: Jagan Teki 
>> 
>> Enable all necessary device tree nodes and add connector node to
>device
>> trees for all supported A64 boards with HDMI.
>> 
>> Signed-off-by: Jagan Teki 
>> [Icenowy: squash all board patches altogether and change supply name]
>> Signed-off-by: Icenowy Zheng 
>> ---
>> Changes in v3,1:
>> - Squash all enablement patches altogether.
>> - Change supply name to match DT binding & driver change.
>> Changes for v3:
>> - Enable all pipeline components
>> Changes for v2:
>> - none
>> 
>>  .../dts/allwinner/sun50i-a64-bananapi-m64.dts | 34
>+++
>>  .../dts/allwinner/sun50i-a64-nanopi-a64.dts   | 34
>+++
>>  .../dts/allwinner/sun50i-a64-olinuxino.dts| 34
>+++
>>  .../dts/allwinner/sun50i-a64-orangepi-win.dts | 34
>+++
>>  .../boot/dts/allwinner/sun50i-a64-pine64.dts  | 34
>+++
>>  .../allwinner/sun50i-a64-sopine-baseboard.dts | 34
>+++
>>  6 files changed, 204 insertions(+)
>> 
>> diff --git
>a/arch/arm64/boot/dts/allwinner/sun50i-a64-bananapi-m64.dts
>> b/arch/arm64/boot/dts/allwinner/sun50i-a64-bananapi-m64.dts index
>> 094cfed13df9..0d8f5571d574 100644
>> --- a/arch/arm64/boot/dts/allwinner/sun50i-a64-bananapi-m64.dts
>> +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-bananapi-m64.dts
>> @@ -60,6 +60,17 @@
>>  stdout-path = "serial0:115200n8";
>>  };
>> 
>> +connector {
>> +compatible = "hdmi-connector";
>> +type = "a";
>> +
>> +port {
>> +hdmi_con_in: endpoint {
>> +remote-endpoint = <_out_con>;
>> +};
>> +};
>> +};
>> +
>>  leds {
>>  compatible = "gpio-leds";
>> 
>> @@ -86,6 +97,10 @@
>>  };
>>  };
>> 
>> + {
>> +status = "okay";
>> +};
>> +
>>   {
>>  status = "okay";
>>  };
>> @@ -103,6 +118,17 @@
>>  status = "okay";
>>  };
>> 
>> + {
>> +hdmi-supply = <_dldo1>;
>> +status = "okay";
>> +};
>> +
>> +_out {
>> +hdmi_out_con: endpoint {
>> +remote-endpoint = <_con_in>;
>> +};
>> +};
>> +
>>   {
>>  pinctrl-names = "default";
>>  pinctrl-0 = <_pins>;
>> @@ -120,6 +146,10 @@
>>  };
>>  };
>> 
>> + {
>> +status = "okay";
>> +};
>> +
>>   {
>>  pinctrl-names = "default";
>>  pinctrl-0 = <_pins>;
>> @@ -300,6 +330,10 @@
>>  vcc-hdmi-supply = <_dldo1>;
>>  };
>> 
>> + {
>> +status = "okay";
>> +};
>> +
>>   {
>>  pinctrl-names = "default";
>>  pinctrl-0 = <_pins_a>;
>> diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-nanopi-a64.dts
>> b/arch/arm64/boot/dts/allwinner/sun50i-a64-nanopi-a64.dts index
>> 98dbff19f5cc..2bcf02f46366 100644
>> --- a/arch/arm64/boot/dts/allwinner/sun50i-a64-nanopi-a64.dts
>> +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-nanopi-a64.dts
>> @@ -57,6 +57,21 @@
>>  chosen {
>>  stdout-path = "serial0:115200n8";
>>  };
>> +
>> +connector {
>> +compatible = "hdmi-connector";
>> +type = "a";
>> +
>> +port {
>> +hdmi_con_in: endpoint {
>> +remote-endpoint = <_out_con>;
>> +};
>> +};
>> +};
>> +};
>> +
>> + {
>> +status = "okay";
>>  };
>> 
>>   {
>> @@ -67,6 +82,17 @@
>>  status = "okay";
>>  };
>> 
>> + {
>> +hdmi-supply = <_dldo1>;
>> +status = "okay";
>> +};
>> +
>> +_out {
>> +hdmi_out_con: endpoint {
>> +remote-endpoint = <_con_in>;
>> +};
>> +};
>> +
>>  /* i2c1 connected with gpio headers like pine64, bananapi */
>>   {
>>  pinctrl-names = "default";
>> @@ -78,6 +104,10 @@
>>  bias-pull-up;
>>  };
>> 
>> + {
>> +status = "okay";
>> +};
>> +
>>   {
>>  pinctrl-names = "default";
>>  pinctrl-0 = <_pins>;
>> @@ -199,6 +229,10 @@
>>  vcc-hdmi-supply = <_dldo1>;
>>  };
>> 
>> + {
>> +status = "okay";
>> +};
>> +
>>   {
>>  pinctrl-names = "default";
>>  pinctrl-0 = <_pins_a>;
>> diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-olinuxino.dts
>> b/arch/arm64/boot/dts/allwinner/sun50i-a64-olinuxino.dts index
>> 3f531393eaee..5445a7a1db51 100644
>> --- a/arch/arm64/boot/dts/allwinner/sun50i-a64-olinuxino.dts
>> +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-olinuxino.dts
>> @@ -58,12 +58,42 @@
>>  stdout-path = "serial0:115200n8";
>>  };
>> 
>> +connector {
>> +compatible = "hdmi-connector";
>> +type = "a";
>> +
>> +port {
>> +hdmi_con_in: endpoint {
>> +remote-endpoint = <_out_con>;
>> +};
>> +};
>> +};
>> +
>>  wifi_pwrseq: wifi_pwrseq {
>>  compatible = "mmc-pwrseq-simple";
>>  reset-gpios = <_pio 0 2 

Re: [linux-sunxi] [PATCH v3.1 10/10] arm64: dts: allwinner: a64: Enable HDMI output on A64 boards w/ HDMI

2018-07-27 Thread Jernej Škrabec
Dne četrtek, 26. julij 2018 ob 19:12:57 CEST je Icenowy Zheng napisal(a):
> From: Jagan Teki 
> 
> Enable all necessary device tree nodes and add connector node to device
> trees for all supported A64 boards with HDMI.
> 
> Signed-off-by: Jagan Teki 
> [Icenowy: squash all board patches altogether and change supply name]
> Signed-off-by: Icenowy Zheng 
> ---
> Changes in v3,1:
> - Squash all enablement patches altogether.
> - Change supply name to match DT binding & driver change.
> Changes for v3:
> - Enable all pipeline components
> Changes for v2:
> - none
> 
>  .../dts/allwinner/sun50i-a64-bananapi-m64.dts | 34 +++
>  .../dts/allwinner/sun50i-a64-nanopi-a64.dts   | 34 +++
>  .../dts/allwinner/sun50i-a64-olinuxino.dts| 34 +++
>  .../dts/allwinner/sun50i-a64-orangepi-win.dts | 34 +++
>  .../boot/dts/allwinner/sun50i-a64-pine64.dts  | 34 +++
>  .../allwinner/sun50i-a64-sopine-baseboard.dts | 34 +++
>  6 files changed, 204 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-bananapi-m64.dts
> b/arch/arm64/boot/dts/allwinner/sun50i-a64-bananapi-m64.dts index
> 094cfed13df9..0d8f5571d574 100644
> --- a/arch/arm64/boot/dts/allwinner/sun50i-a64-bananapi-m64.dts
> +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-bananapi-m64.dts
> @@ -60,6 +60,17 @@
>   stdout-path = "serial0:115200n8";
>   };
> 
> + connector {
> + compatible = "hdmi-connector";
> + type = "a";
> +
> + port {
> + hdmi_con_in: endpoint {
> + remote-endpoint = <_out_con>;
> + };
> + };
> + };
> +
>   leds {
>   compatible = "gpio-leds";
> 
> @@ -86,6 +97,10 @@
>   };
>  };
> 
> + {
> + status = "okay";
> +};
> +
>   {
>   status = "okay";
>  };
> @@ -103,6 +118,17 @@
>   status = "okay";
>  };
> 
> + {
> + hdmi-supply = <_dldo1>;
> + status = "okay";
> +};
> +
> +_out {
> + hdmi_out_con: endpoint {
> + remote-endpoint = <_con_in>;
> + };
> +};
> +
>   {
>   pinctrl-names = "default";
>   pinctrl-0 = <_pins>;
> @@ -120,6 +146,10 @@
>   };
>  };
> 
> + {
> + status = "okay";
> +};
> +
>   {
>   pinctrl-names = "default";
>   pinctrl-0 = <_pins>;
> @@ -300,6 +330,10 @@
>   vcc-hdmi-supply = <_dldo1>;
>  };
> 
> + {
> + status = "okay";
> +};
> +
>   {
>   pinctrl-names = "default";
>   pinctrl-0 = <_pins_a>;
> diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-nanopi-a64.dts
> b/arch/arm64/boot/dts/allwinner/sun50i-a64-nanopi-a64.dts index
> 98dbff19f5cc..2bcf02f46366 100644
> --- a/arch/arm64/boot/dts/allwinner/sun50i-a64-nanopi-a64.dts
> +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-nanopi-a64.dts
> @@ -57,6 +57,21 @@
>   chosen {
>   stdout-path = "serial0:115200n8";
>   };
> +
> + connector {
> + compatible = "hdmi-connector";
> + type = "a";
> +
> + port {
> + hdmi_con_in: endpoint {
> + remote-endpoint = <_out_con>;
> + };
> + };
> + };
> +};
> +
> + {
> + status = "okay";
>  };
> 
>   {
> @@ -67,6 +82,17 @@
>   status = "okay";
>  };
> 
> + {
> + hdmi-supply = <_dldo1>;
> + status = "okay";
> +};
> +
> +_out {
> + hdmi_out_con: endpoint {
> + remote-endpoint = <_con_in>;
> + };
> +};
> +
>  /* i2c1 connected with gpio headers like pine64, bananapi */
>   {
>   pinctrl-names = "default";
> @@ -78,6 +104,10 @@
>   bias-pull-up;
>  };
> 
> + {
> + status = "okay";
> +};
> +
>   {
>   pinctrl-names = "default";
>   pinctrl-0 = <_pins>;
> @@ -199,6 +229,10 @@
>   vcc-hdmi-supply = <_dldo1>;
>  };
> 
> + {
> + status = "okay";
> +};
> +
>   {
>   pinctrl-names = "default";
>   pinctrl-0 = <_pins_a>;
> diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-olinuxino.dts
> b/arch/arm64/boot/dts/allwinner/sun50i-a64-olinuxino.dts index
> 3f531393eaee..5445a7a1db51 100644
> --- a/arch/arm64/boot/dts/allwinner/sun50i-a64-olinuxino.dts
> +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-olinuxino.dts
> @@ -58,12 +58,42 @@
>   stdout-path = "serial0:115200n8";
>   };
> 
> + connector {
> + compatible = "hdmi-connector";
> + type = "a";
> +
> + port {
> + hdmi_con_in: endpoint {
> + remote-endpoint = <_out_con>;
> + };
> + };
> + };
> +
>   wifi_pwrseq: wifi_pwrseq {
>   compatible = "mmc-pwrseq-simple";
>   reset-gpios = <_pio 0 2 GPIO_ACTIVE_LOW>; /* PL2 */
>   };
>  };
> 
> + {
> + status = "okay";
> +};
> +
> + {
> + hdmi-supply = <_dldo1>;
> + status = "okay";
> +};
> +
> +_out {
> + hdmi_out_con: