Received: by 2002:ab2:3350:0:b0:1f4:6588:b3a7 with SMTP id o16csp1497870lqe; Mon, 8 Apr 2024 10:27:42 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU9aV1lt3lpVZ82h+tMXvq0D2tpJ0/O9W0wieRMv2viWoddDt1EHypxTCvNtcb6RA1Hr+WrlIic7EiGaybidBElUwtp4bt2qniAaq1WXQ== X-Google-Smtp-Source: AGHT+IG8LcP+o9mlnmq1ikRyG4OFw0G7iLS/yGo5yIwmizy9E3ErrM4kPTftSlmOr6hEHA8kDkes X-Received: by 2002:a17:907:7e90:b0:a51:ab69:dc50 with SMTP id qb16-20020a1709077e9000b00a51ab69dc50mr7471468ejc.15.1712597261929; Mon, 08 Apr 2024 10:27:41 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712597261; cv=pass; d=google.com; s=arc-20160816; b=JgYVkanYd+k9hfVGqCkbSHbBPYf+SAopRkgs8N82LP7+7M3u31JQ0v2P+hYeNgiY64 yERWV61S3eJ5qiE0gKBOkIRD6Ov3JAx8VP1cpbo0L88lTiL8wxl2Pu1uvPMWsUOqCRCV qfFvWyiU035yn9vvJP62QDirM+WlOkvSuM0trL0rMrxygLPR0LAvKvWWWDHBMEU2jKjS IULNagYT/IqtB0gCqjRtb11oP3tKcZOZMNYD/qekV9nT4ZGIupqMVefAV9ipSdcLTC6v Ip4ViwFAzYmgoxWk0ChtlKpd5KxtTlG/qiqfVOjhqy1zoYyG8++81Ie+6l36fEAj5Ado 7Ydg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=YnWxjGpHsquU6yu3iiYYdxaEux1iqzEpGys5Zu0Xiy4=; fh=Ab7e+KexQ8dlQRadquRxeMryYl/G53b5KYO3vXYhqrs=; b=T5bVLMcXNfnEUZnrTk5A8V58k+Czz0n/0gga/y2PrYwcuB/ukl/RlAwDm5cLO7vTpF x3F4erYpeI8uDbyUEUGvciJHSois6MzZsFgchQZmhY5ILrgJzZEnNry0zUyir2xGSiGu IKXZUf1qgJB3NJmyaX5mDQelbWkIdq3rk51SECOhUEFLQOEAsU7Mpx4PIBd8jkEpTjwy g8WhyQUG+TgbbbdYIgb1FER72yb0Ui5lSO4quf7WHDxdHHKX74r0jiF2KI+54X3KL7r0 aQCZJLlxarHTp4CvnrIg1FUeyiB3X7o+DXHRysU1QBsKwD85n8oWOWqiGYiZ5VG3VfRl AUNA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=V0Owr5Gd; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-135750-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-135750-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id k19-20020a170906681300b00a4e97320807si3876053ejr.399.2024.04.08.10.27.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Apr 2024 10:27:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-135750-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=V0Owr5Gd; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-135750-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-135750-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 7AE761F277A3 for ; Mon, 8 Apr 2024 17:27:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 42AF31448D4; Mon, 8 Apr 2024 17:26:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="V0Owr5Gd" Received: from mail-lf1-f45.google.com (mail-lf1-f45.google.com [209.85.167.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 2A255143C4F for ; Mon, 8 Apr 2024 17:26:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.45 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712597215; cv=none; b=NY7wZYPNvaPdXWLzqUnprd+ObDQICQvaEkqkYyi2sumdqAR8XwNaawHFigk535ihTTcisMGmqNQlWnYpDypFrZpu9bk5q5W0FMMtfLHbt/xTVjYvtoDkRNW9rved0zgUo+Jg5O1It9QIepNRJ6eW77D3ZRD0qe4UIv1Ep0ApYgw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712597215; c=relaxed/simple; bh=di1fZE/NdPgQEly4hs4vKPLsKw0xKFpHQOpERMLkIqc=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=aNqYGNA2aulH1fZ//NAuYDoNBJn2bmrXhKmm4ZKMuElvjQcvEh6h19ck1P86Zrh+WpZtgIbvoFl8/4R7apDhni1durZmJXkzFoJjiORjBDeGB8s1CpGblLZ5lIbm1akbc3YL2p9ax18n1LWb3auNLGCp55fiBOXQLqss8zZd//o= 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=V0Owr5Gd; arc=none smtp.client-ip=209.85.167.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 Received: by mail-lf1-f45.google.com with SMTP id 2adb3069b0e04-5171a529224so1402824e87.0 for ; Mon, 08 Apr 2024 10:26:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1712597211; x=1713202011; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=YnWxjGpHsquU6yu3iiYYdxaEux1iqzEpGys5Zu0Xiy4=; b=V0Owr5GdYDgKciyt+03vDpMucyvb9nGRXNJGDeKX99C4Mr2pajPzGWvh+1aH1huDFc Sehj8/3rgW66T9hIruGPDaKZtVXLJiFYDCEtSdKCEW+7JGDK1WN1VeCYB634SQ8tpgAi EBRxL4/RFA0CTgK4+wfDGQqx9E+Sw7XGDf0mdTT2FEvOE6+GBAzC9T48tZknpymfmXin eTNPS9/eJAHBfKEH2Ocq4jfPMYXT7KVT+4q8l6Ex4vy10I2paChTTP14KN1Vw0Fg34HT sXIlBnsT30SEGV1SttOga/kSVRexBVUi7oSWNP7N56CoCtQcvn6uRg3hPXgDFjisKXdf eX6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712597211; x=1713202011; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=YnWxjGpHsquU6yu3iiYYdxaEux1iqzEpGys5Zu0Xiy4=; b=R7gr0PZQiBC5+h8saUFG46QxRS24iRSqWxs6aJH1O6tTGyF+GCZK5E5aTKzFGeB+3h rGRJ+xJaqHAsmfEcLm399gMiH6C60L/yVhaZvYHtjk+kFxzemLujILFgUDVwqdYRtKWn y9cVUE6aoTDgnz8WdSaZc10DcGfehwlINDmynWd4pCsiKsAk2fNE5hNoJrrXHGR2xOqF 5yQlQGC/YXxg6xSPJ0q4ircsQep2XoQ/hNxG0LnCduvQ3OnUULwHSef7Tq4MdBMeuF+e ANPxlbxRQHaWwqPaKZRBBp69cL46cKI+R6CHediaAHHnKkvT0z6s/lYZUAuxnvrjxLyn vz/Q== X-Forwarded-Encrypted: i=1; AJvYcCV7weWjHdGq3qkLY8GCjeY3Tlv/Aevj/8tdiJdi1qyJo7iGLypgeXY68zgw857JUIu9s1t4k+XpsUe2ZRc83GSBzWipTDHr/d4gaNZl X-Gm-Message-State: AOJu0Yz7OUgcAJnG6GIwRCcNXO5ReuYvxmfsTzckRGE/cbsV/YfF6mcH c22xhIwUFS4VyzySVSeB4rafO0wbI63k2i8QJ0IbvsQzIWp2SB6/6ej2oUv/Qs+E1cIfQr1wVJh zaZo= X-Received: by 2002:ac2:545b:0:b0:516:c3e1:15c5 with SMTP id d27-20020ac2545b000000b00516c3e115c5mr5703479lfn.69.1712597211312; Mon, 08 Apr 2024 10:26:51 -0700 (PDT) Received: from [172.30.204.25] (UNUSED.212-182-62-129.lubman.net.pl. [212.182.62.129]) by smtp.gmail.com with ESMTPSA id v22-20020a056512349600b00515cbf19fe2sm1247477lfr.142.2024.04.08.10.26.49 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 08 Apr 2024 10:26:50 -0700 (PDT) Message-ID: <794f7e3c-6467-4da1-bc9f-3853459bbd78@linaro.org> Date: Mon, 8 Apr 2024 19:26:49 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 1/2] dt-bindings: pinctrl: qcom,pmic-gpio: Allow gpio-hog nodes To: Luca Weiss , ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, 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 References: <20240408-qcom-pmic-gpio-hog-v1-0-f61fc5323110@z3ntu.xyz> <20240408-qcom-pmic-gpio-hog-v1-1-f61fc5323110@z3ntu.xyz> Content-Language: en-US From: Konrad Dybcio In-Reply-To: <20240408-qcom-pmic-gpio-hog-v1-1-f61fc5323110@z3ntu.xyz> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 4/8/24 18:39, Luca Weiss wrote: > Allow specifying a GPIO hog, as already used on > qcom-msm8974-lge-nexus5-hammerhead.dts. > > Signed-off-by: Luca Weiss > --- > .../devicetree/bindings/pinctrl/qcom,pmic-gpio.yaml | 12 ++++++++++++ > 1 file changed, 12 insertions(+) > > diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.yaml > index a786357ed1af..510a05369dbb 100644 > --- a/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.yaml > +++ b/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.yaml > @@ -424,6 +424,10 @@ patternProperties: > $ref: "#/$defs/qcom-pmic-gpio-state" > additionalProperties: false > > + "^(hog-[0-9]+|.+-hog(-[0-9]+)?)$": I see a couple bindings do this, but I'm not sure if we want two allow two styles for no reason.. Rob? Konrad