From patchwork Sun May 31 17:27:54 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 188697 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=-9.3 required=3.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable 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 08141C433E0 for ; Sun, 31 May 2020 17:29:10 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id DE6822074B for ; Sun, 31 May 2020 17:29:09 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Psm3aF5+" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728277AbgEaR2T (ORCPT ); Sun, 31 May 2020 13:28:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34552 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728267AbgEaR2S (ORCPT ); Sun, 31 May 2020 13:28:18 -0400 Received: from mail-wm1-x341.google.com (mail-wm1-x341.google.com [IPv6:2a00:1450:4864:20::341]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E876BC061A0E; Sun, 31 May 2020 10:28:17 -0700 (PDT) Received: by mail-wm1-x341.google.com with SMTP id f185so9117251wmf.3; Sun, 31 May 2020 10:28:17 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=Jdx6TsJrr78HVKoX/umLdFIRRwm43Z8ByoSKAlhA/pw=; b=Psm3aF5+PLuu0RY7Ad+WOkHwPG5miLbeUn4omjTBF4OCQfvDU4trC0miMLRhHB6me0 ImBwL8S0gGpHzQBxj9ZYr5Jh3x7Tfk44FRA7bLSeUAQZBZLUP93359DoZ3T/Nt+5tS6C OCmud4pYuyekG8ay+gzfuSSc44Uakng1PZRUY6DA00HmKnQZ/GlTxwM082FOtiOvbOGa yMdCHrhmJOtcVzxKe9YhuMed6XA5O9+ChbLgwztdy8tcI2YnH7TbGNodoIeaCNAWdDey 8bZOA5u3mswhYxuiPNuuMoczgTHLSvXsWNUqqa+XKQFW6nIuSiTwxVYQa+kVXg9LQlh4 P07w== 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:mime-version:content-transfer-encoding; bh=Jdx6TsJrr78HVKoX/umLdFIRRwm43Z8ByoSKAlhA/pw=; b=FdvrzgLLnVBUZw5x6ULc9PF6F/B/HQ5WvNG42gyoNuBHzuhXpU/FPcozK8c4/AcDGG jUQap+Q+PVheDrP1/l91WZDU55ECdvuTiYfyiilr9JbxSh86XmjyTyMFOIYjGRy4t+gr teD2zoJbXmv1z4kh3h2/ppaxWUjuL8MmrTCQgr12gSI4BMA8LrX3e33vR7hYcxJiKazq 2QCcv4vQS6pz2kJ1U0qiZNs5VqhwHKQOnIiquZtz7Ja9SlsWFkezxT0Wvc8Q/et3C1y0 gJ5tVYbkr9TokojPsaU1+g1PrYEmUcpIm4PFLfUt3qMHZFi9codkldSE8qcBfeL5kPDp OrZQ== X-Gm-Message-State: AOAM533dFFF600UYc9o8M0Qf4LNIpmUKEw90HOs33MWHzeaHWKxcxAPp 2SSR/vcpncZm5HFqA19K8RiOG0qF X-Google-Smtp-Source: ABdhPJxU8pJROgdI37vs5ge7XfwMo9ayil++czWXq57Gkg22uo2GTXwqsNGqcGIJ0oD9IEonf4YBzA== X-Received: by 2002:a1c:1b17:: with SMTP id b23mr17708805wmb.3.1590946096626; Sun, 31 May 2020 10:28:16 -0700 (PDT) Received: from localhost.localdomain (abad130.neoplus.adsl.tpnet.pl. [83.6.167.130]) by smtp.googlemail.com with ESMTPSA id b81sm8922326wmc.5.2020.05.31.10.28.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 31 May 2020 10:28:16 -0700 (PDT) From: Konrad Dybcio Cc: Konrad Dybcio , Andy Gross , Bjorn Andersson , Rob Herring , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 04/14] firmware: qcom_scm: Add msm8992 compatible Date: Sun, 31 May 2020 19:27:54 +0200 Message-Id: <20200531172804.256335-5-konradybcio@gmail.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200531172804.256335-1-konradybcio@gmail.com> References: <20200531172804.256335-1-konradybcio@gmail.com> MIME-Version: 1.0 To: unlisted-recipients:; (no To-header on input) Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org This change adds a compatible for msm8992, which requires no additional clocks for scm to probe correctly. Signed-off-by: Konrad Dybcio --- drivers/firmware/qcom_scm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/firmware/qcom_scm.c b/drivers/firmware/qcom_scm.c index 059bb0fbae9e..4ee94c2ff5c0 100644 --- a/drivers/firmware/qcom_scm.c +++ b/drivers/firmware/qcom_scm.c @@ -1154,6 +1154,7 @@ static const struct of_device_id qcom_scm_dt_match[] = { SCM_HAS_IFACE_CLK | SCM_HAS_BUS_CLK) }, + { .compatible = "qcom,scm-msm8992" }, { .compatible = "qcom,scm-msm8996" }, { .compatible = "qcom,scm" }, {} From patchwork Sun May 31 17:27:55 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 188698 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=-9.3 required=3.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable 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 1003AC433E0 for ; Sun, 31 May 2020 17:29:08 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E7A9F2074B for ; Sun, 31 May 2020 17:29:07 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="PR00PZnt" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728485AbgEaR3A (ORCPT ); Sun, 31 May 2020 13:29:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34558 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728294AbgEaR2V (ORCPT ); Sun, 31 May 2020 13:28:21 -0400 Received: from mail-wm1-x331.google.com (mail-wm1-x331.google.com [IPv6:2a00:1450:4864:20::331]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 87D86C061A0E; Sun, 31 May 2020 10:28:19 -0700 (PDT) Received: by mail-wm1-x331.google.com with SMTP id r15so9090098wmh.5; Sun, 31 May 2020 10:28:19 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=p4A8aBj+ydqEYGpDzESaFp4wwr7TFlYPgSDxtAzGmNg=; b=PR00PZntrzH3T0Z4HnefBytfvizG2khY/yMJ81sWN0BH+mS8kge9eKUj8G6tVUIkwc GVr7NJU+sW9rmGlC2MAg+ar8Zp6Uba6cuiA2CtlhHjXU7/bpx0Asx1stQOP9PnmlH01b R+I8/iM7FIL9DCQAHJrsHt2POB+VbLXrJplltpMoZxO6cxDq6mOz/7GNBuO0q62DRPNR RANWelZusF6KnfHWWHLFhtOqxBbMBfkyH8QI0iWPUf3i1sYhQUl2AnLwqvCwS8c7afwf WfsQKqBlbI0AM8o0IIm9aalHBWB+YMGg+sEpLTmAQ2wxAlD6ZZ6j/290Trs0Hyfn7gXc X3Ig== 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:mime-version:content-transfer-encoding; bh=p4A8aBj+ydqEYGpDzESaFp4wwr7TFlYPgSDxtAzGmNg=; b=YQr/2ZVkAz38g+saXzF6bcBDbOxBJ71HKFqipNNnrz6vvzzxUHwga1T+X8xF5/CjxP PbElS1ToBiNFL3enYCaRXZRAx2WYkvqBTOVn0Bva84UohRxbOD5ZA0PaDDmKEzien3fd x+XU/PR5r/4DJ+YHuz/Grrk9Aqa9ltRWpj0jhQgcU3ZfWXFfhUvLckR0JkJFSbO8Hr4X u0fmbsxPg19fTpATXkSE+zTiJzEZOH5tGl7lZkMhVg9lsrEYLFbd5R2+3h0NSvW5Y5B2 2CqFu9dMd8CETHJlBG12ersTJ50+tUGhHgfWVNV2TWTXDJHMtK6q365PiuVX3eDHxSgD ZSzQ== X-Gm-Message-State: AOAM530PF68J60z5y/0Lnhioz24rM/dsEbW536GmJCBa7FZbizkjHqHZ T/Ll9JhLB0EfdXMoSAkeR4E= X-Google-Smtp-Source: ABdhPJzGjVJ0onmFs2HfjjgF2OxW+u5zV7Xt5+jVcya6fxE9qmcXvt+yNkOaL89I7mQz1jQojtV4JQ== X-Received: by 2002:a1c:6583:: with SMTP id z125mr18158972wmb.102.1590946098299; Sun, 31 May 2020 10:28:18 -0700 (PDT) Received: from localhost.localdomain (abad130.neoplus.adsl.tpnet.pl. [83.6.167.130]) by smtp.googlemail.com with ESMTPSA id b81sm8922326wmc.5.2020.05.31.10.28.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 31 May 2020 10:28:17 -0700 (PDT) From: Konrad Dybcio Cc: Konrad Dybcio , Andy Gross , Bjorn Andersson , Rob Herring , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 05/14] Documentation: Document msm8992 qcom_scm compatible Date: Sun, 31 May 2020 19:27:55 +0200 Message-Id: <20200531172804.256335-6-konradybcio@gmail.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200531172804.256335-1-konradybcio@gmail.com> References: <20200531172804.256335-1-konradybcio@gmail.com> MIME-Version: 1.0 To: unlisted-recipients:; (no To-header on input) Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Signed-off-by: Konrad Dybcio --- Documentation/devicetree/bindings/firmware/qcom,scm.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/firmware/qcom,scm.txt b/Documentation/devicetree/bindings/firmware/qcom,scm.txt index 354b448fc0c3..fd7e1aff9cdc 100644 --- a/Documentation/devicetree/bindings/firmware/qcom,scm.txt +++ b/Documentation/devicetree/bindings/firmware/qcom,scm.txt @@ -15,6 +15,7 @@ Required properties: * "qcom,scm-msm8916" * "qcom,scm-msm8960" * "qcom,scm-msm8974" + * "qcom,scm-msm8992" * "qcom,scm-msm8996" * "qcom,scm-msm8998" * "qcom,scm-sc7180" From patchwork Sun May 31 17:27:57 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 188699 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=-9.3 required=3.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable 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 43403C433E3 for ; Sun, 31 May 2020 17:28:55 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 270DD2074B for ; Sun, 31 May 2020 17:28:55 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="pTQGe52i" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728341AbgEaR20 (ORCPT ); Sun, 31 May 2020 13:28:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34570 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728336AbgEaR2X (ORCPT ); Sun, 31 May 2020 13:28:23 -0400 Received: from mail-wr1-x443.google.com (mail-wr1-x443.google.com [IPv6:2a00:1450:4864:20::443]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E4817C061A0E; Sun, 31 May 2020 10:28:22 -0700 (PDT) Received: by mail-wr1-x443.google.com with SMTP id j10so9135474wrw.8; Sun, 31 May 2020 10:28:22 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=M99xapCK77TQBGDLImzUxTVYpAgAInEST24y58JcXcA=; b=pTQGe52iccLG7iuo/QdTOa7D+OSDTDHynohwseKgP6zuT5GGjefq/G9YTk3Muh3aLR /06DEM1SdYvuMPLyrfM51goynX8HBbjma+kho1q/OvrIz8AbQK4dNKQPyTAKwuEJU6qB LcNcT7kx8laEIxwIVa6+kJ/D/9KD7b7j7HJStNOGHsjEQ6rUg4M5obdq+7EWHloARsOi 3y1H7H/YbrNguxcXb3w2NiKag6RiavOMauR4EISjjjunwVjvBPnm64goiRQ4ecE2Ogyh J8VVX0JmJwLc2Fw1AO3okeTOKJ67Hr/O8QlwzXGh4PMoIogRh9xNO5pMFfqUFijNDulc tLEw== 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:mime-version:content-transfer-encoding; bh=M99xapCK77TQBGDLImzUxTVYpAgAInEST24y58JcXcA=; b=mTvaeH2oXlhwtC6eUymJYFolKMtNERml2eonqdLij7iAQkdH49fDZ+9ARpIaDhs19y nEKilWNH3edFOerdQSiuL8k7yH5vC2BYGFQZS3iF2r1t6LQafvoWfo0NYVDocTDdXIr3 vvbvkmI0NDRTgp7vjjZ/A2CsMHWfDluAE8AtkDvvCxJ8LgeTBxAW8/fQ0K4WrCq9URM7 eA2GBidjnYbwVUy+v8pfChXR3hlzS+EFewUkrcQBbQE5GjIzaAfVYMBCLkqlvYIzDHp1 olP/rkRpkitMtF+kS1Ak4lnP0kjOgk76LiQwO4nVuT8z3bJS2fsJ4zrnSHFhZeytD8LR 1/Iw== X-Gm-Message-State: AOAM531RUflly5zu+z66n7KMLxRULNK3ZdaJkGYx1ShGBcthGbWkNEBE HMSV+NyJhsMxNclsRdE4dAM= X-Google-Smtp-Source: ABdhPJx7uu2tMxuFo0q87vDz7F6CQ24nwBj9mCqRHFhigMvaEAX8XQSlUms2UKLUhU1jSFLfkd88Hw== X-Received: by 2002:adf:c98a:: with SMTP id f10mr6677167wrh.329.1590946101663; Sun, 31 May 2020 10:28:21 -0700 (PDT) Received: from localhost.localdomain (abad130.neoplus.adsl.tpnet.pl. [83.6.167.130]) by smtp.googlemail.com with ESMTPSA id b81sm8922326wmc.5.2020.05.31.10.28.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 31 May 2020 10:28:21 -0700 (PDT) From: Konrad Dybcio Cc: Konrad Dybcio , Andy Gross , Bjorn Andersson , Rob Herring , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 07/14] arm64: dts: msm8992: Add BLSP2 UART2 node Date: Sun, 31 May 2020 19:27:57 +0200 Message-Id: <20200531172804.256335-8-konradybcio@gmail.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200531172804.256335-1-konradybcio@gmail.com> References: <20200531172804.256335-1-konradybcio@gmail.com> MIME-Version: 1.0 To: unlisted-recipients:; (no To-header on input) Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org This commit enables the usage of a second UART interface. Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/msm8992.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8992.dtsi b/arch/arm64/boot/dts/qcom/msm8992.dtsi index 8f7cdf2b9a1f..ff745905525c 100644 --- a/arch/arm64/boot/dts/qcom/msm8992.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8992.dtsi @@ -279,6 +279,16 @@ blsp1_uart2: serial@f991e000 { <&clock_gcc GCC_BLSP1_AHB_CLK>; }; + blsp2_uart2: serial@f995e000 { + compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm"; + reg = <0xf995e000 0x1000>; + interrupt = ; + status = "disabled"; + clock-names = "core", "iface"; + clocks = <&gcc GCC_BLSP2_UART2_APPS_CLK>, + <&gcc GCC_BLSP2_AHB_CLK>; + }; + clock_gcc: clock-controller@fc400000 { compatible = "qcom,gcc-msm8994"; #clock-cells = <1>; From patchwork Sun May 31 17:28:00 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 188700 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=-9.3 required=3.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable 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 E8C73C433E1 for ; Sun, 31 May 2020 17:28:52 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id CBCD5206E2 for ; Sun, 31 May 2020 17:28:52 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="OaxfQOx3" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728373AbgEaR2b (ORCPT ); Sun, 31 May 2020 13:28:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34588 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728363AbgEaR23 (ORCPT ); Sun, 31 May 2020 13:28:29 -0400 Received: from mail-wm1-x342.google.com (mail-wm1-x342.google.com [IPv6:2a00:1450:4864:20::342]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 04F78C061A0E; Sun, 31 May 2020 10:28:28 -0700 (PDT) Received: by mail-wm1-x342.google.com with SMTP id f5so9119783wmh.2; Sun, 31 May 2020 10:28:27 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=AmiVeCrlvBozr1mRsIgPlt1KZ72GAvwSr6GerYoq+fg=; b=OaxfQOx387pLNL1H0OSG417JXinckGQlSuFe+s0CR0s+gHvtJIkyGP6yVVtEE8bs45 BreIYi2z9eFKy0zCKtn5RxwLOb9o8j1tXbgHH6G89qG9BZDPRku570E1T1SNrIU4CmBO VfHWPduqZpk9GbeF5QT6yBQnzKrFVcmLcUBEggi6BYS7bQYHa19FNPaAelv1fdykmlkb Awz018bFFwKIiPZEF7oZ0W14FPu2M+ld5MINZOwFfyAOoKcZNZNKpqaabzTLlvmxaowd GjrWHhTSuf4zn0yXpYgC0d/0286eosOq6k4Iw4b1SeHwaFLeWZ9NxcwpBjshjO2vXJAy P+6Q== 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:mime-version:content-transfer-encoding; bh=AmiVeCrlvBozr1mRsIgPlt1KZ72GAvwSr6GerYoq+fg=; b=IG34uPVQKCatTp8HZpX3xchpp1N1RNmDG3/aBrUAiSir6C+HfCkj8auWgabmsZEpBi vDzc1N7FWt1m8rQvukK5RPRXIgsirx5PqxF8pfJLP7kAY2fC9lrvtPDytlPm3fbzHuAM djN97pL3pg82VuA5UXTrhmELNpf97tl5J0wGHSTvDAbb/SNP/wM73g9T8IgypeVZcPyE DlLi0CPavdSCaYkW1f7hWQmROOC2dV9Tjx0VIs3IsAkVXMQnUSS+n9KZXOAhnHifEDvw G4FAat9lzukfybAvtFGuUXVLnWyFCvA8eXLvHEVUyBZ7i53eGc7lNDrA1pZKbfYktbz3 yPEg== X-Gm-Message-State: AOAM532p8Q66+AtRRw2HkElzKKRKzVoKo2GIvECYCeAwC2rDyDgkZW4d gL6+OuV+9xYoC7GCCOqkZHQ= X-Google-Smtp-Source: ABdhPJyWbPvNdO1s9IosFQGiJ+PCFLgMZ9+mTEpvgwb4kD7BIR6opKm7nviya5q0Y/SnvO4KkFB37g== X-Received: by 2002:a1c:3bc2:: with SMTP id i185mr1673379wma.33.1590946106751; Sun, 31 May 2020 10:28:26 -0700 (PDT) Received: from localhost.localdomain (abad130.neoplus.adsl.tpnet.pl. [83.6.167.130]) by smtp.googlemail.com with ESMTPSA id b81sm8922326wmc.5.2020.05.31.10.28.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 31 May 2020 10:28:26 -0700 (PDT) From: Konrad Dybcio Cc: Konrad Dybcio , Andy Gross , Bjorn Andersson , Rob Herring , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 10/14] arm64: dts: msm8992: Add PMU node Date: Sun, 31 May 2020 19:28:00 +0200 Message-Id: <20200531172804.256335-11-konradybcio@gmail.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200531172804.256335-1-konradybcio@gmail.com> References: <20200531172804.256335-1-konradybcio@gmail.com> MIME-Version: 1.0 To: unlisted-recipients:; (no To-header on input) Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Add the PMU so we can get proper perf event support on this SoC. Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/msm8992.dtsi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8992.dtsi b/arch/arm64/boot/dts/qcom/msm8992.dtsi index ef95f5ee83db..b86fcfb6f463 100644 --- a/arch/arm64/boot/dts/qcom/msm8992.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8992.dtsi @@ -381,6 +381,11 @@ smem_region: smem@6a00000 { }; }; + pmu { + compatible = "arm,cortex-a53-pmu"; + interrupts = ; + }; + smd_rpm: smd { compatible = "qcom,smd"; rpm { From patchwork Sun May 31 17:28:01 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 188702 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=-9.3 required=3.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, 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 0B4F1C433DF for ; Sun, 31 May 2020 17:28:33 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E3B3E2074B for ; Sun, 31 May 2020 17:28:32 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="SoscmX/8" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728377AbgEaR2c (ORCPT ); Sun, 31 May 2020 13:28:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34596 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728337AbgEaR2b (ORCPT ); Sun, 31 May 2020 13:28:31 -0400 Received: from mail-wm1-x342.google.com (mail-wm1-x342.google.com [IPv6:2a00:1450:4864:20::342]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 905A2C05BD43; Sun, 31 May 2020 10:28:29 -0700 (PDT) Received: by mail-wm1-x342.google.com with SMTP id j198so10497404wmj.0; Sun, 31 May 2020 10:28:29 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=LNjqJIcwvJ40HHGrWb5z7DmuyYRT8Gwg/AB7gmiMdwo=; b=SoscmX/8ekqhTQfQXyEcMfGjBz3OdtU9lVs3DnuoWzahRzIiyfeKWWaxucFkCdIB1G EhNZorDa05vEtvC+4tLBWMYYPwW9r7Gm2Xs83ps6nFSgnmai47I62++XKl+42BSMnw85 cwtVDCkVq3tkdH8pevf7qmJbW/zIr3qX5m3hNT35b9tJOabZIiIdFQhv1FoITBh+8fXL uHhNt80BULPqsHywGdQ3fSLOC8u046Ax3BNK1LmqnhYUrGqrXCtqks/if+YJH1cUieKX cLkxZo8htMqObr/xbP6JkEDPrDz67C2AQbWKvrmixCJw7VFPhHWhtD/8hEekPiqnB88U CP6A== 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:mime-version:content-transfer-encoding; bh=LNjqJIcwvJ40HHGrWb5z7DmuyYRT8Gwg/AB7gmiMdwo=; b=d89yv1IZNTbITIPeQF8jIgIk0eTpSwVgiSBmqjkDWrbTibt9uhCnwFgis6yujcuWnK PWWWlrrEA7rHgwPZIYf8U1gaWCaFi5nI9G4D1QhyCbnaP0/e3surKIvuBZCmVzhU5keF yyADlYmkiUCSPhcdmfSZhrTm06JLJ5hOlkKmV1QDcy5cUA9SPAI15XdgAjyVzrFWLDVL dP3+LwgAtlCvb19c2CFCo4st0VdDR3QhpvYPWvdqxXp33DXIDyP+w+uG4WHqJJs82aJ4 ATQc13z8fU+C+By6Vzs5d7aMuWapql0TmCVnczIuuCxIWRwCUuv0EtKvfDzz0rYSk0gO pe5g== X-Gm-Message-State: AOAM533eNYfo0jRMtQp0T+rPHQFBUuSB1lzq8Bp2pUpEci1XdFTQN96a 6vAgOG5wtWxz+d54bRsHTAk= X-Google-Smtp-Source: ABdhPJzLhTzzBOdoc383NMgKDy7M9Wiz4WFgvveFblJfIVzVeBl2Wpza7Q2CsHnCW5kFWVW11smGMw== X-Received: by 2002:a05:600c:34e:: with SMTP id u14mr18188832wmd.16.1590946108381; Sun, 31 May 2020 10:28:28 -0700 (PDT) Received: from localhost.localdomain (abad130.neoplus.adsl.tpnet.pl. [83.6.167.130]) by smtp.googlemail.com with ESMTPSA id b81sm8922326wmc.5.2020.05.31.10.28.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 31 May 2020 10:28:28 -0700 (PDT) From: Konrad Dybcio Cc: Konrad Dybcio , Andy Gross , Bjorn Andersson , Rob Herring , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 11/14] arm64: dts: msm8992: Add PSCI support. Date: Sun, 31 May 2020 19:28:01 +0200 Message-Id: <20200531172804.256335-12-konradybcio@gmail.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200531172804.256335-1-konradybcio@gmail.com> References: <20200531172804.256335-1-konradybcio@gmail.com> MIME-Version: 1.0 To: unlisted-recipients:; (no To-header on input) Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org This SoC's firmware does not fully support the PSCI spec, but it's good enough to bring the cores up. Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/msm8992.dtsi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8992.dtsi b/arch/arm64/boot/dts/qcom/msm8992.dtsi index b86fcfb6f463..e7354826d701 100644 --- a/arch/arm64/boot/dts/qcom/msm8992.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8992.dtsi @@ -386,6 +386,11 @@ pmu { interrupts = ; }; + psci { + compatible = "arm,psci-0.2"; + method = "hvc"; + }; + smd_rpm: smd { compatible = "qcom,smd"; rpm { From patchwork Sun May 31 17:28:04 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 188701 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=-9.3 required=3.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable 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 57995C433DF for ; Sun, 31 May 2020 17:28:46 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 35B7F21475 for ; Sun, 31 May 2020 17:28:46 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="hbDjGJBq" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728409AbgEaR2g (ORCPT ); Sun, 31 May 2020 13:28:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34614 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728402AbgEaR2f (ORCPT ); Sun, 31 May 2020 13:28:35 -0400 Received: from mail-wm1-x343.google.com (mail-wm1-x343.google.com [IPv6:2a00:1450:4864:20::343]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D247CC061A0E; Sun, 31 May 2020 10:28:34 -0700 (PDT) Received: by mail-wm1-x343.google.com with SMTP id k26so9115224wmi.4; Sun, 31 May 2020 10:28:34 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=ebqlPcl+XNjJOe5h+TEWkSB/DDD6wLCqevkiNxwyrgo=; b=hbDjGJBq6N4FgliI+Xs5w6z3P9mHi4Q8Qmzwdc54xC1ECzD7wKXMvL6Hv0DMayWXcj Y/9gYahtEcvXSaehRVE9jP7eKCk9Qh7hdzlPfE8xlGveGdJOW2sleml/HxjG8fnouMDC zMZ4e18dX29WrL4CHRj4DqifEfhtT7YfArP3EHnAZPxdaOXdrFBNbZcvEpJ5RmGGSsk5 RVJUXAtvw6Hnyq8KF4YuHMlLHuhexwHvpmrjpCjLfA5m7WsqD4dMyj504AhGThEL0j4S ZdbCqbDqG7DjR482pQ7bXFaxj5aTuPysw0aCpUxf0/GUsRBeZcqtYkvncVRLwNm5w47m J7Hw== 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:mime-version:content-transfer-encoding; bh=ebqlPcl+XNjJOe5h+TEWkSB/DDD6wLCqevkiNxwyrgo=; b=Ha+CLfnvqJVLjLVP4V0NAYZpevoSJVU7bqqo/VOwBZInQPtelZz4VY3llrMapC0ZUO cV3Oo8gEqfBrRWIbIj1/BePEnABNZH2gbVk6/6wWsNoT0J3EfzzirTbnW3Baf8w4IpHk cwC+I3RYw8u57GVcNPnZ8ngJdH2MGhF4+qFC2eIUg6+tOeBExxXxN0eW9+WqIC9aKDY8 ITlGt+p9Em4zLpIfJ/ZHyMi6Mk+C2ln5Sjr9Th1lDq7sLsUHk4Ac4umMqcRlywP3NW0N rsukAKWJYGzSAcsbIuUeW2CmwdH4Ps0P5HkUacamfJ/hYJKyYKZh4r9UkZVQB8U8v6QI cEkQ== X-Gm-Message-State: AOAM532o4tbTx+ra4pWcgvUAVGdgkWbP5JcHmI6OQpZWYrbGMJk3o9Se 1pV7UhnjNfCy0Wv0P/nnJd8X79d6 X-Google-Smtp-Source: ABdhPJzlcaH71IAUa4X8DVuSN8cyFvPl02gWD90+HYXiXd4Lk2T6WOIF2NfaAR/BtboMH6bAN6LYZQ== X-Received: by 2002:a1c:de46:: with SMTP id v67mr17863171wmg.146.1590946113571; Sun, 31 May 2020 10:28:33 -0700 (PDT) Received: from localhost.localdomain (abad130.neoplus.adsl.tpnet.pl. [83.6.167.130]) by smtp.googlemail.com with ESMTPSA id b81sm8922326wmc.5.2020.05.31.10.28.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 31 May 2020 10:28:33 -0700 (PDT) From: Konrad Dybcio Cc: Konrad Dybcio , Andy Gross , Bjorn Andersson , Rob Herring , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 14/14] arm64: dts: qcom: Add a label to the msm8992 rpm-requests node Date: Sun, 31 May 2020 19:28:04 +0200 Message-Id: <20200531172804.256335-15-konradybcio@gmail.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200531172804.256335-1-konradybcio@gmail.com> References: <20200531172804.256335-1-konradybcio@gmail.com> MIME-Version: 1.0 To: unlisted-recipients:; (no To-header on input) Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org This enables the node to be referenced in other device trees. Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/msm8992.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/msm8992.dtsi b/arch/arm64/boot/dts/qcom/msm8992.dtsi index b5bd73205a55..81fed16fcee6 100644 --- a/arch/arm64/boot/dts/qcom/msm8992.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8992.dtsi @@ -401,7 +401,7 @@ rpm { qcom,local-pid = <0>; qcom,remote-pid = <6>; - rpm-requests { + rpm_requests: rpm-requests { compatible = "qcom,rpm-msm8994"; qcom,smd-channels = "rpm_requests";