From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795998178; b=om/d8majLFRtGKTN4e7bGRZxCk+vw2VKl7HOvTWfonYDd0SZc7sW1VDtZwur0dcCwph+ fEn14/rp5r6MWA/R9BV2UNgV23CHdYulUa/knWVGLne1hEFD3Pr7pZQYxHNHuAMsXpDH/ BB8mnOQ0QoIT5jlhPUnGTaaRjan/MyXUqvzz8/ufJfP6Wu7ldWGGQ8S/MGun6v8Q8U242 8h2VCe3jFb55iMm2z5cvIS6ANNIcz6vb3QMypUkwtXwDRIEVryxztFMSQhtOXnqUkVHKM Cl/U3sPAmAm6UC1Ha1eS0oZ2tySfmXDD+JfIiTTmCl1jhPRHC9yzi5dINchvwmX1eug== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795998178; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To:Cc: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=HIzSp7NVkq5jVfmrJtMNw8l3KFI+jKiZosM+NSGGXzo=; b=ewWiiP/A7pq4G7Os4OttINK44z5pu3uuyEcFETka+U6lIIOB2WYnH9PC29Jswvkia25Z YrjwAOfeZCi+uCGB8qesuOvtWXBNWyRxRJAcqqAAP5h5cwD1Mt0SPhOQvkulcLwTGrC8a WqMxWJ9WDIOb9ejXzXWgkv7dg2nf+9FtVJ9AWtbCYiKirpNq6zQd4mJE4YNSak0RHgqX1 VLfq0i8vMqTV+qPPjeqwL7NmPuvADyiWY9OdOiZZBn/vD2lDJInbbyeoCTpEZDGXpm6B+ 7eHlWGO3CmUrvSvHy+kqYLJWuk4U1CC8TWsxAa1JnjN9gh8j2RJSW4l2PR1Lk1+skMg== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=GZcF0rPQ; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2A945606A31C; Mon, 30 Nov 2026 00:22:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=GZcF0rPQ Received: by smtp.kernel.org (Postfix) with ESMTPSA id 54A681F00897; Mon, 30 Nov 2026 00:22:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1795998177; bh=HIzSp7NVkq5jVfmrJtMNw8l3KFI+jKiZosM+NSGGXzo=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=GZcF0rPQV67EOcXh8UIqGYqorpK/rDqZAqAgUzdWt7klnoAgutqk2iZ0ajSxq440l EMFXiYBBUWvqBD9my14jKdeH7YE7WdMLRuQNd2d0+8YA+WYJgLD8675d6e7DcQki1p RpkwEC/ZibP+2fL0W5RGNqUcqiyZ6cyLpn2g3yrHSb58ZindNEm1cqvBmGZoKA+SJK sGxm7lgJZgQU24S2z8IUCpo0O1+3hdouhys12qoRIIL3CVc2AwM+sgB8X+Rj6CY0kj CqmvLLEL2g6225yeAxVesP9DqYKGIGABvDhmXfGCYOeZG93wO4fj0vcDmNtRnCkqEW w0aE1WsNJwz9A== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH v8 1/9] dt-bindings: input: Add Qualcomm PMI8998 / PM660 haptics Reply-To: sashiko-reviews@lists.linux.dev To: "David Heidelberg" Cc: linux-input@vger.kernel.org, devicetree@vger.kernel.org, mfd@lists.linux.dev, robh@kernel.org, conor+dt@kernel.org, dmitry.torokhov@gmail.com, lee@kernel.org In-Reply-To: <20261130-qcom-pmi8998-haptics-v8-1-a64ecd72d3bb@ixit.cz> References: <20261130-qcom-pmi8998-haptics-v8-0-a64ecd72d3bb@ixit.cz> <20261130-qcom-pmi8998-haptics-v8-1-a64ecd72d3bb@ixit.cz> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Mon, 30 Nov 2026 00:22:56 +0000 X-Mailing-List: linux-input@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list Thank you for your contribution! Sashiko AI review found 2 potential issues to consider: - [Medium] dt-bindings: input: qcom,pmi8998-haptics: examples fail dt_binding_check against qcom,spmi-pmic.yaml - [Low] dt-bindings: input: qcom,pmi8998-haptics: license is GPL-2.0-only instead of dual license -- commit 0d5bdb76b37b9f96253eeb21cb110ab27febe66e Author: David Heidelberg dt-bindings: input: Add Qualcomm PMI8998 / PM660 haptics This commit adds the devicetree binding schema and constants header for the Qualcomm PMI8998 and PM660 PMIC haptics module. > diff --git a/Documentation/devicetree/bindings/input/qcom,pmi8998-haptics= .yaml b/Documentation/devicetree/bindings/input/qcom,pmi8998-haptics.yaml > new file mode 100644 > index 0000000000000..2a296b6096e02 > --- /dev/null > +++ b/Documentation/devicetree/bindings/input/qcom,pmi8998-haptics.yaml > @@ -0,0 +1,256 @@ > +# SPDX-License-Identifier: GPL-2.0-only [Severity: Low] Should this new binding schema be dual-licensed as (GPL-2.0-only OR BSD-2-Clause), matching include/dt-bindings/input/qcom,haptics.h? [ ... ] > +examples: > + - | > + #include > + #include > + #include > + > + pmic@3 { > + compatible =3D "qcom,pmi8998", "qcom,spmi-pmic"; > + reg =3D <0x3 SPMI_USID>; > + #address-cells =3D <1>; > + #size-cells =3D <0>; > + > + haptics@c000 { > + compatible =3D "qcom,pmi8998-haptics"; > + reg =3D <0xc000>; > + interrupts =3D <0x3 0xc0 0x0 IRQ_TYPE_EDGE_BOTH>, > + <0x3 0xc0 0x1 IRQ_TYPE_EDGE_BOTH>; > + interrupt-names =3D "short", "play"; > + > + qcom,lra-auto-res-mode =3D ; > + qcom,lra-high-z =3D ; > + qcom,lra-period-us =3D <4255>; > + qcom,lra-res-cal-period =3D <32>; > + qcom,play-mode =3D ; > + qcom,vmax-microvolt =3D <2088000>; > + qcom,wave-shape =3D ; > + }; > + }; > + > + - | > + #include > + #include > + #include > + > + pmic@1 { > + compatible =3D "qcom,pm660"; > + reg =3D <0x1 SPMI_USID>; > + #address-cells =3D <1>; > + #size-cells =3D <0>; > + > + haptics@c000 { > + compatible =3D "qcom,pm660-haptics"; [Severity: Medium] Do these examples pass make dt_binding_check? In the second example, pmic@1 matches Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml via "qcom,pm660", which requires the "qcom,spmi-pmic" fallback compatible. Also, at this point in the series, qcom,spmi-pmic.yaml only allows /schemas/input/qcom,spmi-haptics.yaml# for "^haptics@[0-9a-f]+$" child nodes until commit "dt-bindings: mfd: qcom,spmi-pmic: Allow the PMI8998 haptics child node", so both examples fail dt_binding_check on this commit unless the parent MFD schema update is ordered first or untyped pmic wrapper nodes are used. --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261130-qcom-pmi89= 98-haptics-v8-0-a64ecd72d3bb@ixit.cz?part=3D1