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: 961305 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=baylibre-com.20150623.gappssmtp.com header.i=@baylibre-com.20150623.gappssmtp.com header.b="XUiJLkyb"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 41x30N0ZfGz9s8f for ; Thu, 23 Aug 2018 22:01:08 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732286AbeHWPaM (ORCPT ); Thu, 23 Aug 2018 11:30:12 -0400 Received: from mail-wr1-f66.google.com ([209.85.221.66]:34372 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731363AbeHWPaL (ORCPT ); Thu, 23 Aug 2018 11:30:11 -0400 Received: by mail-wr1-f66.google.com with SMTP id g33-v6so4423733wrd.1 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=ZrNKfqOdnbstj5GfgYVyuPmOKqpfU0zqmnToHzDGVr8GkHhHdkeG+H9CEdLO7v0n10 rNWNe36GtKnRBy8mEMRHDNsGolRX+3G1wQe9kicT+/DjzrYT+ECocL4OPp3xrjdoGHo2 9Zq1EM/I25ftVP0q+/hBfx0riqE1j5VeX7zpQqulHXguwf9eBmqiZRKQWorlBhtddn4u XWH43ADBBtHKeS0JMcqbg8zQmPupZB7R95oS9B1KFOhJZmDPYJscqVN57V4BqHPES2SK k0mn1D3JqM/ZzUH/2n9qOLBsGkdxUuA+bz2EhvYw6Fm3f4h+5L0gpDWo8d+mImjCl/T7 zSIA== X-Gm-Message-State: AOUpUlH26nJ6uOogQVg+B1AXrXwCcgDPPd9hbJq7dCRXZ5Xfksxrz7zZ mCH6LNtU7Qht7B/EvlYIryLBHg== 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 Cc: Maxime Jourdan , Neil Armstrong , Jerome Brunet , linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org 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> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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>; +};