From patchwork Sun Jan 24 13:56:07 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Iskren Chernev X-Patchwork-Id: 12042373 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=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,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 9DB86C433DB for ; Sun, 24 Jan 2021 13:58:25 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 57897229C5 for ; Sun, 24 Jan 2021 13:58:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726134AbhAXN5j (ORCPT ); Sun, 24 Jan 2021 08:57:39 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40570 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726117AbhAXN5e (ORCPT ); Sun, 24 Jan 2021 08:57:34 -0500 Received: from mail-ej1-x629.google.com (mail-ej1-x629.google.com [IPv6:2a00:1450:4864:20::629]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 714EAC061786; Sun, 24 Jan 2021 05:56:43 -0800 (PST) Received: by mail-ej1-x629.google.com with SMTP id g12so14216493ejf.8; Sun, 24 Jan 2021 05:56:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=oYZGFRrNRJohp3t9IqS0qYQQf/UrbKkxJuhh4Cbw970=; b=iw3mLRFleJw4bB8R1WKx/al6CEdyjMHtjujBhS+18jvwbmf1RXS5phJOZQvYPwSr6z //yN9cw0Llv9YKu2+gA2/zNyLSpXhwGosg13TRnVXC0fq3BfnKaIrVC2p8Qi/E2PbvOk su1ysBxBiUVEerNWIiXrJMTxnpzffxOm8THMGwt0EMYNZ62/uZX9Ubym2far409AaGJN 56Dnf6jA9zfZpslv8cSzMtiPVWMkVBP3eTwusv9bYRG1F5n5KNDky94/0E724EVhPRbO LBRruitoopt6fH4qXCtvtt1XIpmwfNRtwchYToqsk9BeFtT8XNgs0dwiLghLT4walN8x NuPA== 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:mime-version :content-transfer-encoding; bh=oYZGFRrNRJohp3t9IqS0qYQQf/UrbKkxJuhh4Cbw970=; b=D4ObLitlIEIuB+rQg5U7IK1wZq2TvlMzjaeuavtakRtYNYZS9UGKqWYDQ6pXgybPsj tXbwUKAg8c/GXEwJTSRaqjKrtR/M1RP6vVb/JvCv5Uf7MjvtoSOUzbBraJKStl7wGkrq v4Ni31JfbV9BRFduc7jtM1rHz9wU5NWYiBgE2mQO4iFveRjYIpO9QLp2ZI1puvz8u53+ qiKzGmRYOMqb2JPgJAapPWibvzr5z8USlyW29BaEuxQq34xtFE0OR0wvgN9ztvb+x2uD fzcOda1fkCcrfzfvdAWUAoH42/IILkB2xQaUz9A1okhwi7DGhFhfICEr6Ce66O1LwxR0 jn9g== X-Gm-Message-State: AOAM533dhUK6koqnKhtIcXbp9FlSMB61LxvQjQ/isOrehXQAfx/SoJKw QJW1NJo0Gy9GpomeHoRfCok= X-Google-Smtp-Source: ABdhPJxlzW561c7H++Y/tLImi5j+0079Jz6AhnPdyAzuq0w6CYKp5EASSC42NnyG1uzMcmcZeAl8Ww== X-Received: by 2002:a17:906:ae9b:: with SMTP id md27mr893120ejb.357.1611496602189; Sun, 24 Jan 2021 05:56:42 -0800 (PST) Received: from localhost (178-169-161-196.razgrad.ddns.bulsat.com. [178.169.161.196]) by smtp.gmail.com with ESMTPSA id g25sm6995049ejf.15.2021.01.24.05.56.39 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 24 Jan 2021 05:56:41 -0800 (PST) From: Iskren Chernev To: Bjorn Andersson Cc: Andy Gross , Rob Herring , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Iskren Chernev , ~postmarketos/upstreaming@lists.sr.ht, Samuel Pascua , Alexey Minnekhanov , Brian Masney Subject: [PATCH 1/4] ARM: dts: qcom: msm8974: add gpu support Date: Sun, 24 Jan 2021 15:56:07 +0200 Message-Id: <20210124135610.1779295-1-iskren.chernev@gmail.com> X-Mailer: git-send-email 2.30.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org From: Brian Masney Add support for the a3xx GPU Signed-off-by: Brian Masney Signed-off-by: Iskren Chernev Tested-by: Alexey Minnekhanov Reviewed-by: Brian Masney --- Changes in v2: - base set to next-20210122 - add tags from v1 replies - add Signed-off-by: me on first three patches - add commit message to 2nd patch v1: https://lkml.org/lkml/2020/12/30/322 arch/arm/boot/dts/qcom-msm8974.dtsi | 45 +++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) base-commit: 226871e2eda4832d94c3239add7e52ad17b81ce5 diff --git a/arch/arm/boot/dts/qcom-msm8974.dtsi b/arch/arm/boot/dts/qcom-msm8974.dtsi index 51f5f904f9eb9..c399446d8154e 100644 --- a/arch/arm/boot/dts/qcom-msm8974.dtsi +++ b/arch/arm/boot/dts/qcom-msm8974.dtsi @@ -1399,6 +1399,51 @@ cnoc: interconnect@fc480000 { <&rpmcc RPM_SMD_CNOC_A_CLK>; }; + gpu_opp_table: opp_table { + status = "disabled"; + + compatible = "operating-points-v2"; + + opp-800000000 { + opp-hz = /bits/ 64 <800000000>; + }; + + opp-500000000 { + opp-hz = /bits/ 64 <500000000>; + }; + + opp-275000000 { + opp-hz = /bits/ 64 <275000000>; + }; + }; + + gpu: adreno@fdb00000 { + status = "disabled"; + + compatible = "qcom,adreno-330.2", + "qcom,adreno"; + reg = <0xfdb00000 0x10000>; + reg-names = "kgsl_3d0_reg_memory"; + interrupts = ; + interrupt-names = "kgsl_3d0_irq"; + clock-names = "core", + "iface", + "mem_iface"; + clocks = <&mmcc OXILI_GFX3D_CLK>, + <&mmcc OXILICX_AHB_CLK>, + <&mmcc OXILICX_AXI_CLK>; + sram = <&gmu_sram>; + power-domains = <&mmcc OXILICX_GDSC>; + operating-points-v2 = <&gpu_opp_table>; + + interconnects = <&mmssnoc MNOC_MAS_GRAPHICS_3D &bimc BIMC_SLV_EBI_CH0>, + <&ocmemnoc OCMEM_VNOC_MAS_GFX3D &ocmemnoc OCMEM_SLV_OCMEM>; + interconnect-names = "gfx-mem", + "ocmem"; + + // iommus = <&gpu_iommu 0>; + }; + mdss: mdss@fd900000 { status = "disabled"; From patchwork Sun Jan 24 13:56:08 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Iskren Chernev X-Patchwork-Id: 12042379 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=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,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 405D4C433DB for ; Sun, 24 Jan 2021 13:59:02 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 160D322CA2 for ; Sun, 24 Jan 2021 13:59:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726126AbhAXN6z (ORCPT ); Sun, 24 Jan 2021 08:58:55 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40582 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726035AbhAXN5h (ORCPT ); Sun, 24 Jan 2021 08:57:37 -0500 Received: from mail-ej1-x634.google.com (mail-ej1-x634.google.com [IPv6:2a00:1450:4864:20::634]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3CE08C061788; Sun, 24 Jan 2021 05:56:46 -0800 (PST) Received: by mail-ej1-x634.google.com with SMTP id hs11so14237451ejc.1; Sun, 24 Jan 2021 05:56:46 -0800 (PST) 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=DcVySy0XdLlShiYBkJyH9r+svRLETjB/758IrdVCUQ0=; b=sRvCQMEzzE/rcPEwO9JxEjc4blKuTSKWw62oRdYu7PebCMyviACPhLNtz8OpgaXPoW asTKq8uqS9AzeM+oMgr3dLKiOvSLqq8lECZglvcxOpieCehifS7iScXB94QYMYdPlGFg K3sjb13jztf/kFIMuAB3BLw1ZS8CBdffWXI5LNdC321XOo+Ngij6jdd4d7sQ6Gf8ANZH dF45R4aLfSvghawX2cyNoSnSHqN7Y/NyQ6YxiHykQhbj5bfakpdtErK/Xte6k0qzMyzV IvfT7JehgK5hDL8f6VqgkbE9KBvnQvNmdafhw6zicMFnZnNOk6kSButmUNft0J1FwWDt uRKw== 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=DcVySy0XdLlShiYBkJyH9r+svRLETjB/758IrdVCUQ0=; b=nnBLw90BezEufRl3FTgEPmBk0tjtZoWjXYR2+kzo4H41MMcO6VxaYAVKWPrzYSGZDF qgPi0iIe4A34ut3W9SQ7fR20xE3/pGykS3lFOkjYQfPoj+SGgIL5oyQd3bR6tp10NeSW eeET5eXt3rTXcMo72oKcJAl2zNwWEsqnbTP7Rfi51yEHE8XLF0G57GMe8/AJQ78I4Q2s EJRu+egdco5qEqd9/Iogicfka7BcMICTuyGTkHGACv0+rhGNagHDQQQgRkl3KLk1SexZ iJTPml/xXD4bD62R3sY2MolWNmMtuWWS/48UbEz+9HchO5HLEExuEpG+JapGaao0lm6R 4m1Q== X-Gm-Message-State: AOAM533CReovtol2C7/PBqIV6pyBf4XB+bor2jz7aIy2Oli+R7ukljQK crwC9p2JAXg2jRePIt6BkOE= X-Google-Smtp-Source: ABdhPJzb3Ro1ID4ggk5LvOAS1cwIQ+TLrtPFSB9pPSml9g5pVyZb85FdzyzChKrnD2J76KSr1qn1dw== X-Received: by 2002:a17:906:dfd3:: with SMTP id jt19mr335281ejc.64.1611496605019; Sun, 24 Jan 2021 05:56:45 -0800 (PST) Received: from localhost (178-169-161-196.razgrad.ddns.bulsat.com. [178.169.161.196]) by smtp.gmail.com with ESMTPSA id j27sm2060338ejb.102.2021.01.24.05.56.43 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 24 Jan 2021 05:56:44 -0800 (PST) From: Iskren Chernev To: Bjorn Andersson Cc: Andy Gross , Rob Herring , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Iskren Chernev , ~postmarketos/upstreaming@lists.sr.ht, Samuel Pascua , Alexey Minnekhanov Subject: [PATCH 2/4] ARM: dts: qcom: msm8974-klte: add support for GPU Date: Sun, 24 Jan 2021 15:56:08 +0200 Message-Id: <20210124135610.1779295-2-iskren.chernev@gmail.com> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20210124135610.1779295-1-iskren.chernev@gmail.com> References: <20210124135610.1779295-1-iskren.chernev@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org From: Samuel Pascua Enable adreno and opp_table dt nodes. Signed-off-by: Samuel Pascua Signed-off-by: Iskren Chernev Tested-by: Alexey Minnekhanov --- arch/arm/boot/dts/qcom-msm8974-samsung-klte.dts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/qcom-msm8974-samsung-klte.dts b/arch/arm/boot/dts/qcom-msm8974-samsung-klte.dts index f23d1002b8f8b..5a7ac4a31031f 100644 --- a/arch/arm/boot/dts/qcom-msm8974-samsung-klte.dts +++ b/arch/arm/boot/dts/qcom-msm8974-samsung-klte.dts @@ -697,6 +697,14 @@ fuelgauge@36 { pinctrl-0 = <&fuelgauge_pin>; }; }; + + opp_table { + status = "ok"; + }; + + adreno@fdb00000 { + status = "ok"; + }; }; &spmi_bus { From patchwork Sun Jan 24 13:56:09 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Iskren Chernev X-Patchwork-Id: 12042377 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=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,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 0ED37C433E6 for ; Sun, 24 Jan 2021 13:59:02 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id DCB6022CAF for ; Sun, 24 Jan 2021 13:59:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725838AbhAXN6w (ORCPT ); Sun, 24 Jan 2021 08:58:52 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40584 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726124AbhAXN5i (ORCPT ); Sun, 24 Jan 2021 08:57:38 -0500 Received: from mail-ej1-x634.google.com (mail-ej1-x634.google.com [IPv6:2a00:1450:4864:20::634]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 49BBFC06178A; Sun, 24 Jan 2021 05:56:49 -0800 (PST) Received: by mail-ej1-x634.google.com with SMTP id l9so14216671ejx.3; Sun, 24 Jan 2021 05:56:49 -0800 (PST) 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=ziK2Od2k39Z62ncVmgdUDN/de74gT1B9UQQ5KttbPwk=; b=nGexK3ZAEiFbkpyNHkEpsGfKLLmspMfAELdTaIUSa0ciaX7hId3I1h5s2S1v2EaDJ7 VNuVuQmYA/iT7Np9tjfl2r69q9hLViosamlVGzVWI+jUQ5zunz8WhojVUakF/aX7gX3Y oThdFKLi+VjTrM+HFQyHQPvCQiJF66R++oz6DcKa2Za19pSuASaddoyQ3G0eB9ELN3GI nJ1HFVSpdS0F4Zb7Gc5HVjEPesEx8DCUe58k615eSZkKMwdAED4Bh5+LFNKOpi8PWvPR qsv/SRJtSvzCxaKRBvXi9TX/n6AW9TLwPLZMT0mQ7JdsSI5evErv/Q0XMLvRT/SexfNu 6myw== 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=ziK2Od2k39Z62ncVmgdUDN/de74gT1B9UQQ5KttbPwk=; b=oR9qGKlPcE45ecMm7Hi+9Q/U7NnuIQFNzmMEeZHAntSRgZ4KwADW+c+Y/s35iQaR0p /lG7yWe/nUHJw8tYskYrFUEhqifFgiRV5rAU32famC+k6UUq3oUSMHbfW84GJh/0EmND 34IT18Rr9ApqSeGWn+NId0/aQ8IuBZa3ELTZFLx8zpMlMzdOv6s0kxygHHxcSxZ+wBOo Dj1gi1SKNs7chn8zW0aSbE9vAczKjwRbY6PA/ozZJ5752H1/tNTNGziUav/FLcA9Ay4y PJAlRJfc6b7uIFbxZHiNS43brz15PNg1E6SCPQOx56RoVkFEJo9o2U9eSS1874kcK0lD 3HHA== X-Gm-Message-State: AOAM533JMG8IxNHxjlgwE9E64LB25l+oxf/athqGxL8fjBlgOGzweDG+ 2hydV93qeA0ApjifrsVLRyE= X-Google-Smtp-Source: ABdhPJzCXjZv6hFHMQTSxsoKykipYCpu6HMEGcJD4XhxFVqcVX4M+XcEs1rVwGVJqKfxeMgmK3FqsQ== X-Received: by 2002:a17:906:19c3:: with SMTP id h3mr887147ejd.429.1611496608116; Sun, 24 Jan 2021 05:56:48 -0800 (PST) Received: from localhost (178-169-161-196.razgrad.ddns.bulsat.com. [178.169.161.196]) by smtp.gmail.com with ESMTPSA id k26sm952169eds.41.2021.01.24.05.56.46 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 24 Jan 2021 05:56:47 -0800 (PST) From: Iskren Chernev To: Bjorn Andersson Cc: Andy Gross , Rob Herring , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Iskren Chernev , ~postmarketos/upstreaming@lists.sr.ht, Samuel Pascua , Alexey Minnekhanov Subject: [PATCH 3/4] ARM: dts: qcom: msm8974-klte: add support for display Date: Sun, 24 Jan 2021 15:56:09 +0200 Message-Id: <20210124135610.1779295-3-iskren.chernev@gmail.com> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20210124135610.1779295-1-iskren.chernev@gmail.com> References: <20210124135610.1779295-1-iskren.chernev@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org From: Samuel Pascua Add initial support for the display found on the Samsung Galaxy 5 (klte) phone. This is based on work from Jonathan Marek & Brian Masney. Signed-off-by: Samuel Pascua Signed-off-by: Iskren Chernev --- .../boot/dts/qcom-msm8974-samsung-klte.dts | 58 +++++++++++++++++++ 1 file changed, 58 insertions(+) diff --git a/arch/arm/boot/dts/qcom-msm8974-samsung-klte.dts b/arch/arm/boot/dts/qcom-msm8974-samsung-klte.dts index 5a7ac4a31031f..19c96b47a5dbd 100644 --- a/arch/arm/boot/dts/qcom-msm8974-samsung-klte.dts +++ b/arch/arm/boot/dts/qcom-msm8974-samsung-klte.dts @@ -453,6 +453,16 @@ int { bias-pull-down; }; }; + + panel_pin: panel { + te { + pins = "gpio12"; + function = "mdp_vsync"; + + drive-strength = <2>; + bias-disable; + }; + }; }; sdhc_1: sdhci@f9824900 { @@ -705,6 +715,54 @@ opp_table { adreno@fdb00000 { status = "ok"; }; + + mdss@fd900000 { + status = "ok"; + + mdp@fd900000 { + status = "ok"; + }; + + dsi@fd922800 { + status = "ok"; + + vdda-supply = <&pma8084_l2>; + vdd-supply = <&pma8084_l22>; + vddio-supply = <&pma8084_l12>; + + #address-cells = <1>; + #size-cells = <0>; + + ports { + port@1 { + endpoint { + remote-endpoint = <&panel_in>; + data-lanes = <0 1 2 3>; + }; + }; + }; + + panel: panel@0 { + reg = <0>; + compatible = "samsung,s6e3fa2"; + + pinctrl-names = "default"; + pinctrl-0 = <&panel_pin>; + + port { + panel_in: endpoint { + remote-endpoint = <&dsi0_out>; + }; + }; + }; + }; + + dsi-phy@fd922a00 { + status = "ok"; + + vddio-supply = <&pma8084_l12>; + }; + }; }; &spmi_bus { From patchwork Sun Jan 24 13:56:10 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Iskren Chernev X-Patchwork-Id: 12042375 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=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,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 E62DDC43381 for ; Sun, 24 Jan 2021 13:58:25 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id C0C2322B43 for ; Sun, 24 Jan 2021 13:58:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726167AbhAXN54 (ORCPT ); Sun, 24 Jan 2021 08:57:56 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40590 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726127AbhAXN5j (ORCPT ); Sun, 24 Jan 2021 08:57:39 -0500 Received: from mail-ej1-x62b.google.com (mail-ej1-x62b.google.com [IPv6:2a00:1450:4864:20::62b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8312EC06178B; Sun, 24 Jan 2021 05:56:52 -0800 (PST) Received: by mail-ej1-x62b.google.com with SMTP id by1so14239249ejc.0; Sun, 24 Jan 2021 05:56:52 -0800 (PST) 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=aTj+3LRHlPTMkRPTqwqbdcRuQaEmUjPAcJHSK59V7eE=; b=TgIPmOlIH01hQEsYLswEntf3+gTcgZv0o43D6l8n6fjBzRsxFtebQN4mutAT2ZHwW+ coLaDTGkQE8YRFX8xcQwCA6Jf83L1nrgnvp/G5UY/nF87hC2cUddRDMxSA1es0qtYJys laSM/3ov9ihJj6ulsPig+YCLqcgxHqMY7MP0t/lj+UKdGPj1j8K4Wz/TBx7p9e4fOq4A Zapj2UDbISzXTprXn2nWqYKVXRn3PEBI9aBsDnwyc9d+mkAigGRFDXjZrdxjD948ZkiY SNAWEXxyT3xyPRj9pCpTaxQTXTkEkqToUFAiE98IS1o8Aum1zaZX8s22BYN7WL0lNzW4 BiAw== 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=aTj+3LRHlPTMkRPTqwqbdcRuQaEmUjPAcJHSK59V7eE=; b=Xec8DEMRqnDpSknsjBqfQcre13yJc+z+soU+yyERPvsTJ91FkjveS6jZegF1gjgrdU IrwRiVw32A0++2gCjL6GBpOAEa1uW1llLQUD1iHlXaZTRrViW/uPhoBVmGg/Nu/9Z/H9 0v3Dxjl4uk7HNeOAqNqYvPuw8Mn+T4IKk53DqjwHowdXRn7oqvtnfhw+bzn3G+cIcbkc 4Q3tfYtQUlPtJVTRD63Ta9gqwbUxKIkNwlnz5L6+d0xVF+sbcIvNRGb0TVN7uW+2zono S0JtuyJdyClFvOsnnTFRWcwb+AOVJKqzkoJonWZuozsl8WMZNvFI+BQzCNnEN0z00l5E Ob2A== X-Gm-Message-State: AOAM533pnX1tIYCdNjVrVkJFeyKJ6wPzAnRtm9jrG5l+1S3eaYhJNUCI 1d/7dRZCwBGqpyOpG5ybaHY= X-Google-Smtp-Source: ABdhPJzlSsvl6ptXhJwb/5k0iM8/bKA8Bici88RxgfbYGtIFRg6cWhKVTw3+eR0aTA9/4F3ol2glGQ== X-Received: by 2002:a17:906:1741:: with SMTP id d1mr773792eje.182.1611496611284; Sun, 24 Jan 2021 05:56:51 -0800 (PST) Received: from localhost (178-169-161-196.razgrad.ddns.bulsat.com. [178.169.161.196]) by smtp.gmail.com with ESMTPSA id k27sm6965635eje.67.2021.01.24.05.56.49 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 24 Jan 2021 05:56:50 -0800 (PST) From: Iskren Chernev To: Bjorn Andersson Cc: Andy Gross , Rob Herring , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Iskren Chernev , ~postmarketos/upstreaming@lists.sr.ht, Samuel Pascua , Alexey Minnekhanov Subject: [PATCH 4/4] ARM: dts: qcom: msm8974-klte: Mark essential regulators Date: Sun, 24 Jan 2021 15:56:10 +0200 Message-Id: <20210124135610.1779295-4-iskren.chernev@gmail.com> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20210124135610.1779295-1-iskren.chernev@gmail.com> References: <20210124135610.1779295-1-iskren.chernev@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org s1 and l12 regulators are used for the memory and cache on the Samsung S5 (klte). If they are turned off the phone shuts down. So mark them as always-on to prevent that from happening. Signed-off-by: Iskren Chernev Tested-by: Alexey Minnekhanov Reviewed-by: Konrad Dybcio --- arch/arm/boot/dts/qcom-msm8974-samsung-klte.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/qcom-msm8974-samsung-klte.dts b/arch/arm/boot/dts/qcom-msm8974-samsung-klte.dts index 19c96b47a5dbd..27323403aa71d 100644 --- a/arch/arm/boot/dts/qcom-msm8974-samsung-klte.dts +++ b/arch/arm/boot/dts/qcom-msm8974-samsung-klte.dts @@ -30,6 +30,7 @@ pma8084-regulators { pma8084_s1: s1 { regulator-min-microvolt = <675000>; regulator-max-microvolt = <1050000>; + regulator-always-on; }; pma8084_s2: s2 { @@ -115,6 +116,7 @@ pma8084_l11: l11 { pma8084_l12: l12 { regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; + regulator-always-on; }; pma8084_l13: l13 {