From patchwork Tue Jun 23 22:48: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: 194583 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=-10.1 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,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 4FD5CC433E0 for ; Tue, 23 Jun 2020 22:48:30 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 26D232078E for ; Tue, 23 Jun 2020 22:48:30 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="SqVFMMKZ" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388749AbgFWWs2 (ORCPT ); Tue, 23 Jun 2020 18:48:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46938 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388728AbgFWWsX (ORCPT ); Tue, 23 Jun 2020 18:48:23 -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 761ABC061795; Tue, 23 Jun 2020 15:48:23 -0700 (PDT) Received: by mail-wm1-x341.google.com with SMTP id q15so364491wmj.2; Tue, 23 Jun 2020 15:48:23 -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=JFIVAxYllJjFUIQOOKJqCr+RrdTNoBfoRruJGm+HL/s=; b=SqVFMMKZXa8G0Y3iLXVKmA2d5h+XkiARcFpD6xkuCLd0+r5fduG06pXrOT5GGvIw/9 jjrMaZJ1Z3HUapP0stciaZVBu/2m8vDj5H4OO9iHo6YcR1Q5nHZEN0OzQ53HbpmxvdZB JKIjEkDw/7CGRRxmimy+Rol2htoXRNhnfsfEsIbxxBm0kawo/jTSg6rSkYasN3hDS6/X tnbivBIDH/CKdU/9q9utct7tHJ6FW9voXIgI9w910NdBGzFFQONIUG/4bCGDhiQjNqFA yQQUW5TyjhXJc6yWvLiaFegEM9l87m5q+SUc00JDdV8f3B7KmIwoCLVa+vEPjKpnopZE tTsw== 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=JFIVAxYllJjFUIQOOKJqCr+RrdTNoBfoRruJGm+HL/s=; b=BrMLe7fOaZiNCQcG89Pnz+oeyQNpoIrFQNDL5BV26ossiduwy76GM4tdFZY0LYAU70 YgCpVs9xTSomfctqk6/Vfy7SiYOyfBd0ODiadrWJ7jkWKdEt99YTwbj2se3mmUE/nDlW rSl4KKkaQKVUILFk25YNLexXTVLh8HZKDPYwUDsRcl/TFGPVKq6x6D3zWdP88AvDiogf 5ST4q6EwU9NoZwHeg47ChyE7KlehOcPvKr+uusuIrDCCKsQCc2ob3re3PgP5iEpF2nb0 nviKUKVf0H/odxLL7bB/2F1/MwI3hwQ7lIf2Xgaz8PYtkTca6U2BQVyZhysFknmueMSO 9cew== X-Gm-Message-State: AOAM531TNp4Gdkz1cQrAsa39UUTPcZk5G1Pf7I0+v6s1gv2pTv3vNMvi mQMXM84+3DNB11f1fHC4U7I= X-Google-Smtp-Source: ABdhPJwnR0juuMjlsm0VqeqsUAZs7xb+4Cm9vbK/tEMqGnbJTn7HnXxJXrZkoKUlt/f1WAiJV4lTKw== X-Received: by 2002:a1c:48d:: with SMTP id 135mr6939735wme.102.1592952502235; Tue, 23 Jun 2020 15:48:22 -0700 (PDT) Received: from localhost.localdomain (abag196.neoplus.adsl.tpnet.pl. [83.6.170.196]) by smtp.googlemail.com with ESMTPSA id g144sm5671179wme.2.2020.06.23.15.48.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Jun 2020 15:48:21 -0700 (PDT) From: Konrad Dybcio To: skrzynka@konradybcio.pl Cc: Konrad Dybcio , Andy Gross , Bjorn Andersson , Rob Herring , Kees Cook , Anton Vorontsov , Colin Cross , Tony Luck , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 02/12] arm64: dts: qcom: msm8994: Add SPMI PMIC arbiter device Date: Wed, 24 Jun 2020 00:48:01 +0200 Message-Id: <20200623224813.297077-3-konradybcio@gmail.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200623224813.297077-1-konradybcio@gmail.com> References: <20200623224813.297077-1-konradybcio@gmail.com> MIME-Version: 1.0 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Add SPMI PMIC arbiter device to communicate with PMICs attached to SPMI bus. Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/msm8994.dtsi | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8994.dtsi b/arch/arm64/boot/dts/qcom/msm8994.dtsi index 79e6e46798c8..23e50c30669b 100644 --- a/arch/arm64/boot/dts/qcom/msm8994.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8994.dtsi @@ -169,6 +169,22 @@ restart@fc4ab000 { reg = <0xfc4ab000 0x4>; }; + spmi_bus: spmi@fc4c0000 { + compatible = "qcom,spmi-pmic-arb"; + reg = <0xfc4cf000 0x1000>, + <0xfc4cb000 0x1000>, + <0xfc4ca000 0x1000>; + reg-names = "core", "intr", "cnfg"; + interrupt-names = "periph_irq"; + interrupts = ; + qcom,ee = <0>; + qcom,channel = <0>; + #address-cells = <2>; + #size-cells = <0>; + interrupt-controller; + #interrupt-cells = <4>; + }; + tcsr_mutex_regs: syscon@fd484000 { compatible = "syscon"; reg = <0xfd484000 0x2000>; From patchwork Tue Jun 23 22:48:02 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 194578 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=-10.1 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,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 A4A75C433E0 for ; Tue, 23 Jun 2020 22:49:40 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 7953F2078A for ; Tue, 23 Jun 2020 22:49:40 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="RvFA4Qkq" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389328AbgFWWth (ORCPT ); Tue, 23 Jun 2020 18:49:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46946 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388735AbgFWWs0 (ORCPT ); Tue, 23 Jun 2020 18:48:26 -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 3775AC061795; Tue, 23 Jun 2020 15:48:26 -0700 (PDT) Received: by mail-wr1-x443.google.com with SMTP id a6so264602wrm.4; Tue, 23 Jun 2020 15:48:26 -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=l20ghDaBITcWUJdBjFantj3la1r6idQ6rjpXrXpW8d0=; b=RvFA4QkqTNG0dxdYdv6lQRlfayAkQ8HyDjjrl/3ISJuwAYmKaudQL5JQWApkekFh/N BZ1mXfGbcY3HjYOP8NsYDUnamfoE/A0T8lBWNlVsIIf4zFbzbU6zayYZCzEt+5Qfpy49 Elal8nPLSKcMnrnD35LxMv4WpdLf2zNe16fDiD+GzjSvS0lhNVrWOfgjeL7ae5rQdgXL TavZOtXUk8unm9EXxZSlRxpUVi76RF7qFzVlHZ76VocXIj0KcF2JS1C7hvuCqSYrfrcd aExtPXQJCkmLu9MU2BFRqfyNuJOUaProlMsbt1lO5Xqa8OT/wz8keNOHTzF0kKk+WzT/ CWhg== 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=l20ghDaBITcWUJdBjFantj3la1r6idQ6rjpXrXpW8d0=; b=J9bV9BQFRYXM7GHhx/cRPd1rBAkZyzMlf1743PeU9TX204C5MBd3yNKhrOEz5VS0cq 86bQe7f3abBaFdcPTJddvYnzt9hMHitZ1eGuUu+bcIy4VJCqQHM9y44b+AKwfHWJ0lFT mSghHO0ZlunOjPhrXBf1TgssMUKQW3MuxR3IT5yhN7EQrqOuY1xbHnb4znRMjcJm4lyW DcZdAul3fvbRAE6/KsrzZQB+LkbVM1AgvocJIWbL2IHzWXwC8XtGfHETdtRBjsSaWA8K HZpUi+IuPAYPCrm7ATbyfDUkeZKpRlnErhXqlGgsnaAepQkEOxsgCFIiV/QZnWxACYUz epQw== X-Gm-Message-State: AOAM531Bde80YQx3btIDnv5agaTD+n4muThxJHmjk6RYZndQtpfbnsT3 of0wDReL+lbjCJALVwFXVEs= X-Google-Smtp-Source: ABdhPJySH3tmQbbmZq5YUNPFZUGN1wGTVYZXEp4zoRr4SmpAXJD1aXVMQQeB/UzGRvYv2TnkUWiUpQ== X-Received: by 2002:adf:828b:: with SMTP id 11mr29481518wrc.58.1592952504987; Tue, 23 Jun 2020 15:48:24 -0700 (PDT) Received: from localhost.localdomain (abag196.neoplus.adsl.tpnet.pl. [83.6.170.196]) by smtp.googlemail.com with ESMTPSA id g144sm5671179wme.2.2020.06.23.15.48.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Jun 2020 15:48:24 -0700 (PDT) From: Konrad Dybcio To: skrzynka@konradybcio.pl Cc: Konrad Dybcio , Andy Gross , Bjorn Andersson , Rob Herring , Kees Cook , Anton Vorontsov , Colin Cross , Tony Luck , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 03/12] arm64: dts: qcom: msm8994: Add a proper CPU map Date: Wed, 24 Jun 2020 00:48:02 +0200 Message-Id: <20200623224813.297077-4-konradybcio@gmail.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200623224813.297077-1-konradybcio@gmail.com> References: <20200623224813.297077-1-konradybcio@gmail.com> MIME-Version: 1.0 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Add a proper CPU map to enable the use of all 8 cores. Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/msm8994.dtsi | 112 +++++++++++++++++++++++--- 1 file changed, 102 insertions(+), 10 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/msm8994.dtsi b/arch/arm64/boot/dts/qcom/msm8994.dtsi index 23e50c30669b..e7f4b06eb12c 100644 --- a/arch/arm64/boot/dts/qcom/msm8994.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8994.dtsi @@ -28,24 +28,116 @@ sleep_clk: sleep_clk { }; cpus { - #address-cells = <1>; + #address-cells = <2>; #size-cells = <0>; + + CPU0: cpu@0 { + device_type = "cpu"; + compatible = "arm,cortex-a53"; + reg = <0x0 0x0>; + enable-method = "psci"; + next-level-cache = <&L2_0>; + L2_0: l2-cache { + compatible = "cache"; + cache-level = <2>; + }; + }; + + CPU1: cpu@1 { + device_type = "cpu"; + compatible = "arm,cortex-a53"; + reg = <0x0 0x1>; + enable-method = "psci"; + next-level-cache = <&L2_0>; + }; + + CPU2: cpu@2 { + device_type = "cpu"; + compatible = "arm,cortex-a53"; + reg = <0x0 0x2>; + enable-method = "psci"; + next-level-cache = <&L2_0>; + }; + + CPU3: cpu@3 { + device_type = "cpu"; + compatible = "arm,cortex-a53"; + reg = <0x0 0x3>; + enable-method = "psci"; + next-level-cache = <&L2_0>; + }; + + CPU4: cpu@100 { + device_type = "cpu"; + compatible = "arm,cortex-a57"; + reg = <0x0 0x100>; + enable-method = "psci"; + next-level-cache = <&L2_1>; + L2_1: l2-cache { + compatible = "cache"; + cache-level = <2>; + }; + }; + + CPU5: cpu@101 { + device_type = "cpu"; + compatible = "arm,cortex-a57"; + reg = <0x0 0x101>; + enable-method = "psci"; + next-level-cache = <&L2_1>; + }; + + CPU6: cpu@102 { + device_type = "cpu"; + compatible = "arm,cortex-a57"; + reg = <0x0 0x101>; + enable-method = "psci"; + next-level-cache = <&L2_1>; + }; + + CPU7: cpu@103 { + device_type = "cpu"; + compatible = "arm,cortex-a57"; + reg = <0x0 0x101>; + enable-method = "psci"; + next-level-cache = <&L2_1>; + }; + cpu-map { cluster0 { core0 { cpu = <&CPU0>; }; + + core1 { + cpu = <&CPU1>; + }; + + core2 { + cpu = <&CPU2>; + }; + + core3 { + cpu = <&CPU3>; + }; }; - }; - CPU0: cpu@0 { - device_type = "cpu"; - compatible = "arm,cortex-a53"; - reg = <0x0>; - next-level-cache = <&L2_0>; - L2_0: l2-cache { - compatible = "cache"; - cache-level = <2>; + cluster1 { + core0 { + cpu = <&CPU4>; + }; + + core1 { + cpu = <&CPU5>; + }; + + core2 { + cpu = <&CPU6>; + }; + + core3 { + cpu = <&CPU7>; + }; }; }; }; From patchwork Tue Jun 23 22:48:05 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 194582 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=-10.1 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,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 C5C5CC433E0 for ; Tue, 23 Jun 2020 22:48:40 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A32222078E for ; Tue, 23 Jun 2020 22:48:40 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Vdu3LynR" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388834AbgFWWsi (ORCPT ); Tue, 23 Jun 2020 18:48:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46972 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388806AbgFWWse (ORCPT ); Tue, 23 Jun 2020 18:48:34 -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 914E3C061796; Tue, 23 Jun 2020 15:48:34 -0700 (PDT) Received: by mail-wm1-x342.google.com with SMTP id g75so352324wme.5; Tue, 23 Jun 2020 15:48: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=6ZeWSgHa0mxwXsK/LO1CPNj7HNd9ZLAV4Wg1yjgbjbM=; b=Vdu3LynR3Fn0cNEwwsmPb2T5tZm3RX5EfJgAeZbKtUTiQEJgPm+82RM0RjJ96wGwSO q1fuhPxDABu8z/R26X1H3EPZWA/7kNtMM+4eMiiJBgxVb7Wt38r1+Vqf0Wec/nLGT0aj QZcrSOFiNvXh1ddpQDgfCRH7/uxg6mGYqLCF3zuJfgZfW7qyDBnmI+4SRiXsy0hk92sB kDlq8o4Ayasd7ycOF0/dLoRRV20VddaH2qCnIBr8FkEVCXpXXbvDdjZuDMnkyQZsSfg9 xMbC3ao5Y+0fyRyvBxjp3WiQtdgmwE7+IZLiD/ukGa1lkDdUwydZe2aUvBzezkT96XR9 3dyw== 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=6ZeWSgHa0mxwXsK/LO1CPNj7HNd9ZLAV4Wg1yjgbjbM=; b=YMn1r5Z9FxtdiHxdVzpcIFzkWkwV1EjmKiKIwnABiRtYbnrZIIrFu/kzNNT7N7QTjJ Gel4cDcbRPTNzPe2Nu4c0AOIXYs2K83su+/S/3+VfVKiJeLu9DXtXff9+zWGJZ+0AFxd FcRp1RP3UqqzfWaoJLKagsdn4EqdaxbTBT6N7Hs0xcWqYFe726pwy1EfLfFXWA/55IPI zN/JFlOciIoFFeTZ+2E72kTAlSzc6PdIs1kI3/Ygvi3dyb6rkgQbtVwkdxHz8bLbUo7G Zz8kQsaNwS+5Ahygq0hoAMoFuoCe6ZzvnZxZXJuv0VTd7b6YANnU/4OU4Uuy+/NkbU6O 3XuA== X-Gm-Message-State: AOAM533Ct6o5cZzhiJyM/eqSiK/xABJK0BfKpdq9q8Qo1KYBUF6DywGY Tt5vLzCj04exg1mFoFhHFFs= X-Google-Smtp-Source: ABdhPJxo+GFsN4ILeQa4HMVKKl98MYgYO30vjn/GMb7KY4tRDgpmfbAXwTc6XeV4eEeiBLdQ7gKfGg== X-Received: by 2002:a1c:ed17:: with SMTP id l23mr27897964wmh.73.1592952513350; Tue, 23 Jun 2020 15:48:33 -0700 (PDT) Received: from localhost.localdomain (abag196.neoplus.adsl.tpnet.pl. [83.6.170.196]) by smtp.googlemail.com with ESMTPSA id g144sm5671179wme.2.2020.06.23.15.48.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Jun 2020 15:48:33 -0700 (PDT) From: Konrad Dybcio To: skrzynka@konradybcio.pl Cc: Konrad Dybcio , Andy Gross , Bjorn Andersson , Rob Herring , Kees Cook , Anton Vorontsov , Colin Cross , Tony Luck , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 06/12] arm64: dts: qcom: msm8994: Add SCM node Date: Wed, 24 Jun 2020 00:48:05 +0200 Message-Id: <20200623224813.297077-7-konradybcio@gmail.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200623224813.297077-1-konradybcio@gmail.com> References: <20200623224813.297077-1-konradybcio@gmail.com> MIME-Version: 1.0 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 --- arch/arm64/boot/dts/qcom/msm8994.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8994.dtsi b/arch/arm64/boot/dts/qcom/msm8994.dtsi index f989530ffa90..838ffc0d9c16 100644 --- a/arch/arm64/boot/dts/qcom/msm8994.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8994.dtsi @@ -142,6 +142,12 @@ core3 { }; }; + firmware { + scm { + compatible = "qcom,scm-msm8992"; + }; + }; + memory { device_type = "memory"; /* We expect the bootloader to fill in the reg */ From patchwork Tue Jun 23 22:48:06 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 194579 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=-10.1 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,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 45FD6C433DF for ; Tue, 23 Jun 2020 22:49:23 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 196E92078A for ; Tue, 23 Jun 2020 22:49:23 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="dEJ8wcKT" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387767AbgFWWtV (ORCPT ); Tue, 23 Jun 2020 18:49:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46982 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388728AbgFWWsh (ORCPT ); Tue, 23 Jun 2020 18:48:37 -0400 Received: from mail-wm1-x32b.google.com (mail-wm1-x32b.google.com [IPv6:2a00:1450:4864:20::32b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7D04FC061795; Tue, 23 Jun 2020 15:48:37 -0700 (PDT) Received: by mail-wm1-x32b.google.com with SMTP id a6so3193574wmm.0; Tue, 23 Jun 2020 15:48:37 -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=lKyd8F2W1xHCpDv119KWmbZLzq20FtmSKAwayKh93KY=; b=dEJ8wcKTV7PR2hoKmCsjF3tiiWrxgfN/Hw6k65qYJhN94eqwF6RBCaLwCi93ya5E18 h9OrHv7Rw0CwUKVMtH/wGJZlhPftuJ36zbmLrIx/4bvJqAhMQsrWGPlKZm4/u/XtDbSK 4mI92CMoygq7fbv3xvohHoI8kpG+TQG7q/0dRP+BuyoYPSiXRIShEIgM63r0lN+T9/ms YUJxsjUKPC/weQ/JIkeB0/hy2Y8Nr9tx0utDjSc7zwv+Vt73GbY/HT7n/Y65OlAKlGSc rdjrz/qxZ496oOuk7KwPvccs4KleNTXceADDsOxa62QkE9yK619h6tGc0w76KNbn+65Y UjJg== 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=lKyd8F2W1xHCpDv119KWmbZLzq20FtmSKAwayKh93KY=; b=aRYcpwW1MGTJooYhmat0RKMuntD4Ao6Qehw3h680Ag/+Fn5TZ0S9tZ3dsqxgUITwOO 9JXiKZLELmi5cTaxYnT5/bg0JqJacS9wtr3WblP/j9SLv79of4XFYDbhAjL6LwZCvZPT Nk8j4cXpoXNkJLce6YUo/kJkm/UMaCk+/NJ7KBjnTESQyMh5WPx9iak5/RDmttsNiB0w B9XdNUzRACDNpANv2MVTosZc5QDGg7M7+VktZSbU+Uenzj1T6SBJ5IiFD4ydmqTXrUmo NhyC1tMcpBQXoFU30LbHThHSRcJS4/YpxX82AAH+5g85Z4A1JrX/ZholvRSH1aMVHC1j s2Nw== X-Gm-Message-State: AOAM530sA1prDlpvXMfz1/0fmT2sjS1j3yZEEwcCvjzzcclHg97rp5Pp zV4E3Iq4KdxyghHwH8hc8O4= X-Google-Smtp-Source: ABdhPJylQIjj0BFQpfiwlHFSt1/GP4WYZz2ybVppg6vBUxqE/Cma0TnsGDEm3czbUogs+e9s0qxBNg== X-Received: by 2002:a05:600c:2152:: with SMTP id v18mr4851121wml.5.1592952516220; Tue, 23 Jun 2020 15:48:36 -0700 (PDT) Received: from localhost.localdomain (abag196.neoplus.adsl.tpnet.pl. [83.6.170.196]) by smtp.googlemail.com with ESMTPSA id g144sm5671179wme.2.2020.06.23.15.48.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Jun 2020 15:48:35 -0700 (PDT) From: Konrad Dybcio To: skrzynka@konradybcio.pl Cc: Konrad Dybcio , Andy Gross , Bjorn Andersson , Rob Herring , Kees Cook , Anton Vorontsov , Colin Cross , Tony Luck , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 07/12] arm64: dts: qcom: msm8994: Add I2C, SPI and BLSP DMA nodes Date: Wed, 24 Jun 2020 00:48:06 +0200 Message-Id: <20200623224813.297077-8-konradybcio@gmail.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200623224813.297077-1-konradybcio@gmail.com> References: <20200623224813.297077-1-konradybcio@gmail.com> MIME-Version: 1.0 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Add support for I2C and SPI buses to enable peripherals such as touchscreens or sensors. Also add DMA nodes, configuration and BLSP2 UART2 interface. Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/msm8994.dtsi | 156 +++++++++++++++++++++++++- 1 file changed, 155 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/msm8994.dtsi b/arch/arm64/boot/dts/qcom/msm8994.dtsi index 838ffc0d9c16..8af01ebe73f7 100644 --- a/arch/arm64/boot/dts/qcom/msm8994.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8994.dtsi @@ -365,14 +365,168 @@ sdhc1: sdhci@f9824900 { status = "disabled"; }; + blsp1_dma: dma@f9904000 { + compatible = "qcom,bam-v1.7.0"; + reg = <0xf9904000 0x19000>; + interrupts = ; + clocks = <&gcc GCC_BLSP1_AHB_CLK>; + clock-names = "bam_clk"; + #dma-cells = <1>; + qcom,ee = <0>; + qcom,controlled-remotely; + num-channels = <18>; + qcom,num-ees = <4>; + }; + blsp1_uart2: serial@f991e000 { compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm"; reg = <0xf991e000 0x1000>; interrupts = ; - status = "disabled"; clock-names = "core", "iface"; clocks = <&gcc GCC_BLSP1_UART2_APPS_CLK>, <&gcc GCC_BLSP1_AHB_CLK>; + pinctrl-names = "default", "sleep"; + pinctrl-0 = <&blsp1_uart2_default>; + pinctrl-1 = <&blsp1_uart2_sleep>; + status = "disabled"; + }; + + blsp_i2c1: i2c@f9923000 { + compatible = "qcom,i2c-qup-v2.2.1"; + reg = <0xf9923000 0x500>; + interrupts = ; + clocks = <&gcc GCC_BLSP1_AHB_CLK>, + <&gcc GCC_BLSP1_QUP1_I2C_APPS_CLK>; + clock-names = "iface", "core"; + clock-frequency = <400000>; + pinctrl-names = "default", "sleep"; + pinctrl-0 = <&i2c1_default>; + pinctrl-1 = <&i2c1_sleep>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + blsp_spi0: spi@f9923000 { + compatible = "qcom,spi-qup-v2.2.1"; + reg = <0xf9923000 0x500>; + interrupts = ; + clocks = <&gcc GCC_BLSP1_QUP1_SPI_APPS_CLK>, + <&gcc GCC_BLSP1_AHB_CLK>; + clock-names = "core", "iface"; + spi-max-frequency = <19200000>; + dmas = <&blsp1_dma 12>, <&blsp1_dma 13>; + dma-names = "tx", "rx"; + pinctrl-names = "default", "sleep"; + pinctrl-0 = <&blsp1_spi0_default>; + pinctrl-1 = <&blsp1_spi0_sleep>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + blsp_i2c2: i2c@f9924000 { + compatible = "qcom,i2c-qup-v2.2.1"; + reg = <0xf9924000 0x500>; + interrupts = ; + clocks = <&gcc GCC_BLSP1_AHB_CLK>, + <&gcc GCC_BLSP1_QUP2_I2C_APPS_CLK>; + clock-names = "iface", "core"; + clock-frequency = <355000>; + dmas = <&blsp1_dma 14>, <&blsp1_dma 15>; + dma-names = "tx", "rx"; + pinctrl-names = "default", "sleep"; + pinctrl-0 = <&i2c2_default>; + pinctrl-1 = <&i2c2_sleep>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + /* I2C3 doesn't exist */ + + blsp_i2c4: i2c@f9926000 { + compatible = "qcom,i2c-qup-v2.2.1"; + reg = <0xf9926000 0x500>; + interrupts = ; + clocks = <&gcc GCC_BLSP1_AHB_CLK>, + <&gcc GCC_BLSP1_QUP4_I2C_APPS_CLK>; + clock-names = "iface", "core"; + clock-frequency = <355000>; + pinctrl-names = "default", "sleep"; + pinctrl-0 = <&i2c4_default>; + pinctrl-1 = <&i2c4_sleep>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + blsp2_dma: dma@f9944000 { + compatible = "qcom,bam-v1.7.0"; + reg = <0xf9944000 0x19000>; + interrupts = ; + clocks = <&gcc GCC_BLSP2_AHB_CLK>; + clock-names = "bam_clk"; + #dma-cells = <1>; + qcom,ee = <0>; + qcom,controlled-remotely; + num-channels = <18>; + qcom,num-ees = <4>; + }; + + /* According to downstream kernels, i2c6 + * comes before i2c5 address-wise... + */ + + blsp_i2c6: i2c@f9928000 { + compatible = "qcom,i2c-qup-v2.2.1"; + reg = <0xf9928000 0x500>; + interrupts = ; + clocks = <&gcc GCC_BLSP1_AHB_CLK>, + <&gcc GCC_BLSP1_QUP6_I2C_APPS_CLK>; + clock-names = "iface", "core"; + clock-frequency = <355000>; + dmas = <&blsp1_dma 22>, <&blsp1_dma 23>; + dma-names = "tx", "rx"; + pinctrl-names = "default", "sleep"; + pinctrl-0 = <&i2c6_default>; + pinctrl-1 = <&i2c6_sleep>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + blsp2_uart2: serial@f995e000 { + compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm"; + reg = <0xf995e000 0x1000>; + interrupts = ; + clock-names = "core", "iface"; + clocks = <&gcc GCC_BLSP2_UART2_APPS_CLK>, + <&gcc GCC_BLSP2_AHB_CLK>; + dmas = <&blsp2_dma 2>, <&blsp2_dma 3>; + dma-names = "tx", "rx"; + pinctrl-names = "default", "sleep"; + pinctrl-0 = <&blsp2_uart2_default>; + pinctrl-1 = <&blsp2_uart2_sleep>; + status = "disabled"; + }; + + blsp_i2c5: i2c@f9967000 { + compatible = "qcom,i2c-qup-v2.2.1"; + reg = <0xf9967000 0x500>; + interrupts = ; + clocks = <&gcc GCC_BLSP2_AHB_CLK>, + <&gcc GCC_BLSP2_QUP5_I2C_APPS_CLK>; + clock-names = "iface", "core"; + clock-frequency = <355000>; + dmas = <&blsp2_dma 20>, <&blsp2_dma 21>; + dma-names = "tx", "rx"; + pinctrl-names = "default", "sleep"; + pinctrl-0 = <&i2c5_default>; + pinctrl-1 = <&i2c5_sleep>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; }; gcc: clock-controller@fc400000 { From patchwork Tue Jun 23 22:48:07 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 194581 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=-10.1 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,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 9F2E2C433DF for ; Tue, 23 Jun 2020 22:49:11 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 761812078A for ; Tue, 23 Jun 2020 22:49:11 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="W/fnhBQq" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388929AbgFWWss (ORCPT ); Tue, 23 Jun 2020 18:48:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46990 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388853AbgFWWsk (ORCPT ); Tue, 23 Jun 2020 18:48:40 -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 2F296C061796; Tue, 23 Jun 2020 15:48:40 -0700 (PDT) Received: by mail-wr1-x443.google.com with SMTP id g18so273632wrm.2; Tue, 23 Jun 2020 15:48:40 -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=SLkT6O/yw0FJtobFw0czbSMFMvRrtHerycDJkxiAn7k=; b=W/fnhBQqJFzqaDiCANOmjlBj4JDVuyeynUNZ8PIPzTLxaeZL1cdFLbCMcHUQPegfNb +Pu1FWoLbxMtJL32dXKfl7ktvxEJ7uXApDixOUoRYs/VyOJFblfqVUYTv/828BrTVVsi YRG2TYBzGNJ/E6+B3Pj0sctv68GtLhZD0TqFxj8evO3AwdPaLmrhK/6NvAQMLj9Ly5SY GgsIV8k+JI1dt9awf21QpXOxfWq/Qxzf4oi1TgLKV0ECuzzTLd/7bnT0tfg66dteOBMm ubDXLYo/sFhTQLOjxxUZX4sJsk9Fhq33nmofihtfB/wjUHvbL0dWsYj0KzZ+YDGGixfy tLUQ== 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=SLkT6O/yw0FJtobFw0czbSMFMvRrtHerycDJkxiAn7k=; b=JbURK1HLEJRqFByp8v1lMjy4yCH6Kj9jzpL7H5SeIbKd5/ielKckSr3CEJOAn5vGC5 bz1Xsb9FLpS+MXkZb2Qc//YJ9gdqLke7OeaQzIV9R3HiWVPESf+RxeyCY6zRCOmHq1+5 2/K3lOwcX2EJKxRHPkX8101o/xJRT7r1+/5l762h34JxmwgwBmSwIITkLHc+GThcdPvr B7+iSDU1JDNTZK/dVUE+7ciHKEikG+rE/p6zPc6nrhvkhauRZcCASU10GafYlFu5HRQA iaUcmJpNo7ADlkcaXdgQh6+ArPMXc36F3Om1xzEQ+PSseV6A/XdWQZWB/zncaIkgRDfc B6EA== X-Gm-Message-State: AOAM530sD/5Bawa1r67V1gcPbh6QIeBiiMXsGIiDnH36tnqLdslqNAQD Iru5cAWZgQnrLhDPfNIVKHQ= X-Google-Smtp-Source: ABdhPJwflIzohf5kxCWoQCRJ1ebtMcK3fFXUMnJOSu7GTLjAWrNuVQgbAQh5uJU+uNsQWCScC+FBdQ== X-Received: by 2002:a5d:4002:: with SMTP id n2mr13969412wrp.255.1592952518896; Tue, 23 Jun 2020 15:48:38 -0700 (PDT) Received: from localhost.localdomain (abag196.neoplus.adsl.tpnet.pl. [83.6.170.196]) by smtp.googlemail.com with ESMTPSA id g144sm5671179wme.2.2020.06.23.15.48.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Jun 2020 15:48:38 -0700 (PDT) From: Konrad Dybcio To: skrzynka@konradybcio.pl Cc: Konrad Dybcio , Andy Gross , Bjorn Andersson , Rob Herring , Kees Cook , Anton Vorontsov , Colin Cross , Tony Luck , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 08/12] arm64: dts: qcom: msm8994: Add pmu node Date: Wed, 24 Jun 2020 00:48:07 +0200 Message-Id: <20200623224813.297077-9-konradybcio@gmail.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200623224813.297077-1-konradybcio@gmail.com> References: <20200623224813.297077-1-konradybcio@gmail.com> MIME-Version: 1.0 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Add the CPU PMU to get perf support for hardware events. Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/msm8994.dtsi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8994.dtsi b/arch/arm64/boot/dts/qcom/msm8994.dtsi index 8af01ebe73f7..b3c01ebc5c67 100644 --- a/arch/arm64/boot/dts/qcom/msm8994.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8994.dtsi @@ -154,6 +154,11 @@ memory { reg = <0 0 0 0>; }; + pmu { + compatible = "arm,cortex-a53-pmu"; + interrupts = ; + }; + reserved-memory { #address-cells = <2>; #size-cells = <2>; From patchwork Tue Jun 23 22:48:09 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 194580 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=-10.1 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,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 8F629C433E0 for ; Tue, 23 Jun 2020 22:49:19 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 6BAE32078A for ; Tue, 23 Jun 2020 22:49:19 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="ljMRR2zA" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388916AbgFWWsr (ORCPT ); Tue, 23 Jun 2020 18:48:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47008 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388806AbgFWWsq (ORCPT ); Tue, 23 Jun 2020 18:48:46 -0400 Received: from mail-wm1-x344.google.com (mail-wm1-x344.google.com [IPv6:2a00:1450:4864:20::344]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C4948C061795; Tue, 23 Jun 2020 15:48:45 -0700 (PDT) Received: by mail-wm1-x344.google.com with SMTP id g21so424180wmg.0; Tue, 23 Jun 2020 15:48:45 -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=4YzpTtuQd8igcmEb94rslBu/tpG/FsBo/caSislaGaQ=; b=ljMRR2zAT5bki6xwhOGzyGih/88e9uZhIr5rjLQ0ImujfRGpwsg8WbLIUOrI0AaIUy 0LJenVT0dbIxWdv7jzXxTVSJRd4YVFsTTcwKeoPH8dbQVNEL2+5OY1U8NTEUYMpdLhb5 UJktKzRrW+pJh2DNj1IT3K/XXymj02wxlID5AhFUqRIyFxqm/3nOgPY9RU24kkZa5HC9 KGy7puklT019cqMoKEc/+OmGNf6xfiyH60yFeMP85HDzHNiwggkhOr4UotWKacHuOWyy TYCzOOQJJybxHNbEGbPvWl6wKupTeTe2o7oLd5BwfDFr2i7/+bBCuZP8JfcCk7PBYURX 790g== 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=4YzpTtuQd8igcmEb94rslBu/tpG/FsBo/caSislaGaQ=; b=Eq4VMOmB/zqAdAsEHAetXpmhe6swuHDBfE9KpkZxwdMwmOaumQkXjac7SFGtYpblmh vMBhnN8bGq9RGRkFY4pQ/1nzUYuXueWOP+dyJg8jDz2gi/xi2qe7orfxWB2PNKTWAt4U nS4FI/UCRaaEwjDxI2zilLTX+R+CHYjfMsOpP8bsKpeW13DLeVRWKMPPtIW549QohFHa Jhsidm53UTB+1ckxp0O1EW13Thj8uzY7+pjZPqzxJZwS8YfSMU26Liqw15M/IuJbZ5PC vQrNYDXbb6xMcklu86lOQlqyarWBaso1dAJBMtkoh8HhgzyN7jM7FCgWyZN2KqbC2HLc OZ4g== X-Gm-Message-State: AOAM532PGcNSj+SrP7zQ5BGew5NW7z9Imu6H0U03WfS8OvcK9TXW1S+A m0zT1SSMmnJ1hfEtwEKptws= X-Google-Smtp-Source: ABdhPJxkkA2PF3LfDKai0ks0Y6V5z4FRRkDy4QNo3xBjRp8NJvoEZ7mIXCMbyG27Cd5awP/M0WyTQQ== X-Received: by 2002:a1c:dcc2:: with SMTP id t185mr27817665wmg.91.1592952524492; Tue, 23 Jun 2020 15:48:44 -0700 (PDT) Received: from localhost.localdomain (abag196.neoplus.adsl.tpnet.pl. [83.6.170.196]) by smtp.googlemail.com with ESMTPSA id g144sm5671179wme.2.2020.06.23.15.48.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Jun 2020 15:48:44 -0700 (PDT) From: Konrad Dybcio To: skrzynka@konradybcio.pl Cc: Konrad Dybcio , Andy Gross , Bjorn Andersson , Rob Herring , Kees Cook , Anton Vorontsov , Colin Cross , Tony Luck , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 10/12] arm64: dts: qcom: angler: Add qcom, msm-id and pmic-id Date: Wed, 24 Jun 2020 00:48:09 +0200 Message-Id: <20200623224813.297077-11-konradybcio@gmail.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200623224813.297077-1-konradybcio@gmail.com> References: <20200623224813.297077-1-konradybcio@gmail.com> MIME-Version: 1.0 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Add properties required for the bootloader to select the correct bootloader blob. They have been removed from the SoC device tree as they should be set on a per-device basis. Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/msm8994-angler-rev-101.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8994-angler-rev-101.dts b/arch/arm64/boot/dts/qcom/msm8994-angler-rev-101.dts index a5f9a6ab512c..baa55643b40f 100644 --- a/arch/arm64/boot/dts/qcom/msm8994-angler-rev-101.dts +++ b/arch/arm64/boot/dts/qcom/msm8994-angler-rev-101.dts @@ -11,6 +11,8 @@ / { model = "Huawei Nexus 6P"; compatible = "huawei,angler", "qcom,msm8994"; /* required for bootloader to select correct board */ + qcom,msm-id = <207 0x20000>; + qcom,pmic-id = <0x10009 0x1000A 0x0 0x0>; qcom,board-id = <8026 0>; aliases {