From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-dl1-f53.google.com (mail-dl1-f53.google.com [74.125.82.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 C2ACE15FA81 for ; Tue, 7 Apr 2026 04:49:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=74.125.82.53 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775537345; cv=none; b=Ld7VxFZoJHY/n5EXHLifqvxieL1p7TTKExMbvHIbBA0MtLB/CwZcO5XpIil++adOX64NJuYpAzUDZd3zYMPjIlfKfZrNvJ2wqs0pKuNtQoeoE+9KL5IOpcR2iPgOF+W2QYmNTwVQ8Vhy9HoN47Zw6meBPUcJP65csSEbw2BX31Q= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775537345; c=relaxed/simple; bh=KN10ixWyhSiQO6k2rgognDXtkp2e3lun0UE56kDb9Wc=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=FbiJ8atHYyP9ah4Kynf0KeOqbin+qqzN1zs+KLCsez87GNdrRFtSO9r7dPjaDFDYx0lr67OvHqxLBcvL2Ez0QalEVCmiwfV42IXGfBqLKeoySgKiquENiaStoRBNAMlTCUDh3kIJYRZrGYboSMvbJOB9otKUxnp1St3efZZHsoo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=N43ZuFzD; arc=none smtp.client-ip=74.125.82.53 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="N43ZuFzD" Received: by mail-dl1-f53.google.com with SMTP id a92af1059eb24-1279eced0b9so5309566c88.0 for ; Mon, 06 Apr 2026 21:49:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1775537343; x=1776142143; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=gk8b5C5Z9p7AhhgVp7PgvI/D1cC78P2Rxt1Jreg7P9I=; b=N43ZuFzDCEkb9OyW8Nnts60N57hAkqcbfWr8VScF7h3HdB4KisYXKuxvfI6di9MPMe oqcI9fRx1gZhU5SLzSOrYVDf4NtDLjolzk8TRFXY7UkeF1n/v6N3BKBty91tOQ9MRM6U uEnKu3KZUa8xyybdb456yrEeFexW1Oy4QZvdnXTibWx0nBzxNvT3RRb29pqJgK/Td5yW M2T3Nu/Z49pdKoe+Hmei0JjvVEeYdb9bkzB7/PiEauce5sNlPCrEtSOLAxQB2nSIvrBR bGHx9+/JBQ6mS/03bfSfGD1VlnMIcu/zfTxlUqwtkxsrqf+bWqZshJ++Sp3hJN29HwDe Fs1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1775537343; x=1776142143; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=gk8b5C5Z9p7AhhgVp7PgvI/D1cC78P2Rxt1Jreg7P9I=; b=R5/7tDhftamjOmpDykhWobIjFXZOyCgQu6fVzTtnh9Ir3eSFosN4DUrbJaFXRak13D VAFb4Rn6DcI1tdwD/Y+bOj8WguKlytqcbn+bVsm0+o2PaKYEq7b3IY1pNFogo3IKcYNg nhWfnYm3dvAu8mfof1agEOHOVCwqAzOvLuzqFQSHx73bxGkIGepzJgQcH6hRVl0mlZYs v/o36+oQfd9B4MkQsjtMmTz0YJZ57PnAWSxZpO02Wqv1PbU52GYiZ1UYNLeYwDCRS5Kb Yf6fHT6yv5tFF0KHExq0TUzfzC2TarDRelthJpTV7rjhYTud54mT799l7rAPu66EM1Nu qrGg== X-Forwarded-Encrypted: i=1; AJvYcCVlitbh3iXGnq7PDoEDCFGmaLKk5ePNME8NZABda7gAKyqU5tV1vnlt6oPVuITw7sRsfHZFCyjVf4rDX1s=@vger.kernel.org X-Gm-Message-State: AOJu0Yy1695x5dEQ+PbrN2dwsmAbHQkb5lhGqB4vZIom/HYdVdtuwk6E fd9pcOvhKl8uyMmYpzjpVCy65lxpqDUHiFNv1X4ht8Chv0aFAPSCIwtn X-Gm-Gg: AeBDies5VjNlMVi5CqJTRfLlo6kePV6TRH9ORwDIBghxgn+Mb3Z/V5rLcg9mPFNeMpU rWPFbE23BC9dmcIYxOR1GEIIZJPeZGmF5yoA3rT3G2s2p6PSdpbf92tl0FVSeKJWbpE1quSor/4 7yEbk20la036PA+1j6uRxscpOK5DDcU209o/+icJH7P0c2A2IQTCO3f4to80XaQZHX7F8Xo+7p9 +4vKijFqpy9QcJ/gbuWDsbk8m+2agOHm4j5YFKPDQ5YltCtrYdzZ1i6KRveKCunBv61/1dfv0qA M5CooXoV0Dk17iVuBaz7LT/vEZ7LbWD40WBZY2qCyZmjgcnBBx353YwaddElNBEsOzPYPmKbG8/ ZbhZoPU0QCi266lMNN/e8rniyRcBQ+yda/9LinfmdRHoLAdCAcjCC+jV0qHVlNJsD9Xg2QQjdy7 FBnG1wwwOA/fTMnexhfKkygAjQHpNgFxzgB9dRsxv7s1koTBj1F+c5DaRGKacDjC228H5hjvmgV gw= X-Received: by 2002:a05:7300:dc88:b0:2c5:b23e:48a4 with SMTP id 5a478bee46e88-2cbf69984ebmr7281281eec.0.1775537342525; Mon, 06 Apr 2026 21:49:02 -0700 (PDT) Received: from google.com ([2a00:79e0:2ebe:8:dd71:7176:b4e4:a7a5]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-2ca78df5ed3sm14644119eec.6.2026.04.06.21.49.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Apr 2026 21:49:01 -0700 (PDT) Date: Mon, 6 Apr 2026 21:48:58 -0700 From: Dmitry Torokhov To: David Heidelberg Cc: Kaustabh Chakraborty , Rob Herring , Krzysztof Kozlowski , Conor Dooley , "Jason A. Donenfeld" , Matthias Schiffer , Vincent Huang , Casey Connolly , linux-input@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, phone-devel@vger.kernel.org, Krzysztof Kozlowski Subject: Re: [PATCH v8 1/7] dt-bindings: input: syna,rmi4: Document syna,rmi4-s3706b Message-ID: References: <20260324-synaptics-rmi4-v8-0-2168d2df68f5@ixit.cz> <20260324-synaptics-rmi4-v8-1-2168d2df68f5@ixit.cz> <5630a4af-e18f-4daf-9b04-ea61091d9e51@ixit.cz> 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=us-ascii Content-Disposition: inline In-Reply-To: <5630a4af-e18f-4daf-9b04-ea61091d9e51@ixit.cz> On Wed, Mar 25, 2026 at 12:33:23PM +0100, David Heidelberg wrote: > On 24/03/2026 20:42, Dmitry Torokhov wrote: > > On Tue, Mar 24, 2026 at 08:40:34PM +0100, David Heidelberg via B4 Relay wrote: > > > From: David Heidelberg > > > > > > Mostly irrelevant for authentic Synaptics touchscreens, but very important > > > for applying workarounds to cheap TS knockoffs. > > > > > > These knockoffs work well with the downstream driver, and since the user > > > has no way to distinguish them, later in this patch set, we introduce > > > workarounds to ensure they function as well as possible. > > > > > > Acked-by: Krzysztof Kozlowski > > > Signed-off-by: David Heidelberg > > > --- > > > Documentation/devicetree/bindings/input/syna,rmi4.yaml | 11 ++++++++--- > > > 1 file changed, 8 insertions(+), 3 deletions(-) > > > > > > diff --git a/Documentation/devicetree/bindings/input/syna,rmi4.yaml b/Documentation/devicetree/bindings/input/syna,rmi4.yaml > > > index 8685ef4481f4a..fb4804ac3544d 100644 > > > --- a/Documentation/devicetree/bindings/input/syna,rmi4.yaml > > > +++ b/Documentation/devicetree/bindings/input/syna,rmi4.yaml > > > @@ -18,9 +18,14 @@ description: | > > > properties: > > > compatible: > > > - enum: > > > - - syna,rmi4-i2c > > > - - syna,rmi4-spi > > > + oneOf: > > > + - enum: > > > + - syna,rmi4-i2c > > > + - syna,rmi4-spi > > > + - items: > > > + - enum: > > > + - syna,rmi4-s3706b # OnePlus 6/6T > > > > I thought that all the workarounds will be keyed off this new > > compatible, but I do not see that. What am I missing? > > The compatible is used for sequence in the > > Input: synaptics-rmi4 - support fallback values for PDT descriptor bytes > > where it is used to provide values missing for OP6 (and possible others in > the future, when added). > > From my understanding the series, only two patches (1st and last) are > specific for the OP6, rest will likely benefit various TS not implementing > full Synaptics set. All measures apply only when touchscreen reports > something wrong. If the sensor does not implement RMI4 protocol properly it should not use rmi4 compatibility. I will not apply any patches that work around incomplete implementations unless they are triggered by a dedicated compatible. Thanks. -- Dmitry