Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp2356856pxb; Fri, 17 Sep 2021 08:04:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyJRssY62sJyeTTABI27HUPzHkl/Eb1bdpToHRI78BtZ6C+n71npVoIKajmPtLFr7SdlSDB X-Received: by 2002:a50:9b06:: with SMTP id o6mr12784923edi.284.1631891047415; Fri, 17 Sep 2021 08:04:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631891047; cv=none; d=google.com; s=arc-20160816; b=nHbHpi/l33bZJWViIjrUp4d8jAn3y4mK8oX/FPG1OhvRu/K+qo7Q08D24yaOnKLPXZ /5S4gTnSUBG2kzB0h/2BjR/3TpWcU2s5h7ncIn0/a8v+iZFP9edaqg62QSDRHy1rLD+n NAZQwq6WdWaULtnyWF/ZigGbM1523pFbmzuv4D8FUZq6FgmSSSxYl4Ia34FCjQhVehm+ I75vlmTa4z7nMBB7b8GtXGOw4LmmMWVDF35MzHKUI/g8HFHHKGhyTPxDxUvzJ6pIGouU VWGSew3nReYUkdiMsSBIawTGSekzoYXIGL0fEw1ljpgCiPdB6dxuBK7IaAU99ii0NOiq YKew== 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=iFUWw1a7QUKqKqitz2aLpXkNS/Ii3+Zh8E8PhFDc+ws=; b=Lg5THQmHAcNpowyp8NGR/E687ZArCS9AXX0/IKoP4dXKhsOimdTs7jAwk0NefYk0LM nEfNdG0KUxhNrqf7zqt/pwpLJR3hsS0BDpBt3ebr8sMM42LkvES3xvbdepk5fps4W7jr LAA+Atxm7YC/c5gWu5N3S1f327bLG+RX+dq0kNLSKWDUUSzqdJYbARzgtVhKT2R4Yz9a usNYrMlq0MSLjIhtEOQuIkoEPz9ya3PoJovIbcabj7vFJo6d8R12d3vKYrz/2P0LP89k CTKpZz2O5j9s3gkdiXz6DtWH9rdVkFlUplDOnXMoNwyn+jlq9C1rhIe4zRF5dlwyheal SbYw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=0aPjARok; 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 bq19si6604253edb.548.2021.09.17.08.03.27; Fri, 17 Sep 2021 08:04:07 -0700 (PDT) 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.20210112.gappssmtp.com header.s=20210112 header.b=0aPjARok; 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 S244874AbhIQM7V (ORCPT + 99 others); Fri, 17 Sep 2021 08:59:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43472 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244858AbhIQM7T (ORCPT ); Fri, 17 Sep 2021 08:59:19 -0400 Received: from mail-wm1-x32f.google.com (mail-wm1-x32f.google.com [IPv6:2a00:1450:4864:20::32f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 540FCC061574 for ; Fri, 17 Sep 2021 05:57:57 -0700 (PDT) Received: by mail-wm1-x32f.google.com with SMTP id u19-20020a7bc053000000b002f8d045b2caso6839568wmc.1 for ; Fri, 17 Sep 2021 05:57:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=iFUWw1a7QUKqKqitz2aLpXkNS/Ii3+Zh8E8PhFDc+ws=; b=0aPjARok8/bfyOykh5nmswrCWnnajZ9Af1BN4K/pxHOLzmexwy5ZSttA5vuhF+CteC jK/VKVic+QznbXHckMZV+vyrkKEAOQV7FSpYqgsPyImc+0nDdIL+qapHkvFD9hfn9HFw c/8hYl7aD9GYrpTdiOGoleERAwIz4yRWaXhAqFXEQIjTEGeDm+TB2s2hoa4RiHeDXozX pzaSQup9ftlw3Sx/54iPCDZsQgq2EZOGF+jmVIoVQGpaxuo//v/vIH52vpw7CcX59/Bj LK5trF/UjX8E5Z4bjl9Je4k96vrzzjCw6+zQWuNfbaMWusngmJzUb40pYixCah6EoQ6p uGQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=iFUWw1a7QUKqKqitz2aLpXkNS/Ii3+Zh8E8PhFDc+ws=; b=MF6xBgPolwyEllGEGMiG8oQcAw2sk0oxZ9yYcAq7POIFmV6RXApJxIgG9qZ2k7mnsG I7gokp1a4gMe9Qb6iRHsNt0ppWPb3+4d1yc6CibJ5Q6S3s5oYVRQDRAg6+e23+Qa2vOG I7bz50Gml+mNOqIO9Gb1/fq1e/9NSkEft7MyOALB5bDgOwTmPU2yr4sDx7ojiNxKsBYx UWgppOo4CqGC+VfT47vOTW3B68HBdXb36a4A0lMuqsEYSj/+1H/0A6TSWI0OAEy6E3Pl PzraxE9JEEqeBVlFv+bGUkmGb07YZleMIV3vQSYzKK13+J5bsyt33zzKXDtqR0vl/kdl Hm6g== X-Gm-Message-State: AOAM532Z21BKtFXG5F8JPmPSX/VeRvAQHK7VDJXt/GuTqKaHcdBgrdz0 LYXe/66J4752WzF/KqeSYFev1A== X-Received: by 2002:a05:600c:3ba3:: with SMTP id n35mr10075940wms.166.1631883475858; Fri, 17 Sep 2021 05:57:55 -0700 (PDT) Received: from localhost.baylibre.local (laubervilliers-658-1-213-31.w90-63.abo.wanadoo.fr. [90.63.244.31]) by smtp.gmail.com with ESMTPSA id f3sm6358636wmj.28.2021.09.17.05.57.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Sep 2021 05:57:55 -0700 (PDT) From: Alexandre Bailon To: airlied@linux.ie, daniel@ffwll.ch, robh+dt@kernel.org, matthias.bgg@gmail.com, maarten.lankhorst@linux.intel.com, mripard@kernel.org, tzimmermann@suse.de, ohad@wizery.com, bjorn.andersson@linaro.org, mathieu.poirier@linaro.org, sumit.semwal@linaro.org Cc: christian.koenig@amd.com, dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, linux-remoteproc@vger.kernel.org, linux-media@vger.kernel.org, linaro-mm-sig@lists.linaro.org, khilman@baylibre.com, gpain@baylibre.com, Alexandre Bailon Subject: [RFC PATCH 1/4] dt-bindings: Add bidings for mtk,apu-drm Date: Fri, 17 Sep 2021 14:59:42 +0200 Message-Id: <20210917125945.620097-2-abailon@baylibre.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210917125945.620097-1-abailon@baylibre.com> References: <20210917125945.620097-1-abailon@baylibre.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This adds the device tree bindings for the APU DRM driver. Signed-off-by: Alexandre Bailon --- .../devicetree/bindings/gpu/mtk,apu-drm.yaml | 38 +++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 Documentation/devicetree/bindings/gpu/mtk,apu-drm.yaml diff --git a/Documentation/devicetree/bindings/gpu/mtk,apu-drm.yaml b/Documentation/devicetree/bindings/gpu/mtk,apu-drm.yaml new file mode 100644 index 0000000000000..6f432d3ea478c --- /dev/null +++ b/Documentation/devicetree/bindings/gpu/mtk,apu-drm.yaml @@ -0,0 +1,38 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/gpu/mediatek,apu-drm.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: AI Processor Unit DRM + +properties: + compatible: + const: mediatek,apu-drm + + remoteproc: + maxItems: 2 + description: + Handle to remoteproc devices controlling the APU + + iova: + maxItems: 1 + description: + Address and size of virtual memory that could used by the APU + +required: + - compatible + - remoteproc + - iova + +additionalProperties: false + +examples: + - | + apu@0 { + compatible = "mediatek,apu-drm"; + remoteproc = <&vpu0>, <&vpu1>; + iova = <0 0x60000000 0 0x10000000>; + }; + +... -- 2.31.1