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: 13673857 Received: from mail-ej1-f46.google.com (mail-ej1-f46.google.com [209.85.218.46]) (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 1A37C86243 for ; Fri, 24 May 2024 23:37:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.46 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716593855; cv=none; b=UIRJJ2YpYTPjVM2WF/89uNctAjnei/pqp8aSp0ak6DM9Vd9ZW17pBsFT9TC7ZnvyQVfdHqOzXq2SN4/9Zaei3o536zGQGzB2dQCPB/QyphMlSQ6ZPk8YbG2hQiOWWtxdF+mmp8fgIDoqKunuul0nZvF7qEb+2zy5kMGaHcsDOkY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716593855; c=relaxed/simple; bh=LFBvXcZEt82lZS3JkQJSPCV5wWyA/RFb5NTd2wgZucw=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=kwLnQMpWQ+YkUgSySDUZX4qYcs7aeVbOo+IcOouarQ5Cld3i+KPV8wB6o5ox2eF4MZ6wFefpYctldfFBndUqOMhjX4eYu/YzPOX880/tXFO/4xJa48Ag09mTIWqWk2IDme73mrC1oKiYVPBqS2ohatLV1S3eaAWRE6jDXSPLNd4= 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.46 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-f46.google.com with SMTP id a640c23a62f3a-a62614b9ae1so192617666b.0 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=w2t1dJrollNHfGN8LetHQ6tbYeP4E7N1cw7yZiC5XKqWegmpC8FOEom52jwQ4HGhEO HCnYXBilRrCPBthtp6LIs4uotDHj7NDFFy8Qvm97xuX+a/7Sg24eZd0FeImluINA+bhw OW7mXw7JOMtANXiZp7JAkWJ3c4aL78u890A2QbHaulDZzPVd8+vaar8CGzn3ieoKKc9k x2SMy1MqoZiup/3Z6AwKp9LMjEnd28HKs/R2ldV6E+BL1wn5QBueX58r/RkMCkhHsAhr p9/0WzZ1+nLGqIIwggeQzZ2cCacKQj8xBPcvsgCwFPAIuXXlWqStobhgZYjx8ElC/rOo hPXA== X-Gm-Message-State: AOJu0Yzo/IATDzzALmr9wwibJ4nRK6FLotM+wRqNYxBw9nFFp8OXrS41 jalY8StzBCqnU7vX7kjLPxvmahMmXak/hafyFTi379G8E+BRQsqKC9t7gvorQ30= 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-arm-msm@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: 13673858 Received: from mail-ed1-f45.google.com (mail-ed1-f45.google.com [209.85.208.45]) (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 51DC915887A for ; Fri, 24 May 2024 23:37:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.45 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716593857; cv=none; b=lyWLxKldKh+sn6stEsjtmLnUq4u3XyU30o055tmxJh9Ok6soeOWOdLgARqtnnHfMyJLUQ9P0Bo/ISpySHhuixuymqT7P9G5vlyXuDHHEQBXTAeqNVVdAdFrcJ3X6bgpHVndwCMvU3IZGWf0fRyjLb6gkHuRL36yyfogRTzHUavE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716593857; c=relaxed/simple; bh=4CIO6artRJ4ZRunAE1h2kRB6vpyNhD0KsLJ2hd/Tayo=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=Y0XNdcovInJh1C2jkhp0ItprcRZZAGmvAT3CZbFrAEweR977jZH7SCquZIe6GaSCUBCs42J7lh1eDfQZGsSt/UzGZZXvnl1yslgD/rO8Qon0bY6+OGcm+R0bolJzsogs/qyk8XE4yGYUKcBQIypT/tvqRadblS1b3Fyykmme5W4= 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.208.45 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-ed1-f45.google.com with SMTP id 4fb4d7f45d1cf-57857e0f45cso1153576a12.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=AS/5c0MYRnWkWWCAc8zuf7M7HkR78/F1qMrL/dQaETBzuppGA/T9WRUq/HwtMDlPXE rT6gowXc7p2bAvY/smKcU8XCziVlP5T8dkiv2p/rVNBCqK0HhY+9umksT8sydNajPgIR 4YMtLBMwEscO4iDPp3KbffnZIBqcRvLycoXTYJXm/6Ev72OreSKyTpLEN97FD6KspHku 1iu1J0ixbXom1QRCEXA0/X3jcyJ+upzWE8u0AIYgBcjvGtd26ShTCZjziMNiwfLR/Wnw vu2jIpQLh3QdTF7csLvwQ8IqPB2VuO7s2FhTUw2wu327yHTqMq3WO/L0PZiqkm5yM3IB QBVQ== X-Gm-Message-State: AOJu0YwGYqnTrmYPdtY4N/PiUHgENofZI4EPFFImgpWr98DEB9A7J1uo GU0zZDCnxREUHlzk3OgX86ml2hFuefMdMB9OL/+9wCe8QxgKXqYm5cm8VabayJI= 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-arm-msm@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 },