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: 355294 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: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: 355295 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 {