From patchwork Mon Jan 28 11:45:01 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jorge Ramirez-Ortiz X-Patchwork-Id: 10783621 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id EF2696C2 for ; Mon, 28 Jan 2019 11:45:39 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DF3502A4B1 for ; Mon, 28 Jan 2019 11:45:39 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D34422A7AD; Mon, 28 Jan 2019 11:45:39 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8AE682A4B1 for ; Mon, 28 Jan 2019 11:45:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726818AbfA1LpP (ORCPT ); Mon, 28 Jan 2019 06:45:15 -0500 Received: from mail-wr1-f66.google.com ([209.85.221.66]:47057 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726695AbfA1LpP (ORCPT ); Mon, 28 Jan 2019 06:45:15 -0500 Received: by mail-wr1-f66.google.com with SMTP id l9so17608330wrt.13 for ; Mon, 28 Jan 2019 03:45:14 -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; bh=XXP3hIFo09qbYxDEZ84UjroMfNXRwbZdmDEOnudwpmA=; b=QST1QHTo+SnjfGWbtje9MmvxvXe4/o/N50DokM5mJxKpXFb63tUU1x/mmlOjswaquL x/B9ltLTidkjQvB8ltU33qlfqwIxGvVVLsfIHFn55bKZF287AeDlb6uuaC5f7M+g6XBd 0wU+H6OCt7OAaazBWp9kitFWKCJEp6s4QFmzA= 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; bh=XXP3hIFo09qbYxDEZ84UjroMfNXRwbZdmDEOnudwpmA=; b=Hxbf+ab5c7tMeWxu/4mqxAOXL3ZQt+ZtdcZgszGxGVbTLo5JR2iX0IbQOT0rb6LLSm SqTV5aXyugN7ekNm6BC+90LTtt4aFgsDxc89eC/1LjI1pF9NXQkpmWHWc/qNeSFF3EZ2 XgSmllkKBlJa7YBS9hG8Cl2ayDsR/LqXUKqerUp8W6LEE43CPU/tkcAbH1fjguQIQb9A hRAFCYE2NlLIzOZT/VzOvYTYyjrI4pl1wIWD7cQwsAujC06DH2fys6Gu6FQ6cMHoCrJ4 lN+S9hv2QVCyIuILzbTalgL+CubDVydgSHs1gU8HKc6vI5lqTH2aryNR4NXs8D3eWoSi 8x7w== X-Gm-Message-State: AJcUukcaOyv0RUL21qjuyZiqefcGVuKz1rVjM+LJMR08BXhc5BXVD5rd m4LTjbVrD/vAx7g22jWGHieT6g== X-Google-Smtp-Source: ALg8bN4EHw6SpI3q7wRaHuK0UXmG8c7NqpCc59mw5ZFdAx5u6QilmJUB2vTbnMbhKqBMYELKaKRDdA== X-Received: by 2002:a5d:6b09:: with SMTP id v9mr22526419wrw.304.1548675913628; Mon, 28 Jan 2019 03:45:13 -0800 (PST) Received: from localhost.localdomain (233.red-81-47-145.staticip.rima-tde.net. [81.47.145.233]) by smtp.gmail.com with ESMTPSA id z9sm122968775wrs.63.2019.01.28.03.45.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 28 Jan 2019 03:45:13 -0800 (PST) From: Jorge Ramirez-Ortiz To: jorge.ramirez-ortiz@linaro.org, lgirdwood@gmail.com, broonie@kernel.org, robh+dt@kernel.org, mark.rutland@arm.com Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, bjorn.andersson@linaro.org, vinod.koul@linaro.org, niklas.cassel@linaro.org, khasim.mohammed@linaro.org, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org Subject: [PATCH 0/3] qcom: add PMS405 SPMI regulator Date: Mon, 28 Jan 2019 12:45:01 +0100 Message-Id: <1548675904-18324-1-git-send-email-jorge.ramirez-ortiz@linaro.org> X-Mailer: git-send-email 2.7.4 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The following patchset applies cleanly on linux 5.0-rc2. It adds support for the pms405 spmi regulators and configures s3 as a supply. The dts modifications required to enable voltage scaling will be posted after the currently pending cpufreq patches are merged. Jorge Ramirez-Ortiz (3): dt-bindings: qcom_spmi: Document pms405 support drivers: regulator: qcom: add PMS405 SPMI regulator arm64: dts: qcom: pms405: add spmi regulators .../bindings/regulator/qcom,spmi-regulator.txt | 24 +++ arch/arm64/boot/dts/qcom/pms405.dtsi | 20 +++ drivers/regulator/qcom_spmi-regulator.c | 197 +++++++++++++++++++-- 3 files changed, 224 insertions(+), 17 deletions(-)