Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2541188pxb; Mon, 18 Jan 2021 22:51:49 -0800 (PST) X-Google-Smtp-Source: ABdhPJwDRc7DLyvPOkdzRIXoVoLgXgQbG5licZUpAWMbasxEZ/l9cAuc2j9rc7K5k5dGyoe6rg28 X-Received: by 2002:a05:6402:5206:: with SMTP id s6mr2204911edd.92.1611039109082; Mon, 18 Jan 2021 22:51:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611039109; cv=none; d=google.com; s=arc-20160816; b=uUOdeNwyat32PkYFUDai+1p1ypUvASV02T4bGtMqL4zorzyaDWHKZtu1QE1QIPJwnR LK5waDkkvqJo+torRWN0TKDBYhOcGm/gO+jT9SqeRZPaUS0M8mJUpLH7UG7rmHYcvedJ V/+EpW6I8ApjzPMA7nuNjZV81XEyLFzscWz9OhpJxc9jgcJXE2eZYT2KU4wN47UFy0Gf 3Ris94HyEORm2rvJhrKgvKp5ndNJUAxnXvCcNkIsuWnCcr0wAH2wftfZSKb8v7VeTJvS K9nLTnv5Gt58WiX4bxhYPjJgPte/KUKmCrBBwzk2PAd1msVV2Rnq5EVtEM5vZ9D0orIo clow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from :dkim-signature; bh=6Os56QzORrNi3r4EsFLBJkfoRxYL1qM7DTBK8EVeEnk=; b=d2XelR5dMsG0/YvwJbWnocHG80Ythid6nBqXSzFDCLb79KNWnHzzsFo+LZWpg1FwQO l1Q8iYVv1xxKusdBvzz0p2ckawLVCQi513CImTxGFxX9UUPUU7bihNB7hBtYIaH36zSh 27DQhbsSWS0tMxCs1bn0c7bkGr5ABH354TusEXm+PDBaixQdeaEvN1/Fxk3jq9vLmjvn J+m2oG3/FfM6a29RaidzquKFfm5FNjqqngS/FffrVrA2aJ0bJ+g4vjZ36V1fSr5BjuvG 37KcOoEXTIx7b0J8Y1By7lPyQvS05htEPVOB6w3nUO4y1SRkowg+9PATSQUyHm1ostTm KU0g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b=NMGL9iPo; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bl4si4152086ejb.47.2021.01.18.22.51.25; Mon, 18 Jan 2021 22:51:48 -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=@broadcom.com header.s=google header.b=NMGL9iPo; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729226AbhASGuH (ORCPT + 99 others); Tue, 19 Jan 2021 01:50:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50762 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731543AbhASFfm (ORCPT ); Tue, 19 Jan 2021 00:35:42 -0500 Received: from mail-pg1-x530.google.com (mail-pg1-x530.google.com [IPv6:2607:f8b0:4864:20::530]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DAC20C0613C1 for ; Mon, 18 Jan 2021 21:34:59 -0800 (PST) Received: by mail-pg1-x530.google.com with SMTP id i5so12343505pgo.1 for ; Mon, 18 Jan 2021 21:34:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=from:to:cc:subject:date:message-id; bh=6Os56QzORrNi3r4EsFLBJkfoRxYL1qM7DTBK8EVeEnk=; b=NMGL9iPoHw04wu90Iks9uFhCjOvzXCNNU/n2SynqB5Ax9t+Um4ezWYaKc6mMoWNLgc kKXH3960il0CGc/tV1vuIcRJ0t6likG3r5moXSTV3BnkTgyV88h0v2YRmFEtXd8NB/nx LxQgMw6QzwA8ru3cR6H8Y/4GPzOThiaaAMc5w= 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; bh=6Os56QzORrNi3r4EsFLBJkfoRxYL1qM7DTBK8EVeEnk=; b=ouNSe5AFpl68w0i+jZ8HQS+mBVPNYKT8/cjrhzpQsVXL2UOJ1Or6UIe+hO3uJYLPWx 5EF7r9a08uC6Ix0SRvmsDpTrYuUA3jN6soK0zkGRPRs+be6HA3tTl5DdALYtkaAd1vJ3 odrCGNIuZmJbDryq4KBFAYdhIHyGv0KsWKj0m9Z9R3sgG5ImhvMtCPW0Oy9eFS/n4Hpy oy1C9F3lR8j4vg9lYVG/ZIkDC7r0DO1gsf7IY18yHYxQwpxkmwmA7BOwGS4JH+/XEhUP chZPqsoaysoefvFRrSdGKROtrM5248qdcQTU3nANecA58NUsOuJ2RLNm9cZgqZrFNYTl rCFw== X-Gm-Message-State: AOAM530D4kFa8AW3AhwTo3HU3h2ZswkzG0alTPTL7pRbkqKcbtWbNIek jZ5TGsF/fwkCB3LkW/Fbc7DoQg== X-Received: by 2002:a63:5701:: with SMTP id l1mr2927127pgb.381.1611034499093; Mon, 18 Jan 2021 21:34:59 -0800 (PST) Received: from rayagonda.dhcp.broadcom.net ([192.19.234.250]) by smtp.gmail.com with ESMTPSA id gl6sm1296035pjb.3.2021.01.18.21.34.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Jan 2021 21:34:58 -0800 (PST) From: Rayagonda Kokatanur To: Rob Herring , Ray Jui , Scott Branden , bcm-kernel-feedback-list@broadcom.com, Arnd Bergmann , Florian Fainelli , Zhen Lei , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Bharat Gooty , Rayagonda Kokatanur Subject: [PATCH v1 1/1] arm64: dts: stingray: fix usb dma address translation Date: Tue, 19 Jan 2021 11:04:44 +0530 Message-Id: <20210119053444.23108-1-rayagonda.kokatanur@broadcom.com> X-Mailer: git-send-email 2.17.1 Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-256; boundary="00000000000012867505b93a33d1" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --00000000000012867505b93a33d1 From: Bharat Gooty 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 --- arch/arm64/boot/dts/broadcom/stingray/stingray-usb.dtsi | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/broadcom/stingray/stingray-usb.dtsi b/arch/arm64/boot/dts/broadcom/stingray/stingray-usb.dtsi index aef8f2b00778..5401a646c840 100644 --- 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>; -- 2.17.1 --00000000000012867505b93a33d1 Content-Type: application/pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Crypt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