Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp3698944pxb; Tue, 17 Nov 2020 00:47:39 -0800 (PST) X-Google-Smtp-Source: ABdhPJwPM1J1BZoLtrw8lKl85qco4BRRTdfHVpLpKnCkfA2XnWTO3CM5RaNwkYJrRkyXH6JVxbP5 X-Received: by 2002:a17:906:4d93:: with SMTP id s19mr18955512eju.271.1605602859243; Tue, 17 Nov 2020 00:47:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605602859; cv=none; d=google.com; s=arc-20160816; b=HP6qoVEt4TweO92sLlKv7bxfgiGIxnCK5lY12Ai1CpJscBHf2WR8anJJv51k9OR2bc ekBo6S33V4c+BjTx9Q1nATiRPxzNldsvmvZfQS2J/ViDEFqmAaM1xZukytWIpWKV2oBR aEqhTKTEVyJEZ3pdvM4N06Mz/RWD2NgsVVh/t/zgXqz2dDJsC5a4/nCzvMfUKKJY56Mc ESlwsBtRiqxb4hQWGvk5A59Gvc/7thXASebsLrBjUKriXlARNGxVTjMLDfdFTUqFRAeh Ca8AdreEHjZ2G0sOH76vtch9vzkGbGkzRVSSi1CGe1dG2nx9UDELVexoAjOjOSnDMF6F 3rxw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=LzZh3XDG0mukcB0i6UGoQqeuQTlDt+ZadapYwoHki6w=; b=hFN1EhEg0MSFLJoWV16IirFNAXHM/SBHjUr85A+qqd1v+2tMd0mt4zQSB/R7xZyuPY hCJW22Ln+ddiR6NugDQXIiXlYiT6z4lYcwVyFbdLIynsMtooCfe/miIOHBtGGmM8RVkB stcBcpkjjhwz3CW3oVxZHHyRUTxVUNrvktEm6BhSGkZJpvFOfNfhGZ7/yqBXInF2qKox MJ5Z8z44gzI/QRpq21ItKd8yP6FlgHwiD0rX08rD8f0D2DBVAg+bi3nNO96DFYWC4efo lZyRqs6z6DWC0kjPaT66QYt56hv/cyWszLS4M3Rzh6JjDrJgEqubNBVtJ8YI14iLcw20 /+AQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=m+XnfnUx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w24si2789173ejn.62.2020.11.17.00.47.17; Tue, 17 Nov 2020 00:47:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=m+XnfnUx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727084AbgKQIot (ORCPT + 99 others); Tue, 17 Nov 2020 03:44:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45008 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727041AbgKQIos (ORCPT ); Tue, 17 Nov 2020 03:44:48 -0500 Received: from mail-wr1-x436.google.com (mail-wr1-x436.google.com [IPv6:2a00:1450:4864:20::436]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EA291C0617A6 for ; Tue, 17 Nov 2020 00:44:47 -0800 (PST) Received: by mail-wr1-x436.google.com with SMTP id p1so22263282wrf.12 for ; Tue, 17 Nov 2020 00:44:47 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=LzZh3XDG0mukcB0i6UGoQqeuQTlDt+ZadapYwoHki6w=; b=m+XnfnUxTmcaf8SSzOQRSvg7cCdIGDLHhLFs1Z6EP9RGyPpK08t/tiOnxGxosSp2Uo 9mgsojGSJ1UIRxYbsH3RWFflLarSd4RdCKczElvNWjNKVJnYhm4d4VgNJKjS4dDwOCYl 2qixSc+qC7ldjQu/Aau5yoVE2txgXGJDA4CKfiazd1GQ8MaRYBu0JPU/cyJiLWRHMy53 oig8SRkyYZ7lFjJyT0wVpuz/vheQ6sEiZeh3XjbECVxNvAXpqNFRL3EtSItyNUxu10Ee 8Y7eDzaLqh7zQoKkXNXeO5Nx9Yiadny6igIKg3ZuOloWMn7h7BEahvNNsfbArmDVUHzO Q+vQ== 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:mime-version:content-transfer-encoding; bh=LzZh3XDG0mukcB0i6UGoQqeuQTlDt+ZadapYwoHki6w=; b=CPiPNC6dhQ8PGmoO971D0zGqS2UYFCd3pcoQazLfVVGkOkAx6Co/FXh49ACOZahDzO VFd3de7AIeikoagpVcWZ4YHcB6U5alk53mqFy1hqqvxawjnxZC1WE4dh9fbHY6uJNITz piA98T436Eb/vDGn1WJvXELUGWf5KxF4gYQ1cImH4xapenXLSWgkujgrX0NXY0v8JDX2 nuFBL/St4QFH11X/lnDQ/CEmhUEEksY80DMnvefIF5Jjjany47H/kiIZmFkRixY4oZG+ JF54BMeR+9WYUQQ9Qk/vArQdKq1uN90MeiJsTXwgepbOOFhSugF1izivgTkFkEQxs0Bf JayA== X-Gm-Message-State: AOAM530c0HHDlgk8csHNR2U4zrTn14Plyk6it+URjFk3P3cJ+jLO1swN U64FEvjVPtZuVLTe2tcIz0GIFw== X-Received: by 2002:a5d:530c:: with SMTP id e12mr23510134wrv.355.1605602686559; Tue, 17 Nov 2020 00:44:46 -0800 (PST) Received: from localhost.localdomain ([2a01:e35:2ec0:82b0:1561:9f4b:5829:8e26]) by smtp.gmail.com with ESMTPSA id s4sm25631423wro.10.2020.11.17.00.44.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Nov 2020 00:44:45 -0800 (PST) From: Neil Armstrong To: hverkuil@xs4all.nl, devicetree@vger.kernel.org Cc: Neil Armstrong , linux-media@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Rob Herring Subject: [PATCH v3 1/4] dt-bindings: media: Add bindings for the Amlogic GE2D Accelerator Unit Date: Tue, 17 Nov 2020 09:44:37 +0100 Message-Id: <20201117084440.578540-2-narmstrong@baylibre.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201117084440.578540-1-narmstrong@baylibre.com> References: <20201117084440.578540-1-narmstrong@baylibre.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The GE2D is a 2D accelerator with various features like configurable blitter with alpha blending, frame rotation, scaling, format conversion and colorspace conversion. This adds the bindings for the GE2D version found in the AXG SoCs Family. Signed-off-by: Neil Armstrong Reviewed-by: Rob Herring --- .../bindings/media/amlogic,axg-ge2d.yaml | 47 +++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 Documentation/devicetree/bindings/media/amlogic,axg-ge2d.yaml diff --git a/Documentation/devicetree/bindings/media/amlogic,axg-ge2d.yaml b/Documentation/devicetree/bindings/media/amlogic,axg-ge2d.yaml new file mode 100644 index 000000000000..bee93bd84771 --- /dev/null +++ b/Documentation/devicetree/bindings/media/amlogic,axg-ge2d.yaml @@ -0,0 +1,47 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +# Copyright 2020 BayLibre, SAS +%YAML 1.2 +--- +$id: "http://devicetree.org/schemas/media/amlogic,axg-ge2d.yaml#" +$schema: "http://devicetree.org/meta-schemas/core.yaml#" + +title: Amlogic GE2D Acceleration Unit + +maintainers: + - Neil Armstrong + +properties: + compatible: + enum: + - amlogic,axg-ge2d + + interrupts: + minItems: 1 + + reg: + minItems: 1 + + resets: + maxItems: 1 + + clocks: + minItems: 1 + +required: + - compatible + - reg + - interrupts + - clocks + - resets + +additionalProperties: false + +examples: + - | + ge2d: ge2d@ff940000 { + compatible = "amlogic,axg-ge2d"; + reg = <0xff940000 0x10000>; + interrupts = <150>; + clocks = <&clk_ge2d>; + resets = <&reset_ge2d>; + }; -- 2.25.1