From nobody Fri Dec 19 17:56:19 2025 Received: from mail-ed1-f53.google.com (mail-ed1-f53.google.com [209.85.208.53]) (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 92A0133E36A for ; Thu, 4 Dec 2025 12:29:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.53 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764851356; cv=none; b=XtjdUFU8gHdH787+kYlAGvEiYNEMbhmAVtGfCiPW6FYPKXv86LZFXfY2rP1QkAdaw7g/O8XoUpmdVOSCf5iRgfELDxiLM/czbnzr5EvJRFikk8SonarOKdqgs77cHAkN1jJDJoO4AIONZy0ZaQo3UUDVaNHUxlGPgNyZxUIeGYI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764851356; c=relaxed/simple; bh=QYmrgdDXqT1aWWXJG0G1BjIqfjRA9W45tZLonXGa3jQ=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=dFnU40YoLsAOvRp5J82VO/rU+/uj2ySA8OERfCCuK76IyzqjIYFmMQzVDm2X68UW/CQ9p/IbLSeXFOBXf1+1Rn79kZiF4OX3QiL45uPcl+qpiJZ58RIvzbvCUSF7zg029rcNtpc90bRTXx4aF+V+7i0XeqtruWHEWA/FlgMJZEQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine 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=1ZVr+/oZ; arc=none smtp.client-ip=209.85.208.53 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine 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="1ZVr+/oZ" Received: by mail-ed1-f53.google.com with SMTP id 4fb4d7f45d1cf-6419aaced59so1220616a12.0 for ; Thu, 04 Dec 2025 04:29:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fairphone.com; s=fair; t=1764851352; x=1765456152; 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=+iuRvFxHsbSvTzobdKClKZ4UVAG0qRuCMrY56/R0rKA=; b=1ZVr+/oZVfXtfyPUT5qh2tJQn6M6ZYlBC+Za2f/Z3YrIC+BrHEROnVTELqP67+Hqp6 WH6bhNguhy2MDp464F2Dmi9pWJ7rBan5PqPxfXSWPUzQzYQXBmAqtTMrEgjf9YlQotp+ VIWuqdIhN6Iz4berQcTXD8DjNGC9nvRZQjjdHWwGbPH3a9k62iYuiK2qjCIGBaxdKH1w EYxA9SK6qiClO/q2CZWJ4aco2Xf5/7Uh8q6sJZJ7b5dJVqShRitkzVJVvzH75kz4K4/B XoIYDUiwB5mizIXCGFmZuKPjp0DTb8KTQV/2MTZg5CDa1fgK37nNv1YLmecCVqSlzCQ/ d4JA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1764851352; x=1765456152; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=+iuRvFxHsbSvTzobdKClKZ4UVAG0qRuCMrY56/R0rKA=; b=shww01uhB8bsgfUZPDrp50i+UGaNNVDsxjMZKYggX4SAnxUVnCWitQvmwWNMQY6oEM qMNgXFBJzh3zAmcKS43FeJCbCh4K5bctkHpwIOtk3l4tYfPHkz66I45TMXkpjJGXyNO8 AZgTm+xWvfBbK/0RFdxjpa7oC+4zhfg0bMBh88RlPLFQ7dycjRwZoPoR7ZvAyajY9wb9 +kvLfnxqngCCbMhM+Tp/KY/0TVR961WEchRRrzZD2hI3d/AaDp8svfpIFa2ivqsk2qyW sQoSX/KzDDhZ88tvVbARrG0lWORyi7VLLwqjbrKXIQxitvt4dYUzrWiSLg9SwrYOs8Ot mTMg== X-Forwarded-Encrypted: i=1; AJvYcCUs6y1LCNKiAw1iGIgukWyVW9I0sixKE/h/3Y96uLHtoy+8S8aevHDl/fQeENaHVVVBJI0y+0LnWcC66qM=@vger.kernel.org X-Gm-Message-State: AOJu0YzIscxsKqWauFD/cZmA1l0N4uvAGXFfNuNyu4BDI8LEuUcOc64m 8NaMnSU2IND6irzpEiJ2PwVc5QbBDIDxEZR7GZcKPgHse5+30WSpcPNdOuWg3/U+N14= X-Gm-Gg: ASbGncs+MvB2B4c9DyrzD3ANUjE8apJRPCob6IBLLyPesBRckf2spDthUMsbDAYeWpj kcDwG/vtv/DsT/+EiGDywOQmGx5QHKUwGSkCu5+HsJZ82eR+I9sNyAIpXPTZyvUvhF6hgwSlGTH 6Ag/04qEowFro5eXueJmaj8aO8m/KPOq8mHNCqUy1yvx7iM5WG3s85L/BVxkHeQVRNdDeV6O5GB 2L6USZrV0tm49aO07bGYsikjuKfaBV1fDKhtmh9FIDV1JNZy0H56C6YkhM4Mrd12EHQIfW/ElXp tItycbGwdGPZrMuTdEu+vsN8x8p2CnsLMDhzOkJuujuwA/tF6CD0amkAguiFIpkBcNBcBe0PAP5 WpHyrLMreAWLS3qCOImPzYkS1AbgBO4WoqBpB2r2DH1CXXoc9TtghLwE00KHLuz16eV4C4WICu+ GIzaOejfsVokAEJZWmUkmroBrhQDxh/ndMnLayP1vlq75ojaqhN+xKSlwOekauhDkpXlqGeMlum /4+0BQ= X-Google-Smtp-Source: AGHT+IEeLWVpcgpslRVn/NQp2VXf89zJAX9UXM8RzNCcJdJCNhZ/TlipgM2kHb8Q2HjLSF8XiPMNCQ== X-Received: by 2002:a17:907:9448:b0:b73:7158:d9cd with SMTP id a640c23a62f3a-b79dc77dffdmr685538066b.52.1764851351828; Thu, 04 Dec 2025 04:29:11 -0800 (PST) Received: from [172.16.220.227] (144-178-202-139.static.ef-service.nl. [144.178.202.139]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-b79f4a2f19dsm121351666b.64.2025.12.04.04.29.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Dec 2025 04:29:11 -0800 (PST) From: Griffin Kroah-Hartman Date: Thu, 04 Dec 2025 13:29:00 +0100 Subject: [PATCH 1/3] dt-bindings: input: Add Awinic AW86938 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20251204-aw86938-driver-v1-1-ebd71868df3a@fairphone.com> References: <20251204-aw86938-driver-v1-0-ebd71868df3a@fairphone.com> In-Reply-To: <20251204-aw86938-driver-v1-0-ebd71868df3a@fairphone.com> To: Dmitry Torokhov , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Bjorn Andersson , Konrad Dybcio , Luca Weiss Cc: linux-input@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Griffin Kroah-Hartman X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1764851350; l=849; i=griffin.kroah@fairphone.com; s=20250804; h=from:subject:message-id; bh=QYmrgdDXqT1aWWXJG0G1BjIqfjRA9W45tZLonXGa3jQ=; b=ZFDj37TSZ3tYnwNR4KtpLow3cMBXaX8FcWGKPELphN/73nUGxmYvtUT3R31yeUttW/CaJN06U gU22RcQC5IIAyYZxF8v3tBy2J1LUHme1xxDWwlW4MfssR/YrbyByhlf X-Developer-Key: i=griffin.kroah@fairphone.com; a=ed25519; pk=drSBvqKFiR+xucmLWONHSq/wGrW+YvcVtBXFYnYzn8U= Add bindings for the Awinic AW86938 haptic chip which can be found in smartphones. Signed-off-by: Griffin Kroah-Hartman --- Documentation/devicetree/bindings/input/awinic,aw86927.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/input/awinic,aw86927.yaml b/= Documentation/devicetree/bindings/input/awinic,aw86927.yaml index b7252916bd727486c1a98913d4ec3ef12422e4bd..c3dee660422192720da3cf63851= cea27db819742 100644 --- a/Documentation/devicetree/bindings/input/awinic,aw86927.yaml +++ b/Documentation/devicetree/bindings/input/awinic,aw86927.yaml @@ -11,7 +11,9 @@ maintainers: =20 properties: compatible: - const: awinic,aw86927 + enum: + - awinic,aw86927 + - awinic,aw86938 =20 reg: maxItems: 1 --=20 2.43.0 From nobody Fri Dec 19 17:56:19 2025 Received: from mail-ej1-f47.google.com (mail-ej1-f47.google.com [209.85.218.47]) (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 8A25533E361 for ; Thu, 4 Dec 2025 12:29:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.47 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764851357; cv=none; b=sMsG1KB+64lqCmIx/zlPUKeEpmS8/S/VpTput5pN7GJ05a84d0WDkcxNU7OM2/2mwZZL1kiIZp8nhROhMoXxRuiEOnJ2VkkOESxHuwoeJvQuV4NPVJIZgZ/SzQXuHavfjKOvdA7c5wSgKMQdg/T+joRAjMsdwcKYm7ygod4GO78= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764851357; c=relaxed/simple; bh=g9caGip8nEOSZ45sBttRAv916t/vQHL6PXG7Jv3w3QU=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=Y/bePIiid8pJo2VjOxHcvEgGmMvwZvP58c2jzvmvtnE3pFQsN+e5jIPPrZ4vO1rsPsNbVKT4FtSc+SiEaVVqh8Eu63RzBFoohlOV9p7j6T1cqi/qsMi575bb6S5iMuP+X+vhj9Nf176Tigz/v5uuK1IcEAkqvVnB0i89OzZdrog= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine 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=x9bgmvdL; arc=none smtp.client-ip=209.85.218.47 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine 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="x9bgmvdL" Received: by mail-ej1-f47.google.com with SMTP id a640c23a62f3a-b73545723ebso143143666b.1 for ; Thu, 04 Dec 2025 04:29:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fairphone.com; s=fair; t=1764851353; x=1765456153; 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=3cAKVhALDjpLZtr9Twp/5glRYwXvQmazP9DHiOTwRrM=; b=x9bgmvdLp5bOq5DuyGU/DIzHR6KRYhMLmMrj538k3MQZ5kWQCnBuHvofWVGt3+xzFs PKrirfANxwoVVVUlwEKpACG03saR7zM6zNNoei/DbYz7JNYTp/QHUqrZihgIEmpo4LU8 ICe+Y7BxbsvFMX9n/ZOb5No4qTlDkToWYyQNTAx73x4cNCpTUYyJz3GQvC/yjTKomT3d EknPwx+KiUmQNx0+S4fxJ8mN7fvKoKbo8GL4ZFYBQ9Q/Wu368TFvPFvXra0kyPJayahq e4IhmR4njHsPWtgneII8iQBXjsWcG/DWz9kTzT1cD/hqOrZNRRmAPIN6hq7IQCXYA8oY 0XaA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1764851353; x=1765456153; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=3cAKVhALDjpLZtr9Twp/5glRYwXvQmazP9DHiOTwRrM=; b=DQW1G40ZuYBZIHeF+stAfeKOMwgRjAPVLFYepnryWdapeW3zwWezIgYZn6H4ugytsj jUvhMvhoiKR6WVraQEuzWOcLynXJlcgMCsclxhv2M4Z66/6d1TjxWGln6Co3fDb67eyQ t9fbn+OgMH6lO0Vt1uN/EI8RkcePID+W125cGozJUeIA9kgHk4Aq5oaRMzrmm06uuhyT Uocu4O5Jws/k+BcmxYb9SgJD+x683q3pQr5BobIJNBp6Y+GBvLtm8pPQgn3Gh5mzIdKs 3hAn/5mXv9wpbM9swo6osAgSjc1IuiMKDs6tMIC1/4l2TnFDLf0w9nBr9qVUHVjFasfA 6LyQ== X-Forwarded-Encrypted: i=1; AJvYcCUGnFBZcEVJHrHyHG5Nwzg5qb24MagK+tcJabQ0ajxMP59xq8lzkyyvDa/0/hB0M9z8DH8D6azWsB9Gn2o=@vger.kernel.org X-Gm-Message-State: AOJu0Ywp22M7DzUrtowmDYjiamkw5wwB/A5lesXgu72oojDev65zLep6 LGw091Uo4rCY0c2zONXb/9WjC27dCeo+kfWcUkBn/xUH7BF/aNZitghHMn6ervyCADM= X-Gm-Gg: ASbGncvQXZeFtcdEOi6+6ChoulaYg4pG584bwoxGofRIWG7/kPYcCLycXJWNfSj+yvb aXqCRCVJHx2ADL9+5TcKVvb5367ULn/xtto1zzQtuYYcj56iXsuVREcN1oTRHr3tP9/kdvlV+Py 8M8N7uP+DVh2FDvYQsObjqoRzRsOSu6NJZOcUvm2CC5v7QWvXwrMm0N0DI37RYazVHKgc4nxPcJ fH4ZZ+pg9+FDnh+ooRVZgIweZsnFmWp6l/iCK79b+l5IzsexRyIOPyv3PKp4/uF7vziGcKSOw74 MrWfm2wqA9Si2ffjeNNOuPiYvbtpkUBipzBR7+3Ly//G5LsORfBs/XwGB+4uALSNRhcYsIhdFew xPdICv49h27mNFyT9rbPFC9FIN/ORijMZnzl2zfMmMwgv4eqMnueXKVOTj/kPxXpTdjK4Q2KoaA FOJkURAQ69QklrbQE6xWIesqDAo5pF1v3XixyDx3ilg6sqA+N4pcFwYtzIZ0txigIanct9 X-Google-Smtp-Source: AGHT+IG//OsOH2wLVDgIH2ZekMNRwF4VIMghhR7eDiuVEDJ9yrkn8agOLgvCyX6HmQUP+n2SwnyMSA== X-Received: by 2002:a17:907:97d0:b0:b71:29f7:47ef with SMTP id a640c23a62f3a-b79dc7826a6mr641436966b.61.1764851352486; Thu, 04 Dec 2025 04:29:12 -0800 (PST) Received: from [172.16.220.227] (144-178-202-139.static.ef-service.nl. [144.178.202.139]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-b79f4a2f19dsm121351666b.64.2025.12.04.04.29.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Dec 2025 04:29:12 -0800 (PST) From: Griffin Kroah-Hartman Date: Thu, 04 Dec 2025 13:29:01 +0100 Subject: [PATCH 2/3] Input: aw86938 - add driver for Awinic AW86938 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20251204-aw86938-driver-v1-2-ebd71868df3a@fairphone.com> References: <20251204-aw86938-driver-v1-0-ebd71868df3a@fairphone.com> In-Reply-To: <20251204-aw86938-driver-v1-0-ebd71868df3a@fairphone.com> To: Dmitry Torokhov , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Bjorn Andersson , Konrad Dybcio , Luca Weiss Cc: linux-input@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Griffin Kroah-Hartman X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1764851350; l=2259; i=griffin.kroah@fairphone.com; s=20250804; h=from:subject:message-id; bh=g9caGip8nEOSZ45sBttRAv916t/vQHL6PXG7Jv3w3QU=; b=zsTQCONX5cSL63xwKbm1K0spvpjuxlEq0t96aBr4SHekj4HeOM2iTLGN9IgFBl39CcTFMrPOW 0pgoEt63fTdDLvTpgZPpPFRu1on6/AB9AQOwZyXHp88Rk54vcUuldIF X-Developer-Key: i=griffin.kroah@fairphone.com; a=ed25519; pk=drSBvqKFiR+xucmLWONHSq/wGrW+YvcVtBXFYnYzn8U= Add support for the I2C-connected Awinic AW86938 LRA haptic driver. This driver is functionally similar to the AW86927. but suffers from distortion with higher gain values. Its vendor driver sets this value to 0x45, which fixes the problem and does not noticeably effect the AW86927's playback. Signed-off-by: Griffin Kroah-Hartman --- drivers/input/misc/aw86927.c | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/drivers/input/misc/aw86927.c b/drivers/input/misc/aw86927.c index abd117bb309478b3049f74e53582f06989f74e90..39e22dbdeeb7494ba1a8d4ca8fc= 40b5580c304f9 100644 --- a/drivers/input/misc/aw86927.c +++ b/drivers/input/misc/aw86927.c @@ -166,6 +166,7 @@ #define AW86927_BASEADDRH_VAL 0x08 #define AW86927_BASEADDRL_VAL 0x00 =20 +#define AW86938_CHIPID 0x9380 enum aw86927_work_mode { AW86927_STANDBY_MODE, AW86927_RAM_MODE, @@ -372,7 +373,7 @@ static int aw86927_play_sine(struct aw86927_data *hapti= cs) return err; =20 /* set gain to value lower than 0x80 to avoid distorted playback */ - err =3D regmap_write(haptics->regmap, AW86927_PLAYCFG2_REG, 0x7c); + err =3D regmap_write(haptics->regmap, AW86927_PLAYCFG2_REG, 0x45); if (err) return err; =20 @@ -602,6 +603,9 @@ static int aw86927_ram_init(struct aw86927_data *haptic= s) FIELD_PREP(AW86927_SYSCTRL3_EN_RAMINIT_MASK, AW86927_SYSCTRL3_EN_RAMINIT_ON)); =20 + /* AW86938 wants a 1ms delay here */ + usleep_range(1000, 1500); + /* Set base address for the start of the SRAM waveforms */ err =3D regmap_write(haptics->regmap, AW86927_BASEADDRH_REG, @@ -724,7 +728,12 @@ static int aw86927_detect(struct aw86927_data *haptics) =20 chip_id =3D be16_to_cpu(read_buf); =20 - if (chip_id !=3D AW86927_CHIPID) { + switch (chip_id) { + case AW86927_CHIPID: + break; + case AW86938_CHIPID: + break; + default: dev_err(haptics->dev, "Unexpected CHIPID value 0x%x\n", chip_id); return -ENODEV; } @@ -834,6 +843,7 @@ static int aw86927_probe(struct i2c_client *client) =20 static const struct of_device_id aw86927_of_id[] =3D { { .compatible =3D "awinic,aw86927" }, + { .compatible =3D "awinic,aw86938" }, { /* sentinel */ } }; =20 --=20 2.43.0 From nobody Fri Dec 19 17:56:19 2025 Received: from mail-ej1-f47.google.com (mail-ej1-f47.google.com [209.85.218.47]) (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 7FCD133F8DA for ; Thu, 4 Dec 2025 12:29:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.47 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764851358; cv=none; b=nhUjUXojeQOMUkYrI1YoStj/d4mDG2Xb83sQELPJrS4HIOb+Rj5UQzL4ZXXt5AP3CWICsM2qtZbVorW7kUdr70i5+44euSYxpKUDhDbzxS98FjYn+8Gia/O7UnVKsGbRmZIo1ApphV0wnMihffFrZA5DCY2q3xSqS5Ki5ia+MtE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764851358; c=relaxed/simple; bh=l/XBAG4CUGdCd8uvlOy4ZQBjC1QnfFNVrAFe5tQ3xuo=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=VGksd4q5rZ296XK+srIgFDaML3q2Hd+NVPdVkflZv8TFRUhdg5iEuE0Ak96P2XphMjR/0NpIFEQYPKsTWe5rf/k/HDn/2JUA2IP0uI87AWc6rDzagpRT6bNC7wQgSBM9se/3iyhVBdsUNPz6pDutN+NWRO+4V1n/rpDrlUknTBE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine 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=n1/ziDpP; arc=none smtp.client-ip=209.85.218.47 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine 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="n1/ziDpP" Received: by mail-ej1-f47.google.com with SMTP id a640c23a62f3a-b736ffc531fso140980666b.1 for ; Thu, 04 Dec 2025 04:29:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fairphone.com; s=fair; t=1764851353; x=1765456153; 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=ezLwF9vcaQPh2qIuGSQT4jtvv+rSMrrNcQfR67LnXW8=; b=n1/ziDpPURE6ByEKefRnDKBtnf0GmLjl9ORBvvPWQiVshsDYSoA/leCDxLCUWmnBUp 9l4B0Pj4FFnTX4c8pLbCy0cazgHFbL+pRIRdoFRsmmEdIrqycgvjspaM1E0IPdaHT/Vm MDmxW5BMF9a1DCeti7T7Zqn9v5z3phREuMzY1pZhfPEGtkc0qUSgz5a4zU6+2aZGlohY bvCp+IqEqC6qDWfxEC4hkVoSUL1DK7jd/QDJvNlc7lQyOPKvpH/c7TFQ2kdifWDAy97t ToqknvPvNl9SXp5TdMFrXYXpIJbL2sC28QIUz4YPVTxpZq/Jyt6pYsWDVtxkwNfxhbKy Td5w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1764851353; x=1765456153; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=ezLwF9vcaQPh2qIuGSQT4jtvv+rSMrrNcQfR67LnXW8=; b=QoJtH3kmyJo0zZ1qO8zG1x4H1zX1811oDvMNbPdhrDMFls54fxBDFg9I2T9T9oehBp +6NIwkNKvd2bvF7NLA9bxBUlTgjmYUd/S07yOCOxuXj2LPRR9aqMWXc7lWR+dN2CdHB/ 6OalwCe53cwQCxfY4xqvBFo+PRdRK0Rfxe/DZywhUSvo324n69mRJ6x67nTcmujWjr/N ILZMwV1tVHDa7HdCaqvLTAP5uDAoim6XRiZguqiP/KqziMvCpQ5Y6b42jx4XOCZMYs4M 4GnySoHcII3DXTpLym4Ed0JDM0jqQFMV8JzdRthI+boCwqcH82cx8xo8CdbRxMQ8VUHt ZfwQ== X-Forwarded-Encrypted: i=1; AJvYcCWi30bTgkIVqQX0z1jX3DxGkKbhML4ZKNbS8UVKDeZ+oCX5u+FTWI/TXHjlK1SOP6NF/QnJjYUYl9uWwhQ=@vger.kernel.org X-Gm-Message-State: AOJu0Yx5mEXwVYAq+zvfRK+3T+wNeTCOuj0u/oplAHxHfEZ5FNGXwFwv eqZLP6fXIiFMGudE/7cFL7UXDfJaR6aj7n5BJmY1I4ZJ1IPs8ON/JLfGbNKXq8MTdwE= X-Gm-Gg: ASbGncsurgB4Kr+sp1a3TOhaZlW2HpoxE+8GOImT0RcYQtfi44tirwczIqOmSbSoFP4 YM30r84FVmhZqrknPicsJDxjRNLBG9w5QvQmwklOTDvxlwS/lMtjLOrCDsxgMlU0pgg/8jE6aBb 4qpVU90T2mDIwp1lIn91Ajfr19l3lJ59sNzeVUOXk4dY9j6btAoplb6da61XIkgyNLws5qigRiH hwWIZNdLy2qqlpb76J+MVevLVodagmtZZaYU3zrDs6K0TukRqv3H9dSI9mPjlybhuRPJ5D711BW RXAHP7Eos2LUt4bOiGpW7vLXVEDUyOzAwefKBey9wkKK8KR0p4STc/aTUhfAIHmJjYDoZvQUG72 nefnwheiOQWks6FwqZBKplq1D6+VNL0/HkdSimLJJM/bkScrSOYtZk46iDR15DihZn2JboXQR8y CPcbKJKQIlFuC0oZuo5O48xCrXafMxwysuL3ipgb0L7ZBtDwd0owktL9quBzz4KUafVECc X-Google-Smtp-Source: AGHT+IE3vTw9W8q4bFu/XYete6yOngVJe+jHbROTOV0J3HiQ6WjaS2FHPZPK9m9x4/GTh06qLnayww== X-Received: by 2002:a17:907:a08a:b0:b5c:753a:e022 with SMTP id a640c23a62f3a-b79dc51af60mr653042966b.29.1764851353085; Thu, 04 Dec 2025 04:29:13 -0800 (PST) Received: from [172.16.220.227] (144-178-202-139.static.ef-service.nl. [144.178.202.139]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-b79f4a2f19dsm121351666b.64.2025.12.04.04.29.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Dec 2025 04:29:12 -0800 (PST) From: Griffin Kroah-Hartman Date: Thu, 04 Dec 2025 13:29:02 +0100 Subject: [PATCH 3/3] arm64: dts: qcom: milos-fairphone-fp6: Add vibrator support Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20251204-aw86938-driver-v1-3-ebd71868df3a@fairphone.com> References: <20251204-aw86938-driver-v1-0-ebd71868df3a@fairphone.com> In-Reply-To: <20251204-aw86938-driver-v1-0-ebd71868df3a@fairphone.com> To: Dmitry Torokhov , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Bjorn Andersson , Konrad Dybcio , Luca Weiss Cc: linux-input@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Griffin Kroah-Hartman X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1764851350; l=1297; i=griffin.kroah@fairphone.com; s=20250804; h=from:subject:message-id; bh=l/XBAG4CUGdCd8uvlOy4ZQBjC1QnfFNVrAFe5tQ3xuo=; b=oUDOHk9OFhVELfWu4ySXOPeJM7FZNIQTDt1McgBSEATP1sZtX65Mo0qcnp/4gU21oQEh8Lwcg 8DFYoi9AaQyB27J41F2T06/ZnrZKcCDteu0doYUSUO1371sZs8eXuol X-Developer-Key: i=griffin.kroah@fairphone.com; a=ed25519; pk=drSBvqKFiR+xucmLWONHSq/wGrW+YvcVtBXFYnYzn8U= Add the required node for haptic playback (Awinic AW86938) Signed-off-by: Griffin Kroah-Hartman --- arch/arm64/boot/dts/qcom/milos-fairphone-fp6.dts | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/milos-fairphone-fp6.dts b/arch/arm64/= boot/dts/qcom/milos-fairphone-fp6.dts index 0a758fb7f4d413a84cdae695c38616fc6075db67..8c43bc9c1d8312f22ad0aeed84b= 23d52910e0ca6 100644 --- a/arch/arm64/boot/dts/qcom/milos-fairphone-fp6.dts +++ b/arch/arm64/boot/dts/qcom/milos-fairphone-fp6.dts @@ -717,6 +717,16 @@ vreg_l7p: ldo7 { =20 /* VL53L3 ToF @ 0x29 */ /* AW86938FCR vibrator @ 0x5a */ + vibrator@5a { + compatible =3D "awinic,aw86938"; + reg =3D <0x5a>; + + interrupts-extended =3D <&tlmm 80 IRQ_TYPE_EDGE_FALLING>; + reset-gpios =3D <&tlmm 78 GPIO_ACTIVE_LOW>; + + pinctrl-0 =3D <&aw86938_int_default>; + pinctrl-names =3D "default"; + }; }; =20 &ipa { @@ -907,6 +917,13 @@ sdc2_card_det_n: sdc2-card-det-state { bias-pull-up; }; =20 + aw86938_int_default: aw86938-int-default-state { + pins =3D "gpio80"; + function =3D "gpio"; + drive-strength =3D <2>; + bias-pull-up; + }; + pm8008_int_default: pm8008-int-default-state { pins =3D "gpio125"; function =3D "gpio"; --=20 2.43.0