From patchwork Thu Jun 6 18:10:26 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jens Reidel X-Patchwork-Id: 13688874 Received: from forward206c.mail.yandex.net (forward206c.mail.yandex.net [178.154.239.215]) (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 D8B982110E; Thu, 6 Jun 2024 18:17:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=178.154.239.215 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717697880; cv=none; b=FvRxStI+6yH4yIKPjp6o2s3+1Mu57pHIBpVhxilL+jDD+o7qIcNTC1bDueggmGGT/iwc9DCWVBjvCre1Tw5HFX93/5b5rvk208stIi/8pDGMiN37EIuRW+0rcgyM1+sAjtSDNgJOlLlgbJ17xJo2WdAMiLNEW9VtlnfRk0W5ffo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717697880; c=relaxed/simple; bh=sb1zLUYbrl2SIUPBtYUmpKxgCNkIxRuR8jn/SsRGZeU=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=KLuQcmSZld9hlbZYCxnZo4/kRPv5VAtoRbFigYbdrxTU7kAbSTZIrx2DJzokOIxK7fuZs7YIB1OuewytU0yav5HkesZ8Ab/sY51pNRBMAMH12utBn7vvZ7yWS+hSL74x1lPLWj0TdfdC7GFUFBqoVRegxUsIQ/d1Sli1Gk6also= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=travitia.xyz; spf=none smtp.mailfrom=travitia.xyz; arc=none smtp.client-ip=178.154.239.215 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=travitia.xyz Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=travitia.xyz Received: from forward101c.mail.yandex.net (forward101c.mail.yandex.net [IPv6:2a02:6b8:c03:500:1:45:d181:d101]) by forward206c.mail.yandex.net (Yandex) with ESMTPS id 318516710C; Thu, 6 Jun 2024 21:10:56 +0300 (MSK) Received: from mail-nwsmtp-smtp-production-main-39.myt.yp-c.yandex.net (mail-nwsmtp-smtp-production-main-39.myt.yp-c.yandex.net [IPv6:2a02:6b8:c12:5c02:0:640:1c2d:0]) by forward101c.mail.yandex.net (Yandex) with ESMTPS id 26A3D60904; Thu, 6 Jun 2024 21:10:48 +0300 (MSK) Received: by mail-nwsmtp-smtp-production-main-39.myt.yp-c.yandex.net (smtp/Yandex) with ESMTPSA id SAexc4cOm4Y0-fLJE0kDS; Thu, 06 Jun 2024 21:10:47 +0300 X-Yandex-Fwd: 1 Authentication-Results: mail-nwsmtp-smtp-production-main-39.myt.yp-c.yandex.net; dkim=pass From: Jens Reidel To: dmitry.torokhov@gmail.com, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org Cc: linux-arm-msm@vger.kernel.org, linux-input@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Jens Reidel Subject: [PATCH 1/2] dt-bindings: input: qcom,pm8xxx-vib: Document PM6150 compatible Date: Thu, 6 Jun 2024 20:10:26 +0200 Message-ID: <20240606181027.98537-2-adrian@travitia.xyz> X-Mailer: git-send-email 2.45.1 In-Reply-To: <20240606181027.98537-1-adrian@travitia.xyz> References: <20240606181027.98537-1-adrian@travitia.xyz> Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 The PM6150 vibrator module is compatible with the PMI632 vibrator module, document the PM6150 vibrator compatible as fallback for the PMI632 vibrator. Signed-off-by: Jens Reidel Reviewed-by: Krzysztof Kozlowski Reviewed-by: Bjorn Andersson --- Documentation/devicetree/bindings/input/qcom,pm8xxx-vib.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/input/qcom,pm8xxx-vib.yaml b/Documentation/devicetree/bindings/input/qcom,pm8xxx-vib.yaml index 2025d6a5423e..76a286ec5959 100644 --- a/Documentation/devicetree/bindings/input/qcom,pm8xxx-vib.yaml +++ b/Documentation/devicetree/bindings/input/qcom,pm8xxx-vib.yaml @@ -19,6 +19,7 @@ properties: - qcom,pmi632-vib - items: - enum: + - qcom,pm6150-vib - qcom,pm7250b-vib - qcom,pm7325b-vib - qcom,pm7550ba-vib From patchwork Thu Jun 6 18:10:27 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jens Reidel X-Patchwork-Id: 13688873 Received: from forward200b.mail.yandex.net (forward200b.mail.yandex.net [178.154.239.157]) (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 D10392110E; Thu, 6 Jun 2024 18:16:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=178.154.239.157 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717697801; cv=none; b=NP/v8fpgW5pinAdMxwY1YuLyYwBk6cJFSz50PcDuv5YsIQy/t+YLrCuaR/vgtgrDHC4fZ389TJAHV0tKu2o5nqCCY5ZQYRNB5/JcC0nxpA+Y5po3yZIa0CEW72IIl2jiOAaCv7JWsMm9eO7Q8Fss4Do4ZZcT4bjyVkjNE9mVrCk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717697801; c=relaxed/simple; bh=hFVIPfL+ncnejIkZMNZ64W6Y6Etv53HKHSG/0RAIZ0U=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=iUbSnug0A8fV8zeHiF2NM3z6ulHea29AaaFZfTZcHXrv/w8GyldsuGogGIV6+TuntDr3/B11lg1vZ5FbAJVOOB1SncsGGfhNgQusqgVQDNPdaBBFK2X6bZ7iwEZOHU94OKdhHKqS1aJqSrEmwQ9ezOptRrIwVUg4q8n4YQVPKAc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=travitia.xyz; spf=none smtp.mailfrom=travitia.xyz; arc=none smtp.client-ip=178.154.239.157 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=travitia.xyz Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=travitia.xyz Received: from forward101c.mail.yandex.net (forward101c.mail.yandex.net [IPv6:2a02:6b8:c03:500:1:45:d181:d101]) by forward200b.mail.yandex.net (Yandex) with ESMTPS id 7E21665BA4; Thu, 6 Jun 2024 21:11:00 +0300 (MSK) Received: from mail-nwsmtp-smtp-production-main-39.myt.yp-c.yandex.net (mail-nwsmtp-smtp-production-main-39.myt.yp-c.yandex.net [IPv6:2a02:6b8:c12:5c02:0:640:1c2d:0]) by forward101c.mail.yandex.net (Yandex) with ESMTPS id 5E00D608ED; Thu, 6 Jun 2024 21:10:52 +0300 (MSK) Received: by mail-nwsmtp-smtp-production-main-39.myt.yp-c.yandex.net (smtp/Yandex) with ESMTPSA id SAexc4cOm4Y0-fMx1eK5J; Thu, 06 Jun 2024 21:10:51 +0300 X-Yandex-Fwd: 1 Authentication-Results: mail-nwsmtp-smtp-production-main-39.myt.yp-c.yandex.net; dkim=pass From: Jens Reidel To: dmitry.torokhov@gmail.com, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org Cc: linux-arm-msm@vger.kernel.org, linux-input@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Jens Reidel Subject: [PATCH 2/2] arm64: dts: qcom: pm6150: Add vibrator Date: Thu, 6 Jun 2024 20:10:27 +0200 Message-ID: <20240606181027.98537-3-adrian@travitia.xyz> X-Mailer: git-send-email 2.45.1 In-Reply-To: <20240606181027.98537-1-adrian@travitia.xyz> References: <20240606181027.98537-1-adrian@travitia.xyz> Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Add a node for the vibrator module found inside the PM6150. Signed-off-by: Jens Reidel Reviewed-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/pm6150.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/pm6150.dtsi b/arch/arm64/boot/dts/qcom/pm6150.dtsi index 6de6ed562d97..d48cf92bda78 100644 --- a/arch/arm64/boot/dts/qcom/pm6150.dtsi +++ b/arch/arm64/boot/dts/qcom/pm6150.dtsi @@ -166,5 +166,11 @@ pm6150_lsid1: pmic@1 { reg = <0x1 SPMI_USID>; #address-cells = <1>; #size-cells = <0>; + + pm6150_vib: vibrator@5300 { + compatible = "qcom,pm6150-vib", "qcom,pmi632-vib"; + reg = <0x5300>; + status = "disabled"; + }; }; };