Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1051924pxu; Wed, 2 Dec 2020 09:48:23 -0800 (PST) X-Google-Smtp-Source: ABdhPJzrnZkIrqv2jWpqPq0sv8oqOh2YBrMYmbmZwAbSxf4IWnqZLCG3rquasxMtPujiL1qVdm7H X-Received: by 2002:a50:e68a:: with SMTP id z10mr1129432edm.66.1606931302930; Wed, 02 Dec 2020 09:48:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606931302; cv=none; d=google.com; s=arc-20160816; b=a3VoKu7ih+3BJanVdAvlHvPs5cETZKYmQmWa7UTvlr1lOQOtWHto+RDEhBXPAew4P5 vI6E9pXXd820Nxs9Ar5lnk4G0rSy30DC1vFf7dqIXnNAZr1sbT+F7dyRwogz3dI1+ff+ Tz/pHxr6RJyIBB3UcKTjp3PBgtRp9ex8ulcilKOSmKtTRVnhFn+J8q7O80Oa59+ZWIzT V2qP+llk2dEUbYeZqFY1O0uLTgZfWHKnntOfiZf5UyX4rhDumUraH0Wz4FlK6pa4x8FW YDEQBHowesXzEMitv+Zz3qBpg8KzzWC+AfZV+MQLEfstXHvbJ8NL9yefYaAbuVcVnrkn pOKg== 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=XEVTchhzCt+isBz3+aU4XTnoPPUyowWB9BY/oLwE0BdaTM6gSnDXqHFHYtP6xOuTDN 1vTexjAysoNLpINd2dwwSQiUHIqUHKJP8dMarPJ3wZQ3nVvgIVeLMWMDd8FoZC4rBw5A o9xdEuTHNym52GuDeqcxSpNuMbUl62Uyo/2W1jJmEv++3yriZAlVdhk1xbE8pZZGnf70 N+UpYtwSjH9bYhWuBbBFhSb406y8lnOwAGu5fSPJKxvCfmDhv4ausyZ40JGPUm5aWy85 p4SScU+eQeKuybGP/oInjR2WWziHKrHiyHrvouG7uB5LRPj+SjBy8/S0TUJ2rFFFKHz/ aYAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=LjseARAc; 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 j7si458967ejm.496.2020.12.02.09.47.59; Wed, 02 Dec 2020 09:48:22 -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=LjseARAc; 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 S1730960AbgLBRpG (ORCPT + 99 others); Wed, 2 Dec 2020 12:45:06 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44942 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730873AbgLBRpF (ORCPT ); Wed, 2 Dec 2020 12:45:05 -0500 Received: from mail-wr1-x42d.google.com (mail-wr1-x42d.google.com [IPv6:2a00:1450:4864:20::42d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8DD36C061A47 for ; Wed, 2 Dec 2020 09:44:25 -0800 (PST) Received: by mail-wr1-x42d.google.com with SMTP id e7so4966141wrv.6 for ; Wed, 02 Dec 2020 09:44:25 -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=LjseARAchCVgKr1/xZAS9YlojSC+ZoG1giCXorFxPC/1yrZtu8vKsi1pkAL81PN5PH XTczagp8h2VereDh10kVdxOB/K61gmrYm3Lb4hoTsLGdnq4ug925Jlrn7FCjHU2cbuLi P9L/Ph2WRYvuX95JMWGibGKalFICJliBSH3n9dJlI9HIrSAS5jFAjOwPs2UlizlUB6S/ h0TMemPHzdLpMWfkDr1LJKyqyZmHn4TxOL7DW1NvKyAy5hoVn7QSIBmRJlEO8+ij+gFQ 8DT+17dM+1yQLDZo5WQlgIna3cAup16W8tW+dInT0k19hf55hUJaFfFpL0C4Tk+kRGA9 ey7Q== 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=R02OCKsRjSb+zlSgIrRqON7EFR9TX+9orm+roEt8hz/d/Smu6NFFRgy0usLylEOp54 3hJNVXiBszg8LTnpFqlW0GQxbqXfyrKCIVxaE2w5/L6goLuOrbItF2WCtInG7yVmnS5/ D9ko3Py8yuNxH19R1MJ37C6yvz3w8Q9lEvAM54QDHhythR3uPi3nvLT2h2NArmoQtOg4 VEJz4dIsxLR+Aw6EsiI8mD1XwqigTM2p6yD3WQAh8V/L5tcxEWVy61YwsnkN0Un19t40 6UNFe1xGnH6vvGCa8ateX/Jy03jg6Oibhssm/v7eFm+XOzxBHn33HQ1EaaHrcTJwibvb brVA== X-Gm-Message-State: AOAM53302bgOsmLeD9NqyAFqtVBjb0wo8IHaB737KeOS/QsXkxUp2Z3+ y8kKJL723yE7ESWnP5F+nBS6Lg== X-Received: by 2002:adf:e80b:: with SMTP id o11mr4968215wrm.409.1606931064106; Wed, 02 Dec 2020 09:44:24 -0800 (PST) Received: from localhost.localdomain ([2a01:e35:2ec0:82b0:15b4:c668:8f06:1b99]) by smtp.gmail.com with ESMTPSA id q12sm2842915wrx.86.2020.12.02.09.44.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Dec 2020 09:44:23 -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 v4 1/4] dt-bindings: media: Add bindings for the Amlogic GE2D Accelerator Unit Date: Wed, 2 Dec 2020 18:44:14 +0100 Message-Id: <20201202174417.3778306-2-narmstrong@baylibre.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201202174417.3778306-1-narmstrong@baylibre.com> References: <20201202174417.3778306-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