From patchwork Mon Mar 27 12:53:13 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 667551 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9AE1BC77B61 for ; Mon, 27 Mar 2023 12:54:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232922AbjC0MyD (ORCPT ); Mon, 27 Mar 2023 08:54:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51272 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232593AbjC0Mxg (ORCPT ); Mon, 27 Mar 2023 08:53:36 -0400 Received: from mail-wr1-x42e.google.com (mail-wr1-x42e.google.com [IPv6:2a00:1450:4864:20::42e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D34D844B7 for ; Mon, 27 Mar 2023 05:53:34 -0700 (PDT) Received: by mail-wr1-x42e.google.com with SMTP id r29so8654376wra.13 for ; Mon, 27 Mar 2023 05:53:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20210112.gappssmtp.com; s=20210112; t=1679921613; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=mYNa0jgyigOb3tpiANMB3XSz00l/mRdfB4P8rKzPX6Y=; b=QQSZ68UnwqIriBeygjmiEv57UqO3B5qJj67XKpduNTxu5dqP2GZMaQbgJcQAO/9l4Y Ula4B7A8Q7CZWSROlsXe5dahzlYooQ9h0gogN1vsFzA/ueLLxWKEZlU+ntdyFvZzFM6U JGfWpoEVJVZP/Gf3P6sRnqhqVR2TyRQNh783jZygOYmKIHiNg0yet7Pp+wN8BBewZ1dU hnpqzaDGN6rBxe8rgGhW+5nL23logymVqKCDbaWHGmq/yXuM1bcyFNF96q+Du8LGWjr2 KfzJB6CWAoCvw+vqDi6hSCxeDFlnPsSOX1NGOgjj1oISIQBzsMM1+fleVd6UbjIdotKw 7pUg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679921613; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=mYNa0jgyigOb3tpiANMB3XSz00l/mRdfB4P8rKzPX6Y=; b=siADgTIqNuue+mgh4qcaDg4m1k8oqRooKBqtlUY821uD3NQjhcEmVbL8enKeyeepKI gjcAIzAvYPVaTIlJjT7QzU9KOprAe784zWNSo/lhQty7UjzJ5EcP2BUbaIcIUfwq/brB mXt3RzRH8rB5pNJA1YdEzCKXQ25+/LeDgYnCLtX2JvIZUy8KI9CY8eP3dEkDU01bTgEV fud9xkMTgwwwA7YVSMmtpjaX0ag6Qz+aBu1gBmO6IoGA+730ovzQ6lachEbWu+qqgfnK SlGLFLcHZUiodd1+qVml5YgTVKxlw3L+xoWGnLtj+Coz6RPfmPCsx4t+Hw4vXLpc3RFf 6sew== X-Gm-Message-State: AAQBX9dqVma6k7Xv/A6TT4zN2LNPGmdaNchIRD3O7cs5D76GceWMTGD8 xLWOvAr122kLFGAoADWibPVbgI9cY4qUYe1Em2c= X-Google-Smtp-Source: AKy350ZpdD60ftBG/ysIV9tsx46gFHPch4LkCxYc4AzfiKIZTKU/E5YVnHTMSi6++9zW5UX+/WJYYw== X-Received: by 2002:a5d:538a:0:b0:2cf:f454:95d2 with SMTP id d10-20020a5d538a000000b002cff45495d2mr8824775wrv.12.1679921613360; Mon, 27 Mar 2023 05:53:33 -0700 (PDT) Received: from brgl-uxlite.home ([2a01:cb1d:334:ac00:313d:a304:2790:a949]) by smtp.gmail.com with ESMTPSA id q25-20020a1ce919000000b003ee58e8c971sm13572220wmc.14.2023.03.27.05.53.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Mar 2023 05:53:33 -0700 (PDT) From: Bartosz Golaszewski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, Bartosz Golaszewski Subject: [PATCH v3 15/18] arm64: dts: qcom: sa8775p-ride: set gpio-line-names for PMIC GPIOs Date: Mon, 27 Mar 2023 14:53:13 +0200 Message-Id: <20230327125316.210812-16-brgl@bgdev.pl> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20230327125316.210812-1-brgl@bgdev.pl> References: <20230327125316.210812-1-brgl@bgdev.pl> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org From: Bartosz Golaszewski Set line names for GPIO lines exposed by PMICs on sa8775p-ride. Signed-off-by: Bartosz Golaszewski Reviewed-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sa8775p-ride.dts | 51 +++++++++++++++++++++++ 1 file changed, 51 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sa8775p-ride.dts b/arch/arm64/boot/dts/qcom/sa8775p-ride.dts index b7ee4cc676b5..a0d2024a69df 100644 --- a/arch/arm64/boot/dts/qcom/sa8775p-ride.dts +++ b/arch/arm64/boot/dts/qcom/sa8775p-ride.dts @@ -32,6 +32,57 @@ &i2c18 { status = "okay"; }; +&pmm8654au_0_gpios { + gpio-line-names = "DS_EN", + "POFF_COMPLETE", + "UFS0_VER_ID", + "FAST_POFF", + "DBU1_PON_DONE", + "AOSS_SLEEP", + "CAM_DES0_EN", + "CAM_DES1_EN", + "CAM_DES2_EN", + "CAM_DES3_EN", + "UEFI", + "ANALOG_PON_OPT"; +}; + +&pmm8654au_1_gpios { + gpio-line-names = "PMIC_C_ID0", + "PMIC_C_ID1", + "UFS1_VER_ID", + "IPA_PWR", + "", + "WLAN_DBU4_EN", + "WLAN_EN", + "BT_EN", + "USB2_PWR_EN", + "USB2_FAULT"; +}; + +&pmm8654au_2_gpios { + gpio-line-names = "PMIC_E_ID0", + "PMIC_E_ID1", + "USB0_PWR_EN", + "USB0_FAULT", + "SENSOR_IRQ_1", + "SENSOR_IRQ_2", + "SENSOR_RST", + "SGMIIO0_RST", + "SGMIIO1_RST", + "USB1_PWR_ENABLE", + "USB1_FAULT", + "VMON_SPX8"; +}; + +&pmm8654au_3_gpios { + gpio-line-names = "PMIC_G_ID0", + "PMIC_G_ID1", + "GNSS_RST", + "GNSS_EN", + "GNSS_BOOT_MODE"; +}; + &qupv3_id_1 { status = "okay"; };