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=1796350291; b=tqv/OhQzcHPrYXL41H3FVGZHSvaXDPjcWvTyrZKefqcjArUAQvWhE4MV4UJr9/NrexoV 5AYGyTb45/yKa0diUw1CeYW9arLR5G4YrkwcigQM41XqgR7ga4CiHQQTaBCKaS4rQsT7H pnm0kvWH4TXDiR3i8qTLfiG1jvATpv1tQ9F2lHAozuJxej6i+EahXMpQsbYH7KiDQMhSe 3tz2NxyhtN1eB6QPR9oSpSRDKTSjS830Mf70p3R+comnPcZXPIH+Z7gWVkkHvQjjA7ViE On0Zv1WG43lOObNVo32Yey78Y6Ll7D9p04XPzSSKfXvr09L84h+2Fwe6ikBl6LieI4w== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796350291; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To:Cc: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=PDesXiY8+9421FEcA0oM1Z2LC6LcrONIzObUlOyQO/E=; b=w057N9zGbBQdfhNPORTRqWD6MuNV3kBENzBnIniNzm3uTssEfWuFYwz28BgEfpM/bFQ4 tyeeVGIGJuRbwfH2Ay+qU54HjS762XM2r5FMtZHN5UfGdZpXc0DD1F6G8vYfsgRlNRJjE XmUVb6jVgzlTxwddXgIFpqjDEOgzWVzRKtgPPy+10hw8Ax5owuJDyBVJ8cPr3UCZ6J62A Ixd+mePeuUbe5+FJu3cIJvmTDh4bi7bTTKU3mF4BHRTcex2ibXO8l+DlBZhgKh+EvADQN 9koQfOELy749qQzHWJn34DCVhAtJoof3i5P8em/Hzr+6sBAWrkw7Hvkiuho4tOws7Sg== 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=AL17JR2U; 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 EF3D7606A322; Fri, 4 Dec 2026 02:11:30 +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=AL17JR2U Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5E1FB1F000CE; Fri, 4 Dec 2026 02:11:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796350290; bh=PDesXiY8+9421FEcA0oM1Z2LC6LcrONIzObUlOyQO/E=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=AL17JR2U3nfDtahEcVeao9/LopoCyPPLUk1Hmkgm41lpnPLEAF7Gq/sSmS7blYao6 sN7CCV5FcKbRzy0xnRp+vSCZP7ZNe2y5G9eTqDlPiRIiGOih4vNxAxaBGwYSLL4EoW 3PuIpDJY4e+rsrKd9jUrxGp+B7t/pk6GOVN7IcEVrsOxx8lEgV1ly6xnocVqVbMai9 FbtYosKqSQMRKZ92JTB4b5G0cI6xjCJof4RT3EaoBXcn/cb5MgRd5thvgjshKSixeb aWIpbBSjfhe5qpUzJQfOiUia6cQjo5u7ll/gz0eUn9/a9ZCVCLwW+h6i0QPZb/cw0m +stIKaJ/72sXQ== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH 1/2] dt-bindings: slimbus: qcom,slim-ngd: Add the SDM630's controller Reply-To: sashiko-reviews@lists.linux.dev To: "Fabricio Akio" Cc: linux-sound@vger.kernel.org, devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org In-Reply-To: <20261203-sdm630-slimbus-v1-1-deea19192b3e@gmail.com> References: <20261203-sdm630-slimbus-v1-0-deea19192b3e@gmail.com> <20261203-sdm630-slimbus-v1-1-deea19192b3e@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Fri, 04 Dec 2026 02:11:30 +0000 X-Mailing-List: devicetree@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 1 potential issue to consider: - [Medium] dt-bindings: slimbus: qcom,slim-ngd: older v2.0.0 falls back to newer v2.1.0 -- commit 54813d5a6ccad4714dd739dbf0575002f101e98e Author: Fabricio Akio dt-bindings: slimbus: qcom,slim-ngd: Add the SDM630's controller This commit adds the qcom,slim-ngd-v2.0.0 compatible for the SDM630 SLIMbus controller to qcom,slim-ngd.yaml, with qcom,slim-ngd-v2.1.0 as its fallback. > diff --git a/Documentation/devicetree/bindings/slimbus/qcom,slim-ngd.yaml= b/Documentation/devicetree/bindings/slimbus/qcom,slim-ngd.yaml > index 27a92b79c7241..4dd479bd762d6 100644 > --- a/Documentation/devicetree/bindings/slimbus/qcom,slim-ngd.yaml > +++ b/Documentation/devicetree/bindings/slimbus/qcom,slim-ngd.yaml > @@ -18,9 +18,13 @@ description: > =20 > properties: > compatible: > - enum: > - - qcom,slim-ngd-v1.5.0 # for MSM8996 > - - qcom,slim-ngd-v2.1.0 # for SDM845 > + oneOf: > + - enum: > + - qcom,slim-ngd-v1.5.0 # for MSM8996 > + - qcom,slim-ngd-v2.1.0 # for SDM845 > + - items: > + - const: qcom,slim-ngd-v2.0.0 # for SDM630 > + - const: qcom,slim-ngd-v2.1.0 [Severity: Medium] Should the older qcom,slim-ngd-v2.0.0 revision declare the newer qcom,slim-ngd-v2.1.0 revision as its fallback compatible? Per Documentation/devicetree/bindings/writing-bindings.rst, fallback compatibles represent backwards compatibility with a prior implementation, so newer IP revisions fall back to older ones rather than the reverse (as in Documentation/devicetree/bindings/soundwire/qcom,soundwire.yaml). qcom_slim_ngd_dt_match[] in drivers/slimbus/qcom-ngd-ctrl.c currently maps both v1.5.0 and v2.1.0 to ngd_v1_5_offset_info, but any future driver change keying a v2.1.0-only register or quirk off qcom,slim-ngd-v2.1.0 would misprogram the v2.0.0 hardware on SDM630. If v2.0.0 is backwards-compatible with v1.5.0, qcom,slim-ngd-v1.5.0 would be the proper fallback; otherwise qcom,slim-ngd-v2.0.0 should be added as a standalone entry in the enum with a driver match entry. --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261203-sdm630-sli= mbus-v1-0-deea19192b3e@gmail.com?part=3D1