Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp4204472yba; Wed, 17 Apr 2019 06:50:47 -0700 (PDT) X-Google-Smtp-Source: APXvYqzbFoJADu6iJIDNJ0tZ8yMB4115XqF5rKefD+LBRQBN6Zvnx4gNsCE3Azm8ZTII6u9D9nIx X-Received: by 2002:a63:5953:: with SMTP id j19mr78971394pgm.260.1555509047045; Wed, 17 Apr 2019 06:50:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555509047; cv=none; d=google.com; s=arc-20160816; b=weIflNIYKUCn0f+uTzbYt13hFTWEcMfD4lxnemkZP4j2ZAr6T6pqDtjhUNiZh31TC7 SP9XvnF2vV0TMYhWELzyMN30iYsHk+2qvvLLkkog8LQ/rWHma9GRqrwcS5H9+5oGpHD4 b8AqKu5esMEGLy+qB9WTbqI48gEFTxkw/0b0g+jtVINp9sBaKAQoAK87PmsILi6LsNRy BVx5eJxvwVW4YCEutB8rzD55g6bA6/aldX1lqhQmdmRaMhLerILROCHnC559HX9Ao20c RZlOw05SUZxlCLEA9UR5M5MEwmXnvgVkZ8UUzp1/Nn5dstne9ZzdvxlSl5a5e40/x2f6 fs/w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=UU/3tZUKdHcX8CHghY9tefEVzjV3TOnq5vTkrwwNKiE=; b=PpvWf8AwAhjXahAUPJcGS5CJhYc8jW0mJ/aaC86OW+51NPtil4cPcmzCcrZa+ThXu/ AwYxCk+jHECdKpqpOjthXQmE7zdmoaBRbOECutqgw6+U9RbBMTho/UpigV81d+nC+0T2 GlDjyLDCXNzfl9MPvAuOZQhfmKykAoAQ9PxsEAqQR2TKb0MzIQwaoDGUDbGoPC5a8BPH PzsLjSrKf4uH9QOYPK8w8R0u20CP8uCZ7O64YZrNV8jFhO4FZlNjCLjVezP4vyc2u2lY R3vldXiMfcC2K4V/Tte4Ohtd9rK6AEPMNyJAtHZ9aIySn20jyMlTsT8czXkRFY3gjLSb VGVw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=INlZa0D4; 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=pass (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 h185si12720412pge.368.2019.04.17.06.50.31; Wed, 17 Apr 2019 06:50:47 -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; dkim=pass header.i=@kernel.org header.s=default header.b=INlZa0D4; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732336AbfDQNsk (ORCPT + 99 others); Wed, 17 Apr 2019 09:48:40 -0400 Received: from mail.kernel.org ([198.145.29.99]:50308 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732233AbfDQNsk (ORCPT ); Wed, 17 Apr 2019 09:48:40 -0400 Received: from mail-qt1-f178.google.com (mail-qt1-f178.google.com [209.85.160.178]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 2019E217F4; Wed, 17 Apr 2019 13:48:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1555508919; bh=NO/y6ghYS3bcm/EBh0oVsR+r32vzDNtTg2pQBGtkCWg=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=INlZa0D49dxyNqoX7u6UnzkJ9vvTPXT26vu1DMyASeADtTLvehx5+gjGpu9YH5pYs GLhC8IcKczCZjTtbmaL/A2z+V2VaxLc6jHCB6GMLdzm5acpm/wxbpd7ocC1wS3RX8n lxz9XPbpVHnpahPl6QCOmqwHZc3rT/RXS6baxfdE= Received: by mail-qt1-f178.google.com with SMTP id x12so27354678qts.7; Wed, 17 Apr 2019 06:48:39 -0700 (PDT) X-Gm-Message-State: APjAAAXHYQnwJOANgY8DWVOSJZHe5EndPMURqdvp1TW4Xz36syqvUXpL lRyksLyBvjkEdjcU1n9M9pots3yebM/rTfWDaw== X-Received: by 2002:ac8:33cf:: with SMTP id d15mr73439780qtb.149.1555508918386; Wed, 17 Apr 2019 06:48:38 -0700 (PDT) MIME-Version: 1.0 References: <20190414200824.28348-1-paul@crapouillou.net> In-Reply-To: <20190414200824.28348-1-paul@crapouillou.net> From: Rob Herring Date: Wed, 17 Apr 2019 08:48:26 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v3 1/3] dt-bindings: Add doc for the ingenic-drm driver To: Paul Cercueil Cc: David Airlie , Daniel Vetter , Mark Rutland , Maarten Lankhorst , Maxime Ripard , Sean Paul , od@zcrc.me, dri-devel , devicetree@vger.kernel.org, "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Apr 14, 2019 at 3:08 PM Paul Cercueil wrote: > > Add documentation for the devicetree bindings of the DRM driver for the DRM is a Linuxism. What is the LCD controller h/w block called? > JZ47xx family of SoCs from Ingenic. > > Signed-off-by: Paul Cercueil > Tested-by: Artur Rojek > --- > > Notes: > v2: Remove ingenic,panel property. > > v3: - Rename compatible strings from ingenic,jz47XX-drm to ingenic,jz47XX-lcd > - The ingenic,lcd-mode property is now read from the panel node instead > of from the driver node > > .../devicetree/bindings/display/ingenic,drm.txt | 53 ++++++++++++++++++++++ > 1 file changed, 53 insertions(+) > create mode 100644 Documentation/devicetree/bindings/display/ingenic,drm.txt > > diff --git a/Documentation/devicetree/bindings/display/ingenic,drm.txt b/Documentation/devicetree/bindings/display/ingenic,drm.txt > new file mode 100644 > index 000000000000..9de47db8a515 > --- /dev/null > +++ b/Documentation/devicetree/bindings/display/ingenic,drm.txt > @@ -0,0 +1,53 @@ > +Ingenic JZ47xx DRM driver > + > +Required properties: > +- compatible: one of: > + * ingenic,jz4740-lcd > + * ingenic,jz4725b-lcd > +- reg: LCD registers location and length > +- clocks: LCD pixclock and device clock specifiers. > + The device clock is only required on the JZ4740. > +- clock-names: "lcd_pclk" and "lcd" > +- interrupts: Specifies the interrupt line the LCD controller is connected to. > + > +Optional properties in the panel mode: > +- ingenic,lcd-mode: LCD mode to use with the display panel. > + See for all the > + possible values. > + > +Example: > + > +#include > + > +panel { > + compatible = "sharp,ls020b1dd01d", "simple-panel"; 'simple-panel' is not a valid compatible string. > + > + backlight = <&backlight>; > + power-supply = <&vcc>; > + > + ingenic,lcd-mode = ; > + > + port { > + panel_input: endpoint { > + remote-endpoint = <&panel_output>; > + }; > + }; > +}; > + > + > +lcd: lcd-controller@13050000 { > + compatible = "ingenic,jz4725b-lcd"; > + reg = <0x13050000 0x1000>; > + > + interrupt-parent = <&intc>; > + interrupts = <31>; > + > + clocks = <&cgu JZ4725B_CLK_LCD>; > + clock-names = "lcd"; > + > + port { > + panel_output: endpoint { > + remote-endpoint = <&panel_input>; > + }; > + }; > +}; > -- > 2.11.0 >