From patchwork Tue Feb 20 23:58:50 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 13564780 Received: from mail-lf1-f54.google.com (mail-lf1-f54.google.com [209.85.167.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 4C3AF154C1E for ; Tue, 20 Feb 2024 23:58:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.54 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708473538; cv=none; b=u5GMce/GYnq/zrVSdE8YnhXYpsHMtIIWmzsYzkgLR0epUC2t+kKLGhXQIvadkMePyhORFXrIh8dwrGLqvRo+AGu/ecO79Gl9KGf3NAa5zZv7NM5ZgMe2dJPdEnR6T0pJGMfj6cGrOQX0oAFc8/1DxEi3iiPDnW43JSiFz2azT/E= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708473538; c=relaxed/simple; bh=I72GnJCLd9/WSa0N+ty2v+dNI2zZTTJ7yTodRVOBsLU=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=m7Po2x2HNmxOqkRyfrGte+jrY70zqJQbKHgyFQ3zEtjIFet7ADXdYk9g54xvVb8dYl0XcwKGfZvQtkTexbvFJhx4qLyK5f4vgTUZtIHzdgfUVAdjSzRmsMXjp7kXBH34OLsDSz7qQgAzOqA956XsmKK1zQxul87brhoF7iWJeNo= 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=sVhGVHk8; arc=none smtp.client-ip=209.85.167.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="sVhGVHk8" Received: by mail-lf1-f54.google.com with SMTP id 2adb3069b0e04-512bce554a5so2969879e87.3 for ; Tue, 20 Feb 2024 15:58:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1708473534; x=1709078334; 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=o4dH1ivAwHXEfRcTfOF8u7VTWdZsEwOMNlr3FVqkNPU=; b=sVhGVHk8+qu5zMFpDYMIPwZRNQUp8dTSGoC8Lyv+FDHDH67lCraZ/SNGxtNWDSEeno /PEh79gtDYRMeBD4mMjem5wSVg8HVNkM9w7mQ/TG1RON7D84YC61xfbsrCJXvq/s2OY9 HROT1ouoH2IfPz965cVifP0/eEN+jcA9HKYHgBnqF1LQkWoW8yb4BFQYjJy0V815zBty br6auFElcBvMvpkEkhOI0Bnlvy0FJDvQn2KfI1kFesvfq0ZmKmrB+14JDdjniEY/d0XR hFxZggi8dItnihaIEeV+CyZUSNsIEA5naOd62Z6c0Wz4L51fyVoo6TWbY1lPCI9YH6DX U37Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708473534; x=1709078334; 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=o4dH1ivAwHXEfRcTfOF8u7VTWdZsEwOMNlr3FVqkNPU=; b=IW3Yw/gi0GSFc7jKKuc+2pNZPF7LYuGiF1auzvWqF5Smr5JfYFMsD2ZfAhWtQ0GzhW FIbagEBD7urmV09cOvvE+mGxU3EWY0RNrtvsot++7bkWr6fippFANiAB6CMwcfE/amVX qQjFT4ENzW0cVFyEaxNXJlw3ZVtcFl6fFlCK5K8VMM0R6ATdI6uoJuk7c4iPFG5vPSYK Gw75MdKr//as6aROiTUNejWieAtQoOudlbnufbHfN1jAuLpzgh+A0z7SKq6fd30km0DE k8kVkdswt0kvjaGBWSAVKjrOl4Cp2qHHpFNoyR4/3N8h3OqbYkw4Jx9cDyQSS4a442/n GQGw== X-Forwarded-Encrypted: i=1; AJvYcCU/0rpygimxWPyObhKFp0vYzWmggrdbTtri9XIwBvhvML6FS3bC8cUGfa6MINboYrINVCR2gUefvrYDYvNuep7OUQEgaEAOiVea X-Gm-Message-State: AOJu0YxbeOxrL1rAt50FWfPBAVPgpzprVr+NjDzr/A1wcLRJFrrDvS7x iU+EwIbFbmKCZq0a3hM18Nv8sVDD86aiyZ0HDdkqO1ihJ7gmd9x7F/ksNe4ekAA= X-Google-Smtp-Source: AGHT+IEOWHRu0nBY2wHAv0SKzD6r95/9wH2ZYJzxXoOE2qLCzqw3mSA1gzeFO97Ol7nFNqgpQ5fBag== X-Received: by 2002:a05:6512:3f06:b0:512:8d30:6dce with SMTP id y6-20020a0565123f0600b005128d306dcemr11672739lfa.52.1708473533791; Tue, 20 Feb 2024 15:58:53 -0800 (PST) Received: from umbar.lan ([192.130.178.91]) by smtp.gmail.com with ESMTPSA id h27-20020a056512055b00b0051167de8560sm1438831lfl.38.2024.02.20.15.58.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Feb 2024 15:58:53 -0800 (PST) From: Dmitry Baryshkov Date: Wed, 21 Feb 2024 01:58:50 +0200 Subject: [PATCH v3 1/3] regulator: dt-bindings: qcom,usb-vbus-regulator: add support for PM4125 Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240221-pm4125-typec-v3-1-fdd0ee0465b8@linaro.org> References: <20240221-pm4125-typec-v3-0-fdd0ee0465b8@linaro.org> In-Reply-To: <20240221-pm4125-typec-v3-0-fdd0ee0465b8@linaro.org> To: Bjorn Andersson , Konrad Dybcio , Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Wesley Cheng , Bryan O'Donoghue , Greg Kroah-Hartman Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-usb@vger.kernel.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1066; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=I72GnJCLd9/WSa0N+ty2v+dNI2zZTTJ7yTodRVOBsLU=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBl1Ty7+EA1phDtHjGy+z/YkjXb+FB1VvZvKJ3Tz kq2i4NHmg2JATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZdU8uwAKCRCLPIo+Aiko 1YUKCACNKbnhPO+7xDqVxHPQnHkNVFl5x3SNvshghflafN/vNrZ8ObGn/Ip0zE2ql1T04xserQM JAyqmTjPU50+c2PVmJRv/jCZs/4l+mkT2McD40NujQxRH+h1fgjJunD6hzX9YwM1F27JXGNjspu x07YaP51xAtmDKrZd8OnEGxZjx9NTOWAFQnNrlExaVQCVED/+Dgn/ibz7mGkAcpC5EM71Dd1IPi w/gUJu3cCVu2yHWNl4pFDNxlyzb98LaDrf6XqLCHdNyVMB6cvwB+dBkTD5YIjjn6Lgqm9SRIirI aU7Oy+I90nlGzyx/rV3ySgSNVg0LVKC7ENY81VP27ZYcAXfA X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A The VBUS register block on the PM4125 PMIC shares the design with the PM8150B one. Define corresponding compatible string, having the qcom,pm8150b-vbus-reg as a fallback. Acked-by: Krzysztof Kozlowski Signed-off-by: Dmitry Baryshkov --- Documentation/devicetree/bindings/regulator/qcom,usb-vbus-regulator.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/regulator/qcom,usb-vbus-regulator.yaml b/Documentation/devicetree/bindings/regulator/qcom,usb-vbus-regulator.yaml index b828a69ccb84..33ae1f786802 100644 --- a/Documentation/devicetree/bindings/regulator/qcom,usb-vbus-regulator.yaml +++ b/Documentation/devicetree/bindings/regulator/qcom,usb-vbus-regulator.yaml @@ -24,6 +24,7 @@ properties: - qcom,pm8150b-vbus-reg - items: - enum: + - qcom,pm4125-vbus-reg - qcom,pm6150-vbus-reg - qcom,pmi632-vbus-reg - const: qcom,pm8150b-vbus-reg