From patchwork Sun May 31 17:27:51 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 199714 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 172A3C433E0 for ; Sun, 31 May 2020 17:28:16 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E85402074B for ; Sun, 31 May 2020 17:28:15 +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="e79bzN9r" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728073AbgEaR2O (ORCPT ); Sun, 31 May 2020 13:28:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34534 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726193AbgEaR2N (ORCPT ); Sun, 31 May 2020 13:28:13 -0400 Received: from mail-wr1-x441.google.com (mail-wr1-x441.google.com [IPv6:2a00:1450:4864:20::441]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 92CABC061A0E; Sun, 31 May 2020 10:28:12 -0700 (PDT) Received: by mail-wr1-x441.google.com with SMTP id h5so3227651wrc.7; Sun, 31 May 2020 10:28:12 -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=EakNxGoPn3WCF3pfvxOsaJvDNOYIIIi4TF/T6d07zHM=; b=e79bzN9rMWi07UEZ7ZjEjStiqzcQmraODT8etX/3JU2/y4pvhgoJjoXwd9MfdVcYP9 874Fei8ZUzMquQxOtsEK6BwY4QQG1daBIWR2G9DqRVSbaU5E5Dz+tcqDH39UcpdNByEN a2Qu73nzoWHrMtFk6Eu3ZmzhZclA9Z+1HcuhckcnY5HgyqAvlWOQtK1dO2B/VZXQ8V0j MUUkZ9pav57DqJm3UoMuP5CbAmqiykt2mXSw272k6eBEkgfVk9NQZHKhsAH37rxupqIg 6IVkx29e5qeGAxi5wKrtA2/rbS3Di6RjJRckt4KaqX4nHyx1kW+mESICBIS/YmoaR8F3 j63g== 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=EakNxGoPn3WCF3pfvxOsaJvDNOYIIIi4TF/T6d07zHM=; b=eTHg97So+MpfMgtNBVDTu2l5/FwHxIqUExX+SPMpSRGMWQ1jm0Uqz7SyEh1wSrYUma TYi7Y+9WcVmSsyTkn47SIydsZCc9Mec1Skh/zJtxEuFIgnKXasNj00Dgpru0RfxPKzzJ sf1ChSQjwnkA3zujlO+M29LoLGXjbdEcxK/ASI46Tdn+OS2xc/3AU8KMvXHOWzgtfS/L y9U7EADpxXdwJlQFEug4zfiPWty45W/hz+5bo9Q3a8xRtc2hu0H5+vOoOr3dXusbOWWn /R/pK26r6qPket7V7Nm9bpvS4bKQzlqq1YxO97AAxkk4hIZ+XrBssp3Pfh+1CscKWH7h 5dXQ== X-Gm-Message-State: AOAM532CwxTEQpthRwFqiYDsbkCE5vzlzWY/JYRSx9P3pJ0te0Ma/NPA mcj5Zz/f+zlAh93J5DS+aeAsUlIk X-Google-Smtp-Source: ABdhPJzG22PKzt0SpRXW8hGUi5AQ6fxUGGEAsdV2xistr1rZa4Mw99CMYKMFNW0PsBJ6gYBhWDA6Lw== X-Received: by 2002:adf:de84:: with SMTP id w4mr18533311wrl.54.1590946091391; Sun, 31 May 2020 10:28:11 -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.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 31 May 2020 10:28:11 -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 01/14] arm64: dts: Add a proper CPU map for MSM8992 Date: Sun, 31 May 2020 19:27:51 +0200 Message-Id: <20200531172804.256335-2-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: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org This commit adds cpu nodes for all 6 cores present on this SoC and the cpu-map. Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/msm8992.dtsi | 68 +++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8992.dtsi b/arch/arm64/boot/dts/qcom/msm8992.dtsi index 2021795c99ad..900c9445e0ba 100644 --- a/arch/arm64/boot/dts/qcom/msm8992.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8992.dtsi @@ -20,11 +20,34 @@ / { cpus { #address-cells = <2>; #size-cells = <0>; + cpu-map { cluster0 { core0 { cpu = <&CPU0>; }; + + core1 { + cpu = <&CPU1>; + }; + + core2 { + cpu = <&CPU2>; + }; + + core3 { + cpu = <&CPU3>; + }; + }; + + cluster1 { + core0 { + cpu = <&CPU4>; + }; + + core1 { + cpu = <&CPU5>; + }; }; }; @@ -33,11 +56,56 @@ CPU0: cpu@0 { compatible = "arm,cortex-a53"; reg = <0x0 0x0>; next-level-cache = <&L2_0>; + enable-method = "psci"; L2_0: l2-cache { compatible = "cache"; cache-level = <2>; }; }; + + CPU1: cpu@1 { + device_type = "cpu"; + compatible = "arm,cortex-a53"; + reg = <0x0 0x1>; + next-level-cache = <&L2_0>; + enable-method = "psci"; + }; + + CPU2: cpu@2 { + device_type = "cpu"; + compatible = "arm,cortex-a53"; + reg = <0x0 0x2>; + next-level-cache = <&L2_0>; + enable-method = "psci"; + }; + + CPU3: cpu@3 { + device_type = "cpu"; + compatible = "arm,cortex-a53"; + reg = <0x0 0x3>; + next-level-cache = <&L2_0>; + enable-method = "psci"; + }; + + CPU4: cpu@100 { + device_type = "cpu"; + compatible = "arm,cortex-a57"; + reg = <0x0 0x100>; + next-level-cache = <&L2_1>; + enable-method = "psci"; + L2_1: l2-cache { + compatible = "cache"; + cache-level = <2>; + }; + }; + + CPU5: cpu@101 { + device_type = "cpu"; + compatible = "arm,cortex-a57"; + reg = <0x0 0x101>; + next-level-cache = <&L2_1>; + enable-method = "psci"; + }; }; timer { From patchwork Sun May 31 17:27:52 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 199708 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 EABE3C433DF 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 CCEAF2074B for ; Sun, 31 May 2020 17:29:10 +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="s35LDCMU" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728252AbgEaR2Q (ORCPT ); Sun, 31 May 2020 13:28:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34538 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728234AbgEaR2P (ORCPT ); Sun, 31 May 2020 13:28:15 -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 5B25EC061A0E; Sun, 31 May 2020 10:28:14 -0700 (PDT) Received: by mail-wm1-x341.google.com with SMTP id c71so8555659wmd.5; Sun, 31 May 2020 10:28:14 -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=2DRiNbK762AXkswj1HhYBzOBmJVVHL34gfc+Pw0XaPM=; b=s35LDCMUvODW0UkBfwN/JSwOhbyq4+PuuZKptsZ8nTZ1CgeiXKxoGK2stHa4QIi709 dKCuQ8LohuXOuTGVeXWyFT0VSpFkc/l2kgTA3xT/WYKcIcyYoc9+v9CNxVliXYnExWcd ucf9gzowJ8stBgkcB1yQAKWlKg+5h9yO3WGa6o2uMhFeVO2q1NWLWhwIO5D4aOalL8P6 8J7FjA1wpL494qch+1sBD3gmWE+eyc1kPF2GgDw4VPOfUKQq+7+1GOy4mIT7BAf6Sc8M 5HTnW8OsBwSTMe8Yn82BtuVO2uMEdpuNp55Re+L3EBRB3dFYJkAScgizru1w7y+vsW0Y QcpA== 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=2DRiNbK762AXkswj1HhYBzOBmJVVHL34gfc+Pw0XaPM=; b=a1Yaq5fXJOYG8R7cOTxRlifEj50DxkBJxhJb2icNLaKcXLHX8SogtiX6U4+XfN3bup V9h4j029ht4FngdmRxcK9qu+6E1NenpQJ1f8Tn7Lgk3BLhCaK34GgpYCb9vZySJciwJv 5MDKbZs/aAYGNOVMHe6+sYhyo2HGNPxdAV2sdC9b6XFgE8QNcDJwlqJx94lwzUIoNKRY PSMxk7c1SuwwZk81R+iAVcFdaR3Cp2KKaw5MsclP3Ei/afeSjlardGKAJow34xtvqs6N 9SRKsN7UX6UlustSD0GXBl7hw3d0UQ9E2BgT6Zpwkn6/CuC7vbnedNC/u1cBXMb5zSV/ QAjQ== X-Gm-Message-State: AOAM530gYKJZpA/AvywSpVT1/TQ9ptVoIvWpJAH0T/T+DEDgE+0K9Y2/ rMzBNXuaD7Watgzp3Px+Yr4= X-Google-Smtp-Source: ABdhPJxoFBlhkTS0MO4she4gFi2dgkoNrIxQPCff1ZCyVFEQmxNBry2PQd7HWtP/tO/vGFQ+xHZI6A== X-Received: by 2002:a7b:c212:: with SMTP id x18mr8717760wmi.119.1590946093146; Sun, 31 May 2020 10:28:13 -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.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 31 May 2020 10:28:12 -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 02/14] arm64: dts: msm8992: Place clock nodes in clocks{} Date: Sun, 31 May 2020 19:27:52 +0200 Message-Id: <20200531172804.256335-3-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: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org This commits brings no changes functionality-wise, but aligns the DTS with the style used in newer ones. Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/msm8992.dtsi | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/msm8992.dtsi b/arch/arm64/boot/dts/qcom/msm8992.dtsi index 900c9445e0ba..e255b577af37 100644 --- a/arch/arm64/boot/dts/qcom/msm8992.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8992.dtsi @@ -116,16 +116,18 @@ timer { ; }; - xo_board: xo_board { - compatible = "fixed-clock"; - #clock-cells = <0>; - clock-frequency = <19200000>; - }; + clocks { + xo_board: xo_board { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <19200000>; + }; - sleep_clk: sleep_clk { - compatible = "fixed-clock"; - #clock-cells = <0>; - clock-frequency = <32768>; + sleep_clk: sleep_clk { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <32768>; + }; }; vreg_vph_pwr: vreg-vph-pwr { 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: 199709 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 5AB9EC433DF for ; Sun, 31 May 2020 17:29:01 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3C3712074B for ; Sun, 31 May 2020 17:29:01 +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 S1728483AbgEaR3A (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: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@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: 199713 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 3A135C433E1 for ; Sun, 31 May 2020 17:28:27 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 185DF206E2 for ; Sun, 31 May 2020 17:28:27 +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 S1728338AbgEaR20 (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: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@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: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: 199711 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 40073C433DF for ; Sun, 31 May 2020 17:28:48 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 205D4206E2 for ; Sun, 31 May 2020 17:28:48 +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 S1728378AbgEaR2c (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: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@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: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: 199710 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 A2C8FC433E0 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 7780A206E2 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="QpLF/RoC" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728451AbgEaR2s (ORCPT ); Sun, 31 May 2020 13:28:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34602 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728374AbgEaR2b (ORCPT ); Sun, 31 May 2020 13:28:31 -0400 Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 75AF6C061A0E; Sun, 31 May 2020 10:28:31 -0700 (PDT) Received: by mail-wm1-x32e.google.com with SMTP id c71so8555999wmd.5; Sun, 31 May 2020 10:28:31 -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=cOBT0oRZV1eBos2C+n7L/o8LpzJdP3OFJYUQsdgdARI=; b=QpLF/RoCo4iDJcEqSVqfPHs88H3aUe2oAy/4pnwgxLkmyJyS/hxJMsi4yiik9DVyZn mn1n4igYcI7gWoK0m2qyRkyiMUTR4WRiNvaKv6RGULH1R+5C0zryhnALM279U2JZEirb Q8y5N6w3Ht27xcIa0FKBhTpg9jjVL6lxMW2D2oDQvrte0P1cd1PNpcBTqSIXQxMj9jaW ckHjmYfIFKosMZFDfzIpqEwjOiO8OeI+6MywvnFvEjeZMWZTNCCHDcPmbIGJZQVw/LJs DlqNdkjeXnHZv6DBq5H3RQHBlVPUqm98HW+mxXBhCebz5/9J6j4cJ4Iyx+juqTAVTW15 +OVA== 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=cOBT0oRZV1eBos2C+n7L/o8LpzJdP3OFJYUQsdgdARI=; b=VAZv6BOmjBqQgTHvDqsE13f7rIqJrn8jj6fJxobs6F/LaO52xgNqc3LoiiipLE5qQO G0qERa9ZyaMZNG/xf6Y/xkcVMAcGsjSuCI+oK76Lm9vYHMlf4EyEGjlftMzbpI8yCi+L T46rAkMHq5GKbHGttr9TGh2LlfmItBPa/Amg6IyFBC28gWlrhUVgyDrB1Jc6cRz6/u4O QAGZaaUsewYAShiEKimVSvxncN7oCCBRhcyF2vPxzRGCk/bdreclQ2yKkDGLOwgXdsT2 1/2dR5xPXuiGBFx0PPsJkpINNvaK9As3foxinWa3qchHJm+LAbdHmJ6qdOmzIylq10iE J9og== X-Gm-Message-State: AOAM533+hp5GN9j2NPlhvIlmtsAdMC2TS/tum1Hmq6P1ONcRQ6z6BtIt AZHLKa5OV81aB44mzPuLZA+FbmPN X-Google-Smtp-Source: ABdhPJxsAVB+CfCF+bTsJ2wVSgZ9enQL5C1AVIgBLv4gn90IHePMAPd8zYNwSGN15gsff1zx0uKR+g== X-Received: by 2002:a7b:cb47:: with SMTP id v7mr18309758wmj.34.1590946110162; Sun, 31 May 2020 10:28:30 -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.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 31 May 2020 10:28:29 -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 12/14] arm64: dts: qcom: Update msm8992 pin configuration Date: Sun, 31 May 2020 19:28:02 +0200 Message-Id: <20200531172804.256335-13-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: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add support for i2c2 and i2c6 interfaces, wrap up SDC pins into pmx_sdc groups (following msm8916). Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/msm8992-pins.dtsi | 149 ++++++++++++++++----- 1 file changed, 118 insertions(+), 31 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/msm8992-pins.dtsi b/arch/arm64/boot/dts/qcom/msm8992-pins.dtsi index c543c718c22d..17c9e048e414 100644 --- a/arch/arm64/boot/dts/qcom/msm8992-pins.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8992-pins.dtsi @@ -32,59 +32,146 @@ pinconf { /* Order of pins */ /* SDC1: CLK -> 0, CMD -> 1, DATA -> 2, RCLK -> 3 */ /* SDC2: CLK -> 4, CMD -> 5, DATA -> 6 */ - sdc1_clk_on: clk-on { - pinconf { - pins = "sdc1_clk"; - bias-disable = <0>; /* No pull */ - drive-strength = <16>; /* 16mA */ + + pmx_sdc1_clk { + sdc1_clk_on: clk-on { + pinmux { + pins = "sdc1_clk"; + }; + pinconf { + pins = "sdc1_clk"; + bias-disable; /* No pull */ + drive-strength = <6>; + }; + }; + + sdc1_clk_off: clk-off { + pinmux { + pins = "sdc1_clk"; + }; + pinconf { + pins = "sdc1_clk"; + bias-disable; /* No pull */ + drive-strength = <2>; + }; }; }; - sdc1_clk_off: clk-off { - pinconf { - pins = "sdc1_clk"; - bias-disable = <0>; /* No pull */ - drive-strength = <2>; /* 2mA */ + pmx_sdc1_cmd { + sdc1_cmd_on: cmd-on { + pinmux { + pins = "sdc1_cmd"; + }; + pinconf { + pins = "sdc1_cmd"; + bias-pull-up; + drive-strength = <6>; + }; + }; + + sdc1_cmd_off: cmd-off { + pinmux { + pins = "sdc1_cmd"; + }; + pinconf { + pins = "sdc1_cmd"; + bias-pull-up; + drive-strength = <2>; + }; }; }; - sdc1_cmd_on: cmd-on { - pinconf { - pins = "sdc1_cmd"; - bias-pull-up; - drive-strength = <8>; + pmx_sdc1_data { + sdc1_data_on: data-on { + pinmux { + pins = "sdc1_data"; + }; + pinconf { + pins = "sdc1_data"; + bias-pull-up; + drive-strength = <6>; + }; + }; + + sdc1_data_off: data-off { + pinmux { + pins = "sdc1_data"; + }; + pinconf { + pins = "sdc1_data"; + bias-pull-up; + drive-strength = <2>; + }; }; }; - sdc1_cmd_off: cmd-off { - pinconf { - pins = "sdc1_cmd"; - bias-pull-up = <0x3>; /* same as 3.10 ?? */ - drive-strength = <2>; /* 2mA */ + pmx_sdc1_rclk { + sdc1_rclk_on: rclk-on { + pinmux { + pins = "sdc1_rclk"; + }; + pinconf { + pins = "sdc1_rclk"; + bias-pull-down; /* pull down */ + }; + }; + + sdc1_rclk_off: rclk-off { + pinmux { + pins = "sdc1_rclk"; + }; + pinconf { + pins = "sdc1_rclk"; + bias-pull-down; /* pull down */ + }; }; }; - sdc1_data_on: data-on { + i2c2_default: i2c2_default { + pinmux { + function = "blsp_i2c2"; + pins = "gpio6", "gpio7"; + }; pinconf { - pins = "sdc1_data"; - bias-pull-up; - drive-strength = <8>; /* 8mA */ + pins = "gpio6", "gpio7"; + drive-strength = <2>; + bias-disable; }; }; - sdc1_data_off: data-off { + i2c2_sleep: i2c2_sleep { + pinmux { + function = "gpio"; + pins = "gpio6", "gpio7"; + }; pinconf { - pins = "sdc1_data"; - bias-pull-up; + pins = "gpio6", "gpio7"; drive-strength = <2>; + bias-disable; }; }; - sdc1_rclk_on: rclk-on { - bias-pull-down; /* pull down */ + i2c6_default: i2c6_default { + pinmux { + function = "blsp_i2c6"; + pins = "gpio28", "gpio27"; + }; + pinconf { + pins = "gpio28", "gpio27"; + drive-strength = <2>; + bias-disable; + }; }; - sdc1_rclk_off: rclk-off { - bias-pull-down; /* pull down */ + i2c6_sleep: i2c6_sleep { + pinmux { + function = "gpio"; + pins = "gpio28", "gpio27"; + }; + pinconf { + pins = "gpio28", "gpio27"; + drive-strength = <2>; + bias-disable; + }; }; }; From patchwork Sun May 31 17:28:03 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 199712 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 40775C433E1 for ; Sun, 31 May 2020 17:28:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 21FE32074B for ; Sun, 31 May 2020 17:28:36 +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="qvn7PMqi" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728400AbgEaR2f (ORCPT ); Sun, 31 May 2020 13:28:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34608 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728394AbgEaR2d (ORCPT ); Sun, 31 May 2020 13:28:33 -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 250BCC061A0E; Sun, 31 May 2020 10:28:33 -0700 (PDT) Received: by mail-wm1-x341.google.com with SMTP id c71so8556035wmd.5; Sun, 31 May 2020 10:28:33 -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=9Mfc0JsGNz4abCu6QgeUv5oXG3KGO+T0GNyd7FH0VZ4=; b=qvn7PMqiahqjQxmI2dKsWxq7i+MD92yCwVjWd16J42yogrGHE6gz46bfi9k//peuNy OXjmAcLqZn9jUfvH2QLRicpSttRev2SdjEembykz5thp1KzYJC7+vV6QbcIq67BSMj6A 0ZHBToGfIeFzLeURTn0gHF+VEzIzbIjkp1YcKeaRJrllr5GW8JyGl8OSjZNc2XXlnc+1 +sGVZWCM/60f+zYZoEIEpxmSEPQ98hcVGwthm65DzNj5vKDXywM/D2IXXMxKu5ZeeOPD IkXHMd2mjoJ+KcpDhLhnr60wGflz+VvrLSgR+/AbUl4ElCftiIx2RjfN+m3LsQTMvnCl DW6g== 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=9Mfc0JsGNz4abCu6QgeUv5oXG3KGO+T0GNyd7FH0VZ4=; b=ie+jHuwjD7Zh/ww6wpXMvb94dO7VDenq/BAeLy+e0/4nQjYq2TkPPvZvu/iMZUSPkV hwwpLTYDW5msxFdUoLANAkycymbolKoWbWjeidPCDT7SDWxjWvtGT7zB2YrKjbQUzzqk 8dIyTDHqs5FsRN6zJ9ao0KufsmBxty8LkJup+2eQDvTqL7gSLW9CN0gT/nIqRpKDnnoN hMu0zxmtkk4tduaEKHSDV3PTcp90COVYl0WvNfSObkN4ROzpXeqwmjiag0XWD5LjJoJg rDppIt5Zc0tEh39UOTGAg5QM7KZCY2+BHtwjjSEIDQ0HAIWi72ubvcUwu8MeIAIrsFzO u0RA== X-Gm-Message-State: AOAM5322g6FHHwTZ1tCCRN0uFRIcMJAPMfwHVEDz53S4q1mUAUNf0yJc FvVXkIalxdv/DtR+Nug8bw4= X-Google-Smtp-Source: ABdhPJxzQrooMB26NeNKlaCRh+yg3KsFKdo8KP6JFwOkiXFxuQ9q0M996BQW3kHxp8F1/XZ4M2/YCQ== X-Received: by 2002:a1c:1d49:: with SMTP id d70mr18164835wmd.49.1590946111878; Sun, 31 May 2020 10:28:31 -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.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 31 May 2020 10:28:31 -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 13/14] arm64: dts: qcom: Fix msm8992 SDHCI Date: Sun, 31 May 2020 19:28:03 +0200 Message-Id: <20200531172804.256335-14-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: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org This commit adds correct IRQ settings and adds the non-removable property to the msm8992 sdhci node. Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/msm8992.dtsi | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/msm8992.dtsi b/arch/arm64/boot/dts/qcom/msm8992.dtsi index e7354826d701..b5bd73205a55 100644 --- a/arch/arm64/boot/dts/qcom/msm8992.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8992.dtsi @@ -302,8 +302,8 @@ sdhci1: mmc@f9824900 { reg = <0xf9824900 0x1a0>, <0xf9824000 0x800>; reg-names = "hc_mem", "core_mem"; - interrupts = , - ; + interrupts = , + ; interrupt-names = "hc_irq", "pwr_irq"; clocks = <&clock_gcc GCC_SDCC1_APPS_CLK>, @@ -319,6 +319,7 @@ sdhci1: mmc@f9824900 { regulator-always-on; bus-width = <8>; mmc-hs400-1_8v; + non-removable; status = "okay"; };