From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 55642C4332F for ; Tue, 15 Nov 2022 09:08:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=uH78Z2oA/N9HtvbwRXwAY96TTDx1gUE/5SUFoL29d/k=; b=E9cZ7YfRbXqSYu 8/Rd4dA/H4fITjz1ByBctxx7DtHYxk3NEePv/h8BBwr29YTNoAwmP43PdJrCdKi0ySnfu9lEtDNdV 5FqM7LtdOa0egowDXTUIVQKah0XUThmQ3+eww08vA1I1AUQ00F7cTltImWeWk8ygl0E/Qhz356Dqr xBdlw3rMTBzPLTU589Qu0iEnj7H05f85R5dAHqFosGqpwGz1fZE9gegpYtJqX08FN9E4Xm+MAP+kt yDcoA+6g7v8D0DMoRSdaS7MY/VcQ64fZucVgxcCqSBMvLsknt59yPPuLqOQbI00TjPrDzlY1ysa4+ sK1SjYcgFvBDMvhtTcZQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ouruh-009AX5-ES; Tue, 15 Nov 2022 09:07:27 +0000 Received: from mail-pf1-x434.google.com ([2607:f8b0:4864:20::434]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ouruU-009AHT-H5 for linux-arm-kernel@lists.infradead.org; Tue, 15 Nov 2022 09:07:15 +0000 Received: by mail-pf1-x434.google.com with SMTP id b29so13520234pfp.13 for ; Tue, 15 Nov 2022 01:07:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=CTYdVIALUl9YpoP++eVlpJmeUKMRDCw8t5UXvIltjl4=; b=Zemr7C/GHx/NegieoNzHXBrXKSnkhmJEj85qj90eZoGg1EssVm3kU0vKtctNXmWkqB mKEQVjkdNTTJM+g/b6pIhoDQq1xy9HwDrzjGkKR8QLfNY3c1Q+ZYt48oYdQcclJKy3Wq uNE9mfi6sI10qu+bdYAZvbKKgMnOH8GL1duU8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=CTYdVIALUl9YpoP++eVlpJmeUKMRDCw8t5UXvIltjl4=; b=j+Yi/9ix3lihBMqvodR9POKojP2ZoFnsU2TFsqu07J2RQTmki0GvOGC94gMDzDkxzO 6seo1RugKj0UFugVs7/Vp1to8XgD7NibRGwxzHKU3z6ZT2uZqma8XcSB+afx+oAG5PEu OIqw/eCRTk6Ae9WjwVd1x7O8Q+mZ07Q2Rr8Jxb8TpDglJmr8bmMJEs/qVgBHS3Kle/il 39rlJzPhWyWwxYjS/FPNR4zVJeQcJuF6qwKjq5aJs5wts58vlMi+Yh88jBpbNZNgt5Mm 7t5HnI/OUI0v+A5s69QuRfOM0f2O699hzCyFM89x9rA8mn2dqkWyXYW4gU0yVHKE+ThL fD3Q== X-Gm-Message-State: ANoB5pnRnXVc7ZNTKUPULHn5Wltt35Zw+KxqvvZ43CVbItpGB2YUF4AZ bC0TTOA0541Hvwcux5mpydiAmg== X-Google-Smtp-Source: AA0mqf4maw/zOnFAm6mK7X2FkowQqKj5X0F+diwR9KPfh1t3egiDv/bNjxyvC1awklk5juosr0kv7g== X-Received: by 2002:a62:648a:0:b0:561:ada0:69d7 with SMTP id y132-20020a62648a000000b00561ada069d7mr17616150pfb.9.1668503231802; Tue, 15 Nov 2022 01:07:11 -0800 (PST) Received: from wenstp920.tpe.corp.google.com ([2401:fa00:1:10:4d49:6d15:b250:5977]) by smtp.gmail.com with ESMTPSA id q16-20020a17090311d000b00182a9c27acfsm3378830plh.227.2022.11.15.01.07.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Nov 2022 01:07:11 -0800 (PST) From: Chen-Yu Tsai To: Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Jernej Skrabec , Samuel Holland , Hans Verkuil Cc: Chen-Yu Tsai , linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH 1/2] media: dt-bindings: allwinner: h6-vpu-g2: Add IOMMU reference property Date: Tue, 15 Nov 2022 17:06:43 +0800 Message-Id: <20221115090644.3602573-2-wenst@chromium.org> X-Mailer: git-send-email 2.38.1.493.g58b659f92b-goog In-Reply-To: <20221115090644.3602573-1-wenst@chromium.org> References: <20221115090644.3602573-1-wenst@chromium.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221115_010714_599704_7A2ECAAE X-CRM114-Status: GOOD ( 13.67 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The Hantro G2 video decoder block sits behind an IOMMU. The device tree binding needs a property to reference it. Without a reference for the implementation to properly configure the IOMMU, it will fault and cause the video decoder to fail. Add an "iommus" property for referring to the IOMMU port. The master ID in the example is taken from the IOMMU fault error message on Linux, and the number seems to match the order in the user manual's IOMMU diagram. Fixes: fd6be12716c4 ("media: dt-bindings: allwinner: document H6 Hantro G2 binding") Signed-off-by: Chen-Yu Tsai --- .../bindings/media/allwinner,sun50i-h6-vpu-g2.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Documentation/devicetree/bindings/media/allwinner,sun50i-h6-vpu-g2.yaml b/Documentation/devicetree/bindings/media/allwinner,sun50i-h6-vpu-g2.yaml index 24d7bf21499e..9d44236f2deb 100644 --- a/Documentation/devicetree/bindings/media/allwinner,sun50i-h6-vpu-g2.yaml +++ b/Documentation/devicetree/bindings/media/allwinner,sun50i-h6-vpu-g2.yaml @@ -36,6 +36,9 @@ properties: resets: maxItems: 1 + iommus: + maxItems: 1 + required: - compatible - reg @@ -43,6 +46,7 @@ required: - clocks - clock-names - resets + - iommus additionalProperties: false @@ -59,6 +63,7 @@ examples: clocks = <&ccu CLK_BUS_VP9>, <&ccu CLK_VP9>; clock-names = "bus", "mod"; resets = <&ccu RST_BUS_VP9>; + iommus = <&iommu 5>; }; ... -- 2.38.1.493.g58b659f92b-goog _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel