Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1789528imm; Thu, 12 Jul 2018 07:53:58 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcJPlgTSOZlIJIurLP8xGk10TFI19JnO2gh1AGitZwX/ih3VpV52lC7kkIEJgnpUJB6FZ+a X-Received: by 2002:a17:902:d88d:: with SMTP id b13-v6mr2523310plz.314.1531407238083; Thu, 12 Jul 2018 07:53:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531407238; cv=none; d=google.com; s=arc-20160816; b=cz6q1DmZXTu1/DBBTlUj1Mu/+9naCwiyLV5GpAWgrwwB+XGmIUJPbcNEiR6evSwvJZ pqWdDTEipefve/YV+cYiIkxst7I4MA24n83MHgvnR6Zkt+jjG/WEWOS3b/pa7IWMtOjD +zuoxOQzRrtjtm5T0nT+uurL4Jj0URH19dbf/xk1bI9CPDuaR2RDW5Oznrdnhq2dqAmt 6DQhxgXwtbqUTNgsS4qUN7ECIVV2BLbwftmGAIJoEu7WJL54LLth5gjIXI4zH+XqT21x gaCUMZ0ra56GVaF+uWTXQtRO8nxzmH+aa+devexbJjOBWaSOBjkfJh9Pem+JHW4W3GFs b9jA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date :arc-authentication-results; bh=LFmbXIisMzoLggjz0UpmWeY9496tQVv7LoBRqiMMXHQ=; b=Fi+ron5acLYtx82akSnVD6TgbuzuYN5wZ70TSVSWL/wXk6Lx8MVs6F4HD5FWWE1xyj LrIz8Pqmw+h6rNPetXsu28dOlECyCxTTPatQSIHN9yTnjCZgG9NrL8Ui/p/BNPxVLfWs u32iSwkPCxGQ5P1+KQKSOgOaPcMh4BtSAOHS50f+9JPe+MyYgNtqvMlQsECfNuwBVRua W3pT6KzsNpkYuFweySEd0EFgmkXxwow1DJljoLF7scDGoGlJ+s0yMspQ9iE0kl8bot7I I1z2nw1LDynxfxQ6UV9f3wR0hgHGxpyV9ioENCDRtjDuKYsIAEuEuoXtiNMgSEmdR97c zSHw== 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 38-v6si21828231plc.446.2018.07.12.07.53.42; Thu, 12 Jul 2018 07:53:58 -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 S1732464AbeGLPDB convert rfc822-to-8bit (ORCPT + 99 others); Thu, 12 Jul 2018 11:03:01 -0400 Received: from mail.bootlin.com ([62.4.15.54]:34201 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732305AbeGLPDB (ORCPT ); Thu, 12 Jul 2018 11:03:01 -0400 Received: by mail.bootlin.com (Postfix, from userid 110) id 6BA8F2072B; Thu, 12 Jul 2018 16:53:06 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail.bootlin.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT shortcircuit=ham autolearn=disabled version=3.4.0 Received: from localhost (LFbn-1-2035-163.w90-76.abo.wanadoo.fr [90.76.104.163]) by mail.bootlin.com (Postfix) with ESMTPSA id 3C23520618; Thu, 12 Jul 2018 16:53:06 +0200 (CEST) Date: Thu, 12 Jul 2018 16:53:06 +0200 From: Maxime Ripard To: Icenowy Zheng Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, Chen-Yu Tsai , linux-sunxi@googlegroups.com, linux-kernel@vger.kernel.org Subject: Re: [linux-sunxi] Re: [PATCH 1/2] ARM: sun8i: h3: enable HDMI output on Banana Pi M2 Zero Message-ID: <20180712145306.ootqt7dfh3nxsamy@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-Disposition: inline Content-Transfer-Encoding: 8BIT In-Reply-To: User-Agent: NeoMutt/20180622 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jul 12, 2018 at 03:09:55PM +0800, Icenowy Zheng wrote: > 于 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. Not really, since it's going to break userspace as soon as you merge that other patchset. Maxime -- Maxime Ripard, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering https://bootlin.com