From patchwork Fri Sep 4 06:36:37 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 249056 Delivered-To: patch@linaro.org Received: by 2002:a92:5b9c:0:0:0:0:0 with SMTP id c28csp1124148ilg; Thu, 3 Sep 2020 23:37:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJweSo5lb1/Z/x/kI/7m/wLp6aolecmkE4ruSp7tcD6rZm0xocJzWLHf2ffGfvxMFRWHqiVQ X-Received: by 2002:a05:6402:ca7:: with SMTP id cn7mr6841379edb.143.1599201450954; Thu, 03 Sep 2020 23:37:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599201450; cv=none; d=google.com; s=arc-20160816; b=M8P+vpWiUGMSMD102N/jA7ccKjJMvbBkSZbF5znds+48u26x8ODbzzflBaW9tGa/Ts 0i3VI0QGmK/2uj2h2rLv6DKfQB0k1V/bNx3Oct01zoP56coF3UJMP5veEQnYxgYRG8F2 gEXr5nYk2CMpk7/wIsc/AamYChyy2tiAhQOpun28gesfByfEe0TUOgeQlWFs6EOFuuUj LHQU5XxuGdrAvIwVALC6VX60+E7ITC+rkviTVV397W0GaWAL3J/U4AEvzZZiwBsEQn+K Ez5K2NNI5D1xUOX0qmKuwAhObuFphIf+9ncFlsKOhYs2D5lGLjqFKDiGP/Wb1ya2Jp/a VL+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=oQZJoBmmMUGv3gcRM3sLFLuAwsd9ni+yGmgd7QDzGzk=; b=obrLwKBUNf31purtrHmcOGqHNnozV4VTim5psAOYZudAIaN4d87hcKBW2tC+6m/67s mxK/CreaarhCSAMKzJYUFn6u7lJVqLYRUg6n2G/KsPOjYGzQHoAAmyNc8o2Czmvjb4n/ r+AHmSkT31t2/g+OuQ7b0nPTnrzWPrZmY4dS0oDxU8dJUzwr4D387GzdQ7db9gpOeJON Dmpc1lD67drTdlN1SXccfUPn7TebjwygOUCnnBeSWYlRftCmVeE/vSavmuFctw99QpaT YepO0jzoLaQVZodxtL2EOIdCojyxO9lEtTi1mb6werIZytW/Bn1haCzT/S0wH36orSFr ac+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=s1FU44aQ; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c6si3537440edq.397.2020.09.03.23.37.30; Thu, 03 Sep 2020 23:37:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=s1FU44aQ; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729707AbgIDGhZ (ORCPT + 15 others); Fri, 4 Sep 2020 02:37:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43790 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729677AbgIDGhH (ORCPT ); Fri, 4 Sep 2020 02:37:07 -0400 Received: from mail-pg1-x543.google.com (mail-pg1-x543.google.com [IPv6:2607:f8b0:4864:20::543]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2FC41C06125C for ; Thu, 3 Sep 2020 23:37:07 -0700 (PDT) Received: by mail-pg1-x543.google.com with SMTP id u13so3843372pgh.1 for ; Thu, 03 Sep 2020 23:37:07 -0700 (PDT) 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=oQZJoBmmMUGv3gcRM3sLFLuAwsd9ni+yGmgd7QDzGzk=; b=s1FU44aQcy9VujfxiSwv6BFGLpjAORDbRdzx+EOlG3JC2Lh743fYFcUfakH+aUKlzG vh/SwBOLcws5UMxXxHJiaAqaQmX2rJGnzmoqG9L30ERf4/LeW+fS9P4VNJEgqa19vzLS /6OooSwRtmVIE+BI3gsKtNVVdVRzxIQosZSxa2qjAF2AiYIt1b+rmvwTlgACgy+kJILD LJIYRMSSVK+EEo4b+pBkWAYTZaE50oYdyiqfntUxkLd2sQ+7TMnLEQv0G+n1wi/p9tyb UfdQWBKH10k+Oz7ov+qzTyIKMaENoH2ZSyiy6zQkk0ISU53rSS5vMWvhQHoOn6gUI9W7 pM5A== 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=oQZJoBmmMUGv3gcRM3sLFLuAwsd9ni+yGmgd7QDzGzk=; b=aaGastRgtbcPxDmbb6O/uxFHp0CpGOwGvcg8T9/7qfvFlcqIpE5KpUvH/YZiE60gao SGwdyCg062S567PIrXrX8oLqo+LIrBA2DMFZQDdhDmDcURK9pNRLdrs78+UDNkTwl+6+ q12nY4/he0w8ej70wYsY3M6UDOu92LvLs4a1gp/EL2Op9KXgp6uZweFViO+oKJuVkXFn nVSchuQNijNs2R6M9CizB3qHG2cdFSK4pWGQ6FhWjHh+n7KLbHUtvVBIENj4En1be6qG 41IRTx27Ar3+d9gOok62Ivdch6KXIZxfLn5GBawAXpdgUxfCMs7sdB6MBQqXmSrfR+am ch+Q== X-Gm-Message-State: AOAM532SXObm0CyYUdsnzNFLUGdOQWJcUUTI5T5408Ha6MI5pP+wzMnn cdEt+jyGEWFJmSnNQuRWZl+w X-Received: by 2002:a63:29c6:: with SMTP id p189mr5907174pgp.148.1599201426682; Thu, 03 Sep 2020 23:37:06 -0700 (PDT) Received: from localhost.localdomain ([103.59.133.81]) by smtp.googlemail.com with ESMTPSA id 143sm5315040pfc.66.2020.09.03.23.37.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Sep 2020 23:37:06 -0700 (PDT) From: Manivannan Sadhasivam To: agross@kernel.org, bjorn.andersson@linaro.org, robh+dt@kernel.org Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, dmitry.baryshkov@linaro.org, Manivannan Sadhasivam Subject: [PATCH 6/6] arm64: dts: qcom: qrb5165-rb5: Add gpio-line-names for PM8150(B&L) Date: Fri, 4 Sep 2020 12:06:37 +0530 Message-Id: <20200904063637.28632-7-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200904063637.28632-1-manivannan.sadhasivam@linaro.org> References: <20200904063637.28632-1-manivannan.sadhasivam@linaro.org> Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Add gpio-line-names for the GPIO pins exposed by PM8150, PM8150B and PM8150L PMIC nodes. Signed-off-by: Manivannan Sadhasivam --- arch/arm64/boot/dts/qcom/qrb5165-rb5.dts | 47 ++++++++++++++++++++++++ 1 file changed, 47 insertions(+) -- 2.17.1 diff --git a/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts b/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts index cf6dc0ec1640..1528a865f1f8 100644 --- a/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts +++ b/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts @@ -412,6 +412,53 @@ status = "okay"; }; +&pm8150_gpios { + gpio-reserved-ranges = <1 1>, <3 2>, <7 1>; + gpio-line-names = + "NC", + "OPTION2", + "PM_GPIO-F", + "PM_SLP_CLK_IN", + "OPTION1", + "VOL_UP_N", + "PM8250_GPIO7", /* Blue LED */ + "SP_ARI_PWR_ALARM", + "GPIO_9_P", /* Yellow LED */ + "GPIO_10_P"; /* Green LED */ +}; + +&pm8150b_gpios { + gpio-line-names = + "NC", + "NC", + "NC", + "NC", + "HAP_BOOST_EN", /* SOM */ + "SMB_STAT", /* SOM */ + "NC", + "NC", + "SDM_FORCE_USB_BOOT", + "NC", + "NC", + "NC"; +}; + +&pm8150l_gpios { + gpio-line-names = + "NC", + "PM3003A_EN", + "NC", + "NC", + "PM_GPIO5", /* HDMI RST_N */ + "PM_GPIO-A", /* PWM */ + "PM_GPIO7", + "NC", + "NC", + "PM_GPIO-B", + "NC", + "PM3003A_MODE"; +}; + &qupv3_id_0 { status = "okay"; };