From patchwork Sun Aug 12 18:46:28 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sam Ravnborg X-Patchwork-Id: 10563709 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 5CD281390 for ; Sun, 12 Aug 2018 18:50:58 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4CA6E2916D for ; Sun, 12 Aug 2018 18:50:58 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 40C9F291B4; Sun, 12 Aug 2018 18:50:58 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 340392916D for ; Sun, 12 Aug 2018 18:50:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=TrQb9Yx6XeGmjci4YqU0ltM4skt1E5GZgt1oI2uWV/o=; b=jnykRwOfUcmNTnwVnPrOrInBKZ RKxX+WoVbqxMD5jo+zkPU8UzUmXEwpHsMtMkOdJ/cpmExM8BcOQI3+cAPFYTsCm0xXLuX/bVEUb0S gze4bQpdJJTRaiynEqkElpKHgUJYzPBtQ+1lb/cNEfeqEQBNAx7WiltTQkO1tL8hXeM3lNtwrgbhf eIxoqcI5wq88aU7i61S87Hir1OJ7fITbiZqvYK4KYLEcBkVlPVWJb9PqYOvgOP5eDJJ6giIwmiDhc y4DcW/OHKlMdCxB4aGPptqvFl7u6lJeK5r3FCfWGTOujODjSprZJNlBY9Hmmf+eN0F6udN6wjgXVd r/5hmvNg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fovRy-0001FZ-Cl; Sun, 12 Aug 2018 18:50:50 +0000 Received: from mail-ed1-f65.google.com ([209.85.208.65]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fovRG-00089P-HD for linux-arm-kernel@lists.infradead.org; Sun, 12 Aug 2018 18:50:11 +0000 Received: by mail-ed1-f65.google.com with SMTP id o8-v6so7148799edt.13 for ; Sun, 12 Aug 2018 11:47:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=eUhNbLQIIb4eXA35/IzaCrTcrYSbHfAJujruXmdB67g=; b=lbayV7oQbW+rDJCaPcc752UeOQm/6Cbfsz3q1H1UmZ0Dll4hS2V3k+XuySbhuux8P+ 2ssz9d+tal/cFL2NF074rAQh2v2Q765cvZpIH+DQD9EDIJ6KElI8ZvnbYrtCABjXQacw zBhuGxPGc4PF708YlsZbCKhmfSZj2ZghzhZlY7sxrzsZvFbtlP4SbCLDiV7+hk+EHiKh Y1XNqmU1PRYCeglbahWG6n9tAJx2n9xS69JcX7PevtVN9SSXSJ0Iv2Xfy++E4wpGGW+3 jFvogmHMXZ8scZPH/k4neviLebuIkb77NCBuzwifjWnJmKAj+3vWmCdTFOjUl0IhYc6g 5bjQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=eUhNbLQIIb4eXA35/IzaCrTcrYSbHfAJujruXmdB67g=; b=EtJjSMykpFr07BL6UejZO4DhCutNAFs40MjQo1BTXbOZZQuAonVXSpL2bwE4D24XxG 3Fec99nTvSYG6uG3VapjhnFQfCnfIKb88mKOm99UwIvSZ5NTDrcLUahKh3PX8zKuODaY w7uBHym3Oav2SkPkYdOnRJHMi/Ra8TgSh7PB30VH3jC9W9s1evZCg66gTOni2OBFi7Hw 8t+FoeKqdSLpZEdJaAh3FFZ9Evn293Oce0RZtMPM1zsiuKxEGqPRU5OcslLCwsW11CoE 06uReOHRJZgeFWHpxaly05onM8h0HY1Ep3rNJfkjUVjf/UXQJVFcOFgQAO8x6zzC2K3L u3Sw== X-Gm-Message-State: AOUpUlGXvJ5qdXjQQy4srB1FAX3aXi2Ku/gzGj3ehvIDehqCcBuoIHot VdMSwkOxMqtuJx0hSeKgta4= X-Google-Smtp-Source: AA+uWPzblwsh3jz5nrmit1jFt59wOLrtw6wkQxcMmNPwlXubT/c29C/0geGkHm5jRKa7ick3RczUCQ== X-Received: by 2002:a50:ed09:: with SMTP id j9-v6mr18878373eds.28.1534099614552; Sun, 12 Aug 2018 11:46:54 -0700 (PDT) Received: from jupiter.lan (126.158-248-196.customer.lyse.net. [158.248.196.126]) by smtp.gmail.com with ESMTPSA id g14-v6sm5897941edm.25.2018.08.12.11.46.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 12 Aug 2018 11:46:54 -0700 (PDT) From: Sam Ravnborg To: Boris Brezillon , Rob Herring , Mark Rutland , Lee Jones , Nicolas Ferre , Alexandre Belloni Subject: [PATCH v1 6/7] dt-bindings: add bindings for Atmel lcdc-display-controller Date: Sun, 12 Aug 2018 20:46:28 +0200 Message-Id: <20180812184629.3808-6-sam@ravnborg.org> X-Mailer: git-send-email 2.12.0 In-Reply-To: <20180812184152.GA22343@ravnborg.org> References: <20180812184152.GA22343@ravnborg.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180812_115007_110170_FA7A5744 X-CRM114-Status: GOOD ( 12.92 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Boris Brezillon , dri-devel@lists.freedesktop.org, linux-pwm@vger.kernel.org, Sam Ravnborg , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP The LCDC IP used by some Atmel SOC's have a multifunction device that include two sub-devices: - pwm - display controller This binding describe the lcdc display controller and refer back to the mfd device that this must be a child node of. Signed-off-by: Sam Ravnborg Cc: Boris Brezillon --- .../display/atmel/lcdc-display-controller.txt | 40 ++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/atmel/lcdc-display-controller.txt diff --git a/Documentation/devicetree/bindings/display/atmel/lcdc-display-controller.txt b/Documentation/devicetree/bindings/display/atmel/lcdc-display-controller.txt new file mode 100644 index 000000000000..508a49b5d8b7 --- /dev/null +++ b/Documentation/devicetree/bindings/display/atmel/lcdc-display-controller.txt @@ -0,0 +1,40 @@ +Atmel LCD Controller (LCDC) Display Controller + +Required properties: + - compatible: value should be one of the following: + "atmel,lcdc-display-controller" + +Optional properties: +- lcd-supply: phandle to a regulator that supply the display + +Required children nodes: + One child node that references the panel connected. + (See ../graph.txt) + At least one port node is required. + + +Example: + lcdc0: lcdc@700000 { + compatible = "atmel,at91sam9263-lcdc-mfd"; + reg = <0x700000 0x1000>; + interrupts = <26 IRQ_TYPE_LEVEL_HIGH 3>; + clocks = <&lcd_clk>, <&lcd_clk>; + clock-names = "lcdc_clk", "hclk"; + + lcdc-display-controller { + compatible = "atmel,lcdc-display-controller"; + lcd-supply = <&lcdc_reg>; + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + #address-cells = <1>; + #size-cells = <0>; + lcdc_panel_output: endpoint@0 { + reg = <0>; + remote-endpoint = <&panel_input>; + }; + }; + }; + };