Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp630458pxb; Tue, 2 Feb 2021 13:45:19 -0800 (PST) X-Google-Smtp-Source: ABdhPJxnlIN1/Ahtc4UnW/5dlZA0jlfdGKSMu2/zHMo4F6ZG7t09etL2WTdv2TP9GZP9UrqidVS8 X-Received: by 2002:a05:6402:1914:: with SMTP id e20mr100254edz.89.1612302319098; Tue, 02 Feb 2021 13:45:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612302319; cv=none; d=google.com; s=arc-20160816; b=U4UC+BUYgy+QpzNRpEOff0JNtD+2Ewdttw8neapWoliP0lMjNudvG6yZu21+Se76L2 +uaLLRSG5Uxu5BrO4Ch/i2bdn/vQ+D9c8uEVl908x8gWLn8ihIY0Zn+1kNO2hUehAAHx owDFjZirYaaFhzbKTTfN7/La1iqRV1KO/NCsaOa0KiyaHkzORTU3dhcPNHWCHAsMDxeO jSuScxt4KvoVWebbWwtCfLGpPLJetjZ/5CowA8afsStcB0mxRpE5DZKhx/B9yaUrvMrt jc6shnnjwSWDEuB48BBP1cQa2uTyXP0+Xifb9KHGhztymBn75HzU3xOk9G2AArj7uj+w 9BLg== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=tsHIcBDaT/xvoNrHPI/IQ+C00Q6NWujOp/mT58bXE4w=; b=Okxl4fi/xR4f8qKwaHoUZkjJR6O2wR8/tf/o/DezjH4BSPiQW41LgAsx3YgXiDKB3p F+y1D1iRK3R5ivTlRfNm35oryCtfDUzFBcsd6YfhSr6yxZRvLMbCozb0R4P9jW9rLsy1 aYeB15lwaxpqc1JWDLmYgWj4Q2QQWrSv7oaqEI+AQq0hwV3zeo06hcDPt9Kcl968CZ4l z6BdjurHzTx9jb6p6IN9Cp88rbuU1pJRTsGlbTjFnfHu4Avv8WfUpfff31ozLG/gDrJE 0r3QE8fXvmJm8unHgyWmL6RlVNggN84Gft0eBYLR2SW84kvHgYRPkT0tAw93fUlNDPqd d5Cg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=ZpSIp2kR; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q21si13015824edt.445.2021.02.02.13.44.53; Tue, 02 Feb 2021 13:45:19 -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=@linuxfoundation.org header.s=korg header.b=ZpSIp2kR; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233131AbhBBNv5 (ORCPT + 99 others); Tue, 2 Feb 2021 08:51:57 -0500 Received: from mail.kernel.org ([198.145.29.99]:36352 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232855AbhBBNqv (ORCPT ); Tue, 2 Feb 2021 08:46:51 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id E51FF64EDA; Tue, 2 Feb 2021 13:41:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1612273285; bh=7scnNFO5hFWcnqyzKqanrtIP8GbkO1wM7n2d5m55wWs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ZpSIp2kRq+rN5tuNbLhNOzg1h/UCEgO+FAOOc0rnrfREdKGGPGhDlDDgFtSXL/14j Bj7J7ZslYAYs2o62o9gN6HwIKHfjp82+WVwcALCl3lioX0WKXP+2o1yhMkZibbieMV +pJyue3H790U8nTT2rNoI6DHp3PjcskTGUj4/5jM= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Bharat Gooty , Rayagonda Kokatanur , Arnd Bergmann , Ray Jui , Florian Fainelli Subject: [PATCH 5.10 050/142] arm64: dts: broadcom: Fix USB DMA address translation for Stingray Date: Tue, 2 Feb 2021 14:36:53 +0100 Message-Id: <20210202132959.791090310@linuxfoundation.org> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20210202132957.692094111@linuxfoundation.org> References: <20210202132957.692094111@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Bharat Gooty commit da8ee66f56071aef0b5b0de41d2c2a97fa30c8a1 upstream. Add a non-empty dma-ranges so that DMA address translation happens. Fixes: 2013a4b684b6 ("arm64: dts: broadcom: clear the warnings caused by empty dma-ranges") Signed-off-by: Bharat Gooty Signed-off-by: Rayagonda Kokatanur Reviewed-by: Arnd Bergmann Acked-by: Ray Jui Signed-off-by: Florian Fainelli Signed-off-by: Arnd Bergmann Signed-off-by: Greg Kroah-Hartman --- arch/arm64/boot/dts/broadcom/stingray/stingray-usb.dtsi | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) --- a/arch/arm64/boot/dts/broadcom/stingray/stingray-usb.dtsi +++ b/arch/arm64/boot/dts/broadcom/stingray/stingray-usb.dtsi @@ -4,11 +4,16 @@ */ usb { compatible = "simple-bus"; - dma-ranges; #address-cells = <2>; #size-cells = <2>; ranges = <0x0 0x0 0x0 0x68500000 0x0 0x00400000>; + /* + * Internally, USB bus to the interconnect can only address up + * to 40-bit + */ + dma-ranges = <0 0 0 0 0x100 0x0>; + usbphy0: usb-phy@0 { compatible = "brcm,sr-usb-combo-phy"; reg = <0x0 0x00000000 0x0 0x100>;