From patchwork Thu Aug 12 14:17:12 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thierry Reding X-Patchwork-Id: 12433675 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 B1190C4338F for ; Thu, 12 Aug 2021 14:20:08 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 44DB0610A3 for ; Thu, 12 Aug 2021 14:20:07 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 44DB0610A3 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org 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=0f/LVUDe5QHgJC9rCKvLfpAhacKqNtR3YiUOMUM79YE=; b=YW0mFRHYgF6D99 QbyZkPZ96bJajkVHnmPwt3PczpSJ7hTjH2vvTF3pPVSDTV3NA4DBEXUnJR1XjSIMAW6lqR2iEYPDf jFB3gizv4cT2RFQ2iu9s7NXFRyR/nbF1HLvxPQn35na91ZL9IUi0L5R9ENwlFGAo6Xf0WfEaC9F5u JhZrbptA1R3ApTtzVArDopSYmsx7QoW7lKbAuQA18x4C+jdTqvexrfCf/8cb7P+8Lwtc47JxP9atL 0vgcBIv8RyTTNUQtwkzWQ6MiNHyJAm8bhZJ9hIJo26jRWPSEviSbWDhmZsy1DCsdglOhqRV8XqSt7 Gm8bRC1kPis0XVqbGxtw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mEBWM-00AQfs-G0; Thu, 12 Aug 2021 14:17:22 +0000 Received: from mail-wr1-x42b.google.com ([2a00:1450:4864:20::42b]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mEBWJ-00AQeu-Fo for linux-arm-kernel@lists.infradead.org; Thu, 12 Aug 2021 14:17:20 +0000 Received: by mail-wr1-x42b.google.com with SMTP id h13so8567654wrp.1 for ; Thu, 12 Aug 2021 07:17:18 -0700 (PDT) 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=Ss/IPfEyG/sp5S2fy/wct6ETV94/967xCU18WTHi7NE=; b=WLXHY1LXd0vdOX98TZcJV5pZmkSRMpaniUAnrY8csLGAD08tz8byvFDtWA17jCQ8d5 l6rheA64erFgHJgHXm81s9WG5FQCdabCrWP0sRsfoPqNp1is3XbkScczepSQh/3hQoVC GGenWq0hV71DSazcd4U3j6eMOltdE5YtCWuOR765JADS6SXxzMdoHgABHGuYatbRLLBe f1hqPy+MMrW1v/k2ak27UOoxx6zI1iIHhFlHq0VuYbGgLKGvFbqyp9qzHcEbml7pp6nZ ++OXJH73mokZDKOjlrm897Tr4uFQeI7IMVcOZAoSOyAGMnFHO0OPbGGC0hi//t6Lj8rs Pl8A== 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=Ss/IPfEyG/sp5S2fy/wct6ETV94/967xCU18WTHi7NE=; b=epcKacgnJtOi5h9M4qJpyn7OQmktkUPUKdvB9J4dN0MYbVeKnBVT9JDCiT9Zgt5LJR TZkkSkQ7w+nWn5nNo683CVlwqw81JTM2+dNNp+E+makAmK7ukejXg4AK3guqcO8gx+F3 rPNQv6LLJIf6nSfxZhOTGzgKgSwK9+Gzv3RJUtaT2R9JRNAxBh5636K1AegFK7jjCtER HjHReJBVlDpNNovvxNY86DRFs8O5OEjp8kyZkz7IZd9AsnmNKNxO6ZXf3o9BT+/6mrOm iRG/XFSZv2cnSgskOuSDoEOXGPL/zKxdRctlDQIMZevqoPFXUkLc7qm+Oxr/AegbLyJw J4rA== X-Gm-Message-State: AOAM5314KonW1OOpzcS0fObP0/b2B11tJpsrIgEdL7UoilnQZG60hmbo TBCTOQ+RzbVRiBPHFzx4q+A= X-Google-Smtp-Source: ABdhPJzPVbyeiU6ecckxTt8glsOVxxkYMT0artCdZCp76WZ2bbFcw5m4jsHC6avRFcgpuh8O2AqYug== X-Received: by 2002:adf:f08e:: with SMTP id n14mr4182943wro.427.1628777837634; Thu, 12 Aug 2021 07:17:17 -0700 (PDT) Received: from localhost ([217.111.27.204]) by smtp.gmail.com with ESMTPSA id x18sm3099807wrw.19.2021.08.12.07.17.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Aug 2021 07:17:16 -0700 (PDT) From: Thierry Reding To: Thierry Reding Cc: Jon Hunter , linux-tegra@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH] arm64: tegra: Add missing interconnects property for USB on Tegra186 Date: Thu, 12 Aug 2021 16:17:12 +0200 Message-Id: <20210812141712.2394152-1-thierry.reding@gmail.com> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210812_071719_586673_27618769 X-CRM114-Status: GOOD ( 12.17 ) 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 From: Thierry Reding The device tree node for the XUDC (USB device mode controller) is missing the interconnects property that describes the path to memory for the controller. Add the property so that the things like the DMA mask can be set by the operating system. Signed-off-by: Thierry Reding --- arch/arm64/boot/dts/nvidia/tegra186.dtsi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm64/boot/dts/nvidia/tegra186.dtsi b/arch/arm64/boot/dts/nvidia/tegra186.dtsi index d1e20dbc5f4b..5c45fab0c9ab 100644 --- a/arch/arm64/boot/dts/nvidia/tegra186.dtsi +++ b/arch/arm64/boot/dts/nvidia/tegra186.dtsi @@ -826,6 +826,9 @@ usb@3550000 { <&bpmp TEGRA186_CLK_XUSB_CORE_SS>, <&bpmp TEGRA186_CLK_XUSB_FS>; clock-names = "dev", "ss", "ss_src", "fs_src"; + interconnects = <&mc TEGRA186_MEMORY_CLIENT_XUSB_DEVR &emc>, + <&mc TEGRA186_MEMORY_CLIENT_XUSB_DEVW &emc>; + interconnect-names = "dma-mem", "write"; iommus = <&smmu TEGRA186_SID_XUSB_DEV>; power-domains = <&bpmp TEGRA186_POWER_DOMAIN_XUSBB>, <&bpmp TEGRA186_POWER_DOMAIN_XUSBA>;