From patchwork Mon Jan 30 16:44:59 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 92924 Delivered-To: patch@linaro.org Received: by 10.140.20.99 with SMTP id 90csp1704536qgi; Mon, 30 Jan 2017 16:51:14 -0800 (PST) X-Received: by 10.84.175.74 with SMTP id s68mr34214293plb.155.1485823874149; Mon, 30 Jan 2017 16:51:14 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s65si14250068pfa.163.2017.01.30.16.51.13; Mon, 30 Jan 2017 16:51:14 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754437AbdAaAvM (ORCPT + 9 others); Mon, 30 Jan 2017 19:51:12 -0500 Received: from mail-pf0-f182.google.com ([209.85.192.182]:33060 "EHLO mail-pf0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754530AbdAaAvL (ORCPT ); Mon, 30 Jan 2017 19:51:11 -0500 Received: by mail-pf0-f182.google.com with SMTP id y143so96085169pfb.0 for ; Mon, 30 Jan 2017 16:50:11 -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; bh=wDFpYYUpKm86QDuoRDXTPyddK0HlqJAh/eXy1RqHmDI=; b=BtEJDW4OPWZfgCrWAR9KDYni8U90ftL9r7R3ezCxOoFwGbGkq5M8jeIwjDzc7dUsIg DMwUIKvPsiH1Wn4VzcUWWGmE9B8g+KHNG6VGSMhnsHYh8xjXXv6MxHIl6yDXa41+zo+W azH4pm3XrfAytjaeu3EokSDyNdISJ405wSFeU= 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=wDFpYYUpKm86QDuoRDXTPyddK0HlqJAh/eXy1RqHmDI=; b=fr14ogLQBZ3trTcwyF+PaBKvabe1zvfKiqNojOc2DJnouPm9QpoiU1ewgTzoaEGXEk NRK+6oiy7LJtp30MzAY7LYT9X7f3PtAxFWwG9BdQcsn/mLQYM9AHVw8apT2v3myO7Bkf yE3HiVpnrisgL8gA0jKe0N6Hkuqs8+w/yxISodUX3YJycCLbDRzcR4dTIwSgajBQOO4O 9JJXjsKstLUGAAgxWfOesA02GSuMNuj9Yye69PJ6R/LzSjCVjgiur+OCEnLhrCyzUGMF c+J361s2wuaP3qC4AUdhm2KO1LN1DMLKrsUvd2LBb+dW3lBmMBdlEn4sitW3m15yBQVa 2JFg== X-Gm-Message-State: AIkVDXKcd2Vtjm6DwyL+/qcQGlzjkRwnaOtQdkoN8F1m9nPalrBQshRyevD9S3AQr2iiJtTg X-Received: by 10.98.117.10 with SMTP id q10mr26011963pfc.31.1485823429570; Mon, 30 Jan 2017 16:43:49 -0800 (PST) Received: from localhost.localdomain (ip68-111-223-48.sd.sd.cox.net. [68.111.223.48]) by smtp.gmail.com with ESMTPSA id q19sm35459687pfl.21.2017.01.30.16.43.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 30 Jan 2017 16:43:48 -0800 (PST) From: Bjorn Andersson To: Andy Gross , David Brown Cc: linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] arm64: dts: qcom: msm8916: Update hexagon node Date: Mon, 30 Jan 2017 08:44:59 -0800 Message-Id: <20170130164459.4051-1-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.11.0 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org It's necessary to reference the xo clock and cx supply, so specify these in the node. Also move the Hexagon smd-edge into the hexagon node, to enable SSR. As cxo is not yet available we reference the fixed version of cxo for now, which will work until proper power management is implemented. Signed-off-by: Bjorn Andersson --- arch/arm64/boot/dts/qcom/msm8916.dtsi | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) -- 2.11.0 -- To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/arch/arm64/boot/dts/qcom/msm8916.dtsi index 68a8e67cba29..35684cc1f308 100644 --- a/arch/arm64/boot/dts/qcom/msm8916.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8916.dtsi @@ -833,8 +833,9 @@ clocks = <&gcc GCC_MSS_CFG_AHB_CLK>, <&gcc GCC_MSS_Q6_BIMC_AXI_CLK>, - <&gcc GCC_BOOT_ROM_AHB_CLK>; - clock-names = "iface", "bus", "mem"; + <&gcc GCC_BOOT_ROM_AHB_CLK>, + <&xo_board>; + clock-names = "iface", "bus", "mem", "xo"; qcom,smem-states = <&hexagon_smp2p_out 0>; qcom,smem-state-names = "stop"; @@ -842,6 +843,7 @@ resets = <&scm 0>; reset-names = "mss_restart"; + cx-supply = <&pm8916_s1>; mx-supply = <&pm8916_l3>; pll-supply = <&pm8916_l7>; @@ -856,6 +858,16 @@ mpss { memory-region = <&mpss_mem>; }; + + smd-edge { + interrupts = <0 25 IRQ_TYPE_EDGE_RISING>; + + qcom,smd-edge = <0>; + qcom,ipc = <&apcs 8 12>; + qcom,remote-pid = <1>; + + label = "hexagon"; + }; }; pronto: wcnss@a21b000 { @@ -1214,14 +1226,6 @@ }; }; }; - - hexagon { - interrupts = <0 25 IRQ_TYPE_EDGE_RISING>; - - qcom,smd-edge = <0>; - qcom,ipc = <&apcs 8 12>; - qcom,remote-pid = <1>; - }; }; hexagon-smp2p {