From patchwork Mon Dec 10 09:06:39 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Jourdan X-Patchwork-Id: 10720879 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 188FB1731 for ; Mon, 10 Dec 2018 09:07:52 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 06ED529D9F for ; Mon, 10 Dec 2018 09:07:52 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EF49829DA2; Mon, 10 Dec 2018 09:07:51 +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=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED 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 821D329D9F for ; Mon, 10 Dec 2018 09:07:51 +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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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:In-Reply-To:References: List-Owner; bh=oSx5iyknvWnkiALE6V6wJtIOcTarRiLgockVo9sODBM=; b=tUAiIAnKSjEsG2 6EsW2HYNZluiARXWjehBn4GuiIgSMzc0mPYHngEfYihIxMO6ut7EkofmfaG/p/8MoIwH4B7rp7iNq J01hiCX8d83kXGFYoYbcnYPWbv7t21EdgAqXWE4x5Sc/hA5NF6D7Oe8n44Kk9u56JLn50UzDAhfrU ekRPWScs6H4IUyJ4cZlB62gaAapNySqHcOyTqKiIo+dqJTWhKButlY90c+MWdYTlTxq40ZtrBH9q1 Od2KRPLQnMLTljrPijKKJI3CUrb8wATgmbm5bZV3/vGVYRFjKc/8hWTy9PDzmcbbXmwPcius0+P4g Yam55TibUgMXdvMj7FJg==; 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 1gWHXX-0000yT-Pk; Mon, 10 Dec 2018 09:07:47 +0000 Received: from mail-wr1-x442.google.com ([2a00:1450:4864:20::442]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gWHWm-0000E0-GE for linux-amlogic@lists.infradead.org; Mon, 10 Dec 2018 09:07:07 +0000 Received: by mail-wr1-x442.google.com with SMTP id z5so9560147wrt.11 for ; Mon, 10 Dec 2018 01:06:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=oeULTOCMjinSO4pcUUBmFdzaevw7sbCnt/ss9FK3o1w=; b=I6sALBJbSf6Ws+I7JqLVMwcAtWQrE0bPZ/XjUMKIB5DaZXXLO4G0eDpjU2NWZqQiPn 3SX9EaaZS53obN5APJNkjQ3f6hPiXY0xzyfq66655nIxKDFMWakiF43WsmgyDVwYLcVG D6DmDs1+9BEBsQ/Qoj/VhZG6w8WUYP3hRmBVBkyFk+Xtwt5heqM8/L1BAORcuAVkaL7i A4EQDbGs8CV9skqzsVsb41DGRWXgu9j4pUj1NOOBIKRfeH5Be1V7fi+U82xCopFDimgJ 1ZmzVw2OhJGStO/n4abCHX3h10TK2EUHCvQSsnrbdzHxSsJ6abi+et1k0JIsrl6Zib+M 6UGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=oeULTOCMjinSO4pcUUBmFdzaevw7sbCnt/ss9FK3o1w=; b=qMXFkanGl6ri7D7HCSvLKvPIGnjxHqXAcRAc8FFGY+4ETh160a8Vpim8jYJio/rrY+ k3KPcaeYDEdbTyaqmqc+7XitP1cQOU0VSN2d6ZNuRSJh0fWPSI+goshOAsimjXpO+XFs mdFyIfDy41jZsnKetVc5Ang6IrGs71Q9w2TbOgYMJepeG7Il30U9sWstqcDpGE/F7bsV v1Vcw5JSwH2+Sn2mWgSZtlMk/VNGDTpnW6rOAmcQgFC0V+L5l6tDEvVecuKNvQo9DbpQ Ghz4sCUUpbmD0ZZFpJQma2BLW8L2ihXEzeY5qI42zREA8uxozqB5qUTwzvb2+NO4VqZ7 9f3Q== X-Gm-Message-State: AA+aEWZdxi58vBsMYfE3KTBfa+oYXJ2XoFT+IjtfiPvEq4nYZwy/Qp3M erdO8egkBzOS2B8VFOUth8WExQ== X-Google-Smtp-Source: AFSGD/WJBOPUDjl+ckutJZaMe1sCrcXaNJGZkTGnLYoyGCphvlVOi0PwvL2B9J8iZ1no34lSplU4HQ== X-Received: by 2002:a05:6000:1287:: with SMTP id f7mr9572449wrx.302.1544432808854; Mon, 10 Dec 2018 01:06:48 -0800 (PST) Received: from localhost.localdomain (abo-99-183-68.mtp.modulonet.fr. [85.68.183.99]) by smtp.gmail.com with ESMTPSA id 14sm15856555wmv.36.2018.12.10.01.06.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 10 Dec 2018 01:06:48 -0800 (PST) From: Maxime Jourdan To: Kevin Hilman Subject: [PATCH 1/2] dt-bindings: meson: add specific simplefb bindings Date: Mon, 10 Dec 2018 10:06:39 +0100 Message-Id: <20181210090640.4495-1-mjourdan@baylibre.com> X-Mailer: git-send-email 2.19.2 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181210_010700_571726_7697CC7F X-CRM114-Status: GOOD ( 10.57 ) X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-amlogic@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Neil Armstrong Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Similar to simple-framebuffer-sunxi, we support different display pipelines that the firmware is free to choose from. This documents the "amlogic,simple-framebuffer" compatible and the "amlogic,pipeline" extension. Signed-off-by: Maxime Jourdan --- .../display/simple-framebuffer-meson.txt | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/simple-framebuffer-meson.txt diff --git a/Documentation/devicetree/bindings/display/simple-framebuffer-meson.txt b/Documentation/devicetree/bindings/display/simple-framebuffer-meson.txt new file mode 100644 index 000000000000..122a5c005cd9 --- /dev/null +++ b/Documentation/devicetree/bindings/display/simple-framebuffer-meson.txt @@ -0,0 +1,33 @@ +Meson specific Simple Framebuffer bindings + +This binding documents meson specific extensions to the simple-framebuffer +bindings. The meson simplefb u-boot code relies on the devicetree containing +pre-populated simplefb nodes. + +These extensions are intended so that u-boot can select the right node based +on which pipeline is being used. As such they are solely intended for +firmware / bootloader use, and the OS should ignore them. + +Required properties: +- compatible: "amlogic,simple-framebuffer" +- amlogic,pipeline, one of: + "vpu-cvbs" + "vpu-hdmi" + +Example: + +chosen { + #address-cells = <2>; + #size-cells = <2>; + ranges; + + framebuffer@0 { + compatible = "amlogic,simple-framebuffer", + "simple-framebuffer"; + amlogic,pipeline = "vpu-hdmi"; + clocks = <&clkc CLKID_HDMI_PCLK>, + <&clkc CLKID_CLK81>, + <&clkc CLKID_GCLK_VENCI_INT0>; + power-domains = <&pwrc_vpu>; + }; +};