From patchwork Thu Apr 18 06:36:54 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Weiss X-Patchwork-Id: 790779 Received: from mail-ed1-f41.google.com (mail-ed1-f41.google.com [209.85.208.41]) (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 87FB31E48B for ; Thu, 18 Apr 2024 06:37:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.41 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713422241; cv=none; b=WRUYADMtUkmj8vDSn6EYaE+0o8nez8KHUNhkbnUckmxI9I4J7qrDWo7za2+0zlZ93SYhY1uYFnhbct/ulwcwV4cs04QK9pBEsMrq4ODCu74E7XbqUouFCRHdX5IKK4M8c6I1ev0cF1CDaCJCKG3EPuaSZVQ1H/ElG0Zkwu409S0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713422241; c=relaxed/simple; bh=IgFSS0qtSnyg++H1olUTQAlmpttnmEZ7gZvh7AhbrdQ=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=EqT2TPalbG0CdRCRJ6UQwLAWT0pPHbYXlwmSaEdFrdAfSoFT38FdDhFg1WDL+mFr9k94hWTf5p487Y0lxLGWw3gS/CJMOfW78+B6DS3sqHn+c0Zkx8KOu1Y4fJBWJLpsKeLOqROyZI3zUZQnfu9fq0NqRMVKqdOerubTKy7otxU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=fairphone.com; spf=pass smtp.mailfrom=fairphone.com; dkim=pass (2048-bit key) header.d=fairphone.com header.i=@fairphone.com header.b=wRzKGQMy; arc=none smtp.client-ip=209.85.208.41 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=fairphone.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=fairphone.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=fairphone.com header.i=@fairphone.com header.b="wRzKGQMy" Received: by mail-ed1-f41.google.com with SMTP id 4fb4d7f45d1cf-56e1bbdb362so552871a12.1 for ; Wed, 17 Apr 2024 23:37:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fairphone.com; s=fair; t=1713422238; x=1714027038; 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=39prjfdUZn68Ea0wBSxJWy7y6KU96R9Wr42vUXg8nHA=; b=wRzKGQMyy7LZx/hWyIHPeJCSYHVjd85B/xXbyMhyL5ETecUcEI7Sax/1ErjNMouwPZ kV2xitYzMf9GEdBwhRHY3ii5qSLtfYaLulHMKZHQ0qECdQs2V6p9g3xOFW5g2OIWKPQs zJgl7dSGegGW8LqwpRM4plOcUqOWmz8J6aUUAwUiwzuUbqHUD6MbA0xKdCAuAovFlBM6 V84UhqThjyJULf6Dhbn/rvqfybrcIKIPqSF0Fl6At5zIQWSZhtKayTsq6hlqd5F9hDXx MtS9UBbSSDcDqN+nV5i/FTbK9EwLTZcSse/Z6V7v65nFvD2jxLHV2OITD3dScm4VD30d Bu5g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713422238; x=1714027038; 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=39prjfdUZn68Ea0wBSxJWy7y6KU96R9Wr42vUXg8nHA=; b=i0PUgcC5dfyc1jgfR2m+h+d+UniXzPQ9BIYhjwoqbN6SnfZN9/Slxl4YPOL9nJKq5f 6K6a2KxZfX9BmTbps6YIR2hO4PpzVsuKqYpCzwZuYlav20NrTwrnZC/ZKJtBpJnyWNpJ YCbPHloRQB+NfAmi0DH3hYfVsRXN8j56rdxCCvsFDFaZhYmqmqB3nsg0hL7CBcU5BtjE 4/bLGX15+mzs6qd11kO5c/9VZbDh/nb9LFnFSwJX0UUkrbru5O0PxywTjzU+HL9nENfT Zyc5LRPKY6Beswfuh1xNYZ0etHjOY9fBx1+1hy7QN/A2/smbZJwdYeJeXIwBMS4KO05l BooA== X-Forwarded-Encrypted: i=1; AJvYcCUcDZg9jvJhAHsZ17oH1U39wWPsyjQEuogo+sX3eIo7hPDcQwhfuBUPo1DTBlX7KptAVIryfPWr0p4m8twK20vTas5lEEn2ZwAL7iCagg== X-Gm-Message-State: AOJu0YyZ0tU7R8q79KDW46da0venfz0rEqP7990d2wWqw+Fgb6Y19qCC Ny1Uk/I3T7sYqmWw5p0SU8nhlQZgpEYvOqwJy9GafvwEH7n/LvllSYmtYJvGs7U= X-Google-Smtp-Source: AGHT+IFMMUtN5QDG0RL08DrlOyhBUpv/2mzTf2vAZ1XgVxE3n0VWHXu9Xd2BxaI1nvTV5u4aIeKVpw== X-Received: by 2002:a50:c057:0:b0:56c:1696:58a8 with SMTP id u23-20020a50c057000000b0056c169658a8mr1537498edd.0.1713422238001; Wed, 17 Apr 2024 23:37:18 -0700 (PDT) Received: from otso.luca.vpn.lucaweiss.eu (144-178-202-138.static.ef-service.nl. [144.178.202.138]) by smtp.gmail.com with ESMTPSA id cf8-20020a0564020b8800b0056c24df7a78sm472277edb.5.2024.04.17.23.37.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Apr 2024 23:37:16 -0700 (PDT) From: Luca Weiss Date: Thu, 18 Apr 2024 08:36:54 +0200 Subject: [PATCH 1/2] arm64: dts: qcom: pmi632: Add vibrator Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240418-fp3-vibra-v1-1-b636b8b3ff32@fairphone.com> References: <20240418-fp3-vibra-v1-0-b636b8b3ff32@fairphone.com> In-Reply-To: <20240418-fp3-vibra-v1-0-b636b8b3ff32@fairphone.com> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Fenglin Wu Cc: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Luca Weiss X-Mailer: b4 0.13.0 Add a node for the vibrator module found inside the PMI632. Signed-off-by: Luca Weiss --- arch/arm64/boot/dts/qcom/pmi632.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/pmi632.dtsi b/arch/arm64/boot/dts/qcom/pmi632.dtsi index 94d53b1cf6c8..b4313728f3e7 100644 --- a/arch/arm64/boot/dts/qcom/pmi632.dtsi +++ b/arch/arm64/boot/dts/qcom/pmi632.dtsi @@ -200,5 +200,11 @@ pmi632_lpg: pwm { status = "disabled"; }; + + pmi632_vib: vibrator@5700 { + compatible = "qcom,pmi632-vib"; + reg = <0x5700>; + status = "disabled"; + }; }; }; From patchwork Thu Apr 18 06:36:55 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Weiss X-Patchwork-Id: 789975 Received: from mail-ed1-f43.google.com (mail-ed1-f43.google.com [209.85.208.43]) (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 A2E2228DDF for ; Thu, 18 Apr 2024 06:37:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.43 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713422243; cv=none; b=nxRBtUqtizKRvZ3H8tWd9hVI1DXVBp2eO+EvM/2d0adEdjbWkYf1/RzFcN+ROHXertRPYU3IRh17+Hb6ihit5Hn97CJimXf26lYiCcdQmZYCsNeRaZXbWu8rz+C0Cpud5MDUqPh235yG7UNh8+kBzeDwSfAXdQdxRCQF9L5BZ9k= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713422243; c=relaxed/simple; bh=kT60WxnXzrxY4hpdxhmajP21sGsE+yA6ZN5cjdGB3gk=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=urRJQLBK03FWZ1S0w2sKp7Fa6PGIrEF2cjAMC+r4mrLZDDZbl/AYyvA5AYp6vyHluRsCU3E+wd381rxUfO0oz7ni+ONi1E+lxcei5/e+RXaRf0FEsyvDPxMhxecF+DyHk3xGy80MXBq29jN3u1/eVvFrXinE3xyIIVGSlKGrxdM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=fairphone.com; spf=pass smtp.mailfrom=fairphone.com; dkim=pass (2048-bit key) header.d=fairphone.com header.i=@fairphone.com header.b=cB1QfxwK; arc=none smtp.client-ip=209.85.208.43 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=fairphone.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=fairphone.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=fairphone.com header.i=@fairphone.com header.b="cB1QfxwK" Received: by mail-ed1-f43.google.com with SMTP id 4fb4d7f45d1cf-56e1baf0380so608062a12.3 for ; Wed, 17 Apr 2024 23:37:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fairphone.com; s=fair; t=1713422239; x=1714027039; 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=1JvkkKzbM6G7xJ6mlKhxNlJTYC5/fgdCMmwInuXlV88=; b=cB1QfxwK6bh0+p+136MfmNnicxqK0ypqlHQpCpAHh+lpjQl+ahWV5/Xdx8hrDOElj2 FTbmR2c04L1CSAisbOHgammpedFxCvY0Sfpkzt4lKjUUZKfhHuQBBod3O5+uiI7Qtqmd 7lFKLZjJjHXYiF5M/JLfS2Wd26uGU50ZAF7iBUXHQNFKnYtY+Xi1QQWw4B1F1yA6paZ1 F4S+CGZj/GX+CrZBOdeYkD7hSMkuUqFugbBX6uAcHshjO8kyZgJl0SIH0ZClQ/ZpqHdu SqnXa7pkx0A8NqwmcJdNQiqNnSKoyO96v3JJOhOhBWmq7typPWXeLzWfJPv0RII0hEDJ 7xSQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713422239; x=1714027039; 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=1JvkkKzbM6G7xJ6mlKhxNlJTYC5/fgdCMmwInuXlV88=; b=sQLivSTRclx+IvTA6AWzwjvfqyvYXrSvRqz00jXJh3b3IGFGlDug379/UjlrrIEV+y Lzhwh8Ds3Jnuw7vMvVuuPV7xPtHCfZP2QrR7P3fAZnjFvAv3TuI43SGfld2/MOso6gTJ CkXvO7N0/ul/z9UGGci2WzhxtGf1LaB6dyk1Fv3jRCewJeZjbvQKA47mdsxuDrtiNWis oKsvaTydo+oRB53eGcwsNvJBnC2ZgH1Vbv3iyazPwEXtR3WFCJlk9iWxMfugH2BY42P5 oZSl4yx7BVsuTgCizBDOcsmJh4PdHUw6vZY42nQ/EOHDuMYUgBLXFn5zs4W5j6e27XGO XJlA== X-Forwarded-Encrypted: i=1; AJvYcCXm0IMMr7avK1rUnXxzHbwPQCbH2m3iZjJ2tmvr5xk8O5mwDy6oL7nH4RGPPtzJjCIMSEzrr+gfz8JAcqqZloC1FI295rLBN5sRYdujkA== X-Gm-Message-State: AOJu0Yzrp90Iq3Wh++jpSli5jOqucB/Uy6kQPBSiUYuxfZmfIv50RGo3 iLYgpr9+kiL+j787FMf6L6FzZZ/JYQUPD5ilaakkhbhUODC3XgfQManmDu68CJg= X-Google-Smtp-Source: AGHT+IEBi89ScDQrEZV417qfSSqKe4JxXB6rP/2GI8INLg+6lM4PM1KvguFm97eMoamsK4NSW8SZNA== X-Received: by 2002:a50:d6c1:0:b0:570:db4:e5cd with SMTP id l1-20020a50d6c1000000b005700db4e5cdmr1031014edj.34.1713422238910; Wed, 17 Apr 2024 23:37:18 -0700 (PDT) Received: from otso.luca.vpn.lucaweiss.eu (144-178-202-138.static.ef-service.nl. [144.178.202.138]) by smtp.gmail.com with ESMTPSA id cf8-20020a0564020b8800b0056c24df7a78sm472277edb.5.2024.04.17.23.37.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Apr 2024 23:37:18 -0700 (PDT) From: Luca Weiss Date: Thu, 18 Apr 2024 08:36:55 +0200 Subject: [PATCH 2/2] arm64: dts: qcom: sdm632-fairphone-fp3: Enable vibrator Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240418-fp3-vibra-v1-2-b636b8b3ff32@fairphone.com> References: <20240418-fp3-vibra-v1-0-b636b8b3ff32@fairphone.com> In-Reply-To: <20240418-fp3-vibra-v1-0-b636b8b3ff32@fairphone.com> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Fenglin Wu Cc: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Luca Weiss X-Mailer: b4 0.13.0 Enable the vibrator on the PMI632 which is used on this phone. Signed-off-by: Luca Weiss --- arch/arm64/boot/dts/qcom/sdm632-fairphone-fp3.dts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm632-fairphone-fp3.dts b/arch/arm64/boot/dts/qcom/sdm632-fairphone-fp3.dts index e2708c74e95a..2c1172aa97e4 100644 --- a/arch/arm64/boot/dts/qcom/sdm632-fairphone-fp3.dts +++ b/arch/arm64/boot/dts/qcom/sdm632-fairphone-fp3.dts @@ -143,6 +143,10 @@ &pmi632_vbus { status = "okay"; }; +&pmi632_vib { + status = "okay"; +}; + &sdhc_1 { status = "okay"; vmmc-supply = <&pm8953_l8>;