Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp10619imb; Thu, 28 Feb 2019 14:20:43 -0800 (PST) X-Google-Smtp-Source: APXvYqxA8hxrecZIYPy4llEWg8oZiZqttoIdFDkuiW6Nzqaj3LZh8tLCNS3y1KkJ6pMjn7McWeWj X-Received: by 2002:a63:1a25:: with SMTP id a37mr1511504pga.428.1551392443505; Thu, 28 Feb 2019 14:20:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551392443; cv=none; d=google.com; s=arc-20160816; b=j+qsj1CILooRVAWWY3OBkijnCJOGIjGkUb+9uiI5lqWrpTCnmrJ/VKDLewSWFPBWps AU146KLjcqtOqQFcReab6m+ze4D6qy7EPa/gAeJ0ygLhkmmZQ/BZkzxthTLz9Y8OWSqy DbBDFLnP1h0zc1SzfcQruVXUBnMSSBX4i7jv6bfhuUIxY59Mg/YJawhFfW4OkJyCjq8x FVmFcv/LtESJ+iEJxyy0uO1o+swCCvERFGQoruFbmTxnBPNDDNJJwG+cr2rMrBJxT+B2 0omdL3Pww0dnfILQwqe1aK7rYt/fafPrU6kEH2Ufl59gjJU6bbPb3AeQlBpaDtjHsqUJ UhTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=MERAlDaoxRzi8J93ZF0xQJnhwHgSyiyL+LWS5VC0wEI=; b=CaBocFaaZMEicTieRFCGisXyvU2dSuJs0oBXCKEO5BGGQHg5ciUCRtlDp4sd9W0jzP 3LN+RF67dNpBO8xGLY7jwBVT+3pAkdD7sGyDgCIdFMtmUmw4xz7rBDYqWTml6s8ODRa5 Xc1cKr6oS4/MfNWxoUHXiPF87vpsOJwOOk1j4InDTxQzNDAlh0ydYCG4j0bHbDvA8t0l U7Pyub5eOktgNEPnkU3G/RbAG5fsHX7ZqkP+cnJMnQMgt10GWkze2qE9HVMxZXaLYJU4 f9iccfY7jaXBfqhZD2PWGb0NNtiCbbmJIx4Jwbwr03LBKVT2IiGvcRY0eGHa0obd1I3v pr4w== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@crapouillou.net header.s=mail header.b=yKODuEdT; 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=crapouillou.net Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c9si9117875pgq.144.2019.02.28.14.20.23; Thu, 28 Feb 2019 14:20:43 -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; dkim=fail header.i=@crapouillou.net header.s=mail header.b=yKODuEdT; 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=crapouillou.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1733072AbfB1WIQ (ORCPT + 99 others); Thu, 28 Feb 2019 17:08:16 -0500 Received: from outils.crapouillou.net ([89.234.176.41]:57344 "EHLO crapouillou.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725918AbfB1WIO (ORCPT ); Thu, 28 Feb 2019 17:08:14 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=crapouillou.net; s=mail; t=1551391692; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:in-reply-to: references:references; bh=MERAlDaoxRzi8J93ZF0xQJnhwHgSyiyL+LWS5VC0wEI=; b=yKODuEdTtTB6S3CYyEYlrxDBINQ5jbxdQ9hwxr5WOfv0Ms1gcpFm/ScLeN7Lkx52JaKCTM yaH7mirOJV8xKyhm+I2hwzQ5BJ+mUEhVYk0C0AD/MG3+CeA5i3Rdaqt0WxC1hBqKaAN8bd EAcZaULTKnnuG/WSNuMAdG+XIjJcruI= From: Paul Cercueil To: David Airlie , Daniel Vetter , Rob Herring , Mark Rutland , Maarten Lankhorst , Maxime Ripard , Sean Paul Cc: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, Paul Cercueil Subject: [PATCH 1/3] dt-bindings: Add doc for the ingenic-drm driver Date: Thu, 28 Feb 2019 19:07:54 -0300 Message-Id: <20190228220756.20262-2-paul@crapouillou.net> In-Reply-To: <20190228220756.20262-1-paul@crapouillou.net> References: <20190228220756.20262-1-paul@crapouillou.net> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add documentation for the devicetree bindings of the DRM driver for the JZ47xx family of SoCs from Ingenic. Signed-off-by: Paul Cercueil Tested-by: Artur Rojek --- .../devicetree/bindings/display/ingenic,drm.txt | 30 ++++++++++++++++++++++ 1 file changed, 30 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..52a368ec35cd --- /dev/null +++ b/Documentation/devicetree/bindings/display/ingenic,drm.txt @@ -0,0 +1,30 @@ +Ingenic JZ47xx DRM driver + +Required properties: +- compatible: one of: + * ingenic,jz4740-drm + * ingenic,jz4725b-drm +- 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: +- ingenic,panel: phandle to a display panel, if one is present +- ingenic,lcd-mode: LCD mode to use with the display panel. + See for all the + possible values. + +Example: + +lcd: lcd-controller@13050000 { + compatible = "ingenic,jz4725b-drm"; + reg = <0x13050000 0x1000>; + + interrupt-parent = <&intc>; + interrupts = <31>; + + clocks = <&cgu JZ4725B_CLK_LCD>; + clock-names = "lcd"; +}; -- 2.11.0