From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4E42CECE564 for ; Tue, 18 Sep 2018 20:44:23 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id EE36D2133F for ; Tue, 18 Sep 2018 20:44:22 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org EE36D2133F Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=v3.sk Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730260AbeISCSj (ORCPT ); Tue, 18 Sep 2018 22:18:39 -0400 Received: from shell.v3.sk ([90.176.6.54]:55076 "EHLO shell.v3.sk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729770AbeISCSi (ORCPT ); Tue, 18 Sep 2018 22:18:38 -0400 Received: from localhost (localhost [127.0.0.1]) by zimbra.v3.sk (Postfix) with ESMTP id 9ECBEB947C; Tue, 18 Sep 2018 22:44:16 +0200 (CEST) Received: from shell.v3.sk ([127.0.0.1]) by localhost (zimbra.v3.sk [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id HKZM_9siGJXc; Tue, 18 Sep 2018 22:44:12 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by zimbra.v3.sk (Postfix) with ESMTP id B5827B9482; Tue, 18 Sep 2018 22:44:11 +0200 (CEST) X-Virus-Scanned: amavisd-new at zimbra.v3.sk Received: from shell.v3.sk ([127.0.0.1]) by localhost (zimbra.v3.sk [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id IPvnS23omp2m; Tue, 18 Sep 2018 22:44:10 +0200 (CEST) Received: from odvarok.lan (ip-89-102-31-34.net.upcbroadband.cz [89.102.31.34]) by zimbra.v3.sk (Postfix) with ESMTPSA id 58D3AB947F; Tue, 18 Sep 2018 22:44:10 +0200 (CEST) From: Lubomir Rintel To: linux-kernel@vger.kernel.org Cc: devicetree@vger.kernel.org, Arnd Bergmann , Greg Kroah-Hartman , Mark Rutland , Rob Herring , Jens Frederich , Daniel Drake , Jon Nettleton , Lubomir Rintel Subject: [PATCH 1/2] dt-bindings: himax,hx8837: add HiMax HX8837 bindings Date: Tue, 18 Sep 2018 22:43:58 +0200 Message-Id: <20180918204359.24894-1-lkundrak@v3.sk> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org HiMax HX8837 is a display controller used on OLPC platforms. It controlls backlight and is able to capture and freeze a frame when the LCD controller (and the rest of the plaform) is powered off. What is missing here is the description of connections to the LCD controller and the panel. Maybe it would be a good idea to plug in it betweend the two in a manner described in . Signed-off-by: Lubomir Rintel --- .../devicetree/bindings/misc/himax,hx8837.txt | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Documentation/devicetree/bindings/misc/himax,hx8837.txt diff --git a/Documentation/devicetree/bindings/misc/himax,hx8837.txt b/Documentation/devicetree/bindings/misc/himax,hx8837.txt new file mode 100644 index 000000000000..7ffcc516a1b4 --- /dev/null +++ b/Documentation/devicetree/bindings/misc/himax,hx8837.txt @@ -0,0 +1,18 @@ +HX8837 Display Controller + +Required properties: +- compatible: Should be "himax,hx8837". +- reg: I2C address, must be 0x0d +- stat-gpios: gpio specifier of DCON_STAT0 and DCON_STAT1 pins (active high) +- load-gpio: gpio specifier of DCON_LOAD pin (active high) +- irq-gpio: gpio specifier of DCON_IRQ pin (active high) + +Example: + dcon@d { + compatible = "himax,hx8837"; + reg = <0x0d>; + stat-gpios = <&gpio 100 GPIO_ACTIVE_HIGH + &gpio 101 GPIO_ACTIVE_HIGH>; + load-gpio = <&gpio 142 GPIO_ACTIVE_HIGH>; + irq-gpio = <&gpio 124 GPIO_ACTIVE_HIGH>; + }; -- 2.17.1