From patchwork Wed May 22 11:30:04 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 13670799 Received: from mail-ed1-f46.google.com (mail-ed1-f46.google.com [209.85.208.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 B5DF48288F for ; Wed, 22 May 2024 11:30:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.46 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716377414; cv=none; b=ht+u+E1opcjmXjg6/Ri1LUZWHpwvQU2M9JHCyAF8RAmQtvzbiDoczpLZpFAi/YMk4iG7ET296Mc5+SxYvvqR5+YRx5yz1gvs1THxVWwmy83yWN1BegCWvsbXkI8ljcpuS3iJMtC58x4cwiGaifwrv58OKq6Bn09LIeeHFywgvdQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716377414; c=relaxed/simple; bh=8fClpFzgbj956EFn+uaJ6XnDcz4bIDEVxAzQg1CwQNQ=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=oBxUYri3YMtTY+YE5Fo/Qz+xBPmP0Z4L8VEWVvEKpjsNWyRNBRteXPTlrOZac7GXeL5ukp4UntJdoUl4sfJ5gLQ/zylsvHVYwEUU9Biy/F2iXw7V3JTh2q0zkr9sUk4Tgwbx38Ant7TmDUqKckVWi8phMg7nOrzZxVz77oMhOVo= 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=mTWxnShD; arc=none smtp.client-ip=209.85.208.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="mTWxnShD" Received: by mail-ed1-f46.google.com with SMTP id 4fb4d7f45d1cf-57825ff689bso1997294a12.3 for ; Wed, 22 May 2024 04:30:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1716377411; x=1716982211; 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=YZoiqpvOKZDIGgJEiGUZklf8/EHotP3f2aXxSG+hvYE=; b=mTWxnShDD6qW3a6j4koCt4teJu+mT5nvGaLkGgFGtM3snjpiy1sGhdp2O9gq3LKahE oOBYoqii4KAEo43ofcU6hGzJ9CMeb8vfgEmOIKuM6xtHvZ7nPr2womhWbKrjt5kDRzhG DrgytcPc0NtZ4kL0dHmddCFni9+ItAYmMxhTpEnAAkyh+ljns/TP7nMQ6mnKDjkUmuFq pkNUtTVmXIBOfESME3Ax9tEzqRubXzm72HF66Paxjm0JGPzLZPa3ZV3bdYRjdiqOjE7p 6QCxLDzQ+QDZXOFoN4JxyyuaFQlrGbezlEGzvXpmUa01ud8eBWO7iXtRWbahs2Ul2AKN Hzgg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716377411; x=1716982211; 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=YZoiqpvOKZDIGgJEiGUZklf8/EHotP3f2aXxSG+hvYE=; b=mzArHTFjsb+4ELcYQ9sc8W80M0c8y5JEX+/y8ikx6s2++BdMCLlNWlxRweJZ10ux/h xY5gnDhRCzErmH72bxdujhAFXpqhVX+u23IwNsneifiIUH62rTT691S8ztXKQ/qSwKa6 Y5MHNZY9myQAAIDwDu0s8AYddwIEvGopXfNgYI5YxCHm4KpPYZcPa0ob6IFxnX8d66ro reZpGZR+bY2Fmeh5/lPCcu8GelHIJRIQBK/uliAGn1eR1orcrPUFSiKXjDZWmF+PVaqm PuydQha+JhWeQQTIwkTSjavxQQtoBqqtqflrm8pUYRXvnAaBGI0oNcS5z3QKHQbJAC5B TnFA== X-Gm-Message-State: AOJu0Yz5q7HmhOX1PoPi7Z+UQ3S9j05iuDqYK/sPF3e/Y6k53zCT8pyo hbXYYgC4YDKR2oaKLUCR+bSHsPAAOFlSS1Nrp0Aa2U1FUH9S4ptPCR6l/K2T/U0= X-Google-Smtp-Source: AGHT+IHsu8+uMqmAFNEqXh0NM9TQOod+Je5R+HNL20bB1H5C4/766DKxa0EsQmQkXNDRxRajWzKPiA== X-Received: by 2002:a17:906:404:b0:a5a:377e:4c4a with SMTP id a640c23a62f3a-a622816dd71mr103849066b.63.1716377411043; Wed, 22 May 2024 04:30:11 -0700 (PDT) Received: from [127.0.1.1] ([2a00:f41:c55:53ae:4d0a:75f4:a9ea:5025]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a5a17b01652sm1768363066b.167.2024.05.22.04.30.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 May 2024 04:30:10 -0700 (PDT) From: Konrad Dybcio Date: Wed, 22 May 2024 13:30:04 +0200 Subject: [PATCH 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: <20240522-topic-pmc8380_gpio-v1-1-7298afa9e181@linaro.org> References: <20240522-topic-pmc8380_gpio-v1-0-7298afa9e181@linaro.org> In-Reply-To: <20240522-topic-pmc8380_gpio-v1-0-7298afa9e181@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 --- Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.yaml index 50846a2d09c8..a52949526a2a 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 From patchwork Wed May 22 11:30:05 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 13670800 Received: from mail-ej1-f41.google.com (mail-ej1-f41.google.com [209.85.218.41]) (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 7A8BA82D6D for ; Wed, 22 May 2024 11:30:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.41 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716377416; cv=none; b=pM+T+V23uzh5NUY6ATwcuroSAySaRKvZWuuerXPvNl63uMPCRN7KXatKxCbReWzhkvjBHV2gMIyfYeZOG0BZKGBwMzYFTQ5Ww3KQoRJP6Y9xpUm4QAs8e6Mb0W11Il9T4+m2Vke5e6DHyoxn+d8wyuLCSkkHx4OjLAvAK5KHdio= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716377416; c=relaxed/simple; bh=4CIO6artRJ4ZRunAE1h2kRB6vpyNhD0KsLJ2hd/Tayo=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=ZYlqOopDW/E1QII8lP2wlFDETKRmnwF3SNOPm+QIpMrqa7QQk5MkkOyZ67rA4tXZiFvFXv/6JIZBDniPfLukH9oCVlZ0KYsO/GAdsT8rYAJWVgFcnVzelt3UwQdSDlzM9tnh6pQEsL2Qe2szBpXGcLmUFuUA92Re5+OFlcg16Rc= 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=MZ1oSmi1; arc=none smtp.client-ip=209.85.218.41 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="MZ1oSmi1" Received: by mail-ej1-f41.google.com with SMTP id a640c23a62f3a-a599a298990so1033008266b.2 for ; Wed, 22 May 2024 04:30:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1716377413; x=1716982213; 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=MZ1oSmi15yjxcPzhQ7Q1d67WMSkwHlMGK49ImKXtOy5fUAJqQ/OhYrUQqwMyRwE5I4 cNZfiTEfGf5o57r8kVpvnAUuZgW4WdX2qL2hqhXp0mR8v3d8xk817AU+Ce95LYjs+lz4 pxxPY9jC8dBTWCiqWxzhKvN0FeL/mYLfd/E5EhyAZp4gU6dfOqq7EZUaTxX7aINMTY7W bn7swuheVDpaCmcfEMuyu/CoA9BAeFg7U81iufasw0mjq3+UJnRobW/E35UC4RSyJENf LNHcjqEQEOB04xe7RvSulmnwv2B270hEGpWNq3M9D51YlpnYcZYElyXCBXblyH35j0tj FmnA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716377413; x=1716982213; 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=tNZluyVuooumczmC1q+7f+Dks64gVMBPK9Z7C1VYTPK/tSxKsXNl89/Ny3wasEuU59 WnqbkdEljU4LXEtQA/hSciObfzZzE6aAM+K5TYze+VEfJo14Wut3/eB4W+zEQ0H43Ei1 MKmi9UAMyC3IfxfUsUQ297E2Wl7V78XtInsO18uvRkwScJN+i9o1Wzl2FlH8RGbNWcO9 UKXKAv6S1xeq2LUCwvGjFNDLfmAyhudaHbqN/1QAWbPWI9OaPBrsxOsZ2adovxRd1MNy BR2pXA+GyhWP/0ohRfBs8jVSgc95vwXVdA0DGBmuOXmJ5GiRRD21DNPCBOq4uFSocI5t qMkQ== X-Gm-Message-State: AOJu0Yy88HUbhUBEtM9aQ4e+43I3TDXIX8acamX9c6+AzjFyVvcr/196 s1EUVFIOwN5myGkAh5wjwt3sT/HxxXguwoq2a5MhltI0wN4d6qMgE/lxEu2FZQk= X-Google-Smtp-Source: AGHT+IEzNDd0Cncky8DxksUpwFp2MAsZW2IdqX/pyaQ60q+kGtJRzL8vAfOsh7cZPyw5OgbfI7vWpg== X-Received: by 2002:a17:907:6016:b0:a59:af54:1651 with SMTP id a640c23a62f3a-a62281646d9mr96720166b.57.1716377412863; Wed, 22 May 2024 04:30:12 -0700 (PDT) Received: from [127.0.1.1] ([2a00:f41:c55:53ae:4d0a:75f4:a9ea:5025]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a5a17b01652sm1768363066b.167.2024.05.22.04.30.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 May 2024 04:30:12 -0700 (PDT) From: Konrad Dybcio Date: Wed, 22 May 2024 13:30:05 +0200 Subject: [PATCH 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: <20240522-topic-pmc8380_gpio-v1-2-7298afa9e181@linaro.org> References: <20240522-topic-pmc8380_gpio-v1-0-7298afa9e181@linaro.org> In-Reply-To: <20240522-topic-pmc8380_gpio-v1-0-7298afa9e181@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: Neil Armstrong --- 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 },