From patchwork Tue Jan 12 13:46:32 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 59624 Delivered-To: patch@linaro.org Received: by 10.112.130.2 with SMTP id oa2csp2746447lbb; Tue, 12 Jan 2016 05:46:51 -0800 (PST) X-Received: by 10.98.14.68 with SMTP id w65mr34937357pfi.146.1452606410899; Tue, 12 Jan 2016 05:46:50 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i82si16462141pfj.214.2016.01.12.05.46.50; Tue, 12 Jan 2016 05:46:50 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dkim=neutral (body hash did not verify) header.i=@linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965063AbcALNqt (ORCPT + 6 others); Tue, 12 Jan 2016 08:46:49 -0500 Received: from mail-wm0-f51.google.com ([74.125.82.51]:37990 "EHLO mail-wm0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965036AbcALNqs (ORCPT ); Tue, 12 Jan 2016 08:46:48 -0500 Received: by mail-wm0-f51.google.com with SMTP id b14so320951420wmb.1 for ; Tue, 12 Jan 2016 05:46:48 -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:in-reply-to:references; bh=Tgw43YFxS5+i/QGsgaUQOZZKr3YumFTMutoxqDr4GXI=; b=ePQsQaywTAsZenG+6vaSv9jnzxS25dZitDdv5ao+w3+9xIqzYU2NeDhCcPGATHrTqU +x84Q3Cey/cpoDAJB/MEf1bDenDrbXe62SK4IscUL3cxrnaY7fI2jCwJcro1hsAPnHRM oYWGOB5OpVgsVXA/1x8qJdmSmb4MQqSw5y+Z4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=Tgw43YFxS5+i/QGsgaUQOZZKr3YumFTMutoxqDr4GXI=; b=AW0ax8QK5dr8/WzK+ucJyGrrbgFz5xWMIF6RobcSNYzv/e/A6GCqjxtOtmfZLgEvxf uNlNLzo2fxv73IsdI66+xJp4zd327UV7SPug43CtG+zEeXR2k2ELFgMT/LCU7uRhJ+hE 6JbJhywgrnd24kSnR6rXzFREPOVYUxOj0mfzNqcw/yhVqFHT+1fvN0QZ3V6PjcsuEa1g tzLusYdGDPAqiJxBiSjp+As6Lgc1lgYY1Lg8EnDl948pm9XAy648+eEs03onImFx6TyQ ujzQsfSDaSUNwVmoGyV9PlTx5RUaWOL5sy1+BnM5NHNV4Z1jc44ETHL5piYGF8g76YnN G2Yg== X-Gm-Message-State: ALoCoQnaG7yynmDzWParWA4RZvv/Y9Q4auYJdMJwjd5lAf+gLX13PVqeOQVfoOBqCCm2L36jT7my6Gepapkjh0smhNEqneNJVQ== X-Received: by 10.28.109.87 with SMTP id i84mr18622577wmc.51.1452606407536; Tue, 12 Jan 2016 05:46:47 -0800 (PST) Received: from localhost.localdomain (host-92-13-246-184.as43234.net. [92.13.246.184]) by smtp.gmail.com with ESMTPSA id wx2sm35715137wjc.27.2016.01.12.05.46.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 12 Jan 2016 05:46:47 -0800 (PST) From: Srinivas Kandagatla To: andy.gross@linaro.org, linux-arm-msm@vger.kernel.org Cc: Rob Herring , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Srinivas Kandagatla Subject: [PATCH 1/5] arm64: dts: apq8016-sbc: add regulators support Date: Tue, 12 Jan 2016 13:46:32 +0000 Message-Id: <1452606392-24614-1-git-send-email-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1452606358-24569-1-git-send-email-srinivas.kandagatla@linaro.org> References: <1452606358-24569-1-git-send-email-srinivas.kandagatla@linaro.org> Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Signed-off-by: Srinivas Kandagatla --- arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi | 141 ++++++++++++++++++++++++++++++ 1 file changed, 141 insertions(+) -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi b/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi index db17c5d..f6cd323 100644 --- a/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi +++ b/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi @@ -30,6 +30,147 @@ stdout-path = "serial0"; }; + smd { + rpm { + rpm_requests { + pm8916-regulators { + + vdd_l1_l2_l3-supply = <&pm8916_s3>; + vdd_l5-supply = <&pm8916_s3>; + vdd_l4_l5_l6-supply = <&pm8916_s4>; + vdd_l7-supply = <&pm8916_s4>; + + s1 { + regulator-min-microvolt = <375000>; + regulator-max-microvolt = <1562000>; + + }; + + s3 { + regulator-min-microvolt = <375000>; + regulator-max-microvolt = <1562000>; + + }; + + s4 { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + + regulator-always-on; + regulator-boot-on; + }; + + l1 { + regulator-min-microvolt = <375000>; + regulator-max-microvolt = <1525000>; + + }; + + l2 { + regulator-min-microvolt = <375000>; + regulator-max-microvolt = <1525000>; + + }; + + l3 { + regulator-min-microvolt = <375000>; + regulator-max-microvolt = <1525000>; + + }; + + l4 { + regulator-min-microvolt = <1750000>; + regulator-max-microvolt = <3337000>; + + }; + + l5 { + regulator-min-microvolt = <1750000>; + regulator-max-microvolt = <3337000>; + + }; + + l6 { + regulator-min-microvolt = <1750000>; + regulator-max-microvolt = <3337000>; + + }; + + l7 { + regulator-min-microvolt = <1750000>; + regulator-max-microvolt = <3337000>; + + }; + + l8 { + regulator-min-microvolt = <1750000>; + regulator-max-microvolt = <3337000>; + + }; + + l9 { + regulator-min-microvolt = <1750000>; + regulator-max-microvolt = <3337000>; + + }; + + l10 { + regulator-min-microvolt = <1750000>; + regulator-max-microvolt = <3337000>; + + }; + + l11 { + regulator-min-microvolt = <1750000>; + regulator-max-microvolt = <3337000>; + + }; + + l12 { + regulator-min-microvolt = <1750000>; + regulator-max-microvolt = <3337000>; + + }; + + l13 { + regulator-min-microvolt = <1750000>; + regulator-max-microvolt = <3337000>; + + }; + + l14 { + regulator-min-microvolt = <1750000>; + regulator-max-microvolt = <3337000>; + + }; + + l15 { + regulator-min-microvolt = <1750000>; + regulator-max-microvolt = <3337000>; + }; + + l16 { + regulator-min-microvolt = <1750000>; + regulator-max-microvolt = <3337000>; + + }; + + l17 { + regulator-min-microvolt = <1750000>; + regulator-max-microvolt = <3337000>; + + }; + + l18 { + regulator-min-microvolt = <1750000>; + regulator-max-microvolt = <3337000>; + + }; + }; + }; + }; + }; + soc { serial@78af000 { label = "LS-UART0";