From patchwork Sat Apr 11 18:21:19 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Iskren Chernev X-Patchwork-Id: 202180 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.6 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 A0B79C2BBC7 for ; Sat, 11 Apr 2020 18:22:13 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 7455B20B1F for ; Sat, 11 Apr 2020 18:22:13 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="J3Q7ccRY" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726792AbgDKSWK (ORCPT ); Sat, 11 Apr 2020 14:22:10 -0400 Received: from mail-lf1-f65.google.com ([209.85.167.65]:37639 "EHLO mail-lf1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726155AbgDKSWJ (ORCPT ); Sat, 11 Apr 2020 14:22:09 -0400 Received: by mail-lf1-f65.google.com with SMTP id t11so3586516lfe.4; Sat, 11 Apr 2020 11:22:06 -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=z4Hb15o1pOtBSMtLEXqyNxfvtNHew8aR0AYuhLiRqe8=; b=J3Q7ccRYcvyVhwP0obAt3tFUP+ObAZfhkqIVGb2pKWMHPIE4O50SqJoS7iNmeFGsZf m46wHt4x8XSGglKuBZCtGqUnAe2n2iNrHnEBYCtVG2OkUi7olTynfc4s/bETO7d2pGml vW/LFMJL5fXdRyF7cegdYvIzwmSsPQumE49tCL3MNuw3woLRETN9tdsweaDUdfV9VWhq Wkl1DDP8GCUWyUtKHBqxYXPP1G6h13HqbxAmFGM4o8S63jAoPPkL4SPE6+RzpFhRScZl 1BE4sbw7lY88+FC81GBNpR7Wbt6xFeRkmVPENqlIFAo8IKexRJxRsC/QLPAOVVDtwWo3 +sMg== 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=z4Hb15o1pOtBSMtLEXqyNxfvtNHew8aR0AYuhLiRqe8=; b=iFEJF4NlD02wFHklWuNzZdq3O2Ia26q5igDbXMXkfSELWbZHDUl4qNXT6B0FcAInTt QMmM3/SltY95BSrww5d9BsFOlWiPlLLc4ihB2KtXP4cThwSYAQbhVJTRCh2arupCoe31 TlajgT59PKgZilopWehOdfkR3ppPkV36BR21LQLLdqngjTUx9Gn7jV3wzYoUXt8Q/hh0 xbt2+h3VDZoAK1ekBrHVnFyeg3/t82fxUok5gGGIJRsLcuqztAjpIKmb5thqbq3sBOLY OmNVEF57Hxwl276BPQ1GRqVMks8v5vX20akOHUrRvnJ2CXbpi5nXLTosEWstI6NxS0ds 5fhw== X-Gm-Message-State: AGi0PuZMBAaFaXe3Wwfqlh/q7xWpvHKJIlQ8QNOIiH1EGo6WfR1jdmkz 92QkT13pFSqVIznl4JHSqPxhooK2lIS+Hw== X-Google-Smtp-Source: APiQypKgIInJ4YQqesUWfn0MQzYAiHoWMRPGx+e48y0e6wi5iVVP3y79/fXMS5mhL9LaX9buzXYzww== X-Received: by 2002:a19:9109:: with SMTP id t9mr6006751lfd.10.1586629325522; Sat, 11 Apr 2020 11:22:05 -0700 (PDT) Received: from localhost ([213.191.183.145]) by smtp.gmail.com with ESMTPSA id m23sm312419ljh.36.2020.04.11.11.22.03 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 11 Apr 2020 11:22:04 -0700 (PDT) From: Iskren Chernev To: linux-arm-msm@vger.kernel.org Cc: Daniele Debernardi , Andy Gross , Bjorn Andersson , Rob Herring , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, Iskren Chernev Subject: [PATCH v2 2/5] ARM: dts: qcom: msm8974-klte: Remove inherited vreg_boost node Date: Sat, 11 Apr 2020 21:21:19 +0300 Message-Id: <20200411182122.2677248-3-iskren.chernev@gmail.com> X-Mailer: git-send-email 2.26.0 In-Reply-To: <20200411182122.2677248-1-iskren.chernev@gmail.com> References: <20200411182122.2677248-1-iskren.chernev@gmail.com> MIME-Version: 1.0 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Daniele Debernardi The Samsung klte does not have a vreg_boost node. vreg_boost also depends on pm8941-gpio which are not present on the klte. Signed-off-by: Daniele Debernardi Signed-off-by: Iskren Chernev --- arch/arm/boot/dts/qcom-msm8974-samsung-klte.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/qcom-msm8974-samsung-klte.dts b/arch/arm/boot/dts/qcom-msm8974-samsung-klte.dts index b6329f24c502..36ad8ff071ca 100644 --- a/arch/arm/boot/dts/qcom-msm8974-samsung-klte.dts +++ b/arch/arm/boot/dts/qcom-msm8974-samsung-klte.dts @@ -1,7 +1,5 @@ // SPDX-License-Identifier: GPL-2.0 #include "qcom-msm8974pro.dtsi" -#include "qcom-pm8841.dtsi" -#include "qcom-pm8941.dtsi" #include "qcom-pma8084.dtsi" / { @@ -198,6 +196,8 @@ pma8084_l27: l27 { }; }; }; + + /delete-node/ vreg-boost; }; &soc { From patchwork Sat Apr 11 18:21:21 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Iskren Chernev X-Patchwork-Id: 202179 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.6 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 EDA32C2BA19 for ; Sat, 11 Apr 2020 18:22:25 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C6FAE214DB for ; Sat, 11 Apr 2020 18:22:25 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="qnbmybcn" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726791AbgDKSWP (ORCPT ); Sat, 11 Apr 2020 14:22:15 -0400 Received: from mail-lj1-f193.google.com ([209.85.208.193]:43302 "EHLO mail-lj1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726814AbgDKSWP (ORCPT ); Sat, 11 Apr 2020 14:22:15 -0400 Received: by mail-lj1-f193.google.com with SMTP id h25so4938457lja.10; Sat, 11 Apr 2020 11:22: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=aKI8/vIrSeNG/JRzRpmvFSBgWCKAHHoTosK6sbG966M=; b=qnbmybcnWU1cTq0pEE3TbtoTGHbYWV5wuLQww7nzU/DFnE/YG0wvQJicC/eWaXF5dL zxVrm4dc7x24SwRjNYbEZ0TerfJYo+ITAkywudGWEXr58UiBC1RA/Hp8Pmufe0TJVGfo jY9WVgx1yIw18urvjbDBqR2Y1/x7hWu9aeCF8dPFN/U7x/X6PCV9G8OxQUx7WJlGvBCf FH2IquWLSX0vh8k0wj3ULqfFBbObpl09cEMEStzblYhkEKihlBDe8jK3TmBzGJPlsZYq pEVx8Gt42lTVKNSU7JQlzSvVqkK2gqSL8ibTMvqVX3unMfAN9TY0HBdQWj1wIib3Vpmr xr+Q== 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=aKI8/vIrSeNG/JRzRpmvFSBgWCKAHHoTosK6sbG966M=; b=JuMmaV/jhtiKM/LWF9I40OJwy8yolrH2tjFNqZ6EDSHbpPeqwWv3FoHc/DoPjHw6Md dzW2MzT+ZZc0yOkmt3k+8LAUcW9Khw9UnIUMke6GXiG/oMeC7S05QYyWX5VIxN+dfJPD WnKs7jUyR6ods9fj+qcwzDmDuV2dFKhiTiDaViKlNsk1fnCqiOUnLgbTx9DWH43FfbJM LZ7Pt0hBbe83CflswO0y+OBYiYJdvZ1/SIsrArAfl7TIRhrzp9mgRUPK16qQBGCCkaiH cpHNhget1CjU6EkBnM+wWovNR5i7O1vbYOHH+GeygkJFHPnH6R4CbeOawPyJOErFnP7w QOGw== X-Gm-Message-State: AGi0PublKeAHxbeyqaBwT1MjInjePUtQn9UcJ5ZtnJcDcEDg5YXGdjgG bjaC+9/XYtvvJ+zb8445BcG4AqPT0KzcFQ== X-Google-Smtp-Source: APiQypKfE9VcQ0FI3X3f55LKexDyh5lk8u2PE5/y8Zxy9zaiyXu99AnS8sU0XyuFHM14mVpHPx82VA== X-Received: by 2002:a2e:8017:: with SMTP id j23mr5967997ljg.271.1586629331207; Sat, 11 Apr 2020 11:22:11 -0700 (PDT) Received: from localhost ([213.191.183.145]) by smtp.gmail.com with ESMTPSA id o16sm3889971ljp.53.2020.04.11.11.22.09 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 11 Apr 2020 11:22:10 -0700 (PDT) From: Iskren Chernev To: linux-arm-msm@vger.kernel.org Cc: Daniele Debernardi , Andy Gross , Bjorn Andersson , Rob Herring , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht Subject: [PATCH v2 4/5] ARM: dts: qcom: msm8974-klte: Add sdhci1 node Date: Sat, 11 Apr 2020 21:21:21 +0300 Message-Id: <20200411182122.2677248-5-iskren.chernev@gmail.com> X-Mailer: git-send-email 2.26.0 In-Reply-To: <20200411182122.2677248-1-iskren.chernev@gmail.com> References: <20200411182122.2677248-1-iskren.chernev@gmail.com> MIME-Version: 1.0 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Daniele Debernardi This introduces the eMMC sdhci node and its pinctrl state Signed-off-by: Daniele Debernardi --- .../boot/dts/qcom-msm8974-samsung-klte.dts | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/arch/arm/boot/dts/qcom-msm8974-samsung-klte.dts b/arch/arm/boot/dts/qcom-msm8974-samsung-klte.dts index 752ab9e99a8c..42fc18804021 100644 --- a/arch/arm/boot/dts/qcom-msm8974-samsung-klte.dts +++ b/arch/arm/boot/dts/qcom-msm8974-samsung-klte.dts @@ -152,6 +152,9 @@ pma8084_l19: l19 { pma8084_l20: l20 { regulator-min-microvolt = <2950000>; regulator-max-microvolt = <2950000>; + + regulator-allow-set-load; + regulator-system-load = <200000>; }; pma8084_l21: l21 { @@ -240,6 +243,35 @@ volume-up { debounce-interval = <15>; }; }; + + pinctrl@fd510000 { + sdhc1_pin_a: sdhc1-pin-active { + clk { + pins = "sdc1_clk"; + drive-strength = <4>; + bias-disable; + }; + + cmd-data { + pins = "sdc1_cmd", "sdc1_data"; + drive-strength = <4>; + bias-pull-up; + }; + }; + }; + + sdhci@f9824900 { + status = "ok"; + + vmmc-supply = <&pma8084_l20>; + vqmmc-supply = <&pma8084_s4>; + + bus-width = <8>; + non-removable; + + pinctrl-names = "default"; + pinctrl-0 = <&sdhc1_pin_a>; + }; }; &spmi_bus {