From patchwork Thu Jan 31 05:14:38 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 157109 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp6779275jaa; Wed, 30 Jan 2019 21:14:57 -0800 (PST) X-Google-Smtp-Source: ALg8bN5fU4GyynzAbnfD/L1Hcf4c0FKX12/l2/f6OjMTUXdOor368QAqLss1rHcMlbEQB/FoixKZ X-Received: by 2002:a63:7a09:: with SMTP id v9mr30331675pgc.112.1548911697418; Wed, 30 Jan 2019 21:14:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548911697; cv=none; d=google.com; s=arc-20160816; b=UNlM6r4NfFWVDM1geIg2GeDcY/x+c2LDzvJqBnIeyM+IZlRzIkPQgF9n7es1hGMLV7 YoLr7SucpPNJoGW5lTD1OlTeFo5DdAC37Bn+svyy27SaRjRkfRotwfT2kYTzBGYzSsmm 7w2Soh3ZnPT3deixgIWoWyXvFFnD9DX6oXfK1kSfZOdHXPgQ6QlWPMxgiCO5NriBuDPp rmLureIgoJlloL8NsefiMSz+a7oa2Ht4KwYUhoJz8Jplhee7ZKxw9FxjnFYzRYZfvdYr TGbrSMMM46a6cbZjlmtOEtMvsp2InqyqdzlCXudYQrR5SjQl9tFCk61jKdS+lK4+CuJl XDYg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=iWzoEnzGzcfe+b5ad6jke+CHgTHgDATWN/9/ul39DW0=; b=GRq+8EgEL1R9KSevnfJ5RxI4ns+txY3xWxovuZF7m3nvCjDFfBZsE0R3jAIqcZQ+Gf C9lTaPROxzIir68hgbTuHGRTKiKYsS/wC+rJNHE7jMgcqf8HLBOt4qgj0gI5hgQAodDk P0W6riMz3oDGVjB6SsBZDoC0Wg2GJ1j7O0RGfEE4Wz7uxrOEFC4k+QEAdfHFzFutFQQW W6ElRu2sZVcUPSrOjrJ5kjXlRxeN8QU/35WUgWlyaWkrqR0Z5hAZV0YoqKjHpjCGPijd g79ngok/DLfU72NfLWBPw9MYTr1y/I+6gLqLh8/gYf7t1GPVs74mB7OT5+vl9vDaiK9w 10SA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="g/rzxnHb"; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i96si3509386plb.188.2019.01.30.21.14.56; Wed, 30 Jan 2019 21:14:57 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="g/rzxnHb"; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725863AbfAaFOz (ORCPT + 7 others); Thu, 31 Jan 2019 00:14:55 -0500 Received: from mail-pg1-f195.google.com ([209.85.215.195]:36715 "EHLO mail-pg1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725815AbfAaFOz (ORCPT ); Thu, 31 Jan 2019 00:14:55 -0500 Received: by mail-pg1-f195.google.com with SMTP id n2so876852pgm.3 for ; Wed, 30 Jan 2019 21:14:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=iWzoEnzGzcfe+b5ad6jke+CHgTHgDATWN/9/ul39DW0=; b=g/rzxnHbktj4HQMOhBi4l3CyUafYYYB7Vb5m9L/GfEWAFE1aJdF0QrOyzg50aK91cf WsCovQYXrhd0N/AP9LrAyfTlmwziWPaMxoLBYo1tunQHcwcXTp5XhUc/vJ0SL9BugehO zSJaKsu8jtugHgw5xDT33dER2RMwGIAgyfVpc= 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:in-reply-to :references; bh=iWzoEnzGzcfe+b5ad6jke+CHgTHgDATWN/9/ul39DW0=; b=mjkUjIBiwIv5GMfXBbXC8UEVkXVO43OwTPdfr3z573ZGaQdLLbl8qSYed0uMgZRNDx QlsM34Nsi/Qm65/e/z/Mu3fBKsIV6GLv9mimSI237D7UQH6KOUCLe3TjmDeYBUaB3nkB CszfsJbSoMbkRiJZmgjx/7Tuhb5JFi7CIueZisDBh2rDPIrTG0cXE0ib9rxr/C8hqydJ HjJ/jiHp9UuxaGm+mttWXVed2CGPUj6jvWiFlIMGIz11qPQvTK51pXm+xkRIgVAybjMN Wlw/+Hdedacs/O5VB4SuhqNV8aGugPDBfHxbLajettYjWbR+NfxYxnbULl54m8wkr5KC QYPA== X-Gm-Message-State: AJcUukcXG1OiHbKtX5w+h5r/sjwEvDNTvxzkooMVqB6rf37+E9oJ2L3l SpNKEWkE8LCHekun39fCO8qLWg== X-Received: by 2002:a63:f65:: with SMTP id 37mr29985418pgp.238.1548911694658; Wed, 30 Jan 2019 21:14:54 -0800 (PST) Received: from localhost.localdomain (104-188-17-28.lightspeed.sndgca.sbcglobal.net. [104.188.17.28]) by smtp.gmail.com with ESMTPSA id s37sm5880483pgm.19.2019.01.30.21.14.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 30 Jan 2019 21:14:53 -0800 (PST) From: Bjorn Andersson To: Andy Gross , David Brown , Douglas Anderson Cc: Rob Herring , Mark Rutland , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2] arm64: dts: qcom: sdm845: Add clocks and iommus to WCN3990 WLAN node Date: Wed, 30 Jan 2019 21:14:38 -0800 Message-Id: <20190131051438.12867-1-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20190119000016.139657-1-dianders@chromium.org> References: Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Douglas Anderson When commit be7019103469 ("dts: arm64/sdm845: Add WCN3990 WLAN module device node") was posted upstream no clocks were specified. However, when the pack was picked into the Chrome OS kernel tree (allegedly directly from the mailing list post) it had clock properties. I presume that the clock should be there, so let's add it. Fixes: be7019103469 ("dts: arm64/sdm845: Add WCN3990 WLAN module device node") Signed-off-by: Douglas Anderson [bjorn: Add also the required iommus property] Signed-off-by: Bjorn Andersson --- Hijacking Doug's fixup patch to also add the missing iommus property. Without this the MTP reboots once the ath10k is trying to exercise the copyengine. arch/arm64/boot/dts/qcom/sdm845.dtsi | 3 +++ 1 file changed, 3 insertions(+) -- 2.18.0 Tested-by: Sibi Sankar diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi index cba09899282e..58f034664336 100644 --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi @@ -2422,6 +2422,8 @@ reg = <0 0x18800000 0 0x800000>; reg-names = "membase"; memory-region = <&wlan_msa_mem>; + clock-names = "cxo_ref_clk_pin"; + clocks = <&rpmhcc RPMH_RF_CLK2>; interrupts = , , @@ -2435,6 +2437,7 @@ , , ; + iommus = <&apps_smmu 0x0040 0x1>; }; };