From patchwork Sun Mar 24 16:32:09 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 161004 Delivered-To: patch@linaro.org Received: by 2002:a02:c6d8:0:0:0:0:0 with SMTP id r24csp3020508jan; Sun, 24 Mar 2019 09:33:15 -0700 (PDT) X-Google-Smtp-Source: APXvYqwGP2TmFZzsIM1yvQDZ8tWNDcZxPv8ePRG0j9gfT4hs/p6UKJxnjJp6R0SVo+N7hj34CVJv X-Received: by 2002:a63:cc0e:: with SMTP id x14mr19434185pgf.159.1553445195888; Sun, 24 Mar 2019 09:33:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553445195; cv=none; d=google.com; s=arc-20160816; b=Ox+uwEFG55ra4zV40hOoCRplaMeyViUONxu37r4WcHjBvue7TWlelnVEJ8IZXHsVBH pp4zImlAIAI4OIiZhBmcym4sR6a8PmO6Lb7SXxLwKPImcnFdt6W2gYFrEWXldUcpSuLm Yho0yDqnG5EWerM4vkiOsmExZQBiOcK+FseKZEGCxOw6I/0QcmQar+HgVu1vmSVxBMiZ uLwLkcYQnpGhBa+yUrxbS9JRmcm2rnXtGfX0V1nwjMx5HSEjDL/yZEfMLj2qu2e2k3Er hOtBm7J+WTiEjUtBe/WDCh5PZL1fjwlMtgNO4Zms5MT21A9TXQ+j8WmTRYwJ9l0vEn91 Wemw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=ECgOOAZnu7nw006r1YzLwXc4mPTy6eKnw6Ku7NrQ7E8=; b=DeE08NdDxDjv9umr/+aCokyMPzP5kgxsrViRw/HYhrIq64qtd4Gx0V74O6iG99Xa3h h1TttkpTSk9GB62pXgZvf0EdPN1O3M5+DvGKLWWqTSAanrjmSXiwZbsSgKngt2Ahsp8P YTrmnKVbd92IdYisP1oNypskrRx4Rr765AjsZal+8ky5yAdjeLHLjaDu7YmTqM2QIZC9 Y39rq09njRM/EZsCZTl6DFnRf8mNDz//y2XweMm5O1mhg4zz2vx/YD0DMOuHeP256rIo 5ChGXMq10dSTzfuXRfEMeZMPb+kMNvcKLjoSEZKupWrOgaRraEECszeBH/fcFIEw+vlO /Djw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=lYue08mT; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e96si12357679plb.123.2019.03.24.09.33.15; Sun, 24 Mar 2019 09:33:15 -0700 (PDT) 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=@kernel.org header.s=default header.b=lYue08mT; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728812AbfCXQdP (ORCPT + 7 others); Sun, 24 Mar 2019 12:33:15 -0400 Received: from mail.kernel.org ([198.145.29.99]:52438 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727192AbfCXQdP (ORCPT ); Sun, 24 Mar 2019 12:33:15 -0400 Received: from localhost.localdomain (unknown [117.99.92.90]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id AF69020883; Sun, 24 Mar 2019 16:33:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1553445194; bh=nljywtyUb9wN7rYnTC4duj7RoVAFGHaiqF3BR+i+ftY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=lYue08mTvsU281gALQD7r8IM3iO5Lk3jsZjrBBje9K8aZ+C8qniieRL+3FkyPkrew WoldIFjeyhucq4JnT5Ulbb6umdVobLBSupTHw0+Bz1h7bQn6YXU6lDokJwmNQEb9WI MqAvcaWgE0WQKgISN3pCOb9kLKvCChvVo2CXeMQM= From: Vinod Koul To: Andy Gross Cc: linux-arm-msm@vger.kernel.org, Bjorn Andersson , Khasim Syed Mohammed , David Brown , Rob Herring , Mark Rutland , devicetree@vger.kernel.org, Srinivas Kandagatla , Vinod Koul Subject: [PATCH 6/6] arm64: dts: qcom: qcs404: Remove default setting of controlled-remotely for BAM DMA Date: Sun, 24 Mar 2019 22:02:09 +0530 Message-Id: <20190324163209.17312-7-vkoul@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190324163209.17312-1-vkoul@kernel.org> References: <20190324163209.17312-1-vkoul@kernel.org> MIME-Version: 1.0 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Khasim Syed Mohammed The property controlled-remotely should not be set by default for qcs-404 device, it should be set based on the secure boot options (TZ or ATF) preferred by the platform. Hence, the controlled-remotely property is moved to platform specific dts files. Signed-off-by: Khasim Syed Mohammed Signed-off-by: Srinivas Kandagatla Signed-off-by: Bjorn Andersson Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/qcs404-evb.dtsi | 8 ++++++++ arch/arm64/boot/dts/qcom/qcs404.dtsi | 2 -- 2 files changed, 8 insertions(+), 2 deletions(-) -- 2.20.1 diff --git a/arch/arm64/boot/dts/qcom/qcs404-evb.dtsi b/arch/arm64/boot/dts/qcom/qcs404-evb.dtsi index d4fadeaa0bbc..b04e38ae163f 100644 --- a/arch/arm64/boot/dts/qcom/qcs404-evb.dtsi +++ b/arch/arm64/boot/dts/qcom/qcs404-evb.dtsi @@ -215,3 +215,11 @@ &blsp1_uart3 { status = "okay"; }; + +&blsp1_dma { + qcom,controlled-remotely; +}; + +&blsp2_dma { + qcom,controlled-remotely; +}; diff --git a/arch/arm64/boot/dts/qcom/qcs404.dtsi b/arch/arm64/boot/dts/qcom/qcs404.dtsi index 32f2f51bbf7f..ffedf9640af7 100644 --- a/arch/arm64/boot/dts/qcom/qcs404.dtsi +++ b/arch/arm64/boot/dts/qcom/qcs404.dtsi @@ -435,7 +435,6 @@ clocks = <&gcc GCC_BLSP1_AHB_CLK>; clock-names = "bam_clk"; #dma-cells = <1>; - qcom,controlled-remotely = <1>; qcom,ee = <0>; status = "okay"; }; @@ -680,7 +679,6 @@ clocks = <&gcc GCC_BLSP2_AHB_CLK>; clock-names = "bam_clk"; #dma-cells = <1>; - qcom,controlled-remotely = <1>; qcom,ee = <0>; status = "disabled"; };