From patchwork Mon Oct 1 06:21:50 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 147869 Delivered-To: patch@linaro.org Received: by 2002:a2e:8595:0:0:0:0:0 with SMTP id b21-v6csp3529823lji; Sun, 30 Sep 2018 23:22:43 -0700 (PDT) X-Google-Smtp-Source: ACcGV60Zx3gL5jYLMWGgc+kd3HlcpL+neCmoAf6nGtV4IAqH4yFdji5u95bbgxuwHrYLtBtI/kY5 X-Received: by 2002:a62:2315:: with SMTP id j21-v6mr9914819pfj.90.1538374963444; Sun, 30 Sep 2018 23:22:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538374963; cv=none; d=google.com; s=arc-20160816; b=qKQ52kkMwdZzCRamQWoB7q/dXpYG++R2GS4I6xdyOUNGBtK1EtYD+U9xD1NwXabW6p +74znSIKXq40Y8BHqVCJ80zHJAAk/Pjb4JsM2dTiVKXrCROGYU909sey3YSWpr1TrsSz NSCXA7iWw9O6r3ovTlzV8W1+TNdsecxTVZajHjWlz3B+gFMWrBfnhUh0dEQ8llEaaaSN tneGiG6yYTf3ZShoF5cRrA629VbfdtSAv4YjfzaQggijjCmDP3hMuC3eQb+sLliwhzP2 fxlv2mrDymA5L4AX758+MbgwmG+tVGvZ93vTW3nUsGBojDgZEDbL0lZgq0tIvp40EfWa F1OA== 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=w7yLqUIR1l1UQai4BhQa0BDIV4oIShSEvBeoxjP9Doc=; b=wkBnGCeDLicdxCA2I4cEvZFC9HwD2PHrGcyafaTPyj9bV7m/7mtuE7dcSrcMZgAWdr UmCgiqShVAMr8vCzBAzQK/giBRMoGta3UREMp+mN1kfoJhoNXfRsQ86JJUTXkVQqw00E 6IMHABt+OpU25sQ2xf9aSPL7zcsZow4XZdt1S7Pmb5xlUmpaU6/iuw8CMNuOyfOSO+R0 p1/3NCMGSOgx7CpMpjhP4iCqEqvJrlRZBDPNE7IwQ33hQz/EF8o6yCKhAOC6XQZ1YOzd R13kvmMk/VKYzXiHr7aG0rTM+lsg513y3tbNZzBtmyqMULTZXyUbhIfwdWV9XN2sITrI KXLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=cz9Z1MsL; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 14-v6si11365289pgk.497.2018.09.30.23.22.43; Sun, 30 Sep 2018 23:22:43 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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=cz9Z1MsL; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 S1728832AbeJAM6r (ORCPT + 32 others); Mon, 1 Oct 2018 08:58:47 -0400 Received: from mail.kernel.org ([198.145.29.99]:53538 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728682AbeJAM6r (ORCPT ); Mon, 1 Oct 2018 08:58:47 -0400 Received: from localhost.localdomain (unknown [106.201.51.193]) (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 16C382089D; Mon, 1 Oct 2018 06:22:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1538374959; bh=9v1AD4P5KLBMF6U5MWTm6l4XnTzBG0TDScCNGozdsXU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=cz9Z1MsLM9E4QNf3wV2y/KT3TNaDKtQMdkUIE7JQJn7ZkhlWy70wTOD+y2CPzMR05 koAsmfS/hyDiTek5UVISrQbHGssSdGThvyGPeR28tqfM7gbWhBQoAq8z953BFuuZRu lgBKTCnlSo7dq5TjsW4Asic1QV1yKzs9cUCQe4Q4= From: Vinod Koul To: Andy Gross , David Brown Cc: Vinod Koul , Rob Herring , Mark Rutland , linux-arm-msm@vger.kernel.org (open list:ARM/QUALCOMM SUPPORT), linux-soc@vger.kernel.org (open list:ARM/QUALCOMM SUPPORT), devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS), linux-kernel@vger.kernel.org (open list), Bjorn Andersson , Stanimir Varbanov Subject: [PATCH v6 1/2] arm64: dts: msm8996: add prng-ee node Date: Mon, 1 Oct 2018 11:51:50 +0530 Message-Id: <20181001062151.27607-2-vkoul@kernel.org> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20181001062151.27607-1-vkoul@kernel.org> References: <20181001062151.27607-1-vkoul@kernel.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org RNG hardware in 8996 features (Execution Environment) EE for HLOS to use, add the node for prng-ee for msm8996. Signed-off-by: Vinod Koul Reviewed-by: Bjorn Andersson --- arch/arm64/boot/dts/qcom/msm8996.dtsi | 7 +++++++ 1 file changed, 7 insertions(+) -- 2.14.4 diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi index cd3865e7a270..40e52a43f670 100644 --- a/arch/arm64/boot/dts/qcom/msm8996.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi @@ -729,6 +729,13 @@ }; }; + rng: rng@83000 { + compatible = "qcom,prng-ee"; + reg = <0x00083000 0x1000>; + clocks = <&gcc GCC_PRNG_AHB_CLK>; + clock-names = "core"; + }; + mmcc: clock-controller@8c0000 { compatible = "qcom,mmcc-msm8996"; #clock-cells = <1>; From patchwork Mon Oct 1 06:21:51 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 147870 Delivered-To: patch@linaro.org Received: by 2002:a2e:8595:0:0:0:0:0 with SMTP id b21-v6csp3529868lji; Sun, 30 Sep 2018 23:22:46 -0700 (PDT) X-Google-Smtp-Source: ACcGV63fcXe8DBXv6f1jTnBTmR8S9W+TCaSPYnyVb5tsSF4/x8eRZRDFqHpn5o6xecGfJzQOM1hr X-Received: by 2002:a63:5c10:: with SMTP id q16-v6mr8773336pgb.452.1538374966463; Sun, 30 Sep 2018 23:22:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538374966; cv=none; d=google.com; s=arc-20160816; b=RHWBR/b12oEY7LLMU0quSzR0XOIC+QG0f89zqe0hck8LjQ9+rbscmjz072cC/CpLJh bX3cZ2Isdkc4aCEe9Jqfwn7jtl3z204krhNn0PtKikp/K8ZVWjEn66sudmTsdamtnAE4 0VtepN6kHMJiw9HqVrrD5QfvIOVM+DwAMuocB6zb6J6ZxrJwLZOvcq14JRFa0tQvYnZN xrdKVvECykvBb4vFNXgPLwvrYPxkAsakbtJgk8WDCmAtxMOSQ5SH4zbKsgWhLUFETOb5 hmnvyttWscA++gmPKvxINWRVIRMpZ7T3KD/9FMjyJqBJKJhP2A38Ze3YciLn/SktL2VJ rQ/A== 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=scdz+TkXXDFpEY2Iqn3eK9Cr845m1XrokBDVsmx/eYo=; b=wcoZFvImLevbNykE8yr/j7dPV5xHx/Bm0fbU5QfGSpZdDBmDmFGilqeRHpKKmrC31k lW51lJEAhSfEZn4ZQJFF+csaCqKZ2dlT0CMlqQG99cnYeP5jqPGbFyPGwLDzVDXFJ68H HIXke7jO19bKDx7Y0mF2D3r+04RkVg6jFyZDMMnrrRxx9IN0M24jqvcYUtV6QVax/ma8 btwPscOwSgL3C5KQbaLpDeiFeFK+NDo2JangT8iV9hd68MA1QlIB/EnhulXvj5U2K+2Z 6HhIRs0AfQNdSQ7C+I0lc5yenhJd+d37f6PnLHyVmJDcQLXjYjVFpYqVmlC0jo0wNSn7 eZZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=cqxu4Xo6; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 14-v6si11365289pgk.497.2018.09.30.23.22.46; Sun, 30 Sep 2018 23:22:46 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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=cqxu4Xo6; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 S1728861AbeJAM6w (ORCPT + 32 others); Mon, 1 Oct 2018 08:58:52 -0400 Received: from mail.kernel.org ([198.145.29.99]:53678 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728682AbeJAM6w (ORCPT ); Mon, 1 Oct 2018 08:58:52 -0400 Received: from localhost.localdomain (unknown [106.201.51.193]) (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 82DC52083C; Mon, 1 Oct 2018 06:22:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1538374964; bh=jAzCR10EvyD88VJFFwEPBGXnBKn1UFZk6zK3N+oFbfs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=cqxu4Xo69sUDCKvevodTNpRppLppHnHG4lT/9w/tAsURlezoFFD2XoqWgnvy2+yQx slDpndacnK0Kp5s8b6Z1q8Wh+XN39E84UFBPYvG4Je6JGBLWqFNHNQgMIvSK9JFSCW lLG5GtZxaF9j5PCwiA86AbYFC/ydHE2eojKggTvk= From: Vinod Koul To: Andy Gross , David Brown Cc: Vinod Koul , Rob Herring , Mark Rutland , linux-arm-msm@vger.kernel.org (open list:ARM/QUALCOMM SUPPORT), linux-soc@vger.kernel.org (open list:ARM/QUALCOMM SUPPORT), devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS), linux-kernel@vger.kernel.org (open list), Bjorn Andersson , Stanimir Varbanov Subject: [PATCH v6 2/2] arm64: dts: sdm845: add prng-ee node Date: Mon, 1 Oct 2018 11:51:51 +0530 Message-Id: <20181001062151.27607-3-vkoul@kernel.org> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20181001062151.27607-1-vkoul@kernel.org> References: <20181001062151.27607-1-vkoul@kernel.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org RNG hardware in SDM845 features (Execution Environment) EE for HLOS to use, add the node for prng-ee for sdm845. Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/sdm845.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) -- 2.14.4 diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi index 0c9a2aa6a1b5..9d8109761fe8 100644 --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi @@ -9,6 +9,7 @@ #include #include #include +#include / { interrupt-parent = <&intc>; @@ -997,6 +998,13 @@ cell-index = <0>; }; + rng: rng@793000 { + compatible = "qcom,prng-ee"; + reg = <0x00793000 0x1000>; + clocks = <&gcc GCC_PRNG_AHB_CLK>; + clock-names = "core"; + }; + apss_shared: mailbox@17990000 { compatible = "qcom,sdm845-apss-shared"; reg = <0x17990000 0x1000>;