From patchwork Fri Dec 13 05:17:19 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 11289991 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 16F8B14B7 for ; Fri, 13 Dec 2019 05:17:28 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id E9CB92253D for ; Fri, 13 Dec 2019 05:17:27 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="fQ7IVTGG" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732021AbfLMFRY (ORCPT ); Fri, 13 Dec 2019 00:17:24 -0500 Received: from mail-pj1-f65.google.com ([209.85.216.65]:43279 "EHLO mail-pj1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725875AbfLMFRY (ORCPT ); Fri, 13 Dec 2019 00:17:24 -0500 Received: by mail-pj1-f65.google.com with SMTP id g4so684649pjs.10 for ; Thu, 12 Dec 2019 21:17:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Dqy/QJc+oAc3Pxm6PYdZfNowES2QjcoSqMXPASTC9bA=; b=fQ7IVTGGzOAEHEHDike9EbOXDYgyyH8SgqW8MpEv4RvmXds7m5DItzvv90k1mA4AWU r0B99PPCANcjubVxR2JlNYr5ZVZp4vStws8TElJuPAvjd+WnaPjr0dkaaY7cn00j+gqJ wAZQhF8azeNbXTv67uYl1GWU8uaGgve3/lqC9FzGZz9Xz2/3mkJ2BG++W4qBGsAHtdNE hb4QoCCe0pvpf4/wIvEsrEhQRDLtmbonK1QpB1Kr4ekgAmlwqFR8+NUaqj0MtM/dHkx4 L1k5QYPsj5zarkYoHe4J7UvE+YXDfAeLfbzO7ceU+HlSoOslqyqxTqG7TJrxjSKyaAdB lSCQ== 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=Dqy/QJc+oAc3Pxm6PYdZfNowES2QjcoSqMXPASTC9bA=; b=lGVj2/R9eCaty2PaS1M/GvjD7k6mwmPfLez9E9y+YZvi9Uyv8RQS2jLMy3jYeA97jb dciM/K1RX2I1f2MVbfUqLyp3dzElSxo3WNZL4+EjOdgykr6nQ+bmMJbQiY4ffIAcIqk+ hJ2ko/4OrKb2LMCKM9N3szCCLjbSE1I47fzM/Aehgjm7S3VRHYaL8r4aDScxoAlPzupj lsdbU7FJIuVct4NSh73PHfrBkmoMrMvCotSO3/FrgcsM+bZdxd5Imo8Wb9Z91ws1J/AC MhNWvRHuMBNK0x5cosJOWnm4hg24l2oNUptvh+l3ba0F/T6xkAeCJPcf0cXmLzPGXQBs YB7A== X-Gm-Message-State: APjAAAUD9qIUs0wo7pnegg0fJw1HGBTN4dTmrxEhZ4hU5Yao0pEobvC/ Tt5TRDNLt3mERW5s7t2m8OMylg== X-Google-Smtp-Source: APXvYqw0GCGyKVbRAws7+exdzFyQp9oKPWroXC4euAviWcWLLtamSORnI4MfqTWy17WmSxdzhWGTFg== X-Received: by 2002:a17:90b:30c4:: with SMTP id hi4mr14596181pjb.62.1576214243274; Thu, 12 Dec 2019 21:17:23 -0800 (PST) Received: from localhost.localdomain (104-188-17-28.lightspeed.sndgca.sbcglobal.net. [104.188.17.28]) by smtp.gmail.com with ESMTPSA id g9sm9862109pfm.150.2019.12.12.21.17.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Dec 2019 21:17:22 -0800 (PST) From: Bjorn Andersson To: Andy Gross , Bjorn Andersson Cc: Rob Herring , Mark Rutland , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] ARM: dts: msm8974: castor: Define pm8841 regulators Date: Thu, 12 Dec 2019 21:17:19 -0800 Message-Id: <20191213051719.3688771-1-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Define the pm8841 regulators under SMD/RPM, to allow the modem remoteproc to set the voltage during boot of the remote processor. Entries are just copied from the Honami dts. Signed-off-by: Bjorn Andersson --- .../dts/qcom-msm8974-sony-xperia-castor.dts | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/arch/arm/boot/dts/qcom-msm8974-sony-xperia-castor.dts b/arch/arm/boot/dts/qcom-msm8974-sony-xperia-castor.dts index 701b396719c7..4655e7941232 100644 --- a/arch/arm/boot/dts/qcom-msm8974-sony-xperia-castor.dts +++ b/arch/arm/boot/dts/qcom-msm8974-sony-xperia-castor.dts @@ -56,6 +56,28 @@ smd { rpm { rpm_requests { + pm8841-regulators { + s1 { + regulator-min-microvolt = <675000>; + regulator-max-microvolt = <1050000>; + }; + + s2 { + regulator-min-microvolt = <500000>; + regulator-max-microvolt = <1050000>; + }; + + s3 { + regulator-min-microvolt = <500000>; + regulator-max-microvolt = <1050000>; + }; + + s4 { + regulator-min-microvolt = <500000>; + regulator-max-microvolt = <1050000>; + }; + }; + pm8941-regulators { vdd_l1_l3-supply = <&pm8941_s1>; vdd_l2_lvs1_2_3-supply = <&pm8941_s3>;