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=1796395417; b=4WDCMIfDSc9Dg7vRS7tr4gQXQ9LzP21xDvkeqwnbbgLWtI5O4KMK6JimVtGPiUsGnLZv tSx9BxDa7rZ0ixBDcMXU8g915vtDDU6355eJiVuXXAy0K6+loc9d+waTyyLITHZ13/4LF jt5aJgObeigYdyW8sdmSobb6BYd5FJaPL75mwNrY6mEjr62ATMrm9VZUVwj2zcdyEb28K 8EfPodzS0hKFEn31rRAJaRo888Nqp9Tm+xqaNNbxNDZPBwMJVcXWEKLEMlfLw3EJn9T+U Y7fVgmt8icUzYZN/nb7uo/HpLE0Hru+4OsqjDKbII8k1yo4oPOALfcM74Z7zBkRpRbw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796395417; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To:Cc: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=Mx05nERxGdm6jBVJk6eATuYXhyZCglj0W8tC0IrVWXs=; b=nLj+Y/0AnaZP9rn5SeEkf+a0bEC1945nuQpK+JHLSVyCvXUoMVcbjfEM/YmwgsWZZjJn d+XdRqzkYXG7ZomV3revpstcUs+C9q0aB48UZo/wBfdsOKBdJKNlPOX7zlx7AoLAmL6QH 9KU6TReDZiYK/XreKWEKYk4ftRUUElJSFx/NJOEmD0YHQPGX+MO7dP5T3tMMYgiS0r6CU ehAhi+Vj62BSuJyv3MBbJASLz5Blf4AsK5VdJV7JdQlgeEbrgCDU9THfTd6+Mnp2B9ixY FUzNETA2jx9av2plhSPYVYtw0x5YTadMZYBz9itp09Ct7MxJFLijNH+YkovFQgF/4Xg== 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=kgHyzKBD; 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 8451D606A322 for ; Fri, 4 Dec 2026 14:43:37 +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=kgHyzKBD Received: by smtp.kernel.org (Postfix) with ESMTPSA id 118381F000C2; Fri, 4 Dec 2026 14:43:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796395417; bh=Mx05nERxGdm6jBVJk6eATuYXhyZCglj0W8tC0IrVWXs=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=kgHyzKBD6ksAwDAaBGjpM+mt4UyrZUZWkqJEoPRgEEVS+jJlkt54f9Nc+LTh2tNxa my2UbTBdRvUhpLiBYHvz7boA2u3GrG+d+TixmczqzSArEaNafaeW1kHMH3TAIQExCy QtHSxBs7zAJaz7vqJy1hj5JTnLCxlr5/ZCC1bI43zgxcewzKPn7ToouDCJDy62jj5j uTwNdXioaHF8DKu9bxb7t1SMUxQnXuq8rfSQDuNQVdPagVquohveZRjh4zRu3OBvJF +yNGgpb4FFtbpRZdwg8fXvgfxCacHTJB6IUHzRN8XfeTtihW0z28XfoWvqOJEwkrwQ 7vIoqb6qsFz2A== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH 2/2] pinctrl: qcom: Add SM7250 pinctrl driver Reply-To: sashiko-reviews@lists.linux.dev To: "Petr Vorel" Cc: linux-gpio@vger.kernel.org In-Reply-To: <20261204141059.90918-3-petr.vorel@gmail.com> References: <20261204141059.90918-1-petr.vorel@gmail.com> <20261204141059.90918-3-petr.vorel@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Fri, 04 Dec 2026 14:43:36 +0000 X-Mailing-List: linux-gpio@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: - [High] pinctrl: qcom: sm7250: ufs_reset excluded from ngpios at index 153 -- commit 1f625cca71706d17d8ae4461ad1bcc018fb45eeb Author: Petr Vorel pinctrl: qcom: Add SM7250 pinctrl driver This commit adds the Qualcomm SM7250 TLMM pin controller driver, defining 146 GPIOs across three tiles along with the SDC and UFS reset pins. > diff --git a/drivers/pinctrl/qcom/pinctrl-sm7250.c b/drivers/pinctrl/qcom= /pinctrl-sm7250.c > new file mode 100644 > index 0000000000000..35bd8aaeb99d0 > --- /dev/null > +++ b/drivers/pinctrl/qcom/pinctrl-sm7250.c > @@ -0,0 +1,1375 @@ [ ... ] > + [145] =3D PINGROUP(145, WEST, _, _, _, _, _, _, _, _, _), > + [146] =3D SDC_QDSD_PINGROUP(sdc1_rclk, WEST, 0xb8000, 15, 0), > + [147] =3D SDC_QDSD_PINGROUP(sdc1_clk, WEST, 0xb8000, 13, 6), > + [148] =3D SDC_QDSD_PINGROUP(sdc1_cmd, WEST, 0xb8000, 11, 3), > + [149] =3D SDC_QDSD_PINGROUP(sdc1_data, WEST, 0xb8000, 9, 0), > + [150] =3D SDC_QDSD_PINGROUP(sdc2_clk, SOUTH, 0xb7000, 14, 6), > + [151] =3D SDC_QDSD_PINGROUP(sdc2_cmd, SOUTH, 0xb7000, 11, 3), > + [152] =3D SDC_QDSD_PINGROUP(sdc2_data, SOUTH, 0xb7000, 9, 0), > + [153] =3D UFS_RESET(ufs_reset, 0xbc000), > +}; [ ... ] > +static const struct msm_pinctrl_soc_data sm7250_tlmm =3D { > + .pins =3D sm7250_pins, > + .npins =3D ARRAY_SIZE(sm7250_pins), > + .functions =3D sm7250_functions, > + .nfunctions =3D ARRAY_SIZE(sm7250_functions), > + .groups =3D sm7250_groups, > + .ngroups =3D ARRAY_SIZE(sm7250_groups), > + .ngpios =3D 146, [Severity: High] Should ufs_reset be placed at index 146 with ngpios set to 147? msm_gpio_init() only exposes offsets 0..ngpios - 1 to gpiolib, so placing ufs_reset at index 153 after the non-GPIO SDC groups makes it unreachable by ufs_qcom_init(), which requests the reset pin via gpiolib. Reordering it later would break DT ABI once SM7250 device trees are merged. Moving ufs_reset to index 146 (shifting sdc1_rclk..sdc2_data to 147..153 in sm7250_pins[], *_pins[], and sm7250_groups[]) and setting .ngpios =3D 147 would match other Qualcomm TLMM drivers such as pinctrl-sm7150.c. --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261204141059.9091= 8-1-petr.vorel@gmail.com?part=3D2