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: 799020 Received: from mail-ej1-f54.google.com (mail-ej1-f54.google.com [209.85.218.54]) (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 B2F7282889 for ; Wed, 22 May 2024 11:30:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.54 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716377415; cv=none; b=FYIHBYK1VQTDiclsYQS098B5xrCGKB6PAIzTYvf4mDnYg01AMm/YkKCUgnWEVN8zx6b3urrZhKx6uY3fukFeNfGh/1utCmmhbGRBWY2fJRdpUG3qckclpMMXHdWHcigmKRwY25lLb8uvanba88z9vr4Dcu+8SeFOwI7DxMHX4A4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716377415; c=relaxed/simple; bh=8fClpFzgbj956EFn+uaJ6XnDcz4bIDEVxAzQg1CwQNQ=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=daEov74cqySNaHi3hhH8uSxIpAX0pyJCHOKzmzBtuE906iAugEfN83/X9VPnieP5qFO+QyEreDsttTKszi1iGbWH1dRBOYx3j4h+sSdx0h6RejPzWm+jHN7n4ICFYUaZFJqE34ToOSJVNWFdNXCKtH9c7QrhpxZ4nHNtFzRsAow= 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.218.54 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-ej1-f54.google.com with SMTP id a640c23a62f3a-a59a387fbc9so1004994966b.1 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=w0HNnd/i203386ItMcGOfHGqNdd5pzjl1mn1wN/TJa792rFB7kaPIlO+r7ngtVEIGH coVQHcKcnPlalludennHGBOrbcUuKonPvHwf0WJbilv9zdMomUHKlzkazagAnJDeGUG/ WMcMsh4QzFbXSZD3vA2w9EGg27MKQPG+MoVfLhwcby5ETmTJ1Q4APwvYBlGmMzXA7W7U +GWTgCHMCXEJDsOQZfevSca7ddGT2J/bF41lKhQk+En5KF7d5jk1cot5XAQP+0W4iH9M 6mXH3n58y6JvUsKZ0sbQRnZpK6FFlFZ+Vy9cZuM4ojsjQskWX+D5tGyXPU1VRVWIXmgV qUTg== X-Forwarded-Encrypted: i=1; AJvYcCXBfDDe/huwipIO5HCntP1+5nppTyIVi14C+AJo2n5AivPNYzuBss491orQ1Cv3BgV4NZ22lFHAi0/8ELXrEfHsv8HP/hFYZBJemA== X-Gm-Message-State: AOJu0YwNW3c3NBx+IsWSMQNAtr7U2Y97QVInPIOWfC8/3Hda3RuC1h4u dQZkxvZEi8Gq1B4nGCYoECxWV+2EFO9ijvXEQNtvcXRHd8OknsqEpEsuj3YDVto= 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-gpio@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: 798250 Received: from mail-ej1-f52.google.com (mail-ej1-f52.google.com [209.85.218.52]) (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 8502282D7A for ; Wed, 22 May 2024 11:30:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.52 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716377416; cv=none; b=OZ3lfYChVBKAOw8v9oen0hKo3hqO9VS5SKyYoF5nELc7sP1o35O43npgJ9CnawV+QVjKjbo8eF5bjHZhE3NwUuF7C6Vtlh8vRunGa/pXJ9y2KneK+3vzwHbWz12bULYP5ennYkWSJHa0b9j46ZSpari1MTdqtZDrkFem8+6psTY= 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.52 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-f52.google.com with SMTP id a640c23a62f3a-a59b097b202so746824466b.0 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=WzSIMDsWbMqzs5ptnqqRx22kSjUkoWWR2fp9FBs4oXY0XKvNbR178kvV9jmuROzXEK fga0luo/bpaW6cPx0XV0pItPExFCFhzNaAIkC7Dec+1pxLOSA+/If1SDSQLmALALsjcj +CStx2RfgNSj55v4B2HWNMqOgwetx/dYKmqRhLoWucGdzoNfb+10jKIKKfKSF3guOtjf Xn9YyAHhRJNFV0t+Nlk3UmAMs5AnDS2I622+cTo36/Gew9ybXo1f8XWF/IjYHNNqzSEp YOkYpVQrYe5aOMMsFP7QPYI9r9WcdU8WQn1F7RxdH9vlWf7dG7BoRw2nK7Mgs/8ZbET1 5SZw== X-Forwarded-Encrypted: i=1; AJvYcCUUiDmsrFUNTltqtD9jihPrz4iBB9yYKlvrYxTIhxc+78VYr+mX/tRRBiVYhKsCljcZu+eP+szl1eOKnb+9TNQjCbYJNE2fFBgE0w== X-Gm-Message-State: AOJu0Yyly10W831PK7j159EYhq316Qizxg4Og6o2dZbpWLTX3maTtGcp KDnsH9ehC7BNr+QZkT7TPVfm+0pOQobtzY1CK/J8jLxtgTuKGtEqu6k4XL7sIGocjubRDbR5pB/ DoT0= 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-gpio@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 },