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: 9497813 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id B9DD4606B4 for ; Wed, 4 Jan 2017 21:21:09 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B0D142824F for ; Wed, 4 Jan 2017 21:21:09 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A5B0828339; Wed, 4 Jan 2017 21:21:09 +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=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 610222824F for ; Wed, 4 Jan 2017 21:21:09 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1cOsyP-0004Gx-GD; Wed, 04 Jan 2017 21:19:53 +0000 Received: from casper.infradead.org ([2001:770:15f::2]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cOsqA-0001pZ-TB for linux-arm-kernel@bombadil.infradead.org; Wed, 04 Jan 2017 21:11:23 +0000 Received: from mail-wj0-x22a.google.com ([2a00:1450:400c:c01::22a]) by casper.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cOlj3-0000CZ-3K for linux-arm-kernel@lists.infradead.org; Wed, 04 Jan 2017 13:35:34 +0000 Received: by mail-wj0-x22a.google.com with SMTP id c11so264352322wjx.3 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=S01TunAV4wmHDxrY/WloB7c9oCXQ3xQCVoQ+U5n1uRnJnYy+FY3uMIo/Q+07v0AEgY 96Eve/wnx4qdxMAigdEM7u0jiiW6YsmtagURp0ZboDbbyPgFXJ0D4TuHtrreYPJDiWsQ 88Yt2C2XtnN2xsjZ2ijvBqzzOgTCuMSX+yNEpyD8lf0GMv4wNez521uxLNKAoPnF0eNy JFdwHuQykxd4gUqXDXkVlw5b8AsTR7wYDipJp9zBQaCxaDlr52zmkCiRVkDCWCW6XoZ/ p+AVMwjNJxaNKsrg1U6bEVJtx6OK0Zbo/xRCW6HXMq3duya7jdaf/5Xwl9ZFzOuBaZsN nepQ== X-Gm-Message-State: AIkVDXLJdxIoBzxxTqUajYrwir4i3HBFt7HRoAVA6eWjX9O05XEM/3JnCPalO4Lgb3NhsSRg 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 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170104_133533_177031_997C5F89 X-CRM114-Status: GOOD ( 12.58 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, David Brown , Rob Herring , "Ivan T. Ivanov" , linux-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP 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(+) 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";