From patchwork Mon Apr 1 08:38:51 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fenglin Wu via B4 Relay X-Patchwork-Id: 785236 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BFAA1B671; Mon, 1 Apr 2024 08:39:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711960779; cv=none; b=DN4HZwcIqM60FP2kblkgfJP0r6h4paUCgGw8cRXz79kcVwaoqrxeipQaxWnsbN0cbNt/+Kns4CWYXrLn4wGgvja/s37Ur5FLrc6ETKL7XZ7kDt0GQw74VN7gA+SBqn0p/tox8U2HOZP5GAbeIzL+P/zDwSx98OHV/ThgI54eVsg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711960779; c=relaxed/simple; bh=2pSJ5RtkTJUIWZtuMClF1MziyBCDcsQTg8O2HQnpmqY=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=adkL4KX0/CwrB6OdAEfJq5L2Z7/ATDpjeQ6YwQmFeQklf+Mqyuja7OjyOWQTIkZ15wjobSSYjtSU4adaRDnU8bIBW360AK63SOJEa35Qe1WMsMVZHKpsTGE/GSDloxfMsl63OgpCP/k1WbQbe0puVX3u8tUTWVx/2aqA3enq4QM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=a9vqmSx1; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="a9vqmSx1" Received: by smtp.kernel.org (Postfix) with ESMTPS id 90AABC43390; Mon, 1 Apr 2024 08:39:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711960779; bh=2pSJ5RtkTJUIWZtuMClF1MziyBCDcsQTg8O2HQnpmqY=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=a9vqmSx11gIRR9yjQ5S3i7IzNaI5HitWIP29zsuyVUOPQb7N+8MRrVulVYEkAGWQf 8Lna1pDemF1OT24I3nraWKOa/GYPzDlxRkW2sSF9lKYrUsDKw/TF4gi4gNFOIj/Lcs vgK0G57wwnF/XU/WjXCgbFlWAjWjKrFIFhCSP6ewVtnlUywWxvBpWRPMoqICJ+SAnC z6WtzxHCMuqMZHy4E6HwfNzRNQLz9UbVaXEucgmIqTSoRoy5w1/DBQgWe6Fx4muBiV dEFoLeBcgwKx3zEE9mSUD/GXvBLliHzNK3E47eZ64FoyJhd0ArlwVuvnjVZio6CrQ9 aQnXRMx2P1TRw== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7F00CCD128A; Mon, 1 Apr 2024 08:39:39 +0000 (UTC) From: Fenglin Wu via B4 Relay Date: Mon, 01 Apr 2024 16:38:51 +0800 Subject: [PATCH v8 2/3] dt-bindings: input: qcom,pm8xxx-vib: add new SPMI vibrator module Precedence: bulk X-Mailing-List: linux-input@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240401-pm8xxx-vibrator-new-design-v8-2-6f2b8b03b4c7@quicinc.com> References: <20240401-pm8xxx-vibrator-new-design-v8-0-6f2b8b03b4c7@quicinc.com> In-Reply-To: <20240401-pm8xxx-vibrator-new-design-v8-0-6f2b8b03b4c7@quicinc.com> To: kernel@quicinc.com, Andy Gross , Bjorn Andersson , Konrad Dybcio , Dmitry Torokhov , Rob Herring , Krzysztof Kozlowski , Dmitry Baryshkov Cc: linux-arm-msm@vger.kernel.org, linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Fenglin Wu , Krzysztof Kozlowski X-Mailer: b4 0.13-dev-83828 X-Developer-Signature: v=1; a=ed25519-sha256; t=1711960777; l=1205; i=quic_fenglinw@quicinc.com; s=20240327; h=from:subject:message-id; bh=SwnogURbBf0S1flEa633BZvpsevy5nBnFae6M+y7bFo=; b=4OFH876o7+7//GVWE+1yOW1eW53XniYJWgpW0e6HGlZacoBvwYq+hNkwAKiOUlNl4RNfcS2cb dRWgawbDRjMBCvApIpVfwzt72rkGlW03ZamUx/2ZTnYnkSxHJ72+CtG X-Developer-Key: i=quic_fenglinw@quicinc.com; a=ed25519; pk=BF8SA4IVDk8/EBCwlBehKtn2hp6kipuuAuDAHh9s+K4= X-Endpoint-Received: by B4 Relay for quic_fenglinw@quicinc.com/20240327 with auth_id=146 X-Original-From: Fenglin Wu Reply-To: quic_fenglinw@quicinc.com From: Fenglin Wu Add compatible strings to support vibrator module inside PMI632, PMI7250B, PM7325B, PM7550BA. Reviewed-by: Krzysztof Kozlowski Signed-off-by: Fenglin Wu --- .../devicetree/bindings/input/qcom,pm8xxx-vib.yaml | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/Documentation/devicetree/bindings/input/qcom,pm8xxx-vib.yaml b/Documentation/devicetree/bindings/input/qcom,pm8xxx-vib.yaml index c8832cd0d7da..2025d6a5423e 100644 --- a/Documentation/devicetree/bindings/input/qcom,pm8xxx-vib.yaml +++ b/Documentation/devicetree/bindings/input/qcom,pm8xxx-vib.yaml @@ -11,10 +11,18 @@ maintainers: properties: compatible: - enum: - - qcom,pm8058-vib - - qcom,pm8916-vib - - qcom,pm8921-vib + oneOf: + - enum: + - qcom,pm8058-vib + - qcom,pm8916-vib + - qcom,pm8921-vib + - qcom,pmi632-vib + - items: + - enum: + - qcom,pm7250b-vib + - qcom,pm7325b-vib + - qcom,pm7550ba-vib + - const: qcom,pmi632-vib reg: maxItems: 1