From patchwork Wed Jan 4 13:35:00 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 89849 Delivered-To: patch@linaro.org Received: by 10.182.224.138 with SMTP id rc10csp216854obc; Wed, 4 Jan 2017 05:39:53 -0800 (PST) X-Received: by 10.98.93.77 with SMTP id r74mr48764486pfb.70.1483537193016; Wed, 04 Jan 2017 05:39:53 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o65si47996586pfb.265.2017.01.04.05.39.52; Wed, 04 Jan 2017 05:39:53 -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; dkim=neutral (body hash did not verify) header.i=@linaro.org; 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; dmarc=fail (p=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965196AbdADNju (ORCPT + 9 others); Wed, 4 Jan 2017 08:39:50 -0500 Received: from mail-wj0-f182.google.com ([209.85.210.182]:34626 "EHLO mail-wj0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S936267AbdADNfN (ORCPT ); Wed, 4 Jan 2017 08:35:13 -0500 Received: by mail-wj0-f182.google.com with SMTP id tn15so10663031wjb.1 for ; Wed, 04 Jan 2017 05:35:12 -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=TLRdmj0lbIhfheF+xGMn+afY3ZO4bYCLHSBw3bLDy9A=; b=OW60sf9iahHI5Gulolc+TMYBLgoNO98ybP0TPXWpjbxA+75NeYnOEFuooQjeEA7iDh 2ATo0y26IaBAGDJ/nJSTPabFTHvGWCOiOl9t+1P22Ow0CWUZ7UPGG67UMGhrPgHGX4fA T008DnBV4eF+aob4pouAI1V2y8msf4txc84e0= 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; bh=TLRdmj0lbIhfheF+xGMn+afY3ZO4bYCLHSBw3bLDy9A=; b=jtQZFdsGNflUc4UC+zq20W3mFOatRIhQjtFRFm/GkBeXAt2uJQ1I4X2/fwF2rUN+Jl Ryi+AnbvRdnMednEMnXpKPp7clOWsKm0pOTDhJ2W70P4GRU1XnAkXhzQ8Kuo0T50u23g JdroLHceTF14UmIegORRVgnYNIkbx9oYvZwu/4e4Hei+oQJ08TQHn91pbOILQirwRo4Q +Q1FYtBNOqg7hy0EJQS6Ce2EusJ9sfjs9BgOl4F1StULydFqpuNRP4du5KTNg8Sl04lg Fyt3ZALWddxrAdCBaugFkGqgfDwW/OOgDK1ahWU/KRi1r66oU3QlL+ngR1zcXnnZA+CF yY8A== X-Gm-Message-State: AIkVDXJ++RTaw3eGidEZD15iraXo/qsPfKPzRH5dSUR0Rz0BcDYjw4jRWdY1r3dfDZL6ki+k X-Received: by 10.194.166.7 with SMTP id zc7mr2815277wjb.55.1483536911573; Wed, 04 Jan 2017 05:35:11 -0800 (PST) Received: from localhost.localdomain (host-2-98-102-117.as13285.net. [2.98.102.117]) by smtp.gmail.com with ESMTPSA id kq6sm64861741wjc.7.2017.01.04.05.35.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 04 Jan 2017 05:35:11 -0800 (PST) From: Srinivas Kandagatla To: Andy Gross Cc: David Brown , Rob Herring , Mark Rutland , linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, "Ivan T. Ivanov" Subject: [PATCH 4/6] arm64: dts: apq8016-sbc: Limit MPP4 high state to 1.8V Date: Wed, 4 Jan 2017 13:35:00 +0000 Message-Id: <1483536902-21450-5-git-send-email-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1483536902-21450-1-git-send-email-srinivas.kandagatla@linaro.org> References: <1483536902-21450-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 From: "Ivan T. Ivanov" 96Boards specs require all GPIO signals to be at 1.8V. Limit MPP4, which is PIN28 on J8, to 1.8V(L5). Signed-off-by: Ivan T. Ivanov --- arch/arm64/boot/dts/qcom/apq8016-sbc-pmic-pins.dtsi | 13 +++++++++++++ 1 file changed, 13 insertions(+) -- 2.10.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-pmic-pins.dtsi b/arch/arm64/boot/dts/qcom/apq8016-sbc-pmic-pins.dtsi index f881437..d946408 100644 --- a/arch/arm64/boot/dts/qcom/apq8016-sbc-pmic-pins.dtsi +++ b/arch/arm64/boot/dts/qcom/apq8016-sbc-pmic-pins.dtsi @@ -1,4 +1,5 @@ #include +#include &pm8916_gpios { @@ -30,6 +31,18 @@ &pm8916_mpps { + pinctrl-names = "default"; + pinctrl-0 = <&ls_exp_gpio_f>; + + ls_exp_gpio_f: pm8916_mpp4 { + pinconf { + pins = "mpp4"; + function = "digital"; + output-low; + power-source = ; // 1.8V + }; + }; + pm8916_mpps_leds: pm8916_mpps_leds { pinconf { pins = "mpp2", "mpp3";