From patchwork Wed Feb 17 15:30:38 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Rui Salvaterra X-Patchwork-Id: 12091771 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.7 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id EF420C433DB for ; Wed, 17 Feb 2021 15:32:47 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 99BC764DA1 for ; Wed, 17 Feb 2021 15:32:47 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 99BC764DA1 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject: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=jIOWvbSkgV1jFGMj8hWYscg3O6LRQr+q0FfogncMq2Q=; b=QiAyd982M2eiL9EASzXenRg/fE mouQcIWMIC1nRCFxPO7xM3Nhk7ujxbC8xhwEdZd4eNT4lXte8lJpbebmiyzDqMAZJfR4mgAgPlTHK CWskAoKi7lKHWYaBo/2v2raTHQonHqfeTgzCNAb0gFWgRwOHc2yna6Zs2gZp5joSp2flpkgLwFFvd 0jTsObTJNo5U3ue9gUPsvGCmL59eBHpwsyRc42GwkaeeO01EXeUcc5KP8YcALncP5pWN9VeKyzZbe 2+GmUMpHPTNgLEaIHaRvmstNKUjJGPOGwnCYoUGBy+OCNTQmw+fyoArfqTDjJypZ5HO+East7X3OU ozandNDw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1lCOmx-0005eF-5m; Wed, 17 Feb 2021 15:30:51 +0000 Received: from mail-qk1-x732.google.com ([2607:f8b0:4864:20::732]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1lCOmu-0005dp-Qm for linux-arm-kernel@lists.infradead.org; Wed, 17 Feb 2021 15:30:49 +0000 Received: by mail-qk1-x732.google.com with SMTP id m144so13042404qke.10 for ; Wed, 17 Feb 2021 07:30:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=jvz/+Sbpy7Q7uN5Kdj0arf6yo889JF2jVVQnFz4hh0Y=; b=dSviZFgeTOkS2y8DyLtSVtgcMhFXOmSv/Gcv9BaJU2XiDMqgIMwOm5jt/AiVgRSmnf m829GSjCXMqP5LKg+Sg/X4m8slLJIGOig2q4LXS4LXcgEpWWoUZCUijLG9C2O6FDI+s8 VPDmYwxfDjjAgibvDlYvNSdE52qy3fMfjjCmaiQTjPHQGg+US8thctLaXIV8nzrjIzsY zoeLaGGvQ0CK4FzDu9xjrGwVXlSpNZiz8helZ90O+HtTtddJHDH3zpRJ8keDEI/KgVNU xQrsZWhte3gTERhX5ozOTwbsL2Xq+cWIKJkqizvuAc4PgofCSEQKvmseVZURv00/iqSw aNsg== 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:mime-version :content-transfer-encoding; bh=jvz/+Sbpy7Q7uN5Kdj0arf6yo889JF2jVVQnFz4hh0Y=; b=e5AmiaE/8iv+y6ic9acrlTcpCDfQRai3q9r6e0+b41tsjHRZ/CSUGhwo0HbfnaGOWi 4MQVoGO2GDTxgmpwlF79akrddgFj9CL4VJbAcd0ADxfU0VgvT0hW/tcePjPbl0nonNWt MNpZfR14fmeCBWl8zmg1ADKRcyg4pze6oVnUAvcpGc0u7sEock1nM0OTBTbFXiiuwLuJ ZdFcwbHQwOm//4xcO5fjYfitnJc8erKjfSwX5ZQaCwii0Z85uU4oqrVLAk3FU2eCi2hg tZtcY6avI/8aJqsDf7vNV6qa/bryopwo1VAHeiG0i12BI3e5yr0yd7RgKSCZatnffXTH cDjQ== X-Gm-Message-State: AOAM532hUfeGvNNsx4wlDymZ5rHkxgRY3uc8EUf/5MT6I1o/oA1OcRi3 3VqCg2ukv9U5UCP9Vadt9A== X-Google-Smtp-Source: ABdhPJwqkZZBXh40P+gy12WBcoPO8gcc3SFTRYSvguI9LrlWfYANJ1Mip+60CkBP7Fx0EWGmAIw4xA== X-Received: by 2002:a05:620a:1285:: with SMTP id w5mr23591421qki.420.1613575845422; Wed, 17 Feb 2021 07:30:45 -0800 (PST) Received: from presler.lan (a109-49-10-113.cpe.netcabo.pt. [109.49.10.113]) by smtp.gmail.com with ESMTPSA id z37sm286313qth.87.2021.02.17.07.30.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Feb 2021 07:30:44 -0800 (PST) From: Rui Salvaterra To: andrew@lunn.ch, gregory.clement@bootlin.com, kabel@kernel.org Subject: [PATCH] ARM: dts: turris-omnia: fix hardware buffer management Date: Wed, 17 Feb 2021 15:30:38 +0000 Message-Id: <20210217153038.1068170-1-rsalvaterra@gmail.com> X-Mailer: git-send-email 2.30.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210217_103048_884443_7ECFFB70 X-CRM114-Status: GOOD ( 10.56 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Rui Salvaterra Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hardware buffer management has never worked on the Turris Omnia, as the required MBus window hadn't been reserved. Fix thusly. Fixes: 018b88eee1a2 ("ARM: dts: turris-omnia: enable HW buffer management") Signed-off-by: Rui Salvaterra Reviewed-by: Marek BehĂșn Tested-by: Klaus Kudielka --- arch/arm/boot/dts/armada-385-turris-omnia.dts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/armada-385-turris-omnia.dts b/arch/arm/boot/dts/armada-385-turris-omnia.dts index 646a06420c77..dc80a909ea88 100644 --- a/arch/arm/boot/dts/armada-385-turris-omnia.dts +++ b/arch/arm/boot/dts/armada-385-turris-omnia.dts @@ -32,7 +32,8 @@ soc { ranges = ; + MBUS_ID(0x09, 0x15) 0 0xf1110000 0x10000 + MBUS_ID(0x0c, 0x04) 0 0xf1200000 0x100000>; internal-regs {