Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3534556imu; Mon, 24 Dec 2018 04:01:58 -0800 (PST) X-Google-Smtp-Source: ALg8bN4ahcf8GGjtoP8NuY55lJrEhKdJmaVBxhxDTdlNtvNyttG0ftl5Z0J/Q8didMBDVeGMoVik X-Received: by 2002:a63:2a4a:: with SMTP id q71mr12063359pgq.374.1545652918547; Mon, 24 Dec 2018 04:01:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545652918; cv=none; d=google.com; s=arc-20160816; b=cX5/pnv5meSQr6jQWxYJFqk3wEVWwVQ4HmIV/0hAmpB58W1VQvWEWzfYwuHdGtdGoy KO0mQzT9VoaTgYHiqdiOncQplM3e7NJVz09dzoPhozYruaxcGCjQrUDuWUJmJ/tHZJKE GnrELBUj1MnzF9nd5CQ6M2TpzpRJZTrMdkJqE3Yilg7bzbHUgi9zQoSPdlc7Ca1SA6sH kDrYi2B0ClUAHUx3WPSBpGs8GOYWD1tyqjZ4El8aCp3+3wCgCg4H0122OCIyYNHIy0Rg Ht8TIAZV6pbhW6XIbzJqXNLoRK/hsqHmh7cl9fbxWUUKs2NoGw5HzZF1K/fSrUe+wTuP g+9A== 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; bh=7iD71YXyi3BHuDvnxJYH/U7rLJ2PQRGpsXjKdUgas5s=; b=jGEj5oT+QJnTJ6reRMREo6CZqmtoLfoeSm0Bs4tgJ8c1eSORq0GSj8QiIq5i3eQit0 nBmDhA68auArJJdUtDztZHT/3127PRPMqgjPPidDOhuAy1/9aAYWFyAP1SIYUHPEACU4 /galdIMO+AJHGy3Crp1/o8I82liEPzQkXV7f3f7drn/IK+vOs27p9Zvw7GFCUSEy0WKE /cqu4FjBrMsXrSQ0ra/HGAP2QloPXE6Mn1o2abUC1dOP8Ajmi9g9wtQPInB23P9MG3+Z xxwS4G1+x0V8G1QI7G8EA+/hOSijJ5VUJDL5KycBDjeQSFzzBKL672NRY9FKpLbNWqQY +Vkw== 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 a13si27480787pgb.412.2018.12.24.04.01.42; Mon, 24 Dec 2018 04:01:58 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725879AbeLXMAw (ORCPT + 99 others); Mon, 24 Dec 2018 07:00:52 -0500 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:58030 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725308AbeLXMAw (ORCPT ); Mon, 24 Dec 2018 07:00:52 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id DF66E80D; Mon, 24 Dec 2018 04:00:51 -0800 (PST) Received: from e110455-lin.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.72.51.249]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 85F473F718; Mon, 24 Dec 2018 04:00:51 -0800 (PST) Received: by e110455-lin.cambridge.arm.com (Postfix, from userid 1000) id D0DAB680369; Mon, 24 Dec 2018 12:00:49 +0000 (GMT) Date: Mon, 24 Dec 2018 12:00:49 +0000 From: Liviu Dudau To: "james qian wang (Arm Technology China)" Cc: "Jonathan Chai (Arm Technology China)" , Brian Starkey , "Julien Yin (Arm Technology China)" , "thomas Sun (Arm Technology China)" , Alexandru-Cosmin Gheorghe , "Lowry Li (Arm Technology China)" , Ayan Halder , "Tiannan Zhu (Arm Technology China)" , "Jin Gao (Arm Technology China)" , "Yiqi Kang (Arm Technology China)" , nd , "malidp@foss.arm.com" , "maarten.lankhorst@linux.intel.com" , "maxime.ripard@bootlin.com" , "sean@poorly.run" , "corbet@lwn.net" , "linux-doc@vger.kernel.org" , "rdunlap@infradead.org" , "mchehab+samsung@kernel.org" , "davem@davemloft.net" , "gregkh@linuxfoundation.org" , "akpm@linux-foundation.org" , "nicolas.ferre@microchip.com" , "arnd@arndb.de" , "robh+dt@kernel.org" , Mark Rutland , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "dri-devel@lists.freedesktop.org" , "airlied@linux.ie" , "yamada.masahiro@socionext.com" Subject: Re: [PATCH v3 2/9] dt/bindings: drm/komeda: Add DT bindings for ARM display processor D71 Message-ID: <20181224120049.GD22341@e110455-lin.cambridge.arm.com> References: <20181221095757.15510-1-james.qian.wang@arm.com> <20181221095757.15510-3-james.qian.wang@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20181221095757.15510-3-james.qian.wang@arm.com> User-Agent: Mutt/1.11.1 (2018-12-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Dec 21, 2018 at 09:59:12AM +0000, james qian wang (Arm Technology China) wrote: > Add DT bindings documentation for the ARM display processor D71 and later > IPs. > > Signed-off-by: James (Qian) Wang > > Changes in v3: > - Deleted unnecessary property: interrupt-names. > - Dropped 'ports' and moving 'port' up a level. > --- > .../bindings/display/arm/arm,komeda.txt | 79 +++++++++++++++++++ > 1 file changed, 79 insertions(+) > create mode 100644 Documentation/devicetree/bindings/display/arm/arm,komeda.txt > > diff --git a/Documentation/devicetree/bindings/display/arm/arm,komeda.txt b/Documentation/devicetree/bindings/display/arm/arm,komeda.txt > new file mode 100644 > index 000000000000..b4e450243c7d > --- /dev/null > +++ b/Documentation/devicetree/bindings/display/arm/arm,komeda.txt > @@ -0,0 +1,79 @@ > +Device Tree bindings for ARM Komeda display driver > + > +Required properties: > +- compatible: Should be "arm,mali-d71" > +- reg: Physical base address and length of the registers in the system > +- interrupts: the interrupt line number of the device in the system > +- clocks: A list of phandle + clock-specifier pairs, one for each entry > + in 'clock-names' > +- clock-names: A list of clock names. It should contain: > + - "mclk": for the main processor clock > + - "pclk": for the APB interface clock > +- #address-cells: Must be 1 > +- #size-cells: Must be 0 > + > +Required properties for sub-node: pipeline@nq > +Each device contains one or two pipeline sub-nodes (at least one), each > +pipeline node should provide properties: > +- reg: Zero-indexed identifier for the pipeline > +- clocks: A list of phandle + clock-specifier pairs, one for each entry > + in 'clock-names' > +- clock-names: should contain: > + - "pxclk": pixel clock > + - "aclk": AXI interface clock > + > +- port: each pipeline connect to an encoder input port. The connection is > + modeled using the OF graph bindings specified in > + Documentation/devicetree/bindings/graph.txt > + > +Optional properties: > + - memory-region: phandle to a node describing memory (see > + Documentation/devicetree/bindings/reserved-memory/reserved-memory.txt) > + to be used for the framebuffer; if not present, the framebuffer may > + be located anywhere in memory. > + > +Example: > +/ { > + ... > + > + dp0: display@c00000 { > + #address-cells = <1>; > + #size-cells = <0>; > + compatible = "arm,mali-d71"; > + reg = <0xc00000 0x20000>; > + interrupts = <0 168 4>; > + clocks = <&dpu_mclk>, <&dpu_aclk>; > + clock-names = "mclk", "pclk"; > + > + dp0_pipe0: pipeline@0 { > + clocks = <&fpgaosc2>, <&dpu_aclk>; > + clock-names = "pxclk", "aclk"; > + reg = <0>; > + > + #address-cells = <1>; > + #size-cells = <0>; These are undocumented and not necessary anyway, as the pipelines will inherit display's attributes. > + > + port@0 { > + dp0_pipe0_out: endpoint { > + remote-endpoint = <&db_dvi0_in>; > + }; > + }; > + }; > + > + dp0_pipe1: pipeline@1 { > + clocks = <&fpgaosc2>, <&dpu_aclk>; > + clock-names = "pxclk", "aclk"; > + reg = <1>; > + > + #address-cells = <1>; > + #size-cells = <0>; same here. > + > + port@0 { > + dp0_pipe1_out: endpoint { > + remote-endpoint = <&db_dvi1_in>; > + }; > + }; > + }; > + }; > + ... > +}; > -- > 2.17.1 > With these changes: Reviewed-by: Liviu Dudau Best regards, Liviu -- ==================== | I would like to | | fix the world, | | but they're not | | giving me the | \ source code! / --------------- ¯\_(ツ)_/¯