From patchwork Fri May 24 23:37:28 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 798777 Received: from mail-ej1-f47.google.com (mail-ej1-f47.google.com [209.85.218.47]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2903B158871 for ; Fri, 24 May 2024 23:37:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.47 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716593856; cv=none; b=tTnzWI/lGlrQT1SiPnGCu0ek0npyX0RHFChHewDzbrCQ7oAprDTj0nEs2qVTXFs3yaioCBHi8nekhFlITgIxzT0eJqGcR+MPSqPd5apcOvPgZd5HbFLBrPx6kYoT2mKUYT453dImoX4kNNnXclhdSJyV1hcCpdzvOBmnnn6G66w= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716593856; c=relaxed/simple; bh=LFBvXcZEt82lZS3JkQJSPCV5wWyA/RFb5NTd2wgZucw=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=LKQB3e7Dka4WR2670w+Htg+5ZkR9lKSuqiuXJw1Baua9vzw4sgwhhr/LszZocRmdL+PxvMph2DDv+Xxx7pQILLNz6ssmJ8W49Cymbx1HjTEdLIYqDWY8Bxpb9PGorA5NCTkelidGwo4lM82CR6B3hPyo1+gUhVjk0dwQIU5C/fk= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=h8qErPMn; arc=none smtp.client-ip=209.85.218.47 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="h8qErPMn" Received: by mail-ej1-f47.google.com with SMTP id a640c23a62f3a-a5a89787ea4so1194092966b.2 for ; Fri, 24 May 2024 16:37:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1716593852; x=1717198652; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=U2avrdftbtvJSgsCBQarLFUeMEb+/jjV/+635MdlU8Y=; b=h8qErPMndn5FqCf84IDk/lf55ep6h2pqsyGnVcPhnxaPgBh5ch3571SKOJWf+DNc25 hbH0aQAp57bHACoYiQai44Cy/hsZAYJtcLJo7Tw/WlcPdtkr/0skkdb6LpiBjFjSpcu3 wV6ajHZz5j/s37MwlmPQ8IFWrB/0O4bKsMG1dCEFRDVR+uQroAW2lMgcR+AJHSEnVIjf OfLXgv6vUP4zdzKS8kHd0Ys+R9XA23vMYvtgXkPTBR29XO1Knzm2qFNUoJQFFbu2/9C2 v2qCkTal9guEm27uEj/+rawO3g5Hm5Xw1GcOXcNZt7C4ygl7fQADcgyyuCz7MrYnVskz 8VdA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716593852; x=1717198652; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=U2avrdftbtvJSgsCBQarLFUeMEb+/jjV/+635MdlU8Y=; b=nTFKNrjcoT6xd0pF0LWjdODhqyqZHXRhkrmybBaYtEM+azkLRznSMy9SaiYq/vVVzK HnsNgc/2F3b9CQs+MtDdozVsndi9gsoheoLUiX0GHpid0n0zjKAKQy0MJIsn0zhKY+Pr Qh0m4pukvpSfwX6exGksLoUC4LrI8eq3aJIIUnFRC+bVU5k3ZCtjKstnQr213t5INTOi NzAWNpIXumUKSWQH2muWiWvGQEsMgmS24icZtscSVKFnOkWrZmJgcur/SB9tY0DTjgCT WEDORYt0EiXW0YddoeHpBbU5Jdvkyki+qJ9XQdwzQHzZ5vxDxogGc6RPgWDO60nskUAX ZIEQ== X-Forwarded-Encrypted: i=1; AJvYcCVS5f3urvMq1Fulpo4mojJeLg/Pm8Y1ENpYDI9ojXRKbeTCjurxBxWGPZDLmJ+6rmGeJlyr0nyeWnYIY1ge3YQsr0bSyUXNZfHwKw== X-Gm-Message-State: AOJu0YxqvuUnsJaV4A3dkEJQSVpQ/loiWV91G9vqSahUvyBCtk8Cdqe4 t/aMu9wn1LWh9JC6EuNHed6fewnoop5ju6ygxyBmSV4WlI6aBb0iDaqtej/slxM= X-Google-Smtp-Source: AGHT+IFlJEclhDE3F56LvaE7zzCAKSHHAs2U1MbZwLlUaVEO0VCumjmo2crk9OQHHd20HpqOE6Aqxw== X-Received: by 2002:a17:906:12d8:b0:a5c:df6b:a9b5 with SMTP id a640c23a62f3a-a6265128c6dmr231753166b.59.1716593852537; Fri, 24 May 2024 16:37:32 -0700 (PDT) Received: from [127.0.1.1] (078088045245.garwolin.vectranet.pl. [78.88.45.245]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a626c938815sm189475466b.78.2024.05.24.16.37.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 May 2024 16:37:32 -0700 (PDT) From: Konrad Dybcio Date: Sat, 25 May 2024 01:37:28 +0200 Subject: [PATCH v2 1/2] dt-bindings: pinctrl: qcom,pmic-gpio: Document PMC8380 Precedence: bulk X-Mailing-List: linux-gpio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240525-topic-pmc8380_gpio-v2-1-2de50cb28ac1@linaro.org> References: <20240525-topic-pmc8380_gpio-v2-0-2de50cb28ac1@linaro.org> In-Reply-To: <20240525-topic-pmc8380_gpio-v2-0-2de50cb28ac1@linaro.org> To: Bjorn Andersson , Linus Walleij , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.14-dev PMC8380 is a new PMIC used with X1 SoCs. Document it Signed-off-by: Konrad Dybcio Reviewed-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.yaml index 50846a2d09c8..1e6dd4d2f6b4 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.yaml @@ -57,6 +57,7 @@ properties: - qcom,pma8084-gpio - qcom,pmc8180-gpio - qcom,pmc8180c-gpio + - qcom,pmc8380-gpio - qcom,pmd8028-gpio - qcom,pmi632-gpio - qcom,pmi8950-gpio @@ -225,6 +226,7 @@ allOf: - qcom,pm8150-gpio - qcom,pm8350-gpio - qcom,pmc8180-gpio + - qcom,pmc8380-gpio - qcom,pmi8994-gpio - qcom,pmm8155au-gpio then: From patchwork Fri May 24 23:37:29 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 799006 Received: from mail-ej1-f50.google.com (mail-ej1-f50.google.com [209.85.218.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 47A0F158878 for ; Fri, 24 May 2024 23:37:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.50 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716593856; cv=none; b=oa7eg8ZGIG6GDMl8J6O/yIqQG2t59+5l8UuuKLHjn7c/8zIu8qICGG17adF9eYZ10iq7zrS+D2JOC+Llqi16C2r9R9wszlsVoMIXmC9Ieg6CXQG6cprreVd7YzzUkQzl/Dz4wl7yPCqcLkqxF+/g8NkUgvo+kAKCeompJdXR86w= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716593856; c=relaxed/simple; bh=4CIO6artRJ4ZRunAE1h2kRB6vpyNhD0KsLJ2hd/Tayo=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=FJRuFkRxhhVajjBEpIfVN/++8xuVikVNCfE+KjQnGcr+0CrbP8+KWAD9HmOi3IWQ4g6GvdfeIeqsqFlFk8rnlRzX3w6zq51xDHPabHAT3K6/7f17Ei51jz8F4ZtAAbB5sNtiacF2kdTNk3nBhih3Xbo9WETNuoP88e1Vz4kOuug= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=ica0YS4B; arc=none smtp.client-ip=209.85.218.50 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="ica0YS4B" Received: by mail-ej1-f50.google.com with SMTP id a640c23a62f3a-a61b70394c0so722099166b.1 for ; Fri, 24 May 2024 16:37:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1716593854; x=1717198654; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=mJNcJC3ubId/j8V3zKbBbmUpsocF9nZYwPjWMkiBbRI=; b=ica0YS4BQaD78nrTdOh0FPS/pBdNyguxYw7o0jYCw7Cwx5vpNo9RMpg79Rh5WPbdon R2FLvSF8s3rqJWAZZYJMdckoU5dW+BxwemrkLLTJSaXZPhdrMQtXvoERd9FWDVhhT73w PZDPDWxDG17qW/CVNJo/BFPyG79f1Iu0yv98AN9OxFby3EWKTfnNarupx5EpudBM98kP 3yW9vPmhbEi8rFefuPyqeDB8E+oK23crygAyzzcY4dQufnN1fzErEM3HfOcmPnXcI0PC 5CNZxn8C4xeqAkJ47iX43T7ZXF7f+dB323VbN3BIvNylMyhSwZiV9f5JEF8zSO5ig+r4 Mfiw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716593854; x=1717198654; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=mJNcJC3ubId/j8V3zKbBbmUpsocF9nZYwPjWMkiBbRI=; b=iX8zVBFQI66LQg7G1HyacocX2Z6sfAp8bpCax9bt4tPPKVgSD7onTVeMeWuTAuO8oO mZmtCmA2Kr+VBAbrUAGvLQRiHgNdrLX+jYpwkhLAtOHBxQG969msUSdYQmWgZPYytskT ZvVTXhfskhGJ5FTQ3/EwGrgEYsjenrfYTOXNNDX1r7saC+cRft2uVXcTqINTIlSMUgdj ptCRSbGoBsa3RiH/CfgiWv0k9qzKfAvBnhDhAIbExwOr5AW71C0xi4gxBNimPrJ1MdbO xcs+XskUr3DfeZa9WMMSrKldV4IMZzM+QkvTvBiISsOJ18QtUKx3YeehYvpFCrb4fvE5 g0WA== X-Forwarded-Encrypted: i=1; AJvYcCVy79MgEOeDClX0kEsT3jJTlW+kp+rkQZyGWq9mCCwbxVyBx1P3rtANmRrdhDbqjpFmRqcqTO1CefN7WeC/BpHi9rZqhvs+DEvr+A== X-Gm-Message-State: AOJu0Yyf7QuqkHDyhb3b2n6iAct9X8SEcsJxDRxn/ERul1z7L81dtxGX 5d3/hOzSGW218iHcpXwIEMlgU3k6vtXxgHo34m0SySvYYkOi/NUXIUkkOuI6BOU2ieDZp1PKeJA um5k= X-Google-Smtp-Source: AGHT+IHPJ0VtOHp/meGK+w4U8wsWiUsXkAhCNyBm7BoGgef2yPcg/JAZngzYS1ErPBaPD1zCE4RxbQ== X-Received: by 2002:a17:906:2a05:b0:a59:afbc:1b0 with SMTP id a640c23a62f3a-a6265114f2cmr231846166b.64.1716593853825; Fri, 24 May 2024 16:37:33 -0700 (PDT) Received: from [127.0.1.1] (078088045245.garwolin.vectranet.pl. [78.88.45.245]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a626c938815sm189475466b.78.2024.05.24.16.37.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 May 2024 16:37:33 -0700 (PDT) From: Konrad Dybcio Date: Sat, 25 May 2024 01:37:29 +0200 Subject: [PATCH v2 2/2] pinctrl: qcom: spmi: Add PMC8380 Precedence: bulk X-Mailing-List: linux-gpio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240525-topic-pmc8380_gpio-v2-2-2de50cb28ac1@linaro.org> References: <20240525-topic-pmc8380_gpio-v2-0-2de50cb28ac1@linaro.org> In-Reply-To: <20240525-topic-pmc8380_gpio-v2-0-2de50cb28ac1@linaro.org> To: Bjorn Andersson , Linus Walleij , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.14-dev PMC8380 is a new chip, featuring 10 GPIOs. Describe it. Signed-off-by: Konrad Dybcio Reviewed-by: Dmitry Baryshkov --- drivers/pinctrl/qcom/pinctrl-spmi-gpio.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c b/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c index 4e80c7204e5f..ce576149b7ae 100644 --- a/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c +++ b/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c @@ -1235,6 +1235,7 @@ static const struct of_device_id pmic_gpio_of_match[] = { { .compatible = "qcom,pm8994-gpio", .data = (void *) 22 }, { .compatible = "qcom,pm8998-gpio", .data = (void *) 26 }, { .compatible = "qcom,pma8084-gpio", .data = (void *) 22 }, + { .compatible = "qcom,pmc8380-gpio", .data = (void *) 10 }, { .compatible = "qcom,pmd8028-gpio", .data = (void *) 4 }, { .compatible = "qcom,pmi632-gpio", .data = (void *) 8 }, { .compatible = "qcom,pmi8950-gpio", .data = (void *) 2 },