Received: by 2002:ac0:b08d:0:0:0:0:0 with SMTP id l13csp4676356imc; Mon, 25 Feb 2019 09:00:30 -0800 (PST) X-Google-Smtp-Source: AHgI3IaV2lSFTMYsiU2+hWzMlb+e3aHpk0F8c5pVLbAWQrBy1+N926xyGdEdfsKSY0tIWLUg8AAx X-Received: by 2002:a17:902:f83:: with SMTP id 3mr22120088plz.125.1551114030607; Mon, 25 Feb 2019 09:00:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551114030; cv=none; d=google.com; s=arc-20160816; b=zmu8UslOaEifLf2yPF3FJms/hDS52UzuxQiDInu+qU3F3/BBMUFFeYdg8dhXAhTpB6 UzpI+BUxnYfbaMs9C3ZGOJN8wBqmyUdm3BoMGcgBIjkpN3weJzN1GHH8tzE84DsTnshH I92uBOIq8eWHx7DXBNXGm4a5viruvwyf+OErzVpBIPB3sGCLBfsv7ts39vKFa6AQYpiy mtk3KU6RhFQI9YY8MAYKPKsrgQSQzr1DRQjBPyhB9IXeJtAQt0Rqsj7MzfDCm6iMoYI1 S7d3kqpqqfjybulv7ZZR1wfVfRllJ0+DV5y5/K3MIEIZCK2fUeguiCgsKMctvAMcbKc+ 7uJA== 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-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=2RBCMiEy+kJYk+2c0TTn1AShixVsUQnWkM1WqCdTG+E=; b=Ue5a41Mdn/9dKavzyvqfI078OdcxzZWrwoJul0jZr1pB9w8pDZQsCJJ0nVZDHgnnNq Xeh5XncaquspQJkoC05aQfGwN4HVduDaJVl+BWPRlGsnZDc9mIvsLU5ytuumK+deVQSu ysolvIkunrtVaE4hC9/4vA4ou04IZaxPVQ9mn9r+Lp4hKu+WXB1ruR6Vz37vXSAcQK9w bOdL1gGX4zEvgQG2Y3Yl7oIfFo096Ysfhb/Txo4WptwCCse1cpkRxoU6g2OTg8lXF83u F4dzRz1sUSpYZ2Fc/gPIjSkfvOdhxFAhlM7LGJO8cvKS1s4Lo6cefZW1/ZYL2QC5ZYUR zDQQ== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g12si10630787pla.52.2019.02.25.09.00.14; Mon, 25 Feb 2019 09:00:30 -0800 (PST) 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728475AbfBYQ70 (ORCPT + 99 others); Mon, 25 Feb 2019 11:59:26 -0500 Received: from mail-ot1-f67.google.com ([209.85.210.67]:45268 "EHLO mail-ot1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728028AbfBYQ7Z (ORCPT ); Mon, 25 Feb 2019 11:59:25 -0500 Received: by mail-ot1-f67.google.com with SMTP id 32so8404162ota.12; Mon, 25 Feb 2019 08:59:25 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=2RBCMiEy+kJYk+2c0TTn1AShixVsUQnWkM1WqCdTG+E=; b=tQtoNgj/4sDtfCJvyEJcEvm/jtQjTao2LHpV93KWjn4Z+KXfFPVwlxhNW36JjgrQat 2diHa8GOPtskIHYNkRpHMCws2oV6RcxAc4FnEM0ffi22YX6+S80KFrH9yXeXcthHXXM1 TqgBojsp6BZpixPfXWofJdNmaPY2oydRThPBZ4vG1RYFUNfus38ps4r6Ge4hAN80sdCd Rfqjrf/NJ/UlzTVjIbH8Nt4rMvSJBgcllHRlmRu7NhPwqaXqReTAjAc6j2XPIqbBmRXz r1F+6Kk0s2Cs7WmHqciyDUl8Dfnz7Daq0VRwvW6ROagYUYYJuD1ZSbkDlYErAeHZVW1y wekg== X-Gm-Message-State: AHQUAuaiCI1DNjNHgnWQXKT7qMxR54BO3kcYOgVHgPbQ0S7K5uo+/39U a3H0ImV+UVV8JFlILKselQ== X-Received: by 2002:a9d:6394:: with SMTP id w20mr12777649otk.72.1551113964654; Mon, 25 Feb 2019 08:59:24 -0800 (PST) Received: from localhost (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id t2sm4796981otb.79.2019.02.25.08.59.23 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 25 Feb 2019 08:59:24 -0800 (PST) Date: Mon, 25 Feb 2019 10:59:23 -0600 From: Rob Herring To: Johan Jonker Cc: heiko@sntech.de, hjc@rock-chips.com, airlied@linux.ie, mark.rutland@arm.com, mturquette@baylibre.com, sboyd@kernel.org, dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org Subject: Re: [PATCH] dt-bindings: display: rockchip: add document for rk3066 hdmi Message-ID: <20190225165923.GA2578@bogus> References: <20181229133318.18128-1-jbx6244@gmail.com> <20190201123235.1693-1-jbx6244@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190201123235.1693-1-jbx6244@gmail.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Feb 01, 2019 at 01:32:35PM +0100, Johan Jonker wrote: > This patch adds a binding that describes the HDMI controller for > rk3066. This is not using the DW block like other Rockchip SoCs (IIRC)? > > Signed-off-by: Johan Jonker > --- > .../display/rockchip/rk3066_hdmi-rockchip.txt | 60 ++++++++++++++++++++++ Using the compatible string plus '.txt' is the preferred naming. > 1 file changed, 60 insertions(+) > create mode 100644 Documentation/devicetree/bindings/display/rockchip/rk3066_hdmi-rockchip.txt > > diff --git a/Documentation/devicetree/bindings/display/rockchip/rk3066_hdmi-rockchip.txt b/Documentation/devicetree/bindings/display/rockchip/rk3066_hdmi-rockchip.txt > new file mode 100644 > index 000000000..6a8f3754f > --- /dev/null > +++ b/Documentation/devicetree/bindings/display/rockchip/rk3066_hdmi-rockchip.txt > @@ -0,0 +1,60 @@ > +Rockchip specific extensions for rk3066 HDMI > +============================================ > + > +Required properties: > +- compatible: > + "rockchip,rk3066-hdmi"; > +- reg: > + Physical base address and length of the controller's registers. > +- clocks, clock-names: > + Phandle to HDMI controller clock, name should be "hclk". > +- interrupts: > + HDMI interrupt number. > +- power-domains: > + Phandle to the RK3066_PD_VIO power domain. > +- rockchip,grf: > + This soc uses GRF regs to switch the HDMI TX input between vop0 and vop1. > +- ports: > + Contains one port node with two endpoints, numbered 0 and 1, > + connected respectively to vop0 and vop1. You should have an output port to an hdmi-connector node (or bridge) as well. > +- pinctrl-0, pinctrl-name: > + Switch the iomux for the HPD/I2C pins to HDMI function. > + > +Example: > + hdmi: hdmi@10116000 { > + compatible = "rockchip,rk3066-hdmi"; > + reg = <0x10116000 0x2000>; > + interrupts = ; > + clocks = <&cru HCLK_HDMI>; > + clock-names = "hclk"; > + power-domains = <&power RK3066_PD_VIO>; > + rockchip,grf = <&grf>; > + pinctrl-names = "default"; > + pinctrl-0 = <&hdmii2c_xfer>, <&hdmi_hpd>; > + status = "disabled"; Don't show status in examples. > + > + hdmi_in: port { > + #address-cells = <1>; > + #size-cells = <0>; > + hdmi_in_vop0: endpoint@0 { > + reg = <0>; > + remote-endpoint = <&vop0_out_hdmi>; > + }; > + hdmi_in_vop1: endpoint@1 { > + reg = <1>; > + remote-endpoint = <&vop1_out_hdmi>; > + }; > + }; > + }; > + > +&pinctrl { > + hdmi { > + hdmi_hpd: hdmi-hpd { > + rockchip,pins = <0 RK_PA0 1 &pcfg_pull_default>; > + }; > + hdmii2c_xfer: hdmii2c-xfer { > + rockchip,pins = <0 RK_PA1 1 &pcfg_pull_none>, > + <0 RK_PA2 1 &pcfg_pull_none>; > + }; > + }; > +}; > -- > 2.11.0 >