Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1367839imm; Thu, 12 Jul 2018 00:11:19 -0700 (PDT) X-Google-Smtp-Source: AAOMgpd/3FOZrDQWEq6FhZijlR4M6iM/bB8+TOfgTWsWUDLdG4NlikICT1YfcGXG6wQHTa/h8u4t X-Received: by 2002:a62:170c:: with SMTP id 12-v6mr1109533pfx.139.1531379479718; Thu, 12 Jul 2018 00:11:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531379479; cv=none; d=google.com; s=arc-20160816; b=CMmuFaXBmLVj7wVeKI9D0Hhp+esEJXZOOOzl22HhL6ay5h/oa6Zc/wSvW32OW4/7CK 3py99y6v8X4wTzz8OtP3UZKvfixY2mfAg7NryqIRJR7CDanRJnymwVF7lpJZSkZrph9r bPywiHMt/xSbgggSOpnfrP9iUdmbbGwj3ZhWTFoccOawQoaIo33b+CCxenMoFNGAG4LU iRGJu1Cz4R0Da2IRQzoCfPxfybdsDWjUcg+xDqDHO+pevPHVh8A1kbxU1n+D/ZwHgJ+E m0Tx6QQdO9m6rZvjxLAs3JFvnx1dyZ1gkhnbW4MK4VoBG0z85/oWUVlI9FIR221XGvg0 kMWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:from:cc:to:subject :content-transfer-encoding:mime-version:references:in-reply-to:date :arc-authentication-results; bh=yhBxY60Za+tv+QRBwl2AH54x+exRFg0ecPAVwlEGoqc=; b=G2LIMCQjDWGZ6iLHYUOEC2vffek8ktpMygKY5yhzPbVJyAcQvwSMkpWv+fS9zToOCc ESGsRzmGVhBL8qwcDVz8eaUNUAfI9Qbsd8qooVV1V1WArWJvlj+8XUOyrg1F9phX1qEK xjTDcGjVDa3HRQicnGfP6FKcBfjz+aqZEJm2fP/GtYovWmrnZNp0zc+9SItH/Nlh82+1 QNZkyZzNh9V/7qw6EUOZahLZxCDMvXNoxGfD6GBRTshLSNRiHqJJjWWikNWOtDJTsP1A EaR4hITcs25UuzGt7QH7CgN8d9H5UKFNbp89X9Qn+PZrdk1Wod3zwQvIx/492qOdc9zQ FUpg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e188-v6si22087031pfc.110.2018.07.12.00.11.04; Thu, 12 Jul 2018 00:11:19 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726608AbeGLHSf convert rfc822-to-8bit (ORCPT + 99 others); Thu, 12 Jul 2018 03:18:35 -0400 Received: from hermes.aosc.io ([199.195.250.187]:56454 "EHLO hermes.aosc.io" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725992AbeGLHSf (ORCPT ); Thu, 12 Jul 2018 03:18:35 -0400 Received: from localhost (localhost [127.0.0.1]) (Authenticated sender: icenowy@aosc.io) by hermes.aosc.io (Postfix) with ESMTPSA id DE7EB5C880; Thu, 12 Jul 2018 07:10:16 +0000 (UTC) Date: Thu, 12 Jul 2018 15:09:55 +0800 In-Reply-To: <20180712064601.m3bdd46wzac5fpgh@flea> References: <20180711132233.42301-1-icenowy@aosc.io> <20180711132233.42301-2-icenowy@aosc.io> <20180711150532.6gzm7krouriddreh@flea> <8F6CDF5C-2AC1-43EC-858A-5C6345CF279A@aosc.io> <20180712064601.m3bdd46wzac5fpgh@flea> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT Subject: Re: [linux-sunxi] Re: [PATCH 1/2] ARM: sun8i: h3: enable HDMI output on Banana Pi M2 Zero To: linux-arm-kernel@lists.infradead.org, Maxime Ripard CC: devicetree@vger.kernel.org, Chen-Yu Tsai , linux-sunxi@googlegroups.com, linux-kernel@vger.kernel.org From: Icenowy Zheng Message-ID: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 于 2018年7月12日 GMT+08:00 下午2:46:01, Maxime Ripard 写到: >On Wed, Jul 11, 2018 at 11:15:50PM +0800, Icenowy Zheng wrote: >> >> >> 于 2018年7月11日 GMT+08:00 下午11:05:32, Maxime Ripard > 写到: >> >Hi, >> > >> >On Wed, Jul 11, 2018 at 09:22:32PM +0800, Icenowy Zheng wrote: >> >> Banana Pi M2 Zero board has a miniHDMI port connected to the HDMI >> >> controller of Allwinner H3 SoC. >> >> >> >> Enable the HDMI output in Banana Pi M2 Zero device tree. >> >> >> >> Signed-off-by: Icenowy Zheng >> >> --- >> >> .../dts/sun8i-h2-plus-bananapi-m2-zero.dts | 25 >> >+++++++++++++++++++ >> >> 1 file changed, 25 insertions(+) >> >> >> >> diff --git a/arch/arm/boot/dts/sun8i-h2-plus-bananapi-m2-zero.dts >> >b/arch/arm/boot/dts/sun8i-h2-plus-bananapi-m2-zero.dts >> >> index 7d01f9322658..eb61dcf32797 100644 >> >> --- a/arch/arm/boot/dts/sun8i-h2-plus-bananapi-m2-zero.dts >> >> +++ b/arch/arm/boot/dts/sun8i-h2-plus-bananapi-m2-zero.dts >> >> @@ -26,6 +26,17 @@ >> >> stdout-path = "serial0:115200n8"; >> >> }; >> >> >> >> + hdmi-connector { >> >> + compatible = "hdmi-connector"; >> >> + type = "c"; >> > >> >This is not one of the connector type declared in DRM, how is it >> >exposed to the userspace? >> >> So just use "A" here (because of single link)? > >If the connector type is C, it should be C, and DRM / driver adjusted >to handle it. Okay I won't change this property, if there's any further revisions. For DRM driver, I think it can be an independent patchset. > >Maxime