From patchwork Mon Sep 11 17:14:07 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Jernej_=C5=A0krabec?= X-Patchwork-Id: 13379556 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 546FDEE7FF4 for ; Mon, 11 Sep 2023 17:14:42 +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: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:In-Reply-To:References: List-Owner; bh=m+kVG41o5tFyuX3ybdL3DEtdFCsu5i92N7+gSOip1QE=; b=T1AdbeCPljH7Mw nsG984TZ6NpUOcuR/csVFIIMGDfVWF9rGylTotm34FYHQ7uO1Dr6PMyfTVEDmzzc3d+kON/iCXqLO pTPzX74EYxAvhpSCOJI7MOit8pG3BPD886kerJpwh27pqw7r1FgIbLdt6ERuFsbKZ/iKqmUNhBO5C dLOusrebZ+FXTMREYzSsMq1IT+NBulrMId3YwFJ7lCKLXuMMiMSlnnU5rrNcYAhe0sUPR2FR0Tn26 +RSJHE6t8iSaV+i2XBPOyHi2BMqYdKBFgbXABixhaEVcjiMXHajy6WIkxUhw5g3fN8twEtqCR+sW0 8NglCeGk+23n5yAm82QA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qfkUL-0013Mw-1L; Mon, 11 Sep 2023 17:14:17 +0000 Received: from mail-lf1-x12e.google.com ([2a00:1450:4864:20::12e]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qfkUJ-0013MR-10 for linux-arm-kernel@lists.infradead.org; Mon, 11 Sep 2023 17:14:16 +0000 Received: by mail-lf1-x12e.google.com with SMTP id 2adb3069b0e04-501be2d45e0so7899750e87.3 for ; Mon, 11 Sep 2023 10:14:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694452452; x=1695057252; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=zHC159t7V9+jR5+JKKYFZcnb7vWoVrDrxr51MoqDMR0=; b=Df1dBhyT7cK4YzQBfsApTYBsUR5h4GJPGL+XLd+PyYxkNFc2VeIBttEABWgMwCWY3U 3sCHMcQQZVJEVHmb+7Ffg0DsbiEC+6iFtnbwloDOI4+E0mI2stLEkTIqXs+03YEhIER5 nHgLQw3U3e0cY1TX253MBVGI426HSGfvDaxEF0RsFS0qwvST4mbS94ub4RKi00pjOezW 3iNMjzKbswzoWhjQ98EQRMqXDDpKk3JN/iyWX77u/VB/Q7qPzja2tFz0Pk9JibToj0kA f6ihoH6JQWNSuw6nqN7ig/AJgtEhx1zsfrov+jjUP3djGg9wVPHpU3paQLUKi1PYpq6S 15rA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694452452; x=1695057252; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=zHC159t7V9+jR5+JKKYFZcnb7vWoVrDrxr51MoqDMR0=; b=sWPokj0PN5PeKISo7w2f5TyiJ3jOQYDY4I+IQzsj0QbMjUPfUlSuWKRcx1joccpWRE oHFLMUgvLHiyJ48oyetUzyonzbd6zwxgvjcCCDN0+1rOGlPlqfd8uKFWSmAGbtp10dl+ d+RTM7Bk9JUaIEdLMC1Gv2oFduYBWAImR9UD9m3iUnMxnivWiAL/TTs7LGPyju9QWPwb N1eF7RruJcKxwA3LStpVp+EIvKIHVWecA0f4Z+tD7DWd6zF31SOA7ZVXMtJDd1AByQ+e WYGYITBXYSaQKu+DZ81OY9i7AQPvhkH2CIo8Xc6otm1QC6ygHql/C2GSt1y5yvIz/WuW V4ZA== X-Gm-Message-State: AOJu0YypEqAtPzzS/f5tvL7CU+sLX6LlslifFkm9oFipN0I0QHpBIYUP 1vrvaZVRXcGCGG7CCRQAm+Y= X-Google-Smtp-Source: AGHT+IEwQdzEpm/rkWP0lYNwKEDMgXRO32q/LHTllN9ths+CuNHroYFDnlnZss50NYMaaERchNT6MA== X-Received: by 2002:a05:6512:3e0f:b0:4f8:4245:ed57 with SMTP id i15-20020a0565123e0f00b004f84245ed57mr10590985lfv.35.1694452451839; Mon, 11 Sep 2023 10:14:11 -0700 (PDT) Received: from localhost.localdomain (82-149-12-148.dynamic.telemach.net. [82.149.12.148]) by smtp.gmail.com with ESMTPSA id b9-20020a170906490900b00992f2befcbcsm5631012ejq.180.2023.09.11.10.14.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Sep 2023 10:14:11 -0700 (PDT) From: Jernej Skrabec To: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org Cc: wens@csie.org, samuel@sholland.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, Jernej Skrabec Subject: [PATCH] ARM: dts: sun8i-r40: Add interconnect to video-codec Date: Mon, 11 Sep 2023 19:14:07 +0200 Message-ID: <20230911171407.1572030-1-jernej.skrabec@gmail.com> X-Mailer: git-send-email 2.42.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230911_101415_351520_F4C4A1C1 X-CRM114-Status: GOOD ( 10.70 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Video codec needs interconnect, so driver knows that it needs to adjust DMA addresses. Signed-off-by: Jernej Skrabec Reviewed-by: Chen-Yu Tsai --- arch/arm/boot/dts/allwinner/sun8i-r40.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/allwinner/sun8i-r40.dtsi b/arch/arm/boot/dts/allwinner/sun8i-r40.dtsi index 4ef26d8f5340..a5b1f1e3900d 100644 --- a/arch/arm/boot/dts/allwinner/sun8i-r40.dtsi +++ b/arch/arm/boot/dts/allwinner/sun8i-r40.dtsi @@ -338,6 +338,8 @@ video-codec@1c0e000 { resets = <&ccu RST_BUS_VE>; interrupts = ; allwinner,sram = <&ve_sram 1>; + interconnects = <&mbus 4>; + interconnect-names = "dma-mem"; }; mmc0: mmc@1c0f000 {