From patchwork Thu Aug 23 11:49:52 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Jourdan X-Patchwork-Id: 10573765 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 DC879920 for ; Thu, 23 Aug 2018 12:01:14 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CB6642B881 for ; Thu, 23 Aug 2018 12:01:14 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BDE212BDC1; Thu, 23 Aug 2018 12:01:14 +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,RCVD_IN_DNSWL_NONE 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 6C06B2B881 for ; Thu, 23 Aug 2018 12:01:14 +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=eXdOs8z6Cv0fDymzxziDnrxfL2D5FVfVMjp2jHNxSN0=; b=i5mn9OXhc+m6zNf+hkpx7G1bSm eLDpVNHCI5oDftbxDMsx7gTd8D4fXKGzFmemHCwqMqv53lzVg1e44yB531a4dGfXokwzHy3Vl2jXK iN9bBrK8LdFDFUTSzzhBTfj8Nsb+IM13h/k77uHlKKFvvedJbpFUxlB/GbrALIeikhanxEEkCyV3+ KQncwf/El4HKYVuN/Wt+Ak6HTC1glFjdmGJHknqK0RH7COsLtD0BHhzN8D/ErlpiDO+YONuNsejU4 Gga3QFn75bLltI92Zc1edadKC/QH7G9hCXXevZznmFrDtBU0tyDlcRjG/RabEcjNgRAa+ROOgJb76 4BTdmy9g==; 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 1fsoIX-0006V4-F7; Thu, 23 Aug 2018 12:01:09 +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 1fsoIK-0006GX-CB for linux-arm-kernel@lists.infradead.org; Thu, 23 Aug 2018 12:00:59 +0000 Received: by mail-wr1-x442.google.com with SMTP id v16-v6so4403373wro.11 for ; Thu, 23 Aug 2018 05:00:46 -0700 (PDT) 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:in-reply-to:references; bh=ooE/rkkGa8uBIKT5dxhX97Hba4/zd5ds4uMb7/j7SJc=; b=XUiJLkybbVMSLQJd8RsuZ0Jb6ZmYnYb1osK7qVJEQNwfGmlduUpr1X4uIQ04rXIqSA j1xun2ZnVNjhwrWJY3AA5TLBk/GiE5l5KhMV4T+hz9dgfUeak8zyNnONkmQe62ul9wfg 5kbXBTTN5JepJ9P4kkGljFWx3ysRajwpFPWNcxe8i16n85pP9+Ck28hEGj5nle3nYk5A LPyUkHeA9TwbGR5Rzjw+7f4q8c9LTRcLxlojawxfW1V0Hz/C9OnQAwtSlo2XoptYLJyP nWbJWEzEYnB5Y1UtBXCPJM7s+fvf5A/S4mB1VOSC00vwMkCRnlXr0N2fjYaXjpekjbOq c2yw== 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:in-reply-to :references; bh=ooE/rkkGa8uBIKT5dxhX97Hba4/zd5ds4uMb7/j7SJc=; b=R0oYR7HiVj6s0qVIGe2OjSrsXgJ0EzzUFWLfKG4FWsLU/MBw+HeVPkomg2c1NeYkYe nd6VzwKnEIpwveYL9LkAg1Gh1tWq8WMpA9hhnHqGs+crN1CvBqThLrhr/NB7i6go/VrG V9tF1WYgQXwkWCkmIPzGsJV+8ZpjhlmnH6Cv7KoLIFNcv9n3bJ1i+ttvNjsMez8/cS17 mJkXDyuWQcF2nk8ts/N3ZJsRrFZgJbmWeNCDn+rSfyCzwoGJMX3ChEPxYUgjk9UAZpxr Ad2rAQgEIpiHQHohXeb3DkzAaNIK3qgu8to5hI0D4cZqjx/O05qgTh+rXakQp6GdsMFp 4xPQ== X-Gm-Message-State: AOUpUlEnxz94fsRGKYVnc3bQgCtPT+PyuwLgjM1a2Z98/Fa79dtXmXBt dieNPP0xcw0i/gSgQYZywjFYXg== X-Google-Smtp-Source: AA+uWPx4fhoRuT502dF3E53cCuB/y7UMgew04mgF6FMdXMN+lz81BI4PTK+Dxu1OX7eiNhOVmMQ2TQ== X-Received: by 2002:adf:f410:: with SMTP id g16-v6mr37555121wro.256.1535025645513; Thu, 23 Aug 2018 05:00:45 -0700 (PDT) Received: from localhost.localdomain (81-67-76-113.rev.numericable.fr. [81.67.76.113]) by smtp.gmail.com with ESMTPSA id y10-v6sm2830419wrl.87.2018.08.23.05.00.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 23 Aug 2018 05:00:44 -0700 (PDT) From: Maxime Jourdan To: Kevin Hilman Subject: [PATCH v3 1/3] dt-bindings: soc: amlogic: add meson-canvas documentation Date: Thu, 23 Aug 2018 13:49:52 +0200 Message-Id: <20180823114954.30704-2-mjourdan@baylibre.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180823114954.30704-1-mjourdan@baylibre.com> References: <20180823114954.30704-1-mjourdan@baylibre.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180823_050056_462562_5FE20CE3 X-CRM114-Status: GOOD ( 12.45 ) 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: Maxime Jourdan , devicetree@vger.kernel.org, Neil Armstrong , linux-kernel@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, Jerome Brunet 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 DT bindings doc for amlogic,meson-canvas Reviewed-by: Jerome Brunet Signed-off-by: Maxime Jourdan Reviewed-by: Rob Herring --- .../bindings/soc/amlogic/amlogic,canvas.txt | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 Documentation/devicetree/bindings/soc/amlogic/amlogic,canvas.txt diff --git a/Documentation/devicetree/bindings/soc/amlogic/amlogic,canvas.txt b/Documentation/devicetree/bindings/soc/amlogic/amlogic,canvas.txt new file mode 100644 index 000000000000..436d2106e80d --- /dev/null +++ b/Documentation/devicetree/bindings/soc/amlogic/amlogic,canvas.txt @@ -0,0 +1,29 @@ +Amlogic Canvas +================================ + +A canvas is a collection of metadata that describes a pixel buffer. +Those metadata include: width, height, phyaddr, wrapping, block mode +and endianness. + +Many IPs within Amlogic SoCs rely on canvas indexes to read/write pixel data +rather than use the phy addresses directly. For instance, this is the case for +the video decoders and the display. + +Amlogic SoCs have 256 canvas. + +Device Tree Bindings: +--------------------- + +Video Lookup Table +-------------------------- + +Required properties: +- compatible: "amlogic,canvas" +- reg: Base physical address and size of the canvas registers. + +Example: + +canvas: video-lut@48 { + compatible = "amlogic,canvas"; + reg = <0x0 0x48 0x0 0x14>; +};