From patchwork Wed Dec 30 15:51:29 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Iskren Chernev X-Patchwork-Id: 11993375 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 94B4EC433E6 for ; Wed, 30 Dec 2020 15:52:24 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 6B7F6221F8 for ; Wed, 30 Dec 2020 15:52:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726561AbgL3PwX (ORCPT ); Wed, 30 Dec 2020 10:52:23 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37850 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726420AbgL3PwX (ORCPT ); Wed, 30 Dec 2020 10:52:23 -0500 Received: from mail-ej1-x632.google.com (mail-ej1-x632.google.com [IPv6:2a00:1450:4864:20::632]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DEC3EC06179B; Wed, 30 Dec 2020 07:51:42 -0800 (PST) Received: by mail-ej1-x632.google.com with SMTP id lt17so22391855ejb.3; Wed, 30 Dec 2020 07:51:42 -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=kXDPufsV/CJlhPK091V+/kgxs0loRtpY8e0jDMSC9UU=; b=U9fVpPIwoEg5IMxL7DQjkJxhIbf7p13gmiST+pWTqUE379YZJA93O6agfMpYqoCFMs QqSwthaLzb06et0jj4mXT0rMIO+MWoue5IqCSJbC7KiNtLckt3la+KWVfLQ+m+UAHgGb ZJk3xncARWvGSBNWh4yvYf7/1pX0rIZLcny4KMtHcEQtgN+XdIrSkTOBDW9wGyYDipUM 3ZeVvQoyx1rr3opPS+DuUhT/2pkc/pu4Fa8wxEccXiexOAvnlmVfIKl+gOEYqHX2LhEV 0f60P//6bJBBS2NLBPlM2uq4ZPDDh0DmfdFzIuFUB7gLfF+HQ8GDLUWysssKA/BHlKqU eH3w== 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=kXDPufsV/CJlhPK091V+/kgxs0loRtpY8e0jDMSC9UU=; b=a5jeeAZWkccv3dezlHWgsU5uAEhWI9Vg7kf9Kl6fHzixpFKoIEbOghPzzQDwcuRQOy kYD+vDSzlnfofxmSrXnCKcpeB9ZlSZAj5qgobbAsZxZcZAQUXbTbugPWEPwuvN+IncHq tsz5G5Hs2/PojfvNeYUHR4xoWj9TaIQofvfGDEDWWS2o+tcnjcILJOc6wOdbzPy4VkhU tytqifAAqH79iU0M8Z0ridV7UAi3XbUY0YgH5nFwNQW5+yaCG1Bn1q1cT5GbabB4xDvw WzphX1n9whypwbvB5hAEicIMzgp4Kbg7OXFHV6yPQBB5itdGJuozz7wzPab3QNkyF/7E Z1Ug== X-Gm-Message-State: AOAM533r3WCVyhun8zGQGUoVImICcIingrb6AozYWS80HzVzYfNrTHh/ FQ017GmLjcY1ruTc0KmC+3w= X-Google-Smtp-Source: ABdhPJy6NpVN8AMBKK45PHRfNCxHZXoWSu6SVHE2UoWggd+lqZ/Ai3gzAewYypvjRfZtZvaE1vuSGQ== X-Received: by 2002:a17:906:e18:: with SMTP id l24mr48340138eji.434.1609343501664; Wed, 30 Dec 2020 07:51:41 -0800 (PST) Received: from localhost (178-169-161-196.razgrad.ddns.bulsat.com. [178.169.161.196]) by smtp.gmail.com with ESMTPSA id u9sm38183530edd.54.2020.12.30.07.51.40 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 30 Dec 2020 07:51: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, Brian Masney Subject: [PATCH 1/4] ARM: dts: qcom: msm8974: add gpu support Date: Wed, 30 Dec 2020 17:51:29 +0200 Message-Id: <20201230155132.3661292-1-iskren.chernev@gmail.com> X-Mailer: git-send-email 2.29.2 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 Reviewed-by: Brian Masney Tested-by: Alexey Minnekhanov --- arch/arm/boot/dts/qcom-msm8974.dtsi | 45 +++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) base-commit: d7a03a44a5e93f39ece70ec75d25c6088caa0fdb prerequisite-patch-id: aba6f684932cab35d98457c21e4ff7a5ac75c753 prerequisite-patch-id: 4884d57df1bd197896b69e115d9002d6c26ae2e2 prerequisite-patch-id: 4f1aba3c3675236b18578eedbe71b0cdca01ed77 prerequisite-patch-id: cbfe6ccfebb142370baff15bbdf3cf2f34ee77df 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 Wed Dec 30 15:51:30 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Iskren Chernev X-Patchwork-Id: 11993381 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 B1BEAC43331 for ; Wed, 30 Dec 2020 15:52:42 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 9A2A622227 for ; Wed, 30 Dec 2020 15:52:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726634AbgL3PwZ (ORCPT ); Wed, 30 Dec 2020 10:52:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37856 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726618AbgL3PwZ (ORCPT ); Wed, 30 Dec 2020 10:52:25 -0500 Received: from mail-ed1-x52e.google.com (mail-ed1-x52e.google.com [IPv6:2a00:1450:4864:20::52e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E4AC6C06179C; Wed, 30 Dec 2020 07:51:44 -0800 (PST) Received: by mail-ed1-x52e.google.com with SMTP id cw27so15800503edb.5; Wed, 30 Dec 2020 07:51:44 -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=ol1q4dlbvhx/wO6o6Grs7pMEajs78gHmFv1Ju892Cas=; b=Vx9Vhq1ioRdYuzYn1zkjvACKYd7ECwr7xmKNrK7xG4DT65lYJrr3YfHJCmCWFkUYys 9KBMeRCbEfeBHuIdiFjCaUDMeLMOkH9qmlnwf9sEEkSFOD84fDni5YlrpKFY6Rk/Gd3C arQkpteKiZj4kuD0SboPcRDm4pBiEQajYW1sVJOX2gCyWNYNtWaYZUq6Day1tD2pbZow nf6vur9jAyUoPHeXHhV6pgsJE2RULDSDrJkA1jMw+aECw8IeZokPXd4lLEgULtQvUStX W81eHOARzy6yTuIxD5cUcLLlCDDDMy3sk1AXap4epa3hRcrPynrayzWpywiAwlLvfBlF eDEA== 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=ol1q4dlbvhx/wO6o6Grs7pMEajs78gHmFv1Ju892Cas=; b=Rrq72tZbLtzczbBlLq9F0Q8U+TatCFpkyiCSEGHsC3e7LYeoLS0LTfldX/kEFZU6Ll 7Qq3MPP8npdwfeh8K9R6CaSYUOrmCiCzlbIG6gGT3MUDmBE8aR1IePch2D65IRc2teac JPr6BZKhFNw3hPHlilgKU+wUUSpJVIt0lfLsQEQ+6yhYyVMRvGYPAEGgzxwzMd9Ed46p Y1rooA7KyaxHMf1cWFOwMsRZ3waBWujmZuKl531BuSqvEAcIKVDXMmgIyumEJeEb5RTa ZHO2VaATmxj3mpF43xMU12dRt4TyYv3n52w+U07lFn4h+LOdMzyYeX6ymj7MLg+agUJf gEVg== X-Gm-Message-State: AOAM531As8xg24vn9fHGSc0Yut4r8HBfdV6TTsKsxpmfBEZ13oNDPjgf sQkpABTy2mLlGeMtKG7E1bw= X-Google-Smtp-Source: ABdhPJxsXDQElM5jtxsixe7oB9UJIlUl4wxTMdZ1MiexrFX1PjfZ+qU34iTCaFYyvlR6fqtFZlhIRg== X-Received: by 2002:a50:cd8c:: with SMTP id p12mr50360798edi.380.1609343503761; Wed, 30 Dec 2020 07:51:43 -0800 (PST) Received: from localhost (178-169-161-196.razgrad.ddns.bulsat.com. [178.169.161.196]) by smtp.gmail.com with ESMTPSA id mb22sm19201510ejb.35.2020.12.30.07.51.42 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 30 Dec 2020 07:51:43 -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 Subject: [PATCH 2/4] ARM: dts: qcom: msm8974-klte: add support for GPU Date: Wed, 30 Dec 2020 17:51:30 +0200 Message-Id: <20201230155132.3661292-2-iskren.chernev@gmail.com> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201230155132.3661292-1-iskren.chernev@gmail.com> References: <20201230155132.3661292-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 Signed-off-by: Samuel Pascua --- 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 97352de913142..1d5e8abdbda79 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 Wed Dec 30 15:51:31 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Iskren Chernev X-Patchwork-Id: 11993379 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 9841DC4332B for ; Wed, 30 Dec 2020 15:52:42 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 6D7F320575 for ; Wed, 30 Dec 2020 15:52:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726670AbgL3Pw3 (ORCPT ); Wed, 30 Dec 2020 10:52:29 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37864 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726620AbgL3Pw1 (ORCPT ); Wed, 30 Dec 2020 10:52:27 -0500 Received: from mail-ed1-x531.google.com (mail-ed1-x531.google.com [IPv6:2a00:1450:4864:20::531]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0A265C06179E; Wed, 30 Dec 2020 07:51:47 -0800 (PST) Received: by mail-ed1-x531.google.com with SMTP id dk8so15816616edb.1; Wed, 30 Dec 2020 07:51: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=PJJInI7wBuVv4xqlSgE+mNdVh9iMJlH0WswEWg8D/PU=; b=KwN6G15ZWlKH5J3UT9XbuxBz7S3oQy2J1xu/zTcbRz4FQEduQ0Ks4SGu0bXog9p1c6 M7FlgwHMopVM9YfqzHfqfHZ2E2ios/h+B0Ll5v3AIokdqPBJaWgLEecxCI/9FQ26lWb7 d3q/ePQSzxYkPwoew8QAer0kcWL9fYgHmdwbuZF3BxymkccewHEQBAnv//YSOzchMNLv ozaYqY5vYYKFAfukukkO7oOEgsa3T2GSGq39qWSwYE5eFOGCvbFSom4qsg9CbNpBZcxH cx/5vyVuKDpwCUxPy69kDF549iakuoD6+5AJQVkXK2wuDfoTkcH6HhKtzbxdFzFvoCMg shCw== 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=PJJInI7wBuVv4xqlSgE+mNdVh9iMJlH0WswEWg8D/PU=; b=ABfomj8PgrtDgraDX72lyo9VpD5JSoT5YPrKTNzZrRnIUM4sR5uqCzK7iNMx/Q0gEc cNZ4mEB+b9AYFcZVau4CHysVIR9cHk/6ocLKDNQaLHd7zVqw/Q2jyFNklN7E3ybtccIg emxHp4bjgMDy8UAOjtSdN2283JcUt+yt628tyItj1aVVRqN3BAozZfFYiQQFbubx5aJ9 qssBUl1dEMxj94ohmJpKFsbn7X6LGPIlytDWde3Q2VUQFyDWxWSzwkZYIWcV+XznHNZJ bs/c/dgxii8W+9wIlYf8YT1ewCxKhb9oNj3G7QGB07APs05nmyN5SDuJ6Cn2IBu6ycQn 6hMQ== X-Gm-Message-State: AOAM530ZvzxpCsr55qgkVyjWQi4ksCubnv62cwvy381zSBC5EIWsADhr W0+vzIAJl738dT+EvIlcSuA= X-Google-Smtp-Source: ABdhPJxgfIx3Tw2D/2EKsChW1Mu3DLWEEk4XFIPwZA2wtr46FA2IM3rdBEoyta1bAN8fMsVo2Za5Cg== X-Received: by 2002:a05:6402:c95:: with SMTP id cm21mr51336368edb.294.1609343505770; Wed, 30 Dec 2020 07:51: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 j23sm25028276edv.45.2020.12.30.07.51.44 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 30 Dec 2020 07:51:45 -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 Subject: [PATCH 3/4] ARM: dts: qcom: msm8974-klte: add support for display Date: Wed, 30 Dec 2020 17:51:31 +0200 Message-Id: <20201230155132.3661292-3-iskren.chernev@gmail.com> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201230155132.3661292-1-iskren.chernev@gmail.com> References: <20201230155132.3661292-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. Please note that this patch depends on dt-binding patch in [1] [1] https://lkml.org/lkml/2020/12/30/293 Signed-off-by: Samuel Pascua --- .../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 1d5e8abdbda79..8b7e95b748e39 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 Wed Dec 30 15:51:32 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Iskren Chernev X-Patchwork-Id: 11993377 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 6484FC433E9 for ; Wed, 30 Dec 2020 15:52:42 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3B63620575 for ; Wed, 30 Dec 2020 15:52:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726699AbgL3Pw3 (ORCPT ); Wed, 30 Dec 2020 10:52:29 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37870 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726663AbgL3Pw3 (ORCPT ); Wed, 30 Dec 2020 10:52:29 -0500 Received: from mail-ej1-x632.google.com (mail-ej1-x632.google.com [IPv6:2a00:1450:4864:20::632]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0DB77C06179F; Wed, 30 Dec 2020 07:51:49 -0800 (PST) Received: by mail-ej1-x632.google.com with SMTP id g20so22427673ejb.1; Wed, 30 Dec 2020 07:51:48 -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=/CVVrMoxE3W4IljH+OgN5mAqRE97PmzCJjXIuNVckOA=; b=u/QSe9H+IKv0T51c+/xpAzDI5Xm0mqIDeX9PFw4vmufDSEDPnYSSJ61yyQ+FL4Q/sJ Z7rcw9MykYm+jC64jjXLux2hrhGPiNZ9aKmove94VDvTZkMApW7iFmNLCYL6xskRjouH FRqq8cS4Vq9a/+7za/zoCT/Zt5J6tP3O3SOgCFSN/zegysNDFI/WBIPgjEf3Rkrmmoff g48HEubjCcgRVDZX7nUy/gNseueyaiA3yD1G49kd2oa7KiAtu66A1a3cxkLpKsDlHeBt yhHp9vSvM0pPykmh4hjuHPdyoaAiYT9QRLuGJ0W8+PK+CjMSLc+pFkDQqFp17PPjMPjF CzPw== 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=/CVVrMoxE3W4IljH+OgN5mAqRE97PmzCJjXIuNVckOA=; b=VH10ZV92oE6nVzkoOlkg1tB51TrDi/+7UkLLKuoC/6aTPNxSdQaJIZcSrkFVGDaKCK PTvc4MR57xxi8v2RPX4HrwT9vJOp0WjOWZ5ow/mYrC0dl5nSQ87XYWjfOU5Ob+pLJT7I dlwpfIjFFC8YHO80xT8QtWXTlrzKsajSCmRbksp3ysUoNi4zqWLur8uhrY3iShdeVvNH 8rcuOUXWD6fz+zaYi+Hueda9qOV8j5bhV3J2213iUNMJj1Z1YpbbJ85BUTdkPXIXv6g8 66rNl+zTlivhU9xhBeV3xC0VDXIjIs8klXtau3XM3Gk3EogfZvmcLiSeCrkZWOKkkR1w /3rA== X-Gm-Message-State: AOAM532eJDqmOy5iPcpTHmtQvDLgGWmkQSoFJpPD4IiHSG7UpTgCDojj wi8qHi0kFL+cOOe1onPX0rI= X-Google-Smtp-Source: ABdhPJyWwIeIafAGQK5MrAbOvQcR4wxfgtk3TRWDMl5gFk52KNb2edC0M1ezJumYTKbDgUp0SbdRHQ== X-Received: by 2002:a17:906:7f83:: with SMTP id f3mr39494172ejr.282.1609343507851; Wed, 30 Dec 2020 07:51:47 -0800 (PST) Received: from localhost (178-169-161-196.razgrad.ddns.bulsat.com. [178.169.161.196]) by smtp.gmail.com with ESMTPSA id j22sm19165064ejy.106.2020.12.30.07.51.46 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 30 Dec 2020 07:51: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 Subject: [PATCH 4/4] ARM: dts: qcom: msm8974-klte: Mark essential regulators Date: Wed, 30 Dec 2020 17:51:32 +0200 Message-Id: <20201230155132.3661292-4-iskren.chernev@gmail.com> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201230155132.3661292-1-iskren.chernev@gmail.com> References: <20201230155132.3661292-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 --- 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 8b7e95b748e39..7291b858c2c53 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 {